From e4770ffa49f0d80a072167047d467fe436efd846 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Thu, 19 Mar 2026 14:39:35 +0800 Subject: [PATCH 01/33] Generated network SDK from TypeSpec (compile errors remaining: InnerT bounds) DdosProtectionPlanInner and RouteFilterInner extend ResourceWithReadOnlyID/ResourceWithRequiredLocation instead of Resource, causing InnerT bounds mismatch with hand-written wrappers. These need customization class to fix. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../azure-resourcemanager-network/README.md | 2 +- .../fluent/AdminRuleCollectionsClient.java | 180 +- .../network/fluent/AdminRulesClient.java | 186 +- ...tewayPrivateEndpointConnectionsClient.java | 228 +- ...tionGatewayPrivateLinkResourcesClient.java | 14 +- ...ationGatewayWafDynamicManifestsClient.java | 8 +- ...ewayWafDynamicManifestsDefaultsClient.java | 10 +- .../fluent/ApplicationGatewaysClient.java | 602 +- .../ApplicationSecurityGroupsClient.java | 248 +- .../fluent/AvailableDelegationsClient.java | 8 +- .../AvailableEndpointServicesClient.java | 17 +- .../AvailablePrivateEndpointTypesClient.java | 26 +- ...ailableResourceGroupDelegationsClient.java | 20 +- .../fluent/AvailableServiceAliasesClient.java | 20 +- .../fluent/AzureFirewallFqdnTagsClient.java | 2 +- .../network/fluent/AzureFirewallsClient.java | 346 +- .../network/fluent/BastionHostsClient.java | 723 ++- .../fluent/BgpServiceCommunitiesClient.java | 2 +- .../CheckDnsNameAvailabilitiesClient.java | 77 + .../ConfigurationPolicyGroupsClient.java | 261 +- .../fluent/ConnectionMonitorsClient.java | 326 +- .../ConnectivityConfigurationsClient.java | 54 +- .../fluent/CustomIpPrefixesClient.java | 250 +- .../fluent/DdosCustomPoliciesClient.java | 216 +- .../fluent/DdosProtectionPlansClient.java | 246 +- .../fluent/DefaultSecurityRulesClient.java | 84 +- .../fluent/DscpConfigurationsClient.java | 160 +- .../fluent/EffectiveConfigurationsClient.java | 159 + ...pressRouteCircuitAuthorizationsClient.java | 262 +- .../ExpressRouteCircuitConnectionsClient.java | 278 +- .../ExpressRouteCircuitPeeringsClient.java | 254 +- .../fluent/ExpressRouteCircuitsClient.java | 628 +-- .../fluent/ExpressRouteConnectionsClient.java | 151 +- ...essRouteCrossConnectionPeeringsClient.java | 86 +- .../ExpressRouteCrossConnectionsClient.java | 320 +- .../fluent/ExpressRouteGatewaysClient.java | 268 +- .../fluent/ExpressRouteLinksClient.java | 38 +- .../ExpressRoutePortAuthorizationsClient.java | 234 +- .../fluent/ExpressRoutePortsClient.java | 272 +- .../ExpressRoutePortsLocationsClient.java | 72 +- .../ExpressRouteProviderPortsClient.java | 66 + ...ressRouteProviderPortsLocationsClient.java | 10 +- .../ExpressRouteServiceProvidersClient.java | 2 +- .../fluent/FirewallPoliciesClient.java | 228 +- .../FirewallPolicyDeploymentsClient.java | 16 +- .../fluent/FirewallPolicyDraftsClient.java | 114 +- .../FirewallPolicyIdpsSignaturesClient.java | 20 +- ...olicyIdpsSignaturesFilterValuesClient.java | 10 +- ...llPolicyIdpsSignaturesOverridesClient.java | 121 +- ...PolicyRuleCollectionGroupDraftsClient.java | 120 +- ...ewallPolicyRuleCollectionGroupsClient.java | 276 +- .../network/fluent/FlowLogsClient.java | 196 +- .../network/fluent/HubRouteTablesClient.java | 198 +- .../HubVirtualNetworkConnectionsClient.java | 116 +- .../network/fluent/InboundNatRulesClient.java | 256 +- .../InboundSecurityRuleOperationsClient.java | 177 +- .../network/fluent/IpAllocationsClient.java | 244 +- .../network/fluent/IpGroupsClient.java | 52 +- .../network/fluent/IpamPoolsClient.java | 270 +- ...LoadBalancerBackendAddressPoolsClient.java | 118 +- ...alancerFrontendIpConfigurationsClient.java | 98 +- .../LoadBalancerLoadBalancingRulesClient.java | 98 +- .../LoadBalancerNetworkInterfacesClient.java | 8 +- .../LoadBalancerOutboundRulesClient.java | 82 +- .../fluent/LoadBalancerProbesClient.java | 80 +- .../network/fluent/LoadBalancersClient.java | 414 +- .../fluent/LocalNetworkGatewaysClient.java | 198 +- ...tGroupNetworkManagerConnectionsClient.java | 116 +- .../network/fluent/NatGatewaysClient.java | 244 +- .../network/fluent/NatRulesClient.java | 98 +- .../network/fluent/NetworkGroupsClient.java | 52 +- ...etworkInterfaceIpConfigurationsClient.java | 94 +- .../NetworkInterfaceLoadBalancersClient.java | 14 +- ...tworkInterfaceTapConfigurationsClient.java | 274 +- .../fluent/NetworkInterfacesClient.java | 706 +-- .../fluent/NetworkManagementClient.java | 1613 ++---- .../fluent/NetworkManagerCommitsClient.java | 16 +- ...nagerDeploymentStatusOperationsClient.java | 53 +- ...orkManagerRoutingConfigurationsClient.java | 136 +- .../network/fluent/NetworkManagersClient.java | 291 +- .../network/fluent/NetworkProfilesClient.java | 256 +- .../fluent/NetworkSecurityGroupsClient.java | 246 +- ...orkSecurityPerimeterAccessRulesClient.java | 58 +- ...erimeterAssociableResourceTypesClient.java | 8 +- ...rkSecurityPerimeterAssociationsClient.java | 70 +- ...SecurityPerimeterLinkReferencesClient.java | 42 +- .../NetworkSecurityPerimeterLinksClient.java | 48 +- ...yPerimeterLoggingConfigurationsClient.java | 40 +- ...urityPerimeterOperationStatusesClient.java | 10 +- ...etworkSecurityPerimeterProfilesClient.java | 42 +- ...orkSecurityPerimeterServiceTagsClient.java | 8 +- .../NetworkSecurityPerimetersClient.java | 224 +- ...workVirtualApplianceConnectionsClient.java | 86 +- .../NetworkVirtualAppliancesClient.java | 462 +- .../network/fluent/NetworkWatchersClient.java | 448 +- .../network/fluent/OperationsClient.java | 8 +- .../network/fluent/P2SVpnGatewaysClient.java | 911 +-- .../P2sVpnGatewaysOperationsClient.java | 900 +++ .../network/fluent/PacketCapturesClient.java | 123 +- ...rExpressRouteCircuitConnectionsClient.java | 42 +- .../fluent/PrivateDnsZoneGroupsClient.java | 92 +- .../fluent/PrivateEndpointsClient.java | 206 +- .../fluent/PrivateLinkServicesClient.java | 439 +- .../PublicIPAddressesOperationsClient.java | 206 + .../fluent/PublicIpAddressesClient.java | 593 +- .../fluent/PublicIpPrefixesClient.java | 246 +- .../ReachabilityAnalysisIntentsClient.java | 194 +- .../ReachabilityAnalysisRunsClient.java | 206 +- .../fluent/ResourceNavigationLinksClient.java | 10 +- .../fluent/RouteFilterRulesClient.java | 66 +- .../network/fluent/RouteFiltersClient.java | 220 +- .../network/fluent/RouteMapsClient.java | 140 +- .../network/fluent/RouteTablesClient.java | 220 +- .../network/fluent/RoutesClient.java | 204 +- .../network/fluent/RoutingIntentsClient.java | 196 +- .../fluent/RoutingRuleCollectionsClient.java | 144 +- .../network/fluent/RoutingRulesClient.java | 152 +- .../fluent/ScopeConnectionsClient.java | 114 +- .../SecurityAdminConfigurationsClient.java | 168 +- .../SecurityPartnerProvidersClient.java | 230 +- .../network/fluent/SecurityRulesClient.java | 206 +- .../SecurityUserConfigurationsClient.java | 134 +- .../SecurityUserRuleCollectionsClient.java | 146 +- .../fluent/SecurityUserRulesClient.java | 152 +- .../fluent/ServiceAssociationLinksClient.java | 10 +- .../fluent/ServiceEndpointPoliciesClient.java | 248 +- ...erviceEndpointPolicyDefinitionsClient.java | 311 +- .../network/fluent/ServiceGatewaysClient.java | 255 +- .../fluent/ServiceTagInformationsClient.java | 18 +- .../network/fluent/ServiceTagsClient.java | 18 +- .../network/fluent/StaticCidrsClient.java | 228 +- .../network/fluent/StaticMembersClient.java | 42 +- .../network/fluent/SubnetsClient.java | 382 +- ...iptionNetworkManagerConnectionsClient.java | 80 +- .../network/fluent/UsagesClient.java | 8 +- .../fluent/VerifierWorkspacesClient.java | 216 +- .../network/fluent/VipSwapsClient.java | 113 +- .../fluent/VirtualApplianceSitesClient.java | 311 +- .../fluent/VirtualApplianceSkusClient.java | 71 +- .../VirtualHubBgpConnectionsClient.java | 130 +- .../VirtualHubIpConfigurationsClient.java | 98 +- .../fluent/VirtualHubRouteTableV2SClient.java | 84 +- .../network/fluent/VirtualHubsClient.java | 367 +- .../VirtualNetworkAppliancesClient.java | 248 +- ...irtualNetworkGatewayConnectionsClient.java | 602 +- .../VirtualNetworkGatewayNatRulesClient.java | 140 +- .../fluent/VirtualNetworkGatewaysClient.java | 1498 +++-- .../fluent/VirtualNetworkPeeringsClient.java | 256 +- .../fluent/VirtualNetworkTapsClient.java | 297 +- .../network/fluent/VirtualNetworksClient.java | 268 +- .../fluent/VirtualRouterPeeringsClient.java | 268 +- .../network/fluent/VirtualRoutersClient.java | 208 +- .../network/fluent/VirtualWansClient.java | 370 +- .../network/fluent/VpnConnectionsClient.java | 246 +- .../network/fluent/VpnGatewaysClient.java | 310 +- .../fluent/VpnLinkConnectionsClient.java | 510 +- ...ationsAssociatedWithVirtualWansClient.java | 60 +- .../fluent/VpnServerConfigurationsClient.java | 130 +- .../fluent/VpnSiteLinkConnectionsClient.java | 26 +- .../network/fluent/VpnSiteLinksClient.java | 42 +- .../network/fluent/VpnSitesClient.java | 88 +- .../fluent/VpnSitesConfigurationsClient.java | 44 +- .../WebApplicationFirewallPoliciesClient.java | 173 +- .../network/fluent/WebCategoriesClient.java | 2 +- .../ActiveBaseSecurityAdminRuleInner.java} | 80 +- .../ActiveConnectivityConfigurationInner.java | 259 + .../fluent/models/AdminPropertiesFormat.java | 2 +- .../models/AdminRuleCollectionInner.java | 15 +- .../AdminRuleCollectionPropertiesFormat.java | 2 +- ...GatewayAuthenticationCertificateInner.java | 6 +- ...enticationCertificatePropertiesFormat.java | 10 +- ...cationGatewayAvailableSslOptionsInner.java | 95 +- ...ayAvailableSslOptionsPropertiesFormat.java | 56 +- ...atewayAvailableWafRuleSetsResultInner.java | 19 +- ...wayBackendAddressPoolPropertiesFormat.java | 10 +- .../ApplicationGatewayBackendHealthInner.java | 20 +- ...tionGatewayBackendHealthOnDemandInner.java | 32 +- ...cationGatewayBackendHealthServerInner.java | 53 +- ...ayBackendHttpSettingsPropertiesFormat.java | 32 +- ...atewayBackendSettingsPropertiesFormat.java | 10 +- ...raJwtValidationConfigPropertiesFormat.java | 58 +- ...atewayFirewallRuleSetPropertiesFormat.java | 61 +- ...ontendIpConfigurationPropertiesFormat.java | 64 +- ...onGatewayFrontendPortPropertiesFormat.java | 10 +- ...onGatewayHttpListenerPropertiesFormat.java | 10 +- .../models/ApplicationGatewayInner.java | 24 +- ...pplicationGatewayIpConfigurationInner.java | 14 +- ...atewayIpConfigurationPropertiesFormat.java | 40 +- .../ApplicationGatewayListenerInner.java | 6 +- ...cationGatewayListenerPropertiesFormat.java | 10 +- ...oadDistributionPolicyPropertiesFormat.java | 10 +- ...oadDistributionTargetPropertiesFormat.java | 2 +- .../ApplicationGatewayPathRuleInner.java | 6 +- ...cationGatewayPathRulePropertiesFormat.java | 10 +- ...GatewayPrivateEndpointConnectionInner.java | 60 +- ...vateEndpointConnectionPropertiesInner.java | 10 +- ...wayPrivateLinkConfigurationProperties.java | 10 +- ...yPrivateLinkIpConfigurationProperties.java | 32 +- ...cationGatewayPrivateLinkResourceInner.java | 42 +- ...nGatewayPrivateLinkResourceProperties.java | 19 +- .../models/ApplicationGatewayProbeInner.java | 6 +- ...plicationGatewayProbePropertiesFormat.java | 10 +- .../ApplicationGatewayPropertiesFormat.java | 44 +- ...tionGatewayRedirectConfigurationInner.java | 2 +- ...RedirectConfigurationPropertiesFormat.java | 2 +- ...icationGatewayRequestRoutingRuleInner.java | 22 +- ...wayRequestRoutingRulePropertiesFormat.java | 32 +- ...GatewayRewriteRuleSetPropertiesFormat.java | 10 +- ...ionGatewayRoutingRulePropertiesFormat.java | 10 +- ...ApplicationGatewaySslCertificateInner.java | 6 +- ...GatewaySslCertificatePropertiesFormat.java | 10 +- ...cationGatewaySslPredefinedPolicyInner.java | 58 +- ...aySslPredefinedPolicyPropertiesFormat.java | 32 +- ...tionGatewaySslProfilePropertiesFormat.java | 10 +- ...stedClientCertificatePropertiesFormat.java | 10 +- ...rustedRootCertificatePropertiesFormat.java | 10 +- .../ApplicationGatewayUrlPathMapInner.java | 6 +- ...tionGatewayUrlPathMapPropertiesFormat.java | 10 +- ...wayWafDynamicManifestPropertiesResult.java | 48 +- ...nGatewayWafDynamicManifestResultInner.java | 113 +- .../models/ApplicationSecurityGroupInner.java | 6 +- ...licationSecurityGroupPropertiesFormat.java | 10 +- .../models/AuthorizationPropertiesFormat.java | 10 +- .../AutoApprovedPrivateLinkServiceInner.java | 19 +- .../models/AvailableDelegationInner.java | 63 +- .../AvailablePrivateEndpointTypeInner.java | 63 +- .../models/AvailableProvidersListInner.java | 19 +- .../models/AvailableServiceAliasInner.java | 52 +- ...icationRuleCollectionPropertiesFormat.java | 10 +- .../models/AzureFirewallFqdnTagInner.java | 41 +- .../AzureFirewallFqdnTagPropertiesFormat.java | 12 +- .../fluent/models/AzureFirewallInner.java | 34 +- ...rewallIpConfigurationPropertiesFormat.java | 48 +- ...reFirewallNatRuleCollectionProperties.java | 10 +- ...NetworkRuleCollectionPropertiesFormat.java | 10 +- ...ureFirewallPacketCaptureResponseInner.java | 30 +- .../models/AzureFirewallPropertiesFormat.java | 58 +- .../models/AzureReachabilityReportInner.java | 42 +- .../fluent/models/AzureWebCategoryInner.java | 78 +- .../AzureWebCategoryPropertiesFormat.java | 4 +- ...ddressInboundNatRulePortMappingsInner.java | 20 +- .../models/BackendAddressPoolInner.java | 62 +- .../BackendAddressPoolPropertiesFormat.java | 10 +- .../fluent/models/BaseAdminRuleInner.java | 15 +- .../models/BastionActiveSessionInner.java | 22 +- .../fluent/models/BastionHostInner.java | 12 +- ...onHostIpConfigurationPropertiesFormat.java | 56 +- .../models/BastionHostPropertiesFormat.java | 22 +- .../models/BastionSessionStateInner.java | 4 +- .../models/BastionShareableLinkInner.java | 2 +- .../fluent/models/BgpConnectionInner.java | 59 +- .../models/BgpConnectionProperties.java | 10 +- .../models/BgpPeerStatusInner.java} | 39 +- .../models/BgpServiceCommunityInner.java | 69 +- .../BgpServiceCommunityPropertiesFormat.java | 38 +- .../fluent/models/ConnectionMonitorInner.java | 2 +- .../models/ConnectionMonitorParameters.java | 2 +- .../models/ConnectionMonitorResultInner.java | 236 +- .../ConnectionMonitorResultProperties.java | 98 +- .../models/ConnectionResetSharedKeyInner.java | 2 +- .../models/ConnectionSharedKeyInner.java | 2 +- .../ConnectionSharedKeyResultInner.java | 52 +- .../ConnectivityConfigurationInner.java | 19 +- .../ConnectivityConfigurationProperties.java | 10 +- .../models/ConnectivityInformationInner.java | 4 +- ...nterfaceConfigurationPropertiesFormat.java | 10 +- ...erfaceIpConfigurationPropertiesFormat.java | 12 +- ...ainerNetworkInterfacePropertiesFormat.java | 27 +- .../fluent/models/CustomIpPrefixInner.java | 52 +- .../CustomIpPrefixPropertiesFormat.java | 10 +- .../fluent/models/DdosCustomPolicyInner.java | 6 +- .../DdosCustomPolicyPropertiesFormat.java | 10 +- .../DdosDetectionRulePropertiesFormat.java | 10 +- .../models/DdosProtectionPlanInner.java | 66 +- .../DdosProtectionPlanPropertiesFormat.java | 10 +- .../models/DefaultAdminPropertiesFormat.java | 2 +- .../models/DefaultRuleSetPropertyFormat.java | 30 +- .../DnsNameAvailabilityResultInner.java | 19 +- .../fluent/models/DscpConfigurationInner.java | 6 +- .../DscpConfigurationPropertiesFormat.java | 10 +- .../EffectiveBaseSecurityAdminRuleInner.java} | 69 +- ...ectiveConnectivityConfigurationInner.java} | 160 +- ...veNetworkSecurityGroupListResultInner.java | 38 +- .../models/EffectiveRouteListResultInner.java | 38 +- .../models/EffectiveRouteMapRouteInner.java} | 67 +- .../models/EndpointServiceResultInner.java | 17 +- ...ExpressRouteCircuitAuthorizationInner.java | 62 +- .../ExpressRouteCircuitConnectionInner.java | 61 +- ...outeCircuitConnectionPropertiesFormat.java | 10 +- .../models/ExpressRouteCircuitInner.java | 68 +- .../ExpressRouteCircuitPeeringInner.java | 61 +- ...teCircuitPeeringPropertiesFormatInner.java | 10 +- .../ExpressRouteCircuitPropertiesFormat.java | 18 +- .../models/ExpressRouteCircuitStatsInner.java | 2 +- ...sRouteCircuitsArpTableListResultInner.java | 48 +- ...uteCircuitsRoutesTableListResultInner.java | 48 +- ...uitsRoutesTableSummaryListResultInner.java | 50 +- .../models/ExpressRouteConnectionInner.java | 6 +- .../ExpressRouteConnectionProperties.java | 10 +- .../ExpressRouteCrossConnectionInner.java | 6 +- ...pressRouteCrossConnectionPeeringInner.java | 6 +- ...RouteCrossConnectionPeeringProperties.java | 10 +- ...ExpressRouteCrossConnectionProperties.java | 10 +- ...ionsRoutesTableSummaryListResultInner.java | 40 +- ...ssRouteFailoverSingleTestDetailsInner.java | 99 +- .../ExpressRouteFailoverTestDetailsInner.java | 109 +- .../models/ExpressRouteGatewayInner.java | 6 +- .../models/ExpressRouteGatewayProperties.java | 10 +- .../fluent/models/ExpressRouteLinkInner.java | 6 +- .../ExpressRouteLinkPropertiesFormat.java | 10 +- .../ExpressRoutePortAuthorizationInner.java | 62 +- ...outePortAuthorizationPropertiesFormat.java | 10 +- .../fluent/models/ExpressRoutePortInner.java | 16 +- .../ExpressRoutePortPropertiesFormat.java | 26 +- .../ExpressRoutePortsLocationInner.java | 56 +- ...essRoutePortsLocationPropertiesFormat.java | 28 +- .../models/ExpressRouteProviderPortInner.java | 155 +- ...pressRouteProviderPortListResultInner.java | 40 +- .../ExpressRouteProviderPortProperties.java | 63 +- .../ExpressRouteServiceProviderInner.java | 70 +- ...sRouteServiceProviderPropertiesFormat.java | 39 +- .../models/FirewallPolicyDraftInner.java | 14 +- .../models/FirewallPolicyDraftProperties.java | 22 +- .../fluent/models/FirewallPolicyInner.java | 18 +- .../FirewallPolicyPropertiesFormat.java | 30 +- ...llPolicyRuleCollectionGroupDraftInner.java | 58 +- ...icyRuleCollectionGroupDraftProperties.java | 2 +- ...irewallPolicyRuleCollectionGroupInner.java | 62 +- ...llPolicyRuleCollectionGroupProperties.java | 10 +- .../models/FlowLogInformationInner.java | 2 +- .../network/fluent/models/FlowLogInner.java | 6 +- .../fluent/models/FlowLogProperties.java | 2 +- .../models/FlowLogPropertiesFormat.java | 10 +- .../models/FrontendIpConfigurationInner.java | 120 +- ...dIpConfigurationPropertiesFormatInner.java | 102 +- .../GatewayResiliencyInformationInner.java | 89 +- .../models/GatewayRouteInner.java} | 36 +- .../GatewayRouteSetsInformationInner.java | 66 +- ...nerateExpressRoutePortsLoaResultInner.java | 41 +- .../fluent/models/HopLinkProperties.java | 4 +- .../models/HubIpConfigurationInner.java | 74 +- ...bIpConfigurationPropertiesFormatInner.java | 58 +- .../fluent/models/HubRouteTableInner.java | 58 +- .../models/HubRouteTableProperties.java | 10 +- .../HubVirtualNetworkConnectionInner.java | 6 +- ...HubVirtualNetworkConnectionProperties.java | 10 +- .../InboundNatPoolPropertiesFormat.java | 10 +- .../fluent/models/InboundNatRuleInner.java | 62 +- .../InboundNatRulePropertiesFormatInner.java | 10 +- .../models/InboundSecurityRuleInner.java | 60 +- .../models/InboundSecurityRuleProperties.java | 10 +- .../IpAddressAvailabilityResultInner.java | 42 +- .../fluent/models/IpAllocationInner.java | 2 +- .../models/IpAllocationPropertiesFormat.java | 2 +- .../fluent/models/IpConfigurationInner.java | 95 +- .../models/IpConfigurationProfileInner.java | 14 +- ...igurationProfilePropertiesFormatInner.java | 40 +- .../IpConfigurationPropertiesFormatInner.java | 91 +- .../network/fluent/models/IpGroupInner.java | 6 +- .../models/IpGroupPropertiesFormat.java | 10 +- .../fluent/models/IpPrefixesListInner.java | 37 +- .../network/fluent/models/IpamPoolInner.java | 25 +- .../models/IpamPoolPrefixAllocationPool.java | 2 +- ...alancerBackendAddressPropertiesFormat.java | 36 +- .../LoadBalancerHealthPerRuleInner.java | 42 +- .../fluent/models/LoadBalancerInner.java | 74 +- .../models/LoadBalancerPropertiesFormat.java | 10 +- ...uestFrontendIpConfigurationProperties.java | 30 +- .../fluent/models/LoadBalancingRuleInner.java | 62 +- .../LoadBalancingRulePropertiesFormat.java | 10 +- .../models/LocalNetworkGatewayInner.java | 6 +- .../LocalNetworkGatewayPropertiesFormat.java | 10 +- .../fluent/models/MigratedPoolsInner.java | 19 +- .../fluent/models/NatGatewayInner.java | 44 +- .../models/NatGatewayPropertiesFormat.java | 10 +- ...kConfigurationDiagnosticResponseInner.java | 4 +- .../fluent/models/NetworkGroupInner.java | 19 +- .../fluent/models/NetworkGroupProperties.java | 10 +- .../fluent/models/NetworkInterfaceInner.java | 44 +- .../NetworkInterfaceIpConfigurationInner.java | 115 +- ...eIpConfigurationPropertiesFormatInner.java | 142 +- ...NetworkInterfacePropertiesFormatInner.java | 10 +- ...NetworkInterfaceTapConfigurationInner.java | 62 +- ...TapConfigurationPropertiesFormatInner.java | 10 +- .../models/NetworkManagerCommitInner.java | 2 +- .../models/NetworkManagerConnectionInner.java | 15 +- .../NetworkManagerConnectionProperties.java | 2 +- .../NetworkManagerDeploymentStatusInner.java} | 111 +- .../fluent/models/NetworkManagerInner.java | 6 +- .../models/NetworkManagerProperties.java | 10 +- ...tworkManagerRoutingConfigurationInner.java | 19 +- ...rRoutingConfigurationPropertiesFormat.java | 10 +- .../fluent/models/NetworkProfileInner.java | 6 +- .../NetworkProfilePropertiesFormat.java | 10 +- .../models/NetworkSecurityGroupInner.java | 6 +- .../NetworkSecurityGroupPropertiesFormat.java | 10 +- .../models/NetworkSecurityPerimeterInner.java | 54 +- .../NetworkSecurityPerimeterProperties.java | 2 +- ...etworkVirtualApplianceConnectionInner.java | 6 +- ...kVirtualApplianceConnectionProperties.java | 10 +- .../models/NetworkVirtualApplianceInner.java | 6 +- ...etworkVirtualApplianceInstanceIdInner.java | 20 +- ...tworkVirtualApplianceInstanceIdsInner.java | 2 +- ...tworkVirtualAppliancePropertiesFormat.java | 10 +- .../NetworkVirtualApplianceSkuInner.java | 52 +- ...rkVirtualApplianceSkuPropertiesFormat.java | 20 +- .../fluent/models/NetworkWatcherInner.java | 34 +- .../NetworkWatcherPropertiesFormat.java | 10 +- .../fluent/models/NextHopResultInner.java | 43 +- .../fluent/models/NspAccessRuleInner.java | 31 +- .../models/NspAccessRuleProperties.java | 2 +- .../fluent/models/NspAssociationInner.java | 31 +- .../models/NspAssociationProperties.java | 2 +- .../network/fluent/models/NspLinkInner.java | 31 +- .../fluent/models/NspLinkProperties.java | 2 +- .../fluent/models/NspLinkReferenceInner.java | 67 +- .../models/NspLinkReferenceProperties.java | 32 +- .../models/NspLoggingConfigurationInner.java | 31 +- .../NspLoggingConfigurationProperties.java | 2 +- .../fluent/models/NspProfileInner.java | 31 +- .../fluent/models/NspProfileProperties.java | 2 +- .../models/NspServiceTagsResourceInner.java | 19 +- .../network/fluent/models/OperationInner.java | 55 +- .../models/OperationPropertiesFormat.java | 20 +- .../models/OperationStatusResultInner.java | 130 +- .../fluent/models/OutboundRuleInner.java | 62 +- .../models/OutboundRulePropertiesFormat.java | 10 +- .../P2SConnectionConfigurationProperties.java | 10 +- .../models/P2SVpnConnectionHealthInner.java | 20 +- .../fluent/models/P2SVpnGatewayInner.java | 72 +- .../models/P2SVpnGatewayProperties.java | 10 +- .../fluent/models/PacketCaptureInner.java | 2 +- .../models/PacketCaptureParameters.java | 2 +- .../PacketCaptureQueryStatusResultInner.java | 74 +- .../models/PacketCaptureResultInner.java | 156 +- .../models/PacketCaptureResultProperties.java | 106 +- ...eerExpressRouteCircuitConnectionInner.java | 142 +- ...outeCircuitConnectionPropertiesFormat.java | 76 +- .../PerimeterAssociableResourceInner.java | 20 +- ...PerimeterAssociableResourceProperties.java | 4 +- .../fluent/models/PoolAssociationInner.java | 65 +- .../network/fluent/models/PoolUsageInner.java | 52 +- .../models/PrivateDnsZoneGroupInner.java | 6 +- .../PrivateDnsZoneGroupPropertiesFormat.java | 10 +- .../PrivateDnsZonePropertiesFormat.java | 2 +- .../PrivateEndpointConnectionInner.java | 70 +- ...vateEndpointConnectionPropertiesInner.java | 10 +- .../fluent/models/PrivateEndpointInner.java | 56 +- ...vateEndpointIpConfigurationProperties.java | 42 +- .../PrivateEndpointPropertiesInner.java | 32 +- ...rivateLinkServiceConnectionProperties.java | 10 +- .../models/PrivateLinkServiceInner.java | 44 +- ...rivateLinkServiceIpConfigurationInner.java | 6 +- ...ServiceIpConfigurationPropertiesInner.java | 10 +- .../models/PrivateLinkServiceProperties.java | 10 +- .../PrivateLinkServiceVisibilityInner.java | 19 +- .../network/fluent/models/ProbeInner.java | 62 +- .../fluent/models/ProbePropertiesFormat.java | 10 +- .../fluent/models/PublicIpAddressInner.java | 96 +- .../PublicIpAddressPropertiesFormatInner.java | 142 +- ...blicIpDdosProtectionStatusResultInner.java | 53 +- .../fluent/models/PublicIpPrefixInner.java | 74 +- .../PublicIpPrefixPropertiesFormatInner.java | 90 +- .../fluent/models/QueryResultsInner.java | 30 +- .../RadiusAuthServerListResultInner.java | 48 +- .../ReachabilityAnalysisIntentInner.java | 23 +- .../models/ReachabilityAnalysisRunInner.java | 23 +- .../models/ResourceNavigationLinkFormat.java | 38 +- ...esourceNavigationLinksListResultInner.java | 40 +- .../fluent/models/RouteFilterInner.java | 72 +- .../models/RouteFilterPropertiesFormat.java | 10 +- .../fluent/models/RouteFilterRuleInner.java | 6 +- .../RouteFilterRulePropertiesFormat.java | 10 +- .../network/fluent/models/RouteInner.java | 68 +- .../network/fluent/models/RouteMapInner.java | 71 +- .../fluent/models/RouteMapProperties.java | 11 +- .../fluent/models/RoutePropertiesFormat.java | 10 +- .../fluent/models/RouteTableInner.java | 6 +- .../models/RouteTablePropertiesFormat.java | 10 +- ...uteTargetAddressPropertiesFormatInner.java | 24 +- .../fluent/models/RoutingIntentInner.java | 58 +- .../models/RoutingIntentProperties.java | 10 +- .../models/RoutingRuleCollectionInner.java | 19 +- ...RoutingRuleCollectionPropertiesFormat.java | 10 +- .../fluent/models/RoutingRuleInner.java | 19 +- .../models/RoutingRulePropertiesFormat.java | 10 +- .../fluent/models/ScopeConnectionInner.java | 45 +- .../models/ScopeConnectionProperties.java | 2 +- .../SecurityAdminConfigurationInner.java | 15 +- ...ityAdminConfigurationPropertiesFormat.java | 2 +- .../models/SecurityGroupViewResultInner.java | 19 +- .../models/SecurityPartnerProviderInner.java | 6 +- ...curityPartnerProviderPropertiesFormat.java | 10 +- .../fluent/models/SecurityRuleInner.java | 68 +- .../models/SecurityRulePropertiesFormat.java | 10 +- .../SecurityUserConfigurationInner.java | 19 +- ...rityUserConfigurationPropertiesFormat.java | 10 +- .../SecurityUserRuleCollectionInner.java | 19 +- ...ityUserRuleCollectionPropertiesFormat.java | 10 +- .../fluent/models/SecurityUserRuleInner.java | 19 +- .../SecurityUserRulePropertiesFormat.java | 10 +- ...erviceAssociationLinkPropertiesFormat.java | 60 +- ...erviceAssociationLinksListResultInner.java | 40 +- .../ServiceDelegationPropertiesFormat.java | 10 +- .../ServiceEndpointPolicyDefinitionInner.java | 68 +- ...pointPolicyDefinitionPropertiesFormat.java | 10 +- .../models/ServiceEndpointPolicyInner.java | 6 +- ...ServiceEndpointPolicyPropertiesFormat.java | 10 +- ...ceGatewayAddressLocationResponseInner.java | 30 +- .../fluent/models/ServiceGatewayInner.java | 53 +- .../ServiceGatewayPropertiesFormatInner.java | 2 +- .../models/ServiceGatewayServiceInner.java | 2 +- ...ServiceGatewayServicePropertiesFormat.java | 2 +- .../ServiceGatewayServiceRequestInner.java | 2 +- .../models/ServiceTagInformationInner.java | 4 +- .../models/ServiceTagsListResultInner.java | 4 +- ...ureOverridesFilterValuesResponseInner.java | 19 +- .../models/SignaturesOverridesInner.java | 112 +- .../fluent/models/StaticCidrInner.java | 16 +- .../fluent/models/StaticMemberInner.java | 19 +- .../fluent/models/StaticMemberProperties.java | 10 +- .../network/fluent/models/SubnetInner.java | 81 +- .../models/SubnetPropertiesFormatInner.java | 42 +- .../fluent/models/SwapResourceInner.java | 62 +- .../network/fluent/models/TopologyInner.java | 19 +- .../models/TroubleshootingProperties.java | 2 +- .../models/TroubleshootingResultInner.java | 52 +- .../network/fluent/models/UsageInner.java | 52 +- .../models/VerificationIpFlowResultInner.java | 31 +- .../fluent/models/VerifierWorkspaceInner.java | 29 +- .../models/VirtualApplianceSiteInner.java | 60 +- .../VirtualApplianceSiteProperties.java | 10 +- .../VirtualHubEffectiveRouteInner.java} | 94 +- .../VirtualHubEffectiveRouteListInner.java | 101 - .../fluent/models/VirtualHubInner.java | 88 +- .../fluent/models/VirtualHubProperties.java | 38 +- .../models/VirtualHubRouteTableV2Inner.java | 6 +- .../VirtualHubRouteTableV2Properties.java | 10 +- .../models/VirtualNetworkApplianceInner.java | 6 +- ...orkApplianceIpConfigurationProperties.java | 76 +- ...NetworkAppliancePropertiesFormatInner.java | 10 +- .../VirtualNetworkGatewayConnectionInner.java | 6 +- ...tworkGatewayConnectionListEntityInner.java | 297 +- ...yConnectionListEntityPropertiesFormat.java | 219 +- ...atewayConnectionPropertiesFormatInner.java | 10 +- .../models/VirtualNetworkGatewayInner.java | 22 +- ...ualNetworkGatewayIpConfigurationInner.java | 18 +- ...atewayIpConfigurationPropertiesFormat.java | 54 +- .../VirtualNetworkGatewayNatRuleInner.java | 58 +- ...irtualNetworkGatewayNatRuleProperties.java | 10 +- ...alNetworkGatewayPolicyGroupProperties.java | 10 +- ...VirtualNetworkGatewayPropertiesFormat.java | 32 +- .../fluent/models/VirtualNetworkInner.java | 44 +- .../models/VirtualNetworkPeeringInner.java | 63 +- ...VirtualNetworkPeeringPropertiesFormat.java | 10 +- .../VirtualNetworkPropertiesFormat.java | 10 +- .../fluent/models/VirtualNetworkTapInner.java | 42 +- ...irtualNetworkTapPropertiesFormatInner.java | 66 +- .../models/VirtualNetworkUsageInner.java | 4 +- .../fluent/models/VirtualRouterInner.java | 6 +- .../models/VirtualRouterPeeringInner.java | 60 +- .../VirtualRouterPeeringProperties.java | 10 +- .../models/VirtualRouterPropertiesFormat.java | 10 +- .../fluent/models/VirtualWanInner.java | 118 +- .../fluent/models/VirtualWanProperties.java | 10 +- .../VirtualWanSecurityProvidersInner.java | 20 +- ...ientConnectionConfigurationProperties.java | 10 +- ...VpnClientConnectionHealthDetailInner.java} | 62 +- .../models/VpnClientIPsecParametersInner.java | 2 +- ...entRevokedCertificatePropertiesFormat.java | 10 +- ...ClientRootCertificatePropertiesFormat.java | 10 +- .../fluent/models/VpnConnectionInner.java | 6 +- .../models/VpnConnectionProperties.java | 10 +- .../fluent/models/VpnGatewayInner.java | 72 +- .../fluent/models/VpnGatewayNatRuleInner.java | 57 +- .../models/VpnGatewayNatRuleProperties.java | 10 +- .../fluent/models/VpnGatewayProperties.java | 10 +- .../models/VpnProfileResponseInner.java | 19 +- .../models/VpnServerConfigurationInner.java | 67 +- ...pnServerConfigurationPolicyGroupInner.java | 57 +- ...verConfigurationPolicyGroupProperties.java | 10 +- .../VpnServerConfigurationProperties.java | 2 +- .../VpnServerConfigurationsResponseInner.java | 20 +- .../network/fluent/models/VpnSiteInner.java | 72 +- .../models/VpnSiteLinkConnectionInner.java | 57 +- .../VpnSiteLinkConnectionProperties.java | 10 +- .../fluent/models/VpnSiteLinkInner.java | 58 +- .../fluent/models/VpnSiteLinkProperties.java | 10 +- .../fluent/models/VpnSiteProperties.java | 11 +- .../WebApplicationFirewallPolicyInner.java | 6 +- ...icationFirewallPolicyPropertiesFormat.java | 10 +- .../network/fluent/models/package-info.java | 6 +- .../network/fluent/package-info.java | 6 +- .../AdminRuleCollectionsClientImpl.java | 541 +- .../implementation/AdminRulesClientImpl.java | 571 +- ...yPrivateEndpointConnectionsClientImpl.java | 546 +- ...GatewayPrivateLinkResourcesClientImpl.java | 68 +- ...nGatewayWafDynamicManifestsClientImpl.java | 44 +- ...WafDynamicManifestsDefaultsClientImpl.java | 38 +- .../ApplicationGatewaysClientImpl.java | 1636 +++--- .../ApplicationSecurityGroupsClientImpl.java | 866 +-- .../AvailableDelegationsClientImpl.java | 44 +- .../AvailableEndpointServicesClientImpl.java | 72 +- ...ailablePrivateEndpointTypesClientImpl.java | 136 +- ...bleResourceGroupDelegationsClientImpl.java | 86 +- .../AvailableServiceAliasesClientImpl.java | 98 +- .../AzureFirewallFqdnTagsClientImpl.java | 10 +- .../AzureFirewallsClientImpl.java | 1042 ++-- .../BastionHostsClientImpl.java | 2532 +++++++-- .../BgpServiceCommunitiesClientImpl.java | 10 +- .../CheckDnsNameAvailabilitiesClientImpl.java | 196 + .../ConfigurationPolicyGroupsClientImpl.java | 566 +- .../ConnectionMonitorsClientImpl.java | 839 +-- .../ConnectivityConfigurationsClientImpl.java | 129 +- .../CustomIpPrefixesClientImpl.java | 758 +-- .../DdosCustomPoliciesClientImpl.java | 575 +- .../DdosProtectionPlansClientImpl.java | 878 +-- .../DefaultSecurityRulesClientImpl.java | 274 +- .../DscpConfigurationsClientImpl.java | 444 +- .../EffectiveConfigurationsClientImpl.java | 507 ++ ...sRouteCircuitAuthorizationsClientImpl.java | 657 +-- ...ressRouteCircuitConnectionsClientImpl.java | 692 +-- ...ExpressRouteCircuitPeeringsClientImpl.java | 648 +-- .../ExpressRouteCircuitsClientImpl.java | 2018 +++---- .../ExpressRouteConnectionsClientImpl.java | 363 +- ...outeCrossConnectionPeeringsClientImpl.java | 262 +- ...xpressRouteCrossConnectionsClientImpl.java | 1148 ++-- .../ExpressRouteGatewaysClientImpl.java | 735 +-- .../ExpressRouteLinksClientImpl.java | 78 +- ...ressRoutePortAuthorizationsClientImpl.java | 631 +-- .../ExpressRoutePortsClientImpl.java | 651 +-- .../ExpressRoutePortsLocationsClientImpl.java | 208 +- .../ExpressRouteProviderPortsClientImpl.java | 174 + ...RouteProviderPortsLocationsClientImpl.java | 16 +- ...xpressRouteServiceProvidersClientImpl.java | 10 +- .../FirewallPoliciesClientImpl.java | 644 +-- .../FirewallPolicyDeploymentsClientImpl.java | 60 +- .../FirewallPolicyDraftsClientImpl.java | 299 +- ...irewallPolicyIdpsSignaturesClientImpl.java | 62 +- ...yIdpsSignaturesFilterValuesClientImpl.java | 52 +- ...licyIdpsSignaturesOverridesClientImpl.java | 340 +- ...cyRuleCollectionGroupDraftsClientImpl.java | 283 +- ...lPolicyRuleCollectionGroupsClientImpl.java | 699 +-- .../implementation/FlowLogsClientImpl.java | 550 +- .../HubRouteTablesClientImpl.java | 457 +- ...ubVirtualNetworkConnectionsClientImpl.java | 239 +- .../InboundNatRulesClientImpl.java | 765 +-- ...boundSecurityRuleOperationsClientImpl.java | 411 +- .../IpAllocationsClientImpl.java | 744 +-- .../implementation/IpGroupsClientImpl.java | 249 +- .../implementation/IpamPoolsClientImpl.java | 735 ++- ...BalancerBackendAddressPoolsClientImpl.java | 473 +- ...cerFrontendIpConfigurationsClientImpl.java | 306 +- ...dBalancerLoadBalancingRulesClientImpl.java | 325 +- ...adBalancerNetworkInterfacesClientImpl.java | 51 +- .../LoadBalancerOutboundRulesClientImpl.java | 260 +- .../LoadBalancerProbesClientImpl.java | 251 +- .../LoadBalancersClientImpl.java | 1197 ++-- .../LocalNetworkGatewaysClientImpl.java | 552 +- ...upNetworkManagerConnectionsClientImpl.java | 277 +- .../implementation/NatGatewaysClientImpl.java | 730 +-- .../implementation/NatRulesClientImpl.java | 215 +- .../NetworkGroupsClientImpl.java | 169 +- ...rkInterfaceIpConfigurationsClientImpl.java | 291 +- ...tworkInterfaceLoadBalancersClientImpl.java | 76 +- ...kInterfaceTapConfigurationsClientImpl.java | 687 +-- .../NetworkInterfacesClientImpl.java | 2363 +++----- .../NetworkManagementClientBuilder.java | 30 +- .../NetworkManagementClientImpl.java | 5012 ++++------------- .../NetworkManagerCommitsClientImpl.java | 44 +- ...rDeploymentStatusOperationsClientImpl.java | 123 +- ...anagerRoutingConfigurationsClientImpl.java | 466 +- .../NetworkManagersClientImpl.java | 902 ++- .../NetworkProfilesClientImpl.java | 836 +-- .../NetworkSecurityGroupsClientImpl.java | 856 +-- ...ecurityPerimeterAccessRulesClientImpl.java | 185 +- ...eterAssociableResourceTypesClientImpl.java | 32 +- ...curityPerimeterAssociationsClientImpl.java | 212 +- ...rityPerimeterLinkReferencesClientImpl.java | 124 +- ...tworkSecurityPerimeterLinksClientImpl.java | 158 +- ...imeterLoggingConfigurationsClientImpl.java | 139 +- ...yPerimeterOperationStatusesClientImpl.java | 28 +- ...rkSecurityPerimeterProfilesClientImpl.java | 140 +- ...ecurityPerimeterServiceTagsClientImpl.java | 32 +- .../NetworkSecurityPerimetersClientImpl.java | 643 +-- ...VirtualApplianceConnectionsClientImpl.java | 205 +- .../NetworkVirtualAppliancesClientImpl.java | 1425 +++-- .../NetworkWatchersClientImpl.java | 1490 ++--- .../implementation/OperationsClientImpl.java | 34 +- .../P2SVpnGatewaysClientImpl.java | 2346 +------- .../P2sVpnGatewaysOperationsClientImpl.java | 2287 ++++++++ .../PacketCapturesClientImpl.java | 468 +- ...ressRouteCircuitConnectionsClientImpl.java | 125 +- .../PrivateDnsZoneGroupsClientImpl.java | 311 +- .../PrivateEndpointsClientImpl.java | 581 +- .../PrivateLinkServicesClientImpl.java | 1234 ++-- ...PublicIPAddressesOperationsClientImpl.java | 809 +++ .../PublicIpAddressesClientImpl.java | 2225 +++----- .../PublicIpPrefixesClientImpl.java | 736 +-- ...ReachabilityAnalysisIntentsClientImpl.java | 568 +- .../ReachabilityAnalysisRunsClientImpl.java | 582 +- .../ResourceNavigationLinksClientImpl.java | 44 +- .../RouteFilterRulesClientImpl.java | 230 +- .../RouteFiltersClientImpl.java | 622 +- .../implementation/RouteMapsClientImpl.java | 275 +- .../implementation/RouteTablesClientImpl.java | 618 +- .../implementation/RoutesClientImpl.java | 600 +- .../RoutingIntentsClientImpl.java | 471 +- .../RoutingRuleCollectionsClientImpl.java | 495 +- .../RoutingRulesClientImpl.java | 523 +- .../ScopeConnectionsClientImpl.java | 282 +- ...SecurityAdminConfigurationsClientImpl.java | 502 +- .../SecurityPartnerProvidersClientImpl.java | 642 +-- .../SecurityRulesClientImpl.java | 627 ++- .../SecurityUserConfigurationsClientImpl.java | 454 +- ...SecurityUserRuleCollectionsClientImpl.java | 501 +- .../SecurityUserRulesClientImpl.java | 523 +- .../ServiceAssociationLinksClientImpl.java | 44 +- .../ServiceEndpointPoliciesClientImpl.java | 860 +-- ...ceEndpointPolicyDefinitionsClientImpl.java | 734 +-- .../ServiceGatewaysClientImpl.java | 968 ++-- .../ServiceTagInformationsClientImpl.java | 63 +- .../implementation/ServiceTagsClientImpl.java | 48 +- .../implementation/StaticCidrsClientImpl.java | 650 ++- .../StaticMembersClientImpl.java | 153 +- .../implementation/SubnetsClientImpl.java | 1174 ++-- ...onNetworkManagerConnectionsClientImpl.java | 230 +- .../implementation/UsagesClientImpl.java | 44 +- .../VerifierWorkspacesClientImpl.java | 578 +- .../implementation/VipSwapsClientImpl.java | 308 +- .../VirtualApplianceSitesClientImpl.java | 738 +-- .../VirtualApplianceSkusClientImpl.java | 202 +- .../VirtualHubBgpConnectionsClientImpl.java | 325 +- .../VirtualHubIpConfigurationsClientImpl.java | 213 +- .../VirtualHubRouteTableV2SClientImpl.java | 211 +- .../implementation/VirtualHubsClientImpl.java | 834 +-- .../VirtualNetworkAppliancesClientImpl.java | 862 +-- ...alNetworkGatewayConnectionsClientImpl.java | 1567 +++--- ...rtualNetworkGatewayNatRulesClientImpl.java | 278 +- .../VirtualNetworkGatewaysClientImpl.java | 3799 ++++++------- .../VirtualNetworkPeeringsClientImpl.java | 656 +-- .../VirtualNetworkTapsClientImpl.java | 778 +-- .../VirtualNetworksClientImpl.java | 947 ++-- .../VirtualRouterPeeringsClientImpl.java | 683 +-- .../VirtualRoutersClientImpl.java | 597 +- .../implementation/VirtualWansClientImpl.java | 942 +++- .../VpnConnectionsClientImpl.java | 530 +- .../implementation/VpnGatewaysClientImpl.java | 1060 ++-- .../VpnLinkConnectionsClientImpl.java | 1438 ++--- ...nsAssociatedWithVirtualWansClientImpl.java | 127 +- .../VpnServerConfigurationsClientImpl.java | 318 +- .../VpnSiteLinkConnectionsClientImpl.java | 50 +- .../VpnSiteLinksClientImpl.java | 97 +- .../implementation/VpnSitesClientImpl.java | 228 +- .../VpnSitesConfigurationsClientImpl.java | 111 +- ...ApplicationFirewallPoliciesClientImpl.java | 677 ++- .../WebCategoriesClientImpl.java | 33 +- ...ConnectivityConfigurationsListResult.java} | 69 +- .../ActiveSecurityAdminRulesListResult.java} | 68 +- .../models/AdminRuleCollectionListResult.java | 52 +- .../models/AdminRuleListResult.java | 51 +- ...GatewayAvailableSslPredefinedPolicies.java | 51 +- .../models/ApplicationGatewayListResult.java | 52 +- ...ayPrivateEndpointConnectionListResult.java | 55 +- ...nGatewayPrivateLinkResourceListResult.java | 54 +- ...onGatewayWafDynamicManifestResultList.java | 51 +- .../ApplicationSecurityGroupListResult.java | 42 +- .../models/AuthorizationListResult.java | 51 +- ...AutoApprovedPrivateLinkServicesResult.java | 40 +- .../models/AvailableDelegationsResult.java | 40 +- .../AvailablePrivateEndpointTypesResult.java | 40 +- .../models/AvailableServiceAliasesResult.java | 40 +- .../AzureFirewallFqdnTagListResult.java | 52 +- .../models/AzureFirewallListResult.java | 51 +- .../models/AzureWebCategoryListResult.java | 52 +- .../BastionActiveSessionListResult.java | 50 +- .../models/BastionHostListResult.java | 51 +- .../models/BastionSessionDeleteResult.java | 50 +- .../BastionShareableLinkListResult.java | 50 +- .../models/BgpPeerStatusListResult.java | 88 + .../models/BgpServiceCommunityListResult.java | 52 +- .../models/ConnectionMonitorListResult.java | 28 +- .../models/ConnectionSharedKeyResultList.java | 50 +- .../ConnectivityConfigurationListResult.java | 53 +- .../models/CustomIpPrefixListResult.java | 51 +- .../models/DdosProtectionPlanListResult.java | 42 +- .../models/DscpConfigurationListResult.java | 42 +- .../models/EffectiveRouteMapRouteList.java} | 52 +- .../models/EndpointServicesListResult.java | 52 +- ...pressRouteCircuitConnectionListResult.java | 53 +- .../models/ExpressRouteCircuitListResult.java | 52 +- .../ExpressRouteCircuitPeeringListResult.java | 52 +- .../models/ExpressRouteConnectionList.java} | 43 +- ...ExpressRouteCrossConnectionListResult.java | 42 +- ...xpressRouteCrossConnectionPeeringList.java | 40 +- .../models/ExpressRouteGatewayList.java} | 42 +- .../models/ExpressRouteLinkListResult.java | 50 +- ...pressRoutePortAuthorizationListResult.java | 52 +- .../models/ExpressRoutePortListResult.java | 52 +- .../ExpressRoutePortsLocationListResult.java | 52 +- ...ExpressRouteServiceProviderListResult.java | 52 +- .../models/FirewallPolicyListResult.java | 51 +- ...llPolicyRuleCollectionGroupListResult.java | 52 +- .../models/FlowLogListResult.java | 41 +- .../models/GatewayRouteListResult.java} | 49 +- ...tServiceGatewayAddressLocationsResult.java | 40 +- .../GetServiceGatewayServicesResult.java | 40 +- .../models/InboundNatRuleListResult.java | 41 +- .../models/IpAllocationListResult.java | 51 +- .../models/IpGroupListResult.java | 51 +- .../models/IpamPoolList.java | 49 +- .../models/ListHubRouteTablesResult.java | 49 +- ...istHubVirtualNetworkConnectionsResult.java | 50 +- .../models/ListP2SVpnGatewaysResult.java | 49 +- .../models/ListRouteMapsResult.java | 49 +- .../models/ListRoutingIntentResult.java | 49 +- .../ListVirtualHubBgpConnectionResults.java | 50 +- .../ListVirtualHubIpConfigurationResults.java | 50 +- .../ListVirtualHubRouteTableV2sResult.java} | 72 +- .../models/ListVirtualHubsResult.java | 49 +- ...stVirtualNetworkGatewayNatRulesResult.java | 50 +- .../models/ListVirtualWANsResult.java} | 77 +- .../models/ListVpnConnectionsResult.java | 49 +- .../models/ListVpnGatewayNatRulesResult.java | 50 +- .../models/ListVpnGatewaysResult.java | 49 +- ...ServerConfigurationPolicyGroupsResult.java | 50 +- .../ListVpnServerConfigurationsResult.java | 50 +- .../ListVpnSiteLinkConnectionsResult.java | 50 +- .../models/ListVpnSiteLinksResult.java | 49 +- .../models/ListVpnSitesResult.java | 49 +- ...dBalancerBackendAddressPoolListResult.java | 42 +- ...cerFrontendIPConfigurationListResult.java} | 66 +- .../models/LoadBalancerListResult.java | 41 +- ...adBalancerLoadBalancingRuleListResult.java | 42 +- .../LoadBalancerOutboundRuleListResult.java | 42 +- .../models/LoadBalancerProbeListResult.java | 42 +- .../models/LocalNetworkGatewayListResult.java | 42 +- .../models/NatGatewayListResult.java | 51 +- .../models/NetworkGroupListResult.java | 52 +- ...rkInterfaceIPConfigurationListResult.java} | 66 +- .../models/NetworkInterfaceListResult.java | 42 +- ...etworkInterfaceLoadBalancerListResult.java | 42 +- ...rkInterfaceTapConfigurationListResult.java | 42 +- .../NetworkManagerConnectionListResult.java | 52 +- ...orkManagerDeploymentStatusListResult.java} | 69 +- ...eConnectivityConfigurationListResult.java} | 70 +- ...ffectiveSecurityAdminRulesListResult.java} | 71 +- .../models/NetworkManagerListResult.java | 52 +- ...ManagerRoutingConfigurationListResult.java | 52 +- .../models/NetworkProfileListResult.java | 51 +- .../NetworkSecurityGroupListResult.java | 52 +- .../NetworkSecurityPerimeterListResult.java | 53 +- ...NetworkVirtualApplianceConnectionList.java | 50 +- .../NetworkVirtualApplianceListResult.java | 52 +- ...NetworkVirtualApplianceSiteListResult.java | 52 +- .../NetworkVirtualApplianceSkuListResult.java | 52 +- .../models/NetworkWatcherListResult.java | 28 +- .../models/NspAccessRuleListResult.java | 52 +- .../models/NspAssociationsListResult.java | 53 +- .../models/NspLinkListResult.java | 52 +- .../models/NspLinkReferenceListResult.java | 53 +- .../NspLoggingConfigurationListResult.java | 53 +- .../models/NspProfileListResult.java | 52 +- .../models/NspServiceTagsListResult.java | 49 +- .../models/OperationListResult.java | 52 +- .../models/PacketCaptureListResult.java | 28 +- ...pressRouteCircuitConnectionListResult.java | 55 +- ...erimeterAssociableResourcesListResult.java | 52 +- .../models/PoolAssociationList.java | 49 +- .../models/PrivateDnsZoneGroupListResult.java | 40 +- .../PrivateEndpointConnectionListResult.java | 42 +- .../models/PrivateEndpointListResult.java | 42 +- .../models/PrivateLinkServiceListResult.java | 42 +- .../models/PublicIPAddressListResult.java} | 72 +- .../models/PublicIPPrefixListResult.java} | 71 +- .../ReachabilityAnalysisIntentListResult.java | 52 +- .../ReachabilityAnalysisRunListResult.java | 52 +- .../models/RouteFilterListResult.java | 51 +- .../models/RouteFilterRuleListResult.java | 50 +- .../models/RouteListResult.java | 51 +- .../models/RouteTableListResult.java | 51 +- .../RoutingRuleCollectionListResult.java | 52 +- .../models/RoutingRuleListResult.java | 51 +- .../models/ScopeConnectionListResult.java | 52 +- .../SecurityAdminConfigurationListResult.java | 52 +- .../SecurityPartnerProviderListResult.java | 52 +- .../models/SecurityRuleListResult.java | 52 +- .../SecurityUserConfigurationListResult.java | 52 +- .../SecurityUserRuleCollectionListResult.java | 52 +- .../models/SecurityUserRuleListResult.java | 52 +- ...iceEndpointPolicyDefinitionListResult.java | 53 +- .../ServiceEndpointPolicyListResult.java | 42 +- .../models/ServiceGatewayListResult.java | 41 +- .../ServiceTagInformationListResult.java | 40 +- .../models/SignaturesOverridesList.java} | 43 +- .../models/StaticCidrList.java | 49 +- .../models/StaticMemberListResult.java | 52 +- .../models/SubnetListResult.java | 51 +- .../models/SwapResourceListResult.java} | 42 +- .../models/UsagesListResult.java | 49 +- .../models/VerifierWorkspaceListResult.java | 52 +- .../models/VirtualHubEffectiveRouteList.java} | 54 +- .../VirtualNetworkApplianceListResult.java | 42 +- ...tualNetworkDdosProtectionStatusResult.java | 50 +- ...ualNetworkGatewayConnectionListResult.java | 42 +- ...alNetworkGatewayListConnectionsResult.java | 41 +- .../VirtualNetworkGatewayListResult.java | 42 +- .../models/VirtualNetworkListResult.java | 51 +- .../models/VirtualNetworkListUsageResult.java | 30 +- .../VirtualNetworkPeeringListResult.java | 52 +- .../models/VirtualNetworkTapListResult.java | 52 +- .../models/VirtualRouterListResult.java | 51 +- .../VirtualRouterPeeringListResult.java | 52 +- ...ientConnectionHealthDetailListResult.java} | 55 +- ...ebApplicationFirewallPolicyListResult.java | 19 +- .../models/AadAuthenticationParameters.java | 2 +- .../network/models/Access.java | 6 +- .../network/models/AccessMode.java | 6 +- .../network/models/AccessRuleDirection.java | 6 +- .../network/models/Action.java | 2 +- .../network/models/ActionType.java | 14 +- .../models/ActiveConfigurationParameter.java | 2 +- .../ActiveConnectivityConfiguration.java | 362 -- .../ActiveDefaultSecurityAdminRule.java | 144 +- .../models/ActiveSecurityAdminRule.java | 257 +- .../network/models/AddressPrefixItem.java | 2 +- .../network/models/AddressPrefixType.java | 8 +- .../network/models/AddressSpace.java | 2 +- .../models/AddressSpaceAggregationOption.java | 6 +- .../network/models/AddressUpdateAction.java | 6 +- .../network/models/AdminRule.java | 15 +- .../network/models/AdminRuleKind.java | 6 +- .../network/models/AdminState.java | 6 +- .../AdvertisedPublicPrefixProperties.java | 2 +- ...PublicPrefixPropertiesValidationState.java | 22 +- ...licationGatewayAutoscaleConfiguration.java | 2 +- .../ApplicationGatewayBackendAddress.java | 2 +- .../ApplicationGatewayBackendAddressPool.java | 4 +- ...ationGatewayBackendHealthHttpSettings.java | 32 +- .../ApplicationGatewayBackendHealthPool.java | 32 +- ...ationGatewayBackendHealthServerHealth.java | 12 +- ...ApplicationGatewayBackendHttpSettings.java | 20 +- .../ApplicationGatewayBackendSettings.java | 4 +- ...icationGatewayClientAuthConfiguration.java | 2 +- ...ionGatewayClientAuthVerificationModes.java | 6 +- ...icationGatewayClientRevocationOptions.java | 6 +- .../ApplicationGatewayConnectionDraining.java | 2 +- ...ApplicationGatewayCookieBasedAffinity.java | 6 +- .../models/ApplicationGatewayCustomError.java | 2 +- ...plicationGatewayCustomErrorStatusCode.java | 20 +- ...cationGatewayEntraJwtValidationConfig.java | 70 +- ...ationGatewayFirewallDisabledRuleGroup.java | 2 +- .../ApplicationGatewayFirewallExclusion.java | 12 +- ...icationGatewayFirewallManifestRuleSet.java | 64 +- .../ApplicationGatewayFirewallMode.java | 6 +- ...ationGatewayFirewallRateLimitDuration.java | 6 +- .../ApplicationGatewayFirewallRule.java | 74 +- .../ApplicationGatewayFirewallRuleGroup.java | 41 +- .../ApplicationGatewayFirewallRuleSet.java | 95 +- ...ionGatewayFirewallUserSessionVariable.java | 12 +- ...tewayForContainersReferenceDefinition.java | 19 +- ...icationGatewayFrontendIpConfiguration.java | 22 +- .../ApplicationGatewayFrontendPort.java | 4 +- ...ApplicationGatewayGlobalConfiguration.java | 2 +- ...ApplicationGatewayHeaderConfiguration.java | 2 +- .../ApplicationGatewayHttpListener.java | 4 +- ...ationGatewayLoadDistributionAlgorithm.java | 8 +- ...licationGatewayLoadDistributionPolicy.java | 4 +- ...licationGatewayLoadDistributionTarget.java | 2 +- .../ApplicationGatewayOnDemandProbe.java | 2 +- .../ApplicationGatewayOperationalState.java | 10 +- ...cationGatewayPrivateLinkConfiguration.java | 4 +- ...tionGatewayPrivateLinkIpConfiguration.java | 20 +- ...cationGatewayProbeHealthResponseMatch.java | 2 +- .../models/ApplicationGatewayProtocol.java | 10 +- .../ApplicationGatewayRedirectType.java | 10 +- ...licationGatewayRequestRoutingRuleType.java | 6 +- .../models/ApplicationGatewayRewriteRule.java | 2 +- ...pplicationGatewayRewriteRuleActionSet.java | 2 +- ...pplicationGatewayRewriteRuleCondition.java | 2 +- .../ApplicationGatewayRewriteRuleSet.java | 4 +- .../models/ApplicationGatewayRoutingRule.java | 4 +- ...pplicationGatewayRuleSetStatusOptions.java | 10 +- .../network/models/ApplicationGatewaySku.java | 2 +- .../models/ApplicationGatewaySkuFamily.java | 6 +- .../models/ApplicationGatewaySkuName.java | 18 +- .../ApplicationGatewaySslCipherSuite.java | 58 +- .../models/ApplicationGatewaySslPolicy.java | 2 +- .../ApplicationGatewaySslPolicyName.java | 12 +- .../ApplicationGatewaySslPolicyType.java | 8 +- .../models/ApplicationGatewaySslProfile.java | 4 +- .../models/ApplicationGatewaySslProtocol.java | 10 +- .../models/ApplicationGatewayTier.java | 12 +- .../models/ApplicationGatewayTierTypes.java | 10 +- ...cationGatewayTrustedClientCertificate.java | 4 +- ...licationGatewayTrustedRootCertificate.java | 4 +- ...ationGatewayUnAuthorizedRequestAction.java | 6 +- .../ApplicationGatewayUrlConfiguration.java | 2 +- .../ApplicationGatewayWafRuleActionTypes.java | 12 +- ...icationGatewayWafRuleSensitivityTypes.java | 8 +- .../ApplicationGatewayWafRuleStateTypes.java | 6 +- ...ayWebApplicationFirewallConfiguration.java | 2 +- .../network/models/ApplicationRule.java | 24 +- .../network/models/AssociationAccessMode.java | 8 +- .../network/models/AssociationType.java | 6 +- .../network/models/AuthenticationMethod.java | 6 +- .../models/AuthorizationUseStatus.java | 6 +- .../models/AutoLearnPrivateRangesMode.java | 6 +- .../network/models/Availability.java | 41 +- .../models/AvailableProvidersListCity.java | 30 +- .../models/AvailableProvidersListCountry.java | 41 +- .../AvailableProvidersListParameters.java | 2 +- .../models/AvailableProvidersListState.java | 41 +- .../models/AzureFirewallApplicationRule.java | 2 +- ...zureFirewallApplicationRuleCollection.java | 4 +- .../AzureFirewallApplicationRuleProtocol.java | 2 +- ...reFirewallApplicationRuleProtocolType.java | 8 +- .../AzureFirewallAutoscaleConfiguration.java | 2 +- .../models/AzureFirewallIpConfiguration.java | 58 +- .../network/models/AzureFirewallIpGroups.java | 4 +- .../models/AzureFirewallNatRCAction.java | 2 +- .../models/AzureFirewallNatRCActionType.java | 6 +- .../network/models/AzureFirewallNatRule.java | 2 +- .../AzureFirewallNatRuleCollection.java | 4 +- .../models/AzureFirewallNetworkRule.java | 2 +- .../AzureFirewallNetworkRuleCollection.java | 4 +- .../AzureFirewallNetworkRuleProtocol.java | 10 +- .../AzureFirewallPacketCaptureFlags.java | 2 +- .../AzureFirewallPacketCaptureFlagsType.java | 14 +- ...ureFirewallPacketCaptureOperationType.java | 8 +- ...zureFirewallPacketCaptureResponseCode.java | 22 +- .../AzureFirewallPacketCaptureRule.java | 2 +- .../models/AzureFirewallPublicIpAddress.java | 26 +- .../network/models/AzureFirewallRCAction.java | 2 +- .../models/AzureFirewallRCActionType.java | 6 +- .../network/models/AzureFirewallSku.java | 2 +- .../network/models/AzureFirewallSkuName.java | 6 +- .../network/models/AzureFirewallSkuTier.java | 8 +- .../models/AzureFirewallThreatIntelMode.java | 8 +- .../models/AzureReachabilityReportItem.java | 41 +- .../AzureReachabilityReportLatencyInfo.java | 31 +- .../AzureReachabilityReportLocation.java | 2 +- .../AzureReachabilityReportParameters.java | 2 +- .../models/BastionConnectProtocol.java | 6 +- .../models/BastionHostIpConfiguration.java | 64 +- ...astionHostPropertiesFormatNetworkAcls.java | 10 +- .../network/models/BastionHostSkuName.java | 10 +- .../BastionShareableLinkListRequest.java | 2 +- .../BastionShareableLinkTokenListRequest.java | 2 +- .../network/models/BgpCommunity.java | 103 +- .../network/models/BgpPeerState.java | 12 +- .../network/models/BgpSettings.java | 12 +- .../models/BreakOutCategoryPolicies.java | 2 +- .../models/CertificateAuthentication.java | 2 +- ...ckPrivateLinkServiceVisibilityRequest.java | 2 +- .../network/models/ChildResource.java | 93 +- .../models/CircuitConnectionStatus.java | 8 +- .../network/models/CircuitMetadataMap.java | 41 +- .../network/models/CommissionedState.java | 18 +- .../network/models/CommonProxyResource.java | 16 +- .../network/models/CommonResource.java | 98 +- .../network/models/CommonTrackedResource.java | 15 +- .../network/models/ConfigurationGroup.java | 49 +- .../network/models/ConfigurationType.java | 10 +- .../models/ConnectedGroupAddressOverlap.java | 9 +- .../ConnectedGroupPrivateEndpointsScale.java | 6 +- .../models/ConnectionAuthenticationType.java | 6 +- .../models/ConnectionMonitorDestination.java | 2 +- .../models/ConnectionMonitorEndpoint.java | 2 +- .../ConnectionMonitorEndpointFilter.java | 2 +- .../ConnectionMonitorEndpointFilterItem.java | 2 +- ...nnectionMonitorEndpointFilterItemType.java | 4 +- .../ConnectionMonitorEndpointFilterType.java | 4 +- ...nectionMonitorEndpointLocationDetails.java | 2 +- .../ConnectionMonitorEndpointScope.java | 2 +- .../ConnectionMonitorEndpointScopeItem.java | 2 +- .../ConnectionMonitorHttpConfiguration.java | 40 +- .../ConnectionMonitorIcmpConfiguration.java | 2 +- .../models/ConnectionMonitorOutput.java | 2 +- .../models/ConnectionMonitorSource.java | 2 +- .../ConnectionMonitorSuccessThreshold.java | 10 +- .../ConnectionMonitorTcpConfiguration.java | 2 +- .../ConnectionMonitorTestConfiguration.java | 26 +- ...ctionMonitorTestConfigurationProtocol.java | 8 +- .../models/ConnectionMonitorTestGroup.java | 2 +- .../network/models/ConnectionMonitorType.java | 6 +- .../ConnectionMonitorWorkspaceSettings.java | 2 +- .../network/models/ConnectionStatus.java | 10 +- ...ionPropertiesConnectivityCapabilities.java | 2 +- .../models/ConnectivityDestination.java | 2 +- .../network/models/ConnectivityGroupItem.java | 2 +- .../network/models/ConnectivityHop.java | 4 +- .../network/models/ConnectivityIssue.java | 4 +- .../models/ConnectivityParameters.java | 24 +- .../network/models/ConnectivitySource.java | 2 +- .../network/models/ConnectivityTopology.java | 6 +- .../network/models/Container.java | 17 +- .../models/ContainerNetworkInterface.java | 44 +- ...ontainerNetworkInterfaceConfiguration.java | 4 +- ...tainerNetworkInterfaceIpConfiguration.java | 21 +- .../network/models/CoverageLevel.java | 14 +- .../network/models/CreatedByType.java | 61 - .../network/models/Criterion.java | 2 +- .../network/models/CrossTenantScopes.java | 4 +- .../CustomDnsConfigPropertiesFormat.java | 2 +- .../network/models/CustomIpPrefixType.java | 8 +- .../network/models/DdosDetectionMode.java | 4 +- .../network/models/DdosDetectionRule.java | 35 +- .../network/models/DdosSettings.java | 2 +- .../models/DdosSettingsProtectionMode.java | 8 +- .../network/models/DdosTrafficType.java | 8 +- .../network/models/DefaultAdminRule.java | 15 +- .../network/models/Delegation.java | 4 +- .../network/models/DelegationProperties.java | 8 +- ...DeleteBastionShareableLinkFinalResult.java | 65 + .../network/models/DeleteExistingPeering.java | 6 +- .../network/models/DeleteOptions.java | 6 +- .../network/models/DeploymentStatus.java | 10 +- .../models/DestinationPortBehavior.java | 6 +- .../network/models/DeviceProperties.java | 2 +- .../network/models/DhGroup.java | 18 +- .../network/models/DhcpOptions.java | 2 +- .../network/models/Dimension.java | 41 +- .../network/models/Direction.java | 6 +- .../models/DisableBgpRoutePropagation.java | 6 +- ...sassociateCloudServicePublicIpRequest.java | 2 +- ...tworkGatewayVpnConnectionsFinalResult.java | 67 + .../network/models/DnsSettings.java | 2 +- .../models/EffectiveAdminRuleKind.java | 6 +- .../EffectiveDefaultSecurityAdminRule.java | 110 +- .../models/EffectiveNetworkSecurityGroup.java | 65 +- ...ectiveNetworkSecurityGroupAssociation.java | 41 +- .../models/EffectiveNetworkSecurityRule.java | 178 +- .../network/models/EffectiveRoute.java | 86 +- .../network/models/EffectiveRouteSource.java | 10 +- .../network/models/EffectiveRouteState.java | 6 +- .../models/EffectiveRoutesParameters.java | 2 +- .../models/EffectiveSecurityAdminRule.java | 224 +- .../models/EffectiveSecurityRuleProtocol.java | 8 +- .../network/models/EndpointType.java | 20 +- .../resourcemanager/network/models/Error.java | 4 +- .../network/models/ErrorAdditionalInfo.java | 97 - .../network/models/ErrorDetail.java | 155 - .../network/models/ErrorException.java | 2 +- .../models/EvaluatedNetworkSecurityGroup.java | 41 +- .../network/models/ExceptionEntry.java | 2 +- .../models/ExceptionEntryMatchVariable.java | 8 +- .../ExceptionEntrySelectorMatchOperator.java | 10 +- .../ExceptionEntryValueMatchOperator.java | 12 +- .../network/models/ExclusionManagedRule.java | 2 +- .../models/ExclusionManagedRuleGroup.java | 2 +- .../models/ExclusionManagedRuleSet.java | 2 +- .../network/models/ExplicitProxy.java | 2 +- .../models/ExpressRouteCircuitArpTable.java | 52 +- ...uitPeeringAdvertisedPublicPrefixState.java | 10 +- .../ExpressRouteCircuitPeeringConfig.java | 2 +- .../models/ExpressRouteCircuitPeeringId.java | 2 +- .../ExpressRouteCircuitPeeringState.java | 6 +- .../models/ExpressRouteCircuitReference.java | 2 +- .../ExpressRouteCircuitRoutesTable.java | 64 +- ...ExpressRouteCircuitRoutesTableSummary.java | 65 +- ...RouteCircuitServiceProviderProperties.java | 2 +- .../models/ExpressRouteCircuitSku.java | 2 +- .../models/ExpressRouteCircuitSkuFamily.java | 6 +- .../models/ExpressRouteCircuitSkuTier.java | 10 +- .../models/ExpressRouteConnectionId.java | 2 +- ...outeCrossConnectionRoutesTableSummary.java | 54 +- ...ssRouteFailoverCircuitResourceDetails.java | 41 +- ...outeFailoverConnectionResourceDetails.java | 52 +- .../ExpressRouteFailoverRedundantRoute.java | 30 +- ...ExpressRouteFailoverStopApiParameters.java | 2 +- ...tewayPropertiesAutoScaleConfiguration.java | 2 +- ...ropertiesAutoScaleConfigurationBounds.java | 2 +- .../models/ExpressRouteLinkAdminState.java | 6 +- .../models/ExpressRouteLinkConnectorType.java | 6 +- .../models/ExpressRouteLinkMacSecCipher.java | 10 +- .../models/ExpressRouteLinkMacSecConfig.java | 2 +- .../ExpressRouteLinkMacSecSciState.java | 6 +- .../models/ExpressRoutePeeringState.java | 6 +- .../models/ExpressRoutePeeringType.java | 8 +- ...xpressRoutePortAuthorizationUseStatus.java | 6 +- .../models/ExpressRoutePortsBillingType.java | 6 +- .../ExpressRoutePortsEncapsulation.java | 6 +- .../ExpressRoutePortsLocationBandwidths.java | 4 +- ...RouteServiceProviderBandwidthsOffered.java | 30 +- .../network/models/ExtendedLocation.java | 2 +- .../network/models/ExtendedLocationTypes.java | 4 +- .../models/FailoverConnectionDetails.java | 2 +- .../models/FailoverConnectionStatus.java | 6 +- .../network/models/FailoverTestStatus.java | 20 +- .../FailoverTestStatusForSingleTest.java | 20 +- .../network/models/FailoverTestType.java | 8 +- .../network/models/FilterItems.java | 2 +- .../FirewallPacketCaptureParameters.java | 17 +- .../FirewallPolicyCertificateAuthority.java | 2 +- .../FirewallPolicyFilterRuleCollection.java | 2 +- ...ewallPolicyFilterRuleCollectionAction.java | 2 +- ...lPolicyFilterRuleCollectionActionType.java | 6 +- .../FirewallPolicyHttpHeaderToInsert.java | 2 +- .../FirewallPolicyIdpsQuerySortOrder.java | 32 +- .../FirewallPolicyIdpsSignatureDirection.java | 30 +- .../FirewallPolicyIdpsSignatureMode.java | 24 +- .../FirewallPolicyIdpsSignatureSeverity.java | 24 +- .../models/FirewallPolicyInsights.java | 2 +- .../FirewallPolicyIntrusionDetection.java | 2 +- ...nDetectionBypassTrafficSpecifications.java | 2 +- ...PolicyIntrusionDetectionConfiguration.java | 2 +- ...llPolicyIntrusionDetectionProfileType.java | 10 +- ...ewallPolicyIntrusionDetectionProtocol.java | 10 +- ...rusionDetectionSignatureSpecification.java | 2 +- ...wallPolicyIntrusionDetectionStateType.java | 8 +- .../FirewallPolicyLogAnalyticsResources.java | 2 +- .../FirewallPolicyLogAnalyticsWorkspace.java | 2 +- .../FirewallPolicyNatRuleCollection.java | 2 +- ...FirewallPolicyNatRuleCollectionAction.java | 2 +- ...wallPolicyNatRuleCollectionActionType.java | 4 +- .../network/models/FirewallPolicyRule.java | 2 +- ...FirewallPolicyRuleApplicationProtocol.java | 2 +- ...wallPolicyRuleApplicationProtocolType.java | 6 +- .../models/FirewallPolicyRuleCollection.java | 2 +- .../FirewallPolicyRuleCollectionType.java | 6 +- .../FirewallPolicyRuleNetworkProtocol.java | 10 +- .../models/FirewallPolicyRuleType.java | 8 +- .../network/models/FirewallPolicySku.java | 2 +- .../network/models/FirewallPolicySkuTier.java | 8 +- .../network/models/FirewallPolicySnat.java | 32 +- .../network/models/FirewallPolicySql.java | 26 +- .../FirewallPolicyThreatIntelWhitelist.java | 2 +- .../FirewallPolicyTransportSecurity.java | 2 +- .../models/FlowLogFormatParameters.java | 2 +- .../network/models/FlowLogFormatType.java | 4 +- .../models/FlowLogStatusParameters.java | 2 +- ...ewayCustomBgpIpAddressIpConfiguration.java | 2 +- .../GatewayLoadBalancerTunnelInterface.java | 2 +- ...atewayLoadBalancerTunnelInterfaceType.java | 8 +- .../GatewayLoadBalancerTunnelProtocol.java | 8 +- .../GatewayResiliencyRecommendation.java | 74 +- .../network/models/GatewayRouteSet.java | 41 +- .../GenerateExpressRoutePortsLoaRequest.java | 34 +- .../models/GenerateVpnProfileFinalResult.java | 92 + .../GeneratevpnclientpackageFinalResult.java | 93 + .../resourcemanager/network/models/Geo.java | 20 +- .../network/models/GetIkeSasFinalResult.java | 90 + .../models/GetInboundRoutesParameters.java | 2 +- .../models/GetOutboundRoutesParameters.java | 2 +- .../GetVpnProfilePackageUrlFinalResult.java | 92 + .../GetVpnSitesConfigurationRequest.java | 2 +- .../network/models/GroupByUserSession.java | 2 +- .../network/models/GroupByVariable.java | 2 +- .../network/models/GroupConnectivity.java | 6 +- .../network/models/GroupMemberType.java | 6 +- .../network/models/HeaderValueMatcher.java | 2 +- .../network/models/HopLink.java | 4 +- .../network/models/HttpConfiguration.java | 48 +- .../models/HttpConfigurationMethod.java | 32 +- .../network/models/HttpHeader.java | 32 +- .../network/models/HttpMethod.java | 28 +- .../resourcemanager/network/models/Hub.java | 2 +- .../models/HubBgpConnectionStatus.java | 10 +- .../network/models/HubIpAddresses.java | 36 +- .../network/models/HubPublicIpAddresses.java | 40 +- .../network/models/HubRoute.java | 2 +- .../network/models/HubRoutingPreference.java | 8 +- .../network/models/IdpsQueryObject.java | 50 +- .../network/models/IkeEncryption.java | 16 +- .../network/models/IkeIntegrity.java | 14 +- .../network/models/InboundNatPool.java | 4 +- .../models/InboundNatRulePortMapping.java | 4 +- .../models/InboundSecurityRuleType.java | 6 +- .../network/models/InboundSecurityRules.java | 2 +- .../models/InboundSecurityRulesProtocol.java | 6 +- .../network/models/IntentContent.java | 58 +- .../InternetIngressPublicIpsProperties.java | 2 +- .../network/models/IpAllocationMethod.java | 6 +- .../network/models/IpAllocationType.java | 6 +- .../IpConfigurationBgpPeeringAddress.java | 38 +- .../network/models/IpFlowProtocol.java | 6 +- .../network/models/IpRule.java | 28 +- .../resourcemanager/network/models/IpTag.java | 2 +- .../network/models/IpTraffic.java | 62 +- .../network/models/IpType.java | 6 +- .../network/models/IpVersion.java | 6 +- .../models/IpamPoolPrefixAllocation.java | 2 +- .../network/models/IpamPoolProperties.java | 15 +- .../network/models/IpamPoolUpdate.java | 2 +- .../models/IpamPoolUpdateProperties.java | 2 +- .../network/models/IpsecEncryption.java | 20 +- .../network/models/IpsecIntegrity.java | 14 +- .../network/models/IpsecPolicy.java | 2 +- .../models/Ipv6CircuitConnectionConfig.java | 2 +- .../Ipv6ExpressRouteCircuitPeeringConfig.java | 2 +- .../network/models/IsGlobal.java | 6 +- .../network/models/IsRollback.java | 6 +- .../network/models/IsWorkloadProtected.java | 6 +- .../network/models/IssueType.java | 20 +- .../models/LoadBalancerBackendAddress.java | 26 +- .../LoadBalancerBackendAddressAdminState.java | 8 +- ...alancerHealthPerRulePerBackendAddress.java | 67 +- .../LoadBalancerOutboundRuleProtocol.java | 8 +- .../network/models/LoadBalancerScope.java | 6 +- .../network/models/LoadBalancerSku.java | 2 +- .../network/models/LoadBalancerSkuName.java | 8 +- .../network/models/LoadBalancerSkuTier.java | 6 +- .../models/LoadBalancerVipSwapRequest.java | 12 +- ...VipSwapRequestFrontendIpConfiguration.java | 46 +- .../network/models/LoadDistribution.java | 8 +- .../network/models/LogSpecification.java | 41 +- .../models/ManagedRuleEnabledState.java | 6 +- .../models/ManagedRuleGroupOverride.java | 2 +- .../network/models/ManagedRuleOverride.java | 2 +- .../network/models/ManagedRuleSet.java | 2 +- .../models/ManagedRuleSetRuleGroup.java | 30 +- .../models/ManagedRulesDefinition.java | 2 +- .../models/ManagedServiceIdentity.java | 2 +- ...ServiceIdentityUserAssignedIdentities.java | 2 +- .../network/models/MatchCondition.java | 2 +- .../network/models/MatchVariable.java | 2 +- .../network/models/MatchedRule.java | 30 +- .../network/models/MetricSpecification.java | 162 +- .../MigrateLoadBalancerToIpBasedRequest.java | 2 +- .../network/models/NatGatewaySku.java | 2 +- .../network/models/NatGatewaySkuName.java | 6 +- .../network/models/NatRule.java | 2 +- .../network/models/NatRulePortMapping.java | 41 +- ...workConfigurationDiagnosticParameters.java | 2 +- ...NetworkConfigurationDiagnosticProfile.java | 2 +- .../NetworkConfigurationDiagnosticResult.java | 31 +- .../NetworkGroupsCreateOrUpdateHeaders.java | 41 +- .../NetworkGroupsCreateOrUpdateResponse.java | 2 +- .../network/models/NetworkIntentPolicy.java | 2 +- .../NetworkIntentPolicyBasedService.java | 8 +- .../NetworkIntentPolicyConfiguration.java | 2 +- .../models/NetworkInterfaceAssociation.java | 19 +- .../models/NetworkInterfaceAuxiliaryMode.java | 10 +- .../models/NetworkInterfaceAuxiliarySku.java | 12 +- .../models/NetworkInterfaceDnsSettings.java | 2 +- ...rationPrivateLinkConnectionProperties.java | 30 +- .../NetworkInterfaceMigrationPhase.java | 12 +- .../models/NetworkInterfaceNicType.java | 6 +- ...tworkManagerDeploymentStatusParameter.java | 2 +- ...ManagerPropertiesNetworkManagerScopes.java | 2 +- .../NetworkManagerRoutingGroupItem.java | 2 +- .../NetworkManagerSecurityGroupItem.java | 2 +- .../network/models/NetworkProtocol.java | 10 +- .../models/NetworkProvisioningState.java | 61 + .../network/models/NetworkRule.java | 2 +- .../models/NetworkSecurityGroupResult.java | 19 +- .../NetworkSecurityRulesEvaluationResult.java | 74 +- ...tualApplianceBootDiagnosticParameters.java | 2 +- ...pliancePropertiesFormatNetworkProfile.java | 2 +- .../NetworkVirtualApplianceSkuInstances.java | 4 +- .../network/models/NextHopParameters.java | 2 +- .../network/models/NextHopType.java | 14 +- .../network/models/NextStep.java | 8 +- .../network/models/NicTypeInRequest.java | 6 +- .../network/models/NicTypeInResponse.java | 8 +- .../network/models/NoContentResponse.java | 63 + .../models/NspLinkProvisioningState.java | 16 +- .../network/models/NspLinkStatus.java | 10 +- .../network/models/NspProvisioningState.java | 14 +- .../NvaInVnetSubnetReferenceProperties.java | 2 +- .../NvaInterfaceConfigurationsProperties.java | 2 +- .../network/models/NvaNicType.java | 10 +- .../models/O365BreakOutCategoryPolicies.java | 2 +- .../network/models/O365PolicyProperties.java | 2 +- .../models/Office365PolicyProperties.java | 2 +- .../network/models/OfficeTrafficCategory.java | 10 +- .../network/models/OperationDisplay.java | 52 +- ...nPropertiesFormatServiceSpecification.java | 32 +- .../network/models/OrderBy.java | 10 +- .../network/models/Origin.java | 8 +- .../network/models/OutputType.java | 4 +- .../models/OwaspCrsExclusionEntry.java | 2 +- .../OwaspCrsExclusionEntryMatchVariable.java | 20 +- ...rsExclusionEntrySelectorMatchOperator.java | 12 +- .../models/P2SConnectionConfiguration.java | 4 +- .../models/P2SVpnConnectionHealthRequest.java | 2 +- .../models/P2SVpnConnectionRequest.java | 2 +- .../models/P2SVpnProfileParameters.java | 2 +- .../network/models/PacketCaptureFilter.java | 2 +- .../models/PacketCaptureMachineScope.java | 2 +- .../network/models/PacketCaptureSettings.java | 2 +- .../models/PacketCaptureStorageLocation.java | 2 +- .../models/PacketCaptureTargetType.java | 6 +- .../network/models/Parameter.java | 2 +- .../PartnerManagedResourceProperties.java | 2 +- .../network/models/PatchObject.java | 2 +- .../network/models/PcError.java | 12 +- .../network/models/PcProtocol.java | 8 +- .../network/models/PcStatus.java | 12 +- .../network/models/PeerRoute.java | 4 +- .../network/models/PeeringEnforcement.java | 8 +- .../models/PerimeterBasedAccessRule.java | 4 +- .../network/models/PfsGroup.java | 20 +- .../network/models/PolicySettings.java | 2 +- .../models/PolicySettingsLogScrubbing.java | 2 +- .../network/models/PreferredIpVersion.java | 32 +- .../models/PreferredRoutingGateway.java | 8 +- .../PrepareNetworkPoliciesFinalResult.java | 64 + .../models/PrepareNetworkPoliciesRequest.java | 2 +- .../network/models/PrivateDnsZoneConfig.java | 2 +- .../PrivateEndpointIpConfiguration.java | 60 +- .../models/PrivateEndpointIpVersionType.java | 36 +- .../models/PrivateEndpointVNetPolicies.java | 6 +- .../models/PrivateLinkServiceConnection.java | 4 +- .../PrivateLinkServiceConnectionState.java | 2 +- ...vateLinkServicePropertiesAutoApproval.java | 2 +- ...rivateLinkServicePropertiesVisibility.java | 2 +- .../ProbeNoHealthyBackendsBehavior.java | 6 +- .../network/models/ProbeProtocol.java | 8 +- .../network/models/ProcessorArchitecture.java | 6 +- .../network/models/PropagatedRouteTable.java | 2 +- .../network/models/Protocol.java | 10 +- .../network/models/ProtocolConfiguration.java | 28 +- .../network/models/ProtocolType.java | 20 +- .../network/models/ProvisioningState.java | 14 +- .../models/ProxyResourceWithReadOnlyID.java | 146 + .../models/ProxyResourcewithoutEtag.java | 147 + .../models/PublicIpAddressDnsSettings.java | 2 +- ...ddressDnsSettingsDomainNameLabelScope.java | 10 +- .../models/PublicIpAddressMigrationPhase.java | 44 +- .../network/models/PublicIpAddressSku.java | 10 +- .../models/PublicIpAddressSkuName.java | 8 +- .../models/PublicIpAddressSkuTier.java | 32 +- .../network/models/PublicIpPrefixSku.java | 18 +- .../network/models/PublicIpPrefixSkuName.java | 32 +- .../network/models/PublicIpPrefixSkuTier.java | 32 +- .../network/models/QosDefinition.java | 2 +- .../network/models/QosIpRange.java | 2 +- .../network/models/QosPortRange.java | 2 +- ...QueryInboundNatRulePortMappingRequest.java | 2 +- .../network/models/QueryRequestOptions.java | 2 +- .../QueryTroubleshootingParameters.java | 2 +- .../network/models/RadiusAuthServer.java | 30 +- .../network/models/RadiusServer.java | 2 +- .../ReachabilityAnalysisIntentProperties.java | 23 +- .../ReachabilityAnalysisRunProperties.java | 15 +- .../models/ReadOnlySubResourceModel.java | 146 + .../network/models/RecordSet.java | 69 +- .../models/ReferencedPublicIpAddress.java | 19 +- ...rveCloudServicePublicIpAddressRequest.java | 2 +- .../ResetVpnClientSharedKeyFinalResult.java | 64 + .../network/models/ResiliencyModel.java | 6 +- .../ResiliencyRecommendationComponents.java | 53 +- .../network/models/ResourceBasics.java | 30 +- .../network/models/ResourceIdentityType.java | 10 +- .../models/ResourceNavigationLink.java | 71 +- .../network/models/ResourceSet.java | 2 +- .../models/ResourceWithReadOnlyID.java | 204 + .../models/ResourceWithReadOnlyNameAndID.java | 205 + ...java => ResourceWithRequiredLocation.java} | 171 +- .../models/ResourceWithWritableName.java | 206 + .../models/RetentionPolicyParameters.java | 2 +- .../network/models/RouteFilterRuleType.java | 4 +- .../network/models/RouteMapActionType.java | 12 +- .../models/RouteMapMatchCondition.java | 12 +- .../network/models/RouteMapRule.java | 2 +- .../network/models/RouteNextHopType.java | 12 +- .../network/models/RouteSourceDetails.java | 41 +- .../network/models/RouteTableUsageMode.java | 6 +- .../network/models/RoutingConfiguration.java | 2 +- .../network/models/RoutingPolicy.java | 2 +- .../models/RoutingRuleDestinationType.java | 6 +- .../network/models/RoutingRuleNextHop.java | 2 +- .../models/RoutingRuleNextHopType.java | 12 +- .../models/RoutingRuleRouteDestination.java | 2 +- .../network/models/RoutingState.java | 10 +- .../network/models/ScopeConnectionState.java | 12 +- .../ScrubbingRuleEntryMatchOperator.java | 6 +- .../ScrubbingRuleEntryMatchVariable.java | 14 +- .../models/ScrubbingRuleEntryState.java | 6 +- .../SecurityConfigurationRuleAccess.java | 8 +- .../SecurityConfigurationRuleDirection.java | 6 +- .../SecurityConfigurationRuleProtocol.java | 14 +- .../models/SecurityGroupNetworkInterface.java | 31 +- .../models/SecurityGroupViewParameters.java | 2 +- ...curityPartnerProviderConnectionStatus.java | 10 +- .../SecurityPerimeterProxyResource.java | 141 - .../models/SecurityPerimeterResource.java | 149 - .../models/SecurityPerimeterSystemData.java | 243 - .../network/models/SecurityProviderName.java | 8 +- .../network/models/SecurityRuleAccess.java | 6 +- .../models/SecurityRuleAssociations.java | 54 +- .../network/models/SecurityRuleDirection.java | 6 +- .../network/models/SecurityRuleProtocol.java | 14 +- .../network/models/SecurityUserGroupItem.java | 2 +- .../network/models/SensitivityType.java | 8 +- .../models/ServiceAssociationLink.java | 87 +- .../ServiceEndpointPropertiesFormat.java | 8 +- .../network/models/ServiceGatewayAddress.java | 2 +- .../models/ServiceGatewayAddressLocation.java | 2 +- .../network/models/ServiceGatewaySku.java | 2 +- .../network/models/ServiceGatewaySkuName.java | 4 +- .../network/models/ServiceGatewaySkuTier.java | 4 +- ...eGatewayUpdateAddressLocationsRequest.java | 2 +- .../ServiceGatewayUpdateServicesRequest.java | 2 +- .../ServiceProviderProvisioningState.java | 10 +- ...ServiceTagInformationPropertiesFormat.java | 4 +- .../network/models/ServiceType.java | 8 +- .../network/models/ServiceUpdateAction.java | 6 +- .../network/models/SessionIds.java | 2 +- .../network/models/Severity.java | 6 +- .../network/models/SharedKeyProperties.java | 8 +- .../network/models/SharingScope.java | 6 +- .../SignatureOverridesFilterValuesQuery.java | 2 +- .../models/SignaturesOverridesProperties.java | 2 +- .../network/models/SingleQueryResult.java | 148 +- .../network/models/SingletonResource.java | 51 + .../resourcemanager/network/models/Sku.java | 2 +- .../network/models/SlotType.java | 6 +- ...outeSiteFailoverSimulationFinalResult.java | 95 + .../network/models/StartFinalResult.java | 63 + .../models/StartPacketCaptureFinalResult.java | 92 + .../StartPacketCaptureFinalResult1.java | 92 + .../StartPacketCaptureFinalResult2.java | 92 + .../network/models/StaticCidrProperties.java | 49 +- .../network/models/StaticRoute.java | 2 +- .../network/models/StaticRoutesConfig.java | 2 +- ...outeSiteFailoverSimulationFinalResult.java | 94 + .../network/models/StopFinalResult.java | 63 + .../network/models/StopFinalResult1.java | 63 + .../models/StopPacketCaptureFinalResult.java | 91 + .../models/StopPacketCaptureFinalResult1.java | 92 + .../models/StopPacketCaptureFinalResult2.java | 92 + .../network/models/SubResourceModel.java | 148 + .../network/models/SubnetAssociation.java | 19 +- .../network/models/SubscriptionId.java | 2 +- .../models/SwapResourceProperties.java | 2 +- .../network/models/SyncMode.java | 6 +- .../models/SyncRemoteAddressSpace.java | 4 +- .../network/models/TagsObject.java | 2 +- .../network/models/TopologyAssociation.java | 41 +- .../network/models/TopologyParameters.java | 2 +- .../network/models/TopologyResource.java | 53 +- .../TrackedResourcewithOptionalLocation.java | 232 + ...afficAnalyticsConfigurationProperties.java | 2 +- .../models/TrafficAnalyticsProperties.java | 2 +- .../network/models/TrafficDetectionRule.java | 2 +- .../network/models/TrafficSelectorPolicy.java | 2 +- .../network/models/TransportProtocol.java | 10 +- .../models/TroubleshootingDetails.java | 63 +- .../models/TroubleshootingParameters.java | 2 +- .../TroubleshootingRecommendedActions.java | 52 +- .../models/TunnelConnectionHealth.java | 4 +- .../UnprepareNetworkPoliciesFinalResult.java | 65 + .../UnprepareNetworkPoliciesRequest.java | 2 +- .../network/models/UpdateAction.java | 6 +- .../network/models/UpdateTagsRequest.java | 2 +- .../network/models/UsageName.java | 30 +- .../network/models/UsageUnit.java | 4 +- .../network/models/UseHubGateway.java | 6 +- .../resourcemanager/network/models/VM.java | 2 +- .../network/models/VerbosityLevel.java | 8 +- .../models/VerificationIpFlowParameters.java | 2 +- .../models/VerifierWorkspaceProperties.java | 15 +- .../models/VerifierWorkspaceUpdate.java | 2 +- .../VerifierWorkspaceUpdateProperties.java | 2 +- ...rtualApplianceAdditionalNicProperties.java | 2 +- .../VirtualApplianceIpConfiguration.java | 40 +- ...ualApplianceIpConfigurationProperties.java | 30 +- ...pplianceNetworkInterfaceConfiguration.java | 2 +- ...tworkInterfaceConfigurationProperties.java | 12 +- .../models/VirtualApplianceNicProperties.java | 4 +- .../models/VirtualApplianceSkuProperties.java | 2 +- .../network/models/VirtualHubId.java | 2 +- .../network/models/VirtualHubRoute.java | 2 +- .../network/models/VirtualHubRouteTable.java | 2 +- .../network/models/VirtualHubRouteV2.java | 2 +- ...irtualNetworkApplianceIpConfiguration.java | 95 +- .../models/VirtualNetworkBgpCommunities.java | 2 +- ...tualNetworkConnectionGatewayReference.java | 19 +- .../models/VirtualNetworkEncryption.java | 2 +- .../VirtualNetworkEncryptionEnforcement.java | 6 +- .../VirtualNetworkGatewayAutoScaleBounds.java | 2 +- ...lNetworkGatewayAutoScaleConfiguration.java | 2 +- .../VirtualNetworkGatewayConnectionMode.java | 8 +- ...rtualNetworkGatewayConnectionProtocol.java | 6 +- ...VirtualNetworkGatewayConnectionStatus.java | 10 +- ...workGatewayConnectionTunnelProperties.java | 2 +- .../VirtualNetworkGatewayConnectionType.java | 10 +- ...tualNetworkGatewayMigrationParameters.java | 2 +- .../VirtualNetworkGatewayMigrationPhase.java | 24 +- .../VirtualNetworkGatewayMigrationState.java | 10 +- .../VirtualNetworkGatewayMigrationStatus.java | 2 +- .../VirtualNetworkGatewayMigrationType.java | 4 +- .../VirtualNetworkGatewayPolicyGroup.java | 4 +- ...irtualNetworkGatewayPolicyGroupMember.java | 2 +- .../models/VirtualNetworkGatewaySku.java | 2 +- .../models/VirtualNetworkGatewaySkuName.java | 38 +- .../models/VirtualNetworkGatewaySkuTier.java | 38 +- .../models/VirtualNetworkGatewayType.java | 8 +- .../models/VirtualNetworkPeeringLevel.java | 10 +- .../models/VirtualNetworkPeeringState.java | 8 +- ...NetworkPrivateEndpointNetworkPolicies.java | 10 +- ...workPrivateLinkServiceNetworkPolicies.java | 6 +- .../models/VirtualNetworkUsageName.java | 4 +- .../VirtualRouterAutoScaleConfiguration.java | 2 +- .../models/VirtualWanSecurityProvider.java | 30 +- .../VirtualWanSecurityProviderType.java | 6 +- .../VirtualWanVpnProfileParameters.java | 2 +- .../VnetLocalRouteOverrideCriteria.java | 6 +- .../network/models/VnetRoute.java | 2 +- .../VngClientConnectionConfiguration.java | 4 +- .../network/models/VpnAuthenticationType.java | 8 +- .../models/VpnClientConfiguration.java | 2 +- .../models/VpnClientConnectionHealth.java | 31 +- .../network/models/VpnClientParameters.java | 2 +- .../network/models/VpnClientProtocol.java | 8 +- .../models/VpnClientRevokedCertificate.java | 4 +- .../models/VpnClientRootCertificate.java | 4 +- ...onnectionPacketCaptureStartParameters.java | 2 +- ...ConnectionPacketCaptureStopParameters.java | 2 +- .../network/models/VpnConnectionStatus.java | 10 +- ...nectionsStartPacketCaptureFinalResult.java | 93 + ...nnectionsStopPacketCaptureFinalResult.java | 93 + .../models/VpnDeviceScriptParameters.java | 2 +- .../network/models/VpnGatewayGeneration.java | 8 +- .../models/VpnGatewayIpConfiguration.java | 41 +- ...pnGatewayPacketCaptureStartParameters.java | 2 +- ...VpnGatewayPacketCaptureStopParameters.java | 2 +- .../models/VpnGatewayTunnelingProtocol.java | 6 +- .../network/models/VpnLinkBgpSettings.java | 2 +- .../network/models/VpnLinkConnectionMode.java | 8 +- .../models/VpnLinkProviderProperties.java | 2 +- .../network/models/VpnNatRuleMapping.java | 2 +- .../network/models/VpnNatRuleMode.java | 6 +- .../network/models/VpnNatRuleType.java | 6 +- .../VpnPacketCaptureStartParameters.java | 2 +- .../VpnPacketCaptureStopParameters.java | 2 +- .../models/VpnPolicyMemberAttributeType.java | 8 +- ...rverConfigRadiusClientRootCertificate.java | 2 +- ...rverConfigRadiusServerRootCertificate.java | 2 +- ...rverConfigVpnClientRevokedCertificate.java | 2 +- ...nServerConfigVpnClientRootCertificate.java | 2 +- ...nServerConfigurationPolicyGroupMember.java | 2 +- .../network/models/VpnType.java | 6 +- .../models/WebApplicationFirewallAction.java | 12 +- .../WebApplicationFirewallCustomRule.java | 2 +- .../WebApplicationFirewallEnabledState.java | 6 +- .../WebApplicationFirewallMatchVariable.java | 18 +- .../models/WebApplicationFirewallMode.java | 6 +- .../WebApplicationFirewallOperator.java | 26 +- ...pplicationFirewallPolicyResourceState.java | 14 +- .../WebApplicationFirewallRuleType.java | 8 +- .../WebApplicationFirewallScrubbingRules.java | 2 +- .../WebApplicationFirewallScrubbingState.java | 6 +- .../models/WebApplicationFirewallState.java | 6 +- .../WebApplicationFirewallTransform.java | 16 +- .../network/models/WritableResource.java | 149 + .../network/models/package-info.java | 6 +- .../resourcemanager/network/package-info.java | 6 +- ...zure-resourcemanager-network_metadata.json | 1 + .../proxy-config.json | 2 +- ...nRuleCollectionsCreateOrUpdateSamples.java | 32 + .../AdminRuleCollectionsDeleteSamples.java | 25 + .../AdminRuleCollectionsGetSamples.java | 25 + .../AdminRuleCollectionsListSamples.java | 24 + .../AdminRulesCreateOrUpdateSamples.java | 74 + .../generated/AdminRulesDeleteSamples.java | 25 + .../generated/AdminRulesGetSamples.java | 40 + .../generated/AdminRulesListSamples.java | 25 + ...ivateEndpointConnectionsDeleteSamples.java | 25 + ...yPrivateEndpointConnectionsGetSamples.java | 25 + ...PrivateEndpointConnectionsListSamples.java | 25 + ...ivateEndpointConnectionsUpdateSamples.java | 33 + ...atewayPrivateLinkResourcesListSamples.java | 25 + ...yWafDynamicManifestsDefaultGetSamples.java | 24 + ...nGatewayWafDynamicManifestsGetSamples.java | 24 + ...nGatewaysBackendHealthOnDemandSamples.java | 37 + ...plicationGatewaysBackendHealthSamples.java | 24 + ...licationGatewaysCreateOrUpdateSamples.java | 194 + .../ApplicationGatewaysDeleteSamples.java | 22 + ...tionGatewaysGetByResourceGroupSamples.java | 24 + ...GatewaysGetSslPredefinedPolicySamples.java | 24 + ...aysListAvailableRequestHeadersSamples.java | 24 + ...ysListAvailableResponseHeadersSamples.java | 24 + ...ysListAvailableServerVariablesSamples.java | 24 + ...atewaysListAvailableSslOptionsSamples.java | 24 + ...AvailableSslPredefinedPoliciesSamples.java | 24 + ...tewaysListAvailableWafRuleSetsSamples.java | 24 + ...ionGatewaysListByResourceGroupSamples.java | 23 + .../ApplicationGatewaysListSamples.java | 23 + .../ApplicationGatewaysStartSamples.java | 22 + .../ApplicationGatewaysStopSamples.java | 22 + .../ApplicationGatewaysUpdateTagsSamples.java | 41 + ...onSecurityGroupsCreateOrUpdateSamples.java | 27 + ...pplicationSecurityGroupsDeleteSamples.java | 24 + ...curityGroupsGetByResourceGroupSamples.java | 24 + ...urityGroupsListByResourceGroupSamples.java | 24 + .../ApplicationSecurityGroupsListSamples.java | 22 + ...cationSecurityGroupsUpdateTagsSamples.java | 41 + .../AvailableDelegationsListSamples.java | 22 + .../AvailableEndpointServicesListSamples.java | 22 + ...dpointTypesListByResourceGroupSamples.java | 25 + ...ilablePrivateEndpointTypesListSamples.java | 22 + ...leResourceGroupDelegationsListSamples.java | 25 + ...viceAliasesListByResourceGroupSamples.java | 25 + .../AvailableServiceAliasesListSamples.java | 22 + .../AzureFirewallFqdnTagsListSamples.java | 23 + .../AzureFirewallsCreateOrUpdateSamples.java | 488 ++ .../AzureFirewallsDeleteSamples.java | 22 + ...ureFirewallsGetByResourceGroupSamples.java | 81 + ...reFirewallsListByResourceGroupSamples.java | 23 + ...reFirewallsListLearnedPrefixesSamples.java | 24 + .../generated/AzureFirewallsListSamples.java | 23 + ...irewallsPacketCaptureOperationSamples.java | 49 + .../AzureFirewallsPacketCaptureSamples.java | 47 + .../AzureFirewallsUpdateTagsSamples.java | 41 + .../BastionHostsCreateOrUpdateSamples.java | 97 + ...eteBastionShareableLinkByTokenSamples.java | 31 + ...ostsDeleteBastionShareableLinkSamples.java | 35 + .../generated/BastionHostsDeleteSamples.java | 36 + ...nHostsDisconnectActiveSessionsSamples.java | 29 + .../BastionHostsGetActiveSessionsSamples.java | 25 + ...onHostsGetBastionShareableLinkSamples.java | 35 + ...BastionHostsGetByResourceGroupSamples.java | 66 + ...astionHostsListByResourceGroupSamples.java | 23 + .../generated/BastionHostsListSamples.java | 23 + ...onHostsPutBastionShareableLinkSamples.java | 35 + .../BastionHostsUpdateTagsSamples.java | 41 + .../BgpServiceCommunitiesListSamples.java | 22 + ...bilityCheckDnsNameAvailabilitySamples.java | 24 + ...tionPolicyGroupsCreateOrUpdateSamples.java | 39 + ...onfigurationPolicyGroupsDeleteSamples.java | 24 + .../ConfigurationPolicyGroupsGetSamples.java | 24 + ...psListByVpnServerConfigurationSamples.java | 25 + ...nnectionMonitorsCreateOrUpdateSamples.java | 133 + .../ConnectionMonitorsDeleteSamples.java | 22 + .../ConnectionMonitorsGetSamples.java | 24 + .../ConnectionMonitorsListSamples.java | 22 + .../ConnectionMonitorsStopSamples.java | 22 + .../ConnectionMonitorsUpdateTagsSamples.java | 41 + ...tyConfigurationsCreateOrUpdateSamples.java | 55 + ...nnectivityConfigurationsDeleteSamples.java | 25 + .../ConnectivityConfigurationsGetSamples.java | 25 + ...ConnectivityConfigurationsListSamples.java | 24 + ...CustomIPPrefixesCreateOrUpdateSamples.java | 28 + .../CustomIPPrefixesDeleteSamples.java | 24 + ...omIPPrefixesGetByResourceGroupSamples.java | 24 + ...mIPPrefixesListByResourceGroupSamples.java | 22 + .../CustomIPPrefixesListSamples.java | 22 + .../CustomIPPrefixesUpdateTagsSamples.java | 41 + ...osCustomPoliciesCreateOrUpdateSamples.java | 37 + .../DdosCustomPoliciesDeleteSamples.java | 24 + ...stomPoliciesGetByResourceGroupSamples.java | 24 + .../DdosCustomPoliciesUpdateTagsSamples.java | 41 + ...sProtectionPlansCreateOrUpdateSamples.java | 27 + .../DdosProtectionPlansDeleteSamples.java | 22 + ...tectionPlansGetByResourceGroupSamples.java | 24 + ...ectionPlansListByResourceGroupSamples.java | 23 + .../DdosProtectionPlansListSamples.java | 22 + .../DdosProtectionPlansUpdateTagsSamples.java | 41 + .../DefaultSecurityRulesGetSamples.java | 24 + .../DefaultSecurityRulesListSamples.java | 22 + ...scpConfigurationCreateOrUpdateSamples.java | 51 + .../DscpConfigurationDeleteSamples.java | 22 + ...onfigurationGetByResourceGroupSamples.java | 24 + ...nfigurationListByResourceGroupSamples.java | 22 + .../DscpConfigurationListSamples.java | 22 + ...tiveConnectivityConfigurationsSamples.java | 29 + ...gerEffectiveSecurityAdminRulesSamples.java | 28 + ...itAuthorizationsCreateOrUpdateSamples.java | 28 + ...uteCircuitAuthorizationsDeleteSamples.java | 25 + ...sRouteCircuitAuthorizationsGetSamples.java | 24 + ...RouteCircuitAuthorizationsListSamples.java | 24 + ...rcuitConnectionsCreateOrUpdateSamples.java | 37 + ...sRouteCircuitConnectionsDeleteSamples.java | 25 + ...ressRouteCircuitConnectionsGetSamples.java | 25 + ...essRouteCircuitConnectionsListSamples.java | 24 + ...eCircuitPeeringsCreateOrUpdateSamples.java | 31 + ...ressRouteCircuitPeeringsDeleteSamples.java | 24 + ...ExpressRouteCircuitPeeringsGetSamples.java | 24 + ...xpressRouteCircuitPeeringsListSamples.java | 24 + ...essRouteCircuitsCreateOrUpdateSamples.java | 67 + .../ExpressRouteCircuitsDeleteSamples.java | 24 + ...outeCircuitsGetByResourceGroupSamples.java | 24 + ...ssRouteCircuitsGetPeeringStatsSamples.java | 25 + .../ExpressRouteCircuitsGetStatsSamples.java | 24 + ...pressRouteCircuitsListArpTableSamples.java | 24 + ...uteCircuitsListByResourceGroupSamples.java | 23 + ...ssRouteCircuitsListRoutesTableSamples.java | 24 + ...CircuitsListRoutesTableSummarySamples.java | 25 + .../ExpressRouteCircuitsListSamples.java | 23 + ...ExpressRouteCircuitsUpdateTagsSamples.java | 41 + ...RouteConnectionsCreateOrUpdateSamples.java | 52 + .../ExpressRouteConnectionsDeleteSamples.java | 24 + .../ExpressRouteConnectionsGetSamples.java | 25 + .../ExpressRouteConnectionsListSamples.java | 24 + ...nnectionPeeringsCreateOrUpdateSamples.java | 36 + ...eCrossConnectionPeeringsDeleteSamples.java | 26 + ...outeCrossConnectionPeeringsGetSamples.java | 26 + ...uteCrossConnectionPeeringsListSamples.java | 25 + ...CrossConnectionsCreateOrUpdateSamples.java | 30 + ...sConnectionsGetByResourceGroupSamples.java | 25 + ...teCrossConnectionsListArpTableSamples.java | 26 + ...ConnectionsListByResourceGroupSamples.java | 25 + ...rossConnectionsListRoutesTableSamples.java | 26 + ...nectionsListRoutesTableSummarySamples.java | 26 + ...pressRouteCrossConnectionsListSamples.java | 22 + ...outeCrossConnectionsUpdateTagsSamples.java | 41 + ...essRouteGatewaysCreateOrUpdateSamples.java | 34 + .../ExpressRouteGatewaysDeleteSamples.java | 24 + ...outeGatewaysGetByResourceGroupSamples.java | 25 + ...uteGatewaysListByResourceGroupSamples.java | 25 + .../ExpressRouteGatewaysListSamples.java | 22 + ...ExpressRouteGatewaysUpdateTagsSamples.java | 41 + .../ExpressRouteLinksGetSamples.java | 24 + .../ExpressRouteLinksListSamples.java | 22 + ...rtAuthorizationsCreateOrUpdateSamples.java | 27 + ...sRoutePortAuthorizationsDeleteSamples.java | 24 + ...ressRoutePortAuthorizationsGetSamples.java | 24 + ...essRoutePortAuthorizationsListSamples.java | 24 + ...xpressRoutePortsCreateOrUpdateSamples.java | 57 + .../ExpressRoutePortsDeleteSamples.java | 22 + .../ExpressRoutePortsGenerateLOASamples.java | 28 + ...ssRoutePortsGetByResourceGroupSamples.java | 24 + ...sRoutePortsListByResourceGroupSamples.java | 22 + .../ExpressRoutePortsListSamples.java | 22 + .../ExpressRoutePortsLocationsGetSamples.java | 24 + ...ExpressRoutePortsLocationsListSamples.java | 22 + .../ExpressRoutePortsUpdateTagsSamples.java | 41 + ...rPortsExpressRouteProviderPortSamples.java | 24 + ...RouteProviderPortsLocationListSamples.java | 24 + ...pressRouteServiceProvidersListSamples.java | 22 + ...FirewallPoliciesCreateOrUpdateSamples.java | 109 + .../FirewallPoliciesDeleteSamples.java | 22 + ...wallPoliciesGetByResourceGroupSamples.java | 24 + ...allPoliciesListByResourceGroupSamples.java | 23 + .../FirewallPoliciesListSamples.java | 23 + .../FirewallPoliciesUpdateTagsSamples.java | 42 + ...irewallPolicyDeploymentsDeploySamples.java | 24 + ...wallPolicyDraftsCreateOrUpdateSamples.java | 86 + .../FirewallPolicyDraftsDeleteSamples.java | 24 + .../FirewallPolicyDraftsGetSamples.java | 24 + ...IdpsSignaturesFilterValuesListSamples.java | 27 + ...rewallPolicyIdpsSignaturesListSamples.java | 35 + ...licyIdpsSignaturesOverridesGetSamples.java | 24 + ...icyIdpsSignaturesOverridesListSamples.java | 24 + ...cyIdpsSignaturesOverridesPatchSamples.java | 47 + ...licyIdpsSignaturesOverridesPutSamples.java | 47 + ...ctionGroupDraftsCreateOrUpdateSamples.java | 45 + ...uleCollectionGroupDraftsDeleteSamples.java | 25 + ...cyRuleCollectionGroupDraftsGetSamples.java | 24 + ...CollectionGroupsCreateOrUpdateSamples.java | 172 + ...licyRuleCollectionGroupsDeleteSamples.java | 25 + ...lPolicyRuleCollectionGroupsGetSamples.java | 69 + ...PolicyRuleCollectionGroupsListSamples.java | 55 + .../FlowLogsCreateOrUpdateSamples.java | 58 + .../generated/FlowLogsDeleteSamples.java | 22 + .../network/generated/FlowLogsGetSamples.java | 24 + .../generated/FlowLogsListSamples.java | 22 + .../generated/FlowLogsUpdateTagsSamples.java | 41 + .../HubRouteTablesCreateOrUpdateSamples.java | 35 + .../HubRouteTablesDeleteSamples.java | 24 + .../generated/HubRouteTablesGetSamples.java | 24 + .../generated/HubRouteTablesListSamples.java | 22 + ...tworkConnectionsCreateOrUpdateSamples.java | 57 + ...irtualNetworkConnectionsDeleteSamples.java | 24 + ...ubVirtualNetworkConnectionsGetSamples.java | 24 + ...bVirtualNetworkConnectionsListSamples.java | 24 + .../InboundNatRulesCreateOrUpdateSamples.java | 37 + .../InboundNatRulesDeleteSamples.java | 24 + .../generated/InboundNatRulesGetSamples.java | 24 + .../generated/InboundNatRulesListSamples.java | 22 + .../IpAllocationsCreateOrUpdateSamples.java | 46 + .../generated/IpAllocationsDeleteSamples.java | 22 + ...pAllocationsGetByResourceGroupSamples.java | 24 + ...AllocationsListByResourceGroupSamples.java | 22 + .../generated/IpAllocationsListSamples.java | 22 + .../IpAllocationsUpdateTagsSamples.java | 41 + .../IpGroupsCreateOrUpdateSamples.java | 45 + .../generated/IpGroupsDeleteSamples.java | 22 + .../IpGroupsGetByResourceGroupSamples.java | 24 + .../IpGroupsListByResourceGroupSamples.java | 22 + .../generated/IpGroupsListSamples.java | 22 + .../IpGroupsUpdateGroupsSamples.java | 42 + .../generated/IpamPoolsCreateSamples.java | 33 + .../generated/IpamPoolsDeleteSamples.java | 24 + .../IpamPoolsGetPoolUsageSamples.java | 24 + .../generated/IpamPoolsGetSamples.java | 24 + ...amPoolsListAssociatedResourcesSamples.java | 24 + .../generated/IpamPoolsListSamples.java | 24 + .../generated/IpamPoolsUpdateSamples.java | 24 + ...kendAddressPoolsCreateOrUpdateSamples.java | 39 + ...ancerBackendAddressPoolsDeleteSamples.java | 24 + ...BalancerBackendAddressPoolsGetSamples.java | 39 + ...alancerBackendAddressPoolsListSamples.java | 39 + ...cerFrontendIPConfigurationsGetSamples.java | 25 + ...erFrontendIPConfigurationsListSamples.java | 25 + ...dBalancerLoadBalancingRulesGetSamples.java | 24 + ...lancerLoadBalancingRulesHealthSamples.java | 24 + ...BalancerLoadBalancingRulesListSamples.java | 24 + ...dBalancerNetworkInterfacesListSamples.java | 39 + .../LoadBalancerOutboundRulesGetSamples.java | 24 + .../LoadBalancerOutboundRulesListSamples.java | 22 + .../LoadBalancerProbesGetSamples.java | 24 + .../LoadBalancerProbesListSamples.java | 22 + .../LoadBalancersCreateOrUpdateSamples.java | 530 ++ .../generated/LoadBalancersDeleteSamples.java | 22 + ...oadBalancersGetByResourceGroupSamples.java | 39 + ...adBalancersListByResourceGroupSamples.java | 22 + ...ListInboundNatRulePortMappingsSamples.java | 28 + .../generated/LoadBalancersListSamples.java | 22 + .../LoadBalancersMigrateToIpBasedSamples.java | 29 + ...BalancersSwapPublicIpAddressesSamples.java | 38 + .../LoadBalancersUpdateTagsSamples.java | 41 + ...lNetworkGatewaysCreateOrUpdateSamples.java | 33 + .../LocalNetworkGatewaysDeleteSamples.java | 22 + ...workGatewaysGetByResourceGroupSamples.java | 24 + ...orkGatewaysListByResourceGroupSamples.java | 22 + ...LocalNetworkGatewaysUpdateTagsSamples.java | 41 + ...nagerConnectionsCreateOrUpdateSamples.java | 30 + ...etworkManagerConnectionsDeleteSamples.java | 25 + ...upNetworkManagerConnectionsGetSamples.java | 25 + ...pNetworkManagerConnectionsListSamples.java | 25 + .../NatGatewaysCreateOrUpdateSamples.java | 78 + .../generated/NatGatewaysDeleteSamples.java | 22 + .../NatGatewaysGetByResourceGroupSamples.java | 52 + ...NatGatewaysListByResourceGroupSamples.java | 22 + .../generated/NatGatewaysListSamples.java | 22 + .../NatGatewaysUpdateTagsSamples.java | 56 + .../NatRulesCreateOrUpdateSamples.java | 37 + .../generated/NatRulesDeleteSamples.java | 22 + .../network/generated/NatRulesGetSamples.java | 24 + .../NatRulesListByVpnGatewaySamples.java | 22 + .../NetworkGroupsCreateOrUpdateSamples.java | 30 + .../generated/NetworkGroupsDeleteSamples.java | 24 + .../generated/NetworkGroupsGetSamples.java | 24 + .../generated/NetworkGroupsListSamples.java | 24 + ...rkInterfaceIPConfigurationsGetSamples.java | 24 + ...kInterfaceIPConfigurationsListSamples.java | 24 + ...workInterfaceLoadBalancersListSamples.java | 24 + ...apConfigurationsCreateOrUpdateSamples.java | 31 + ...terfaceTapConfigurationsDeleteSamples.java | 24 + ...kInterfaceTapConfigurationsGetSamples.java | 24 + ...InterfaceTapConfigurationsListSamples.java | 24 + ...etworkInterfacesCreateOrUpdateSamples.java | 63 + .../NetworkInterfacesDeleteSamples.java | 22 + ...rkInterfacesGetByResourceGroupSamples.java | 24 + ...etCloudServiceNetworkInterfaceSamples.java | 25 + ...terfacesGetEffectiveRouteTableSamples.java | 25 + ...kInterfacesListByResourceGroupSamples.java | 22 + ...tCloudServiceNetworkInterfacesSamples.java | 24 + ...eRoleInstanceNetworkInterfacesSamples.java | 26 + ...EffectiveNetworkSecurityGroupsSamples.java | 25 + .../NetworkInterfacesListSamples.java | 22 + .../NetworkInterfacesUpdateTagsSamples.java | 41 + .../NetworkManagerCommitsPostSamples.java | 32 + ...rDeploymentStatusOperationListSamples.java | 33 + ...ngConfigurationsCreateOrUpdateSamples.java | 31 + ...gerRoutingConfigurationsDeleteSamples.java | 25 + ...anagerRoutingConfigurationsGetSamples.java | 24 + ...nagerRoutingConfigurationsListSamples.java | 25 + .../NetworkManagersCreateOrUpdateSamples.java | 35 + .../NetworkManagersDeleteSamples.java | 24 + ...workManagersGetByResourceGroupSamples.java | 24 + ...tiveConnectivityConfigurationsSamples.java | 30 + ...rsListActiveSecurityAdminRulesSamples.java | 30 + ...orkManagersListByResourceGroupSamples.java | 24 + .../generated/NetworkManagersListSamples.java | 22 + .../NetworkManagersPatchSamples.java | 42 + .../NetworkProfilesCreateOrUpdateSamples.java | 36 + .../NetworkProfilesDeleteSamples.java | 22 + ...workProfilesGetByResourceGroupSamples.java | 39 + ...orkProfilesListByResourceGroupSamples.java | 22 + .../generated/NetworkProfilesListSamples.java | 22 + .../NetworkProfilesUpdateTagsSamples.java | 41 + ...rkSecurityGroupsCreateOrUpdateSamples.java | 57 + .../NetworkSecurityGroupsDeleteSamples.java | 22 + ...curityGroupsGetByResourceGroupSamples.java | 24 + ...urityGroupsListByResourceGroupSamples.java | 23 + .../NetworkSecurityGroupsListSamples.java | 22 + ...etworkSecurityGroupsUpdateTagsSamples.java | 41 + ...meterAccessRulesCreateOrUpdateSamples.java | 31 + ...rityPerimeterAccessRulesDeleteSamples.java | 24 + ...ecurityPerimeterAccessRulesGetSamples.java | 24 + ...curityPerimeterAccessRulesListSamples.java | 24 + ...yPerimeterAccessRulesReconcileSamples.java | 32 + ...terAssociableResourceTypesListSamples.java | 25 + ...eterAssociationsCreateOrUpdateSamples.java | 33 + ...ityPerimeterAssociationsDeleteSamples.java | 24 + ...curityPerimeterAssociationsGetSamples.java | 24 + ...urityPerimeterAssociationsListSamples.java | 24 + ...PerimeterAssociationsReconcileSamples.java | 32 + ...yPerimeterLinkReferencesDeleteSamples.java | 24 + ...rityPerimeterLinkReferencesGetSamples.java | 24 + ...ityPerimeterLinkReferencesListSamples.java | 24 + ...tyPerimeterLinksCreateOrUpdateSamples.java | 32 + ...rkSecurityPerimeterLinksDeleteSamples.java | 24 + ...tworkSecurityPerimeterLinksGetSamples.java | 24 + ...workSecurityPerimeterLinksListSamples.java | 24 + ...ngConfigurationsCreateOrUpdateSamples.java | 30 + ...terLoggingConfigurationsDeleteSamples.java | 24 + ...imeterLoggingConfigurationsGetSamples.java | 24 + ...meterLoggingConfigurationsListSamples.java | 24 + ...yPerimeterOperationStatusesGetSamples.java | 24 + ...erimeterProfilesCreateOrUpdateSamples.java | 27 + ...ecurityPerimeterProfilesDeleteSamples.java | 24 + ...rkSecurityPerimeterProfilesGetSamples.java | 24 + ...kSecurityPerimeterProfilesListSamples.java | 24 + ...curityPerimeterServiceTagsListSamples.java | 24 + ...curityPerimetersCreateOrUpdateSamples.java | 27 + ...etworkSecurityPerimetersDeleteSamples.java | 24 + ...tyPerimetersGetByResourceGroupSamples.java | 24 + ...yPerimetersListByResourceGroupSamples.java | 24 + .../NetworkSecurityPerimetersListSamples.java | 22 + ...NetworkSecurityPerimetersPatchSamples.java | 41 + ...ianceConnectionsCreateOrUpdateSamples.java | 45 + ...tualApplianceConnectionsDeleteSamples.java | 25 + ...VirtualApplianceConnectionsGetSamples.java | 24 + ...irtualApplianceConnectionsListSamples.java | 24 + ...irtualAppliancesCreateOrUpdateSamples.java | 359 ++ ...NetworkVirtualAppliancesDeleteSamples.java | 22 + ...ppliancesGetBootDiagnosticLogsSamples.java | 32 + ...alAppliancesGetByResourceGroupSamples.java | 24 + ...lAppliancesListByResourceGroupSamples.java | 25 + .../NetworkVirtualAppliancesListSamples.java | 23 + ...etworkVirtualAppliancesReimageSamples.java | 25 + ...etworkVirtualAppliancesRestartSamples.java | 40 + ...orkVirtualAppliancesUpdateTagsSamples.java | 42 + ...tworkWatchersCheckConnectivitySamples.java | 34 + .../NetworkWatchersCreateOrUpdateSamples.java | 27 + .../NetworkWatchersDeleteSamples.java | 22 + ...hersGetAzureReachabilityReportSamples.java | 37 + ...workWatchersGetByResourceGroupSamples.java | 24 + ...etworkWatchersGetFlowLogStatusSamples.java | 28 + ...NetworkConfigurationDiagnosticSamples.java | 37 + .../NetworkWatchersGetNextHopSamples.java | 32 + .../NetworkWatchersGetTopologySamples.java | 27 + ...tchersGetTroubleshootingResultSamples.java | 28 + ...workWatchersGetTroubleshootingSamples.java | 30 + ...workWatchersGetVMSecurityRulesSamples.java | 28 + ...WatchersListAvailableProvidersSamples.java | 32 + ...orkWatchersListByResourceGroupSamples.java | 22 + .../generated/NetworkWatchersListSamples.java | 22 + ...atchersSetFlowLogConfigurationSamples.java | 51 + .../NetworkWatchersUpdateTagsSamples.java | 41 + .../NetworkWatchersVerifyIpFlowSamples.java | 35 + .../generated/OperationsListSamples.java | 23 + .../generated/P2SVpnGatewaysResetSamples.java | 22 + ...atewaysOperationCreateOrUpdateSamples.java | 71 + .../P2sVpnGatewaysOperationDeleteSamples.java | 24 + ...ionDisconnectP2sVpnConnectionsSamples.java | 30 + ...aysOperationGenerateVpnProfileSamples.java | 29 + ...aysOperationGetByResourceGroupSamples.java | 24 + ...P2sVpnConnectionHealthDetailedSamples.java | 32 + ...ationGetP2sVpnConnectionHealthSamples.java | 24 + ...ysOperationListByResourceGroupSamples.java | 24 + .../P2sVpnGatewaysOperationListSamples.java | 22 + ...VpnGatewaysOperationUpdateTagsSamples.java | 41 + .../PacketCapturesCreateSamples.java | 42 + .../PacketCapturesDeleteSamples.java | 22 + .../generated/PacketCapturesGetSamples.java | 24 + .../PacketCapturesGetStatusSamples.java | 22 + .../generated/PacketCapturesListSamples.java | 22 + .../generated/PacketCapturesStopSamples.java | 22 + ...ressRouteCircuitConnectionsGetSamples.java | 25 + ...essRouteCircuitConnectionsListSamples.java | 24 + ...ateDnsZoneGroupsCreateOrUpdateSamples.java | 31 + .../PrivateDnsZoneGroupsDeleteSamples.java | 24 + .../PrivateDnsZoneGroupsGetSamples.java | 24 + .../PrivateDnsZoneGroupsListSamples.java | 22 + ...PrivateEndpointsCreateOrUpdateSamples.java | 97 + .../PrivateEndpointsDeleteSamples.java | 22 + ...ateEndpointsGetByResourceGroupSamples.java | 54 + ...teEndpointsListByResourceGroupSamples.java | 22 + .../PrivateEndpointsListSamples.java | 22 + ...rviceVisibilityByResourceGroupSamples.java | 29 + ...ckPrivateLinkServiceVisibilitySamples.java | 29 + ...vateLinkServicesCreateOrUpdateSamples.java | 47 + ...eletePrivateEndpointConnectionSamples.java | 25 + .../PrivateLinkServicesDeleteSamples.java | 22 + ...LinkServicesGetByResourceGroupSamples.java | 24 + ...esGetPrivateEndpointConnectionSamples.java | 25 + ...ateLinkServicesByResourceGroupSamples.java | 25 + ...utoApprovedPrivateLinkServicesSamples.java | 25 + ...inkServicesListByResourceGroupSamples.java | 22 + ...ListPrivateEndpointConnectionsSamples.java | 24 + .../PrivateLinkServicesListSamples.java | 22 + ...pdatePrivateEndpointConnectionSamples.java | 33 + ...ublicIpAddressesCreateOrUpdateSamples.java | 107 + ...pAddressesDdosProtectionStatusSamples.java | 25 + .../PublicIpAddressesDeleteSamples.java | 22 + ...teCloudServiceReservedPublicIpSamples.java | 29 + ...cIpAddressesGetByResourceGroupSamples.java | 38 + ...GetCloudServicePublicIPAddressSamples.java | 25 + ...IpAddressesListByResourceGroupSamples.java | 22 + ...tCloudServicePublicIPAddressesSamples.java | 24 + ...eRoleInstancePublicIPAddressesSamples.java | 25 + .../PublicIpAddressesListSamples.java | 22 + ...rveCloudServicePublicIpAddressSamples.java | 29 + .../PublicIpAddressesUpdateTagsSamples.java | 41 + ...PublicIpPrefixesCreateOrUpdateSamples.java | 73 + .../PublicIpPrefixesDeleteSamples.java | 22 + ...icIpPrefixesGetByResourceGroupSamples.java | 38 + ...cIpPrefixesListByResourceGroupSamples.java | 22 + .../PublicIpPrefixesListSamples.java | 22 + .../PublicIpPrefixesUpdateTagsSamples.java | 41 + ...chabilityAnalysisIntentsCreateSamples.java | 42 + ...chabilityAnalysisIntentsDeleteSamples.java | 25 + ...ReachabilityAnalysisIntentsGetSamples.java | 25 + ...eachabilityAnalysisIntentsListSamples.java | 25 + ...ReachabilityAnalysisRunsCreateSamples.java | 32 + ...ReachabilityAnalysisRunsDeleteSamples.java | 24 + .../ReachabilityAnalysisRunsGetSamples.java | 25 + .../ReachabilityAnalysisRunsListSamples.java | 25 + .../ResourceNavigationLinksListSamples.java | 24 + ...RouteFilterRulesCreateOrUpdateSamples.java | 33 + .../RouteFilterRulesDeleteSamples.java | 24 + .../generated/RouteFilterRulesGetSamples.java | 24 + ...teFilterRulesListByRouteFilterSamples.java | 24 + .../RouteFiltersCreateOrUpdateSamples.java | 51 + .../generated/RouteFiltersDeleteSamples.java | 22 + ...RouteFiltersGetByResourceGroupSamples.java | 24 + ...outeFiltersListByResourceGroupSamples.java | 22 + .../generated/RouteFiltersListSamples.java | 22 + .../RouteFiltersUpdateTagsSamples.java | 41 + .../RouteMapsCreateOrUpdateSamples.java | 48 + .../generated/RouteMapsDeleteSamples.java | 24 + .../generated/RouteMapsGetSamples.java | 24 + .../generated/RouteMapsListSamples.java | 22 + .../RouteTablesCreateOrUpdateSamples.java | 50 + .../generated/RouteTablesDeleteSamples.java | 22 + .../RouteTablesGetByResourceGroupSamples.java | 24 + ...RouteTablesListByResourceGroupSamples.java | 22 + .../generated/RouteTablesListSamples.java | 22 + .../RouteTablesUpdateTagsSamples.java | 41 + .../RoutesCreateOrUpdateSamples.java | 28 + .../generated/RoutesDeleteSamples.java | 22 + .../network/generated/RoutesGetSamples.java | 24 + .../network/generated/RoutesListSamples.java | 22 + .../RoutingIntentCreateOrUpdateSamples.java | 37 + .../generated/RoutingIntentDeleteSamples.java | 24 + .../generated/RoutingIntentGetSamples.java | 24 + .../generated/RoutingIntentListSamples.java | 22 + ...gRuleCollectionsCreateOrUpdateSamples.java | 32 + .../RoutingRuleCollectionsDeleteSamples.java | 25 + .../RoutingRuleCollectionsGetSamples.java | 25 + .../RoutingRuleCollectionsListSamples.java | 24 + .../RoutingRulesCreateOrUpdateSamples.java | 38 + .../generated/RoutingRulesDeleteSamples.java | 25 + .../generated/RoutingRulesGetSamples.java | 25 + .../generated/RoutingRulesListSamples.java | 25 + ...ScopeConnectionsCreateOrUpdateSamples.java | 31 + .../ScopeConnectionsDeleteSamples.java | 24 + .../generated/ScopeConnectionsGetSamples.java | 24 + .../ScopeConnectionsListSamples.java | 24 + ...inConfigurationsCreateOrUpdateSamples.java | 53 + ...urityAdminConfigurationsDeleteSamples.java | 25 + ...SecurityAdminConfigurationsGetSamples.java | 24 + ...ecurityAdminConfigurationsListSamples.java | 25 + ...PartnerProvidersCreateOrUpdateSamples.java | 47 + ...SecurityPartnerProvidersDeleteSamples.java | 24 + ...nerProvidersGetByResourceGroupSamples.java | 24 + ...erProvidersListByResourceGroupSamples.java | 25 + .../SecurityPartnerProvidersListSamples.java | 23 + ...rityPartnerProvidersUpdateTagsSamples.java | 41 + .../SecurityRulesCreateOrUpdateSamples.java | 38 + .../generated/SecurityRulesDeleteSamples.java | 23 + .../generated/SecurityRulesGetSamples.java | 25 + .../generated/SecurityRulesListSamples.java | 23 + ...erConfigurationsCreateOrUpdateSamples.java | 29 + ...curityUserConfigurationsDeleteSamples.java | 25 + .../SecurityUserConfigurationsGetSamples.java | 24 + ...SecurityUserConfigurationsListSamples.java | 25 + ...rRuleCollectionsCreateOrUpdateSamples.java | 33 + ...urityUserRuleCollectionsDeleteSamples.java | 25 + ...SecurityUserRuleCollectionsGetSamples.java | 25 + ...ecurityUserRuleCollectionsListSamples.java | 25 + ...ecurityUserRulesCreateOrUpdateSamples.java | 42 + .../SecurityUserRulesDeleteSamples.java | 25 + .../SecurityUserRulesGetSamples.java | 25 + .../SecurityUserRulesListSamples.java | 25 + .../ServiceAssociationLinksListSamples.java | 24 + ...EndpointPoliciesCreateOrUpdateSamples.java | 52 + .../ServiceEndpointPoliciesDeleteSamples.java | 24 + ...ointPoliciesGetByResourceGroupSamples.java | 24 + ...intPoliciesListByResourceGroupSamples.java | 25 + .../ServiceEndpointPoliciesListSamples.java | 22 + ...viceEndpointPoliciesUpdateTagsSamples.java | 41 + ...olicyDefinitionsCreateOrUpdateSamples.java | 33 + ...ndpointPolicyDefinitionsDeleteSamples.java | 25 + ...ceEndpointPolicyDefinitionsGetSamples.java | 25 + ...DefinitionsListByResourceGroupSamples.java | 25 + .../ServiceGatewaysCreateOrUpdateSamples.java | 38 + .../ServiceGatewaysDeleteSamples.java | 22 + ...iceGatewaysGetAddressLocationsSamples.java | 22 + ...viceGatewaysGetByResourceGroupSamples.java | 24 + .../ServiceGatewaysGetServicesSamples.java | 22 + ...iceGatewaysListByResourceGroupSamples.java | 22 + .../generated/ServiceGatewaysListSamples.java | 22 + ...GatewaysUpdateAddressLocationsSamples.java | 72 + .../ServiceGatewaysUpdateServicesSamples.java | 48 + .../ServiceGatewaysUpdateTagsSamples.java | 41 + .../ServiceTagInformationListSamples.java | 53 + .../generated/ServiceTagsListSamples.java | 22 + .../generated/StaticCidrsCreateSamples.java | 25 + .../generated/StaticCidrsDeleteSamples.java | 24 + .../generated/StaticCidrsGetSamples.java | 25 + .../generated/StaticCidrsListSamples.java | 25 + .../StaticMembersCreateOrUpdateSamples.java | 29 + .../generated/StaticMembersDeleteSamples.java | 25 + .../generated/StaticMembersGetSamples.java | 25 + .../generated/StaticMembersListSamples.java | 24 + .../SubnetsCreateOrUpdateSamples.java | 115 + .../generated/SubnetsDeleteSamples.java | 24 + .../network/generated/SubnetsGetSamples.java | 52 + .../network/generated/SubnetsListSamples.java | 22 + .../SubnetsPrepareNetworkPoliciesSamples.java | 28 + ...ubnetsUnprepareNetworkPoliciesSamples.java | 28 + ...nagerConnectionsCreateOrUpdateSamples.java | 29 + ...etworkManagerConnectionsDeleteSamples.java | 25 + ...onNetworkManagerConnectionsGetSamples.java | 25 + ...nNetworkManagerConnectionsListSamples.java | 25 + .../network/generated/UsagesListSamples.java | 34 + .../VerifierWorkspacesCreateSamples.java | 30 + .../VerifierWorkspacesDeleteSamples.java | 24 + .../VerifierWorkspacesGetSamples.java | 24 + .../VerifierWorkspacesListSamples.java | 24 + .../VerifierWorkspacesUpdateSamples.java | 25 + .../generated/VipSwapCreateSamples.java | 31 + .../network/generated/VipSwapGetSamples.java | 26 + .../network/generated/VipSwapListSamples.java | 22 + ...alApplianceSitesCreateOrUpdateSamples.java | 32 + .../VirtualApplianceSitesDeleteSamples.java | 24 + .../VirtualApplianceSitesGetSamples.java | 24 + .../VirtualApplianceSitesListSamples.java | 23 + .../VirtualApplianceSkusGetSamples.java | 24 + .../VirtualApplianceSkusListSamples.java | 22 + ...onnectionsListAdvertisedRoutesSamples.java | 24 + ...gpConnectionsListLearnedRoutesSamples.java | 24 + .../VirtualHubBgpConnectionsListSamples.java | 22 + ...bIpConfigurationCreateOrUpdateSamples.java | 30 + ...irtualHubIpConfigurationDeleteSamples.java | 24 + .../VirtualHubIpConfigurationGetSamples.java | 24 + .../VirtualHubIpConfigurationListSamples.java | 22 + ...HubRouteTableV2sCreateOrUpdateSamples.java | 40 + .../VirtualHubRouteTableV2sDeleteSamples.java | 24 + .../VirtualHubRouteTableV2sGetSamples.java | 24 + .../VirtualHubRouteTableV2sListSamples.java | 24 + .../VirtualHubsCreateOrUpdateSamples.java | 46 + .../generated/VirtualHubsDeleteSamples.java | 22 + .../VirtualHubsGetByResourceGroupSamples.java | 24 + ...bsGetEffectiveVirtualHubRoutesSamples.java | 58 + .../VirtualHubsGetInboundRoutesSamples.java | 29 + .../VirtualHubsGetOutboundRoutesSamples.java | 29 + ...VirtualHubsListByResourceGroupSamples.java | 22 + .../generated/VirtualHubsListSamples.java | 22 + .../VirtualHubsUpdateTagsSamples.java | 42 + ...etworkAppliancesCreateOrUpdateSamples.java | 31 + ...VirtualNetworkAppliancesDeleteSamples.java | 24 + ...rkAppliancesGetByResourceGroupSamples.java | 24 + ...kAppliancesListByResourceGroupSamples.java | 25 + .../VirtualNetworkAppliancesListSamples.java | 22 + ...ualNetworkAppliancesUpdateTagsSamples.java | 41 + ...tewayConnectionsCreateOrUpdateSamples.java | 120 + ...etworkGatewayConnectionsDeleteSamples.java | 24 + ...yConnectionsGetByResourceGroupSamples.java | 24 + ...orkGatewayConnectionsGetIkeSasSamples.java | 25 + ...GatewayConnectionsGetSharedKeySamples.java | 25 + ...ConnectionsListByResourceGroupSamples.java | 25 + ...ewayConnectionsResetConnectionSamples.java | 24 + ...tewayConnectionsResetSharedKeySamples.java | 28 + ...GatewayConnectionsSetSharedKeySamples.java | 28 + ...yConnectionsStartPacketCaptureSamples.java | 44 + ...ayConnectionsStopPacketCaptureSamples.java | 29 + ...rkGatewayConnectionsUpdateTagsSamples.java | 42 + ...kGatewayNatRulesCreateOrUpdateSamples.java | 39 + ...alNetworkGatewayNatRulesDeleteSamples.java | 24 + ...rtualNetworkGatewayNatRulesGetSamples.java | 24 + ...lesListByVirtualNetworkGatewaySamples.java | 24 + ...lNetworkGatewaysCreateOrUpdateSamples.java | 147 + .../VirtualNetworkGatewaysDeleteSamples.java | 22 + ...alNetworkGatewayVpnConnectionsSamples.java | 30 + ...workGatewaysGenerateVpnProfileSamples.java | 27 + ...tewaysGeneratevpnclientpackageSamples.java | 26 + ...orkGatewaysGetAdvertisedRoutesSamples.java | 25 + ...etworkGatewaysGetBgpPeerStatusSamples.java | 24 + ...workGatewaysGetByResourceGroupSamples.java | 38 + ...ewaysGetFailoverAllTestDetailsSamples.java | 25 + ...ysGetFailoverSingleTestDetailsSamples.java | 26 + ...etworkGatewaysGetLearnedRoutesSamples.java | 24 + ...tewaysGetResiliencyInformationSamples.java | 25 + ...rkGatewaysGetRoutesInformationSamples.java | 25 + ...atewaysGetVpnProfilePackageUrlSamples.java | 25 + ...ysGetVpnclientConnectionHealthSamples.java | 25 + ...aysGetVpnclientIpsecParametersSamples.java | 25 + ...rkGatewaysInvokeAbortMigrationSamples.java | 24 + ...kGatewaysInvokeCommitMigrationSamples.java | 24 + ...GatewaysInvokeExecuteMigrationSamples.java | 24 + ...GatewaysInvokePrepareMigrationSamples.java | 31 + ...orkGatewaysListByResourceGroupSamples.java | 25 + ...NetworkGatewaysListConnectionsSamples.java | 24 + ...tworkGatewaysListRadiusSecretsSamples.java | 25 + .../VirtualNetworkGatewaysResetSamples.java | 24 + ...atewaysResetVpnClientSharedKeySamples.java | 24 + ...aysSetVpnclientIpsecParametersSamples.java | 42 + ...essRouteSiteFailoverSimulationSamples.java | 25 + ...workGatewaysStartPacketCaptureSamples.java | 44 + ...essRouteSiteFailoverSimulationSamples.java | 39 + ...tworkGatewaysStopPacketCaptureSamples.java | 29 + ...orkGatewaysSupportedVpnDevicesSamples.java | 25 + ...rtualNetworkGatewaysUpdateTagsSamples.java | 41 + ...ysVpnDeviceConfigurationScriptSamples.java | 30 + ...lNetworkPeeringsCreateOrUpdateSamples.java | 171 + .../VirtualNetworkPeeringsDeleteSamples.java | 24 + .../VirtualNetworkPeeringsGetSamples.java | 67 + .../VirtualNetworkPeeringsListSamples.java | 35 + ...rtualNetworkTapsCreateOrUpdateSamples.java | 30 + .../VirtualNetworkTapsDeleteSamples.java | 22 + ...lNetworkTapsGetByResourceGroupSamples.java | 24 + ...NetworkTapsListByResourceGroupSamples.java | 22 + .../VirtualNetworkTapsListSamples.java | 22 + .../VirtualNetworkTapsUpdateTagsSamples.java | 41 + ...orksCheckIpAddressAvailabilitySamples.java | 24 + .../VirtualNetworksCreateOrUpdateSamples.java | 209 + .../VirtualNetworksDeleteSamples.java | 22 + ...tualNetworksGetByResourceGroupSamples.java | 53 + ...ualNetworksListByResourceGroupSamples.java | 22 + ...tworksListDdosProtectionStatusSamples.java | 25 + .../generated/VirtualNetworksListSamples.java | 22 + .../VirtualNetworksListUsageSamples.java | 22 + .../VirtualNetworksUpdateTagsSamples.java | 41 + ...alRouterPeeringsCreateOrUpdateSamples.java | 28 + .../VirtualRouterPeeringsDeleteSamples.java | 24 + .../VirtualRouterPeeringsGetSamples.java | 24 + .../VirtualRouterPeeringsListSamples.java | 25 + .../VirtualRoutersCreateOrUpdateSamples.java | 45 + .../VirtualRoutersDeleteSamples.java | 22 + ...rtualRoutersGetByResourceGroupSamples.java | 24 + ...tualRoutersListByResourceGroupSamples.java | 23 + .../generated/VirtualRoutersListSamples.java | 23 + .../VirtualWansCreateOrUpdateSamples.java | 45 + .../generated/VirtualWansDeleteSamples.java | 22 + ...nserverconfigurationvpnprofileSamples.java | 32 + .../VirtualWansGetByResourceGroupSamples.java | 24 + ...VirtualWansListByResourceGroupSamples.java | 22 + .../generated/VirtualWansListSamples.java | 22 + ...WansSupportedSecurityProvidersSamples.java | 24 + .../VirtualWansUpdateTagsSamples.java | 42 + .../VpnConnectionsCreateOrUpdateSamples.java | 58 + .../VpnConnectionsDeleteSamples.java | 24 + .../generated/VpnConnectionsGetSamples.java | 24 + ...VpnConnectionsListByVpnGatewaySamples.java | 24 + ...nConnectionsStartPacketCaptureSamples.java | 50 + ...pnConnectionsStopPacketCaptureSamples.java | 32 + .../VpnGatewaysCreateOrUpdateSamples.java | 81 + .../generated/VpnGatewaysDeleteSamples.java | 22 + .../VpnGatewaysGetByResourceGroupSamples.java | 24 + ...VpnGatewaysListByResourceGroupSamples.java | 22 + .../generated/VpnGatewaysListSamples.java | 22 + .../generated/VpnGatewaysResetSamples.java | 22 + .../VpnGatewaysStartPacketCaptureSamples.java | 44 + .../VpnGatewaysStopPacketCaptureSamples.java | 28 + .../VpnGatewaysUpdateTagsSamples.java | 41 + ...inkConnectionsGetAllSharedKeysSamples.java | 25 + ...ConnectionsGetDefaultSharedKeySamples.java | 26 + .../VpnLinkConnectionsGetIkeSasSamples.java | 24 + ...ConnectionsListByVpnConnectionSamples.java | 24 + ...onnectionsListDefaultSharedKeySamples.java | 26 + ...LinkConnectionsResetConnectionSamples.java | 24 + ...tionsSetOrInitDefaultSharedKeySamples.java | 31 + ...nsAssociatedWithVirtualWanListSamples.java | 24 + ...erConfigurationsCreateOrUpdateSamples.java | 102 + .../VpnServerConfigurationsDeleteSamples.java | 24 + ...nfigurationsGetByResourceGroupSamples.java | 24 + ...figurationsListByResourceGroupSamples.java | 25 + ...onfigurationsListRadiusSecretsSamples.java | 25 + .../VpnServerConfigurationsListSamples.java | 22 + ...ServerConfigurationsUpdateTagsSamples.java | 42 + .../VpnSiteLinkConnectionsGetSamples.java | 24 + .../generated/VpnSiteLinksGetSamples.java | 24 + .../VpnSiteLinksListByVpnSiteSamples.java | 22 + .../VpnSitesConfigurationDownloadSamples.java | 31 + .../VpnSitesCreateOrUpdateSamples.java | 62 + .../generated/VpnSitesDeleteSamples.java | 22 + .../VpnSitesGetByResourceGroupSamples.java | 24 + .../VpnSitesListByResourceGroupSamples.java | 22 + .../generated/VpnSitesListSamples.java | 22 + .../generated/VpnSitesUpdateTagsSamples.java | 42 + ...FirewallPoliciesCreateOrUpdateSamples.java | 244 + ...licationFirewallPoliciesDeleteSamples.java | 24 + ...wallPoliciesGetByResourceGroupSamples.java | 24 + ...allPoliciesListByResourceGroupSamples.java | 24 + ...pplicationFirewallPoliciesListSamples.java | 22 + .../generated/WebCategoriesGetSamples.java | 22 + .../generated/WebCategoriesListSamples.java | 23 + .../tsp-location.yaml | 4 + 2388 files changed, 101939 insertions(+), 84160 deletions(-) create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/ActiveBaseSecurityAdminRule.java => fluent/models/ActiveBaseSecurityAdminRuleInner.java} (73%) create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/BgpPeerStatus.java => fluent/models/BgpPeerStatusInner.java} (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/EffectiveBaseSecurityAdminRule.java => fluent/models/EffectiveBaseSecurityAdminRuleInner.java} (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/EffectiveConnectivityConfiguration.java => fluent/models/EffectiveConnectivityConfigurationInner.java} (55%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/EffectiveRouteMapRoute.java => fluent/models/EffectiveRouteMapRouteInner.java} (53%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/GatewayRoute.java => fluent/models/GatewayRouteInner.java} (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/NetworkManagerDeploymentStatus.java => fluent/models/NetworkManagerDeploymentStatusInner.java} (54%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/VirtualHubEffectiveRoute.java => fluent/models/VirtualHubEffectiveRouteInner.java} (54%) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/VpnClientConnectionHealthDetail.java => fluent/models/VpnClientConnectionHealthDetailInner.java} (71%) create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/ActiveConnectivityConfigurationsListResultInner.java => implementation/models/ActiveConnectivityConfigurationsListResult.java} (59%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/ActiveSecurityAdminRulesListResultInner.java => implementation/models/ActiveSecurityAdminRulesListResult.java} (57%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/AdminRuleCollectionListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/AdminRuleListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ApplicationGatewayAvailableSslPredefinedPolicies.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ApplicationGatewayListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ApplicationGatewayPrivateEndpointConnectionListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ApplicationGatewayPrivateLinkResourceListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ApplicationGatewayWafDynamicManifestResultList.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ApplicationSecurityGroupListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/AuthorizationListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/AutoApprovedPrivateLinkServicesResult.java (75%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/AvailableDelegationsResult.java (74%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/AvailablePrivateEndpointTypesResult.java (75%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/AvailableServiceAliasesResult.java (74%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/AzureFirewallFqdnTagListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/AzureFirewallListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/AzureWebCategoryListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/BastionActiveSessionListResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/BastionHostListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/BastionSessionDeleteResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/BastionShareableLinkListResult.java (72%) create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/BgpServiceCommunityListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ConnectionMonitorListResult.java (80%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ConnectionSharedKeyResultList.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ConnectivityConfigurationListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/CustomIpPrefixListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/DdosProtectionPlanListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/DscpConfigurationListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/EffectiveRouteMapRouteListInner.java => implementation/models/EffectiveRouteMapRouteList.java} (51%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/EndpointServicesListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ExpressRouteCircuitConnectionListResult.java (67%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ExpressRouteCircuitListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ExpressRouteCircuitPeeringListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/ExpressRouteConnectionListInner.java => implementation/models/ExpressRouteConnectionList.java} (57%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ExpressRouteCrossConnectionListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ExpressRouteCrossConnectionPeeringList.java (75%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/ExpressRouteGatewayListInner.java => implementation/models/ExpressRouteGatewayList.java} (58%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ExpressRouteLinkListResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ExpressRoutePortAuthorizationListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ExpressRoutePortListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ExpressRoutePortsLocationListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ExpressRouteServiceProviderListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/FirewallPolicyListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/FirewallPolicyRuleCollectionGroupListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/FlowLogListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/GatewayRouteListResultInner.java => implementation/models/GatewayRouteListResult.java} (51%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/GetServiceGatewayAddressLocationsResult.java (75%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/GetServiceGatewayServicesResult.java (74%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/InboundNatRuleListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/IpAllocationListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/IpGroupListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/IpamPoolList.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListHubRouteTablesResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListHubVirtualNetworkConnectionsResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListP2SVpnGatewaysResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListRouteMapsResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListRoutingIntentResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVirtualHubBgpConnectionResults.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVirtualHubIpConfigurationResults.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/ListVirtualHubRouteTableV2SResult.java => implementation/models/ListVirtualHubRouteTableV2sResult.java} (54%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVirtualHubsResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVirtualNetworkGatewayNatRulesResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/ListVirtualWansResult.java => implementation/models/ListVirtualWANsResult.java} (50%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVpnConnectionsResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVpnGatewayNatRulesResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVpnGatewaysResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVpnServerConfigurationPolicyGroupsResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVpnServerConfigurationsResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVpnSiteLinkConnectionsResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVpnSiteLinksResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ListVpnSitesResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/LoadBalancerBackendAddressPoolListResult.java (74%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/LoadBalancerFrontendIpConfigurationListResult.java => implementation/models/LoadBalancerFrontendIPConfigurationListResult.java} (55%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/LoadBalancerListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/LoadBalancerLoadBalancingRuleListResult.java (74%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/LoadBalancerOutboundRuleListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/LoadBalancerProbeListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/LocalNetworkGatewayListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NatGatewayListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkGroupListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/NetworkInterfaceIpConfigurationListResult.java => implementation/models/NetworkInterfaceIPConfigurationListResult.java} (55%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkInterfaceListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkInterfaceLoadBalancerListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkInterfaceTapConfigurationListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkManagerConnectionListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/NetworkManagerDeploymentStatusListResultInner.java => implementation/models/NetworkManagerDeploymentStatusListResult.java} (57%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java => implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java} (61%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java => implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java} (59%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkManagerListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkManagerRoutingConfigurationListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkProfileListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkSecurityGroupListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkSecurityPerimeterListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkVirtualApplianceConnectionList.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkVirtualApplianceListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkVirtualApplianceSiteListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkVirtualApplianceSkuListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NetworkWatcherListResult.java (80%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NspAccessRuleListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NspAssociationsListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NspLinkListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NspLinkReferenceListResult.java (68%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NspLoggingConfigurationListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NspProfileListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/NspServiceTagsListResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/OperationListResult.java (66%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/PacketCaptureListResult.java (80%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/PeerExpressRouteCircuitConnectionListResult.java (67%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/PerimeterAssociableResourcesListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/PoolAssociationList.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/PrivateDnsZoneGroupListResult.java (75%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/PrivateEndpointConnectionListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/PrivateEndpointListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/PrivateLinkServiceListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/PublicIpAddressListResult.java => implementation/models/PublicIPAddressListResult.java} (53%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{models/PublicIpPrefixListResult.java => implementation/models/PublicIPPrefixListResult.java} (53%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ReachabilityAnalysisIntentListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ReachabilityAnalysisRunListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/RouteFilterListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/RouteFilterRuleListResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/RouteListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/RouteTableListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/RoutingRuleCollectionListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/RoutingRuleListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ScopeConnectionListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/SecurityAdminConfigurationListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/SecurityPartnerProviderListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/SecurityRuleListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/SecurityUserConfigurationListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/SecurityUserRuleCollectionListResult.java (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/SecurityUserRuleListResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ServiceEndpointPolicyDefinitionListResult.java (68%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ServiceEndpointPolicyListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ServiceGatewayListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/ServiceTagInformationListResult.java (75%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/SignaturesOverridesListInner.java => implementation/models/SignaturesOverridesList.java} (59%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/StaticCidrList.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/StaticMemberListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/SubnetListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/SwapResourceListResultInner.java => implementation/models/SwapResourceListResult.java} (59%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/UsagesListResult.java (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VerifierWorkspaceListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/BgpPeerStatusListResultInner.java => implementation/models/VirtualHubEffectiveRouteList.java} (52%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualNetworkApplianceListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualNetworkDdosProtectionStatusResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualNetworkGatewayConnectionListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualNetworkGatewayListConnectionsResult.java (75%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualNetworkGatewayListResult.java (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualNetworkListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualNetworkListUsageResult.java (79%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualNetworkPeeringListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualNetworkTapListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualRouterListResult.java (71%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/VirtualRouterPeeringListResult.java (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/VpnClientConnectionHealthDetailListResultInner.java => implementation/models/VpnClientConnectionHealthDetailListResult.java} (57%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{ => implementation}/models/WebApplicationFirewallPolicyListResult.java (81%) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProvisioningState.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/{TrackedResource.java => ResourceWithRequiredLocation.java} (50%) create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult1.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WritableResource.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateLinkResourcesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayWafDynamicManifestsDefaultGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayWafDynamicManifestsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysBackendHealthOnDemandSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysBackendHealthSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysGetSslPredefinedPolicySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableRequestHeadersSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableResponseHeadersSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableServerVariablesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableSslOptionsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableSslPredefinedPoliciesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableWafRuleSetsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysStartSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysStopSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableDelegationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableEndpointServicesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableResourceGroupDelegationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableServiceAliasesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableServiceAliasesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallFqdnTagsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListLearnedPrefixesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsPacketCaptureOperationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsPacketCaptureSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkByTokenSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDisconnectActiveSessionsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetActiveSessionsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetBastionShareableLinkSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsPutBastionShareableLinkSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BgpServiceCommunitiesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CheckDnsNameAvailabilityCheckDnsNameAvailabilitySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsListByVpnServerConfigurationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsStopSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DefaultSecurityRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DefaultSecurityRulesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetPeeringStatsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetStatsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListArpTableSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListRoutesTableSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListRoutesTableSummarySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListArpTableSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListRoutesTableSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListRoutesTableSummarySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteLinksGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteLinksListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLOASamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsLocationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsLocationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsExpressRouteProviderPortSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsLocationListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteServiceProvidersListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDeploymentsDeploySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesFilterValuesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPatchSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPutSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsUpdateGroupsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsCreateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsGetPoolUsageSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsListAssociatedResourcesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesHealthSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerNetworkInterfacesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerOutboundRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerOutboundRulesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerProbesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerProbesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListInboundNatRulePortMappingsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersMigrateToIpBasedSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersSwapPublicIpAddressesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesListByVpnGatewaySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceLoadBalancersListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetCloudServiceNetworkInterfaceSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetEffectiveRouteTableSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListCloudServiceNetworkInterfacesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListEffectiveNetworkSecurityGroupsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerCommitsPostSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerDeploymentStatusOperationListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersPatchSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesReconcileSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociableResourceTypesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsReconcileSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterOperationStatusesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterServiceTagsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersPatchSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesGetBootDiagnosticLogsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesReimageSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesRestartSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersCheckConnectivitySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetAzureReachabilityReportSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetFlowLogStatusSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetNetworkConfigurationDiagnosticSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetNextHopSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTopologySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTroubleshootingResultSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTroubleshootingSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetVMSecurityRulesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListAvailableProvidersSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersSetFlowLogConfigurationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersVerifyIpFlowSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/OperationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysResetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGenerateVpnProfileSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesCreateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesGetStatusSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesStopSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PeerExpressRouteCircuitConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PeerExpressRouteCircuitConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilitySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesDeletePrivateEndpointConnectionSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesGetPrivateEndpointConnectionSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListPrivateEndpointConnectionsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesUpdatePrivateEndpointConnectionSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDdosProtectionStatusSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDisassociateCloudServiceReservedPublicIpSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIPAddressSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIPAddressesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesReserveCloudServicePublicIpAddressSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsCreateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsCreateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ResourceNavigationLinksListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesListByRouteFilterSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceAssociationLinksListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetAddressLocationsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetServicesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateAddressLocationsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateServicesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceTagInformationListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceTagsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsCreateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsPrepareNetworkPoliciesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsUnprepareNetworkPoliciesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/UsagesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesCreateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapCreateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSkusGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSkusListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListAdvertisedRoutesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListLearnedRoutesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetEffectiveVirtualHubRoutesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetInboundRoutesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetOutboundRoutesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetIkeSasSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetSharedKeySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsResetConnectionSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsResetSharedKeySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsSetSharedKeySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsStartPacketCaptureSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsStopPacketCaptureSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGenerateVpnProfileSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGeneratevpnclientpackageSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetAdvertisedRoutesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetBgpPeerStatusSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetFailoverAllTestDetailsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetFailoverSingleTestDetailsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetLearnedRoutesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetResiliencyInformationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetRoutesInformationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnProfilePackageUrlSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnclientConnectionHealthSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnclientIpsecParametersSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeAbortMigrationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeCommitMigrationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeExecuteMigrationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokePrepareMigrationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListConnectionsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListRadiusSecretsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysResetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysResetVpnClientSharedKeySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysSetVpnclientIpsecParametersSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStartExpressRouteSiteFailoverSimulationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStartPacketCaptureSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStopExpressRouteSiteFailoverSimulationSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStopPacketCaptureSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysSupportedVpnDevicesSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysVpnDeviceConfigurationScriptSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksCheckIpAddressAvailabilitySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListDdosProtectionStatusSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListUsageSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGeneratevirtualwanvpnserverconfigurationvpnprofileSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansSupportedSecurityProvidersSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsListByVpnGatewaySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsStartPacketCaptureSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsStopPacketCaptureSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysResetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysStartPacketCaptureSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysStopPacketCaptureSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetAllSharedKeysSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetDefaultSharedKeySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetIkeSasSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsListByVpnConnectionSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsListDefaultSharedKeySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsResetConnectionSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsSetOrInitDefaultSharedKeySamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsAssociatedWithVirtualWanListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListRadiusSecretsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinkConnectionsGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinksGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinksListByVpnSiteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesConfigurationDownloadSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesUpdateTagsSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesCreateOrUpdateSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesDeleteSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesGetByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesListByResourceGroupSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebCategoriesGetSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebCategoriesListSamples.java create mode 100644 sdk/network/azure-resourcemanager-network/tsp-location.yaml diff --git a/sdk/network/azure-resourcemanager-network/README.md b/sdk/network/azure-resourcemanager-network/README.md index f1eec7951074..0da79e09788e 100644 --- a/sdk/network/azure-resourcemanager-network/README.md +++ b/sdk/network/azure-resourcemanager-network/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-network - 2.58.0 + 2.59.0-beta.1 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java index debcc8959b26..4f781582c33f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,83 +22,10 @@ * An instance of this class provides access to all the operations defined in AdminRuleCollectionsClient. */ public interface AdminRuleCollectionsClient { - /** - * Lists all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security admin configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken); - - /** - * Lists all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @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 security admin configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName); - - /** - * Lists all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @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 security admin configuration rule collection list result as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName); - - /** - * Lists all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security admin configuration rule collection list result as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken, Context context); - /** * Gets a network manager security admin configuration rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -115,7 +42,7 @@ Mono> getWithResponseAsync(String resourceGro /** * Gets a network manager security admin configuration rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -131,7 +58,7 @@ Mono getAsync(String resourceGroupName, String network /** * Gets a network manager security admin configuration rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -148,7 +75,7 @@ Response getWithResponse(String resourceGroupName, Str /** * Gets a network manager security admin configuration rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -164,7 +91,7 @@ AdminRuleCollectionInner get(String resourceGroupName, String networkManagerName /** * Creates or updates an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -182,7 +109,7 @@ Mono> createOrUpdateWithResponseAsync(String /** * Creates or updates an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -199,7 +126,7 @@ Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -217,7 +144,7 @@ Response createOrUpdateWithResponse(String resourceGro /** * Creates or updates an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -234,7 +161,7 @@ AdminRuleCollectionInner createOrUpdate(String resourceGroupName, String network /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -252,7 +179,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -270,7 +197,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -286,7 +213,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -302,7 +229,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -321,7 +248,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -339,7 +266,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -355,7 +282,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -370,7 +297,7 @@ void delete(String resourceGroupName, String networkManagerName, String configur /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -384,4 +311,75 @@ void delete(String resourceGroupName, String networkManagerName, String configur @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force, Context context); + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 AdminRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken); + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @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 AdminRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName); + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @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 AdminRuleCollection list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName); + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 AdminRuleCollection list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java index ca0a10c37800..e73c9a765d88 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,85 +22,10 @@ * An instance of this class provides access to all the operations defined in AdminRulesClient. */ public interface AdminRulesClient { - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security configuration admin rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken); - - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @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 security configuration admin rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName); - - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @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 security configuration admin rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName); - - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security configuration admin rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context); - /** * Gets a network manager security configuration admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -118,7 +43,7 @@ Mono> getWithResponseAsync(String resourceGroupName /** * Gets a network manager security configuration admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -135,7 +60,7 @@ Mono getAsync(String resourceGroupName, String networkManage /** * Gets a network manager security configuration admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -153,7 +78,7 @@ Response getWithResponse(String resourceGroupName, String ne /** * Gets a network manager security configuration admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -170,7 +95,7 @@ BaseAdminRuleInner get(String resourceGroupName, String networkManagerName, Stri /** * Creates or updates an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -189,7 +114,7 @@ Mono> createOrUpdateWithResponseAsync(String resour /** * Creates or updates an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -207,7 +132,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String ne /** * Creates or updates an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -227,7 +152,7 @@ Response createOrUpdateWithResponse(String resourceGroupName /** * Creates or updates an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -245,7 +170,7 @@ BaseAdminRuleInner createOrUpdate(String resourceGroupName, String networkManage /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -264,7 +189,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -283,7 +208,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -300,7 +225,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -317,7 +242,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -337,7 +262,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -356,7 +281,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -373,7 +298,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -389,7 +314,7 @@ void delete(String resourceGroupName, String networkManagerName, String configur /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -404,4 +329,79 @@ void delete(String resourceGroupName, String networkManagerName, String configur @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, Context context); + + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return paged collection of BaseAdminRule items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken); + + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return paged collection of BaseAdminRule items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName); + + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return paged collection of BaseAdminRule items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName); + + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return paged collection of BaseAdminRule items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java index 91d64f12f8c2..01c63fd5e832 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -24,113 +24,74 @@ */ public interface ApplicationGatewayPrivateEndpointConnectionsClient { /** - * Deletes the specified private endpoint connection on application gateway. + * Gets the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 Response} on successful completion of {@link Mono}. + * @return the specified private endpoint connection on application gateway along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String applicationGatewayName, - String connectionName); - - /** - * Deletes the specified private endpoint connection on application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationGatewayName, - String connectionName); - - /** - * Deletes the specified private endpoint connection on application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. - * @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 applicationGatewayName, - String connectionName); - - /** - * Deletes the specified private endpoint connection on application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. - * @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 applicationGatewayName, - String connectionName, Context context); + Mono> getWithResponseAsync(String resourceGroupName, + String applicationGatewayName, String connectionName); /** - * Deletes the specified private endpoint connection on application gateway. + * Gets the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the specified private endpoint connection on application gateway on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String applicationGatewayName, String connectionName); + Mono getAsync(String resourceGroupName, + String applicationGatewayName, String connectionName); /** - * Deletes the specified private endpoint connection on application gateway. + * Gets the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. + * @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 private endpoint connection on application gateway along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String applicationGatewayName, String connectionName); + Response getWithResponse(String resourceGroupName, + String applicationGatewayName, String connectionName, Context context); /** - * Deletes the specified private endpoint connection on application gateway. + * Gets the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. - * @param context The context to associate with this operation. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway. */ @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String applicationGatewayName, String connectionName, Context context); + ApplicationGatewayPrivateEndpointConnectionInner get(String resourceGroupName, String applicationGatewayName, + String connectionName); /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -145,9 +106,9 @@ Mono>> updateWithResponseAsync(String resourceGroupNam /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -162,9 +123,9 @@ Mono>> updateWithResponseAsync(String resourceGroupNam /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -179,9 +140,9 @@ Mono>> updateWithResponseAsync(String resourceGroupNam /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -197,9 +158,9 @@ Mono>> updateWithResponseAsync(String resourceGroupNam /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -214,9 +175,9 @@ Mono updateAsync(String resour /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -230,9 +191,9 @@ ApplicationGatewayPrivateEndpointConnectionInner update(String resourceGroupName /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -245,77 +206,116 @@ ApplicationGatewayPrivateEndpointConnectionInner update(String resourceGroupName String connectionName, ApplicationGatewayPrivateEndpointConnectionInner parameters, Context context); /** - * Gets the specified private endpoint connection on application gateway. + * Deletes the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway along with {@link Response} on - * successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, - String applicationGatewayName, String connectionName); + Mono>> deleteWithResponseAsync(String resourceGroupName, String applicationGatewayName, + String connectionName); /** - * Gets the specified private endpoint connection on application gateway. + * Deletes the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway on successful completion of - * {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, - String applicationGatewayName, String connectionName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationGatewayName, + String connectionName); /** - * Gets the specified private endpoint connection on application gateway. + * Deletes the specified private endpoint connection on application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName Name of the private endpoint connection on an application gateway. + * @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 applicationGatewayName, + String connectionName); + + /** + * Deletes the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway along with {@link Response}. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String applicationGatewayName, + String connectionName, Context context); + + /** + * Deletes the specified private endpoint connection on application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName Name of the private endpoint connection on an application gateway. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, - String applicationGatewayName, String connectionName, Context context); + Mono deleteAsync(String resourceGroupName, String applicationGatewayName, String connectionName); /** - * Gets the specified private endpoint connection on application gateway. + * Deletes the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway. */ @ServiceMethod(returns = ReturnType.SINGLE) - ApplicationGatewayPrivateEndpointConnectionInner get(String resourceGroupName, String applicationGatewayName, - String connectionName); + void delete(String resourceGroupName, String applicationGatewayName, String connectionName); + + /** + * Deletes the specified private endpoint connection on application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName Name of the private endpoint connection on an application gateway. + * @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 applicationGatewayName, String connectionName, Context context); /** * Lists all private endpoint connections on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation as paginated response with * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -325,12 +325,12 @@ PagedFlux listAsync(String res /** * Lists all private endpoint connections on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -340,13 +340,13 @@ PagedIterable list(String reso /** * Lists all private endpoint connections on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java index f123c7310d0d..25cf6535e916 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -19,12 +19,12 @@ public interface ApplicationGatewayPrivateLinkResourcesClient { /** * Lists all private link resources on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateLinkResources API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateLinkResource list operation as paginated response with * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -34,12 +34,12 @@ PagedFlux listAsync(String resourceG /** * Lists all private link resources on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateLinkResources API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateLinkResource list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -49,13 +49,13 @@ PagedIterable list(String resourceGr /** * Lists all private link resources on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateLinkResources API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateLinkResource list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java index 2d071a180132..3fbb028486f9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -19,7 +19,7 @@ public interface ApplicationGatewayWafDynamicManifestsClient { /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -31,7 +31,7 @@ public interface ApplicationGatewayWafDynamicManifestsClient { /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -43,7 +43,7 @@ public interface ApplicationGatewayWafDynamicManifestsClient { /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java index ba813db276f9..9982a7fc2dc5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -19,7 +19,7 @@ public interface ApplicationGatewayWafDynamicManifestsDefaultsClient { /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -32,7 +32,7 @@ public interface ApplicationGatewayWafDynamicManifestsDefaultsClient { /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -44,7 +44,7 @@ public interface ApplicationGatewayWafDynamicManifestsDefaultsClient { /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -57,7 +57,7 @@ public interface ApplicationGatewayWafDynamicManifestsDefaultsClient { /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java index c60f38a36720..821257e7d26c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,6 +20,8 @@ import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayInner; import com.azure.resourcemanager.network.fluent.models.ApplicationGatewaySslPredefinedPolicyInner; import com.azure.resourcemanager.network.models.ApplicationGatewayOnDemandProbe; +import com.azure.resourcemanager.network.models.StartFinalResult; +import com.azure.resourcemanager.network.models.StopFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -34,102 +36,10 @@ */ public interface ApplicationGatewaysClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String applicationGatewayName); - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationGatewayName); - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 applicationGatewayName); - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 applicationGatewayName, - Context context); - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String applicationGatewayName); - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 applicationGatewayName); - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 applicationGatewayName, Context context); - /** * Gets the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -143,7 +53,7 @@ Mono> getByResourceGroupWithResponseAsync(Stri /** * Gets the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -156,7 +66,7 @@ Mono> getByResourceGroupWithResponseAsync(Stri /** * Gets the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -171,7 +81,7 @@ Response getByResourceGroupWithResponse(String resource /** * Gets the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -184,7 +94,7 @@ Response getByResourceGroupWithResponse(String resource /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -199,7 +109,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -214,7 +124,7 @@ PollerFlux, ApplicationGatewayInner> beginCr /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -229,7 +139,7 @@ SyncPoller, ApplicationGatewayInner> beginCr /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @param context The context to associate with this operation. @@ -245,7 +155,7 @@ SyncPoller, ApplicationGatewayInner> beginCr /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -260,7 +170,7 @@ Mono createOrUpdateAsync(String resourceGroupName, Stri /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -275,7 +185,7 @@ ApplicationGatewayInner createOrUpdate(String resourceGroupName, String applicat /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @param context The context to associate with this operation. @@ -291,7 +201,7 @@ ApplicationGatewayInner createOrUpdate(String resourceGroupName, String applicat /** * Updates the specified application gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to update application gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -306,7 +216,7 @@ Mono> updateTagsWithResponseAsync(String resou /** * Updates the specified application gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to update application gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -321,7 +231,7 @@ Mono updateTagsAsync(String resourceGroupName, String a /** * Updates the specified application gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to update application gateway tags. * @param context The context to associate with this operation. @@ -337,7 +247,7 @@ Response updateTagsWithResponse(String resourceGroupNam /** * Updates the specified application gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to update application gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -348,14 +258,106 @@ Response updateTagsWithResponse(String resourceGroupNam @ServiceMethod(returns = ReturnType.SINGLE) ApplicationGatewayInner updateTags(String resourceGroupName, String applicationGatewayName, TagsObject parameters); + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String applicationGatewayName); + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationGatewayName); + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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 applicationGatewayName); + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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 applicationGatewayName, + Context context); + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String applicationGatewayName); + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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 applicationGatewayName); + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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 applicationGatewayName, Context context); + /** * Lists all application gateways in a resource group. * - * @param resourceGroupName The name of the 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 response for ListApplicationGateways API service call as paginated response with {@link PagedFlux}. + * @return the response of a ApplicationGateway list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listByResourceGroupAsync(String resourceGroupName); @@ -363,11 +365,11 @@ Response updateTagsWithResponse(String resourceGroupNam /** * Lists all application gateways in a resource group. * - * @param resourceGroupName The name of the 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 response for ListApplicationGateways API service call as paginated response with {@link PagedIterable}. + * @return the response of a ApplicationGateway list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName); @@ -375,12 +377,12 @@ Response updateTagsWithResponse(String resourceGroupNam /** * Lists all application gateways in a resource group. * - * @param resourceGroupName The name of the 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 response for ListApplicationGateways API service call as paginated response with {@link PagedIterable}. + * @return the response of a ApplicationGateway list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); @@ -420,7 +422,7 @@ Response updateTagsWithResponse(String resourceGroupNam /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -433,7 +435,7 @@ Response updateTagsWithResponse(String resourceGroupNam /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -441,12 +443,13 @@ Response updateTagsWithResponse(String resourceGroupNam * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginStartAsync(String resourceGroupName, String applicationGatewayName); + PollerFlux, StartFinalResult> beginStartAsync(String resourceGroupName, + String applicationGatewayName); /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -454,12 +457,13 @@ Response updateTagsWithResponse(String resourceGroupNam * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginStart(String resourceGroupName, String applicationGatewayName); + SyncPoller, StartFinalResult> beginStart(String resourceGroupName, + String applicationGatewayName); /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -468,51 +472,53 @@ Response updateTagsWithResponse(String resourceGroupNam * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginStart(String resourceGroupName, String applicationGatewayName, - Context context); + SyncPoller, StartFinalResult> beginStart(String resourceGroupName, + String applicationGatewayName, Context context); /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startAsync(String resourceGroupName, String applicationGatewayName); + Mono startAsync(String resourceGroupName, String applicationGatewayName); /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void start(String resourceGroupName, String applicationGatewayName); + StartFinalResult start(String resourceGroupName, String applicationGatewayName); /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void start(String resourceGroupName, String applicationGatewayName, Context context); + StartFinalResult start(String resourceGroupName, String applicationGatewayName, Context context); /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -525,7 +531,7 @@ SyncPoller, Void> beginStart(String resourceGroupName, String a /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -533,12 +539,13 @@ SyncPoller, Void> beginStart(String resourceGroupName, String a * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginStopAsync(String resourceGroupName, String applicationGatewayName); + PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, + String applicationGatewayName); /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -546,12 +553,13 @@ SyncPoller, Void> beginStart(String resourceGroupName, String a * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginStop(String resourceGroupName, String applicationGatewayName); + SyncPoller, StopFinalResult> beginStop(String resourceGroupName, + String applicationGatewayName); /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -560,51 +568,53 @@ SyncPoller, Void> beginStart(String resourceGroupName, String a * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginStop(String resourceGroupName, String applicationGatewayName, - Context context); + SyncPoller, StopFinalResult> beginStop(String resourceGroupName, + String applicationGatewayName, Context context); /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopAsync(String resourceGroupName, String applicationGatewayName); + Mono stopAsync(String resourceGroupName, String applicationGatewayName); /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void stop(String resourceGroupName, String applicationGatewayName); + StopFinalResult stop(String resourceGroupName, String applicationGatewayName); /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void stop(String resourceGroupName, String applicationGatewayName, Context context); + StopFinalResult stop(String resourceGroupName, String applicationGatewayName, Context context); /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -620,7 +630,7 @@ Mono>> backendHealthWithResponseAsync(String resourceG /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -636,7 +646,7 @@ Mono>> backendHealthWithResponseAsync(String resourceG /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -651,7 +661,7 @@ Mono>> backendHealthWithResponseAsync(String resourceG /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -666,7 +676,7 @@ Mono>> backendHealthWithResponseAsync(String resourceG /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @param context The context to associate with this operation. @@ -683,7 +693,7 @@ Mono>> backendHealthWithResponseAsync(String resourceG /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -699,7 +709,7 @@ Mono backendHealthAsync(String resourceGro /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -714,7 +724,7 @@ Mono backendHealthAsync(String resourceGro /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -727,7 +737,7 @@ Mono backendHealthAsync(String resourceGro /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @param context The context to associate with this operation. @@ -744,7 +754,7 @@ ApplicationGatewayBackendHealthInner backendHealth(String resourceGroupName, Str * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -762,7 +772,7 @@ Mono>> backendHealthOnDemandWithResponseAsync(String r * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -781,7 +791,7 @@ Mono>> backendHealthOnDemandWithResponseAsync(String r * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -799,7 +809,7 @@ Mono>> backendHealthOnDemandWithResponseAsync(String r * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -817,7 +827,7 @@ Mono>> backendHealthOnDemandWithResponseAsync(String r * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -837,7 +847,7 @@ Mono>> backendHealthOnDemandWithResponseAsync(String r * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -855,7 +865,7 @@ Mono backendHealthOnDemandAsync(St * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -872,7 +882,7 @@ Mono backendHealthOnDemandAsync(St * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -889,7 +899,7 @@ ApplicationGatewayBackendHealthOnDemandInner backendHealthOnDemand(String resour * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -905,309 +915,303 @@ ApplicationGatewayBackendHealthOnDemandInner backendHealthOnDemand(String resour String applicationGatewayName, ApplicationGatewayOnDemandProbe probeRequest, String expand, Context context); /** - * Lists all available server variables. + * Lists available Ssl options for configuring Ssl policy. * - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableServerVariables API service call along with {@link Response} on + * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link Response} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> listAvailableServerVariablesWithResponseAsync(); + Mono> listAvailableSslOptionsWithResponseAsync(); /** - * Lists all available server variables. + * Lists available Ssl options for configuring Ssl policy. * - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableServerVariables API service call on successful completion of + * @return response for ApplicationGatewayAvailableSslOptions API service call on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listAvailableServerVariablesAsync(); + Mono listAvailableSslOptionsAsync(); /** - * Lists all available server variables. + * Lists available Ssl options for configuring Ssl policy. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableServerVariables API service call along with {@link Response}. + * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response> listAvailableServerVariablesWithResponse(Context context); + Response listAvailableSslOptionsWithResponse(Context context); /** - * Lists all available server variables. + * Lists available Ssl options for configuring Ssl policy. * - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableServerVariables API service call. + * @return response for ApplicationGatewayAvailableSslOptions API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) - List listAvailableServerVariables(); + ApplicationGatewayAvailableSslOptionsInner listAvailableSslOptions(); /** - * Lists all available request headers. + * Lists all SSL predefined policies for configuring Ssl policy. * - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableRequestHeaders API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> listAvailableRequestHeadersWithResponseAsync(); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAvailableSslPredefinedPoliciesAsync(); /** - * Lists all available request headers. + * Lists all SSL predefined policies for configuring Ssl policy. * - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableRequestHeaders API service call on successful completion of - * {@link Mono}. + * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listAvailableRequestHeadersAsync(); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listAvailableSslPredefinedPolicies(); /** - * Lists all available request headers. + * Lists all SSL predefined policies for configuring Ssl policy. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableRequestHeaders API service call along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response> listAvailableRequestHeadersWithResponse(Context context); - - /** - * Lists all available request headers. - * - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableRequestHeaders API service call. + * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - List listAvailableRequestHeaders(); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listAvailableSslPredefinedPolicies(Context context); /** - * Lists all available response headers. + * Gets Ssl predefined policy with the specified policy name. * - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @param predefinedPolicyName The name of the ssl predefined policy. + * @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 response for ApplicationGatewayAvailableResponseHeaders API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return ssl predefined policy with the specified policy name along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> listAvailableResponseHeadersWithResponseAsync(); + Mono> + getSslPredefinedPolicyWithResponseAsync(String predefinedPolicyName); /** - * Lists all available response headers. + * Gets Ssl predefined policy with the specified policy name. * - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @param predefinedPolicyName The name of the ssl predefined policy. + * @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 response for ApplicationGatewayAvailableResponseHeaders API service call on successful completion of - * {@link Mono}. + * @return ssl predefined policy with the specified policy name on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listAvailableResponseHeadersAsync(); + Mono getSslPredefinedPolicyAsync(String predefinedPolicyName); /** - * Lists all available response headers. + * Gets Ssl predefined policy with the specified policy name. * + * @param predefinedPolicyName The name of the ssl predefined policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableResponseHeaders API service call along with {@link Response}. + * @return ssl predefined policy with the specified policy name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response> listAvailableResponseHeadersWithResponse(Context context); + Response getSslPredefinedPolicyWithResponse(String predefinedPolicyName, + Context context); /** - * Lists all available response headers. + * Gets Ssl predefined policy with the specified policy name. * - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @param predefinedPolicyName The name of the ssl predefined policy. + * @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 response for ApplicationGatewayAvailableResponseHeaders API service call. + * @return ssl predefined policy with the specified policy name. */ @ServiceMethod(returns = ReturnType.SINGLE) - List listAvailableResponseHeaders(); + ApplicationGatewaySslPredefinedPolicyInner getSslPredefinedPolicy(String predefinedPolicyName); /** - * Lists all available web application firewall rule sets. + * Lists all available server variables. * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableWafRuleSets API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listAvailableWafRuleSetsWithResponseAsync(); + Mono>> listAvailableServerVariablesWithResponseAsync(); /** - * Lists all available web application firewall rule sets. + * Lists all available server variables. * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableWafRuleSets API service call on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono listAvailableWafRuleSetsAsync(); + Mono> listAvailableServerVariablesAsync(); /** - * Lists all available web application firewall rule sets. + * Lists all available server variables. * * @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 com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableWafRuleSets API service call along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response listAvailableWafRuleSetsWithResponse(Context context); + Response> listAvailableServerVariablesWithResponse(Context context); /** - * Lists all available web application firewall rule sets. + * Lists all available server variables. * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableWafRuleSets API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ApplicationGatewayAvailableWafRuleSetsResultInner listAvailableWafRuleSets(); + List listAvailableServerVariables(); /** - * Lists available Ssl options for configuring Ssl policy. + * Lists all available request headers. * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listAvailableSslOptionsWithResponseAsync(); + Mono>> listAvailableRequestHeadersWithResponseAsync(); /** - * Lists available Ssl options for configuring Ssl policy. + * Lists all available request headers. * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono listAvailableSslOptionsAsync(); + Mono> listAvailableRequestHeadersAsync(); /** - * Lists available Ssl options for configuring Ssl policy. + * Lists all available request headers. * * @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 com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response listAvailableSslOptionsWithResponse(Context context); + Response> listAvailableRequestHeadersWithResponse(Context context); /** - * Lists available Ssl options for configuring Ssl policy. + * Lists all available request headers. * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ApplicationGatewayAvailableSslOptionsInner listAvailableSslOptions(); + List listAvailableRequestHeaders(); /** - * Lists all SSL predefined policies for configuring Ssl policy. + * Lists all available response headers. * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with - * {@link PagedFlux}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAvailableSslPredefinedPoliciesAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> listAvailableResponseHeadersWithResponseAsync(); /** - * Lists all SSL predefined policies for configuring Ssl policy. + * Lists all available response headers. * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with - * {@link PagedIterable}. + * @return the response body on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listAvailableSslPredefinedPolicies(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> listAvailableResponseHeadersAsync(); /** - * Lists all SSL predefined policies for configuring Ssl policy. + * Lists all available response headers. * * @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 com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with - * {@link PagedIterable}. + * @return the response body along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listAvailableSslPredefinedPolicies(Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Response> listAvailableResponseHeadersWithResponse(Context context); /** - * Gets Ssl predefined policy with the specified policy name. + * Lists all available response headers. + * + * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + List listAvailableResponseHeaders(); + + /** + * Lists all available web application firewall rule sets. * - * @param predefinedPolicyName Name of Ssl predefined policy. - * @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 ssl predefined policy with the specified policy name along with {@link Response} on successful completion - * of {@link Mono}. + * @return response for ApplicationGatewayAvailableWafRuleSets API service call along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> - getSslPredefinedPolicyWithResponseAsync(String predefinedPolicyName); + Mono> listAvailableWafRuleSetsWithResponseAsync(); /** - * Gets Ssl predefined policy with the specified policy name. + * Lists all available web application firewall rule sets. * - * @param predefinedPolicyName Name of Ssl predefined policy. - * @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 ssl predefined policy with the specified policy name on successful completion of {@link Mono}. + * @return response for ApplicationGatewayAvailableWafRuleSets API service call on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getSslPredefinedPolicyAsync(String predefinedPolicyName); + Mono listAvailableWafRuleSetsAsync(); /** - * Gets Ssl predefined policy with the specified policy name. + * Lists all available web application firewall rule sets. * - * @param predefinedPolicyName Name of Ssl predefined policy. * @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 ssl predefined policy with the specified policy name along with {@link Response}. + * @return response for ApplicationGatewayAvailableWafRuleSets API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getSslPredefinedPolicyWithResponse(String predefinedPolicyName, - Context context); + Response listAvailableWafRuleSetsWithResponse(Context context); /** - * Gets Ssl predefined policy with the specified policy name. + * Lists all available web application firewall rule sets. * - * @param predefinedPolicyName Name of Ssl predefined policy. - * @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 ssl predefined policy with the specified policy name. + * @return response for ApplicationGatewayAvailableWafRuleSets API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) - ApplicationGatewaySslPredefinedPolicyInner getSslPredefinedPolicy(String predefinedPolicyName); + ApplicationGatewayAvailableWafRuleSetsResultInner listAvailableWafRuleSets(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java index 1ca3ecf1dece..44bda5edbcc0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,103 +27,10 @@ */ public interface ApplicationSecurityGroupsClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, - String applicationSecurityGroupName); - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationSecurityGroupName); - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 applicationSecurityGroupName); - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 applicationSecurityGroupName, - Context context); - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String applicationSecurityGroupName); - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 applicationSecurityGroupName); - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 applicationSecurityGroupName, Context context); - /** * Gets information about the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -138,7 +45,7 @@ Mono> getByResourceGroupWithResponseAsyn /** * Gets information about the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -152,7 +59,7 @@ Mono getByResourceGroupAsync(String resourceGroup /** * Gets information about the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -167,7 +74,7 @@ Response getByResourceGroupWithResponse(String re /** * Gets information about the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -180,7 +87,7 @@ Response getByResourceGroupWithResponse(String re /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -196,7 +103,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -211,7 +118,7 @@ PollerFlux, ApplicationSecurityGroupIn /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -226,7 +133,7 @@ SyncPoller, ApplicationSecurityGroupIn /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @param context The context to associate with this operation. @@ -243,7 +150,7 @@ SyncPoller, ApplicationSecurityGroupIn /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -258,7 +165,7 @@ Mono createOrUpdateAsync(String resourceGroupName /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -273,7 +180,7 @@ ApplicationSecurityGroupInner createOrUpdate(String resourceGroupName, String ap /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @param context The context to associate with this operation. @@ -289,7 +196,7 @@ ApplicationSecurityGroupInner createOrUpdate(String resourceGroupName, String ap /** * Updates an application security group's tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to update application security group tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -305,7 +212,7 @@ Mono> updateTagsWithResponseAsync(String /** * Updates an application security group's tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to update application security group tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -320,7 +227,7 @@ Mono updateTagsAsync(String resourceGroupName, St /** * Updates an application security group's tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to update application security group tags. * @param context The context to associate with this operation. @@ -336,7 +243,7 @@ Response updateTagsWithResponse(String resourceGr /** * Updates an application security group's tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to update application security group tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -349,41 +256,102 @@ ApplicationSecurityGroupInner updateTags(String resourceGroupName, String applic TagsObject parameters); /** - * Gets all application security groups in a subscription. + * Deletes the specified application security group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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 all application security groups in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, + String applicationSecurityGroupName); /** - * Gets all application security groups in a subscription. + * Deletes the specified application security group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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 all application security groups in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationSecurityGroupName); /** - * Gets all application security groups in a subscription. + * Deletes the specified application security group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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 applicationSecurityGroupName); + + /** + * Deletes the specified application security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. * @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 all application security groups in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String applicationSecurityGroupName, + Context context); + + /** + * Deletes the specified application security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String applicationSecurityGroupName); + + /** + * Deletes the specified application security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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 applicationSecurityGroupName); + + /** + * Deletes the specified application security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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 applicationSecurityGroupName, Context context); /** * Gets all the application security groups in a resource group. * - * @param resourceGroupName The name of the 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. @@ -395,7 +363,7 @@ ApplicationSecurityGroupInner updateTags(String resourceGroupName, String applic /** * Gets all the application security groups in a resource group. * - * @param resourceGroupName The name of the 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. @@ -407,7 +375,7 @@ ApplicationSecurityGroupInner updateTags(String resourceGroupName, String applic /** * Gets all the application security groups in a resource group. * - * @param resourceGroupName The name of the 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. @@ -416,4 +384,36 @@ ApplicationSecurityGroupInner updateTags(String resourceGroupName, String applic */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all application security groups in a 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 all application security groups in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all application security groups in a 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 all application security groups in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all application security groups in a 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 all application security groups in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java index b992743d02d5..ca3f4e4a4996 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,7 +18,7 @@ public interface AvailableDelegationsClient { /** * Gets all of the available subnet delegations for this subscription in this region. * - * @param location The location of the subnet. + * @param location The location name. * @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. @@ -31,7 +31,7 @@ public interface AvailableDelegationsClient { /** * Gets all of the available subnet delegations for this subscription in this region. * - * @param location The location of the subnet. + * @param location The location name. * @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. @@ -44,7 +44,7 @@ public interface AvailableDelegationsClient { /** * Gets all of the available subnet delegations for this subscription in this region. * - * @param location The location of the subnet. + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java index f50276ec461f..7580d120122e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,12 +18,11 @@ public interface AvailableEndpointServicesClient { /** * List what values of endpoint services are available for use. * - * @param location The location to check available endpoint services. + * @param location The location name. * @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 response for the ListAvailableEndpointServices API service call as paginated response with - * {@link PagedFlux}. + * @return paged collection of EndpointServiceResult items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String location); @@ -31,12 +30,11 @@ public interface AvailableEndpointServicesClient { /** * List what values of endpoint services are available for use. * - * @param location The location to check available endpoint services. + * @param location The location name. * @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 response for the ListAvailableEndpointServices API service call as paginated response with - * {@link PagedIterable}. + * @return paged collection of EndpointServiceResult items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String location); @@ -44,13 +42,12 @@ public interface AvailableEndpointServicesClient { /** * List what values of endpoint services are available for use. * - * @param location The location to check available endpoint services. + * @param location The location name. * @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 response for the ListAvailableEndpointServices API service call as paginated response with - * {@link PagedIterable}. + * @return paged collection of EndpointServiceResult items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String location, Context context); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java index e2af9dd82a0b..bc7add221ff2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,7 +18,7 @@ public interface AvailablePrivateEndpointTypesClient { /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -30,7 +30,7 @@ public interface AvailablePrivateEndpointTypesClient { /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -42,7 +42,7 @@ public interface AvailablePrivateEndpointTypesClient { /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -55,34 +55,34 @@ public interface AvailablePrivateEndpointTypesClient { /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return an array of available PrivateEndpoint types as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String location, String resourceGroupName); + PagedFlux listByResourceGroupAsync(String resourceGroupName, String location); /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return an array of available PrivateEndpoint types as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String location, String resourceGroupName); + PagedIterable listByResourceGroup(String resourceGroupName, String location); /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -90,6 +90,6 @@ public interface AvailablePrivateEndpointTypesClient { * @return an array of available PrivateEndpoint types as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String location, String resourceGroupName, + PagedIterable listByResourceGroup(String resourceGroupName, String location, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java index 6e238c51c4ad..c3a531718158 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,8 +18,8 @@ public interface AvailableResourceGroupDelegationsClient { /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -27,13 +27,13 @@ public interface AvailableResourceGroupDelegationsClient { * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String location, String resourceGroupName); + PagedFlux listAsync(String resourceGroupName, String location); /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -41,13 +41,13 @@ public interface AvailableResourceGroupDelegationsClient { * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String location, String resourceGroupName); + PagedIterable list(String resourceGroupName, String location); /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -56,5 +56,5 @@ public interface AvailableResourceGroupDelegationsClient { * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String location, String resourceGroupName, Context context); + PagedIterable list(String resourceGroupName, String location, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java index e559114cc4c0..0ff6a0a8c6aa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,7 +18,7 @@ public interface AvailableServiceAliasesClient { /** * Gets all available service aliases for this subscription in this region. * - * @param location The location. + * @param location The location name. * @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. @@ -31,7 +31,7 @@ public interface AvailableServiceAliasesClient { /** * Gets all available service aliases for this subscription in this region. * - * @param location The location. + * @param location The location name. * @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. @@ -44,7 +44,7 @@ public interface AvailableServiceAliasesClient { /** * Gets all available service aliases for this subscription in this region. * - * @param location The location. + * @param location The location name. * @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. @@ -58,8 +58,8 @@ public interface AvailableServiceAliasesClient { /** * Gets all available service aliases for this resource group in this region. * - * @param resourceGroupName The name of the resource group. - * @param location The location. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -72,8 +72,8 @@ public interface AvailableServiceAliasesClient { /** * Gets all available service aliases for this resource group in this region. * - * @param resourceGroupName The name of the resource group. - * @param location The location. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -86,8 +86,8 @@ public interface AvailableServiceAliasesClient { /** * Gets all available service aliases for this resource group in this region. * - * @param resourceGroupName The name of the resource group. - * @param location The location. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java index 179505fb89c6..a878762aaf40 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java index 563b05f3afc7..a11ad2677983 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -15,7 +15,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; import com.azure.resourcemanager.network.fluent.models.AzureFirewallPacketCaptureResponseInner; -import com.azure.resourcemanager.network.fluent.models.IpPrefixesListInner; +import com.azure.resourcemanager.network.fluent.models.IPPrefixesListInner; import com.azure.resourcemanager.network.models.FirewallPacketCaptureParameters; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; @@ -30,101 +30,10 @@ */ public interface AzureFirewallsClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified Azure Firewall. - * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the Azure Firewall. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String azureFirewallName); - - /** - * Deletes the specified Azure Firewall. - * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the Azure Firewall. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String azureFirewallName); - - /** - * Deletes the specified Azure Firewall. - * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the Azure Firewall. - * @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 azureFirewallName); - - /** - * Deletes the specified Azure Firewall. - * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the Azure Firewall. - * @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 azureFirewallName, Context context); - - /** - * Deletes the specified Azure Firewall. - * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the Azure Firewall. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String azureFirewallName); - - /** - * Deletes the specified Azure Firewall. - * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the Azure Firewall. - * @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 azureFirewallName); - - /** - * Deletes the specified Azure Firewall. - * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the Azure Firewall. - * @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 azureFirewallName, Context context); - /** * Gets the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -138,7 +47,7 @@ Mono> getByResourceGroupWithResponseAsync(String re /** * Gets the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -151,7 +60,7 @@ Mono> getByResourceGroupWithResponseAsync(String re /** * Gets the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -166,7 +75,7 @@ Response getByResourceGroupWithResponse(String resourceGroup /** * Gets the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -179,7 +88,7 @@ Response getByResourceGroupWithResponse(String resourceGroup /** * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to the create or update Azure Firewall operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -194,7 +103,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to the create or update Azure Firewall operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -209,7 +118,7 @@ PollerFlux, AzureFirewallInner> beginCreateOrUpda /** * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to the create or update Azure Firewall operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -224,7 +133,7 @@ SyncPoller, AzureFirewallInner> beginCreateOrUpda /** * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to the create or update Azure Firewall operation. * @param context The context to associate with this operation. @@ -240,7 +149,7 @@ SyncPoller, AzureFirewallInner> beginCreateOrUpda /** * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to the create or update Azure Firewall operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -255,7 +164,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String az /** * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to the create or update Azure Firewall operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -270,7 +179,7 @@ AzureFirewallInner createOrUpdate(String resourceGroupName, String azureFirewall /** * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to the create or update Azure Firewall operation. * @param context The context to associate with this operation. @@ -286,7 +195,7 @@ AzureFirewallInner createOrUpdate(String resourceGroupName, String azureFirewall /** * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to update azure firewall tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -301,7 +210,7 @@ Mono>> updateTagsWithResponseAsync(String resourceGrou /** * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to update azure firewall tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -316,7 +225,7 @@ PollerFlux, AzureFirewallInner> beginUpdateTagsAs /** * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to update azure firewall tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -331,7 +240,7 @@ SyncPoller, AzureFirewallInner> beginUpdateTags(S /** * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to update azure firewall tags. * @param context The context to associate with this operation. @@ -347,7 +256,7 @@ SyncPoller, AzureFirewallInner> beginUpdateTags(S /** * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to update azure firewall tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -361,7 +270,7 @@ SyncPoller, AzureFirewallInner> beginUpdateTags(S /** * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to update azure firewall tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -375,7 +284,7 @@ SyncPoller, AzureFirewallInner> beginUpdateTags(S /** * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to update azure firewall tags. * @param context The context to associate with this operation. @@ -388,14 +297,105 @@ SyncPoller, AzureFirewallInner> beginUpdateTags(S AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName, TagsObject parameters, Context context); + /** + * Deletes the specified Azure Firewall. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String azureFirewallName); + + /** + * Deletes the specified Azure Firewall. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String azureFirewallName); + + /** + * Deletes the specified Azure Firewall. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. + * @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 azureFirewallName); + + /** + * Deletes the specified Azure Firewall. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. + * @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 azureFirewallName, Context context); + + /** + * Deletes the specified Azure Firewall. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String azureFirewallName); + + /** + * Deletes the specified Azure Firewall. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. + * @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 azureFirewallName); + + /** + * Deletes the specified Azure Firewall. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. + * @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 azureFirewallName, Context context); + /** * Lists all Azure Firewalls in a resource group. * - * @param resourceGroupName The name of the 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 response for ListAzureFirewalls API service call as paginated response with {@link PagedFlux}. + * @return the response of a AzureFirewall list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listByResourceGroupAsync(String resourceGroupName); @@ -403,11 +403,11 @@ AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName /** * Lists all Azure Firewalls in a resource group. * - * @param resourceGroupName The name of the 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 response for ListAzureFirewalls API service call as paginated response with {@link PagedIterable}. + * @return the response of a AzureFirewall list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName); @@ -415,12 +415,12 @@ AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName /** * Lists all Azure Firewalls in a resource group. * - * @param resourceGroupName The name of the 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 response for ListAzureFirewalls API service call as paginated response with {@link PagedIterable}. + * @return the response of a AzureFirewall list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); @@ -460,13 +460,12 @@ AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of SNAT IP Prefixes learnt by firewall to not SNAT along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> listLearnedPrefixesWithResponseAsync(String resourceGroupName, @@ -475,90 +474,90 @@ Mono>> listLearnedPrefixesWithResponseAsync(String res /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 PollerFlux} for polling of list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, IpPrefixesListInner> + PollerFlux, IPPrefixesListInner> beginListLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName); /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, IpPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, + SyncPoller, IPPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, String azureFirewallName); /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, IpPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, + SyncPoller, IPPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, String azureFirewallName, Context context); /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of SNAT IP Prefixes learnt by firewall to not SNAT on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName); + Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName); /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName); + IPPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName); /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName, Context context); + IPPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName, Context context); /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -573,7 +572,7 @@ Mono>> packetCaptureWithResponseAsync(String resourceG /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -588,7 +587,7 @@ PollerFlux, Void> beginPacketCaptureAsync(String resourceGroupN /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -603,7 +602,7 @@ SyncPoller, Void> beginPacketCapture(String resourceGroupName, /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @param context The context to associate with this operation. @@ -619,7 +618,7 @@ SyncPoller, Void> beginPacketCapture(String resourceGroupName, /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -634,7 +633,7 @@ Mono packetCaptureAsync(String resourceGroupName, String azureFirewallName /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -647,7 +646,7 @@ Mono packetCaptureAsync(String resourceGroupName, String azureFirewallName /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @param context The context to associate with this operation. @@ -662,14 +661,13 @@ void packetCapture(String resourceGroupName, String azureFirewallName, FirewallP /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> packetCaptureOperationWithResponseAsync(String resourceGroupName, @@ -678,13 +676,13 @@ Mono>> packetCaptureOperationWithResponseAsync(String /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 PollerFlux} for polling of response of an Azure Firewall Packet Capture Operation. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, AzureFirewallPacketCaptureResponseInner> @@ -694,13 +692,13 @@ Mono>> packetCaptureOperationWithResponseAsync(String /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, AzureFirewallPacketCaptureResponseInner> @@ -710,14 +708,14 @@ Mono>> packetCaptureOperationWithResponseAsync(String /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, AzureFirewallPacketCaptureResponseInner> @@ -727,13 +725,13 @@ Mono>> packetCaptureOperationWithResponseAsync(String /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono packetCaptureOperationAsync(String resourceGroupName, @@ -742,13 +740,13 @@ Mono packetCaptureOperationAsync(String /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) AzureFirewallPacketCaptureResponseInner packetCaptureOperation(String resourceGroupName, String azureFirewallName, @@ -757,14 +755,14 @@ AzureFirewallPacketCaptureResponseInner packetCaptureOperation(String resourceGr /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) AzureFirewallPacketCaptureResponseInner packetCaptureOperation(String resourceGroupName, String azureFirewallName, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java index 648990e93f9c..59e6d0213103 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -13,7 +13,14 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.network.fluent.models.BastionActiveSessionInner; import com.azure.resourcemanager.network.fluent.models.BastionHostInner; +import com.azure.resourcemanager.network.fluent.models.BastionSessionStateInner; +import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; +import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; +import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; +import com.azure.resourcemanager.network.models.DeleteBastionShareableLinkFinalResult; +import com.azure.resourcemanager.network.models.SessionIds; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -27,102 +34,11 @@ */ public interface BastionHostsClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified Bastion Host. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String bastionHostname); - - /** - * Deletes the specified Bastion Host. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String bastionHostname); - - /** - * Deletes the specified Bastion Host. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 bastionHostname); - - /** - * Deletes the specified Bastion Host. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 bastionHostname, Context context); - - /** - * Deletes the specified Bastion Host. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String bastionHostname); - - /** - * Deletes the specified Bastion Host. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 bastionHostname); - - /** - * Deletes the specified Bastion Host. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 bastionHostname, Context context); - /** * Gets the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @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. @@ -130,26 +46,26 @@ public interface BastionHostsClient */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String bastionHostname); + String bastionHostName); /** * Gets the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @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 Bastion Host on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String bastionHostname); + Mono getByResourceGroupAsync(String resourceGroupName, String bastionHostName); /** * Gets the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @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. @@ -157,27 +73,27 @@ Mono> getByResourceGroupWithResponseAsync(String reso * @return the specified Bastion Host along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, String bastionHostname, + Response getByResourceGroupWithResponse(String resourceGroupName, String bastionHostName, Context context); /** * Gets the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @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 Bastion Host. */ @ServiceMethod(returns = ReturnType.SINGLE) - BastionHostInner getByResourceGroup(String resourceGroupName, String bastionHostname); + BastionHostInner getByResourceGroup(String resourceGroupName, String bastionHostName); /** * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to the create or update Bastion Host operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -185,14 +101,14 @@ Response getByResourceGroupWithResponse(String resourceGroupNa * @return bastion Host resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String bastionHostname, + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String bastionHostName, BastionHostInner parameters); /** * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to the create or update Bastion Host operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -201,13 +117,13 @@ Mono>> createOrUpdateWithResponseAsync(String resource */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, BastionHostInner> beginCreateOrUpdateAsync(String resourceGroupName, - String bastionHostname, BastionHostInner parameters); + String bastionHostName, BastionHostInner parameters); /** * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to the create or update Bastion Host operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -216,13 +132,13 @@ PollerFlux, BastionHostInner> beginCreateOrUpdateAs */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BastionHostInner> beginCreateOrUpdate(String resourceGroupName, - String bastionHostname, BastionHostInner parameters); + String bastionHostName, BastionHostInner parameters); /** * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to the create or update Bastion Host operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -232,13 +148,13 @@ SyncPoller, BastionHostInner> beginCreateOrUpdate(S */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BastionHostInner> beginCreateOrUpdate(String resourceGroupName, - String bastionHostname, BastionHostInner parameters, Context context); + String bastionHostName, BastionHostInner parameters, Context context); /** * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to the create or update Bastion Host operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -246,14 +162,14 @@ SyncPoller, BastionHostInner> beginCreateOrUpdate(S * @return bastion Host resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String bastionHostname, + Mono createOrUpdateAsync(String resourceGroupName, String bastionHostName, BastionHostInner parameters); /** * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to the create or update Bastion Host operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -261,13 +177,13 @@ Mono createOrUpdateAsync(String resourceGroupName, String bast * @return bastion Host resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters); + BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostName, BastionHostInner parameters); /** * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to the create or update Bastion Host operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -276,14 +192,14 @@ Mono createOrUpdateAsync(String resourceGroupName, String bast * @return bastion Host resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname, BastionHostInner parameters, + BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostName, BastionHostInner parameters, Context context); /** * Updates Tags for BastionHost resource. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to update BastionHost tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -291,14 +207,14 @@ BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname * @return bastion Host resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> updateTagsWithResponseAsync(String resourceGroupName, String bastionHostname, + Mono>> updateTagsWithResponseAsync(String resourceGroupName, String bastionHostName, TagsObject parameters); /** * Updates Tags for BastionHost resource. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to update BastionHost tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -307,13 +223,13 @@ Mono>> updateTagsWithResponseAsync(String resourceGrou */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, BastionHostInner> beginUpdateTagsAsync(String resourceGroupName, - String bastionHostname, TagsObject parameters); + String bastionHostName, TagsObject parameters); /** * Updates Tags for BastionHost resource. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to update BastionHost tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -322,13 +238,13 @@ PollerFlux, BastionHostInner> beginUpdateTagsAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BastionHostInner> beginUpdateTags(String resourceGroupName, - String bastionHostname, TagsObject parameters); + String bastionHostName, TagsObject parameters); /** * Updates Tags for BastionHost resource. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to update BastionHost tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -338,13 +254,13 @@ SyncPoller, BastionHostInner> beginUpdateTags(Strin */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BastionHostInner> beginUpdateTags(String resourceGroupName, - String bastionHostname, TagsObject parameters, Context context); + String bastionHostName, TagsObject parameters, Context context); /** * Updates Tags for BastionHost resource. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to update BastionHost tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -352,13 +268,13 @@ SyncPoller, BastionHostInner> beginUpdateTags(Strin * @return bastion Host resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateTagsAsync(String resourceGroupName, String bastionHostname, TagsObject parameters); + Mono updateTagsAsync(String resourceGroupName, String bastionHostName, TagsObject parameters); /** * Updates Tags for BastionHost resource. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to update BastionHost tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -366,13 +282,13 @@ SyncPoller, BastionHostInner> beginUpdateTags(Strin * @return bastion Host resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - BastionHostInner updateTags(String resourceGroupName, String bastionHostname, TagsObject parameters); + BastionHostInner updateTags(String resourceGroupName, String bastionHostName, TagsObject parameters); /** * Updates Tags for BastionHost resource. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @param parameters Parameters supplied to update BastionHost tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -381,15 +297,143 @@ SyncPoller, BastionHostInner> beginUpdateTags(Strin * @return bastion Host resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - BastionHostInner updateTags(String resourceGroupName, String bastionHostname, TagsObject parameters, + BastionHostInner updateTags(String resourceGroupName, String bastionHostName, TagsObject parameters, Context context); + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String bastionHostName); + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String bastionHostName); + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 bastionHostName); + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 bastionHostName, Context context); + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String bastionHostName); + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 bastionHostName); + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 bastionHostName, Context context); + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + /** * Lists all Bastion Hosts in a 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 response for ListBastionHosts API service call as paginated response with {@link PagedFlux}. + * @return the response of a BastionHost list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(); @@ -399,7 +443,7 @@ BastionHostInner updateTags(String resourceGroupName, String bastionHostname, Ta * * @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 response for ListBastionHosts API service call as paginated response with {@link PagedIterable}. + * @return the response of a BastionHost list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(); @@ -411,45 +455,402 @@ BastionHostInner updateTags(String resourceGroupName, String bastionHostname, Ta * @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 response for ListBastionHosts API service call as paginated response with {@link PagedIterable}. + * @return the response of a BastionHost list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Context context); /** - * Lists all Bastion Hosts in a resource group. + * Creates a Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 response for ListBastionHosts API service call as paginated response with {@link PagedFlux}. + * @return the paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); + PagedFlux putBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); /** - * Lists all Bastion Hosts in a resource group. + * Creates a Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 response for ListBastionHosts API service call as paginated response with {@link PagedIterable}. + * @return the paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); + PagedIterable putBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); /** - * Lists all Bastion Hosts in a resource group. + * Creates a Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 response for ListBastionHosts API service call as paginated response with {@link PagedIterable}. + * @return the paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); + PagedIterable putBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, DeleteBastionShareableLinkFinalResult> + beginDeleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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, DeleteBastionShareableLinkFinalResult> + beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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, DeleteBastionShareableLinkFinalResult> + beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + DeleteBastionShareableLinkFinalResult deleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + DeleteBastionShareableLinkFinalResult deleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteBastionShareableLinkByTokenWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, Context context); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest, Context context); + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getActiveSessionsAsync(String resourceGroupName, String bastionHostName); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getActiveSessions(String resourceGroupName, String bastionHostName); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getActiveSessions(String resourceGroupName, String bastionHostName, + Context context); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, String bastionHostName, + SessionIds sessionIds); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable disconnectActiveSessions(String resourceGroupName, String bastionHostName, + SessionIds sessionIds); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable disconnectActiveSessions(String resourceGroupName, String bastionHostName, + SessionIds sessionIds, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java index c381a876daeb..30f20a387c35 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java new file mode 100644 index 000000000000..89076af2695d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java @@ -0,0 +1,77 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.DnsNameAvailabilityResultInner; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in CheckDnsNameAvailabilitiesClient. + */ +public interface CheckDnsNameAvailabilitiesClient { + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> checkDnsNameAvailabilityWithResponseAsync(String location, + String domainNameLabel); + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono checkDnsNameAvailabilityAsync(String location, String domainNameLabel); + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response checkDnsNameAvailabilityWithResponse(String location, + String domainNameLabel, Context context); + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + DnsNameAvailabilityResultInner checkDnsNameAvailability(String location, String domainNameLabel); +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java index bea446631a44..a75a2de9ac77 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,12 +22,84 @@ * An instance of this class provides access to all the operations defined in ConfigurationPolicyGroupsClient. */ public interface ConfigurationPolicyGroupsClient { + /** + * Retrieves the details of a ConfigurationPolicyGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return vpnServerConfigurationPolicyGroup Resource along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, + String vpnServerConfigurationName, String configurationPolicyGroupName); + + /** + * Retrieves the details of a ConfigurationPolicyGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return vpnServerConfigurationPolicyGroup Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String vpnServerConfigurationName, + String configurationPolicyGroupName); + + /** + * Retrieves the details of a ConfigurationPolicyGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return vpnServerConfigurationPolicyGroup Resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, + String vpnServerConfigurationName, String configurationPolicyGroupName, Context context); + + /** + * Retrieves the details of a ConfigurationPolicyGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return vpnServerConfigurationPolicyGroup Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VpnServerConfigurationPolicyGroupInner get(String resourceGroupName, String vpnServerConfigurationName, + String configurationPolicyGroupName); + /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -44,9 +116,11 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -63,9 +137,11 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -82,9 +158,11 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @param context The context to associate with this operation. @@ -102,9 +180,11 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -120,9 +200,11 @@ Mono createOrUpdateAsync(String resource /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -138,9 +220,11 @@ VpnServerConfigurationPolicyGroupInner createOrUpdate(String resourceGroupName, /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @param context The context to associate with this operation. @@ -157,9 +241,11 @@ VpnServerConfigurationPolicyGroupInner createOrUpdate(String resourceGroupName, /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -172,9 +258,11 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -187,9 +275,11 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -202,9 +292,11 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -218,9 +310,11 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -233,9 +327,11 @@ Mono deleteAsync(String resourceGroupName, String vpnServerConfigurationNa /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -246,9 +342,11 @@ Mono deleteAsync(String resourceGroupName, String vpnServerConfigurationNa /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -258,73 +356,12 @@ Mono deleteAsync(String resourceGroupName, String vpnServerConfigurationNa void delete(String resourceGroupName, String vpnServerConfigurationName, String configurationPolicyGroupName, Context context); - /** - * Retrieves the details of a ConfigurationPolicyGroup. - * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup being retrieved. - * @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 vpnServerConfigurationPolicyGroup Resource along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, - String vpnServerConfigurationName, String configurationPolicyGroupName); - - /** - * Retrieves the details of a ConfigurationPolicyGroup. - * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup being retrieved. - * @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 vpnServerConfigurationPolicyGroup Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String vpnServerConfigurationName, - String configurationPolicyGroupName); - - /** - * Retrieves the details of a ConfigurationPolicyGroup. - * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup being retrieved. - * @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 vpnServerConfigurationPolicyGroup Resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, - String vpnServerConfigurationName, String configurationPolicyGroupName, Context context); - - /** - * Retrieves the details of a ConfigurationPolicyGroup. - * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup being retrieved. - * @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 vpnServerConfigurationPolicyGroup Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnServerConfigurationPolicyGroupInner get(String resourceGroupName, String vpnServerConfigurationName, - String configurationPolicyGroupName); - /** * Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -338,8 +375,9 @@ PagedFlux listByVpnServerConfigurationAs /** * Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -353,8 +391,9 @@ PagedIterable listByVpnServerConfigurati /** * Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java index 25ab2224823a..fff5d9698220 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -15,6 +15,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorInner; import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorResultInner; +import com.azure.resourcemanager.network.models.StopFinalResult1; import com.azure.resourcemanager.network.models.TagsObject; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -24,11 +25,71 @@ * An instance of this class provides access to all the operations defined in ConnectionMonitorsClient. */ public interface ConnectionMonitorsClient { + /** + * Gets a connection monitor by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param connectionMonitorName The name of the connection monitor. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a connection monitor by name along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, + String networkWatcherName, String connectionMonitorName); + + /** + * Gets a connection monitor by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param connectionMonitorName The name of the connection monitor. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a connection monitor by name on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String networkWatcherName, + String connectionMonitorName); + + /** + * Gets a connection monitor by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param connectionMonitorName The name of the connection monitor. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a connection monitor by name along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, Context context); + + /** + * Gets a connection monitor by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param connectionMonitorName The name of the connection monitor. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a connection monitor by name. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ConnectionMonitorResultInner get(String resourceGroupName, String networkWatcherName, String connectionMonitorName); + /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -45,8 +106,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -63,8 +124,8 @@ PollerFlux, ConnectionMonitorResultInne /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -80,8 +141,8 @@ PollerFlux, ConnectionMonitorResultInne /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -97,8 +158,8 @@ SyncPoller, ConnectionMonitorResultInne /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -116,8 +177,8 @@ SyncPoller, ConnectionMonitorResultInne /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -133,8 +194,8 @@ Mono createOrUpdateAsync(String resourceGroupName, /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -149,8 +210,8 @@ Mono createOrUpdateAsync(String resourceGroupName, /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -165,8 +226,8 @@ ConnectionMonitorResultInner createOrUpdate(String resourceGroupName, String net /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -181,70 +242,76 @@ ConnectionMonitorResultInner createOrUpdate(String resourceGroupName, String net String connectionMonitorName, ConnectionMonitorInner parameters, String migrate, Context context); /** - * Gets a connection monitor by name. + * Update tags of the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. + * @param parameters Parameters supplied to update connection monitor tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a connection monitor by name along with {@link Response} on successful completion of {@link Mono}. + * @return information about the connection monitor along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, - String networkWatcherName, String connectionMonitorName); + Mono> updateTagsWithResponseAsync(String resourceGroupName, + String networkWatcherName, String connectionMonitorName, TagsObject parameters); /** - * Gets a connection monitor by name. + * Update tags of the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. + * @param parameters Parameters supplied to update connection monitor tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a connection monitor by name on successful completion of {@link Mono}. + * @return information about the connection monitor on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String networkWatcherName, - String connectionMonitorName); + Mono updateTagsAsync(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, TagsObject parameters); /** - * Gets a connection monitor by name. + * Update tags of the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. + * @param parameters Parameters supplied to update connection monitor tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a connection monitor by name along with {@link Response}. + * @return information about the connection monitor along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, Context context); + Response updateTagsWithResponse(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, TagsObject parameters, Context context); /** - * Gets a connection monitor by name. + * Update tags of the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. + * @param parameters Parameters supplied to update connection monitor tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a connection monitor by name. + * @return information about the connection monitor. */ @ServiceMethod(returns = ReturnType.SINGLE) - ConnectionMonitorResultInner get(String resourceGroupName, String networkWatcherName, String connectionMonitorName); + ConnectionMonitorResultInner updateTags(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, TagsObject parameters); /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -258,8 +325,8 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -273,8 +340,8 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -288,8 +355,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -304,8 +371,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -318,8 +385,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -331,8 +398,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -343,76 +410,51 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String void delete(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context); /** - * Update tags of the specified connection monitor. + * Lists all connection monitors for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param connectionMonitorName The name of the connection monitor. - * @param parameters Parameters supplied to update connection monitor tags. * @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 information about the connection monitor along with {@link Response} on successful completion of - * {@link Mono}. + * @return list of connection monitors as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> updateTagsWithResponseAsync(String resourceGroupName, - String networkWatcherName, String connectionMonitorName, TagsObject parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkWatcherName); /** - * Update tags of the specified connection monitor. + * Lists all connection monitors for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param connectionMonitorName The name of the connection monitor. - * @param parameters Parameters supplied to update connection monitor tags. * @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 information about the connection monitor on successful completion of {@link Mono}. + * @return list of connection monitors as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateTagsAsync(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, TagsObject parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkWatcherName); /** - * Update tags of the specified connection monitor. + * Lists all connection monitors for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param connectionMonitorName The name of the connection monitor. - * @param parameters Parameters supplied to update connection monitor tags. * @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 information about the connection monitor along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response updateTagsWithResponse(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, TagsObject parameters, Context context); - - /** - * Update tags of the specified connection monitor. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param connectionMonitorName The name of the connection monitor. - * @param parameters Parameters supplied to update connection monitor tags. - * @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 information about the connection monitor. + * @return list of connection monitors as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - ConnectionMonitorResultInner updateTags(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, TagsObject parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkWatcherName, + Context context); /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -426,8 +468,8 @@ Mono>> stopWithResponseAsync(String resourceGroupName, /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -435,14 +477,14 @@ Mono>> stopWithResponseAsync(String resourceGroupName, * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginStopAsync(String resourceGroupName, String networkWatcherName, - String connectionMonitorName); + PollerFlux, StopFinalResult1> beginStopAsync(String resourceGroupName, + String networkWatcherName, String connectionMonitorName); /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -450,14 +492,14 @@ PollerFlux, Void> beginStopAsync(String resourceGroupName, Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginStop(String resourceGroupName, String networkWatcherName, - String connectionMonitorName); + SyncPoller, StopFinalResult1> beginStop(String resourceGroupName, + String networkWatcherName, String connectionMonitorName); /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -466,88 +508,50 @@ SyncPoller, Void> beginStop(String resourceGroupName, String ne * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginStop(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, Context context); + SyncPoller, StopFinalResult1> beginStop(String resourceGroupName, + String networkWatcherName, String connectionMonitorName, Context context); /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName); + Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName); /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName); + StopFinalResult1 stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName); /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context); - - /** - * Lists all connection monitors for the specified Network Watcher. - * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of connection monitors as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkWatcherName); - - /** - * Lists all connection monitors for the specified Network Watcher. - * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of connection monitors as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkWatcherName); - - /** - * Lists all connection monitors for the specified Network Watcher. - * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of connection monitors as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkWatcherName, + StopFinalResult1 stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java index 2d38669350aa..5fcf362e6368 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -26,7 +26,7 @@ public interface ConnectivityConfigurationsClient { * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and * connectivity Configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -43,7 +43,7 @@ Mono> getWithResponseAsync(String resou * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and * connectivity Configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -60,7 +60,7 @@ Mono getAsync(String resourceGroupName, String n * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and * connectivity Configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param context The context to associate with this operation. @@ -78,7 +78,7 @@ Response getWithResponse(String resourceGroupNam * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and * connectivity Configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -93,7 +93,7 @@ Response getWithResponse(String resourceGroupNam /** * Creates/Updates a new network manager connectivity configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity @@ -111,7 +111,7 @@ Mono> createOrUpdateWithResponseAsync(S /** * Creates/Updates a new network manager connectivity configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity @@ -128,7 +128,7 @@ Mono createOrUpdateAsync(String resourceGroupNam /** * Creates/Updates a new network manager connectivity configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity @@ -147,7 +147,7 @@ Response createOrUpdateWithResponse(String resou /** * Creates/Updates a new network manager connectivity configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity @@ -165,7 +165,7 @@ ConnectivityConfigurationInner createOrUpdate(String resourceGroupName, String n * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -183,7 +183,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -201,7 +201,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -217,7 +217,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -233,7 +233,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -252,7 +252,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -270,7 +270,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -285,7 +285,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -299,7 +299,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -316,7 +316,7 @@ void delete(String resourceGroupName, String networkManagerName, String configur /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -326,8 +326,7 @@ void delete(String resourceGroupName, String networkManagerName, String configur * @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 result of the request to list network manager connectivity configurations as paginated response with - * {@link PagedFlux}. + * @return the response of a ConnectivityConfiguration list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkManagerName, @@ -336,13 +335,12 @@ PagedFlux listAsync(String resourceGroupName, St /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @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 result of the request to list network manager connectivity configurations as paginated response with - * {@link PagedFlux}. + * @return the response of a ConnectivityConfiguration list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkManagerName); @@ -350,12 +348,12 @@ PagedFlux listAsync(String resourceGroupName, St /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @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 result of the request to list network manager connectivity configurations as paginated response with + * @return the response of a ConnectivityConfiguration list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -364,7 +362,7 @@ PagedFlux listAsync(String resourceGroupName, St /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -375,7 +373,7 @@ PagedFlux listAsync(String resourceGroupName, St * @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 result of the request to list network manager connectivity configurations as paginated response with + * @return the response of a ConnectivityConfiguration list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java index 7bad34d3f034..8124d32c442d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,106 +23,14 @@ import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in CustomIpPrefixesClient. + * An instance of this class provides access to all the operations defined in CustomIPPrefixesClient. */ -public interface CustomIpPrefixesClient extends InnerSupportsGet, +public interface CustomIPPrefixesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String customIpPrefixName); - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String customIpPrefixName); - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 customIpPrefixName); - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 customIpPrefixName, - Context context); - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String customIpPrefixName); - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 customIpPrefixName); - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 customIpPrefixName, Context context); - /** * Gets the specified custom IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -138,7 +46,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified custom IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -151,7 +59,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified custom IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -167,7 +75,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Gets the specified custom IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -180,7 +88,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -195,7 +103,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -210,7 +118,7 @@ PollerFlux, CustomIpPrefixInner> beginCreateOrUp /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -225,7 +133,7 @@ SyncPoller, CustomIpPrefixInner> beginCreateOrUp /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @param context The context to associate with this operation. @@ -241,7 +149,7 @@ SyncPoller, CustomIpPrefixInner> beginCreateOrUp /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -256,7 +164,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String c /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -271,7 +179,7 @@ CustomIpPrefixInner createOrUpdate(String resourceGroupName, String customIpPref /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @param context The context to associate with this operation. @@ -287,7 +195,7 @@ CustomIpPrefixInner createOrUpdate(String resourceGroupName, String customIpPref /** * Updates custom IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to update custom IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -302,7 +210,7 @@ Mono> updateTagsWithResponseAsync(String resourceG /** * Updates custom IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to update custom IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -317,7 +225,7 @@ Mono updateTagsAsync(String resourceGroupName, String custo /** * Updates custom IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to update custom IP prefix tags. * @param context The context to associate with this operation. @@ -333,7 +241,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Updates custom IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to update custom IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -345,41 +253,101 @@ Response updateTagsWithResponse(String resourceGroupName, S CustomIpPrefixInner updateTags(String resourceGroupName, String customIpPrefixName, TagsObject parameters); /** - * Gets all the custom IP prefixes in a subscription. + * Deletes the specified custom IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 all the custom IP prefixes in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String customIpPrefixName); /** - * Gets all the custom IP prefixes in a subscription. + * Deletes the specified custom IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 all the custom IP prefixes in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String customIpPrefixName); /** - * Gets all the custom IP prefixes in a subscription. + * Deletes the specified custom IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 customIpPrefixName); + + /** + * Deletes the specified custom IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. * @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 all the custom IP prefixes in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String customIpPrefixName, + Context context); + + /** + * Deletes the specified custom IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String customIpPrefixName); + + /** + * Deletes the specified custom IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 customIpPrefixName); + + /** + * Deletes the specified custom IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 customIpPrefixName, Context context); /** * Gets all custom IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -391,7 +359,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets all custom IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -403,7 +371,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets all custom IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -412,4 +380,36 @@ Response updateTagsWithResponse(String resourceGroupName, S */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all the custom IP prefixes in a 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 all the custom IP prefixes in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all the custom IP prefixes in a 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 all the custom IP prefixes in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all the custom IP prefixes in a 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 all the custom IP prefixes in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java index fc7141a7d23e..636f8779ddd1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,102 +23,10 @@ * An instance of this class provides access to all the operations defined in DdosCustomPoliciesClient. */ public interface DdosCustomPoliciesClient extends InnerSupportsGet, InnerSupportsDelete { - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName); - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ddosCustomPolicyName); - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 ddosCustomPolicyName); - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 ddosCustomPolicyName, - Context context); - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String ddosCustomPolicyName); - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 ddosCustomPolicyName); - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 ddosCustomPolicyName, Context context); - /** * Gets information about the specified DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -133,7 +41,7 @@ Mono> getByResourceGroupWithResponseAsync(String /** * Gets information about the specified DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -146,7 +54,7 @@ Mono> getByResourceGroupWithResponseAsync(String /** * Gets information about the specified DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -161,7 +69,7 @@ Response getByResourceGroupWithResponse(String resourceGr /** * Gets information about the specified DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -174,7 +82,7 @@ Response getByResourceGroupWithResponse(String resourceGr /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -190,7 +98,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -205,7 +113,7 @@ PollerFlux, DdosCustomPolicyInner> beginCreate /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -220,7 +128,7 @@ SyncPoller, DdosCustomPolicyInner> beginCreate /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -236,7 +144,7 @@ SyncPoller, DdosCustomPolicyInner> beginCreate /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -251,7 +159,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -266,7 +174,7 @@ DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddosCustom /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -282,7 +190,7 @@ DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddosCustom /** * Update a DDoS custom policy tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to update DDoS custom policy resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -298,7 +206,7 @@ Mono> updateTagsWithResponseAsync(String resourc /** * Update a DDoS custom policy tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to update DDoS custom policy resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -313,7 +221,7 @@ Mono updateTagsAsync(String resourceGroupName, String ddo /** * Update a DDoS custom policy tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to update DDoS custom policy resource tags. * @param context The context to associate with this operation. @@ -329,7 +237,7 @@ Response updateTagsWithResponse(String resourceGroupName, /** * Update a DDoS custom policy tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to update DDoS custom policy resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -339,4 +247,96 @@ Response updateTagsWithResponse(String resourceGroupName, */ @ServiceMethod(returns = ReturnType.SINGLE) DdosCustomPolicyInner updateTags(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters); + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName); + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ddosCustomPolicyName); + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 ddosCustomPolicyName); + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 ddosCustomPolicyName, + Context context); + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String ddosCustomPolicyName); + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 ddosCustomPolicyName); + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 ddosCustomPolicyName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java index 5e25518fd909..e3391995a401 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,102 +27,10 @@ */ public interface DdosProtectionPlansClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName); - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ddosProtectionPlanName); - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 ddosProtectionPlanName); - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 ddosProtectionPlanName, - Context context); - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String ddosProtectionPlanName); - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 ddosProtectionPlanName); - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 ddosProtectionPlanName, Context context); - /** * Gets information about the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -137,7 +45,7 @@ Mono> getByResourceGroupWithResponseAsync(Stri /** * Gets information about the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -150,7 +58,7 @@ Mono> getByResourceGroupWithResponseAsync(Stri /** * Gets information about the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -165,7 +73,7 @@ Response getByResourceGroupWithResponse(String resource /** * Gets information about the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -178,7 +86,7 @@ Response getByResourceGroupWithResponse(String resource /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -194,7 +102,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -209,7 +117,7 @@ PollerFlux, DdosProtectionPlanInner> beginCr /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -224,7 +132,7 @@ SyncPoller, DdosProtectionPlanInner> beginCr /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -240,7 +148,7 @@ SyncPoller, DdosProtectionPlanInner> beginCr /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -255,7 +163,7 @@ Mono createOrUpdateAsync(String resourceGroupName, Stri /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -270,7 +178,7 @@ DdosProtectionPlanInner createOrUpdate(String resourceGroupName, String ddosProt /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -286,7 +194,7 @@ DdosProtectionPlanInner createOrUpdate(String resourceGroupName, String ddosProt /** * Update a DDoS protection plan tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the update DDoS protection plan resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -302,7 +210,7 @@ Mono> updateTagsWithResponseAsync(String resou /** * Update a DDoS protection plan tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the update DDoS protection plan resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -317,7 +225,7 @@ Mono updateTagsAsync(String resourceGroupName, String d /** * Update a DDoS protection plan tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the update DDoS protection plan resource tags. * @param context The context to associate with this operation. @@ -333,7 +241,7 @@ Response updateTagsWithResponse(String resourceGroupNam /** * Update a DDoS protection plan tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the update DDoS protection plan resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -345,41 +253,101 @@ Response updateTagsWithResponse(String resourceGroupNam DdosProtectionPlanInner updateTags(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters); /** - * Gets all DDoS protection plans in a subscription. + * Deletes the specified DDoS protection plan. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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 all DDoS protection plans in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName); /** - * Gets all DDoS protection plans in a subscription. + * Deletes the specified DDoS protection plan. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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 all DDoS protection plans in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ddosProtectionPlanName); /** - * Gets all DDoS protection plans in a subscription. + * Deletes the specified DDoS protection plan. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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 ddosProtectionPlanName); + + /** + * Deletes the specified DDoS protection plan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. * @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 all DDoS protection plans in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String ddosProtectionPlanName, + Context context); + + /** + * Deletes the specified DDoS protection plan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String ddosProtectionPlanName); + + /** + * Deletes the specified DDoS protection plan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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 ddosProtectionPlanName); + + /** + * Deletes the specified DDoS protection plan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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 ddosProtectionPlanName, Context context); /** * Gets all the DDoS protection plans in a resource group. * - * @param resourceGroupName The name of the 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. @@ -391,7 +359,7 @@ Response updateTagsWithResponse(String resourceGroupNam /** * Gets all the DDoS protection plans in a resource group. * - * @param resourceGroupName The name of the 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. @@ -403,7 +371,7 @@ Response updateTagsWithResponse(String resourceGroupNam /** * Gets all the DDoS protection plans in a resource group. * - * @param resourceGroupName The name of the 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. @@ -412,4 +380,36 @@ Response updateTagsWithResponse(String resourceGroupNam */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all DDoS protection plans in a 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 all DDoS protection plans in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all DDoS protection plans in a 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 all DDoS protection plans in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all DDoS protection plans in a 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 all DDoS protection plans in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java index 304873a96364..5ed278b4362a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,103 +18,103 @@ */ public interface DefaultSecurityRulesClient { /** - * Gets all default security rules in a network security group. + * Get the specified default network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. + * @param defaultSecurityRuleName The name of the default security rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all default security rules in a network security group as paginated response with {@link PagedFlux}. + * @return the specified default network security rule along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkSecurityGroupName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, + String defaultSecurityRuleName); /** - * Gets all default security rules in a network security group. + * Get the specified default network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. + * @param defaultSecurityRuleName The name of the default security rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all default security rules in a network security group as paginated response with {@link PagedIterable}. + * @return the specified default network security rule on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkSecurityGroupName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String networkSecurityGroupName, + String defaultSecurityRuleName); /** - * Gets all default security rules in a network security group. + * Get the specified default network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. + * @param defaultSecurityRuleName The name of the default security rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all default security rules in a network security group as paginated response with {@link PagedIterable}. + * @return the specified default network security rule along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkSecurityGroupName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String networkSecurityGroupName, + String defaultSecurityRuleName, Context context); /** * Get the specified default network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param defaultSecurityRuleName The name of the default security rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified default network security rule along with {@link Response} on successful completion of - * {@link Mono}. + * @return the specified default network security rule. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, - String defaultSecurityRuleName); + SecurityRuleInner get(String resourceGroupName, String networkSecurityGroupName, String defaultSecurityRuleName); /** - * Get the specified default network security rule. + * Gets all default security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param defaultSecurityRuleName The name of the default security rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified default network security rule on successful completion of {@link Mono}. + * @return all default security rules in a network security group as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String networkSecurityGroupName, - String defaultSecurityRuleName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkSecurityGroupName); /** - * Get the specified default network security rule. + * Gets all default security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param defaultSecurityRuleName The name of the default security rule. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified default network security rule along with {@link Response}. + * @return all default security rules in a network security group as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String networkSecurityGroupName, - String defaultSecurityRuleName, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkSecurityGroupName); /** - * Get the specified default network security rule. + * Gets all default security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param defaultSecurityRuleName The name of the default security rule. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified default network security rule. + * @return all default security rules in a network security group as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - SecurityRuleInner get(String resourceGroupName, String networkSecurityGroupName, String defaultSecurityRuleName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkSecurityGroupName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java index ae9bc32a80a5..066af3e9aaf8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -26,12 +26,67 @@ */ public interface DscpConfigurationsClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { + /** + * Gets a DSCP Configuration. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dscpConfigurationName The name of the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a DSCP Configuration along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String dscpConfigurationName); + + /** + * Gets a DSCP Configuration. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dscpConfigurationName The name of the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a DSCP Configuration on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, String dscpConfigurationName); + + /** + * Gets a DSCP Configuration. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dscpConfigurationName The name of the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a DSCP Configuration along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, + String dscpConfigurationName, Context context); + + /** + * Gets a DSCP Configuration. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dscpConfigurationName The name of the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a DSCP Configuration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + DscpConfigurationInner getByResourceGroup(String resourceGroupName, String dscpConfigurationName); + /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration 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. @@ -45,9 +100,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration 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. @@ -61,9 +116,9 @@ PollerFlux, DscpConfigurationInner> beginCrea /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration 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. @@ -77,9 +132,9 @@ SyncPoller, DscpConfigurationInner> beginCrea /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration operation. * @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. @@ -94,9 +149,9 @@ SyncPoller, DscpConfigurationInner> beginCrea /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration 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. @@ -110,9 +165,9 @@ Mono createOrUpdateAsync(String resourceGroupName, Strin /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration 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. @@ -125,9 +180,9 @@ DscpConfigurationInner createOrUpdate(String resourceGroupName, String dscpConfi /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration operation. * @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. @@ -141,7 +196,7 @@ DscpConfigurationInner createOrUpdate(String resourceGroupName, String dscpConfi /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -154,7 +209,7 @@ DscpConfigurationInner createOrUpdate(String resourceGroupName, String dscpConfi /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -167,7 +222,7 @@ DscpConfigurationInner createOrUpdate(String resourceGroupName, String dscpConfi /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -180,7 +235,7 @@ DscpConfigurationInner createOrUpdate(String resourceGroupName, String dscpConfi /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -195,7 +250,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -208,7 +263,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -220,7 +275,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -233,62 +288,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Gets a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. - * @param dscpConfigurationName The name of the resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a DSCP Configuration along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String dscpConfigurationName); - - /** - * Gets a DSCP Configuration. - * - * @param resourceGroupName The name of the resource group. - * @param dscpConfigurationName The name of the resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a DSCP Configuration on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String dscpConfigurationName); - - /** - * Gets a DSCP Configuration. - * - * @param resourceGroupName The name of the resource group. - * @param dscpConfigurationName The name of the resource. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a DSCP Configuration along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, - String dscpConfigurationName, Context context); - - /** - * Gets a DSCP Configuration. - * - * @param resourceGroupName The name of the resource group. - * @param dscpConfigurationName The name of the resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a DSCP Configuration. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - DscpConfigurationInner getByResourceGroup(String resourceGroupName, String dscpConfigurationName); - - /** - * Gets a DSCP Configuration. - * - * @param resourceGroupName The name of the 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. @@ -300,7 +300,7 @@ Response getByResourceGroupWithResponse(String resourceG /** * Gets a DSCP Configuration. * - * @param resourceGroupName The name of the 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. @@ -312,7 +312,7 @@ Response getByResourceGroupWithResponse(String resourceG /** * Gets a DSCP Configuration. * - * @param resourceGroupName The name of the 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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java new file mode 100644 index 000000000000..46d507b606c3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java @@ -0,0 +1,159 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.EffectiveBaseSecurityAdminRuleInner; +import com.azure.resourcemanager.network.fluent.models.EffectiveConnectivityConfigurationInner; +import com.azure.resourcemanager.network.models.QueryRequestOptions; + +/** + * An instance of this class provides access to all the operations defined in EffectiveConfigurationsClient. + */ +public interface EffectiveConfigurationsClient { + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listNetworkManagerEffectiveConnectivityConfigurationsAsync( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top); + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listNetworkManagerEffectiveConnectivityConfigurationsAsync( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listNetworkManagerEffectiveConnectivityConfigurations( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listNetworkManagerEffectiveConnectivityConfigurations( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, + Context context); + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listNetworkManagerEffectiveSecurityAdminRulesAsync( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top); + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listNetworkManagerEffectiveSecurityAdminRulesAsync( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listNetworkManagerEffectiveSecurityAdminRules( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listNetworkManagerEffectiveSecurityAdminRules( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, + Context context); +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java index c1242705a18f..eb4f506c988e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,113 +22,11 @@ * An instance of this class provides access to all the operations defined in ExpressRouteCircuitAuthorizationsClient. */ public interface ExpressRouteCircuitAuthorizationsClient { - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, - String authorizationName); - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, - String authorizationName); - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 circuitName, - String authorizationName); - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 circuitName, - String authorizationName, Context context); - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String circuitName, String authorizationName); - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 circuitName, String authorizationName); - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 circuitName, String authorizationName, Context context); - /** * Gets the specified authorization from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -143,8 +41,8 @@ Mono> getWithResponseAsync(Strin /** * Gets the specified authorization from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -159,8 +57,8 @@ Mono getAsync(String resourceGroupName, S /** * Gets the specified authorization from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -175,8 +73,8 @@ Response getWithResponse(String resourceG /** * Gets the specified authorization from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -189,8 +87,8 @@ Response getWithResponse(String resourceG /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -207,8 +105,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -225,8 +123,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -243,8 +141,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -262,8 +160,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -279,8 +177,8 @@ Mono createOrUpdateAsync(String resourceG /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -296,8 +194,8 @@ ExpressRouteCircuitAuthorizationInner createOrUpdate(String resourceGroupName, S /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -311,11 +209,113 @@ ExpressRouteCircuitAuthorizationInner createOrUpdate(String resourceGroupName, S ExpressRouteCircuitAuthorizationInner createOrUpdate(String resourceGroupName, String circuitName, String authorizationName, ExpressRouteCircuitAuthorizationInner authorizationParameters, Context context); + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + String authorizationName); + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, + String authorizationName); + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 circuitName, + String authorizationName); + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 circuitName, + String authorizationName, Context context); + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String circuitName, String authorizationName); + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 circuitName, String authorizationName); + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 circuitName, String authorizationName, Context context); + /** * Gets all authorizations in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -327,8 +327,8 @@ ExpressRouteCircuitAuthorizationInner createOrUpdate(String resourceGroupName, S /** * Gets all authorizations in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -340,8 +340,8 @@ ExpressRouteCircuitAuthorizationInner createOrUpdate(String resourceGroupName, S /** * Gets all authorizations in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java index 72cc7014909a..c9875ad1938c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,121 +22,11 @@ * An instance of this class provides access to all the operations defined in ExpressRouteCircuitConnectionsClient. */ public interface ExpressRouteCircuitConnectionsClient { - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, - String peeringName, String connectionName); - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, - String peeringName, String connectionName); - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 circuitName, String peeringName, - String connectionName); - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 circuitName, String peeringName, - String connectionName, Context context); - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName, String connectionName); - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 circuitName, String peeringName, String connectionName); - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 circuitName, String peeringName, String connectionName, - Context context); - /** * Gets the specified Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -152,8 +42,8 @@ Mono> getWithResponseAsync(String r /** * Gets the specified Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -169,8 +59,8 @@ Mono getAsync(String resourceGroupName, Stri /** * Gets the specified Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param context The context to associate with this operation. @@ -187,8 +77,8 @@ Response getWithResponse(String resourceGrou /** * Gets the specified Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -203,8 +93,8 @@ ExpressRouteCircuitConnectionInner get(String resourceGroupName, String circuitN /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -223,8 +113,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -243,8 +133,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -263,8 +153,8 @@ SyncPoller, ExpressRouteCircuitCo /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -284,8 +174,8 @@ SyncPoller, ExpressRouteCircuitCo /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -304,8 +194,8 @@ Mono createOrUpdateAsync(String resourceGrou /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -322,8 +212,8 @@ ExpressRouteCircuitConnectionInner createOrUpdate(String resourceGroupName, Stri /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -339,11 +229,121 @@ ExpressRouteCircuitConnectionInner createOrUpdate(String resourceGroupName, Stri String connectionName, ExpressRouteCircuitConnectionInner expressRouteCircuitConnectionParameters, Context context); + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + String peeringName, String connectionName); + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, + String peeringName, String connectionName); + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 circuitName, String peeringName, + String connectionName); + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 circuitName, String peeringName, + String connectionName, Context context); + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName, String connectionName); + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 circuitName, String peeringName, String connectionName); + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 circuitName, String peeringName, String connectionName, + Context context); + /** * Gets all global reach connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -358,8 +358,8 @@ PagedFlux listAsync(String resourceGroupName /** * Gets all global reach connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -374,8 +374,8 @@ PagedIterable list(String resourceGroupName, /** * Gets all global reach connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java index 78cd35c07940..2794482c90d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,289 +23,289 @@ */ public interface ExpressRouteCircuitPeeringsClient { /** - * Deletes the specified peering from the specified express route circuit. + * Gets the specified peering for the express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @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 Response} on successful completion of {@link Mono}. + * @return the specified peering for the express route circuit along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + Mono> getWithResponseAsync(String resourceGroupName, String circuitName, String peeringName); /** - * Deletes the specified peering from the specified express route circuit. + * Gets the specified peering for the express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @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 PollerFlux} for polling of long-running operation. + * @return the specified peering for the express route circuit on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, - String peeringName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String circuitName, String peeringName); /** - * Deletes the specified peering from the specified express route circuit. + * Gets the specified peering for the express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. + * @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. + * @return the specified peering for the express route circuit along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String circuitName, String peeringName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String circuitName, + String peeringName, Context context); /** - * Deletes the specified peering from the specified express route circuit. + * Gets the specified peering for the express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @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. + * @return the specified peering for the express route circuit. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String circuitName, String peeringName, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + ExpressRouteCircuitPeeringInner get(String resourceGroupName, String circuitName, String peeringName); /** - * Deletes the specified peering from the specified express route circuit. + * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. + * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return peering in an ExpressRouteCircuit resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String circuitName, + String peeringName, ExpressRouteCircuitPeeringInner peeringParameters); /** - * Deletes the specified peering from the specified express route circuit. + * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. + * @param peeringParameters Parameters supplied to the create or update express route circuit peering 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 PollerFlux} for polling of peering in an ExpressRouteCircuit resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String circuitName, String peeringName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, ExpressRouteCircuitPeeringInner> beginCreateOrUpdateAsync( + String resourceGroupName, String circuitName, String peeringName, + ExpressRouteCircuitPeeringInner peeringParameters); /** - * Deletes the specified peering from the specified express route circuit. + * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param context The context to associate with this operation. + * @param peeringParameters Parameters supplied to the create or update express route circuit peering 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 peering in an ExpressRouteCircuit resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String circuitName, String peeringName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, ExpressRouteCircuitPeeringInner> beginCreateOrUpdate( + String resourceGroupName, String circuitName, String peeringName, + ExpressRouteCircuitPeeringInner peeringParameters); /** - * Gets the specified peering for the express route circuit. + * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. + * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. + * @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 peering for the express route circuit along with {@link Response} on successful completion - * of {@link Mono}. + * @return the {@link SyncPoller} for polling of peering in an ExpressRouteCircuit resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String circuitName, - String peeringName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, ExpressRouteCircuitPeeringInner> beginCreateOrUpdate( + String resourceGroupName, String circuitName, String peeringName, + ExpressRouteCircuitPeeringInner peeringParameters, Context context); /** - * Gets the specified peering for the express route circuit. + * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. + * @param peeringParameters Parameters supplied to the create or update express route circuit peering 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 peering for the express route circuit on successful completion of {@link Mono}. + * @return peering in an ExpressRouteCircuit resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String circuitName, String peeringName); + Mono createOrUpdateAsync(String resourceGroupName, String circuitName, + String peeringName, ExpressRouteCircuitPeeringInner peeringParameters); /** - * Gets the specified peering for the express route circuit. + * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param context The context to associate with this operation. + * @param peeringParameters Parameters supplied to the create or update express route circuit peering 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 peering for the express route circuit along with {@link Response}. + * @return peering in an ExpressRouteCircuit resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String circuitName, - String peeringName, Context context); + ExpressRouteCircuitPeeringInner createOrUpdate(String resourceGroupName, String circuitName, String peeringName, + ExpressRouteCircuitPeeringInner peeringParameters); /** - * Gets the specified peering for the express route circuit. + * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. + * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. + * @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 peering for the express route circuit. + * @return peering in an ExpressRouteCircuit resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - ExpressRouteCircuitPeeringInner get(String resourceGroupName, String circuitName, String peeringName); + ExpressRouteCircuitPeeringInner createOrUpdate(String resourceGroupName, String circuitName, String peeringName, + ExpressRouteCircuitPeeringInner peeringParameters, Context context); /** - * Creates or updates a peering in the specified express route circuits. + * Deletes the specified peering from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param peeringParameters Parameters supplied to the create or update express route circuit peering 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 peering in an ExpressRouteCircuit resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String circuitName, - String peeringName, ExpressRouteCircuitPeeringInner peeringParameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + String peeringName); /** - * Creates or updates a peering in the specified express route circuits. + * Deletes the specified peering from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param peeringParameters Parameters supplied to the create or update express route circuit peering 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 PollerFlux} for polling of peering in an ExpressRouteCircuit resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ExpressRouteCircuitPeeringInner> beginCreateOrUpdateAsync( - String resourceGroupName, String circuitName, String peeringName, - ExpressRouteCircuitPeeringInner peeringParameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, + String peeringName); /** - * Creates or updates a peering in the specified express route circuits. + * Deletes the specified peering from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param peeringParameters Parameters supplied to the create or update express route circuit peering 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 peering in an ExpressRouteCircuit resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ExpressRouteCircuitPeeringInner> beginCreateOrUpdate( - String resourceGroupName, String circuitName, String peeringName, - ExpressRouteCircuitPeeringInner peeringParameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String circuitName, String peeringName); /** - * Creates or updates a peering in the specified express route circuits. + * Deletes the specified peering from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @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 peering in an ExpressRouteCircuit resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ExpressRouteCircuitPeeringInner> beginCreateOrUpdate( - String resourceGroupName, String circuitName, String peeringName, - ExpressRouteCircuitPeeringInner peeringParameters, Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String circuitName, String peeringName, + Context context); /** - * Creates or updates a peering in the specified express route circuits. + * Deletes the specified peering from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param peeringParameters Parameters supplied to the create or update express route circuit peering 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 peering in an ExpressRouteCircuit resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String circuitName, - String peeringName, ExpressRouteCircuitPeeringInner peeringParameters); + Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName); /** - * Creates or updates a peering in the specified express route circuits. + * Deletes the specified peering from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param peeringParameters Parameters supplied to the create or update express route circuit peering 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 peering in an ExpressRouteCircuit resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - ExpressRouteCircuitPeeringInner createOrUpdate(String resourceGroupName, String circuitName, String peeringName, - ExpressRouteCircuitPeeringInner peeringParameters); + void delete(String resourceGroupName, String circuitName, String peeringName); /** - * Creates or updates a peering in the specified express route circuits. + * Deletes the specified peering from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @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 peering in an ExpressRouteCircuit resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - ExpressRouteCircuitPeeringInner createOrUpdate(String resourceGroupName, String circuitName, String peeringName, - ExpressRouteCircuitPeeringInner peeringParameters, Context context); + void delete(String resourceGroupName, String circuitName, String peeringName, Context context); /** * Gets all peerings in a specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -317,8 +317,8 @@ ExpressRouteCircuitPeeringInner createOrUpdate(String resourceGroupName, String /** * Gets all peerings in a specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -330,8 +330,8 @@ ExpressRouteCircuitPeeringInner createOrUpdate(String resourceGroupName, String /** * Gets all peerings in a specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java index 923f6041f869..c4f04e489fd8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -31,101 +31,10 @@ */ public interface ExpressRouteCircuitsClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName); - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName); - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 circuitName); - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 circuitName, Context context); - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String circuitName); - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 circuitName); - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 circuitName, Context context); - /** * Gets information about the specified express route circuit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param circuitName The name of express route circuit. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -140,7 +49,7 @@ Mono> getByResourceGroupWithResponseAsync(Str /** * Gets information about the specified express route circuit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param circuitName The name of express route circuit. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -153,7 +62,7 @@ Mono> getByResourceGroupWithResponseAsync(Str /** * Gets information about the specified express route circuit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param circuitName The name of express route circuit. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -168,7 +77,7 @@ Response getByResourceGroupWithResponse(String resourc /** * Gets information about the specified express route circuit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param circuitName The name of express route circuit. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -181,8 +90,8 @@ Response getByResourceGroupWithResponse(String resourc /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -196,8 +105,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -211,8 +120,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -226,8 +135,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -242,8 +151,8 @@ SyncPoller, ExpressRouteCircuitInner> begin /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -257,8 +166,8 @@ Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -272,8 +181,8 @@ ExpressRouteCircuitInner createOrUpdate(String resourceGroupName, String circuit /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -288,8 +197,8 @@ ExpressRouteCircuitInner createOrUpdate(String resourceGroupName, String circuit /** * Updates an express route circuit tags. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to update express route circuit tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -303,8 +212,8 @@ Mono> updateTagsWithResponseAsync(String reso /** * Updates an express route circuit tags. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to update express route circuit tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -317,8 +226,8 @@ Mono> updateTagsWithResponseAsync(String reso /** * Updates an express route circuit tags. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to update express route circuit tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -333,8 +242,8 @@ Response updateTagsWithResponse(String resourceGroupNa /** * Updates an express route circuit tags. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to update express route circuit tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -344,13 +253,229 @@ Response updateTagsWithResponse(String resourceGroupNa @ServiceMethod(returns = ReturnType.SINGLE) ExpressRouteCircuitInner updateTags(String resourceGroupName, String circuitName, TagsObject parameters); + /** + * Deletes the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName); + + /** + * Deletes the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName); + + /** + * Deletes the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 circuitName); + + /** + * Deletes the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 circuitName, Context context); + + /** + * Deletes the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String circuitName); + + /** + * Deletes the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 circuitName); + + /** + * Deletes the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 circuitName, Context context); + + /** + * Gets all the express route circuits in a 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 all the express route circuits in a resource group as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); + + /** + * Gets all the express route circuits in a 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 all the express route circuits in a resource group as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Gets all the express route circuits in a 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 all the express route circuits in a resource group as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all the express route circuits in a 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 all the express route circuits in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all the express route circuits in a 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 all the express route circuits in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all the express route circuits in a 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 all the express route circuits in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); + + /** + * Gets all the stats from an express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 all the stats from an express route circuit in a resource group along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getStatsWithResponseAsync(String resourceGroupName, + String circuitName); + + /** + * Gets all the stats from an express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 all the stats from an express route circuit in a resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getStatsAsync(String resourceGroupName, String circuitName); + + /** + * Gets all the stats from an express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 all the stats from an express route circuit in a resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getStatsWithResponse(String resourceGroupName, String circuitName, + Context context); + + /** + * Gets all the stats from an express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 all the stats from an express route circuit in a resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ExpressRouteCircuitStatsInner getStats(String resourceGroupName, String circuitName); + /** * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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. @@ -364,10 +489,10 @@ Mono>> listArpTableWithResponseAsync(String resourceGr /** * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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. @@ -381,10 +506,10 @@ Mono>> listArpTableWithResponseAsync(String resourceGr /** * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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. @@ -398,10 +523,10 @@ Mono>> listArpTableWithResponseAsync(String resourceGr /** * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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. @@ -417,10 +542,10 @@ Mono>> listArpTableWithResponseAsync(String resourceGr /** * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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. @@ -434,10 +559,10 @@ Mono listArpTableAsync(String resou /** * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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. @@ -450,10 +575,10 @@ ExpressRouteCircuitsArpTableListResultInner listArpTable(String resourceGroupNam /** * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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. @@ -467,10 +592,10 @@ ExpressRouteCircuitsArpTableListResultInner listArpTable(String resourceGroupNam /** * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTables. * @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. @@ -484,10 +609,10 @@ Mono>> listRoutesTableWithResponseAsync(String resourc /** * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTables. * @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. @@ -501,10 +626,10 @@ Mono>> listRoutesTableWithResponseAsync(String resourc /** * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTables. * @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. @@ -518,10 +643,10 @@ Mono>> listRoutesTableWithResponseAsync(String resourc /** * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTables. * @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. @@ -537,10 +662,10 @@ Mono>> listRoutesTableWithResponseAsync(String resourc /** * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTables. * @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. @@ -554,10 +679,10 @@ Mono listRoutesTableAsync(String /** * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTables. * @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. @@ -570,10 +695,10 @@ ExpressRouteCircuitsRoutesTableListResultInner listRoutesTable(String resourceGr /** * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTables. * @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. @@ -587,10 +712,10 @@ ExpressRouteCircuitsRoutesTableListResultInner listRoutesTable(String resourceGr /** * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTablesSummary. * @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. @@ -604,10 +729,10 @@ Mono>> listRoutesTableSummaryWithResponseAsync(String /** * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTablesSummary. * @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. @@ -622,10 +747,10 @@ Mono>> listRoutesTableSummaryWithResponseAsync(String /** * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTablesSummary. * @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. @@ -640,10 +765,10 @@ Mono>> listRoutesTableSummaryWithResponseAsync(String /** * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTablesSummary. * @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. @@ -659,10 +784,10 @@ Mono>> listRoutesTableSummaryWithResponseAsync(String /** * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTablesSummary. * @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. @@ -676,10 +801,10 @@ Mono listRoutesTableSumma /** * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTablesSummary. * @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. @@ -693,10 +818,10 @@ ExpressRouteCircuitsRoutesTableSummaryListResultInner listRoutesTableSummary(Str /** * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the routeTablesSummary. * @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. @@ -708,67 +833,11 @@ ExpressRouteCircuitsRoutesTableSummaryListResultInner listRoutesTableSummary(Str ExpressRouteCircuitsRoutesTableSummaryListResultInner listRoutesTableSummary(String resourceGroupName, String circuitName, String peeringName, String devicePath, Context context); - /** - * Gets all the stats from an express route circuit in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 all the stats from an express route circuit in a resource group along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getStatsWithResponseAsync(String resourceGroupName, - String circuitName); - - /** - * Gets all the stats from an express route circuit in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 all the stats from an express route circuit in a resource group on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getStatsAsync(String resourceGroupName, String circuitName); - - /** - * Gets all the stats from an express route circuit in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 all the stats from an express route circuit in a resource group along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getStatsWithResponse(String resourceGroupName, String circuitName, - Context context); - - /** - * Gets all the stats from an express route circuit in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 all the stats from an express route circuit in a resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - ExpressRouteCircuitStatsInner getStats(String resourceGroupName, String circuitName); - /** * Gets all stats from an express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -783,8 +852,8 @@ Mono> getPeeringStatsWithResponseAsync(S /** * Gets all stats from an express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -798,8 +867,8 @@ Mono getPeeringStatsAsync(String resourceGroupNam /** * Gets all stats from an express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -814,8 +883,8 @@ Response getPeeringStatsWithResponse(String resou /** * Gets all stats from an express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -824,73 +893,4 @@ Response getPeeringStatsWithResponse(String resou */ @ServiceMethod(returns = ReturnType.SINGLE) ExpressRouteCircuitStatsInner getPeeringStats(String resourceGroupName, String circuitName, String peeringName); - - /** - * Gets all the express route circuits in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 all the express route circuits in a resource group as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); - - /** - * Gets all the express route circuits in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 all the express route circuits in a resource group as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); - - /** - * Gets all the express route circuits in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 all the express route circuits in a resource group as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); - - /** - * Gets all the express route circuits in a 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 all the express route circuits in a subscription as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); - - /** - * Gets all the express route circuits in a 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 all the express route circuits in a subscription as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); - - /** - * Gets all the express route circuits in a 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 all the express route circuits in a subscription as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java index 7c1a20cebc24..4b35a384c638 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java @@ -1,18 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +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.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionInner; -import com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionListInner; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -24,9 +25,9 @@ public interface ExpressRouteConnectionsClient { /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -41,9 +42,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -58,9 +59,9 @@ PollerFlux, ExpressRouteConnectionInner> /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -75,9 +76,9 @@ SyncPoller, ExpressRouteConnectionInner> /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -93,9 +94,9 @@ SyncPoller, ExpressRouteConnectionInner> /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -109,9 +110,9 @@ Mono createOrUpdateAsync(String resourceGroupName, /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -125,9 +126,9 @@ ExpressRouteConnectionInner createOrUpdate(String resourceGroupName, String expr /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -142,9 +143,9 @@ ExpressRouteConnectionInner createOrUpdate(String resourceGroupName, String expr /** * Gets the specified ExpressRouteConnection. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the ExpressRoute connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -158,9 +159,9 @@ Mono> getWithResponseAsync(String resource /** * Gets the specified ExpressRouteConnection. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the ExpressRoute connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -173,9 +174,9 @@ Mono getAsync(String resourceGroupName, String expr /** * Gets the specified ExpressRouteConnection. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the ExpressRoute connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -189,9 +190,9 @@ Response getWithResponse(String resourceGroupName, /** * Gets the specified ExpressRouteConnection. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the ExpressRoute connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -203,9 +204,9 @@ Response getWithResponse(String resourceGroupName, /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -218,9 +219,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -233,9 +234,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -248,9 +249,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -264,9 +265,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -278,9 +279,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -291,9 +292,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -305,55 +306,41 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Lists ExpressRouteConnections. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRouteConnection list along with {@link Response} on successful completion of {@link Mono}. + * @return expressRouteConnection list as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listWithResponseAsync(String resourceGroupName, - String expressRouteGatewayName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String expressRouteGatewayName); /** * Lists ExpressRouteConnections. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRouteConnection list on successful completion of {@link Mono}. + * @return expressRouteConnection list as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listAsync(String resourceGroupName, String expressRouteGatewayName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String expressRouteGatewayName); /** * Lists ExpressRouteConnections. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRouteConnection list along with {@link Response}. + * @return expressRouteConnection list as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response listWithResponse(String resourceGroupName, String expressRouteGatewayName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String expressRouteGatewayName, Context context); - - /** - * Lists ExpressRouteConnections. - * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @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 expressRouteConnection list. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - ExpressRouteConnectionListInner list(String resourceGroupName, String expressRouteGatewayName); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java index a34f9acd33e3..ee9a7e585944 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -25,8 +25,8 @@ public interface ExpressRouteCrossConnectionPeeringsClient { /** * Gets all peerings in a specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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. @@ -38,8 +38,8 @@ public interface ExpressRouteCrossConnectionPeeringsClient { /** * Gets all peerings in a specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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. @@ -51,8 +51,8 @@ public interface ExpressRouteCrossConnectionPeeringsClient { /** * Gets all peerings in a specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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. @@ -66,8 +66,8 @@ PagedIterable list(String resourceGroup /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -81,8 +81,8 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -96,8 +96,8 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -111,8 +111,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -127,8 +127,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -141,8 +141,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -154,8 +154,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -168,8 +168,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Gets the specified peering for the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -184,8 +184,8 @@ Mono> getWithResponseAsync(Str /** * Gets the specified peering for the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -199,8 +199,8 @@ Mono getAsync(String resourceGroupName, /** * Gets the specified peering for the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -215,8 +215,8 @@ Response getWithResponse(String resourc /** * Gets the specified peering for the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -230,8 +230,8 @@ ExpressRouteCrossConnectionPeeringInner get(String resourceGroupName, String cro /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -248,8 +248,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -266,8 +266,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -284,8 +284,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -303,8 +303,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -320,8 +320,8 @@ Mono createOrUpdateAsync(String resourc /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -337,8 +337,8 @@ ExpressRouteCrossConnectionPeeringInner createOrUpdate(String resourceGroupName, /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java index 1fe1624ed1d9..64ada11661fe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -29,101 +29,10 @@ */ public interface ExpressRouteCrossConnectionsClient extends InnerSupportsGet, InnerSupportsListing { - /** - * Retrieves all the ExpressRouteCrossConnections in a subscription. - * - * @param filter The filter to apply on the operation. For example, you can use $filter=name eq - * '{circuitServiceKey}'. - * @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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String filter); - - /** - * Retrieves all the ExpressRouteCrossConnections in a 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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); - - /** - * Retrieves all the ExpressRouteCrossConnections in a 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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); - - /** - * Retrieves all the ExpressRouteCrossConnections in a subscription. - * - * @param filter The filter to apply on the operation. For example, you can use $filter=name eq - * '{circuitServiceKey}'. - * @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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String filter, Context context); - - /** - * Retrieves all the ExpressRouteCrossConnections in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); - - /** - * Retrieves all the ExpressRouteCrossConnections in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); - - /** - * Retrieves all the ExpressRouteCrossConnections in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); - /** * Gets details about the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group (peering location of the circuit). + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -138,7 +47,7 @@ Mono> getByResourceGroupWithResponseA /** * Gets details about the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group (peering location of the circuit). + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -152,7 +61,7 @@ Mono getByResourceGroupAsync(String resourceGr /** * Gets details about the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group (peering location of the circuit). + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -167,7 +76,7 @@ Response getByResourceGroupWithResponse(String /** * Gets details about the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group (peering location of the circuit). + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -180,8 +89,8 @@ Response getByResourceGroupWithResponse(String /** * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param parameters Parameters supplied to the update express route crossConnection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -196,8 +105,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param parameters Parameters supplied to the update express route crossConnection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -211,8 +120,8 @@ PollerFlux, ExpressRouteCrossConnec /** * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param parameters Parameters supplied to the update express route crossConnection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -226,8 +135,8 @@ SyncPoller, ExpressRouteCrossConnec /** * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param parameters Parameters supplied to the update express route crossConnection operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -243,8 +152,8 @@ SyncPoller, ExpressRouteCrossConnec /** * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param parameters Parameters supplied to the update express route crossConnection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -258,8 +167,8 @@ Mono createOrUpdateAsync(String resourceGroupN /** * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param parameters Parameters supplied to the update express route crossConnection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -273,8 +182,8 @@ ExpressRouteCrossConnectionInner createOrUpdate(String resourceGroupName, String /** * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param parameters Parameters supplied to the update express route crossConnection operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -289,8 +198,8 @@ ExpressRouteCrossConnectionInner createOrUpdate(String resourceGroupName, String /** * Updates an express route cross connection tags. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the cross connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -305,8 +214,8 @@ Mono> updateTagsWithResponseAsync(Str /** * Updates an express route cross connection tags. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the cross connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -320,8 +229,8 @@ Mono updateTagsAsync(String resourceGroupName, /** * Updates an express route cross connection tags. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the cross connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -336,8 +245,8 @@ Response updateTagsWithResponse(String resourc /** * Updates an express route cross connection tags. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the cross connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -348,11 +257,102 @@ Response updateTagsWithResponse(String resourc ExpressRouteCrossConnectionInner updateTags(String resourceGroupName, String crossConnectionName, TagsObject crossConnectionParameters); + /** + * Retrieves all the ExpressRouteCrossConnections in a 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 ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); + + /** + * Retrieves all the ExpressRouteCrossConnections in a 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 ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Retrieves all the ExpressRouteCrossConnections in a 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 ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Retrieves all the ExpressRouteCrossConnections in a subscription. + * + * @param filter The filter to apply on the operation. For example, you can use $filter=name eq + * '{circuitServiceKey}'. + * @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 ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String filter); + + /** + * Retrieves all the ExpressRouteCrossConnections in a 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 ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Retrieves all the ExpressRouteCrossConnections in a 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 ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Retrieves all the ExpressRouteCrossConnections in a subscription. + * + * @param filter The filter to apply on the operation. For example, you can use $filter=name eq + * '{circuitServiceKey}'. + * @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 ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String filter, Context context); + /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -368,8 +368,8 @@ Mono>> listArpTableWithResponseAsync(String resourceGr /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -386,8 +386,8 @@ Mono>> listArpTableWithResponseAsync(String resourceGr /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -403,8 +403,8 @@ Mono>> listArpTableWithResponseAsync(String resourceGr /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -422,8 +422,8 @@ Mono>> listArpTableWithResponseAsync(String resourceGr /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -439,8 +439,8 @@ Mono listArpTableAsync(String resou /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -456,8 +456,8 @@ ExpressRouteCircuitsArpTableListResultInner listArpTable(String resourceGroupNam /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -474,8 +474,8 @@ ExpressRouteCircuitsArpTableListResultInner listArpTable(String resourceGroupNam /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -491,8 +491,8 @@ Mono>> listRoutesTableSummaryWithResponseAsync(String /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -509,8 +509,8 @@ Mono>> listRoutesTableSummaryWithResponseAsync(String /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -527,8 +527,8 @@ Mono>> listRoutesTableSummaryWithResponseAsync(String /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -546,8 +546,8 @@ Mono>> listRoutesTableSummaryWithResponseAsync(String /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -563,8 +563,8 @@ Mono listRoutesTa /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -579,8 +579,8 @@ ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner listRoutesTableSum /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -597,8 +597,8 @@ ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner listRoutesTableSum * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -615,8 +615,8 @@ Mono>> listRoutesTableWithResponseAsync(String resourc * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -634,8 +634,8 @@ Mono>> listRoutesTableWithResponseAsync(String resourc * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -653,8 +653,8 @@ Mono>> listRoutesTableWithResponseAsync(String resourc * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -673,8 +673,8 @@ Mono>> listRoutesTableWithResponseAsync(String resourc * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -691,8 +691,8 @@ Mono listRoutesTableAsync(String * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -709,8 +709,8 @@ ExpressRouteCircuitsRoutesTableListResultInner listRoutesTable(String resourceGr * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java index 3c6913d06379..4e27f0ee7cf2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java @@ -1,21 +1,23 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +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.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ExpressRouteGatewayInner; -import com.azure.resourcemanager.network.fluent.models.ExpressRouteGatewayListInner; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -23,103 +25,67 @@ /** * An instance of this class provides access to all the operations defined in ExpressRouteGatewaysClient. */ -public interface ExpressRouteGatewaysClient - extends InnerSupportsGet, InnerSupportsDelete { +public interface ExpressRouteGatewaysClient extends InnerSupportsGet, + InnerSupportsListing, InnerSupportsDelete { /** - * Lists ExpressRoute gateways under a given subscription. - * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listBySubscriptionWithResponseAsync(); - - /** - * Lists ExpressRoute gateways under a given subscription. - * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listBySubscriptionAsync(); - - /** - * Lists ExpressRoute gateways under a given subscription. - * - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response listBySubscriptionWithResponse(Context context); - - /** - * Lists ExpressRoute gateways under a given subscription. - * - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - ExpressRouteGatewayListInner listBySubscription(); - - /** - * Lists ExpressRoute gateways in a given resource group. + * Fetches the details of a ExpressRoute gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. + * @return expressRoute gateway resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listByResourceGroupWithResponseAsync(String resourceGroupName); + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String expressRouteGatewayName); /** - * Lists ExpressRoute gateways in a given resource group. + * Fetches the details of a ExpressRoute gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways on successful completion of {@link Mono}. + * @return expressRoute gateway resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono listByResourceGroupAsync(String resourceGroupName); + Mono getByResourceGroupAsync(String resourceGroupName, String expressRouteGatewayName); /** - * Lists ExpressRoute gateways in a given resource group. + * Fetches the details of a ExpressRoute gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways along with {@link Response}. + * @return expressRoute gateway resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response listByResourceGroupWithResponse(String resourceGroupName, Context context); + Response getByResourceGroupWithResponse(String resourceGroupName, + String expressRouteGatewayName, Context context); /** - * Lists ExpressRoute gateways in a given resource group. + * Fetches the details of a ExpressRoute gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways. + * @return expressRoute gateway resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - ExpressRouteGatewayListInner listByResourceGroup(String resourceGroupName); + ExpressRouteGatewayInner getByResourceGroup(String resourceGroupName, String expressRouteGatewayName); /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -134,7 +100,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -150,7 +116,7 @@ PollerFlux, ExpressRouteGatewayInner> begin /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -166,7 +132,7 @@ SyncPoller, ExpressRouteGatewayInner> begin /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @param context The context to associate with this operation. @@ -183,7 +149,7 @@ SyncPoller, ExpressRouteGatewayInner> begin /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -198,7 +164,7 @@ Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -213,7 +179,7 @@ ExpressRouteGatewayInner createOrUpdate(String resourceGroupName, String express /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @param context The context to associate with this operation. @@ -229,8 +195,8 @@ ExpressRouteGatewayInner createOrUpdate(String resourceGroupName, String express /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -244,8 +210,8 @@ Mono>> updateTagsWithResponseAsync(String resourceGrou /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -259,8 +225,8 @@ PollerFlux, ExpressRouteGatewayInner> begin /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -274,8 +240,8 @@ SyncPoller, ExpressRouteGatewayInner> begin /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -290,8 +256,8 @@ SyncPoller, ExpressRouteGatewayInner> begin /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -305,8 +271,8 @@ Mono updateTagsAsync(String resourceGroupName, String /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -320,8 +286,8 @@ ExpressRouteGatewayInner updateTags(String resourceGroupName, String expressRout /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -334,156 +300,170 @@ ExpressRouteGatewayInner updateTags(String resourceGroupName, String expressRout TagsObject expressRouteGatewayParameters, Context context); /** - * Fetches the details of a ExpressRoute gateway in a resource group. + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRoute gateway resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String expressRouteGatewayName); + Mono>> deleteWithResponseAsync(String resourceGroupName, String expressRouteGatewayName); /** - * Fetches the details of a ExpressRoute gateway in a resource group. + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRoute gateway resource on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String expressRouteGatewayName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRouteGatewayName); /** - * Fetches the details of a ExpressRoute gateway in a resource group. + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @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 expressRoute gateway resource along with {@link Response}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, - String expressRouteGatewayName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String expressRouteGatewayName); /** - * Fetches the details of a ExpressRoute gateway in a resource group. + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 expressRoute gateway resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - ExpressRouteGatewayInner getByResourceGroup(String resourceGroupName, String expressRouteGatewayName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String expressRouteGatewayName, + Context context); /** * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 Response} on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String expressRouteGatewayName); + Mono deleteAsync(String resourceGroupName, String expressRouteGatewayName); /** * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRouteGatewayName); + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String expressRouteGatewayName); /** * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 expressRouteGatewayName); + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String expressRouteGatewayName, Context context); /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways in a given resource group. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param context The context to associate with this operation. + * @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 {@link SyncPoller} for polling of long-running operation. + * @return list of ExpressRoute gateways as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String expressRouteGatewayName, - Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways in a given resource group. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 A {@link Mono} that completes when a successful response is received. + * @return list of ExpressRoute gateways as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String expressRouteGatewayName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways in a given resource group. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of ExpressRoute gateways as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String expressRouteGatewayName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways under a given subscription. + * + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of ExpressRoute gateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Lists ExpressRoute gateways under a given subscription. + * + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of ExpressRoute gateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Lists ExpressRoute gateways under a given subscription. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of ExpressRoute gateways as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String expressRouteGatewayName, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java index caaf67ff78e6..cc285f696d49 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,9 +20,9 @@ public interface ExpressRouteLinksClient { /** * Retrieves the specified ExpressRouteLink resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param linkName The name of the ExpressRouteLink resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param linkName The name of the express route link. * @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. @@ -35,9 +35,9 @@ Mono> getWithResponseAsync(String resourceGroupN /** * Retrieves the specified ExpressRouteLink resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param linkName The name of the ExpressRouteLink resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param linkName The name of the express route link. * @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. @@ -49,9 +49,9 @@ Mono> getWithResponseAsync(String resourceGroupN /** * Retrieves the specified ExpressRouteLink resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param linkName The name of the ExpressRouteLink resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param linkName The name of the express route link. * @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. @@ -65,9 +65,9 @@ Response getWithResponse(String resourceGroupName, String /** * Retrieves the specified ExpressRouteLink resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param linkName The name of the ExpressRouteLink resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param linkName The name of the express route link. * @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. @@ -79,8 +79,8 @@ Response getWithResponse(String resourceGroupName, String /** * Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @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. @@ -92,8 +92,8 @@ Response getWithResponse(String resourceGroupName, String /** * Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @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. @@ -105,8 +105,8 @@ Response getWithResponse(String resourceGroupName, String /** * Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java index 9ee7232a9619..a43eadd4a4a4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,112 +22,10 @@ * An instance of this class provides access to all the operations defined in ExpressRoutePortAuthorizationsClient. */ public interface ExpressRoutePortAuthorizationsClient { - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String expressRoutePortName, - String authorizationName); - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName, - String authorizationName); - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 expressRoutePortName, - String authorizationName); - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 expressRoutePortName, - String authorizationName, Context context); - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String expressRoutePortName, String authorizationName); - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 expressRoutePortName, String authorizationName); - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 expressRoutePortName, String authorizationName, Context context); - /** * Gets the specified authorization from the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -143,7 +41,7 @@ Mono> getWithResponseAsync(String r /** * Gets the specified authorization from the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -159,7 +57,7 @@ Mono getAsync(String resourceGroupName, Stri /** * Gets the specified authorization from the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param context The context to associate with this operation. @@ -175,7 +73,7 @@ Response getWithResponse(String resourceGrou /** * Gets the specified authorization from the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -190,7 +88,7 @@ ExpressRoutePortAuthorizationInner get(String resourceGroupName, String expressR /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -208,7 +106,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -226,7 +124,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -244,7 +142,7 @@ SyncPoller, ExpressRoutePortAutho /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -263,7 +161,7 @@ SyncPoller, ExpressRoutePortAutho /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -280,7 +178,7 @@ Mono createOrUpdateAsync(String resourceGrou /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -297,7 +195,7 @@ ExpressRoutePortAuthorizationInner createOrUpdate(String resourceGroupName, Stri /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -312,10 +210,112 @@ ExpressRoutePortAuthorizationInner createOrUpdate(String resourceGroupName, Stri ExpressRoutePortAuthorizationInner createOrUpdate(String resourceGroupName, String expressRoutePortName, String authorizationName, ExpressRoutePortAuthorizationInner authorizationParameters, Context context); + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String expressRoutePortName, + String authorizationName); + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName, + String authorizationName); + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 expressRoutePortName, + String authorizationName); + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 expressRoutePortName, + String authorizationName, Context context); + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String expressRoutePortName, String authorizationName); + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 expressRoutePortName, String authorizationName); + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 expressRoutePortName, String authorizationName, Context context); + /** * Gets all authorizations in an express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -328,7 +328,7 @@ ExpressRoutePortAuthorizationInner createOrUpdate(String resourceGroupName, Stri /** * Gets all authorizations in an express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -341,7 +341,7 @@ ExpressRoutePortAuthorizationInner createOrUpdate(String resourceGroupName, Stri /** * Gets all authorizations in an express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java index 32afc3638fec..2c328098546f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -14,8 +14,8 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortInner; -import com.azure.resourcemanager.network.fluent.models.GenerateExpressRoutePortsLoaResultInner; -import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLoaRequest; +import com.azure.resourcemanager.network.fluent.models.GenerateExpressRoutePortsLOAResultInner; +import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLOARequest; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -29,102 +29,10 @@ */ public interface ExpressRoutePortsClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String expressRoutePortName); - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName); - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String expressRoutePortName); - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @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 expressRoutePortName, - Context context); - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String expressRoutePortName); - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String expressRoutePortName); - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String expressRoutePortName, Context context); - /** * Retrieves the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -138,7 +46,7 @@ Mono> getByResourceGroupWithResponseAsync(String /** * Retrieves the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -151,7 +59,7 @@ Mono> getByResourceGroupWithResponseAsync(String /** * Retrieves the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -166,7 +74,7 @@ Response getByResourceGroupWithResponse(String resourceGr /** * Retrieves the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -179,8 +87,8 @@ Response getByResourceGroupWithResponse(String resourceGr /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -194,8 +102,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -209,8 +117,8 @@ PollerFlux, ExpressRoutePortInner> beginCreate /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -224,8 +132,8 @@ SyncPoller, ExpressRoutePortInner> beginCreate /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -240,8 +148,8 @@ SyncPoller, ExpressRoutePortInner> beginCreate /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -255,8 +163,8 @@ Mono createOrUpdateAsync(String resourceGroupName, String /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -270,8 +178,8 @@ ExpressRoutePortInner createOrUpdate(String resourceGroupName, String expressRou /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -286,8 +194,8 @@ ExpressRoutePortInner createOrUpdate(String resourceGroupName, String expressRou /** * Update ExpressRoutePort tags. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to update ExpressRoutePort resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -301,8 +209,8 @@ Mono> updateTagsWithResponseAsync(String resourc /** * Update ExpressRoutePort tags. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to update ExpressRoutePort resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -316,8 +224,8 @@ Mono updateTagsAsync(String resourceGroupName, String exp /** * Update ExpressRoutePort tags. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to update ExpressRoutePort resource tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -332,8 +240,8 @@ Response updateTagsWithResponse(String resourceGroupName, /** * Update ExpressRoutePort tags. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to update ExpressRoutePort resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -343,10 +251,102 @@ Response updateTagsWithResponse(String resourceGroupName, @ServiceMethod(returns = ReturnType.SINGLE) ExpressRoutePortInner updateTags(String resourceGroupName, String expressRoutePortName, TagsObject parameters); + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String expressRoutePortName); + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName); + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 expressRoutePortName); + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 expressRoutePortName, + Context context); + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String expressRoutePortName); + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 expressRoutePortName); + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 expressRoutePortName, Context context); + /** * List all the ExpressRoutePort resources in the specified resource group. * - * @param resourceGroupName The name of the 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. @@ -358,7 +358,7 @@ Response updateTagsWithResponse(String resourceGroupName, /** * List all the ExpressRoutePort resources in the specified resource group. * - * @param resourceGroupName The name of the 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. @@ -370,7 +370,7 @@ Response updateTagsWithResponse(String resourceGroupName, /** * List all the ExpressRoutePort resources in the specified resource group. * - * @param resourceGroupName The name of the 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. @@ -415,7 +415,7 @@ Response updateTagsWithResponse(String resourceGroupName, /** * Generate a letter of authorization for the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param request Request parameters supplied to generate a letter of authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -425,13 +425,13 @@ Response updateTagsWithResponse(String resourceGroupName, * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> generateLoaWithResponseAsync(String resourceGroupName, - String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request); + Mono> generateLOAWithResponseAsync(String resourceGroupName, + String expressRoutePortName, GenerateExpressRoutePortsLOARequest request); /** * Generate a letter of authorization for the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param request Request parameters supplied to generate a letter of authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -440,13 +440,13 @@ Mono> generateLoaWithResponseA * @return response for GenerateExpressRoutePortsLOA API service call on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono generateLoaAsync(String resourceGroupName, - String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request); + Mono generateLOAAsync(String resourceGroupName, + String expressRoutePortName, GenerateExpressRoutePortsLOARequest request); /** * Generate a letter of authorization for the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param request Request parameters supplied to generate a letter of authorization. * @param context The context to associate with this operation. @@ -456,13 +456,13 @@ Mono generateLoaAsync(String resourceGr * @return response for GenerateExpressRoutePortsLOA API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response generateLoaWithResponse(String resourceGroupName, - String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context); + Response generateLOAWithResponse(String resourceGroupName, + String expressRoutePortName, GenerateExpressRoutePortsLOARequest request, Context context); /** * Generate a letter of authorization for the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param request Request parameters supplied to generate a letter of authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -471,6 +471,6 @@ Response generateLoaWithResponse(String * @return response for GenerateExpressRoutePortsLOA API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) - GenerateExpressRoutePortsLoaResultInner generateLoa(String resourceGroupName, String expressRoutePortName, - GenerateExpressRoutePortsLoaRequest request); + GenerateExpressRoutePortsLOAResultInner generateLOA(String resourceGroupName, String expressRoutePortName, + GenerateExpressRoutePortsLOARequest request); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java index 9922b4e889e7..91c1d9a4236d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -17,41 +17,6 @@ * An instance of this class provides access to all the operations defined in ExpressRoutePortsLocationsClient. */ public interface ExpressRoutePortsLocationsClient { - /** - * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. - * Available bandwidths can only be obtained when retrieving a specific peering location. - * - * @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 expressRoutePorts Location List Result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); - - /** - * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. - * Available bandwidths can only be obtained when retrieving a specific peering location. - * - * @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 expressRoutePorts Location List Result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); - - /** - * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. - * Available bandwidths can only be obtained when retrieving a specific peering location. - * - * @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 expressRoutePorts Location List Result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); - /** * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at * said peering location. @@ -104,4 +69,39 @@ public interface ExpressRoutePortsLocationsClient { */ @ServiceMethod(returns = ReturnType.SINGLE) ExpressRoutePortsLocationInner get(String locationName); + + /** + * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. + * Available bandwidths can only be obtained when retrieving a specific peering location. + * + * @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 expressRoutePorts Location List Result as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. + * Available bandwidths can only be obtained when retrieving a specific peering location. + * + * @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 expressRoutePorts Location List Result as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. + * Available bandwidths can only be obtained when retrieving a specific peering location. + * + * @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 expressRoutePorts Location List Result as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java new file mode 100644 index 000000000000..6a8e8d3d2502 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java @@ -0,0 +1,66 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteProviderPortInner; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in ExpressRouteProviderPortsClient. + */ +public interface ExpressRouteProviderPortsClient { + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> expressRouteProviderPortWithResponseAsync(String providerport); + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono expressRouteProviderPortAsync(String providerport); + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response expressRouteProviderPortWithResponse(String providerport, Context context); + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ExpressRouteProviderPortInner expressRouteProviderPort(String providerport); +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java index d70d404fec0e..4e66fb2f7cc7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,7 +22,7 @@ public interface ExpressRouteProviderPortsLocationsClient { * @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 response for ListExpressRouteProviderPort API service call along with {@link Response} on successful + * @return the response of a ExpressRouteProviderPort list operation along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -33,7 +33,7 @@ public interface ExpressRouteProviderPortsLocationsClient { * * @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 response for ListExpressRouteProviderPort API service call on successful completion of {@link Mono}. + * @return the response of a ExpressRouteProviderPort list operation on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono listAsync(); @@ -46,7 +46,7 @@ public interface ExpressRouteProviderPortsLocationsClient { * @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 response for ListExpressRouteProviderPort API service call along with {@link Response}. + * @return the response of a ExpressRouteProviderPort list operation along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response listWithResponse(String filter, Context context); @@ -56,7 +56,7 @@ public interface ExpressRouteProviderPortsLocationsClient { * * @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 response for ListExpressRouteProviderPort API service call. + * @return the response of a ExpressRouteProviderPort list operation. */ @ServiceMethod(returns = ReturnType.SINGLE) ExpressRouteProviderPortListResultInner list(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java index 8d84fd9a8ffa..83eb37e0f809 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java index 0e216dd861a1..84b58a8fb6da 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,102 +27,10 @@ */ public interface FirewallPoliciesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName); - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName); - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 firewallPolicyName); - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 firewallPolicyName, - Context context); - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String firewallPolicyName); - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 firewallPolicyName); - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 firewallPolicyName, Context context); - /** * Gets the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -137,7 +45,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -150,7 +58,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -166,7 +74,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Gets the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -179,7 +87,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -194,7 +102,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -209,7 +117,7 @@ PollerFlux, FirewallPolicyInner> beginCreateOrUp /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -224,7 +132,7 @@ SyncPoller, FirewallPolicyInner> beginCreateOrUp /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @param context The context to associate with this operation. @@ -240,7 +148,7 @@ SyncPoller, FirewallPolicyInner> beginCreateOrUp /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -255,7 +163,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String f /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -270,7 +178,7 @@ FirewallPolicyInner createOrUpdate(String resourceGroupName, String firewallPoli /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @param context The context to associate with this operation. @@ -286,7 +194,7 @@ FirewallPolicyInner createOrUpdate(String resourceGroupName, String firewallPoli /** * Updates tags of a Azure Firewall Policy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to update Azure Firewall Policy tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -301,7 +209,7 @@ Mono> updateTagsWithResponseAsync(String resourceG /** * Updates tags of a Azure Firewall Policy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to update Azure Firewall Policy tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -316,7 +224,7 @@ Mono updateTagsAsync(String resourceGroupName, String firew /** * Updates tags of a Azure Firewall Policy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to update Azure Firewall Policy tags. * @param context The context to associate with this operation. @@ -332,7 +240,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Updates tags of a Azure Firewall Policy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to update Azure Firewall Policy tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -343,14 +251,106 @@ Response updateTagsWithResponse(String resourceGroupName, S @ServiceMethod(returns = ReturnType.SINGLE) FirewallPolicyInner updateTags(String resourceGroupName, String firewallPolicyName, TagsObject parameters); + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName); + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName); + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 firewallPolicyName); + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 firewallPolicyName, + Context context); + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String firewallPolicyName); + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 firewallPolicyName); + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 firewallPolicyName, Context context); + /** * Lists all Firewall Policies in a resource group. * - * @param resourceGroupName The name of the 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 response for ListFirewallPolicies API service call as paginated response with {@link PagedFlux}. + * @return the response of a FirewallPolicy list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listByResourceGroupAsync(String resourceGroupName); @@ -358,11 +358,11 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Lists all Firewall Policies in a resource group. * - * @param resourceGroupName The name of the 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 response for ListFirewallPolicies API service call as paginated response with {@link PagedIterable}. + * @return the response of a FirewallPolicy list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName); @@ -370,12 +370,12 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Lists all Firewall Policies in a resource group. * - * @param resourceGroupName The name of the 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 response for ListFirewallPolicies API service call as paginated response with {@link PagedIterable}. + * @return the response of a FirewallPolicy list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java index 73742f1196c6..4d27b3e11af5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,7 +22,7 @@ public interface FirewallPolicyDeploymentsClient { /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -35,7 +35,7 @@ public interface FirewallPolicyDeploymentsClient { /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -48,7 +48,7 @@ public interface FirewallPolicyDeploymentsClient { /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -61,7 +61,7 @@ public interface FirewallPolicyDeploymentsClient { /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -76,7 +76,7 @@ SyncPoller, Void> beginDeploy(String resourceGroupName, String /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -89,7 +89,7 @@ SyncPoller, Void> beginDeploy(String resourceGroupName, String /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -101,7 +101,7 @@ SyncPoller, Void> beginDeploy(String resourceGroupName, String /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java index f4070a7d6f82..a62c452cf2cd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -17,169 +17,169 @@ */ public interface FirewallPolicyDraftsClient extends InnerSupportsDelete { /** - * Create or update a draft Firewall Policy. + * Get a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 firewallPolicy Resource along with {@link Response} on successful completion of {@link Mono}. + * @return a draft Firewall Policy along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> createOrUpdateWithResponseAsync(String resourceGroupName, - String firewallPolicyName, FirewallPolicyDraftInner parameters); + Mono> getWithResponseAsync(String resourceGroupName, String firewallPolicyName); /** - * Create or update a draft Firewall Policy. + * Get a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 firewallPolicy Resource on successful completion of {@link Mono}. + * @return a draft Firewall Policy on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, - FirewallPolicyDraftInner parameters); + Mono getAsync(String resourceGroupName, String firewallPolicyName); /** - * Create or update a draft Firewall Policy. + * Get a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Parameters supplied to the create or update Firewall Policy Draft operation. * @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 firewallPolicy Resource along with {@link Response}. + * @return a draft Firewall Policy along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response createOrUpdateWithResponse(String resourceGroupName, String firewallPolicyName, - FirewallPolicyDraftInner parameters, Context context); + Response getWithResponse(String resourceGroupName, String firewallPolicyName, + Context context); /** - * Create or update a draft Firewall Policy. + * Get a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 firewallPolicy Resource. + * @return a draft Firewall Policy. */ @ServiceMethod(returns = ReturnType.SINGLE) - FirewallPolicyDraftInner createOrUpdate(String resourceGroupName, String firewallPolicyName, - FirewallPolicyDraftInner parameters); + FirewallPolicyDraftInner get(String resourceGroupName, String firewallPolicyName); /** - * Delete a draft policy. + * Create or update a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 Response} on successful completion of {@link Mono}. + * @return firewallPolicy Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName); + Mono> createOrUpdateWithResponseAsync(String resourceGroupName, + String firewallPolicyName, FirewallPolicyDraftInner parameters); /** - * Delete a draft policy. + * Create or update a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy Draft operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return firewallPolicy Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String firewallPolicyName); + Mono createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, + FirewallPolicyDraftInner parameters); /** - * Delete a draft policy. + * Create or update a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy Draft operation. * @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 Response}. + * @return firewallPolicy Resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response deleteWithResponse(String resourceGroupName, String firewallPolicyName, Context context); + Response createOrUpdateWithResponse(String resourceGroupName, String firewallPolicyName, + FirewallPolicyDraftInner parameters, Context context); /** - * Delete a draft policy. + * Create or update a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 firewallPolicy Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String firewallPolicyName); + FirewallPolicyDraftInner createOrUpdate(String resourceGroupName, String firewallPolicyName, + FirewallPolicyDraftInner parameters); /** - * Get a draft Firewall Policy. + * Delete a draft policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a draft Firewall Policy along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String firewallPolicyName); + Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName); /** - * Get a draft Firewall Policy. + * Delete a draft policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a draft Firewall Policy on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String firewallPolicyName); + Mono deleteAsync(String resourceGroupName, String firewallPolicyName); /** - * Get a draft Firewall Policy. + * Delete a draft policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a draft Firewall Policy along with {@link Response}. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String firewallPolicyName, - Context context); + Response deleteWithResponse(String resourceGroupName, String firewallPolicyName, Context context); /** - * Get a draft Firewall Policy. + * Delete a draft policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a draft Firewall Policy. */ @ServiceMethod(returns = ReturnType.SINGLE) - FirewallPolicyDraftInner get(String resourceGroupName, String firewallPolicyName); + void delete(String resourceGroupName, String firewallPolicyName); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java index 3e2e309f1792..5d657f7f0f88 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -9,7 +9,7 @@ import com.azure.core.http.rest.Response; import com.azure.core.util.Context; import com.azure.resourcemanager.network.fluent.models.QueryResultsInner; -import com.azure.resourcemanager.network.models.IdpsQueryObject; +import com.azure.resourcemanager.network.models.IDPSQueryObject; import reactor.core.publisher.Mono; /** @@ -20,7 +20,7 @@ public interface FirewallPolicyIdpsSignaturesClient { * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is * 1000. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -30,13 +30,13 @@ public interface FirewallPolicyIdpsSignaturesClient { */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> listWithResponseAsync(String resourceGroupName, String firewallPolicyName, - IdpsQueryObject parameters); + IDPSQueryObject parameters); /** * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is * 1000. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -45,13 +45,13 @@ Mono> listWithResponseAsync(String resourceGroupName * @return query result on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono listAsync(String resourceGroupName, String firewallPolicyName, IdpsQueryObject parameters); + Mono listAsync(String resourceGroupName, String firewallPolicyName, IDPSQueryObject parameters); /** * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is * 1000. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @param context The context to associate with this operation. @@ -62,13 +62,13 @@ Mono> listWithResponseAsync(String resourceGroupName */ @ServiceMethod(returns = ReturnType.SINGLE) Response listWithResponse(String resourceGroupName, String firewallPolicyName, - IdpsQueryObject parameters, Context context); + IDPSQueryObject parameters, Context context); /** * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is * 1000. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -77,5 +77,5 @@ Response listWithResponse(String resourceGroupName, String fi * @return query result. */ @ServiceMethod(returns = ReturnType.SINGLE) - QueryResultsInner list(String resourceGroupName, String firewallPolicyName, IdpsQueryObject parameters); + QueryResultsInner list(String resourceGroupName, String firewallPolicyName, IDPSQueryObject parameters); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java index 540b77c6b106..ac989ecf5f9d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,7 +20,7 @@ public interface FirewallPolicyIdpsSignaturesFilterValuesClient { /** * Retrieves the current filter values for the signatures overrides. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -36,7 +36,7 @@ Mono> listWithResponseAsyn /** * Retrieves the current filter values for the signatures overrides. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -52,7 +52,7 @@ Mono listAsync(String resourceGroup /** * Retrieves the current filter values for the signatures overrides. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @param context The context to associate with this operation. @@ -68,7 +68,7 @@ Response listWithResponse(String re /** * Retrieves the current filter values for the signatures overrides. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java index 9b27a8241081..294f7ba23948 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java @@ -1,15 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azure.core.util.Context; import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesInner; -import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesListInner; import reactor.core.publisher.Mono; /** @@ -18,11 +19,10 @@ */ public interface FirewallPolicyIdpsSignaturesOverridesClient { /** - * Will update the status of policy's signature overrides for IDPS. + * Returns all signatures overrides for a specific policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Will contain all properties of the object to put. * @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. @@ -30,30 +30,26 @@ public interface FirewallPolicyIdpsSignaturesOverridesClient { * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> patchWithResponseAsync(String resourceGroupName, String firewallPolicyName, - SignaturesOverridesInner parameters); + Mono> getWithResponseAsync(String resourceGroupName, String firewallPolicyName); /** - * Will update the status of policy's signature overrides for IDPS. + * Returns all signatures overrides for a specific policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Will contain all properties of the object to put. * @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 contains all specific policy signatures overrides for the IDPS on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono patchAsync(String resourceGroupName, String firewallPolicyName, - SignaturesOverridesInner parameters); + Mono getAsync(String resourceGroupName, String firewallPolicyName); /** - * Will update the status of policy's signature overrides for IDPS. + * Returns all signatures overrides for a specific policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Will contain all properties of the object to put. * @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. @@ -61,28 +57,26 @@ Mono patchAsync(String resourceGroupName, String firew * @return contains all specific policy signatures overrides for the IDPS along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response patchWithResponse(String resourceGroupName, String firewallPolicyName, - SignaturesOverridesInner parameters, Context context); + Response getWithResponse(String resourceGroupName, String firewallPolicyName, + Context context); /** - * Will update the status of policy's signature overrides for IDPS. + * Returns all signatures overrides for a specific policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Will contain all properties of the object to put. * @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 contains all specific policy signatures overrides for the IDPS. */ @ServiceMethod(returns = ReturnType.SINGLE) - SignaturesOverridesInner patch(String resourceGroupName, String firewallPolicyName, - SignaturesOverridesInner parameters); + SignaturesOverridesInner get(String resourceGroupName, String firewallPolicyName); /** * Will override/create a new signature overrides for the policy's IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Will contain all properties of the object to put. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -98,7 +92,7 @@ Mono> putWithResponseAsync(String resourceGro /** * Will override/create a new signature overrides for the policy's IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Will contain all properties of the object to put. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -113,7 +107,7 @@ Mono putAsync(String resourceGroupName, String firewal /** * Will override/create a new signature overrides for the policy's IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Will contain all properties of the object to put. * @param context The context to associate with this operation. @@ -129,7 +123,7 @@ Response putWithResponse(String resourceGroupName, Str /** * Will override/create a new signature overrides for the policy's IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Will contain all properties of the object to put. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -142,10 +136,11 @@ SignaturesOverridesInner put(String resourceGroupName, String firewallPolicyName SignaturesOverridesInner parameters); /** - * Returns all signatures overrides for a specific policy. + * Will update the status of policy's signature overrides for IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Will contain all properties of the object to put. * @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. @@ -153,26 +148,30 @@ SignaturesOverridesInner put(String resourceGroupName, String firewallPolicyName * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String firewallPolicyName); + Mono> patchWithResponseAsync(String resourceGroupName, String firewallPolicyName, + SignaturesOverridesInner parameters); /** - * Returns all signatures overrides for a specific policy. + * Will update the status of policy's signature overrides for IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Will contain all properties of the object to put. * @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 contains all specific policy signatures overrides for the IDPS on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String firewallPolicyName); + Mono patchAsync(String resourceGroupName, String firewallPolicyName, + SignaturesOverridesInner parameters); /** - * Returns all signatures overrides for a specific policy. + * Will update the status of policy's signature overrides for IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Will contain all properties of the object to put. * @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. @@ -180,75 +179,63 @@ SignaturesOverridesInner put(String resourceGroupName, String firewallPolicyName * @return contains all specific policy signatures overrides for the IDPS along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String firewallPolicyName, - Context context); + Response patchWithResponse(String resourceGroupName, String firewallPolicyName, + SignaturesOverridesInner parameters, Context context); /** - * Returns all signatures overrides for a specific policy. + * Will update the status of policy's signature overrides for IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Will contain all properties of the object to put. * @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 contains all specific policy signatures overrides for the IDPS. */ @ServiceMethod(returns = ReturnType.SINGLE) - SignaturesOverridesInner get(String resourceGroupName, String firewallPolicyName); + SignaturesOverridesInner patch(String resourceGroupName, String firewallPolicyName, + SignaturesOverridesInner parameters); /** * Returns all signatures overrides objects for a specific policy as a list containing a single value. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 describes an object containing an array with a single item along with {@link Response} on successful - * completion of {@link Mono}. + * @return describes an object containing an array with a single item as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listWithResponseAsync(String resourceGroupName, - String firewallPolicyName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String firewallPolicyName); /** * Returns all signatures overrides objects for a specific policy as a list containing a single value. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 describes an object containing an array with a single item on successful completion of {@link Mono}. + * @return describes an object containing an array with a single item as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listAsync(String resourceGroupName, String firewallPolicyName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String firewallPolicyName); /** * Returns all signatures overrides objects for a specific policy as a list containing a single value. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 describes an object containing an array with a single item along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response listWithResponse(String resourceGroupName, String firewallPolicyName, - Context context); - - /** - * Returns all signatures overrides objects for a specific policy as a list containing a single value. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 describes an object containing an array with a single item. + * @return describes an object containing an array with a single item as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - SignaturesOverridesListInner list(String resourceGroupName, String firewallPolicyName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String firewallPolicyName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java index d8d7e30b2468..a28ff4fd0135 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -17,69 +17,77 @@ */ public interface FirewallPolicyRuleCollectionGroupDraftsClient { /** - * Delete Rule Collection Group Draft. + * Get Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link Response} on successful completion of {@link Mono}. + * @return rule Collection Group Draft along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName); + Mono> getWithResponseAsync(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName); /** - * Delete Rule Collection Group Draft. + * Get Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return rule Collection Group Draft on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName); + Mono getAsync(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName); /** - * Delete Rule Collection Group Draft. + * Get Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link Response}. + * @return rule Collection Group Draft along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response deleteWithResponse(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName, Context context); + Response getWithResponse(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName, Context context); /** - * Delete Rule Collection Group Draft. + * Get Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return rule Collection Group Draft. */ @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName); + FirewallPolicyRuleCollectionGroupDraftInner get(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName); /** * Create or Update Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -94,9 +102,10 @@ Mono> createOrUpdateWithRe /** * Create or Update Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -111,9 +120,10 @@ Mono createOrUpdateAsync(String res /** * Create or Update Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -129,9 +139,10 @@ Response createOrUpdateWithResponse /** * Create or Update Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -143,63 +154,64 @@ FirewallPolicyRuleCollectionGroupDraftInner createOrUpdate(String resourceGroupN String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupDraftInner parameters); /** - * Get Rule Collection Group Draft. + * Delete Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return rule Collection Group Draft along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName); + Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName); /** - * Get Rule Collection Group Draft. + * Delete Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return rule Collection Group Draft on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName); + Mono deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName); /** - * Get Rule Collection Group Draft. + * Delete Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return rule Collection Group Draft along with {@link Response}. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName, Context context); + Response deleteWithResponse(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName, Context context); /** - * Get Rule Collection Group Draft. + * Delete Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return rule Collection Group Draft. */ @ServiceMethod(returns = ReturnType.SINGLE) - FirewallPolicyRuleCollectionGroupDraftInner get(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName); + void delete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java index 0863e916a7f4..0a909ca19502 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,295 +23,313 @@ */ public interface FirewallPolicyRuleCollectionGroupsClient { /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. + * Gets the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link Response} on successful completion of {@link Mono}. + * @return the specified FirewallPolicyRuleCollectionGroup along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName); + Mono> getWithResponseAsync(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName); /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. + * Gets the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link PollerFlux} for polling of long-running operation. + * @return the specified FirewallPolicyRuleCollectionGroup on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName, + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName); /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. + * Gets the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of long-running operation. + * @return the specified FirewallPolicyRuleCollectionGroup along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName, Context context); /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. + * Gets the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @param context The context to associate with this operation. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of long-running operation. + * @return the specified FirewallPolicyRuleCollectionGroup. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + FirewallPolicyRuleCollectionGroupInner get(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName); /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. + * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return rule Collection Group resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters); /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. + * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup 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 PollerFlux} for polling of rule Collection Group resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, FirewallPolicyRuleCollectionGroupInner> + beginCreateOrUpdateAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, + FirewallPolicyRuleCollectionGroupInner parameters); /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. + * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @param context The context to associate with this operation. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup 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 rule Collection Group resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, FirewallPolicyRuleCollectionGroupInner> + beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, + FirewallPolicyRuleCollectionGroupInner parameters); /** - * Gets the specified FirewallPolicyRuleCollectionGroup. + * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. + * @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 FirewallPolicyRuleCollectionGroup along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of rule Collection Group resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, FirewallPolicyRuleCollectionGroupInner> + beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, + FirewallPolicyRuleCollectionGroupInner parameters, Context context); /** - * Gets the specified FirewallPolicyRuleCollectionGroup. + * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup 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 FirewallPolicyRuleCollectionGroup on successful completion of {@link Mono}. + * @return rule Collection Group resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName); + Mono createOrUpdateAsync(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters); /** - * Gets the specified FirewallPolicyRuleCollectionGroup. + * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @param context The context to associate with this operation. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup 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 FirewallPolicyRuleCollectionGroup along with {@link Response}. + * @return rule Collection Group resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName, Context context); + FirewallPolicyRuleCollectionGroupInner createOrUpdate(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters); /** - * Gets the specified FirewallPolicyRuleCollectionGroup. + * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. + * @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 FirewallPolicyRuleCollectionGroup. + * @return rule Collection Group resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - FirewallPolicyRuleCollectionGroupInner get(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName); + FirewallPolicyRuleCollectionGroupInner createOrUpdate(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters, Context context); /** - * Creates or updates the specified FirewallPolicyRuleCollectionGroup. + * Deletes the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return rule Collection Group resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName); /** - * Creates or updates the specified FirewallPolicyRuleCollectionGroup. + * Deletes the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link PollerFlux} for polling of rule Collection Group resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, FirewallPolicyRuleCollectionGroupInner> - beginCreateOrUpdateAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, - FirewallPolicyRuleCollectionGroupInner parameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName); /** - * Creates or updates the specified FirewallPolicyRuleCollectionGroup. + * Deletes the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of rule Collection Group resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, FirewallPolicyRuleCollectionGroupInner> - beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, - FirewallPolicyRuleCollectionGroupInner parameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName); /** - * Creates or updates the specified FirewallPolicyRuleCollectionGroup. + * Deletes the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of rule Collection Group resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, FirewallPolicyRuleCollectionGroupInner> - beginCreateOrUpdate(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, - FirewallPolicyRuleCollectionGroupInner parameters, Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName, Context context); /** - * Creates or updates the specified FirewallPolicyRuleCollectionGroup. + * Deletes the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return rule Collection Group resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters); + Mono deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName); /** - * Creates or updates the specified FirewallPolicyRuleCollectionGroup. + * Deletes the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return rule Collection Group resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - FirewallPolicyRuleCollectionGroupInner createOrUpdate(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters); + void delete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName); /** - * Creates or updates the specified FirewallPolicyRuleCollectionGroup. + * Deletes the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return rule Collection Group resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - FirewallPolicyRuleCollectionGroupInner createOrUpdate(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName, FirewallPolicyRuleCollectionGroupInner parameters, Context context); + void delete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, Context context); /** * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 response for ListFirewallPolicyRuleCollectionGroups API service call as paginated response with + * @return the response of a FirewallPolicyRuleCollectionGroup list operation as paginated response with * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -320,12 +338,12 @@ FirewallPolicyRuleCollectionGroupInner createOrUpdate(String resourceGroupName, /** * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 response for ListFirewallPolicyRuleCollectionGroups API service call as paginated response with + * @return the response of a FirewallPolicyRuleCollectionGroup list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -334,13 +352,13 @@ FirewallPolicyRuleCollectionGroupInner createOrUpdate(String resourceGroupName, /** * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 response for ListFirewallPolicyRuleCollectionGroups API service call as paginated response with + * @return the response of a FirewallPolicyRuleCollectionGroup list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java index e6ec1661b06a..e2a5354d4d48 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,12 +23,71 @@ * An instance of this class provides access to all the operations defined in FlowLogsClient. */ public interface FlowLogsClient { + /** + * Gets a flow log resource by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a flow log resource by name along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, String networkWatcherName, + String flowLogName); + + /** + * Gets a flow log resource by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a flow log resource by name on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String networkWatcherName, String flowLogName); + + /** + * Gets a flow log resource by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a flow log resource by name along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String networkWatcherName, String flowLogName, + Context context); + + /** + * Gets a flow log resource by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a flow log resource by name. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + FlowLogInner get(String resourceGroupName, String networkWatcherName, String flowLogName); + /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -42,9 +101,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -58,9 +117,9 @@ PollerFlux, FlowLogInner> beginCreateOrUpdateAsync(Stri /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -74,9 +133,9 @@ SyncPoller, FlowLogInner> beginCreateOrUpdate(String re /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -91,9 +150,9 @@ SyncPoller, FlowLogInner> beginCreateOrUpdate(String re /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -107,9 +166,9 @@ Mono createOrUpdateAsync(String resourceGroupName, String networkW /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -123,9 +182,9 @@ FlowLogInner createOrUpdate(String resourceGroupName, String networkWatcherName, /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -140,9 +199,9 @@ FlowLogInner createOrUpdate(String resourceGroupName, String networkWatcherName, /** * Update tags of the specified flow log. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters supplied to update flow log tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -156,9 +215,9 @@ Mono> updateTagsWithResponseAsync(String resourceGroupNam /** * Update tags of the specified flow log. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters supplied to update flow log tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -172,9 +231,9 @@ Mono updateTagsAsync(String resourceGroupName, String networkWatch /** * Update tags of the specified flow log. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters supplied to update flow log tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -189,9 +248,9 @@ Response updateTagsWithResponse(String resourceGroupName, String n /** * Update tags of the specified flow log. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters supplied to update flow log tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -202,69 +261,10 @@ Response updateTagsWithResponse(String resourceGroupName, String n FlowLogInner updateTags(String resourceGroupName, String networkWatcherName, String flowLogName, TagsObject parameters); - /** - * Gets a flow log resource by name. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a flow log resource by name along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String networkWatcherName, - String flowLogName); - - /** - * Gets a flow log resource by name. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a flow log resource by name on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String networkWatcherName, String flowLogName); - - /** - * Gets a flow log resource by name. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log resource. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a flow log resource by name along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String networkWatcherName, String flowLogName, - Context context); - - /** - * Gets a flow log resource by name. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a flow log resource by name. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - FlowLogInner get(String resourceGroupName, String networkWatcherName, String flowLogName); - /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -279,7 +279,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -294,7 +294,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -309,7 +309,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @param context The context to associate with this operation. @@ -325,7 +325,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -339,7 +339,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -352,7 +352,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @param context The context to associate with this operation. @@ -366,12 +366,12 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Lists all flow log resources for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of flow logs as paginated response with {@link PagedFlux}. + * @return the response of a FlowLog list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkWatcherName); @@ -379,12 +379,12 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Lists all flow log resources for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of flow logs as paginated response with {@link PagedIterable}. + * @return the response of a FlowLog list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkWatcherName); @@ -392,13 +392,13 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Lists all flow log resources for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of flow logs as paginated response with {@link PagedIterable}. + * @return the response of a FlowLog list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkWatcherName, Context context); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java index c1941d59e576..3727f608516f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,12 +23,12 @@ */ public interface HubRouteTablesClient { /** - * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. + * Retrieves the details of a RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. - * @param routeTableParameters Parameters supplied to create or update RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -36,173 +36,185 @@ public interface HubRouteTablesClient { * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, - String routeTableName, HubRouteTableInner routeTableParameters); + Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, + String routeTableName); /** - * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. + * Retrieves the details of a RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. - * @param routeTableParameters Parameters supplied to create or update RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link PollerFlux} for polling of routeTable resource in a virtual hub. + * @return routeTable resource in a virtual hub on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, HubRouteTableInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String virtualHubName, String routeTableName); /** - * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. + * Retrieves the details of a RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. - * @param routeTableParameters Parameters supplied to create or update RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of routeTable resource in a virtual hub. + * @return routeTable resource in a virtual hub along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, HubRouteTableInner> beginCreateOrUpdate(String resourceGroupName, - String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String virtualHubName, String routeTableName, + Context context); /** - * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. + * Retrieves the details of a RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. - * @param routeTableParameters Parameters supplied to create or update RouteTable. - * @param context The context to associate with this operation. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of routeTable resource in a virtual hub. + * @return routeTable resource in a virtual hub. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, HubRouteTableInner> beginCreateOrUpdate(String resourceGroupName, - String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + HubRouteTableInner get(String resourceGroupName, String virtualHubName, String routeTableName); /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @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 routeTable resource in a virtual hub on successful completion of {@link Mono}. + * @return routeTable resource in a virtual hub along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeTableName, - HubRouteTableInner routeTableParameters); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, + String routeTableName, HubRouteTableInner routeTableParameters); /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @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 routeTable resource in a virtual hub. + * @return the {@link PollerFlux} for polling of routeTable resource in a virtual hub. */ - @ServiceMethod(returns = ReturnType.SINGLE) - HubRouteTableInner createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, - HubRouteTableInner routeTableParameters); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, HubRouteTableInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters); /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. - * @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 routeTable resource in a virtual hub. + * @return the {@link SyncPoller} for polling of routeTable resource in a virtual hub. */ - @ServiceMethod(returns = ReturnType.SINGLE) - HubRouteTableInner createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, - HubRouteTableInner routeTableParameters, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, HubRouteTableInner> beginCreateOrUpdate(String resourceGroupName, + String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters); /** - * Retrieves the details of a RouteTable. + * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param routeTableParameters Parameters supplied to create or update RouteTable. + * @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 routeTable resource in a virtual hub along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of routeTable resource in a virtual hub. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, - String routeTableName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, HubRouteTableInner> beginCreateOrUpdate(String resourceGroupName, + String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters, Context context); /** - * Retrieves the details of a RouteTable. + * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param routeTableParameters Parameters supplied to create or update RouteTable. * @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 routeTable resource in a virtual hub on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String virtualHubName, String routeTableName); + Mono createOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeTableName, + HubRouteTableInner routeTableParameters); /** - * Retrieves the details of a RouteTable. + * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. - * @param context The context to associate with this operation. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param routeTableParameters Parameters supplied to create or update RouteTable. * @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 routeTable resource in a virtual hub along with {@link Response}. + * @return routeTable resource in a virtual hub. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String virtualHubName, String routeTableName, - Context context); + HubRouteTableInner createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, + HubRouteTableInner routeTableParameters); /** - * Retrieves the details of a RouteTable. + * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param routeTableParameters Parameters supplied to create or update RouteTable. + * @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 routeTable resource in a virtual hub. */ @ServiceMethod(returns = ReturnType.SINGLE) - HubRouteTableInner get(String resourceGroupName, String virtualHubName, String routeTableName); + HubRouteTableInner createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, + HubRouteTableInner routeTableParameters, Context context); /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -215,9 +227,10 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -230,9 +243,10 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -245,9 +259,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -261,9 +276,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -275,9 +291,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -288,9 +305,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -302,7 +320,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all RouteTables. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -316,7 +334,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all RouteTables. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -330,7 +348,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all RouteTables. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java index da0d5f53ad0d..8e911005bf11 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -25,9 +25,9 @@ public interface HubVirtualNetworkConnectionsClient { /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -43,9 +43,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -61,9 +61,9 @@ PollerFlux, HubVirtualNetworkConnec /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -79,9 +79,9 @@ SyncPoller, HubVirtualNetworkConnec /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @param context The context to associate with this operation. @@ -98,9 +98,9 @@ SyncPoller, HubVirtualNetworkConnec /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -115,9 +115,9 @@ Mono createOrUpdateAsync(String resourceGroupN /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -132,9 +132,9 @@ HubVirtualNetworkConnectionInner createOrUpdate(String resourceGroupName, String /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @param context The context to associate with this operation. @@ -150,9 +150,9 @@ HubVirtualNetworkConnectionInner createOrUpdate(String resourceGroupName, String /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -165,9 +165,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -180,9 +180,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -195,9 +195,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -211,9 +211,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -225,9 +225,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -238,9 +238,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -252,9 +252,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the vpn connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -268,9 +268,9 @@ Mono> getWithResponseAsync(String res /** * Retrieves the details of a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the vpn connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -283,9 +283,9 @@ Mono getAsync(String resourceGroupName, String /** * Retrieves the details of a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the vpn connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -299,9 +299,9 @@ Response getWithResponse(String resourceGroupN /** * Retrieves the details of a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the vpn connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -313,7 +313,7 @@ Response getWithResponse(String resourceGroupN /** * Retrieves the details of all HubVirtualNetworkConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -327,7 +327,7 @@ Response getWithResponse(String resourceGroupN /** * Retrieves the details of all HubVirtualNetworkConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -341,7 +341,7 @@ Response getWithResponse(String resourceGroupN /** * Retrieves the details of all HubVirtualNetworkConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java index d6887d356882..9b1807dc438f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,322 +23,322 @@ */ public interface InboundNatRulesClient { /** - * Gets all the inbound NAT rules in a load balancer. + * Gets the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param inboundNatRuleName The name of the inbound NAT rule. + * @param expand Expands referenced resources. * @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 all the inbound NAT rules in a load balancer as paginated response with {@link PagedFlux}. + * @return the specified load balancer inbound NAT rule along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, String expand); /** - * Gets all the inbound NAT rules in a load balancer. + * Gets the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param inboundNatRuleName The name of the inbound NAT rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all the inbound NAT rules in a load balancer as paginated response with {@link PagedIterable}. + * @return the specified load balancer inbound NAT rule on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName); /** - * Gets all the inbound NAT rules in a load balancer. + * Gets the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param inboundNatRuleName The name of the inbound NAT rule. + * @param expand Expands referenced resources. * @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 all the inbound NAT rules in a load balancer as paginated response with {@link PagedIterable}. + * @return the specified load balancer inbound NAT rule along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, String expand, Context context); /** - * Deletes the specified load balancer inbound NAT rule. + * Gets the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link Response} on successful completion of {@link Mono}. + * @return the specified load balancer inbound NAT rule. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName); + InboundNatRuleInner get(String resourceGroupName, String loadBalancerName, String inboundNatRuleName); /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 PollerFlux} for polling of long-running operation. + * @return inbound NAT rule of the load balancer along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters); /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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. + * @return the {@link PollerFlux} for polling of inbound NAT rule of the load balancer. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName); + PollerFlux, InboundNatRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, + String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters); /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param context The context to associate with this operation. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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. + * @return the {@link SyncPoller} for polling of inbound NAT rule of the load balancer. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, Context context); + SyncPoller, InboundNatRuleInner> beginCreateOrUpdate(String resourceGroupName, + String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters); /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the {@link SyncPoller} for polling of inbound NAT rule of the load balancer. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, InboundNatRuleInner> beginCreateOrUpdate(String resourceGroupName, + String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, + Context context); /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 inbound NAT rule of the load balancer on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName); + Mono createOrUpdateAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters); /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param context The context to associate with this operation. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 inbound NAT rule of the load balancer. */ @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, Context context); + InboundNatRuleInner createOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, + InboundNatRuleInner inboundNatRuleParameters); /** - * Gets the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param expand Expands referenced resources. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. + * @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 load balancer inbound NAT rule along with {@link Response} on successful completion of - * {@link Mono}. + * @return inbound NAT rule of the load balancer. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, String expand); + InboundNatRuleInner createOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, + InboundNatRuleInner inboundNatRuleParameters, Context context); /** - * Gets the specified load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified load balancer inbound NAT rule on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName); + Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName); /** - * Gets the specified load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param expand Expands referenced resources. - * @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 load balancer inbound NAT rule along with {@link Response}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, String expand, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName); /** - * Gets the specified load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified load balancer inbound NAT rule. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - InboundNatRuleInner get(String resourceGroupName, String loadBalancerName, String inboundNatRuleName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName); /** - * Creates or updates a load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. + * @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 inbound NAT rule of the load balancer along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, Context context); /** - * Creates or updates a load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 PollerFlux} for polling of inbound NAT rule of the load balancer. + * @return A {@link Mono} that completes when a successful response is received. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, InboundNatRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, - String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName); /** - * Creates or updates a load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 inbound NAT rule of the load balancer. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, InboundNatRuleInner> beginCreateOrUpdate(String resourceGroupName, - String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters); + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName); /** - * Creates or updates a load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 inbound NAT rule of the load balancer. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, InboundNatRuleInner> beginCreateOrUpdate(String resourceGroupName, - String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, Context context); /** - * Creates or updates a load balancer inbound NAT rule. + * Gets all the inbound NAT rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 inbound NAT rule of the load balancer on successful completion of {@link Mono}. + * @return all the inbound NAT rules in a load balancer as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String loadBalancerName); /** - * Creates or updates a load balancer inbound NAT rule. + * Gets all the inbound NAT rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 inbound NAT rule of the load balancer. + * @return all the inbound NAT rules in a load balancer as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - InboundNatRuleInner createOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, - InboundNatRuleInner inboundNatRuleParameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName); /** - * Creates or updates a load balancer inbound NAT rule. + * Gets all the inbound NAT rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 inbound NAT rule of the load balancer. + * @return all the inbound NAT rules in a load balancer as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - InboundNatRuleInner createOrUpdate(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, - InboundNatRuleInner inboundNatRuleParameters, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java index f512f568b112..03e23a150606 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,12 +20,78 @@ * An instance of this class provides access to all the operations defined in InboundSecurityRuleOperationsClient. */ public interface InboundSecurityRuleOperationsClient { + /** + * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return nVA Inbound Security Rule resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, String ruleCollectionName); + + /** + * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return nVA Inbound Security Rule resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String networkVirtualApplianceName, + String ruleCollectionName); + + /** + * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return nVA Inbound Security Rule resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String networkVirtualApplianceName, + String ruleCollectionName, Context context); + + /** + * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return nVA Inbound Security Rule resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + InboundSecurityRuleInner get(String resourceGroupName, String networkVirtualApplianceName, + String ruleCollectionName); + /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -40,9 +106,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -58,9 +125,10 @@ PollerFlux, InboundSecurityRuleInner> begin /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -76,9 +144,10 @@ SyncPoller, InboundSecurityRuleInner> begin /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @param context The context to associate with this operation. @@ -95,9 +164,10 @@ SyncPoller, InboundSecurityRuleInner> begin /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -112,9 +182,10 @@ Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -129,9 +200,10 @@ InboundSecurityRuleInner createOrUpdate(String resourceGroupName, String network /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @param context The context to associate with this operation. @@ -143,65 +215,4 @@ InboundSecurityRuleInner createOrUpdate(String resourceGroupName, String network @ServiceMethod(returns = ReturnType.SINGLE) InboundSecurityRuleInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String ruleCollectionName, InboundSecurityRuleInner parameters, Context context); - - /** - * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. - * @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 nVA Inbound Security Rule resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, String ruleCollectionName); - - /** - * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. - * @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 nVA Inbound Security Rule resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String networkVirtualApplianceName, - String ruleCollectionName); - - /** - * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. - * @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 nVA Inbound Security Rule resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String networkVirtualApplianceName, - String ruleCollectionName, Context context); - - /** - * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. - * @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 nVA Inbound Security Rule resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - InboundSecurityRuleInner get(String resourceGroupName, String networkVirtualApplianceName, - String ruleCollectionName); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java index b3f88183b62c..d091731aef78 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,101 +27,10 @@ */ public interface IpAllocationsClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String ipAllocationName); - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ipAllocationName); - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 ipAllocationName); - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 ipAllocationName, Context context); - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String ipAllocationName); - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 ipAllocationName); - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 ipAllocationName, Context context); - /** * Gets the specified IpAllocation by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -137,7 +46,7 @@ Mono> getByResourceGroupWithResponseAsync(String res /** * Gets the specified IpAllocation by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -150,7 +59,7 @@ Mono> getByResourceGroupWithResponseAsync(String res /** * Gets the specified IpAllocation by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -166,7 +75,7 @@ Response getByResourceGroupWithResponse(String resourceGroupN /** * Gets the specified IpAllocation by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -179,7 +88,7 @@ Response getByResourceGroupWithResponse(String resourceGroupN /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -194,7 +103,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -209,7 +118,7 @@ PollerFlux, IpAllocationInner> beginCreateOrUpdate /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -224,7 +133,7 @@ SyncPoller, IpAllocationInner> beginCreateOrUpdate /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -240,7 +149,7 @@ SyncPoller, IpAllocationInner> beginCreateOrUpdate /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -255,7 +164,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String ipA /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -269,7 +178,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String ipA /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -285,7 +194,7 @@ IpAllocationInner createOrUpdate(String resourceGroupName, String ipAllocationNa /** * Updates a IpAllocation tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to update IpAllocation tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -300,7 +209,7 @@ Mono> updateTagsWithResponseAsync(String resourceGro /** * Updates a IpAllocation tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to update IpAllocation tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -314,7 +223,7 @@ Mono> updateTagsWithResponseAsync(String resourceGro /** * Updates a IpAllocation tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to update IpAllocation tags. * @param context The context to associate with this operation. @@ -330,7 +239,7 @@ Response updateTagsWithResponse(String resourceGroupName, Str /** * Updates a IpAllocation tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to update IpAllocation tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -342,41 +251,100 @@ Response updateTagsWithResponse(String resourceGroupName, Str IpAllocationInner updateTags(String resourceGroupName, String ipAllocationName, TagsObject parameters); /** - * Gets all IpAllocations in a subscription. + * Deletes the specified IpAllocation. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 all IpAllocations in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String ipAllocationName); /** - * Gets all IpAllocations in a subscription. + * Deletes the specified IpAllocation. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 all IpAllocations in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ipAllocationName); /** - * Gets all IpAllocations in a subscription. + * Deletes the specified IpAllocation. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 ipAllocationName); + + /** + * Deletes the specified IpAllocation. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. * @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 all IpAllocations in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String ipAllocationName, Context context); + + /** + * Deletes the specified IpAllocation. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String ipAllocationName); + + /** + * Deletes the specified IpAllocation. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 ipAllocationName); + + /** + * Deletes the specified IpAllocation. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 ipAllocationName, Context context); /** * Gets all IpAllocations in a resource group. * - * @param resourceGroupName The name of the 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. @@ -388,7 +356,7 @@ Response updateTagsWithResponse(String resourceGroupName, Str /** * Gets all IpAllocations in a resource group. * - * @param resourceGroupName The name of the 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. @@ -400,7 +368,7 @@ Response updateTagsWithResponse(String resourceGroupName, Str /** * Gets all IpAllocations in a resource group. * - * @param resourceGroupName The name of the 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. @@ -409,4 +377,36 @@ Response updateTagsWithResponse(String resourceGroupName, Str */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all IpAllocations in a 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 all IpAllocations in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all IpAllocations in a 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 all IpAllocations in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all IpAllocations in a 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 all IpAllocations in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java index 700cda82fed3..8addb531b725 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -30,7 +30,7 @@ public interface IpGroupsClient /** * Gets the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param expand Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups * resource. @@ -46,7 +46,7 @@ Mono> getByResourceGroupWithResponseAsync(String resource /** * Gets the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -59,7 +59,7 @@ Mono> getByResourceGroupWithResponseAsync(String resource /** * Gets the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param expand Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups * resource. @@ -76,7 +76,7 @@ Response getByResourceGroupWithResponse(String resourceGroupName, /** * Gets the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -89,7 +89,7 @@ Response getByResourceGroupWithResponse(String resourceGroupName, /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -104,7 +104,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -119,7 +119,7 @@ PollerFlux, IpGroupInner> beginCreateOrUpdateAsync(Stri /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -134,7 +134,7 @@ SyncPoller, IpGroupInner> beginCreateOrUpdate(String re /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @param context The context to associate with this operation. @@ -150,7 +150,7 @@ SyncPoller, IpGroupInner> beginCreateOrUpdate(String re /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -164,7 +164,7 @@ SyncPoller, IpGroupInner> beginCreateOrUpdate(String re /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -178,7 +178,7 @@ SyncPoller, IpGroupInner> beginCreateOrUpdate(String re /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @param context The context to associate with this operation. @@ -194,7 +194,7 @@ IpGroupInner createOrUpdate(String resourceGroupName, String ipGroupsName, IpGro /** * Updates tags of an IpGroups resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the update ipGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -209,7 +209,7 @@ Mono> updateGroupsWithResponseAsync(String resourceGroupN /** * Updates tags of an IpGroups resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the update ipGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -223,7 +223,7 @@ Mono> updateGroupsWithResponseAsync(String resourceGroupN /** * Updates tags of an IpGroups resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the update ipGroups operation. * @param context The context to associate with this operation. @@ -239,7 +239,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Updates tags of an IpGroups resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the update ipGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -253,7 +253,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -266,7 +266,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -279,7 +279,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -292,7 +292,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -306,7 +306,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -319,7 +319,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -331,7 +331,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -344,7 +344,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Gets all IpGroups in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -356,7 +356,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Gets all IpGroups in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -368,7 +368,7 @@ Response updateGroupsWithResponse(String resourceGroupName, String /** * Gets all IpGroups in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java index 7e1148d142b7..7a975cd9fd2b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -26,76 +26,70 @@ */ public interface IpamPoolsClient { /** - * Gets list of Pool resources at Network Manager level. + * Gets the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. + * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Pool resources at Network Manager level as paginated response with {@link PagedFlux}. + * @return the specific Pool resource along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, String skipToken, - Integer skip, Integer top, String sortKey, String sortValue); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, + String poolName); /** - * Gets list of Pool resources at Network Manager level. + * Gets the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. + * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Pool resources at Network Manager level as paginated response with {@link PagedFlux}. + * @return the specific Pool resource on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String networkManagerName, String poolName); /** - * Gets list of Pool resources at Network Manager level. + * Gets the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. + * @param poolName Pool resource name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Pool resources at Network Manager level as paginated response with {@link PagedIterable}. + * @return the specific Pool resource along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String networkManagerName, String poolName, + Context context); /** - * Gets list of Pool resources at Network Manager level. + * Gets the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @param context The context to associate with this operation. + * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Pool resources at Network Manager level as paginated response with {@link PagedIterable}. + * @return the specific Pool resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, String skipToken, - Integer skip, Integer top, String sortKey, String sortValue, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + IpamPoolInner get(String resourceGroupName, String networkManagerName, String poolName); /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -111,9 +105,9 @@ Mono>> createWithResponseAsync(String resourceGroupNam /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -129,9 +123,9 @@ PollerFlux, IpamPoolInner> beginCreateAsync(String res /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -145,9 +139,9 @@ PollerFlux, IpamPoolInner> beginCreateAsync(String res /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -161,9 +155,9 @@ SyncPoller, IpamPoolInner> beginCreate(String resource /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -180,9 +174,9 @@ SyncPoller, IpamPoolInner> beginCreate(String resource /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -198,9 +192,9 @@ Mono createAsync(String resourceGroupName, String networkManagerN /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -214,9 +208,9 @@ Mono createAsync(String resourceGroupName, String networkManagerN /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -229,9 +223,9 @@ Mono createAsync(String resourceGroupName, String networkManagerN /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -248,9 +242,9 @@ IpamPoolInner create(String resourceGroupName, String networkManagerName, String /** * Updates the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param body Pool resource object to update partially. @@ -266,9 +260,9 @@ Mono> updateWithResponseAsync(String resourceGroupName, /** * Updates the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @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. @@ -280,9 +274,9 @@ Mono> updateWithResponseAsync(String resourceGroupName, /** * Updates the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param body Pool resource object to update partially. @@ -299,9 +293,9 @@ Response updateWithResponse(String resourceGroupName, String netw /** * Updates the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @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. @@ -310,69 +304,10 @@ Response updateWithResponse(String resourceGroupName, String netw @ServiceMethod(returns = ReturnType.SINGLE) IpamPoolInner update(String resourceGroupName, String networkManagerName, String poolName); - /** - * Gets the specific Pool resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @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 specific Pool resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, - String poolName); - - /** - * Gets the specific Pool resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @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 specific Pool resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String networkManagerName, String poolName); - - /** - * Gets the specific Pool resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @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 specific Pool resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String networkManagerName, String poolName, - Context context); - - /** - * Gets the specific Pool resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @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 specific Pool resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - IpamPoolInner get(String resourceGroupName, String networkManagerName, String poolName); - /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -389,7 +324,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -406,7 +341,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -421,7 +356,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -436,7 +371,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -454,7 +389,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -470,7 +405,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -484,7 +419,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -497,7 +432,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -510,10 +445,75 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String poolName, String ifMatch, Context context); + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Pool resources at Network Manager level as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, String skipToken, + Integer skip, Integer top, String sortKey, String sortValue); + + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Pool resources at Network Manager level as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName); + + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Pool resources at Network Manager level as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName); + + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Pool resources at Network Manager level as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, String skipToken, + Integer skip, Integer top, String sortKey, String sortValue, Context context); + /** * Get the Pool Usage. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -528,7 +528,7 @@ Mono> getPoolUsageWithResponseAsync(String resourceGrou /** * Get the Pool Usage. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -542,7 +542,7 @@ Mono> getPoolUsageWithResponseAsync(String resourceGrou /** * Get the Pool Usage. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param context The context to associate with this operation. @@ -558,7 +558,7 @@ Response getPoolUsageWithResponse(String resourceGroupName, Stri /** * Get the Pool Usage. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -572,7 +572,7 @@ Response getPoolUsageWithResponse(String resourceGroupName, Stri /** * List Associated Resource in the Pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -587,7 +587,7 @@ PagedFlux listAssociatedResourcesAsync(String resourceGrou /** * List Associated Resource in the Pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -602,7 +602,7 @@ PagedIterable listAssociatedResources(String resourceGroup /** * List Associated Resource in the Pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param context The context to associate with this operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java index 39e8fdd840da..1902d1d2a9b2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,50 +22,10 @@ * An instance of this class provides access to all the operations defined in LoadBalancerBackendAddressPoolsClient. */ public interface LoadBalancerBackendAddressPoolsClient { - /** - * Gets all the load balancer backed address pools. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer backed address pools as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String loadBalancerName); - - /** - * Gets all the load balancer backed address pools. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer backed address pools as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName); - - /** - * Gets all the load balancer backed address pools. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer backed address pools as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName, Context context); - /** * Gets load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -80,7 +40,7 @@ Mono> getWithResponseAsync(String resourceGrou /** * Gets load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -95,7 +55,7 @@ Mono getAsync(String resourceGroupName, String loadBala /** * Gets load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param context The context to associate with this operation. @@ -111,7 +71,7 @@ Response getWithResponse(String resourceGroupName, Stri /** * Gets load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -125,7 +85,7 @@ Response getWithResponse(String resourceGroupName, Stri /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -141,7 +101,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -158,7 +118,7 @@ PollerFlux, BackendAddressPoolInner> beginCr /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -175,7 +135,7 @@ SyncPoller, BackendAddressPoolInner> beginCr /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -193,7 +153,7 @@ SyncPoller, BackendAddressPoolInner> beginCr /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -209,7 +169,7 @@ Mono createOrUpdateAsync(String resourceGroupName, Stri /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -225,7 +185,7 @@ BackendAddressPoolInner createOrUpdate(String resourceGroupName, String loadBala /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -242,7 +202,7 @@ BackendAddressPoolInner createOrUpdate(String resourceGroupName, String loadBala /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -257,7 +217,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -272,7 +232,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -287,7 +247,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param context The context to associate with this operation. @@ -303,7 +263,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -317,7 +277,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -330,7 +290,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param context The context to associate with this operation. @@ -340,4 +300,44 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String */ @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String loadBalancerName, String backendAddressPoolName, Context context); + + /** + * Gets all the load balancer backed address pools. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer backed address pools as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String loadBalancerName); + + /** + * Gets all the load balancer backed address pools. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer backed address pools as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName); + + /** + * Gets all the load balancer backed address pools. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer backed address pools as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java index 80f5d461af02..803477fcb5dd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -15,109 +15,113 @@ /** * An instance of this class provides access to all the operations defined in - * LoadBalancerFrontendIpConfigurationsClient. + * LoadBalancerFrontendIPConfigurationsClient. */ -public interface LoadBalancerFrontendIpConfigurationsClient { +public interface LoadBalancerFrontendIPConfigurationsClient { /** - * Gets all the load balancer frontend IP configurations. + * Gets load balancer frontend IP configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param frontendIPConfigurationName The name of the resource that is unique within the set of frontend IP + * configurations used by the load balancer. This name can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all the load balancer frontend IP configurations as paginated response with {@link PagedFlux}. + * @return load balancer frontend IP configuration along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String frontendIPConfigurationName); /** - * Gets all the load balancer frontend IP configurations. + * Gets load balancer frontend IP configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param frontendIPConfigurationName The name of the resource that is unique within the set of frontend IP + * configurations used by the load balancer. This name can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all the load balancer frontend IP configurations as paginated response with {@link PagedIterable}. + * @return load balancer frontend IP configuration on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String loadBalancerName, + String frontendIPConfigurationName); /** - * Gets all the load balancer frontend IP configurations. + * Gets load balancer frontend IP configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param frontendIPConfigurationName The name of the resource that is unique within the set of frontend IP + * configurations used by the load balancer. This name can be used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all the load balancer frontend IP configurations as paginated response with {@link PagedIterable}. + * @return load balancer frontend IP configuration along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String loadBalancerName, + String frontendIPConfigurationName, Context context); /** * Gets load balancer frontend IP configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param frontendIpConfigurationName The name of the frontend IP configuration. + * @param frontendIPConfigurationName The name of the resource that is unique within the set of frontend IP + * configurations used by the load balancer. This name can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return load balancer frontend IP configuration along with {@link Response} on successful completion of - * {@link Mono}. + * @return load balancer frontend IP configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String frontendIpConfigurationName); + FrontendIpConfigurationInner get(String resourceGroupName, String loadBalancerName, + String frontendIPConfigurationName); /** - * Gets load balancer frontend IP configuration. + * Gets all the load balancer frontend IP configurations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param frontendIpConfigurationName The name of the frontend IP configuration. * @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 load balancer frontend IP configuration on successful completion of {@link Mono}. + * @return all the load balancer frontend IP configurations as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String loadBalancerName, - String frontendIpConfigurationName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String loadBalancerName); /** - * Gets load balancer frontend IP configuration. + * Gets all the load balancer frontend IP configurations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param frontendIpConfigurationName The name of the frontend IP configuration. - * @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 load balancer frontend IP configuration along with {@link Response}. + * @return all the load balancer frontend IP configurations as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String loadBalancerName, - String frontendIpConfigurationName, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName); /** - * Gets load balancer frontend IP configuration. + * Gets all the load balancer frontend IP configurations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param frontendIpConfigurationName The name of the frontend IP configuration. + * @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 load balancer frontend IP configuration. + * @return all the load balancer frontend IP configurations as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - FrontendIpConfigurationInner get(String resourceGroupName, String loadBalancerName, - String frontendIpConfigurationName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName, + Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java index 88e0bbd7b9e5..adf46f60c6fc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -24,110 +24,110 @@ */ public interface LoadBalancerLoadBalancingRulesClient { /** - * Gets all the load balancing rules in a load balancer. + * Gets the specified load balancer load balancing rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all the load balancing rules in a load balancer as paginated response with {@link PagedFlux}. + * @return the specified load balancer load balancing rule along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String loadBalancingRuleName); /** - * Gets all the load balancing rules in a load balancer. + * Gets the specified load balancer load balancing rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all the load balancing rules in a load balancer as paginated response with {@link PagedIterable}. + * @return the specified load balancer load balancing rule on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String loadBalancerName, + String loadBalancingRuleName); /** - * Gets all the load balancing rules in a load balancer. + * Gets the specified load balancer load balancing rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param loadBalancingRuleName The name of the load balancing rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all the load balancing rules in a load balancer as paginated response with {@link PagedIterable}. + * @return the specified load balancer load balancing rule along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String loadBalancerName, + String loadBalancingRuleName, Context context); /** * Gets the specified load balancer load balancing rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified load balancer load balancing rule along with {@link Response} on successful completion of - * {@link Mono}. + * @return the specified load balancer load balancing rule. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String loadBalancingRuleName); + LoadBalancingRuleInner get(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName); /** - * Gets the specified load balancer load balancing rule. + * Gets all the load balancing rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified load balancer load balancing rule on successful completion of {@link Mono}. + * @return all the load balancing rules in a load balancer as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String loadBalancerName, - String loadBalancingRuleName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String loadBalancerName); /** - * Gets the specified load balancer load balancing rule. + * Gets all the load balancing rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param loadBalancingRuleName The name of the load balancing rule. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified load balancer load balancing rule along with {@link Response}. + * @return all the load balancing rules in a load balancer as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String loadBalancerName, - String loadBalancingRuleName, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName); /** - * Gets the specified load balancer load balancing rule. + * Gets all the load balancing rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param loadBalancingRuleName The name of the load balancing rule. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified load balancer load balancing rule. + * @return all the load balancing rules in a load balancer as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - LoadBalancingRuleInner get(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName, Context context); /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -143,7 +143,7 @@ Mono>> healthWithResponseAsync(String groupName, Strin /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -158,7 +158,7 @@ Mono>> healthWithResponseAsync(String groupName, Strin /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -173,7 +173,7 @@ SyncPoller, LoadBalancerHealthPerRule /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @param context The context to associate with this operation. @@ -189,7 +189,7 @@ SyncPoller, LoadBalancerHealthPerRule /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -204,7 +204,7 @@ Mono healthAsync(String groupName, String loadBa /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -218,7 +218,7 @@ Mono healthAsync(String groupName, String loadBa /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @param context The context to associate with this operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java index b8028c67823e..6c5aa69cadfb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,7 +18,7 @@ public interface LoadBalancerNetworkInterfacesClient { /** * Gets associated load balancer network interfaces. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -31,7 +31,7 @@ public interface LoadBalancerNetworkInterfacesClient { /** * Gets associated load balancer network interfaces. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -44,7 +44,7 @@ public interface LoadBalancerNetworkInterfacesClient { /** * Gets associated load balancer network interfaces. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java index 3a579ffb8da0..ec51d88d0efe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,102 +18,102 @@ */ public interface LoadBalancerOutboundRulesClient { /** - * Gets all the outbound rules in a load balancer. + * Gets the specified load balancer outbound rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param outboundRuleName The name of the outbound rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all the outbound rules in a load balancer as paginated response with {@link PagedFlux}. + * @return the specified load balancer outbound rule along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String outboundRuleName); /** - * Gets all the outbound rules in a load balancer. + * Gets the specified load balancer outbound rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param outboundRuleName The name of the outbound rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all the outbound rules in a load balancer as paginated response with {@link PagedIterable}. + * @return the specified load balancer outbound rule on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String loadBalancerName, String outboundRuleName); /** - * Gets all the outbound rules in a load balancer. + * Gets the specified load balancer outbound rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param outboundRuleName The name of the outbound rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all the outbound rules in a load balancer as paginated response with {@link PagedIterable}. + * @return the specified load balancer outbound rule along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String loadBalancerName, + String outboundRuleName, Context context); /** * Gets the specified load balancer outbound rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param outboundRuleName The name of the outbound rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified load balancer outbound rule along with {@link Response} on successful completion of - * {@link Mono}. + * @return the specified load balancer outbound rule. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String outboundRuleName); + OutboundRuleInner get(String resourceGroupName, String loadBalancerName, String outboundRuleName); /** - * Gets the specified load balancer outbound rule. + * Gets all the outbound rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param outboundRuleName The name of the outbound rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified load balancer outbound rule on successful completion of {@link Mono}. + * @return all the outbound rules in a load balancer as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String loadBalancerName, String outboundRuleName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String loadBalancerName); /** - * Gets the specified load balancer outbound rule. + * Gets all the outbound rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param outboundRuleName The name of the outbound rule. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified load balancer outbound rule along with {@link Response}. + * @return all the outbound rules in a load balancer as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String loadBalancerName, - String outboundRuleName, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName); /** - * Gets the specified load balancer outbound rule. + * Gets all the outbound rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param outboundRuleName The name of the outbound rule. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified load balancer outbound rule. + * @return all the outbound rules in a load balancer as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - OutboundRuleInner get(String resourceGroupName, String loadBalancerName, String outboundRuleName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java index b71f274dbf0b..9e43fa0628a0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,101 +18,101 @@ */ public interface LoadBalancerProbesClient { /** - * Gets all the load balancer probes. + * Gets load balancer probe. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param probeName The name of the probe. * @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 all the load balancer probes as paginated response with {@link PagedFlux}. + * @return load balancer probe along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String probeName); /** - * Gets all the load balancer probes. + * Gets load balancer probe. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param probeName The name of the probe. * @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 all the load balancer probes as paginated response with {@link PagedIterable}. + * @return load balancer probe on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String loadBalancerName, String probeName); /** - * Gets all the load balancer probes. + * Gets load balancer probe. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param probeName The name of the probe. * @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 all the load balancer probes as paginated response with {@link PagedIterable}. + * @return load balancer probe along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String loadBalancerName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String loadBalancerName, String probeName, + Context context); /** * Gets load balancer probe. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param probeName The name of the probe. * @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 load balancer probe along with {@link Response} on successful completion of {@link Mono}. + * @return load balancer probe. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String probeName); + ProbeInner get(String resourceGroupName, String loadBalancerName, String probeName); /** - * Gets load balancer probe. + * Gets all the load balancer probes. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param probeName The name of the probe. * @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 load balancer probe on successful completion of {@link Mono}. + * @return all the load balancer probes as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String loadBalancerName, String probeName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String loadBalancerName); /** - * Gets load balancer probe. + * Gets all the load balancer probes. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param probeName The name of the probe. - * @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 load balancer probe along with {@link Response}. + * @return all the load balancer probes as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String loadBalancerName, String probeName, - Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName); /** - * Gets load balancer probe. + * Gets all the load balancer probes. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param probeName The name of the probe. + * @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 load balancer probe. + * @return all the load balancer probes as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - ProbeInner get(String resourceGroupName, String loadBalancerName, String probeName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String loadBalancerName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java index 28ca61c8bbf3..84e6cfcad047 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -32,101 +32,10 @@ */ public interface LoadBalancersClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName); - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName); - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 loadBalancerName); - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 loadBalancerName, Context context); - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String loadBalancerName); - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 loadBalancerName); - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 loadBalancerName, Context context); - /** * Gets the specified load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -141,7 +50,7 @@ Mono> getByResourceGroupWithResponseAsync(String res /** * Gets the specified load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -154,7 +63,7 @@ Mono> getByResourceGroupWithResponseAsync(String res /** * Gets the specified load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -170,7 +79,7 @@ Response getByResourceGroupWithResponse(String resourceGroupN /** * Gets the specified load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -183,7 +92,7 @@ Response getByResourceGroupWithResponse(String resourceGroupN /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -198,7 +107,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -213,7 +122,7 @@ PollerFlux, LoadBalancerInner> beginCreateOrUpdate /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -228,7 +137,7 @@ SyncPoller, LoadBalancerInner> beginCreateOrUpdate /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @param context The context to associate with this operation. @@ -244,7 +153,7 @@ SyncPoller, LoadBalancerInner> beginCreateOrUpdate /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -259,7 +168,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String loa /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -273,7 +182,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String loa /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @param context The context to associate with this operation. @@ -289,7 +198,7 @@ LoadBalancerInner createOrUpdate(String resourceGroupName, String loadBalancerNa /** * Updates a load balancer tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to update load balancer tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -304,7 +213,7 @@ Mono> updateTagsWithResponseAsync(String resourceGro /** * Updates a load balancer tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to update load balancer tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -318,7 +227,7 @@ Mono> updateTagsWithResponseAsync(String resourceGro /** * Updates a load balancer tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to update load balancer tags. * @param context The context to associate with this operation. @@ -334,7 +243,7 @@ Response updateTagsWithResponse(String resourceGroupName, Str /** * Updates a load balancer tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to update load balancer tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -346,41 +255,100 @@ Response updateTagsWithResponse(String resourceGroupName, Str LoadBalancerInner updateTags(String resourceGroupName, String loadBalancerName, TagsObject parameters); /** - * Gets all the load balancers in a subscription. + * Deletes the specified load balancer. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancers in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName); /** - * Gets all the load balancers in a subscription. + * Deletes the specified load balancer. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancers in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName); /** - * Gets all the load balancers in a subscription. + * Deletes the specified load balancer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 loadBalancerName); + + /** + * Deletes the specified load balancer. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. * @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 all the load balancers in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String loadBalancerName, Context context); + + /** + * Deletes the specified load balancer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String loadBalancerName); + + /** + * Deletes the specified load balancer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 loadBalancerName); + + /** + * Deletes the specified load balancer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 loadBalancerName, Context context); /** * Gets all the load balancers in a resource group. * - * @param resourceGroupName The name of the 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. @@ -392,7 +360,7 @@ Response updateTagsWithResponse(String resourceGroupName, Str /** * Gets all the load balancers in a resource group. * - * @param resourceGroupName The name of the 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. @@ -404,7 +372,7 @@ Response updateTagsWithResponse(String resourceGroupName, Str /** * Gets all the load balancers in a resource group. * - * @param resourceGroupName The name of the 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. @@ -415,106 +383,101 @@ Response updateTagsWithResponse(String resourceGroupName, Str PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** - * Swaps VIPs between two load balancers. + * Gets all the load balancers in a subscription. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. - * @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 Response} on successful completion of {@link Mono}. + * @return all the load balancers in a subscription as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> swapPublicIpAddressesWithResponseAsync(String location, - LoadBalancerVipSwapRequest parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); /** - * Swaps VIPs between two load balancers. + * Gets all the load balancers in a subscription. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. - * @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 PollerFlux} for polling of long-running operation. + * @return all the load balancers in a subscription as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginSwapPublicIpAddressesAsync(String location, - LoadBalancerVipSwapRequest parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); /** - * Swaps VIPs between two load balancers. + * Gets all the load balancers in a subscription. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. + * @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. + * @return all the load balancers in a subscription as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginSwapPublicIpAddresses(String location, - LoadBalancerVipSwapRequest parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); /** - * Swaps VIPs between two load balancers. + * Migrate load balancer to IP Based. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. - * @param context The context to associate with this operation. + * @param groupName The groupName parameter. + * @param loadBalancerName The name of the load balancer. + * @param parameters Parameters supplied to the migrateToIpBased Api. * @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. + * @return the response for a migrateToIpBased API along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginSwapPublicIpAddresses(String location, - LoadBalancerVipSwapRequest parameters, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> migrateToIpBasedWithResponseAsync(String groupName, String loadBalancerName, + MigrateLoadBalancerToIpBasedRequest parameters); /** - * Swaps VIPs between two load balancers. + * Migrate load balancer to IP Based. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. + * @param groupName The groupName parameter. + * @param loadBalancerName The name of the load balancer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response for a migrateToIpBased API on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono swapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters); + Mono migrateToIpBasedAsync(String groupName, String loadBalancerName); /** - * Swaps VIPs between two load balancers. + * Migrate load balancer to IP Based. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. + * @param groupName The groupName parameter. + * @param loadBalancerName The name of the load balancer. + * @param parameters Parameters supplied to the migrateToIpBased Api. + * @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 for a migrateToIpBased API along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - void swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters); + Response migrateToIpBasedWithResponse(String groupName, String loadBalancerName, + MigrateLoadBalancerToIpBasedRequest parameters, Context context); /** - * Swaps VIPs between two load balancers. + * Migrate load balancer to IP Based. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. - * @param context The context to associate with this operation. + * @param groupName The groupName parameter. + * @param loadBalancerName The name of the load balancer. * @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 for a migrateToIpBased API. */ @ServiceMethod(returns = ReturnType.SINGLE) - void swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters, Context context); + MigratedPoolsInner migrateToIpBased(String groupName, String loadBalancerName); /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -529,9 +492,9 @@ Mono>> listInboundNatRulePortMappingsWithResponseAsync /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -546,9 +509,9 @@ Mono>> listInboundNatRulePortMappingsWithResponseAsync /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -563,9 +526,9 @@ Mono>> listInboundNatRulePortMappingsWithResponseAsync /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -581,9 +544,9 @@ Mono>> listInboundNatRulePortMappingsWithResponseAsync /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -597,9 +560,9 @@ Mono listInboundNatRulePortMappin /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -613,9 +576,9 @@ BackendAddressInboundNatRulePortMappingsInner listInboundNatRulePortMappings(Str /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -629,60 +592,97 @@ BackendAddressInboundNatRulePortMappingsInner listInboundNatRulePortMappings(Str Context context); /** - * Migrate load balancer to IP Based. + * Swaps VIPs between two load balancers. * - * @param groupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @param parameters Parameters supplied to the migrateToIpBased Api. + * @param location The name of the Azure region. + * @param parameters The parameters parameter. * @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 for a migrateToIpBased API along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> migrateToIpBasedWithResponseAsync(String groupName, String loadBalancerName, - MigrateLoadBalancerToIpBasedRequest parameters); + Mono>> swapPublicIpAddressesWithResponseAsync(String location, + LoadBalancerVipSwapRequest parameters); /** - * Migrate load balancer to IP Based. + * Swaps VIPs between two load balancers. * - * @param groupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. + * @param location The name of the Azure region. + * @param parameters The parameters parameter. * @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 for a migrateToIpBased API on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono migrateToIpBasedAsync(String groupName, String loadBalancerName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginSwapPublicIpAddressesAsync(String location, + LoadBalancerVipSwapRequest parameters); /** - * Migrate load balancer to IP Based. + * Swaps VIPs between two load balancers. * - * @param groupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @param parameters Parameters supplied to the migrateToIpBased Api. + * @param location The name of the Azure region. + * @param parameters The parameters parameter. + * @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> beginSwapPublicIpAddresses(String location, + LoadBalancerVipSwapRequest parameters); + + /** + * Swaps VIPs between two load balancers. + * + * @param location The name of the Azure region. + * @param parameters The parameters parameter. * @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 for a migrateToIpBased API along with {@link Response}. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginSwapPublicIpAddresses(String location, + LoadBalancerVipSwapRequest parameters, Context context); + + /** + * Swaps VIPs between two load balancers. + * + * @param location The name of the Azure region. + * @param parameters The parameters parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response migrateToIpBasedWithResponse(String groupName, String loadBalancerName, - MigrateLoadBalancerToIpBasedRequest parameters, Context context); + Mono swapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters); /** - * Migrate load balancer to IP Based. + * Swaps VIPs between two load balancers. * - * @param groupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. + * @param location The name of the Azure region. + * @param parameters The parameters parameter. * @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 for a migrateToIpBased API. */ @ServiceMethod(returns = ReturnType.SINGLE) - MigratedPoolsInner migrateToIpBased(String groupName, String loadBalancerName); + void swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters); + + /** + * Swaps VIPs between two load balancers. + * + * @param location The name of the Azure region. + * @param parameters The parameters parameter. + * @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 swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java index 364ece1eda26..a3aa299c27ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -26,10 +26,66 @@ */ public interface LocalNetworkGatewaysClient extends InnerSupportsGet, InnerSupportsDelete { + /** + * Gets the specified local network gateway in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param localNetworkGatewayName The name of the local network gateway. + * @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 local network gateway in a resource group along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String localNetworkGatewayName); + + /** + * Gets the specified local network gateway in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param localNetworkGatewayName The name of the local network gateway. + * @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 local network gateway in a resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, String localNetworkGatewayName); + + /** + * Gets the specified local network gateway in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param localNetworkGatewayName The name of the local network gateway. + * @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 local network gateway in a resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, + String localNetworkGatewayName, Context context); + + /** + * Gets the specified local network gateway in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param localNetworkGatewayName The name of the local network gateway. + * @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 local network gateway in a resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + LocalNetworkGatewayInner getByResourceGroup(String resourceGroupName, String localNetworkGatewayName); + /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -45,7 +101,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -60,7 +116,7 @@ PollerFlux, LocalNetworkGatewayInner> begin /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -75,7 +131,7 @@ SyncPoller, LocalNetworkGatewayInner> begin /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @param context The context to associate with this operation. @@ -91,7 +147,7 @@ SyncPoller, LocalNetworkGatewayInner> begin /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -106,7 +162,7 @@ Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -121,7 +177,7 @@ LocalNetworkGatewayInner createOrUpdate(String resourceGroupName, String localNe /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @param context The context to associate with this operation. @@ -135,65 +191,71 @@ LocalNetworkGatewayInner createOrUpdate(String resourceGroupName, String localNe LocalNetworkGatewayInner parameters, Context context); /** - * Gets the specified local network gateway in a resource group. + * Updates a local network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. + * @param parameters Parameters supplied to update local network gateway tags. * @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 local network gateway in a resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return a common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String localNetworkGatewayName); + Mono> updateTagsWithResponseAsync(String resourceGroupName, + String localNetworkGatewayName, TagsObject parameters); /** - * Gets the specified local network gateway in a resource group. + * Updates a local network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. + * @param parameters Parameters supplied to update local network gateway tags. * @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 local network gateway in a resource group on successful completion of {@link Mono}. + * @return a common class for general resource information on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String localNetworkGatewayName); + Mono updateTagsAsync(String resourceGroupName, String localNetworkGatewayName, + TagsObject parameters); /** - * Gets the specified local network gateway in a resource group. + * Updates a local network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. + * @param parameters Parameters supplied to update local network gateway tags. * @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 local network gateway in a resource group along with {@link Response}. + * @return a common class for general resource information along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, - String localNetworkGatewayName, Context context); + Response updateTagsWithResponse(String resourceGroupName, String localNetworkGatewayName, + TagsObject parameters, Context context); /** - * Gets the specified local network gateway in a resource group. + * Updates a local network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. + * @param parameters Parameters supplied to update local network gateway tags. * @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 local network gateway in a resource group. + * @return a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - LocalNetworkGatewayInner getByResourceGroup(String resourceGroupName, String localNetworkGatewayName); + LocalNetworkGatewayInner updateTags(String resourceGroupName, String localNetworkGatewayName, + TagsObject parameters); /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -206,7 +268,7 @@ Response getByResourceGroupWithResponse(String resourc /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -219,7 +281,7 @@ Response getByResourceGroupWithResponse(String resourc /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -232,7 +294,7 @@ Response getByResourceGroupWithResponse(String resourc /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -247,7 +309,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -260,7 +322,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -272,7 +334,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -282,72 +344,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String localNetworkGatewayName, Context context); - /** - * Updates a local network gateway tags. - * - * @param resourceGroupName The name of the resource group. - * @param localNetworkGatewayName The name of the local network gateway. - * @param parameters Parameters supplied to update local network gateway tags. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> updateTagsWithResponseAsync(String resourceGroupName, - String localNetworkGatewayName, TagsObject parameters); - - /** - * Updates a local network gateway tags. - * - * @param resourceGroupName The name of the resource group. - * @param localNetworkGatewayName The name of the local network gateway. - * @param parameters Parameters supplied to update local network gateway tags. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateTagsAsync(String resourceGroupName, String localNetworkGatewayName, - TagsObject parameters); - - /** - * Updates a local network gateway tags. - * - * @param resourceGroupName The name of the resource group. - * @param localNetworkGatewayName The name of the local network gateway. - * @param parameters Parameters supplied to update local network gateway tags. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response updateTagsWithResponse(String resourceGroupName, String localNetworkGatewayName, - TagsObject parameters, Context context); - - /** - * Updates a local network gateway tags. - * - * @param resourceGroupName The name of the resource group. - * @param localNetworkGatewayName The name of the local network gateway. - * @param parameters Parameters supplied to update local network gateway tags. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - LocalNetworkGatewayInner updateTags(String resourceGroupName, String localNetworkGatewayName, - TagsObject parameters); - /** * Gets all the local network gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -359,7 +359,7 @@ LocalNetworkGatewayInner updateTags(String resourceGroupName, String localNetwor /** * Gets all the local network gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -371,7 +371,7 @@ LocalNetworkGatewayInner updateTags(String resourceGroupName, String localNetwor /** * Gets all the local network gateways in a resource group. * - * @param resourceGroupName The name of the 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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java index d55cd4c1a3f7..97c78c53be32 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,127 +20,127 @@ */ public interface ManagementGroupNetworkManagerConnectionsClient extends InnerSupportsDelete { /** - * Create a network manager connection on this management group. + * Get a specified connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return a specified connection created by this management group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> createOrUpdateWithResponseAsync(String managementGroupId, - String networkManagerConnectionName, NetworkManagerConnectionInner parameters); + Mono> getWithResponseAsync(String managementGroupId, + String networkManagerConnectionName); /** - * Create a network manager connection on this management group. + * Get a specified connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource on successful completion of {@link Mono}. + * @return a specified connection created by this management group on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String managementGroupId, - String networkManagerConnectionName, NetworkManagerConnectionInner parameters); + Mono getAsync(String managementGroupId, String networkManagerConnectionName); /** - * Create a network manager connection on this management group. + * Get a specified connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource along with {@link Response}. + * @return a specified connection created by this management group along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response createOrUpdateWithResponse(String managementGroupId, - String networkManagerConnectionName, NetworkManagerConnectionInner parameters, Context context); + Response getWithResponse(String managementGroupId, + String networkManagerConnectionName, Context context); /** - * Create a network manager connection on this management group. + * Get a specified connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource. + * @return a specified connection created by this management group. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkManagerConnectionInner createOrUpdate(String managementGroupId, String networkManagerConnectionName, - NetworkManagerConnectionInner parameters); + NetworkManagerConnectionInner get(String managementGroupId, String networkManagerConnectionName); /** - * Get a specified connection created by this management group. + * Create a network manager connection on this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specified connection created by this management group along with {@link Response} on successful - * completion of {@link Mono}. + * @return the Network Manager Connection resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String managementGroupId, - String networkManagerConnectionName); + Mono> createOrUpdateWithResponseAsync(String managementGroupId, + String networkManagerConnectionName, NetworkManagerConnectionInner parameters); /** - * Get a specified connection created by this management group. + * Create a network manager connection on this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specified connection created by this management group on successful completion of {@link Mono}. + * @return the Network Manager Connection resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String managementGroupId, String networkManagerConnectionName); + Mono createOrUpdateAsync(String managementGroupId, + String networkManagerConnectionName, NetworkManagerConnectionInner parameters); /** - * Get a specified connection created by this management group. + * Create a network manager connection on this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specified connection created by this management group along with {@link Response}. + * @return the Network Manager Connection resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String managementGroupId, - String networkManagerConnectionName, Context context); + Response createOrUpdateWithResponse(String managementGroupId, + String networkManagerConnectionName, NetworkManagerConnectionInner parameters, Context context); /** - * Get a specified connection created by this management group. + * Create a network manager connection on this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specified connection created by this management group. + * @return the Network Manager Connection resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkManagerConnectionInner get(String managementGroupId, String networkManagerConnectionName); + NetworkManagerConnectionInner createOrUpdate(String managementGroupId, String networkManagerConnectionName, + NetworkManagerConnectionInner parameters); /** * Delete specified pending connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -153,7 +153,7 @@ Response getWithResponse(String managementGroupId /** * Delete specified pending connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -166,7 +166,7 @@ Response getWithResponse(String managementGroupId /** * Delete specified pending connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -180,7 +180,7 @@ Response getWithResponse(String managementGroupId /** * Delete specified pending connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -192,7 +192,7 @@ Response getWithResponse(String managementGroupId /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -201,7 +201,7 @@ Response getWithResponse(String managementGroupId * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of network manager connections as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManagerConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String managementGroupId, Integer top, String skipToken); @@ -209,11 +209,11 @@ Response getWithResponse(String managementGroupId /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group 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 list of network manager connections as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManagerConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String managementGroupId); @@ -221,11 +221,12 @@ Response getWithResponse(String managementGroupId /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group 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 list of network manager connections as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManagerConnection list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String managementGroupId); @@ -233,7 +234,7 @@ Response getWithResponse(String managementGroupId /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -243,7 +244,8 @@ Response getWithResponse(String managementGroupId * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of network manager connections as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManagerConnection list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String managementGroupId, Integer top, String skipToken, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java index cbebdd219cbb..3b4bf36e0059 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,101 +27,10 @@ */ public interface NatGatewaysClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String natGatewayName); - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String natGatewayName); - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 natGatewayName); - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 natGatewayName, Context context); - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String natGatewayName); - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 natGatewayName); - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 natGatewayName, Context context); - /** * Gets the specified nat gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -137,7 +46,7 @@ Mono> getByResourceGroupWithResponseAsync(String resou /** * Gets the specified nat gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -150,7 +59,7 @@ Mono> getByResourceGroupWithResponseAsync(String resou /** * Gets the specified nat gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -166,7 +75,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNam /** * Gets the specified nat gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -179,7 +88,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNam /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -194,7 +103,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -209,7 +118,7 @@ PollerFlux, NatGatewayInner> beginCreateOrUpdateAsyn /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -224,7 +133,7 @@ SyncPoller, NatGatewayInner> beginCreateOrUpdate(Str /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @param context The context to associate with this operation. @@ -240,7 +149,7 @@ SyncPoller, NatGatewayInner> beginCreateOrUpdate(Str /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -255,7 +164,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String natGa /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -269,7 +178,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String natGa /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @param context The context to associate with this operation. @@ -285,7 +194,7 @@ NatGatewayInner createOrUpdate(String resourceGroupName, String natGatewayName, /** * Updates nat gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to update nat gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -300,7 +209,7 @@ Mono> updateTagsWithResponseAsync(String resourceGroup /** * Updates nat gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to update nat gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -314,7 +223,7 @@ Mono> updateTagsWithResponseAsync(String resourceGroup /** * Updates nat gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to update nat gateway tags. * @param context The context to associate with this operation. @@ -330,7 +239,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Updates nat gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to update nat gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -342,41 +251,100 @@ Response updateTagsWithResponse(String resourceGroupName, Strin NatGatewayInner updateTags(String resourceGroupName, String natGatewayName, TagsObject parameters); /** - * Gets all the Nat Gateways in a subscription. + * Deletes the specified nat gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 all the Nat Gateways in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String natGatewayName); /** - * Gets all the Nat Gateways in a subscription. + * Deletes the specified nat gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 all the Nat Gateways in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String natGatewayName); /** - * Gets all the Nat Gateways in a subscription. + * Deletes the specified nat gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 natGatewayName); + + /** + * Deletes the specified nat gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. * @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 all the Nat Gateways in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String natGatewayName, Context context); + + /** + * Deletes the specified nat gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String natGatewayName); + + /** + * Deletes the specified nat gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 natGatewayName); + + /** + * Deletes the specified nat gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 natGatewayName, Context context); /** * Gets all nat gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -388,7 +356,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Gets all nat gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -400,7 +368,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Gets all nat gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -409,4 +377,36 @@ Response updateTagsWithResponse(String resourceGroupName, Strin */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all the Nat Gateways in a 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 all the Nat Gateways in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all the Nat Gateways in a 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 all the Nat Gateways in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all the Nat Gateways in a 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 all the Nat Gateways in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java index 7bce74585ded..6307dfe00590 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -25,9 +25,10 @@ public interface NatRulesClient { /** * Retrieves the details of a nat ruleGet. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -40,9 +41,10 @@ Mono> getWithResponseAsync(String resourceGroup /** * Retrieves the details of a nat ruleGet. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -54,9 +56,10 @@ Mono> getWithResponseAsync(String resourceGroup /** * Retrieves the details of a nat ruleGet. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -70,9 +73,10 @@ Response getWithResponse(String resourceGroupName, Strin /** * Retrieves the details of a nat ruleGet. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -84,9 +88,10 @@ Response getWithResponse(String resourceGroupName, Strin /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -100,9 +105,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -116,9 +122,10 @@ PollerFlux, VpnGatewayNatRuleInner> beginCrea /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -132,9 +139,10 @@ SyncPoller, VpnGatewayNatRuleInner> beginCrea /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -149,9 +157,10 @@ SyncPoller, VpnGatewayNatRuleInner> beginCrea /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -165,9 +174,10 @@ Mono createOrUpdateAsync(String resourceGroupName, Strin /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -181,9 +191,10 @@ VpnGatewayNatRuleInner createOrUpdate(String resourceGroupName, String gatewayNa /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -198,9 +209,10 @@ VpnGatewayNatRuleInner createOrUpdate(String resourceGroupName, String gatewayNa /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -213,9 +225,10 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -228,9 +241,10 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -242,9 +256,10 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -258,9 +273,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -272,9 +288,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -285,9 +302,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -299,7 +317,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves all nat rules for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -313,7 +331,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves all nat rules for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -327,7 +345,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves all nat rules for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java index dec611180f8b..c6051fcf439a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -26,7 +26,7 @@ public interface NetworkGroupsClient { /** * Gets the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -41,7 +41,7 @@ Mono> getWithResponseAsync(String resourceGroupName, /** * Gets the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -55,7 +55,7 @@ Mono> getWithResponseAsync(String resourceGroupName, /** * Gets the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param context The context to associate with this operation. @@ -71,7 +71,7 @@ Response getWithResponse(String resourceGroupName, String net /** * Gets the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -85,7 +85,7 @@ Response getWithResponse(String resourceGroupName, String net /** * Creates or updates a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param parameters Parameters supplied to the specify which network group need to create. @@ -103,7 +103,7 @@ Mono createOrUpdateWithResponseAsync(String /** * Creates or updates a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param parameters Parameters supplied to the specify which network group need to create. @@ -119,7 +119,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String net /** * Creates or updates a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param parameters Parameters supplied to the specify which network group need to create. @@ -138,7 +138,7 @@ NetworkGroupsCreateOrUpdateResponse createOrUpdateWithResponse(String resourceGr /** * Creates or updates a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param parameters Parameters supplied to the specify which network group need to create. @@ -154,7 +154,7 @@ NetworkGroupInner createOrUpdate(String resourceGroupName, String networkManager /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -171,7 +171,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -188,7 +188,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -203,7 +203,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -218,7 +218,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -236,7 +236,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -252,7 +252,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -266,7 +266,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -279,7 +279,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -296,7 +296,7 @@ void delete(String resourceGroupName, String networkManagerName, String networkG /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -306,7 +306,7 @@ void delete(String resourceGroupName, String networkManagerName, String networkG * @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 result of the request to list NetworkGroup as paginated response with {@link PagedFlux}. + * @return the response of a NetworkGroup list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkManagerName, Integer top, @@ -315,12 +315,12 @@ PagedFlux listAsync(String resourceGroupName, String networkM /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @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 result of the request to list NetworkGroup as paginated response with {@link PagedFlux}. + * @return the response of a NetworkGroup list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkManagerName); @@ -328,12 +328,12 @@ PagedFlux listAsync(String resourceGroupName, String networkM /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @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 result of the request to list NetworkGroup as paginated response with {@link PagedIterable}. + * @return the response of a NetworkGroup list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkManagerName); @@ -341,7 +341,7 @@ PagedFlux listAsync(String resourceGroupName, String networkM /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -352,7 +352,7 @@ PagedFlux listAsync(String resourceGroupName, String networkM * @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 result of the request to list NetworkGroup as paginated response with {@link PagedIterable}. + * @return the response of a NetworkGroup list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkManagerName, Integer top, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java index d37a2b37085a..cf530aa351b9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -14,109 +14,109 @@ import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in NetworkInterfaceIpConfigurationsClient. + * An instance of this class provides access to all the operations defined in NetworkInterfaceIPConfigurationsClient. */ -public interface NetworkInterfaceIpConfigurationsClient { +public interface NetworkInterfaceIPConfigurationsClient { /** - * Get all ip configurations in a network interface. + * Gets the specified network interface ip configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the ip configuration. * @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 all ip configurations in a network interface as paginated response with {@link PagedFlux}. + * @return the specified network interface ip configuration along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkInterfaceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, + String networkInterfaceName, String ipConfigurationName); /** - * Get all ip configurations in a network interface. + * Gets the specified network interface ip configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the ip configuration. * @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 all ip configurations in a network interface as paginated response with {@link PagedIterable}. + * @return the specified network interface ip configuration on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkInterfaceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String networkInterfaceName, + String ipConfigurationName); /** - * Get all ip configurations in a network interface. + * Gets the specified network interface ip configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the ip configuration. * @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 all ip configurations in a network interface as paginated response with {@link PagedIterable}. + * @return the specified network interface ip configuration along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkInterfaceName, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, + String networkInterfaceName, String ipConfigurationName, Context context); /** * Gets the specified network interface ip configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration name. + * @param ipConfigurationName The name of the ip configuration. * @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 network interface ip configuration along with {@link Response} on successful completion of - * {@link Mono}. + * @return the specified network interface ip configuration. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, - String networkInterfaceName, String ipConfigurationName); + NetworkInterfaceIpConfigurationInner get(String resourceGroupName, String networkInterfaceName, + String ipConfigurationName); /** - * Gets the specified network interface ip configuration. + * Get all ip configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration name. * @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 network interface ip configuration on successful completion of {@link Mono}. + * @return all ip configurations in a network interface as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String networkInterfaceName, - String ipConfigurationName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkInterfaceName); /** - * Gets the specified network interface ip configuration. + * Get all ip configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration name. - * @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 network interface ip configuration along with {@link Response}. + * @return all ip configurations in a network interface as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, - String networkInterfaceName, String ipConfigurationName, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkInterfaceName); /** - * Gets the specified network interface ip configuration. + * Get all ip configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration name. + * @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 network interface ip configuration. + * @return all ip configurations in a network interface as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkInterfaceIpConfigurationInner get(String resourceGroupName, String networkInterfaceName, - String ipConfigurationName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkInterfaceName, + Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java index b96e544ca110..5905aadd2d39 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,12 +18,12 @@ public interface NetworkInterfaceLoadBalancersClient { /** * List all load balancers in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @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 response for list ip configurations API service call as paginated response with {@link PagedFlux}. + * @return paged collection of LoadBalancer items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkInterfaceName); @@ -31,12 +31,12 @@ public interface NetworkInterfaceLoadBalancersClient { /** * List all load balancers in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @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 response for list ip configurations API service call as paginated response with {@link PagedIterable}. + * @return paged collection of LoadBalancer items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkInterfaceName); @@ -44,13 +44,13 @@ public interface NetworkInterfaceLoadBalancersClient { /** * List all load balancers in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @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 response for list ip configurations API service call as paginated response with {@link PagedIterable}. + * @return paged collection of LoadBalancer items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkInterfaceName, Context context); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java index 22db539722a4..d54e5c67ea34 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,114 +22,13 @@ * An instance of this class provides access to all the operations defined in NetworkInterfaceTapConfigurationsClient. */ public interface NetworkInterfaceTapConfigurationsClient { - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String networkInterfaceName, - String tapConfigurationName); - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName, - String tapConfigurationName); - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 networkInterfaceName, - String tapConfigurationName); - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 networkInterfaceName, - String tapConfigurationName, Context context); - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String networkInterfaceName, String tapConfigurationName); - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 networkInterfaceName, String tapConfigurationName); - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 networkInterfaceName, String tapConfigurationName, Context context); - /** * Get the specified tap configuration on a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -143,9 +42,10 @@ Mono> getWithResponseAsync(Strin /** * Get the specified tap configuration on a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -158,9 +58,10 @@ Mono getAsync(String resourceGroupName, S /** * Get the specified tap configuration on a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -174,9 +75,10 @@ Response getWithResponse(String resourceG /** * Get the specified tap configuration on a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -189,9 +91,10 @@ NetworkInterfaceTapConfigurationInner get(String resourceGroupName, String netwo /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -207,9 +110,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -224,9 +128,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -241,9 +146,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -259,9 +165,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -276,9 +183,10 @@ Mono createOrUpdateAsync(String resourceG /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -292,9 +200,10 @@ NetworkInterfaceTapConfigurationInner createOrUpdate(String resourceGroupName, S /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -306,10 +215,119 @@ NetworkInterfaceTapConfigurationInner createOrUpdate(String resourceGroupName, S NetworkInterfaceTapConfigurationInner createOrUpdate(String resourceGroupName, String networkInterfaceName, String tapConfigurationName, NetworkInterfaceTapConfigurationInner tapConfigurationParameters, Context context); + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String networkInterfaceName, + String tapConfigurationName); + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName, + String tapConfigurationName); + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String networkInterfaceName, + String tapConfigurationName); + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @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 networkInterfaceName, + String tapConfigurationName, Context context); + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String networkInterfaceName, String tapConfigurationName); + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String networkInterfaceName, String tapConfigurationName); + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String networkInterfaceName, String tapConfigurationName, Context context); + /** * Get all Tap configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -322,7 +340,7 @@ NetworkInterfaceTapConfigurationInner createOrUpdate(String resourceGroupName, S /** * Get all Tap configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -335,7 +353,7 @@ NetworkInterfaceTapConfigurationInner createOrUpdate(String resourceGroupName, S /** * Get all Tap configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java index 33584604eb02..28c88c37e819 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -16,7 +16,6 @@ import com.azure.resourcemanager.network.fluent.models.EffectiveNetworkSecurityGroupListResultInner; import com.azure.resourcemanager.network.fluent.models.EffectiveRouteListResultInner; import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceInner; -import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -31,261 +30,245 @@ public interface NetworkInterfacesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { /** - * Gets information about all network interfaces in a role instance in a cloud service. + * Get the specified network interface in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. + * @param networkInterfaceName The name of the network interface. + * @param expand Expands referenced resources. * @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 information about all network interfaces in a role instance in a cloud service as paginated response with - * {@link PagedFlux}. + * @return the specified network interface in a cloud service along with {@link Response} on successful completion + * of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listCloudServiceRoleInstanceNetworkInterfacesAsync(String resourceGroupName, - String cloudServiceName, String roleInstanceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getCloudServiceNetworkInterfaceWithResponseAsync(String resourceGroupName, + String cloudServiceName, String roleInstanceName, String networkInterfaceName, String expand); /** - * Gets information about all network interfaces in a role instance in a cloud service. + * Get the specified network interface in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. + * @param networkInterfaceName The name of the network interface. * @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 information about all network interfaces in a role instance in a cloud service as paginated response with - * {@link PagedIterable}. + * @return the specified network interface in a cloud service on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServiceRoleInstanceNetworkInterfaces(String resourceGroupName, - String cloudServiceName, String roleInstanceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getCloudServiceNetworkInterfaceAsync(String resourceGroupName, String cloudServiceName, + String roleInstanceName, String networkInterfaceName); /** - * Gets information about all network interfaces in a role instance in a cloud service. + * Get the specified network interface in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. + * @param networkInterfaceName The name of the network interface. + * @param expand Expands referenced resources. * @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 information about all network interfaces in a role instance in a cloud service as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServiceRoleInstanceNetworkInterfaces(String resourceGroupName, - String cloudServiceName, String roleInstanceName, Context context); - - /** - * Gets all network interfaces in a cloud service. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @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 all network interfaces in a cloud service as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listCloudServiceNetworkInterfacesAsync(String resourceGroupName, - String cloudServiceName); - - /** - * Gets all network interfaces in a cloud service. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @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 all network interfaces in a cloud service as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServiceNetworkInterfaces(String resourceGroupName, - String cloudServiceName); - - /** - * Gets all network interfaces in a cloud service. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @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 all network interfaces in a cloud service as paginated response with {@link PagedIterable}. + * @return the specified network interface in a cloud service along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServiceNetworkInterfaces(String resourceGroupName, - String cloudServiceName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getCloudServiceNetworkInterfaceWithResponse(String resourceGroupName, + String cloudServiceName, String roleInstanceName, String networkInterfaceName, String expand, Context context); /** * Get the specified network interface in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. * @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 network interface in a cloud service along with {@link Response} on successful completion - * of {@link Mono}. + * @return the specified network interface in a cloud service. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getCloudServiceNetworkInterfaceWithResponseAsync(String resourceGroupName, - String cloudServiceName, String roleInstanceName, String networkInterfaceName, String expand); + NetworkInterfaceInner getCloudServiceNetworkInterface(String resourceGroupName, String cloudServiceName, + String roleInstanceName, String networkInterfaceName); /** - * Get the specified network interface in a cloud service. + * Gets information about all network interfaces in a role instance in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The name of the network interface. * @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 network interface in a cloud service on successful completion of {@link Mono}. + * @return information about all network interfaces in a role instance in a cloud service as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getCloudServiceNetworkInterfaceAsync(String resourceGroupName, String cloudServiceName, - String roleInstanceName, String networkInterfaceName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listCloudServiceRoleInstanceNetworkInterfacesAsync(String resourceGroupName, + String cloudServiceName, String roleInstanceName); /** - * Get the specified network interface in a cloud service. + * Gets information about all network interfaces in a role instance in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. - * @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 network interface in a cloud service along with {@link Response}. + * @return information about all network interfaces in a role instance in a cloud service as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getCloudServiceNetworkInterfaceWithResponse(String resourceGroupName, - String cloudServiceName, String roleInstanceName, String networkInterfaceName, String expand, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listCloudServiceRoleInstanceNetworkInterfaces(String resourceGroupName, + String cloudServiceName, String roleInstanceName); /** - * Get the specified network interface in a cloud service. + * Gets information about all network interfaces in a role instance in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The name of the network interface. + * @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 network interface in a cloud service. + * @return information about all network interfaces in a role instance in a cloud service as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkInterfaceInner getCloudServiceNetworkInterface(String resourceGroupName, String cloudServiceName, - String roleInstanceName, String networkInterfaceName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listCloudServiceRoleInstanceNetworkInterfaces(String resourceGroupName, + String cloudServiceName, String roleInstanceName, Context context); /** - * Deletes the specified network interface. + * Get the specified network interface in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. * @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 Response} on successful completion of {@link Mono}. + * @return the specified network interface in a virtual machine scale set along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String networkInterfaceName); + Mono> getVirtualMachineScaleSetNetworkInterfaceWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand); /** - * Deletes the specified network interface. + * Get the specified network interface in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. * @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 PollerFlux} for polling of long-running operation. + * @return the specified network interface in a virtual machine scale set on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getVirtualMachineScaleSetNetworkInterfaceAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName); /** - * Deletes the specified network interface. + * Get the specified network interface in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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. + * @return the specified network interface in a virtual machine scale set along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String networkInterfaceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getVirtualMachineScaleSetNetworkInterfaceWithResponse(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand, + Context context); /** - * Deletes the specified network interface. + * Get the specified network interface in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. * @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. + * @return the specified network interface in a virtual machine scale set. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String networkInterfaceName, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkInterfaceInner getVirtualMachineScaleSetNetworkInterface(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName); /** - * Deletes the specified network interface. + * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return information about all network interfaces in a virtual machine in a virtual machine scale set as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String networkInterfaceName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listVirtualMachineScaleSetVMNetworkInterfacesAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex); /** - * Deletes the specified network interface. + * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String networkInterfaceName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetVMNetworkInterfaces(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex); /** - * Deletes the specified network interface. + * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String networkInterfaceName, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetVMNetworkInterfaces(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, Context context); /** * Gets information about the specified network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -301,7 +284,7 @@ Mono> getByResourceGroupWithResponseAsync(String /** * Gets information about the specified network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -314,7 +297,7 @@ Mono> getByResourceGroupWithResponseAsync(String /** * Gets information about the specified network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -330,7 +313,7 @@ Response getByResourceGroupWithResponse(String resourceGr /** * Gets information about the specified network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -343,7 +326,7 @@ Response getByResourceGroupWithResponse(String resourceGr /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -359,7 +342,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -374,7 +357,7 @@ PollerFlux, NetworkInterfaceInner> beginCreate /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -389,7 +372,7 @@ SyncPoller, NetworkInterfaceInner> beginCreate /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @param context The context to associate with this operation. @@ -405,7 +388,7 @@ SyncPoller, NetworkInterfaceInner> beginCreate /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -420,7 +403,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -435,7 +418,7 @@ NetworkInterfaceInner createOrUpdate(String resourceGroupName, String networkInt /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @param context The context to associate with this operation. @@ -451,7 +434,7 @@ NetworkInterfaceInner createOrUpdate(String resourceGroupName, String networkInt /** * Updates a network interface tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to update network interface tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -467,7 +450,7 @@ Mono> updateTagsWithResponseAsync(String resourc /** * Updates a network interface tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to update network interface tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -482,7 +465,7 @@ Mono updateTagsAsync(String resourceGroupName, String net /** * Updates a network interface tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to update network interface tags. * @param context The context to associate with this operation. @@ -498,7 +481,7 @@ Response updateTagsWithResponse(String resourceGroupName, /** * Updates a network interface tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to update network interface tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -510,41 +493,101 @@ Response updateTagsWithResponse(String resourceGroupName, NetworkInterfaceInner updateTags(String resourceGroupName, String networkInterfaceName, TagsObject parameters); /** - * Gets all network interfaces in a subscription. + * Deletes the specified network interface. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 all network interfaces in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String networkInterfaceName); /** - * Gets all network interfaces in a subscription. + * Deletes the specified network interface. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 all network interfaces in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName); /** - * Gets all network interfaces in a subscription. + * Deletes the specified network interface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 networkInterfaceName); + + /** + * Deletes the specified network interface. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. * @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 all network interfaces in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String networkInterfaceName, + Context context); + + /** + * Deletes the specified network interface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String networkInterfaceName); + + /** + * Deletes the specified network interface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 networkInterfaceName); + + /** + * Deletes the specified network interface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 networkInterfaceName, Context context); /** * Gets all network interfaces in a resource group. * - * @param resourceGroupName The name of the 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. @@ -556,7 +599,7 @@ Response updateTagsWithResponse(String resourceGroupName, /** * Gets all network interfaces in a resource group. * - * @param resourceGroupName The name of the 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. @@ -568,7 +611,7 @@ Response updateTagsWithResponse(String resourceGroupName, /** * Gets all network interfaces in a resource group. * - * @param resourceGroupName The name of the 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. @@ -578,10 +621,42 @@ Response updateTagsWithResponse(String resourceGroupName, @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + /** + * Gets all network interfaces in a 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 all network interfaces in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all network interfaces in a 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 all network interfaces in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all network interfaces in a 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 all network interfaces in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); + /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -596,7 +671,7 @@ Mono>> getEffectiveRouteTableWithResponseAsync(String /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -610,7 +685,7 @@ Mono>> getEffectiveRouteTableWithResponseAsync(String /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -624,7 +699,7 @@ Mono>> getEffectiveRouteTableWithResponseAsync(String /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -639,7 +714,7 @@ Mono>> getEffectiveRouteTableWithResponseAsync(String /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -653,7 +728,7 @@ Mono getEffectiveRouteTableAsync(String resourceG /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -666,7 +741,7 @@ Mono getEffectiveRouteTableAsync(String resourceG /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -681,7 +756,7 @@ EffectiveRouteListResultInner getEffectiveRouteTable(String resourceGroupName, S /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -696,7 +771,7 @@ Mono>> listEffectiveNetworkSecurityGroupsWithResponseA /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -710,7 +785,7 @@ Mono>> listEffectiveNetworkSecurityGroupsWithResponseA /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -724,7 +799,7 @@ Mono>> listEffectiveNetworkSecurityGroupsWithResponseA /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -739,7 +814,7 @@ Mono>> listEffectiveNetworkSecurityGroupsWithResponseA /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -753,7 +828,7 @@ Mono listEffectiveNetworkSecurityG /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -767,7 +842,7 @@ EffectiveNetworkSecurityGroupListResultInner listEffectiveNetworkSecurityGroups( /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -780,58 +855,52 @@ EffectiveNetworkSecurityGroupListResultInner listEffectiveNetworkSecurityGroups( String networkInterfaceName, Context context); /** - * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. + * Gets all network interfaces in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated - * response with {@link PagedFlux}. + * @return all network interfaces in a cloud service as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetVMNetworkInterfacesAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex); + PagedFlux listCloudServiceNetworkInterfacesAsync(String resourceGroupName, + String cloudServiceName); /** - * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. + * Gets all network interfaces in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated - * response with {@link PagedIterable}. + * @return all network interfaces in a cloud service as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetVMNetworkInterfaces(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex); + PagedIterable listCloudServiceNetworkInterfaces(String resourceGroupName, + String cloudServiceName); /** - * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. + * Gets all network interfaces in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated - * response with {@link PagedIterable}. + * @return all network interfaces in a cloud service as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetVMNetworkInterfaces(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, Context context); + PagedIterable listCloudServiceNetworkInterfaces(String resourceGroupName, + String cloudServiceName, Context context); /** * Gets all network interfaces in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineScaleSetName The name of the virtual machine scale set. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -845,7 +914,7 @@ PagedFlux listVirtualMachineScaleSetNetworkInterfacesAsyn /** * Gets all network interfaces in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineScaleSetName The name of the virtual machine scale set. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -859,7 +928,7 @@ PagedIterable listVirtualMachineScaleSetNetworkInterfaces /** * Gets all network interfaces in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineScaleSetName The name of the virtual machine scale set. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -870,227 +939,4 @@ PagedIterable listVirtualMachineScaleSetNetworkInterfaces @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listVirtualMachineScaleSetNetworkInterfaces(String resourceGroupName, String virtualMachineScaleSetName, Context context); - - /** - * Get the specified network interface in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. - * @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 network interface in a virtual machine scale set along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getVirtualMachineScaleSetNetworkInterfaceWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand); - - /** - * Get the specified network interface in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @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 network interface in a virtual machine scale set on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getVirtualMachineScaleSetNetworkInterfaceAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName); - - /** - * Get the specified network interface in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. - * @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 network interface in a virtual machine scale set along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getVirtualMachineScaleSetNetworkInterfaceWithResponse(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand, - Context context); - - /** - * Get the specified network interface in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @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 network interface in a virtual machine scale set. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkInterfaceInner getVirtualMachineScaleSetNetworkInterface(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetIpConfigurations( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetIpConfigurations( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand, Context context); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getVirtualMachineScaleSetIpConfigurationWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String expand); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration. - * @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 network interface ip configuration in a virtual machine scale set on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getVirtualMachineScaleSetIpConfigurationAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getVirtualMachineScaleSetIpConfigurationWithResponse( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String expand, Context context); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration. - * @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 network interface ip configuration in a virtual machine scale set. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfiguration(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java index b946f0195878..9b3ddf929074 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java @@ -1,59 +1,29 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceMethod; import com.azure.core.http.HttpPipeline; -import com.azure.core.http.rest.PagedFlux; -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.PollerFlux; -import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationsListResultInner; -import com.azure.resourcemanager.network.fluent.models.ActiveSecurityAdminRulesListResultInner; -import com.azure.resourcemanager.network.fluent.models.BastionActiveSessionInner; -import com.azure.resourcemanager.network.fluent.models.BastionSessionStateInner; -import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; -import com.azure.resourcemanager.network.fluent.models.DnsNameAvailabilityResultInner; -import com.azure.resourcemanager.network.fluent.models.ExpressRouteProviderPortInner; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveConnectivityConfigurationListResultInner; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveSecurityAdminRulesListResultInner; -import com.azure.resourcemanager.network.fluent.models.VirtualWanSecurityProvidersInner; -import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; -import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; -import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; -import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; -import com.azure.resourcemanager.network.models.QueryRequestOptions; -import com.azure.resourcemanager.network.models.SessionIds; -import com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters; -import java.nio.ByteBuffer; import java.time.Duration; -import reactor.core.publisher.Flux; -import reactor.core.publisher.Mono; /** * The interface for NetworkManagementClient class. */ public interface NetworkManagementClient { /** - * Gets The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID - * forms part of the URI for every service call. + * Gets Service host. * - * @return the subscriptionId value. + * @return the endpoint value. */ - String getSubscriptionId(); + String getEndpoint(); /** - * Gets server parameter. + * Gets The ID of the target subscription. The value must be an UUID. * - * @return the endpoint value. + * @return the subscriptionId value. */ - String getEndpoint(); + String getSubscriptionId(); /** * Gets The HTTP pipeline to send requests through. @@ -70,18 +40,18 @@ public interface NetworkManagementClient { Duration getDefaultPollInterval(); /** - * Gets the ApplicationGatewaysClient object to access its operations. + * Gets the OperationsClient object to access its operations. * - * @return the ApplicationGatewaysClient object. + * @return the OperationsClient object. */ - ApplicationGatewaysClient getApplicationGateways(); + OperationsClient getOperations(); /** - * Gets the ApplicationGatewayPrivateLinkResourcesClient object to access its operations. + * Gets the ApplicationGatewaysClient object to access its operations. * - * @return the ApplicationGatewayPrivateLinkResourcesClient object. + * @return the ApplicationGatewaysClient object. */ - ApplicationGatewayPrivateLinkResourcesClient getApplicationGatewayPrivateLinkResources(); + ApplicationGatewaysClient getApplicationGateways(); /** * Gets the ApplicationGatewayPrivateEndpointConnectionsClient object to access its operations. @@ -90,20 +60,6 @@ public interface NetworkManagementClient { */ ApplicationGatewayPrivateEndpointConnectionsClient getApplicationGatewayPrivateEndpointConnections(); - /** - * Gets the ApplicationGatewayWafDynamicManifestsDefaultsClient object to access its operations. - * - * @return the ApplicationGatewayWafDynamicManifestsDefaultsClient object. - */ - ApplicationGatewayWafDynamicManifestsDefaultsClient getApplicationGatewayWafDynamicManifestsDefaults(); - - /** - * Gets the ApplicationGatewayWafDynamicManifestsClient object to access its operations. - * - * @return the ApplicationGatewayWafDynamicManifestsClient object. - */ - ApplicationGatewayWafDynamicManifestsClient getApplicationGatewayWafDynamicManifests(); - /** * Gets the ApplicationSecurityGroupsClient object to access its operations. * @@ -111,27 +67,6 @@ public interface NetworkManagementClient { */ ApplicationSecurityGroupsClient getApplicationSecurityGroups(); - /** - * Gets the AvailableDelegationsClient object to access its operations. - * - * @return the AvailableDelegationsClient object. - */ - AvailableDelegationsClient getAvailableDelegations(); - - /** - * Gets the AvailableResourceGroupDelegationsClient object to access its operations. - * - * @return the AvailableResourceGroupDelegationsClient object. - */ - AvailableResourceGroupDelegationsClient getAvailableResourceGroupDelegations(); - - /** - * Gets the AvailableServiceAliasesClient object to access its operations. - * - * @return the AvailableServiceAliasesClient object. - */ - AvailableServiceAliasesClient getAvailableServiceAliases(); - /** * Gets the AzureFirewallsClient object to access its operations. * @@ -140,25 +75,18 @@ public interface NetworkManagementClient { AzureFirewallsClient getAzureFirewalls(); /** - * Gets the AzureFirewallFqdnTagsClient object to access its operations. - * - * @return the AzureFirewallFqdnTagsClient object. - */ - AzureFirewallFqdnTagsClient getAzureFirewallFqdnTags(); - - /** - * Gets the WebCategoriesClient object to access its operations. + * Gets the BastionHostsClient object to access its operations. * - * @return the WebCategoriesClient object. + * @return the BastionHostsClient object. */ - WebCategoriesClient getWebCategories(); + BastionHostsClient getBastionHosts(); /** - * Gets the BastionHostsClient object to access its operations. + * Gets the ExpressRouteProviderPortsClient object to access its operations. * - * @return the BastionHostsClient object. + * @return the ExpressRouteProviderPortsClient object. */ - BastionHostsClient getBastionHosts(); + ExpressRouteProviderPortsClient getExpressRouteProviderPorts(); /** * Gets the NetworkInterfacesClient object to access its operations. @@ -174,20 +102,6 @@ public interface NetworkManagementClient { */ PublicIpAddressesClient getPublicIpAddresses(); - /** - * Gets the VipSwapsClient object to access its operations. - * - * @return the VipSwapsClient object. - */ - VipSwapsClient getVipSwaps(); - - /** - * Gets the CustomIpPrefixesClient object to access its operations. - * - * @return the CustomIpPrefixesClient object. - */ - CustomIpPrefixesClient getCustomIpPrefixes(); - /** * Gets the DdosCustomPoliciesClient object to access its operations. * @@ -203,25 +117,18 @@ public interface NetworkManagementClient { DdosProtectionPlansClient getDdosProtectionPlans(); /** - * Gets the DscpConfigurationsClient object to access its operations. - * - * @return the DscpConfigurationsClient object. - */ - DscpConfigurationsClient getDscpConfigurations(); - - /** - * Gets the AvailableEndpointServicesClient object to access its operations. + * Gets the ExpressRouteCircuitAuthorizationsClient object to access its operations. * - * @return the AvailableEndpointServicesClient object. + * @return the ExpressRouteCircuitAuthorizationsClient object. */ - AvailableEndpointServicesClient getAvailableEndpointServices(); + ExpressRouteCircuitAuthorizationsClient getExpressRouteCircuitAuthorizations(); /** - * Gets the ExpressRouteCircuitAuthorizationsClient object to access its operations. + * Gets the ExpressRouteCircuitsClient object to access its operations. * - * @return the ExpressRouteCircuitAuthorizationsClient object. + * @return the ExpressRouteCircuitsClient object. */ - ExpressRouteCircuitAuthorizationsClient getExpressRouteCircuitAuthorizations(); + ExpressRouteCircuitsClient getExpressRouteCircuits(); /** * Gets the ExpressRouteCircuitPeeringsClient object to access its operations. @@ -244,20 +151,6 @@ public interface NetworkManagementClient { */ PeerExpressRouteCircuitConnectionsClient getPeerExpressRouteCircuitConnections(); - /** - * Gets the ExpressRouteCircuitsClient object to access its operations. - * - * @return the ExpressRouteCircuitsClient object. - */ - ExpressRouteCircuitsClient getExpressRouteCircuits(); - - /** - * Gets the ExpressRouteServiceProvidersClient object to access its operations. - * - * @return the ExpressRouteServiceProvidersClient object. - */ - ExpressRouteServiceProvidersClient getExpressRouteServiceProviders(); - /** * Gets the ExpressRouteCrossConnectionsClient object to access its operations. * @@ -265,13 +158,6 @@ public interface NetworkManagementClient { */ ExpressRouteCrossConnectionsClient getExpressRouteCrossConnections(); - /** - * Gets the ExpressRouteCrossConnectionPeeringsClient object to access its operations. - * - * @return the ExpressRouteCrossConnectionPeeringsClient object. - */ - ExpressRouteCrossConnectionPeeringsClient getExpressRouteCrossConnectionPeerings(); - /** * Gets the ExpressRoutePortsLocationsClient object to access its operations. * @@ -286,13 +172,6 @@ public interface NetworkManagementClient { */ ExpressRoutePortsClient getExpressRoutePorts(); - /** - * Gets the ExpressRouteLinksClient object to access its operations. - * - * @return the ExpressRouteLinksClient object. - */ - ExpressRouteLinksClient getExpressRouteLinks(); - /** * Gets the ExpressRoutePortAuthorizationsClient object to access its operations. * @@ -300,13 +179,6 @@ public interface NetworkManagementClient { */ ExpressRoutePortAuthorizationsClient getExpressRoutePortAuthorizations(); - /** - * Gets the ExpressRouteProviderPortsLocationsClient object to access its operations. - * - * @return the ExpressRouteProviderPortsLocationsClient object. - */ - ExpressRouteProviderPortsLocationsClient getExpressRouteProviderPortsLocations(); - /** * Gets the FirewallPoliciesClient object to access its operations. * @@ -321,13 +193,6 @@ public interface NetworkManagementClient { */ FirewallPolicyRuleCollectionGroupsClient getFirewallPolicyRuleCollectionGroups(); - /** - * Gets the FirewallPolicyIdpsSignaturesClient object to access its operations. - * - * @return the FirewallPolicyIdpsSignaturesClient object. - */ - FirewallPolicyIdpsSignaturesClient getFirewallPolicyIdpsSignatures(); - /** * Gets the FirewallPolicyIdpsSignaturesOverridesClient object to access its operations. * @@ -335,13 +200,6 @@ public interface NetworkManagementClient { */ FirewallPolicyIdpsSignaturesOverridesClient getFirewallPolicyIdpsSignaturesOverrides(); - /** - * Gets the FirewallPolicyIdpsSignaturesFilterValuesClient object to access its operations. - * - * @return the FirewallPolicyIdpsSignaturesFilterValuesClient object. - */ - FirewallPolicyIdpsSignaturesFilterValuesClient getFirewallPolicyIdpsSignaturesFilterValues(); - /** * Gets the FirewallPolicyDraftsClient object to access its operations. * @@ -349,13 +207,6 @@ public interface NetworkManagementClient { */ FirewallPolicyDraftsClient getFirewallPolicyDrafts(); - /** - * Gets the FirewallPolicyDeploymentsClient object to access its operations. - * - * @return the FirewallPolicyDeploymentsClient object. - */ - FirewallPolicyDeploymentsClient getFirewallPolicyDeployments(); - /** * Gets the FirewallPolicyRuleCollectionGroupDraftsClient object to access its operations. * @@ -370,6 +221,13 @@ public interface NetworkManagementClient { */ IpamPoolsClient getIpamPools(); + /** + * Gets the NetworkManagersClient object to access its operations. + * + * @return the NetworkManagersClient object. + */ + NetworkManagersClient getNetworkManagers(); + /** * Gets the StaticCidrsClient object to access its operations. * @@ -398,20 +256,6 @@ public interface NetworkManagementClient { */ LoadBalancersClient getLoadBalancers(); - /** - * Gets the LoadBalancerBackendAddressPoolsClient object to access its operations. - * - * @return the LoadBalancerBackendAddressPoolsClient object. - */ - LoadBalancerBackendAddressPoolsClient getLoadBalancerBackendAddressPools(); - - /** - * Gets the LoadBalancerFrontendIpConfigurationsClient object to access its operations. - * - * @return the LoadBalancerFrontendIpConfigurationsClient object. - */ - LoadBalancerFrontendIpConfigurationsClient getLoadBalancerFrontendIpConfigurations(); - /** * Gets the InboundNatRulesClient object to access its operations. * @@ -419,34 +263,6 @@ public interface NetworkManagementClient { */ InboundNatRulesClient getInboundNatRules(); - /** - * Gets the LoadBalancerLoadBalancingRulesClient object to access its operations. - * - * @return the LoadBalancerLoadBalancingRulesClient object. - */ - LoadBalancerLoadBalancingRulesClient getLoadBalancerLoadBalancingRules(); - - /** - * Gets the LoadBalancerOutboundRulesClient object to access its operations. - * - * @return the LoadBalancerOutboundRulesClient object. - */ - LoadBalancerOutboundRulesClient getLoadBalancerOutboundRules(); - - /** - * Gets the LoadBalancerNetworkInterfacesClient object to access its operations. - * - * @return the LoadBalancerNetworkInterfacesClient object. - */ - LoadBalancerNetworkInterfacesClient getLoadBalancerNetworkInterfaces(); - - /** - * Gets the LoadBalancerProbesClient object to access its operations. - * - * @return the LoadBalancerProbesClient object. - */ - LoadBalancerProbesClient getLoadBalancerProbes(); - /** * Gets the NatGatewaysClient object to access its operations. * @@ -455,18 +271,11 @@ public interface NetworkManagementClient { NatGatewaysClient getNatGateways(); /** - * Gets the NetworkInterfaceIpConfigurationsClient object to access its operations. - * - * @return the NetworkInterfaceIpConfigurationsClient object. - */ - NetworkInterfaceIpConfigurationsClient getNetworkInterfaceIpConfigurations(); - - /** - * Gets the NetworkInterfaceLoadBalancersClient object to access its operations. + * Gets the NetworkInterfaceIPConfigurationsClient object to access its operations. * - * @return the NetworkInterfaceLoadBalancersClient object. + * @return the NetworkInterfaceIPConfigurationsClient object. */ - NetworkInterfaceLoadBalancersClient getNetworkInterfaceLoadBalancers(); + NetworkInterfaceIPConfigurationsClient getNetworkInterfaceIPConfigurations(); /** * Gets the NetworkInterfaceTapConfigurationsClient object to access its operations. @@ -475,34 +284,6 @@ public interface NetworkManagementClient { */ NetworkInterfaceTapConfigurationsClient getNetworkInterfaceTapConfigurations(); - /** - * Gets the NetworkManagersClient object to access its operations. - * - * @return the NetworkManagersClient object. - */ - NetworkManagersClient getNetworkManagers(); - - /** - * Gets the NetworkManagerCommitsClient object to access its operations. - * - * @return the NetworkManagerCommitsClient object. - */ - NetworkManagerCommitsClient getNetworkManagerCommits(); - - /** - * Gets the NetworkManagerDeploymentStatusOperationsClient object to access its operations. - * - * @return the NetworkManagerDeploymentStatusOperationsClient object. - */ - NetworkManagerDeploymentStatusOperationsClient getNetworkManagerDeploymentStatusOperations(); - - /** - * Gets the SubscriptionNetworkManagerConnectionsClient object to access its operations. - * - * @return the SubscriptionNetworkManagerConnectionsClient object. - */ - SubscriptionNetworkManagerConnectionsClient getSubscriptionNetworkManagerConnections(); - /** * Gets the ManagementGroupNetworkManagerConnectionsClient object to access its operations. * @@ -573,13 +354,6 @@ public interface NetworkManagementClient { */ AdminRuleCollectionsClient getAdminRuleCollections(); - /** - * Gets the AdminRulesClient object to access its operations. - * - * @return the AdminRulesClient object. - */ - AdminRulesClient getAdminRules(); - /** * Gets the SecurityUserConfigurationsClient object to access its operations. * @@ -637,74 +411,18 @@ public interface NetworkManagementClient { NetworkSecurityPerimetersClient getNetworkSecurityPerimeters(); /** - * Gets the NetworkSecurityPerimeterProfilesClient object to access its operations. + * Gets the ReachabilityAnalysisIntentsClient object to access its operations. * - * @return the NetworkSecurityPerimeterProfilesClient object. + * @return the ReachabilityAnalysisIntentsClient object. */ - NetworkSecurityPerimeterProfilesClient getNetworkSecurityPerimeterProfiles(); + ReachabilityAnalysisIntentsClient getReachabilityAnalysisIntents(); /** - * Gets the NetworkSecurityPerimeterAccessRulesClient object to access its operations. + * Gets the VerifierWorkspacesClient object to access its operations. * - * @return the NetworkSecurityPerimeterAccessRulesClient object. + * @return the VerifierWorkspacesClient object. */ - NetworkSecurityPerimeterAccessRulesClient getNetworkSecurityPerimeterAccessRules(); - - /** - * Gets the NetworkSecurityPerimeterAssociationsClient object to access its operations. - * - * @return the NetworkSecurityPerimeterAssociationsClient object. - */ - NetworkSecurityPerimeterAssociationsClient getNetworkSecurityPerimeterAssociations(); - - /** - * Gets the NetworkSecurityPerimeterAssociableResourceTypesClient object to access its operations. - * - * @return the NetworkSecurityPerimeterAssociableResourceTypesClient object. - */ - NetworkSecurityPerimeterAssociableResourceTypesClient getNetworkSecurityPerimeterAssociableResourceTypes(); - - /** - * Gets the NetworkSecurityPerimeterLinksClient object to access its operations. - * - * @return the NetworkSecurityPerimeterLinksClient object. - */ - NetworkSecurityPerimeterLinksClient getNetworkSecurityPerimeterLinks(); - - /** - * Gets the NetworkSecurityPerimeterLinkReferencesClient object to access its operations. - * - * @return the NetworkSecurityPerimeterLinkReferencesClient object. - */ - NetworkSecurityPerimeterLinkReferencesClient getNetworkSecurityPerimeterLinkReferences(); - - /** - * Gets the NetworkSecurityPerimeterLoggingConfigurationsClient object to access its operations. - * - * @return the NetworkSecurityPerimeterLoggingConfigurationsClient object. - */ - NetworkSecurityPerimeterLoggingConfigurationsClient getNetworkSecurityPerimeterLoggingConfigurations(); - - /** - * Gets the NetworkSecurityPerimeterOperationStatusesClient object to access its operations. - * - * @return the NetworkSecurityPerimeterOperationStatusesClient object. - */ - NetworkSecurityPerimeterOperationStatusesClient getNetworkSecurityPerimeterOperationStatuses(); - - /** - * Gets the NetworkSecurityPerimeterServiceTagsClient object to access its operations. - * - * @return the NetworkSecurityPerimeterServiceTagsClient object. - */ - NetworkSecurityPerimeterServiceTagsClient getNetworkSecurityPerimeterServiceTags(); - - /** - * Gets the ReachabilityAnalysisIntentsClient object to access its operations. - * - * @return the ReachabilityAnalysisIntentsClient object. - */ - ReachabilityAnalysisIntentsClient getReachabilityAnalysisIntents(); + VerifierWorkspacesClient getVerifierWorkspaces(); /** * Gets the ReachabilityAnalysisRunsClient object to access its operations. @@ -714,11 +432,11 @@ public interface NetworkManagementClient { ReachabilityAnalysisRunsClient getReachabilityAnalysisRuns(); /** - * Gets the VerifierWorkspacesClient object to access its operations. + * Gets the NetworkVirtualApplianceConnectionsClient object to access its operations. * - * @return the VerifierWorkspacesClient object. + * @return the NetworkVirtualApplianceConnectionsClient object. */ - VerifierWorkspacesClient getVerifierWorkspaces(); + NetworkVirtualApplianceConnectionsClient getNetworkVirtualApplianceConnections(); /** * Gets the NetworkVirtualAppliancesClient object to access its operations. @@ -734,20 +452,6 @@ public interface NetworkManagementClient { */ VirtualApplianceSitesClient getVirtualApplianceSites(); - /** - * Gets the VirtualApplianceSkusClient object to access its operations. - * - * @return the VirtualApplianceSkusClient object. - */ - VirtualApplianceSkusClient getVirtualApplianceSkus(); - - /** - * Gets the InboundSecurityRuleOperationsClient object to access its operations. - * - * @return the InboundSecurityRuleOperationsClient object. - */ - InboundSecurityRuleOperationsClient getInboundSecurityRuleOperations(); - /** * Gets the NetworkWatchersClient object to access its operations. * @@ -755,20 +459,6 @@ public interface NetworkManagementClient { */ NetworkWatchersClient getNetworkWatchers(); - /** - * Gets the PacketCapturesClient object to access its operations. - * - * @return the PacketCapturesClient object. - */ - PacketCapturesClient getPacketCaptures(); - - /** - * Gets the ConnectionMonitorsClient object to access its operations. - * - * @return the ConnectionMonitorsClient object. - */ - ConnectionMonitorsClient getConnectionMonitors(); - /** * Gets the FlowLogsClient object to access its operations. * @@ -776,13 +466,6 @@ public interface NetworkManagementClient { */ FlowLogsClient getFlowLogs(); - /** - * Gets the OperationsClient object to access its operations. - * - * @return the OperationsClient object. - */ - OperationsClient getOperations(); - /** * Gets the PrivateEndpointsClient object to access its operations. * @@ -790,20 +473,6 @@ public interface NetworkManagementClient { */ PrivateEndpointsClient getPrivateEndpoints(); - /** - * Gets the AvailablePrivateEndpointTypesClient object to access its operations. - * - * @return the AvailablePrivateEndpointTypesClient object. - */ - AvailablePrivateEndpointTypesClient getAvailablePrivateEndpointTypes(); - - /** - * Gets the PrivateDnsZoneGroupsClient object to access its operations. - * - * @return the PrivateDnsZoneGroupsClient object. - */ - PrivateDnsZoneGroupsClient getPrivateDnsZoneGroups(); - /** * Gets the PrivateLinkServicesClient object to access its operations. * @@ -825,13 +494,6 @@ public interface NetworkManagementClient { */ RouteFiltersClient getRouteFilters(); - /** - * Gets the RouteFilterRulesClient object to access its operations. - * - * @return the RouteFilterRulesClient object. - */ - RouteFilterRulesClient getRouteFilterRules(); - /** * Gets the RouteTablesClient object to access its operations. * @@ -853,13 +515,6 @@ public interface NetworkManagementClient { */ SecurityPartnerProvidersClient getSecurityPartnerProviders(); - /** - * Gets the BgpServiceCommunitiesClient object to access its operations. - * - * @return the BgpServiceCommunitiesClient object. - */ - BgpServiceCommunitiesClient getBgpServiceCommunities(); - /** * Gets the ServiceEndpointPoliciesClient object to access its operations. * @@ -874,34 +529,6 @@ public interface NetworkManagementClient { */ ServiceEndpointPolicyDefinitionsClient getServiceEndpointPolicyDefinitions(); - /** - * Gets the ServiceGatewaysClient object to access its operations. - * - * @return the ServiceGatewaysClient object. - */ - ServiceGatewaysClient getServiceGateways(); - - /** - * Gets the ServiceTagsClient object to access its operations. - * - * @return the ServiceTagsClient object. - */ - ServiceTagsClient getServiceTags(); - - /** - * Gets the ServiceTagInformationsClient object to access its operations. - * - * @return the ServiceTagInformationsClient object. - */ - ServiceTagInformationsClient getServiceTagInformations(); - - /** - * Gets the UsagesClient object to access its operations. - * - * @return the UsagesClient object. - */ - UsagesClient getUsages(); - /** * Gets the VirtualNetworksClient object to access its operations. * @@ -910,25 +537,18 @@ public interface NetworkManagementClient { VirtualNetworksClient getVirtualNetworks(); /** - * Gets the SubnetsClient object to access its operations. + * Gets the EffectiveConfigurationsClient object to access its operations. * - * @return the SubnetsClient object. + * @return the EffectiveConfigurationsClient object. */ - SubnetsClient getSubnets(); + EffectiveConfigurationsClient getEffectiveConfigurations(); /** - * Gets the ResourceNavigationLinksClient object to access its operations. - * - * @return the ResourceNavigationLinksClient object. - */ - ResourceNavigationLinksClient getResourceNavigationLinks(); - - /** - * Gets the ServiceAssociationLinksClient object to access its operations. + * Gets the SubnetsClient object to access its operations. * - * @return the ServiceAssociationLinksClient object. + * @return the SubnetsClient object. */ - ServiceAssociationLinksClient getServiceAssociationLinks(); + SubnetsClient getSubnets(); /** * Gets the VirtualNetworkPeeringsClient object to access its operations. @@ -937,13 +557,6 @@ public interface NetworkManagementClient { */ VirtualNetworkPeeringsClient getVirtualNetworkPeerings(); - /** - * Gets the VirtualNetworkAppliancesClient object to access its operations. - * - * @return the VirtualNetworkAppliancesClient object. - */ - VirtualNetworkAppliancesClient getVirtualNetworkAppliances(); - /** * Gets the VirtualNetworkGatewaysClient object to access its operations. * @@ -1014,13 +627,6 @@ public interface NetworkManagementClient { */ VpnSiteLinksClient getVpnSiteLinks(); - /** - * Gets the VpnSitesConfigurationsClient object to access its operations. - * - * @return the VpnSitesConfigurationsClient object. - */ - VpnSitesConfigurationsClient getVpnSitesConfigurations(); - /** * Gets the VpnServerConfigurationsClient object to access its operations. * @@ -1028,13 +634,6 @@ public interface NetworkManagementClient { */ VpnServerConfigurationsClient getVpnServerConfigurations(); - /** - * Gets the ConfigurationPolicyGroupsClient object to access its operations. - * - * @return the ConfigurationPolicyGroupsClient object. - */ - ConfigurationPolicyGroupsClient getConfigurationPolicyGroups(); - /** * Gets the VirtualHubsClient object to access its operations. * @@ -1050,1069 +649,527 @@ public interface NetworkManagementClient { RouteMapsClient getRouteMaps(); /** - * Gets the HubVirtualNetworkConnectionsClient object to access its operations. + * Gets the VpnGatewaysClient object to access its operations. * - * @return the HubVirtualNetworkConnectionsClient object. + * @return the VpnGatewaysClient object. */ - HubVirtualNetworkConnectionsClient getHubVirtualNetworkConnections(); + VpnGatewaysClient getVpnGateways(); /** - * Gets the VpnGatewaysClient object to access its operations. + * Gets the VpnSiteLinkConnectionsClient object to access its operations. * - * @return the VpnGatewaysClient object. + * @return the VpnSiteLinkConnectionsClient object. */ - VpnGatewaysClient getVpnGateways(); + VpnSiteLinkConnectionsClient getVpnSiteLinkConnections(); /** - * Gets the VpnLinkConnectionsClient object to access its operations. + * Gets the P2SVpnGatewaysClient object to access its operations. * - * @return the VpnLinkConnectionsClient object. + * @return the P2SVpnGatewaysClient object. */ - VpnLinkConnectionsClient getVpnLinkConnections(); + P2SVpnGatewaysClient getP2SVpnGateways(); /** - * Gets the VpnConnectionsClient object to access its operations. + * Gets the ExpressRouteGatewaysClient object to access its operations. * - * @return the VpnConnectionsClient object. + * @return the ExpressRouteGatewaysClient object. */ - VpnConnectionsClient getVpnConnections(); + ExpressRouteGatewaysClient getExpressRouteGateways(); /** - * Gets the VpnSiteLinkConnectionsClient object to access its operations. + * Gets the HubRouteTablesClient object to access its operations. * - * @return the VpnSiteLinkConnectionsClient object. + * @return the HubRouteTablesClient object. */ - VpnSiteLinkConnectionsClient getVpnSiteLinkConnections(); + HubRouteTablesClient getHubRouteTables(); /** - * Gets the NatRulesClient object to access its operations. + * Gets the WebApplicationFirewallPoliciesClient object to access its operations. * - * @return the NatRulesClient object. + * @return the WebApplicationFirewallPoliciesClient object. */ - NatRulesClient getNatRules(); + WebApplicationFirewallPoliciesClient getWebApplicationFirewallPolicies(); /** - * Gets the P2SVpnGatewaysClient object to access its operations. + * Gets the CheckDnsNameAvailabilitiesClient object to access its operations. * - * @return the P2SVpnGatewaysClient object. + * @return the CheckDnsNameAvailabilitiesClient object. */ - P2SVpnGatewaysClient getP2SVpnGateways(); + CheckDnsNameAvailabilitiesClient getCheckDnsNameAvailabilities(); /** - * Gets the VpnServerConfigurationsAssociatedWithVirtualWansClient object to access its operations. + * Gets the VirtualNetworkAppliancesClient object to access its operations. * - * @return the VpnServerConfigurationsAssociatedWithVirtualWansClient object. + * @return the VirtualNetworkAppliancesClient object. */ - VpnServerConfigurationsAssociatedWithVirtualWansClient getVpnServerConfigurationsAssociatedWithVirtualWans(); + VirtualNetworkAppliancesClient getVirtualNetworkAppliances(); /** - * Gets the VirtualHubRouteTableV2SClient object to access its operations. + * Gets the ServiceGatewaysClient object to access its operations. * - * @return the VirtualHubRouteTableV2SClient object. + * @return the ServiceGatewaysClient object. */ - VirtualHubRouteTableV2SClient getVirtualHubRouteTableV2S(); + ServiceGatewaysClient getServiceGateways(); /** - * Gets the ExpressRouteGatewaysClient object to access its operations. + * Gets the PublicIPAddressesOperationsClient object to access its operations. * - * @return the ExpressRouteGatewaysClient object. + * @return the PublicIPAddressesOperationsClient object. */ - ExpressRouteGatewaysClient getExpressRouteGateways(); + PublicIPAddressesOperationsClient getPublicIPAddressesOperations(); /** - * Gets the ExpressRouteConnectionsClient object to access its operations. + * Gets the ApplicationGatewayPrivateLinkResourcesClient object to access its operations. * - * @return the ExpressRouteConnectionsClient object. + * @return the ApplicationGatewayPrivateLinkResourcesClient object. */ - ExpressRouteConnectionsClient getExpressRouteConnections(); + ApplicationGatewayPrivateLinkResourcesClient getApplicationGatewayPrivateLinkResources(); /** - * Gets the NetworkVirtualApplianceConnectionsClient object to access its operations. + * Gets the ApplicationGatewayWafDynamicManifestsDefaultsClient object to access its operations. * - * @return the NetworkVirtualApplianceConnectionsClient object. + * @return the ApplicationGatewayWafDynamicManifestsDefaultsClient object. */ - NetworkVirtualApplianceConnectionsClient getNetworkVirtualApplianceConnections(); + ApplicationGatewayWafDynamicManifestsDefaultsClient getApplicationGatewayWafDynamicManifestsDefaults(); /** - * Gets the VirtualHubBgpConnectionsClient object to access its operations. + * Gets the ApplicationGatewayWafDynamicManifestsClient object to access its operations. * - * @return the VirtualHubBgpConnectionsClient object. + * @return the ApplicationGatewayWafDynamicManifestsClient object. */ - VirtualHubBgpConnectionsClient getVirtualHubBgpConnections(); + ApplicationGatewayWafDynamicManifestsClient getApplicationGatewayWafDynamicManifests(); /** - * Gets the VirtualHubIpConfigurationsClient object to access its operations. + * Gets the WebCategoriesClient object to access its operations. * - * @return the VirtualHubIpConfigurationsClient object. + * @return the WebCategoriesClient object. */ - VirtualHubIpConfigurationsClient getVirtualHubIpConfigurations(); + WebCategoriesClient getWebCategories(); /** - * Gets the HubRouteTablesClient object to access its operations. + * Gets the ExpressRouteProviderPortsLocationsClient object to access its operations. * - * @return the HubRouteTablesClient object. + * @return the ExpressRouteProviderPortsLocationsClient object. */ - HubRouteTablesClient getHubRouteTables(); + ExpressRouteProviderPortsLocationsClient getExpressRouteProviderPortsLocations(); /** - * Gets the RoutingIntentsClient object to access its operations. + * Gets the NetworkInterfaceLoadBalancersClient object to access its operations. * - * @return the RoutingIntentsClient object. + * @return the NetworkInterfaceLoadBalancersClient object. */ - RoutingIntentsClient getRoutingIntents(); + NetworkInterfaceLoadBalancersClient getNetworkInterfaceLoadBalancers(); /** - * Gets the WebApplicationFirewallPoliciesClient object to access its operations. + * Gets the VipSwapsClient object to access its operations. * - * @return the WebApplicationFirewallPoliciesClient object. + * @return the VipSwapsClient object. */ - WebApplicationFirewallPoliciesClient getWebApplicationFirewallPolicies(); + VipSwapsClient getVipSwaps(); /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. + * Gets the CustomIPPrefixesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. + * @return the CustomIPPrefixesClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux putBastionShareableLinkAsync(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest); + CustomIPPrefixesClient getCustomIPPrefixes(); /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. + * Gets the DscpConfigurationsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. + * @return the DscpConfigurationsClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable putBastionShareableLink(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest); + DscpConfigurationsClient getDscpConfigurations(); /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. + * Gets the ExpressRouteCrossConnectionPeeringsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. + * @return the ExpressRouteCrossConnectionPeeringsClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable putBastionShareableLink(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest, Context context); + ExpressRouteCrossConnectionPeeringsClient getExpressRouteCrossConnectionPeerings(); /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * Gets the ExpressRouteLinksClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 Response} on successful completion of {@link Mono}. + * @return the ExpressRouteLinksClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest); + ExpressRouteLinksClient getExpressRouteLinks(); /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * Gets the FirewallPolicyIdpsSignaturesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 PollerFlux} for polling of long-running operation. + * @return the FirewallPolicyIdpsSignaturesClient object. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest); + FirewallPolicyIdpsSignaturesClient getFirewallPolicyIdpsSignatures(); /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * Gets the FirewallPolicyIdpsSignaturesFilterValuesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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. + * @return the FirewallPolicyIdpsSignaturesFilterValuesClient object. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest); + FirewallPolicyIdpsSignaturesFilterValuesClient getFirewallPolicyIdpsSignaturesFilterValues(); /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * Gets the FirewallPolicyDeploymentsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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. + * @return the FirewallPolicyDeploymentsClient object. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest, Context context); + FirewallPolicyDeploymentsClient getFirewallPolicyDeployments(); /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * Gets the NetworkManagerCommitsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the NetworkManagerCommitsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest); + NetworkManagerCommitsClient getNetworkManagerCommits(); /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * Gets the NetworkManagerDeploymentStatusOperationsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 NetworkManagerDeploymentStatusOperationsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void deleteBastionShareableLink(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest); + NetworkManagerDeploymentStatusOperationsClient getNetworkManagerDeploymentStatusOperations(); /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * Gets the LoadBalancerNetworkInterfacesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 LoadBalancerNetworkInterfacesClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void deleteBastionShareableLink(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest, Context context); + LoadBalancerNetworkInterfacesClient getLoadBalancerNetworkInterfaces(); /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * Gets the LoadBalancerBackendAddressPoolsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 Response} on successful completion of {@link Mono}. + * @return the LoadBalancerBackendAddressPoolsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteBastionShareableLinkByTokenWithResponseAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkTokenListRequest bslTokenRequest); + LoadBalancerBackendAddressPoolsClient getLoadBalancerBackendAddressPools(); /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * Gets the LoadBalancerFrontendIPConfigurationsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 PollerFlux} for polling of long-running operation. + * @return the LoadBalancerFrontendIPConfigurationsClient object. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkTokenListRequest bslTokenRequest); + LoadBalancerFrontendIPConfigurationsClient getLoadBalancerFrontendIPConfigurations(); /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * Gets the LoadBalancerLoadBalancingRulesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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. + * @return the LoadBalancerLoadBalancingRulesClient object. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDeleteBastionShareableLinkByToken(String resourceGroupName, - String bastionHostname, BastionShareableLinkTokenListRequest bslTokenRequest); + LoadBalancerLoadBalancingRulesClient getLoadBalancerLoadBalancingRules(); /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * Gets the LoadBalancerOutboundRulesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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. + * @return the LoadBalancerOutboundRulesClient object. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDeleteBastionShareableLinkByToken(String resourceGroupName, - String bastionHostname, BastionShareableLinkTokenListRequest bslTokenRequest, Context context); + LoadBalancerOutboundRulesClient getLoadBalancerOutboundRules(); /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * Gets the LoadBalancerProbesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the LoadBalancerProbesClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostname, - BastionShareableLinkTokenListRequest bslTokenRequest); + LoadBalancerProbesClient getLoadBalancerProbes(); /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * Gets the SubscriptionNetworkManagerConnectionsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 SubscriptionNetworkManagerConnectionsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostname, - BastionShareableLinkTokenListRequest bslTokenRequest); + SubscriptionNetworkManagerConnectionsClient getSubscriptionNetworkManagerConnections(); /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * Gets the AdminRulesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 AdminRulesClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostname, - BastionShareableLinkTokenListRequest bslTokenRequest, Context context); + AdminRulesClient getAdminRules(); /** - * Return the Bastion Shareable Links for all the VMs specified in the request. + * Gets the NetworkSecurityPerimeterProfilesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. + * @return the NetworkSecurityPerimeterProfilesClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getBastionShareableLinkAsync(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest); + NetworkSecurityPerimeterProfilesClient getNetworkSecurityPerimeterProfiles(); /** - * Return the Bastion Shareable Links for all the VMs specified in the request. + * Gets the NetworkSecurityPerimeterAccessRulesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. + * @return the NetworkSecurityPerimeterAccessRulesClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getBastionShareableLink(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest); + NetworkSecurityPerimeterAccessRulesClient getNetworkSecurityPerimeterAccessRules(); /** - * Return the Bastion Shareable Links for all the VMs specified in the request. + * Gets the NetworkSecurityPerimeterAssociationsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. + * @return the NetworkSecurityPerimeterAssociationsClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getBastionShareableLink(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest, Context context); + NetworkSecurityPerimeterAssociationsClient getNetworkSecurityPerimeterAssociations(); /** - * Returns the list of currently active sessions on the Bastion. + * Gets the NetworkSecurityPerimeterLinksClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 response for GetActiveSessions as paginated response with {@link PagedFlux}. + * @return the NetworkSecurityPerimeterLinksClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getActiveSessionsAsync(String resourceGroupName, String bastionHostname); + NetworkSecurityPerimeterLinksClient getNetworkSecurityPerimeterLinks(); /** - * Returns the list of currently active sessions on the Bastion. + * Gets the NetworkSecurityPerimeterLinkReferencesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 response for GetActiveSessions as paginated response with {@link PagedIterable}. + * @return the NetworkSecurityPerimeterLinkReferencesClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getActiveSessions(String resourceGroupName, String bastionHostname); + NetworkSecurityPerimeterLinkReferencesClient getNetworkSecurityPerimeterLinkReferences(); /** - * Returns the list of currently active sessions on the Bastion. + * Gets the NetworkSecurityPerimeterLoggingConfigurationsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 response for GetActiveSessions as paginated response with {@link PagedIterable}. + * @return the NetworkSecurityPerimeterLoggingConfigurationsClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getActiveSessions(String resourceGroupName, String bastionHostname, - Context context); + NetworkSecurityPerimeterLoggingConfigurationsClient getNetworkSecurityPerimeterLoggingConfigurations(); /** - * Returns the list of currently active sessions on the Bastion. + * Gets the VirtualApplianceSkusClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. + * @return the VirtualApplianceSkusClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, String bastionHostname, - SessionIds sessionIds); + VirtualApplianceSkusClient getVirtualApplianceSkus(); /** - * Returns the list of currently active sessions on the Bastion. + * Gets the InboundSecurityRuleOperationsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. + * @return the InboundSecurityRuleOperationsClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable disconnectActiveSessions(String resourceGroupName, String bastionHostname, - SessionIds sessionIds); + InboundSecurityRuleOperationsClient getInboundSecurityRuleOperations(); /** - * Returns the list of currently active sessions on the Bastion. + * Gets the PacketCapturesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. + * @return the PacketCapturesClient object. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable disconnectActiveSessions(String resourceGroupName, String bastionHostname, - SessionIds sessionIds, Context context); + PacketCapturesClient getPacketCaptures(); /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * Gets the ConnectionMonitorsClient object to access its operations. * - * @param location The location of the domain name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful - * completion of {@link Mono}. + * @return the ConnectionMonitorsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> checkDnsNameAvailabilityWithResponseAsync(String location, - String domainNameLabel); + ConnectionMonitorsClient getConnectionMonitors(); /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * Gets the PrivateDnsZoneGroupsClient object to access its operations. * - * @param location The location of the domain name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call on successful completion of {@link Mono}. + * @return the PrivateDnsZoneGroupsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono checkDnsNameAvailabilityAsync(String location, String domainNameLabel); + PrivateDnsZoneGroupsClient getPrivateDnsZoneGroups(); /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * Gets the RouteFilterRulesClient object to access its operations. * - * @param location The location of the domain name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call along with {@link Response}. + * @return the RouteFilterRulesClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response checkDnsNameAvailabilityWithResponse(String location, - String domainNameLabel, Context context); + RouteFilterRulesClient getRouteFilterRules(); /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * Gets the ResourceNavigationLinksClient object to access its operations. * - * @param location The location of the domain name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call. + * @return the ResourceNavigationLinksClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - DnsNameAvailabilityResultInner checkDnsNameAvailability(String location, String domainNameLabel); + ResourceNavigationLinksClient getResourceNavigationLinks(); /** - * Retrieves detail of a provider port. + * Gets the ServiceAssociationLinksClient object to access its operations. * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. + * @return the ServiceAssociationLinksClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> expressRouteProviderPortWithResponseAsync(String providerport); + ServiceAssociationLinksClient getServiceAssociationLinks(); /** - * Retrieves detail of a provider port. + * Gets the VpnSitesConfigurationsClient object to access its operations. * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource on successful completion of {@link Mono}. + * @return the VpnSitesConfigurationsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono expressRouteProviderPortAsync(String providerport); + VpnSitesConfigurationsClient getVpnSitesConfigurations(); /** - * Retrieves detail of a provider port. + * Gets the VpnServerConfigurationsAssociatedWithVirtualWansClient object to access its operations. * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource along with {@link Response}. + * @return the VpnServerConfigurationsAssociatedWithVirtualWansClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response expressRouteProviderPortWithResponse(String providerport, Context context); + VpnServerConfigurationsAssociatedWithVirtualWansClient getVpnServerConfigurationsAssociatedWithVirtualWans(); /** - * Retrieves detail of a provider port. + * Gets the ConfigurationPolicyGroupsClient object to access its operations. * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource. + * @return the ConfigurationPolicyGroupsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - ExpressRouteProviderPortInner expressRouteProviderPort(String providerport); + ConfigurationPolicyGroupsClient getConfigurationPolicyGroups(); /** - * Lists active connectivity configurations in a network manager. + * Gets the HubVirtualNetworkConnectionsClient object to access its operations. + * + * @return the HubVirtualNetworkConnectionsClient object. + */ + HubVirtualNetworkConnectionsClient getHubVirtualNetworkConnections(); + + /** + * Gets the VirtualHubRouteTableV2sClient object to access its operations. + * + * @return the VirtualHubRouteTableV2sClient object. + */ + VirtualHubRouteTableV2sClient getVirtualHubRouteTableV2s(); + + /** + * Gets the VpnConnectionsClient object to access its operations. + * + * @return the VpnConnectionsClient object. + */ + VpnConnectionsClient getVpnConnections(); + + /** + * Gets the VpnLinkConnectionsClient object to access its operations. + * + * @return the VpnLinkConnectionsClient object. + */ + VpnLinkConnectionsClient getVpnLinkConnections(); + + /** + * Gets the NatRulesClient object to access its operations. + * + * @return the NatRulesClient object. + */ + NatRulesClient getNatRules(); + + /** + * Gets the P2sVpnGatewaysOperationsClient object to access its operations. + * + * @return the P2sVpnGatewaysOperationsClient object. + */ + P2sVpnGatewaysOperationsClient getP2sVpnGatewaysOperations(); + + /** + * Gets the ExpressRouteConnectionsClient object to access its operations. + * + * @return the ExpressRouteConnectionsClient object. + */ + ExpressRouteConnectionsClient getExpressRouteConnections(); + + /** + * Gets the VirtualHubBgpConnectionsClient object to access its operations. + * + * @return the VirtualHubBgpConnectionsClient object. + */ + VirtualHubBgpConnectionsClient getVirtualHubBgpConnections(); + + /** + * Gets the VirtualHubIpConfigurationsClient object to access its operations. + * + * @return the VirtualHubIpConfigurationsClient object. + */ + VirtualHubIpConfigurationsClient getVirtualHubIpConfigurations(); + + /** + * Gets the RoutingIntentsClient object to access its operations. + * + * @return the RoutingIntentsClient object. + */ + RoutingIntentsClient getRoutingIntents(); + + /** + * Gets the AvailableDelegationsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations along with {@link Response} on - * successful completion of {@link Mono}. + * @return the AvailableDelegationsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> - listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, - ActiveConfigurationParameter parameters, Integer top); + AvailableDelegationsClient getAvailableDelegations(); /** - * Lists active connectivity configurations in a network manager. + * Gets the AvailableResourceGroupDelegationsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active connectivity configurations on successful completion of - * {@link Mono}. + * @return the AvailableResourceGroupDelegationsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listActiveConnectivityConfigurationsAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters); + AvailableResourceGroupDelegationsClient getAvailableResourceGroupDelegations(); /** - * Lists active connectivity configurations in a network manager. + * Gets the AvailableServiceAliasesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations along with {@link Response}. + * @return the AvailableServiceAliasesClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response listActiveConnectivityConfigurationsWithResponse( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, - Context context); + AvailableServiceAliasesClient getAvailableServiceAliases(); /** - * Lists active connectivity configurations in a network manager. + * Gets the AzureFirewallFqdnTagsClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active connectivity configurations. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - ActiveConnectivityConfigurationsListResultInner listActiveConnectivityConfigurations(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters); - - /** - * Lists active security admin rules in a network manager. + * @return the AzureFirewallFqdnTagsClient object. + */ + AzureFirewallFqdnTagsClient getAzureFirewallFqdnTags(); + + /** + * Gets the AvailableEndpointServicesClient object to access its operations. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listActiveSecurityAdminRulesWithResponseAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top); - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active security admin rules on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listActiveSecurityAdminRulesAsync(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters); - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response listActiveSecurityAdminRulesWithResponse(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context); - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active security admin rules. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - ActiveSecurityAdminRulesListResultInner listActiveSecurityAdminRules(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters); - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> - listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top); - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono - listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters); - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response - listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context); - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkManagerEffectiveConnectivityConfigurationListResultInner - listNetworkManagerEffectiveConnectivityConfigurations(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters); - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> - listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top); - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listNetworkManagerEffectiveSecurityAdminRulesAsync( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response - listNetworkManagerEffectiveSecurityAdminRulesWithResponse(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters, Integer top, Context context); - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules. + * @return the AvailableEndpointServicesClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkManagerEffectiveSecurityAdminRulesListResultInner listNetworkManagerEffectiveSecurityAdminRules( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which supported security providers are needed. - * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. + AvailableEndpointServicesClient getAvailableEndpointServices(); + + /** + * Gets the ExpressRouteServiceProvidersClient object to access its operations. + * + * @return the ExpressRouteServiceProvidersClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> - supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWanName); + ExpressRouteServiceProvidersClient getExpressRouteServiceProviders(); /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which supported security providers are needed. - * @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 collection of SecurityProviders on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono supportedSecurityProvidersAsync(String resourceGroupName, - String virtualWanName); + * Gets the NetworkSecurityPerimeterAssociableResourceTypesClient object to access its operations. + * + * @return the NetworkSecurityPerimeterAssociableResourceTypesClient object. + */ + NetworkSecurityPerimeterAssociableResourceTypesClient getNetworkSecurityPerimeterAssociableResourceTypes(); /** - * Gives the supported security providers for the virtual wan. + * Gets the NetworkSecurityPerimeterOperationStatusesClient object to access its operations. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which supported security providers are needed. - * @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 collection of SecurityProviders along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response supportedSecurityProvidersWithResponse(String resourceGroupName, - String virtualWanName, Context context); + * @return the NetworkSecurityPerimeterOperationStatusesClient object. + */ + NetworkSecurityPerimeterOperationStatusesClient getNetworkSecurityPerimeterOperationStatuses(); /** - * Gives the supported security providers for the virtual wan. + * Gets the NetworkSecurityPerimeterServiceTagsClient object to access its operations. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which supported security providers are needed. - * @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 collection of SecurityProviders. + * @return the NetworkSecurityPerimeterServiceTagsClient object. */ - @ServiceMethod(returns = ReturnType.SINGLE) - VirtualWanSecurityProvidersInner supportedSecurityProviders(String resourceGroupName, String virtualWanName); - + NetworkSecurityPerimeterServiceTagsClient getNetworkSecurityPerimeterServiceTags(); + /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. + * Gets the AvailablePrivateEndpointTypesClient object to access its operations. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 vpn Profile Response for package generation along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( - String resourceGroupName, String virtualWanName, VirtualWanVpnProfileParameters vpnClientParams); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. + * @return the AvailablePrivateEndpointTypesClient object. + */ + AvailablePrivateEndpointTypesClient getAvailablePrivateEndpointTypes(); + + /** + * Gets the BgpServiceCommunitiesClient object to access its operations. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 PollerFlux} for polling of vpn Profile Response for package generation. + * @return the BgpServiceCommunitiesClient object. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWanName, - VirtualWanVpnProfileParameters vpnClientParams); - + BgpServiceCommunitiesClient getBgpServiceCommunities(); + /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. + * Gets the ServiceTagsClient object to access its operations. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWanName, - VirtualWanVpnProfileParameters vpnClientParams); + * @return the ServiceTagsClient object. + */ + ServiceTagsClient getServiceTags(); /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. + * Gets the ServiceTagInformationsClient object to access its operations. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWanName, - VirtualWanVpnProfileParameters vpnClientParams, Context context); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 vpn Profile Response for package generation on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, - String virtualWanName, VirtualWanVpnProfileParameters vpnClientParams); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, - String virtualWanName, VirtualWanVpnProfileParameters vpnClientParams); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, - String virtualWanName, VirtualWanVpnProfileParameters vpnClientParams, Context context); + * @return the ServiceTagInformationsClient object. + */ + ServiceTagInformationsClient getServiceTagInformations(); + + /** + * Gets the UsagesClient object to access its operations. + * + * @return the UsagesClient object. + */ + UsagesClient getUsages(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java index b57488878899..473b663348af 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,7 +23,7 @@ public interface NetworkManagerCommitsClient { /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -38,7 +38,7 @@ Mono>> postWithResponseAsync(String resourceGroupName, /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -53,7 +53,7 @@ Mono>> postWithResponseAsync(String resourceGroupName, /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -68,7 +68,7 @@ SyncPoller, NetworkManagerCommitInner> beg /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @param context The context to associate with this operation. @@ -84,7 +84,7 @@ SyncPoller, NetworkManagerCommitInner> beg /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -99,7 +99,7 @@ Mono postAsync(String resourceGroupName, String netwo /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -114,7 +114,7 @@ NetworkManagerCommitInner post(String resourceGroupName, String networkManagerNa /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @param context The context to associate with this operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java index b15045a469ea..f871df451db3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; import com.azure.core.util.Context; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerDeploymentStatusListResultInner; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerDeploymentStatusInner; import com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatusParameter; -import reactor.core.publisher.Mono; /** * An instance of this class provides access to all the operations defined in @@ -20,7 +20,7 @@ public interface NetworkManagerDeploymentStatusOperationsClient { /** * Post to List of Network Manager Deployment Status. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -28,58 +28,57 @@ public interface NetworkManagerDeploymentStatusOperationsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of Network Manager Deployment Status along with {@link Response} on successful completion of - * {@link Mono}. + * @return a list of Network Manager Deployment Status as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listWithResponseAsync(String resourceGroupName, - String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, Integer top); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + NetworkManagerDeploymentStatusParameter parameters, Integer top); /** * Post to List of Network Manager Deployment Status. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of Network Manager Deployment Status on successful completion of {@link Mono}. + * @return a list of Network Manager Deployment Status as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listAsync(String resourceGroupName, String networkManagerName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, NetworkManagerDeploymentStatusParameter parameters); /** * Post to List of Network Manager Deployment Status. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of Network Manager Deployment Status along with {@link Response}. + * @return a list of Network Manager Deployment Status as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response listWithResponse(String resourceGroupName, - String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, Integer top, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + NetworkManagerDeploymentStatusParameter parameters); /** * Post to List of Network Manager Deployment Status. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of Network Manager Deployment Status. + * @return a list of Network Manager Deployment Status as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkManagerDeploymentStatusListResultInner list(String resourceGroupName, String networkManagerName, - NetworkManagerDeploymentStatusParameter parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + NetworkManagerDeploymentStatusParameter parameters, Integer top, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java index d8afda3a20de..d6c3e30c61fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,71 +22,6 @@ * An instance of this class provides access to all the operations defined in NetworkManagerRoutingConfigurationsClient. */ public interface NetworkManagerRoutingConfigurationsClient { - /** - * Lists all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager routing configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - Integer top, String skipToken); - - /** - * Lists all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager routing configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName); - - /** - * Lists all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager routing configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName); - - /** - * Lists all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager routing configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - Integer top, String skipToken, Context context); - /** * Retrieves a network manager routing configuration. * @@ -358,4 +293,73 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String configurationName, Boolean force, Context context); + + /** + * Lists all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 NetworkManagerRoutingConfiguration list operation as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + Integer top, String skipToken); + + /** + * Lists all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 NetworkManagerRoutingConfiguration list operation as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName); + + /** + * Lists all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 NetworkManagerRoutingConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName); + + /** + * Lists all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 NetworkManagerRoutingConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + Integer top, String skipToken, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java index 35c5200c932a..1204c85bb9ca 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -13,7 +13,10 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.network.fluent.models.ActiveBaseSecurityAdminRuleInner; +import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationInner; import com.azure.resourcemanager.network.fluent.models.NetworkManagerInner; +import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; import com.azure.resourcemanager.network.models.PatchObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -30,7 +33,7 @@ public interface NetworkManagersClient extends InnerSupportsGet> getByResourceGroupWithResponseAsync(String r /** * Gets the specified Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -57,7 +60,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -72,7 +75,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Gets the specified Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -85,7 +88,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Creates or updates a Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which network manager is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -100,7 +103,7 @@ Mono> createOrUpdateWithResponseAsync(String resou /** * Creates or updates a Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which network manager is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -115,7 +118,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String n /** * Creates or updates a Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which network manager is. * @param context The context to associate with this operation. @@ -131,7 +134,7 @@ Response createOrUpdateWithResponse(String resourceGroupNam /** * Creates or updates a Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which network manager is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -143,10 +146,69 @@ Response createOrUpdateWithResponse(String resourceGroupNam NetworkManagerInner createOrUpdate(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters); + /** + * Patch NetworkManager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @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 Managed Network resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> patchWithResponseAsync(String resourceGroupName, String networkManagerName, + PatchObject parameters); + + /** + * Patch NetworkManager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @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 Managed Network resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono patchAsync(String resourceGroupName, String networkManagerName, PatchObject parameters); + + /** + * Patch NetworkManager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @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 Managed Network resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response patchWithResponse(String resourceGroupName, String networkManagerName, + PatchObject parameters, Context context); + + /** + * Patch NetworkManager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @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 Managed Network resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkManagerInner patch(String resourceGroupName, String networkManagerName, PatchObject parameters); + /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -162,7 +224,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -178,7 +240,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -191,7 +253,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -204,7 +266,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -221,7 +283,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -236,7 +298,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -249,7 +311,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -261,7 +323,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -274,63 +336,64 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String void delete(String resourceGroupName, String networkManagerName, Boolean force, Context context); /** - * Patch NetworkManager. + * List network managers in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which network manager is. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. * @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 Managed Network resource along with {@link Response} on successful completion of {@link Mono}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> patchWithResponseAsync(String resourceGroupName, String networkManagerName, - PatchObject parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, String skipToken); /** - * Patch NetworkManager. + * List network managers in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which network manager is. + * @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 Managed Network resource on successful completion of {@link Mono}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono patchAsync(String resourceGroupName, String networkManagerName, PatchObject parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); /** - * Patch NetworkManager. + * List network managers in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which network manager is. - * @param context The context to associate with this operation. + * @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 Managed Network resource along with {@link Response}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response patchWithResponse(String resourceGroupName, String networkManagerName, - PatchObject parameters, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); /** - * Patch NetworkManager. + * List network managers in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which network manager is. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 Managed Network resource. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkManagerInner patch(String resourceGroupName, String networkManagerName, PatchObject parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Integer top, String skipToken, + Context context); /** * List all network managers in a subscription. @@ -343,7 +406,7 @@ Response patchWithResponse(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list NetworkManager as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(Integer top, String skipToken); @@ -353,7 +416,7 @@ Response patchWithResponse(String resourceGroupName, String * * @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 result of the request to list NetworkManager as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(); @@ -363,7 +426,7 @@ Response patchWithResponse(String resourceGroupName, String * * @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 result of the request to list NetworkManager as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(); @@ -380,68 +443,144 @@ Response patchWithResponse(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list NetworkManager as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Integer top, String skipToken, Context context); /** - * List network managers in a resource group. + * Lists active connectivity configurations in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. * @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 result of the request to list NetworkManager as paginated response with {@link PagedFlux}. + * @return result of the request to list active connectivity configurations as paginated response with + * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, String skipToken); + PagedFlux listActiveConnectivityConfigurationsAsync(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters, Integer top); /** - * List network managers in a resource group. + * Lists active connectivity configurations in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @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 result of the request to list NetworkManager as paginated response with {@link PagedFlux}. + * @return result of the request to list active connectivity configurations as paginated response with + * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); + PagedFlux listActiveConnectivityConfigurationsAsync(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters); /** - * List network managers in a resource group. + * Lists active connectivity configurations in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @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 result of the request to list NetworkManager as paginated response with {@link PagedIterable}. + * @return result of the request to list active connectivity configurations as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); + PagedIterable listActiveConnectivityConfigurations(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters); /** - * List network managers in a resource group. + * Lists active connectivity configurations in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. * @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 result of the request to list NetworkManager as paginated response with {@link PagedIterable}. + * @return result of the request to list active connectivity configurations as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Integer top, String skipToken, - Context context); + PagedIterable listActiveConnectivityConfigurations(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context); + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active security admin rules as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listActiveSecurityAdminRulesAsync(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters, Integer top); + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active security admin rules as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listActiveSecurityAdminRulesAsync(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters); + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active security admin rules as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listActiveSecurityAdminRules(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters); + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active security admin rules as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listActiveSecurityAdminRules(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java index 574765bb4d15..653361659d43 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,102 +27,10 @@ */ public interface NetworkProfilesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified network profile. - * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String networkProfileName); - - /** - * Deletes the specified network profile. - * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkProfileName); - - /** - * Deletes the specified network profile. - * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @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 networkProfileName); - - /** - * Deletes the specified network profile. - * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @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 networkProfileName, - Context context); - - /** - * Deletes the specified network profile. - * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String networkProfileName); - - /** - * Deletes the specified network profile. - * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @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 networkProfileName); - - /** - * Deletes the specified network profile. - * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @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 networkProfileName, Context context); - /** * Gets the specified network profile in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkProfileName The name of the public IP prefix. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -138,7 +46,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified network profile in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkProfileName The name of the public IP prefix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -151,7 +59,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified network profile in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkProfileName The name of the public IP prefix. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -167,7 +75,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Gets the specified network profile in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkProfileName The name of the public IP prefix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -180,8 +88,8 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update network profile operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -195,8 +103,8 @@ Mono> createOrUpdateWithResponseAsync(String resou /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update network profile operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -210,8 +118,8 @@ Mono createOrUpdateAsync(String resourceGroupName, String n /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update network profile operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -226,8 +134,8 @@ Response createOrUpdateWithResponse(String resourceGroupNam /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update network profile operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -241,8 +149,8 @@ NetworkProfileInner createOrUpdate(String resourceGroupName, String networkProfi /** * Updates network profile tags. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @param parameters Parameters supplied to update network profile tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -256,8 +164,8 @@ Mono> updateTagsWithResponseAsync(String resourceG /** * Updates network profile tags. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @param parameters Parameters supplied to update network profile tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -271,8 +179,8 @@ Mono updateTagsAsync(String resourceGroupName, String netwo /** * Updates network profile tags. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @param parameters Parameters supplied to update network profile tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -287,8 +195,8 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Updates network profile tags. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @param parameters Parameters supplied to update network profile tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -299,41 +207,101 @@ Response updateTagsWithResponse(String resourceGroupName, S NetworkProfileInner updateTags(String resourceGroupName, String networkProfileName, TagsObject parameters); /** - * Gets all the network profiles in a subscription. + * Deletes the specified network profile. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @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 all the network profiles in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String networkProfileName); /** - * Gets all the network profiles in a subscription. + * Deletes the specified network profile. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @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 all the network profiles in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkProfileName); /** - * Gets all the network profiles in a subscription. + * Deletes the specified network profile. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @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 networkProfileName); + + /** + * Deletes the specified network profile. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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 all the network profiles in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String networkProfileName, + Context context); + + /** + * Deletes the specified network profile. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String networkProfileName); + + /** + * Deletes the specified network profile. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @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 networkProfileName); + + /** + * Deletes the specified network profile. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @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 networkProfileName, Context context); /** * Gets all network profiles in a resource group. * - * @param resourceGroupName The name of the 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. @@ -345,7 +313,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets all network profiles in a resource group. * - * @param resourceGroupName The name of the 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. @@ -357,7 +325,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets all network profiles in a resource group. * - * @param resourceGroupName The name of the 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. @@ -366,4 +334,36 @@ Response updateTagsWithResponse(String resourceGroupName, S */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all the network profiles in a 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 all the network profiles in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all the network profiles in a 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 all the network profiles in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all the network profiles in a 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 all the network profiles in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java index 8f022bd9c405..545c3b20740e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,102 +27,10 @@ */ public interface NetworkSecurityGroupsClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityGroupName); - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkSecurityGroupName); - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 networkSecurityGroupName); - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 networkSecurityGroupName, - Context context); - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName); - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 networkSecurityGroupName); - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 networkSecurityGroupName, Context context); - /** * Gets the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -138,7 +46,7 @@ Mono> getByResourceGroupWithResponseAsync(St /** * Gets the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -151,7 +59,7 @@ Mono> getByResourceGroupWithResponseAsync(St /** * Gets the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -167,7 +75,7 @@ Response getByResourceGroupWithResponse(String resour /** * Gets the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -180,7 +88,7 @@ Response getByResourceGroupWithResponse(String resour /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -195,7 +103,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -210,7 +118,7 @@ PollerFlux, NetworkSecurityGroupInner> beg /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -225,7 +133,7 @@ SyncPoller, NetworkSecurityGroupInner> beg /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @param context The context to associate with this operation. @@ -242,7 +150,7 @@ SyncPoller, NetworkSecurityGroupInner> beg /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -257,7 +165,7 @@ Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -272,7 +180,7 @@ NetworkSecurityGroupInner createOrUpdate(String resourceGroupName, String networ /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @param context The context to associate with this operation. @@ -288,7 +196,7 @@ NetworkSecurityGroupInner createOrUpdate(String resourceGroupName, String networ /** * Updates a network security group tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to update network security group tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -303,7 +211,7 @@ Mono> updateTagsWithResponseAsync(String res /** * Updates a network security group tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to update network security group tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -318,7 +226,7 @@ Mono updateTagsAsync(String resourceGroupName, String /** * Updates a network security group tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to update network security group tags. * @param context The context to associate with this operation. @@ -334,7 +242,7 @@ Response updateTagsWithResponse(String resourceGroupN /** * Updates a network security group tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to update network security group tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -347,41 +255,101 @@ NetworkSecurityGroupInner updateTags(String resourceGroupName, String networkSec TagsObject parameters); /** - * Gets all network security groups in a subscription. + * Deletes the specified network security group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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 all network security groups in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityGroupName); /** - * Gets all network security groups in a subscription. + * Deletes the specified network security group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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 all network security groups in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkSecurityGroupName); /** - * Gets all network security groups in a subscription. + * Deletes the specified network security group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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 networkSecurityGroupName); + + /** + * Deletes the specified network security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. * @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 all network security groups in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, + Context context); + + /** + * Deletes the specified network security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName); + + /** + * Deletes the specified network security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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 networkSecurityGroupName); + + /** + * Deletes the specified network security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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 networkSecurityGroupName, Context context); /** * Gets all network security groups in a resource group. * - * @param resourceGroupName The name of the 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. @@ -393,7 +361,7 @@ NetworkSecurityGroupInner updateTags(String resourceGroupName, String networkSec /** * Gets all network security groups in a resource group. * - * @param resourceGroupName The name of the 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. @@ -405,7 +373,7 @@ NetworkSecurityGroupInner updateTags(String resourceGroupName, String networkSec /** * Gets all network security groups in a resource group. * - * @param resourceGroupName The name of the 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. @@ -414,4 +382,36 @@ NetworkSecurityGroupInner updateTags(String resourceGroupName, String networkSec */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all network security groups in a 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 all network security groups in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all network security groups in a 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 all network security groups in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all network security groups in a 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 all network security groups in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java index 7831fe0571a8..f227d4319803 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,7 +20,7 @@ public interface NetworkSecurityPerimeterAccessRulesClient { /** * Gets the specified NSP access rule by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -37,7 +37,7 @@ Mono> getWithResponseAsync(String resourceGroupName /** * Gets the specified NSP access rule by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -53,7 +53,7 @@ Mono getAsync(String resourceGroupName, String networkSecuri /** * Gets the specified NSP access rule by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -70,7 +70,7 @@ Response getWithResponse(String resourceGroupName, String ne /** * Gets the specified NSP access rule by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -86,7 +86,7 @@ NspAccessRuleInner get(String resourceGroupName, String networkSecurityPerimeter /** * Creates or updates a network access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -103,7 +103,7 @@ Mono> createOrUpdateWithResponseAsync(String resour /** * Creates or updates a network access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -120,7 +120,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String ne /** * Creates or updates a network access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -139,7 +139,7 @@ Response createOrUpdateWithResponse(String resourceGroupName /** * Creates or updates a network access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -156,7 +156,7 @@ NspAccessRuleInner createOrUpdate(String resourceGroupName, String networkSecuri /** * Deletes an NSP access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -172,7 +172,7 @@ Mono> deleteWithResponseAsync(String resourceGroupName, String ne /** * Deletes an NSP access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -188,7 +188,7 @@ Mono deleteAsync(String resourceGroupName, String networkSecurityPerimeter /** * Deletes an NSP access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -205,7 +205,7 @@ Response deleteWithResponse(String resourceGroupName, String networkSecuri /** * Deletes an NSP access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -220,7 +220,7 @@ void delete(String resourceGroupName, String networkSecurityPerimeterName, Strin /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -231,7 +231,7 @@ void delete(String resourceGroupName, String networkSecurityPerimeterName, Strin * @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 result of the request to list NSP access rules as paginated response with {@link PagedFlux}. + * @return the response of a NspAccessRule list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -240,13 +240,13 @@ PagedFlux listAsync(String resourceGroupName, String network /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @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 result of the request to list NSP access rules as paginated response with {@link PagedFlux}. + * @return the response of a NspAccessRule list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -255,13 +255,13 @@ PagedFlux listAsync(String resourceGroupName, String network /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @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 result of the request to list NSP access rules as paginated response with {@link PagedIterable}. + * @return the response of a NspAccessRule list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, @@ -270,7 +270,7 @@ PagedIterable list(String resourceGroupName, String networkS /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -282,7 +282,7 @@ PagedIterable list(String resourceGroupName, String networkS * @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 result of the request to list NSP access rules as paginated response with {@link PagedIterable}. + * @return the response of a NspAccessRule list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, @@ -291,7 +291,7 @@ PagedIterable list(String resourceGroupName, String networkS /** * Reconcile NSP access rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -299,7 +299,7 @@ PagedIterable list(String resourceGroupName, String networkS * @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 any object along with {@link Response} on successful completion of {@link Mono}. + * @return anything along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> reconcileWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -308,7 +308,7 @@ Mono> reconcileWithResponseAsync(String resourceGroupName, Stri /** * Reconcile NSP access rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -316,7 +316,7 @@ Mono> reconcileWithResponseAsync(String resourceGroupName, Stri * @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 any object on successful completion of {@link Mono}. + * @return anything on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono reconcileAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, @@ -325,7 +325,7 @@ Mono reconcileAsync(String resourceGroupName, String networkSecurityPeri /** * Reconcile NSP access rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -334,7 +334,7 @@ Mono reconcileAsync(String resourceGroupName, String networkSecurityPeri * @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 any object along with {@link Response}. + * @return anything along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response reconcileWithResponse(String resourceGroupName, String networkSecurityPerimeterName, @@ -343,7 +343,7 @@ Response reconcileWithResponse(String resourceGroupName, String networkS /** * Reconcile NSP access rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -351,7 +351,7 @@ Response reconcileWithResponse(String resourceGroupName, String networkS * @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 any object. + * @return anything. */ @ServiceMethod(returns = ReturnType.SINGLE) Object reconcile(String resourceGroupName, String networkSecurityPerimeterName, String profileName, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java index 948fa2707436..e32c94d941c8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,7 +20,7 @@ public interface NetworkSecurityPerimeterAssociableResourceTypesClient { * Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security * perimeter. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -33,7 +33,7 @@ public interface NetworkSecurityPerimeterAssociableResourceTypesClient { * Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security * perimeter. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -46,7 +46,7 @@ public interface NetworkSecurityPerimeterAssociableResourceTypesClient { * Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security * perimeter. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java index 71c9cb7cf86b..2358cc915161 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -26,7 +26,7 @@ public interface NetworkSecurityPerimeterAssociationsClient { /** * Gets the specified NSP association by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -42,7 +42,7 @@ Mono> getWithResponseAsync(String resourceGroupNam /** * Gets the specified NSP association by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -57,7 +57,7 @@ Mono getAsync(String resourceGroupName, String networkSecur /** * Gets the specified NSP association by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param context The context to associate with this operation. @@ -73,7 +73,7 @@ Response getWithResponse(String resourceGroupName, String n /** * Gets the specified NSP association by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -87,7 +87,7 @@ Response getWithResponse(String resourceGroupName, String n /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -104,7 +104,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -120,7 +120,7 @@ PollerFlux, NspAssociationInner> beginCreateOrUp /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -136,7 +136,7 @@ SyncPoller, NspAssociationInner> beginCreateOrUp /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -153,7 +153,7 @@ SyncPoller, NspAssociationInner> beginCreateOrUp /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -169,7 +169,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String n /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -185,7 +185,7 @@ NspAssociationInner createOrUpdate(String resourceGroupName, String networkSecur /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -202,7 +202,7 @@ NspAssociationInner createOrUpdate(String resourceGroupName, String networkSecur /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -217,7 +217,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -232,7 +232,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -247,7 +247,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param context The context to associate with this operation. @@ -263,7 +263,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -277,7 +277,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -290,7 +290,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param context The context to associate with this operation. @@ -304,7 +304,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -314,7 +314,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list NSP resource associations as paginated response with {@link PagedFlux}. + * @return paged collection of NspAssociation items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, Integer top, @@ -323,12 +323,12 @@ PagedFlux listAsync(String resourceGroupName, String networ /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP resource associations as paginated response with {@link PagedFlux}. + * @return paged collection of NspAssociation items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName); @@ -336,12 +336,12 @@ PagedFlux listAsync(String resourceGroupName, String networ /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP resource associations as paginated response with {@link PagedIterable}. + * @return paged collection of NspAssociation items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName); @@ -349,7 +349,7 @@ PagedFlux listAsync(String resourceGroupName, String networ /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -360,7 +360,7 @@ PagedFlux listAsync(String resourceGroupName, String networ * @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 result of the request to list NSP resource associations as paginated response with {@link PagedIterable}. + * @return paged collection of NspAssociation items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, Integer top, @@ -369,14 +369,14 @@ PagedIterable list(String resourceGroupName, String network /** * Reconcile NSP association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters for NSP association reconcile. * @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 any object along with {@link Response} on successful completion of {@link Mono}. + * @return anything along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> reconcileWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -385,14 +385,14 @@ Mono> reconcileWithResponseAsync(String resourceGroupName, Stri /** * Reconcile NSP association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters for NSP association reconcile. * @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 any object on successful completion of {@link Mono}. + * @return anything on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono reconcileAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, @@ -401,7 +401,7 @@ Mono reconcileAsync(String resourceGroupName, String networkSecurityPeri /** * Reconcile NSP association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters for NSP association reconcile. @@ -409,7 +409,7 @@ Mono reconcileAsync(String resourceGroupName, String networkSecurityPeri * @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 any object along with {@link Response}. + * @return anything along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response reconcileWithResponse(String resourceGroupName, String networkSecurityPerimeterName, @@ -418,14 +418,14 @@ Response reconcileWithResponse(String resourceGroupName, String networkS /** * Reconcile NSP association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters for NSP association reconcile. * @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 any object. + * @return anything. */ @ServiceMethod(returns = ReturnType.SINGLE) Object reconcile(String resourceGroupName, String networkSecurityPerimeterName, String associationName, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java index 8dedfa638ea9..9207d21945e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -26,7 +26,7 @@ public interface NetworkSecurityPerimeterLinkReferencesClient { /** * Gets the specified NSP linkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -42,7 +42,7 @@ Mono> getWithResponseAsync(String resourceGroupN /** * Gets the specified NSP linkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -57,7 +57,7 @@ Mono getAsync(String resourceGroupName, String networkSec /** * Gets the specified NSP linkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @param context The context to associate with this operation. @@ -73,7 +73,7 @@ Response getWithResponse(String resourceGroupName, String /** * Gets the specified NSP linkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -87,7 +87,7 @@ Response getWithResponse(String resourceGroupName, String /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -102,7 +102,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -117,7 +117,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -132,7 +132,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @param context The context to associate with this operation. @@ -148,7 +148,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -162,7 +162,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -175,7 +175,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @param context The context to associate with this operation. @@ -190,7 +190,7 @@ void delete(String resourceGroupName, String networkSecurityPerimeterName, Strin /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -200,7 +200,7 @@ void delete(String resourceGroupName, String networkSecurityPerimeterName, Strin * @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 result of the request to list NSP linkReference resources as paginated response with {@link PagedFlux}. + * @return the response of a NspLinkReference list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -209,12 +209,12 @@ PagedFlux listAsync(String resourceGroupName, String netw /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP linkReference resources as paginated response with {@link PagedFlux}. + * @return the response of a NspLinkReference list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName); @@ -222,13 +222,12 @@ PagedFlux listAsync(String resourceGroupName, String netw /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP linkReference resources as paginated response with - * {@link PagedIterable}. + * @return the response of a NspLinkReference list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName); @@ -236,7 +235,7 @@ PagedFlux listAsync(String resourceGroupName, String netw /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -247,8 +246,7 @@ PagedFlux listAsync(String resourceGroupName, String netw * @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 result of the request to list NSP linkReference resources as paginated response with - * {@link PagedIterable}. + * @return the response of a NspLinkReference list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java index a6ed41541866..93fedda3de4a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -25,7 +25,7 @@ public interface NetworkSecurityPerimeterLinksClient { /** * Gets the specified NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -40,7 +40,7 @@ Mono> getWithResponseAsync(String resourceGroupName, Stri /** * Gets the specified NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -54,7 +54,7 @@ Mono> getWithResponseAsync(String resourceGroupName, Stri /** * Gets the specified NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param context The context to associate with this operation. @@ -70,7 +70,7 @@ Response getWithResponse(String resourceGroupName, String networkS /** * Gets the specified NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -84,7 +84,7 @@ Response getWithResponse(String resourceGroupName, String networkS /** * Creates or updates NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param parameters Parameters that hold the NspLink resource to be created/updated. @@ -101,7 +101,7 @@ Mono> createOrUpdateWithResponseAsync(String resourceGrou /** * Creates or updates NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param parameters Parameters that hold the NspLink resource to be created/updated. @@ -117,7 +117,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String networkS /** * Creates or updates NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param parameters Parameters that hold the NspLink resource to be created/updated. @@ -134,7 +134,7 @@ Response createOrUpdateWithResponse(String resourceGroupName, Stri /** * Creates or updates NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param parameters Parameters that hold the NspLink resource to be created/updated. @@ -150,7 +150,7 @@ NspLinkInner createOrUpdate(String resourceGroupName, String networkSecurityPeri /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -165,7 +165,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -180,7 +180,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -195,7 +195,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param context The context to associate with this operation. @@ -211,7 +211,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -225,7 +225,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -238,7 +238,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param context The context to associate with this operation. @@ -252,7 +252,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -262,7 +262,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list NSP link resources as paginated response with {@link PagedFlux}. + * @return the response of a NspLink list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, Integer top, @@ -271,12 +271,12 @@ PagedFlux listAsync(String resourceGroupName, String networkSecuri /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP link resources as paginated response with {@link PagedFlux}. + * @return the response of a NspLink list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName); @@ -284,12 +284,12 @@ PagedFlux listAsync(String resourceGroupName, String networkSecuri /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP link resources as paginated response with {@link PagedIterable}. + * @return the response of a NspLink list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName); @@ -297,7 +297,7 @@ PagedFlux listAsync(String resourceGroupName, String networkSecuri /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -308,7 +308,7 @@ PagedFlux listAsync(String resourceGroupName, String networkSecuri * @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 result of the request to list NSP link resources as paginated response with {@link PagedIterable}. + * @return the response of a NspLink list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, Integer top, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java index d8f5e7687ddc..b70c720cca4f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -21,7 +21,7 @@ public interface NetworkSecurityPerimeterLoggingConfigurationsClient { /** * Gets the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -36,7 +36,7 @@ Mono> getWithResponseAsync(String resourc /** * Gets the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -51,7 +51,7 @@ Mono getAsync(String resourceGroupName, String net /** * Gets the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param context The context to associate with this operation. @@ -67,7 +67,7 @@ Response getWithResponse(String resourceGroupName, /** * Gets the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -82,7 +82,7 @@ NspLoggingConfigurationInner get(String resourceGroupName, String networkSecurit /** * Creates or updates NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param parameters Parameters that hold the NspLoggingConfiguration to be created/updated. @@ -98,7 +98,7 @@ Mono> createOrUpdateWithResponseAsync(Str /** * Creates or updates NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param parameters Parameters that hold the NspLoggingConfiguration to be created/updated. @@ -114,7 +114,7 @@ Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param parameters Parameters that hold the NspLoggingConfiguration to be created/updated. @@ -132,7 +132,7 @@ Response createOrUpdateWithResponse(String resourc /** * Creates or updates NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param parameters Parameters that hold the NspLoggingConfiguration to be created/updated. @@ -148,7 +148,7 @@ NspLoggingConfigurationInner createOrUpdate(String resourceGroupName, String net /** * Deletes an NSP Logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -163,7 +163,7 @@ Mono> deleteWithResponseAsync(String resourceGroupName, String ne /** * Deletes an NSP Logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -178,7 +178,7 @@ Mono deleteAsync(String resourceGroupName, String networkSecurityPerimeter /** * Deletes an NSP Logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param context The context to associate with this operation. @@ -194,7 +194,7 @@ Response deleteWithResponse(String resourceGroupName, String networkSecuri /** * Deletes an NSP Logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -207,12 +207,12 @@ Response deleteWithResponse(String resourceGroupName, String networkSecuri /** * Lists the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP logging configuration as paginated response with {@link PagedFlux}. + * @return the response of a NspLoggingConfiguration list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName); @@ -220,12 +220,13 @@ Response deleteWithResponse(String resourceGroupName, String networkSecuri /** * Lists the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP logging configuration as paginated response with {@link PagedIterable}. + * @return the response of a NspLoggingConfiguration list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName); @@ -233,13 +234,14 @@ Response deleteWithResponse(String resourceGroupName, String networkSecuri /** * Lists the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP logging configuration as paginated response with {@link PagedIterable}. + * @return the response of a NspLoggingConfiguration list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java index 6c87a1487c83..ea3cab0efb31 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -19,7 +19,7 @@ public interface NetworkSecurityPerimeterOperationStatusesClient { /** * Gets the operation status for the given operation id. * - * @param location The location of network security perimeter. + * @param location The name of the Azure region. * @param operationId The operation id of the async operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -33,7 +33,7 @@ public interface NetworkSecurityPerimeterOperationStatusesClient { /** * Gets the operation status for the given operation id. * - * @param location The location of network security perimeter. + * @param location The name of the Azure region. * @param operationId The operation id of the async operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -46,7 +46,7 @@ public interface NetworkSecurityPerimeterOperationStatusesClient { /** * Gets the operation status for the given operation id. * - * @param location The location of network security perimeter. + * @param location The name of the Azure region. * @param operationId The operation id of the async operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -60,7 +60,7 @@ public interface NetworkSecurityPerimeterOperationStatusesClient { /** * Gets the operation status for the given operation id. * - * @param location The location of network security perimeter. + * @param location The name of the Azure region. * @param operationId The operation id of the async operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java index e25aa4388b4b..ca88159fc510 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,7 +20,7 @@ public interface NetworkSecurityPerimeterProfilesClient { /** * Gets the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -35,7 +35,7 @@ Mono> getWithResponseAsync(String resourceGroupName, S /** * Gets the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -49,7 +49,7 @@ Mono> getWithResponseAsync(String resourceGroupName, S /** * Gets the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param context The context to associate with this operation. @@ -65,7 +65,7 @@ Response getWithResponse(String resourceGroupName, String netwo /** * Gets the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -79,7 +79,7 @@ Response getWithResponse(String resourceGroupName, String netwo /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param parameters Parameters that hold the NspProfile resource to be created/updated. @@ -96,7 +96,7 @@ Mono> createOrUpdateWithResponseAsync(String resourceG /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param parameters Parameters that hold the NspProfile resource to be created/updated. @@ -112,7 +112,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String netwo /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param parameters Parameters that hold the NspProfile resource to be created/updated. @@ -129,7 +129,7 @@ Response createOrUpdateWithResponse(String resourceGroupName, S /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param parameters Parameters that hold the NspProfile resource to be created/updated. @@ -145,7 +145,7 @@ NspProfileInner createOrUpdate(String resourceGroupName, String networkSecurityP /** * Deletes an NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -160,7 +160,7 @@ Mono> deleteWithResponseAsync(String resourceGroupName, String ne /** * Deletes an NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -174,7 +174,7 @@ Mono> deleteWithResponseAsync(String resourceGroupName, String ne /** * Deletes an NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param context The context to associate with this operation. @@ -190,7 +190,7 @@ Response deleteWithResponse(String resourceGroupName, String networkSecuri /** * Deletes an NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -203,7 +203,7 @@ Response deleteWithResponse(String resourceGroupName, String networkSecuri /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -213,7 +213,7 @@ Response deleteWithResponse(String resourceGroupName, String networkSecuri * @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 result of the request to list NSP profiles as paginated response with {@link PagedFlux}. + * @return the response of a NspProfile list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, Integer top, @@ -222,12 +222,12 @@ PagedFlux listAsync(String resourceGroupName, String networkSec /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP profiles as paginated response with {@link PagedFlux}. + * @return the response of a NspProfile list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName); @@ -235,12 +235,12 @@ PagedFlux listAsync(String resourceGroupName, String networkSec /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP profiles as paginated response with {@link PagedIterable}. + * @return the response of a NspProfile list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName); @@ -248,7 +248,7 @@ PagedFlux listAsync(String resourceGroupName, String networkSec /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -259,7 +259,7 @@ PagedFlux listAsync(String resourceGroupName, String networkSec * @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 result of the request to list NSP profiles as paginated response with {@link PagedIterable}. + * @return the response of a NspProfile list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, Integer top, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java index 4bcf0f1853ed..337673b2be88 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,7 +18,7 @@ public interface NetworkSecurityPerimeterServiceTagsClient { /** * Gets the list of service tags supported by NSP. These service tags can be used to create access rules in NSP. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -30,7 +30,7 @@ public interface NetworkSecurityPerimeterServiceTagsClient { /** * Gets the list of service tags supported by NSP. These service tags can be used to create access rules in NSP. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -42,7 +42,7 @@ public interface NetworkSecurityPerimeterServiceTagsClient { /** * Gets the list of service tags supported by NSP. These service tags can be used to create access rules in NSP. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java index ec22d5aa44ad..356f666bbbd2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -30,7 +30,7 @@ public interface NetworkSecurityPerimetersClient extends InnerSupportsGet> getByResourceGroupWithResponseAsyn /** * Gets the specified network security perimeter by the name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -59,7 +59,7 @@ Mono getByResourceGroupAsync(String resourceGroup /** * Gets the specified network security perimeter by the name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -74,7 +74,7 @@ Response getByResourceGroupWithResponse(String re /** * Gets the specified network security perimeter by the name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -87,7 +87,7 @@ Response getByResourceGroupWithResponse(String re /** * Creates or updates a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param parameters Parameter supplied to create or update the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -103,7 +103,7 @@ Mono> createOrUpdateWithResponseAsync(St /** * Creates or updates a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param parameters Parameter supplied to create or update the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -118,7 +118,7 @@ Mono createOrUpdateAsync(String resourceGroupName /** * Creates or updates a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param parameters Parameter supplied to create or update the network security perimeter. * @param context The context to associate with this operation. @@ -134,7 +134,7 @@ Response createOrUpdateWithResponse(String resour /** * Creates or updates a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param parameters Parameter supplied to create or update the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -147,195 +147,196 @@ NetworkSecurityPerimeterInner createOrUpdate(String resourceGroupName, String ne NetworkSecurityPerimeterInner parameters); /** - * Deletes a network security perimeter. + * Patch Tags for a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param forceDeletion Deletes the resource even if it contains any child associations. + * @param parameters Parameter supplied to the network security perimeter. * @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 Response} on successful completion of {@link Mono}. + * @return the Network Security Perimeter resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkSecurityPerimeterName, Boolean forceDeletion); + Mono> patchWithResponseAsync(String resourceGroupName, + String networkSecurityPerimeterName, UpdateTagsRequest parameters); /** - * Deletes a network security perimeter. + * Patch Tags for a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param forceDeletion Deletes the resource even if it contains any child associations. + * @param parameters Parameter supplied to the network security perimeter. * @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 PollerFlux} for polling of long-running operation. + * @return the Network Security Perimeter resource on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkSecurityPerimeterName, - Boolean forceDeletion); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono patchAsync(String resourceGroupName, String networkSecurityPerimeterName, + UpdateTagsRequest parameters); /** - * Deletes a network security perimeter. + * Patch Tags for a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. + * @param parameters Parameter supplied to the network security perimeter. + * @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 PollerFlux} for polling of long-running operation. + * @return the Network Security Perimeter resource along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkSecurityPerimeterName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response patchWithResponse(String resourceGroupName, + String networkSecurityPerimeterName, UpdateTagsRequest parameters, Context context); /** - * Deletes a network security perimeter. + * Patch Tags for a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. + * @param parameters Parameter supplied to the network security perimeter. * @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. + * @return the Network Security Perimeter resource. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String networkSecurityPerimeterName); + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkSecurityPerimeterInner patch(String resourceGroupName, String networkSecurityPerimeterName, + UpdateTagsRequest parameters); /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. - * @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. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String networkSecurityPerimeterName, - Boolean forceDeletion, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkSecurityPerimeterName, Boolean forceDeletion); /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String networkSecurityPerimeterName, Boolean forceDeletion); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkSecurityPerimeterName, + Boolean forceDeletion); /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String networkSecurityPerimeterName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkSecurityPerimeterName); /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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.SINGLE) - void delete(String resourceGroupName, String networkSecurityPerimeterName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String networkSecurityPerimeterName); /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. * @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.SINGLE) - void delete(String resourceGroupName, String networkSecurityPerimeterName, Boolean forceDeletion, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String networkSecurityPerimeterName, + Boolean forceDeletion, Context context); /** - * Patch Tags for a Network Security Perimeter. + * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param parameters Parameter supplied to the network security perimeter. + * @param forceDeletion Deletes the resource even if it contains any child associations. * @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 Network Security Perimeter resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> patchWithResponseAsync(String resourceGroupName, - String networkSecurityPerimeterName, UpdateTagsRequest parameters); + Mono deleteAsync(String resourceGroupName, String networkSecurityPerimeterName, Boolean forceDeletion); /** - * Patch Tags for a Network Security Perimeter. + * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param parameters Parameter supplied to the network security perimeter. * @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 Network Security Perimeter resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono patchAsync(String resourceGroupName, String networkSecurityPerimeterName, - UpdateTagsRequest parameters); + Mono deleteAsync(String resourceGroupName, String networkSecurityPerimeterName); /** - * Patch Tags for a Network Security Perimeter. + * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param parameters Parameter supplied to the network security perimeter. - * @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 Network Security Perimeter resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response patchWithResponse(String resourceGroupName, - String networkSecurityPerimeterName, UpdateTagsRequest parameters, Context context); + void delete(String resourceGroupName, String networkSecurityPerimeterName); /** - * Patch Tags for a Network Security Perimeter. + * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param parameters Parameter supplied to the network security perimeter. + * @param forceDeletion Deletes the resource even if it contains any child associations. + * @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 Network Security Perimeter resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkSecurityPerimeterInner patch(String resourceGroupName, String networkSecurityPerimeterName, - UpdateTagsRequest parameters); + void delete(String resourceGroupName, String networkSecurityPerimeterName, Boolean forceDeletion, Context context); /** - * List all network security perimeters in a subscription. + * List network security perimeters in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -344,34 +345,41 @@ NetworkSecurityPerimeterInner patch(String resourceGroupName, String networkSecu * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedFlux}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(Integer top, String skipToken); + PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, + String skipToken); /** - * List all network security perimeters in a subscription. + * List network security perimeters in a 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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedFlux}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + PagedFlux listByResourceGroupAsync(String resourceGroupName); /** - * List all network security perimeters in a subscription. + * List network security perimeters in a 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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedIterable}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + PagedIterable listByResourceGroup(String resourceGroupName); /** - * List all network security perimeters in a subscription. + * List network security perimeters in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -381,15 +389,16 @@ NetworkSecurityPerimeterInner patch(String resourceGroupName, String networkSecu * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedIterable}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Integer top, String skipToken, Context context); + PagedIterable listByResourceGroup(String resourceGroupName, Integer top, + String skipToken, Context context); /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -398,40 +407,35 @@ NetworkSecurityPerimeterInner patch(String resourceGroupName, String networkSecu * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedFlux}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, - String skipToken); + PagedFlux listAsync(Integer top, String skipToken); /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedFlux}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); + PagedFlux listAsync(); /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedIterable}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); + PagedIterable list(); /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -441,9 +445,9 @@ PagedFlux listByResourceGroupAsync(String resourc * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedIterable}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Integer top, - String skipToken, Context context); + PagedIterable list(Integer top, String skipToken, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java index 0e102e9019ec..9edc60833e93 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -25,9 +25,9 @@ public interface NetworkVirtualApplianceConnectionsClient { /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -44,9 +44,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -62,9 +62,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -80,9 +80,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @param context The context to associate with this operation. @@ -99,9 +99,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -117,9 +117,9 @@ Mono createOrUpdateAsync(String resource /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -134,9 +134,9 @@ NetworkVirtualApplianceConnectionInner createOrUpdate(String resourceGroupName, /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @param context The context to associate with this operation. @@ -153,9 +153,9 @@ NetworkVirtualApplianceConnectionInner createOrUpdate(String resourceGroupName, /** * Retrieves the details of specified NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -169,9 +169,9 @@ Mono> getWithResponseAsync(Stri /** * Retrieves the details of specified NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -184,9 +184,9 @@ Mono getAsync(String resourceGroupName, /** * Retrieves the details of specified NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -200,9 +200,9 @@ Response getWithResponse(String resource /** * Retrieves the details of specified NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -215,9 +215,9 @@ NetworkVirtualApplianceConnectionInner get(String resourceGroupName, String netw /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -230,9 +230,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -245,9 +245,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -260,9 +260,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -276,9 +276,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -290,9 +290,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -303,9 +303,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -317,8 +317,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Lists NetworkVirtualApplianceConnections under the NVA. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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. @@ -331,8 +331,8 @@ PagedFlux listAsync(String resourceGroup /** * Lists NetworkVirtualApplianceConnections under the NVA. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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. @@ -345,8 +345,8 @@ PagedIterable list(String resourceGroupN /** * Lists NetworkVirtualApplianceConnections under the NVA. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java index ec1006716298..a9c5651161b4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -31,162 +31,177 @@ public interface NetworkVirtualAppliancesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { /** - * Deletes the specified Network Virtual Appliance. + * Gets the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param expand Expands referenced resources. * @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 Response} on successful completion of {@link Mono}. + * @return the specified Network Virtual Appliance along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName); + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, String expand); /** - * Deletes the specified Network Virtual Appliance. + * Gets the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 PollerFlux} for polling of long-running operation. + * @return the specified Network Virtual Appliance on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkVirtualApplianceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, + String networkVirtualApplianceName); /** - * Deletes the specified Network Virtual Appliance. + * Gets the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param expand Expands referenced resources. + * @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. + * @return the specified Network Virtual Appliance along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String networkVirtualApplianceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, + String networkVirtualApplianceName, String expand, Context context); /** - * Deletes the specified Network Virtual Appliance. + * Gets the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @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. + * @return the specified Network Virtual Appliance. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String networkVirtualApplianceName, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkVirtualApplianceInner getByResourceGroup(String resourceGroupName, String networkVirtualApplianceName); /** - * Deletes the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return networkVirtualAppliance Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters); /** - * Deletes the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 PollerFlux} for polling of networkVirtualAppliance Resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String networkVirtualApplianceName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, NetworkVirtualApplianceInner> beginCreateOrUpdateAsync( + String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters); /** - * Deletes the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 networkVirtualAppliance Resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String networkVirtualApplianceName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, NetworkVirtualApplianceInner> beginCreateOrUpdate( + String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters); /** - * Gets the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 Network Virtual Appliance along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of networkVirtualAppliance Resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, String expand); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, NetworkVirtualApplianceInner> beginCreateOrUpdate( + String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, + Context context); /** - * Gets the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 Network Virtual Appliance on successful completion of {@link Mono}. + * @return networkVirtualAppliance Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, - String networkVirtualApplianceName); + Mono createOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, + NetworkVirtualApplianceInner parameters); /** - * Gets the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param expand Expands referenced resources. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 Network Virtual Appliance along with {@link Response}. + * @return networkVirtualAppliance Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, - String networkVirtualApplianceName, String expand, Context context); + NetworkVirtualApplianceInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, + NetworkVirtualApplianceInner parameters); /** - * Gets the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 Network Virtual Appliance. + * @return networkVirtualAppliance Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkVirtualApplianceInner getByResourceGroup(String resourceGroupName, String networkVirtualApplianceName); + NetworkVirtualApplianceInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, + NetworkVirtualApplianceInner parameters, Context context); /** * Updates a Network Virtual Appliance. * - * @param resourceGroupName The resource group name of Network Virtual Appliance. - * @param networkVirtualApplianceName The name of Network Virtual Appliance being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param parameters Parameters supplied to Update Network Virtual Appliance Tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -200,8 +215,8 @@ Mono> updateTagsWithResponseAsync(String /** * Updates a Network Virtual Appliance. * - * @param resourceGroupName The resource group name of Network Virtual Appliance. - * @param networkVirtualApplianceName The name of Network Virtual Appliance being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param parameters Parameters supplied to Update Network Virtual Appliance Tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -215,8 +230,8 @@ Mono updateTagsAsync(String resourceGroupName, Str /** * Updates a Network Virtual Appliance. * - * @param resourceGroupName The resource group name of Network Virtual Appliance. - * @param networkVirtualApplianceName The name of Network Virtual Appliance being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param parameters Parameters supplied to Update Network Virtual Appliance Tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -231,8 +246,8 @@ Response updateTagsWithResponse(String resourceGro /** * Updates a Network Virtual Appliance. * - * @param resourceGroupName The resource group name of Network Virtual Appliance. - * @param networkVirtualApplianceName The name of Network Virtual Appliance being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param parameters Parameters supplied to Update Network Virtual Appliance Tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -244,125 +259,180 @@ NetworkVirtualApplianceInner updateTags(String resourceGroupName, String network TagsObject parameters); /** - * Creates or updates the specified Network Virtual Appliance. + * Deletes the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 networkVirtualAppliance Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName); /** - * Creates or updates the specified Network Virtual Appliance. + * Deletes the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 PollerFlux} for polling of networkVirtualAppliance Resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, NetworkVirtualApplianceInner> beginCreateOrUpdateAsync( - String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkVirtualApplianceName); /** - * Creates or updates the specified Network Virtual Appliance. + * Deletes the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 networkVirtualAppliance Resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, NetworkVirtualApplianceInner> beginCreateOrUpdate( - String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String networkVirtualApplianceName); /** - * Creates or updates the specified Network Virtual Appliance. + * Deletes the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 networkVirtualAppliance Resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, NetworkVirtualApplianceInner> beginCreateOrUpdate( - String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, + SyncPoller, Void> beginDelete(String resourceGroupName, String networkVirtualApplianceName, Context context); /** - * Creates or updates the specified Network Virtual Appliance. + * Deletes the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 networkVirtualAppliance Resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String networkVirtualApplianceName, - NetworkVirtualApplianceInner parameters); + Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName); /** - * Creates or updates the specified Network Virtual Appliance. + * Deletes the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 networkVirtualAppliance Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkVirtualApplianceInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, - NetworkVirtualApplianceInner parameters); + void delete(String resourceGroupName, String networkVirtualApplianceName); /** - * Creates or updates the specified Network Virtual Appliance. + * Deletes the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 networkVirtualAppliance Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkVirtualApplianceInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, - NetworkVirtualApplianceInner parameters, Context context); + void delete(String resourceGroupName, String networkVirtualApplianceName, Context context); + + /** + * Lists all Network Virtual Appliances in a 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 NetworkVirtualAppliance list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); + + /** + * Lists all Network Virtual Appliances in a 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 NetworkVirtualAppliance list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Lists all Network Virtual Appliances in a 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 NetworkVirtualAppliance list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances along - * with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> restartWithResponseAsync(String resourceGroupName, @@ -371,15 +441,14 @@ Mono>> restartWithResponseAsync(String resourceGroupNa /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 PollerFlux} for polling of specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, NetworkVirtualApplianceInstanceIdsInner> @@ -389,13 +458,12 @@ Mono>> restartWithResponseAsync(String resourceGroupNa /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 PollerFlux} for polling of specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, NetworkVirtualApplianceInstanceIdsInner> @@ -404,13 +472,12 @@ Mono>> restartWithResponseAsync(String resourceGroupNa /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, NetworkVirtualApplianceInstanceIdsInner> @@ -419,7 +486,7 @@ Mono>> restartWithResponseAsync(String resourceGroupNa /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -427,8 +494,7 @@ Mono>> restartWithResponseAsync(String resourceGroupNa * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, NetworkVirtualApplianceInstanceIdsInner> @@ -438,15 +504,14 @@ Mono>> restartWithResponseAsync(String resourceGroupNa /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on - * successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono restartAsync(String resourceGroupName, @@ -455,13 +520,12 @@ Mono restartAsync(String resourceGroupN /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on - * successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono restartAsync(String resourceGroupName, @@ -470,12 +534,12 @@ Mono restartAsync(String resourceGroupN /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) NetworkVirtualApplianceInstanceIdsInner restart(String resourceGroupName, String networkVirtualApplianceName); @@ -483,7 +547,7 @@ Mono restartAsync(String resourceGroupN /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -491,7 +555,7 @@ Mono restartAsync(String resourceGroupN * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) NetworkVirtualApplianceInstanceIdsInner restart(String resourceGroupName, String networkVirtualApplianceName, @@ -500,15 +564,14 @@ NetworkVirtualApplianceInstanceIdsInner restart(String resourceGroupName, String /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances along - * with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> reimageWithResponseAsync(String resourceGroupName, @@ -517,15 +580,14 @@ Mono>> reimageWithResponseAsync(String resourceGroupNa /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 PollerFlux} for polling of specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, NetworkVirtualApplianceInstanceIdsInner> @@ -535,13 +597,12 @@ Mono>> reimageWithResponseAsync(String resourceGroupNa /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 PollerFlux} for polling of specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, NetworkVirtualApplianceInstanceIdsInner> @@ -550,13 +611,12 @@ Mono>> reimageWithResponseAsync(String resourceGroupNa /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, NetworkVirtualApplianceInstanceIdsInner> @@ -565,7 +625,7 @@ Mono>> reimageWithResponseAsync(String resourceGroupNa /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -573,8 +633,7 @@ Mono>> reimageWithResponseAsync(String resourceGroupNa * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, NetworkVirtualApplianceInstanceIdsInner> @@ -584,15 +643,14 @@ Mono>> reimageWithResponseAsync(String resourceGroupNa /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on - * successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono reimageAsync(String resourceGroupName, @@ -601,13 +659,12 @@ Mono reimageAsync(String resourceGroupN /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on - * successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono reimageAsync(String resourceGroupName, @@ -616,12 +673,12 @@ Mono reimageAsync(String resourceGroupN /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) NetworkVirtualApplianceInstanceIdsInner reimage(String resourceGroupName, String networkVirtualApplianceName); @@ -629,7 +686,7 @@ Mono reimageAsync(String resourceGroupN /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -637,7 +694,7 @@ Mono reimageAsync(String resourceGroupN * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) NetworkVirtualApplianceInstanceIdsInner reimage(String resourceGroupName, String networkVirtualApplianceName, @@ -646,7 +703,7 @@ NetworkVirtualApplianceInstanceIdsInner reimage(String resourceGroupName, String /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -661,7 +718,7 @@ Mono>> getBootDiagnosticLogsWithResponseAsync(String r /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -677,7 +734,7 @@ Mono>> getBootDiagnosticLogsWithResponseAsync(String r /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -693,7 +750,7 @@ Mono>> getBootDiagnosticLogsWithResponseAsync(String r /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @param context The context to associate with this operation. @@ -710,7 +767,7 @@ Mono>> getBootDiagnosticLogsWithResponseAsync(String r /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -725,7 +782,7 @@ Mono getBootDiagnosticLogsAsync(String r /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -740,7 +797,7 @@ NetworkVirtualApplianceInstanceIdInner getBootDiagnosticLogs(String resourceGrou /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @param context The context to associate with this operation. @@ -752,75 +809,4 @@ NetworkVirtualApplianceInstanceIdInner getBootDiagnosticLogs(String resourceGrou @ServiceMethod(returns = ReturnType.SINGLE) NetworkVirtualApplianceInstanceIdInner getBootDiagnosticLogs(String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceBootDiagnosticParameters request, Context context); - - /** - * Lists all Network Virtual Appliances in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListNetworkVirtualAppliances API service call as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); - - /** - * Lists all Network Virtual Appliances in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListNetworkVirtualAppliances API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); - - /** - * Lists all Network Virtual Appliances in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListNetworkVirtualAppliances API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); - - /** - * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); - - /** - * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); - - /** - * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java index 196d0fed4ba9..eaf25a121f3d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -48,10 +48,66 @@ */ public interface NetworkWatchersClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { + /** + * Gets the specified network watcher by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @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 network watcher by resource group along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String networkWatcherName); + + /** + * Gets the specified network watcher by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @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 network watcher by resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, String networkWatcherName); + + /** + * Gets the specified network watcher by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @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 network watcher by resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, String networkWatcherName, + Context context); + + /** + * Gets the specified network watcher by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @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 network watcher by resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkWatcherInner getByResourceGroup(String resourceGroupName, String networkWatcherName); + /** * Creates or updates a network watcher in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the network watcher resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -66,7 +122,7 @@ Mono> createOrUpdateWithResponseAsync(String resou /** * Creates or updates a network watcher in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the network watcher resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -81,7 +137,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String n /** * Creates or updates a network watcher in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the network watcher resource. * @param context The context to associate with this operation. @@ -97,7 +153,7 @@ Response createOrUpdateWithResponse(String resourceGroupNam /** * Creates or updates a network watcher in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the network watcher resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -110,65 +166,69 @@ NetworkWatcherInner createOrUpdate(String resourceGroupName, String networkWatch NetworkWatcherInner parameters); /** - * Gets the specified network watcher by resource group. + * Updates a network watcher tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. + * @param parameters Parameters supplied to update network watcher tags. * @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 network watcher by resource group along with {@link Response} on successful completion of - * {@link Mono}. + * @return network watcher in a resource group along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String networkWatcherName); + Mono> updateTagsWithResponseAsync(String resourceGroupName, String networkWatcherName, + TagsObject parameters); /** - * Gets the specified network watcher by resource group. + * Updates a network watcher tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. + * @param parameters Parameters supplied to update network watcher tags. * @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 network watcher by resource group on successful completion of {@link Mono}. + * @return network watcher in a resource group on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String networkWatcherName); + Mono updateTagsAsync(String resourceGroupName, String networkWatcherName, + TagsObject parameters); /** - * Gets the specified network watcher by resource group. + * Updates a network watcher tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. + * @param parameters Parameters supplied to update network watcher tags. * @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 network watcher by resource group along with {@link Response}. + * @return network watcher in a resource group along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, String networkWatcherName, - Context context); + Response updateTagsWithResponse(String resourceGroupName, String networkWatcherName, + TagsObject parameters, Context context); /** - * Gets the specified network watcher by resource group. + * Updates a network watcher tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. + * @param parameters Parameters supplied to update network watcher tags. * @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 network watcher by resource group. + * @return network watcher in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkWatcherInner getByResourceGroup(String resourceGroupName, String networkWatcherName); + NetworkWatcherInner updateTags(String resourceGroupName, String networkWatcherName, TagsObject parameters); /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -181,7 +241,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -194,7 +254,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -207,7 +267,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -222,7 +282,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -235,7 +295,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -247,7 +307,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -257,70 +317,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkWatcherName, Context context); - /** - * Updates a network watcher tags. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param parameters Parameters supplied to update network watcher tags. - * @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 network watcher in a resource group along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> updateTagsWithResponseAsync(String resourceGroupName, String networkWatcherName, - TagsObject parameters); - - /** - * Updates a network watcher tags. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param parameters Parameters supplied to update network watcher tags. - * @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 network watcher in a resource group on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateTagsAsync(String resourceGroupName, String networkWatcherName, - TagsObject parameters); - - /** - * Updates a network watcher tags. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param parameters Parameters supplied to update network watcher tags. - * @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 network watcher in a resource group along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response updateTagsWithResponse(String resourceGroupName, String networkWatcherName, - TagsObject parameters, Context context); - - /** - * Updates a network watcher tags. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param parameters Parameters supplied to update network watcher tags. - * @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 network watcher in a resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkWatcherInner updateTags(String resourceGroupName, String networkWatcherName, TagsObject parameters); - /** * Gets all network watchers by resource group. * - * @param resourceGroupName The name of the 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. @@ -332,7 +332,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets all network watchers by resource group. * - * @param resourceGroupName The name of the 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. @@ -344,7 +344,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets all network watchers by resource group. * - * @param resourceGroupName The name of the 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. @@ -389,7 +389,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets the current network topology by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the representation of topology. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -405,7 +405,7 @@ Mono> getTopologyWithResponseAsync(String resourceGroupN /** * Gets the current network topology by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the representation of topology. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -420,7 +420,7 @@ Mono getTopologyAsync(String resourceGroupName, String networkWat /** * Gets the current network topology by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the representation of topology. * @param context The context to associate with this operation. @@ -436,7 +436,7 @@ Response getTopologyWithResponse(String resourceGroupName, String /** * Gets the current network topology by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the representation of topology. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -450,7 +450,7 @@ Response getTopologyWithResponse(String resourceGroupName, String /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -466,7 +466,7 @@ Mono>> verifyIpFlowWithResponseAsync(String resourceGr /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -481,7 +481,7 @@ PollerFlux, VerificationIpFlowResultIn /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -496,7 +496,7 @@ PollerFlux, VerificationIpFlowResultIn /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @param context The context to associate with this operation. @@ -512,7 +512,7 @@ SyncPoller, VerificationIpFlowResultIn /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -527,7 +527,7 @@ Mono verifyIpFlowAsync(String resourceGroupName, /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -542,7 +542,7 @@ VerificationIpFlowResultInner verifyIpFlow(String resourceGroupName, String netw /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @param context The context to associate with this operation. @@ -558,7 +558,7 @@ VerificationIpFlowResultInner verifyIpFlow(String resourceGroupName, String netw /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -573,7 +573,7 @@ Mono>> getNextHopWithResponseAsync(String resourceGrou /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -588,7 +588,7 @@ PollerFlux, NextHopResultInner> beginGetNextHopAs /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -603,7 +603,7 @@ SyncPoller, NextHopResultInner> beginGetNextHop(S /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @param context The context to associate with this operation. @@ -619,7 +619,7 @@ SyncPoller, NextHopResultInner> beginGetNextHop(S /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -634,7 +634,7 @@ Mono getNextHopAsync(String resourceGroupName, String networ /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -648,7 +648,7 @@ Mono getNextHopAsync(String resourceGroupName, String networ /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @param context The context to associate with this operation. @@ -664,7 +664,7 @@ NextHopResultInner getNextHop(String resourceGroupName, String networkWatcherNam /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -680,7 +680,7 @@ Mono>> getVMSecurityRulesWithResponseAsync(String reso /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -696,7 +696,7 @@ PollerFlux, SecurityGroupViewResultInne /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -712,7 +712,7 @@ SyncPoller, SecurityGroupViewResultInne /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @param context The context to associate with this operation. @@ -729,7 +729,7 @@ SyncPoller, SecurityGroupViewResultInne /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -745,7 +745,7 @@ Mono getVMSecurityRulesAsync(String resourceGroupN /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -760,7 +760,7 @@ SecurityGroupViewResultInner getVMSecurityRules(String resourceGroupName, String /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @param context The context to associate with this operation. @@ -776,8 +776,8 @@ SecurityGroupViewResultInner getVMSecurityRules(String resourceGroupName, String /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -792,8 +792,8 @@ Mono>> getTroubleshootingWithResponseAsync(String reso /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -807,8 +807,8 @@ PollerFlux, TroubleshootingResultInner> b /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -822,8 +822,8 @@ SyncPoller, TroubleshootingResultInner> b /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -838,8 +838,8 @@ SyncPoller, TroubleshootingResultInner> b /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -853,8 +853,8 @@ Mono getTroubleshootingAsync(String resourceGroupNam /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -868,8 +868,8 @@ TroubleshootingResultInner getTroubleshooting(String resourceGroupName, String n /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -884,8 +884,8 @@ TroubleshootingResultInner getTroubleshooting(String resourceGroupName, String n /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -900,8 +900,8 @@ Mono>> getTroubleshootingResultWithResponseAsync(Strin /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -915,8 +915,8 @@ PollerFlux, TroubleshootingResultInner> b /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -930,8 +930,8 @@ SyncPoller, TroubleshootingResultInner> b /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -947,8 +947,8 @@ SyncPoller, TroubleshootingResultInner> b /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -963,8 +963,8 @@ Mono getTroubleshootingResultAsync(String resourceGr /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -978,8 +978,8 @@ TroubleshootingResultInner getTroubleshootingResult(String resourceGroupName, St /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -994,8 +994,8 @@ TroubleshootingResultInner getTroubleshootingResult(String resourceGroupName, St /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1010,8 +1010,8 @@ Mono>> setFlowLogConfigurationWithResponseAsync(String /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1026,8 +1026,8 @@ PollerFlux, FlowLogInformationInner> beginSe /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1042,8 +1042,8 @@ SyncPoller, FlowLogInformationInner> beginSe /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1059,8 +1059,8 @@ SyncPoller, FlowLogInformationInner> beginSe /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1075,8 +1075,8 @@ Mono setFlowLogConfigurationAsync(String resourceGroupN /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1090,8 +1090,8 @@ FlowLogInformationInner setFlowLogConfiguration(String resourceGroupName, String /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1106,8 +1106,8 @@ FlowLogInformationInner setFlowLogConfiguration(String resourceGroupName, String /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1122,8 +1122,8 @@ Mono>> getFlowLogStatusWithResponseAsync(String resour /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1138,8 +1138,8 @@ PollerFlux, FlowLogInformationInner> beginGe /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1154,8 +1154,8 @@ PollerFlux, FlowLogInformationInner> beginGe /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1171,8 +1171,8 @@ SyncPoller, FlowLogInformationInner> beginGe /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1187,8 +1187,8 @@ Mono getFlowLogStatusAsync(String resourceGroupName, St /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1202,8 +1202,8 @@ FlowLogInformationInner getFlowLogStatus(String resourceGroupName, String networ /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1219,8 +1219,8 @@ FlowLogInformationInner getFlowLogStatus(String resourceGroupName, String networ * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1236,8 +1236,8 @@ Mono>> checkConnectivityWithResponseAsync(String resou * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1252,8 +1252,8 @@ PollerFlux, ConnectivityInformationInne * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1268,8 +1268,8 @@ PollerFlux, ConnectivityInformationInne * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1285,8 +1285,8 @@ SyncPoller, ConnectivityInformationInne * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1301,8 +1301,8 @@ Mono checkConnectivityAsync(String resourceGroupNa * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1317,8 +1317,8 @@ ConnectivityInformationInner checkConnectivity(String resourceGroupName, String * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1334,8 +1334,8 @@ ConnectivityInformationInner checkConnectivity(String resourceGroupName, String * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1350,8 +1350,8 @@ Mono>> getAzureReachabilityReportWithResponseAsync(Str * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1367,8 +1367,8 @@ Mono>> getAzureReachabilityReportWithResponseAsync(Str * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1383,8 +1383,8 @@ SyncPoller, AzureReachabilityReportInne * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1401,8 +1401,8 @@ SyncPoller, AzureReachabilityReportInne * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1417,8 +1417,8 @@ Mono getAzureReachabilityReportAsync(String resour * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1433,8 +1433,8 @@ AzureReachabilityReportInner getAzureReachabilityReport(String resourceGroupName * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1450,8 +1450,8 @@ AzureReachabilityReportInner getAzureReachabilityReport(String resourceGroupName * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1467,8 +1467,8 @@ Mono>> listAvailableProvidersWithResponseAsync(String * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1483,8 +1483,8 @@ PollerFlux, AvailableProvidersListInner> * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1499,8 +1499,8 @@ SyncPoller, AvailableProvidersListInner> * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1517,8 +1517,8 @@ SyncPoller, AvailableProvidersListInner> * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1533,8 +1533,8 @@ Mono listAvailableProvidersAsync(String resourceGro * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1549,8 +1549,8 @@ AvailableProvidersListInner listAvailableProviders(String resourceGroupName, Str * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1568,7 +1568,7 @@ AvailableProvidersListInner listAvailableProviders(String resourceGroupName, Str * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1587,7 +1587,7 @@ Mono>> getNetworkConfigurationDiagnosticWithResponseAs * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1607,7 +1607,7 @@ Mono>> getNetworkConfigurationDiagnosticWithResponseAs * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1627,7 +1627,7 @@ Mono>> getNetworkConfigurationDiagnosticWithResponseAs * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @param context The context to associate with this operation. @@ -1648,7 +1648,7 @@ Mono>> getNetworkConfigurationDiagnosticWithResponseAs * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1667,7 +1667,7 @@ Mono getNetworkConfigurationDiagnos * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1685,7 +1685,7 @@ NetworkConfigurationDiagnosticResponseInner getNetworkConfigurationDiagnostic(St * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @param context The context to associate with this operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java index a992c117dbe2..b79e05485abc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,7 +20,7 @@ public interface OperationsClient { * * @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 result of the request to list Network operations as paginated response with {@link PagedFlux}. + * @return paged collection of Operation items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(); @@ -30,7 +30,7 @@ public interface OperationsClient { * * @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 result of the request to list Network operations as paginated response with {@link PagedIterable}. + * @return paged collection of Operation items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(); @@ -42,7 +42,7 @@ public interface OperationsClient { * @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 result of the request to list Network operations as paginated response with {@link PagedIterable}. + * @return paged collection of Operation items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Context context); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java index 2a60779cacd2..132b633efd7b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java @@ -1,28 +1,17 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.PagedFlux; -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.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.P2SVpnConnectionHealthInner; import com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner; -import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; -import com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest; -import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; -import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; -import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -30,445 +19,16 @@ /** * An instance of this class provides access to all the operations defined in P2SVpnGatewaysClient. */ -public interface P2SVpnGatewaysClient - extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String gatewayName); - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String gatewayName); - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, - Context context); - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 PollerFlux} for polling of p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 PollerFlux} for polling of p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters, Context context); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateTagsAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, - Context context); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 gatewayName); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 gatewayName, Context context); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String gatewayName); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 gatewayName); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 gatewayName, Context context); - - /** - * Lists all the P2SVpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); - - /** - * Lists all the P2SVpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); - - /** - * Lists all the P2SVpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); - +public interface P2SVpnGatewaysClient { /** * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName); @@ -476,12 +36,12 @@ P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, Tags /** * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 PollerFlux} for polling of p2SVpnGateway Resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, @@ -490,12 +50,12 @@ PollerFlux, P2SVpnGatewayInner> beginResetAsync(S /** * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 p2SVpnGateway Resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, P2SVpnGatewayInner> beginReset(String resourceGroupName, @@ -504,13 +64,13 @@ SyncPoller, P2SVpnGatewayInner> beginReset(String /** * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 p2SVpnGateway Resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, P2SVpnGatewayInner> beginReset(String resourceGroupName, @@ -519,12 +79,12 @@ SyncPoller, P2SVpnGatewayInner> beginReset(String /** * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono resetAsync(String resourceGroupName, String gatewayName); @@ -532,12 +92,12 @@ SyncPoller, P2SVpnGatewayInner> beginReset(String /** * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 p2SVpnGateway Resource. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName); @@ -545,453 +105,14 @@ SyncPoller, P2SVpnGatewayInner> beginReset(String /** * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 p2SVpnGateway Resource. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName, Context context); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 vpn Profile Response for package generation along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 PollerFlux} for polling of vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VpnProfileResponseInner> - beginGenerateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VpnProfileResponseInner> - beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VpnProfileResponseInner> beginGenerateVpnProfile( - String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 vpn Profile Response for package generation on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters, Context context); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group - * along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getP2SVpnConnectionHealthWithResponseAsync(String resourceGroupName, - String gatewayName); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 PollerFlux} for polling of the connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, P2SVpnGatewayInner> - beginGetP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> - beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> - beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getP2SVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnConnectionHealthRequest request); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 PollerFlux} for polling of the sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, P2SVpnConnectionHealthInner> - beginGetP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request, Context context); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, - String gatewayName, P2SVpnConnectionHealthRequest request); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnConnectionHealthInner getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnConnectionHealthInner getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request, Context context); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> disconnectP2SVpnConnectionsWithResponseAsync(String resourceGroupName, - String p2SVpnGatewayName, P2SVpnConnectionRequest request); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDisconnectP2SVpnConnectionsAsync(String resourceGroupName, - String p2SVpnGatewayName, P2SVpnConnectionRequest request); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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> beginDisconnectP2SVpnConnections(String resourceGroupName, - String p2SVpnGatewayName, P2SVpnConnectionRequest request); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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> beginDisconnectP2SVpnConnections(String resourceGroupName, - String p2SVpnGatewayName, P2SVpnConnectionRequest request, Context context); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono disconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2SVpnGatewayName, - P2SVpnConnectionRequest request); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 disconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, - P2SVpnConnectionRequest request); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 disconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, - P2SVpnConnectionRequest request, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java new file mode 100644 index 000000000000..7355b9c92553 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java @@ -0,0 +1,900 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +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.PollerFlux; +import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.network.fluent.models.P2SVpnConnectionHealthInner; +import com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; +import com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest; +import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; +import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; +import com.azure.resourcemanager.network.models.TagsObject; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; +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 P2sVpnGatewaysOperationsClient. + */ +public interface P2sVpnGatewaysOperationsClient + extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String gatewayName); + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, String gatewayName); + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, + Context context); + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 PollerFlux} for polling of p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 PollerFlux} for polling of p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters, Context context); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono updateTagsAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, + Context context); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName, Context context); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String gatewayName); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName, Context context); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters); + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, VpnProfileResponseInner> + beginGenerateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters); + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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, VpnProfileResponseInner> + beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters); + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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, VpnProfileResponseInner> beginGenerateVpnProfile( + String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context); + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters); + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters); + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters, Context context); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group + * along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, + String gatewayName); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 PollerFlux} for polling of the connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnConnectionHealthRequest request); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 PollerFlux} for polling of the sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request, Context context); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, + String gatewayName, P2SVpnConnectionHealthRequest request); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request, Context context); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request, Context context); +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java index 108c2a11caa8..a7bc7fe45d19 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -13,6 +13,7 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.network.fluent.models.NetworkWatcherInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureQueryStatusResultInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureResultInner; @@ -27,7 +28,7 @@ public interface PacketCapturesClient { /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -44,7 +45,7 @@ Mono>> createWithResponseAsync(String resourceGroupNam /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -54,13 +55,13 @@ Mono>> createWithResponseAsync(String resourceGroupNam * @return the {@link PollerFlux} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, PacketCaptureResultInner> beginCreateAsync( - String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters); + PollerFlux, NetworkWatcherInner> beginCreateAsync(String resourceGroupName, + String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters); /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -70,13 +71,13 @@ PollerFlux, PacketCaptureResultInner> begin * @return the {@link SyncPoller} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, PacketCaptureResultInner> beginCreate(String resourceGroupName, + SyncPoller, NetworkWatcherInner> beginCreate(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters); /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -87,13 +88,13 @@ SyncPoller, PacketCaptureResultInner> begin * @return the {@link SyncPoller} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, PacketCaptureResultInner> beginCreate(String resourceGroupName, + SyncPoller, NetworkWatcherInner> beginCreate(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context); /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -103,13 +104,13 @@ SyncPoller, PacketCaptureResultInner> begin * @return information about packet capture session on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createAsync(String resourceGroupName, String networkWatcherName, - String packetCaptureName, PacketCaptureInner parameters); + Mono createAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, + PacketCaptureInner parameters); /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -119,13 +120,13 @@ Mono createAsync(String resourceGroupName, String netw * @return information about packet capture session. */ @ServiceMethod(returns = ReturnType.SINGLE) - PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, + NetworkWatcherInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters); /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -136,13 +137,13 @@ PacketCaptureResultInner create(String resourceGroupName, String networkWatcherN * @return information about packet capture session. */ @ServiceMethod(returns = ReturnType.SINGLE) - PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, + NetworkWatcherInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context); /** * Gets a packet capture session by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -157,7 +158,7 @@ Mono> getWithResponseAsync(String resourceGro /** * Gets a packet capture session by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -172,7 +173,7 @@ Mono getAsync(String resourceGroupName, String network /** * Gets a packet capture session by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -188,7 +189,7 @@ Response getWithResponse(String resourceGroupName, Str /** * Gets a packet capture session by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -202,7 +203,7 @@ Response getWithResponse(String resourceGroupName, Str /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -217,7 +218,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -232,7 +233,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -247,7 +248,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -263,7 +264,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -277,7 +278,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -290,7 +291,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -304,7 +305,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -319,7 +320,7 @@ Mono>> stopWithResponseAsync(String resourceGroupName, /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -334,7 +335,7 @@ PollerFlux, Void> beginStopAsync(String resourceGroupName, Stri /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -349,7 +350,7 @@ SyncPoller, Void> beginStop(String resourceGroupName, String ne /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -365,7 +366,7 @@ SyncPoller, Void> beginStop(String resourceGroupName, String ne /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -379,7 +380,7 @@ SyncPoller, Void> beginStop(String resourceGroupName, String ne /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -392,7 +393,7 @@ SyncPoller, Void> beginStop(String resourceGroupName, String ne /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -406,9 +407,9 @@ SyncPoller, Void> beginStop(String resourceGroupName, String ne /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -421,9 +422,9 @@ Mono>> getStatusWithResponseAsync(String resourceGroup /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -436,9 +437,9 @@ Mono>> getStatusWithResponseAsync(String resourceGroup /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -451,9 +452,9 @@ Mono>> getStatusWithResponseAsync(String resourceGroup /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -467,9 +468,9 @@ Mono>> getStatusWithResponseAsync(String resourceGroup /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -482,9 +483,9 @@ Mono getStatusAsync(String resourceGroupNam /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -497,9 +498,9 @@ PacketCaptureQueryStatusResultInner getStatus(String resourceGroupName, String n /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -513,8 +514,8 @@ PacketCaptureQueryStatusResultInner getStatus(String resourceGroupName, String n /** * Lists all packet capture sessions within the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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. @@ -526,8 +527,8 @@ PacketCaptureQueryStatusResultInner getStatus(String resourceGroupName, String n /** * Lists all packet capture sessions within the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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. @@ -539,8 +540,8 @@ PacketCaptureQueryStatusResultInner getStatus(String resourceGroupName, String n /** * Lists all packet capture sessions within the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java index fbe5437280ab..43c001f702ba 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,10 +20,11 @@ public interface PeerExpressRouteCircuitConnectionsClient { /** * Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param connectionName The name of the peer express route circuit connection. + * @param connectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -37,10 +38,11 @@ Mono> getWithResponseAsync(Stri /** * Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param connectionName The name of the peer express route circuit connection. + * @param connectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -54,10 +56,11 @@ Mono getAsync(String resourceGroupName, /** * Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param connectionName The name of the peer express route circuit connection. + * @param connectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -72,10 +75,11 @@ Response getWithResponse(String resource /** * Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param connectionName The name of the peer express route circuit connection. + * @param connectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -88,8 +92,8 @@ PeerExpressRouteCircuitConnectionInner get(String resourceGroupName, String circ /** * Gets all global reach peer connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -104,8 +108,8 @@ PagedFlux listAsync(String resourceGroup /** * Gets all global reach peer connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -120,8 +124,8 @@ PagedIterable list(String resourceGroupN /** * Gets all global reach peer connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java index 88a4394856a0..710aebd92dcb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -25,9 +25,9 @@ public interface PrivateDnsZoneGroupsClient { /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -40,9 +40,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -55,9 +55,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -70,9 +70,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -86,9 +86,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -100,9 +100,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -113,9 +113,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -127,9 +127,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Gets the private dns zone group resource by specified private dns zone group name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -143,9 +143,9 @@ Mono> getWithResponseAsync(String resourceGro /** * Gets the private dns zone group resource by specified private dns zone group name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -159,9 +159,9 @@ Mono getAsync(String resourceGroupName, String private /** * Gets the private dns zone group resource by specified private dns zone group name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -175,9 +175,9 @@ Response getWithResponse(String resourceGroupName, Str /** * Gets the private dns zone group resource by specified private dns zone group name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -189,9 +189,9 @@ Response getWithResponse(String resourceGroupName, Str /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -205,9 +205,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -222,9 +222,9 @@ PollerFlux, PrivateDnsZoneGroupInner> begin /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -239,9 +239,9 @@ SyncPoller, PrivateDnsZoneGroupInner> begin /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -257,9 +257,9 @@ SyncPoller, PrivateDnsZoneGroupInner> begin /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -273,9 +273,9 @@ Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -289,9 +289,9 @@ PrivateDnsZoneGroupInner createOrUpdate(String resourceGroupName, String private /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -306,40 +306,40 @@ PrivateDnsZoneGroupInner createOrUpdate(String resourceGroupName, String private /** * Gets all private dns zone groups in a private endpoint. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String privateEndpointName, String resourceGroupName); + PagedFlux listAsync(String resourceGroupName, String privateEndpointName); /** * Gets all private dns zone groups in a private endpoint. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String privateEndpointName, String resourceGroupName); + PagedIterable list(String resourceGroupName, String privateEndpointName); /** * Gets all private dns zone groups in a private endpoint. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param resourceGroupName The name of the resource group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String privateEndpointName, String resourceGroupName, Context context); + PagedIterable list(String resourceGroupName, String privateEndpointName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java index b90acee29b14..6d00c576db95 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,266 +27,266 @@ public interface PrivateEndpointsClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { /** - * Deletes the specified private endpoint. + * Gets the specified private endpoint by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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}. + * @return the specified private endpoint by resource group along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String privateEndpointName); + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String privateEndpointName, String expand); /** - * Deletes the specified private endpoint. + * Gets the specified private endpoint by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified private endpoint by resource group on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String privateEndpointName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, String privateEndpointName); /** - * Deletes the specified private endpoint. + * Gets the specified private endpoint by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @param expand Expands referenced resources. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified private endpoint by resource group along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String privateEndpointName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, String privateEndpointName, + String expand, Context context); /** - * Deletes the specified private endpoint. + * Gets the specified private endpoint by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified private endpoint by resource group. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String privateEndpointName, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + PrivateEndpointInner getByResourceGroup(String resourceGroupName, String privateEndpointName); /** - * Deletes the specified private endpoint. + * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return private endpoint resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String privateEndpointName); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String privateEndpointName, PrivateEndpointInner parameters); /** - * Deletes the specified private endpoint. + * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private endpoint resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String privateEndpointName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, PrivateEndpointInner> + beginCreateOrUpdateAsync(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters); /** - * Deletes the specified private endpoint. + * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private endpoint resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String privateEndpointName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, PrivateEndpointInner> beginCreateOrUpdate(String resourceGroupName, + String privateEndpointName, PrivateEndpointInner parameters); /** - * Gets the specified private endpoint by resource group. + * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to the create or update private endpoint operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private endpoint by resource group along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of private endpoint resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String privateEndpointName, String expand); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, PrivateEndpointInner> beginCreateOrUpdate(String resourceGroupName, + String privateEndpointName, PrivateEndpointInner parameters, Context context); /** - * Gets the specified private endpoint by resource group. + * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private endpoint by resource group on successful completion of {@link Mono}. + * @return private endpoint resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String privateEndpointName); + Mono createOrUpdateAsync(String resourceGroupName, String privateEndpointName, + PrivateEndpointInner parameters); /** - * Gets the specified private endpoint by resource group. + * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param expand Expands referenced resources. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private endpoint by resource group along with {@link Response}. + * @return private endpoint resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, String privateEndpointName, - String expand, Context context); + PrivateEndpointInner createOrUpdate(String resourceGroupName, String privateEndpointName, + PrivateEndpointInner parameters); /** - * Gets the specified private endpoint by resource group. + * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @param parameters Parameters supplied to the create or update private endpoint operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private endpoint by resource group. + * @return private endpoint resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateEndpointInner getByResourceGroup(String resourceGroupName, String privateEndpointName); + PrivateEndpointInner createOrUpdate(String resourceGroupName, String privateEndpointName, + PrivateEndpointInner parameters, Context context); /** - * Creates or updates an private endpoint in the specified resource group. + * Deletes the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private endpoint resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String privateEndpointName, PrivateEndpointInner parameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, String privateEndpointName); /** - * Creates or updates an private endpoint in the specified resource group. + * Deletes the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private endpoint resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, PrivateEndpointInner> - beginCreateOrUpdateAsync(String resourceGroupName, String privateEndpointName, PrivateEndpointInner parameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String privateEndpointName); /** - * Creates or updates an private endpoint in the specified resource group. + * Deletes the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private endpoint resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, PrivateEndpointInner> beginCreateOrUpdate(String resourceGroupName, - String privateEndpointName, PrivateEndpointInner parameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String privateEndpointName); /** - * Creates or updates an private endpoint in the specified resource group. + * Deletes the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param parameters Parameters supplied to the create or update private endpoint operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private endpoint resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, PrivateEndpointInner> beginCreateOrUpdate(String resourceGroupName, - String privateEndpointName, PrivateEndpointInner parameters, Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String privateEndpointName, + Context context); /** - * Creates or updates an private endpoint in the specified resource group. + * Deletes the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private endpoint resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String privateEndpointName, - PrivateEndpointInner parameters); + Mono deleteAsync(String resourceGroupName, String privateEndpointName); /** - * Creates or updates an private endpoint in the specified resource group. + * Deletes the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private endpoint resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateEndpointInner createOrUpdate(String resourceGroupName, String privateEndpointName, - PrivateEndpointInner parameters); + void delete(String resourceGroupName, String privateEndpointName); /** - * Creates or updates an private endpoint in the specified resource group. + * Deletes the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param parameters Parameters supplied to the create or update private endpoint operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private endpoint resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateEndpointInner createOrUpdate(String resourceGroupName, String privateEndpointName, - PrivateEndpointInner parameters, Context context); + void delete(String resourceGroupName, String privateEndpointName, Context context); /** * Gets all private endpoints in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -298,7 +298,7 @@ PrivateEndpointInner createOrUpdate(String resourceGroupName, String privateEndp /** * Gets all private endpoints in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -310,7 +310,7 @@ PrivateEndpointInner createOrUpdate(String resourceGroupName, String privateEndp /** * Gets all private endpoints in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java index 0525eb34bf19..fa28ee516514 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -31,265 +31,265 @@ public interface PrivateLinkServicesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { /** - * Deletes the specified private link service. + * Gets the specified private link service by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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}. + * @return the specified private link service by resource group along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceName); + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String serviceName, String expand); /** - * Deletes the specified private link service. + * Gets the specified private link service by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified private link service by resource group on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, String serviceName); /** - * Deletes the specified private link service. + * Gets the specified private link service by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param expand Expands referenced resources. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified private link service by resource group along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, String serviceName, + String expand, Context context); /** - * Deletes the specified private link service. + * Gets the specified private link service by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified private link service by resource group. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + PrivateLinkServiceInner getByResourceGroup(String resourceGroupName, String serviceName); /** - * Deletes the specified private link service. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return private link service resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String serviceName); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serviceName, + PrivateLinkServiceInner parameters); /** - * Deletes the specified private link service. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private link service resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String serviceName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, PrivateLinkServiceInner> + beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters); /** - * Deletes the specified private link service. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private link service resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String serviceName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, PrivateLinkServiceInner> + beginCreateOrUpdate(String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters); /** - * Gets the specified private link service by resource group. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to the create or update private link service operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private link service by resource group along with {@link Response} on successful completion - * of {@link Mono}. + * @return the {@link SyncPoller} for polling of private link service resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String serviceName, String expand); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, PrivateLinkServiceInner> beginCreateOrUpdate( + String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters, Context context); /** - * Gets the specified private link service by resource group. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private link service by resource group on successful completion of {@link Mono}. + * @return private link service resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String serviceName); + Mono createOrUpdateAsync(String resourceGroupName, String serviceName, + PrivateLinkServiceInner parameters); /** - * Gets the specified private link service by resource group. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param expand Expands referenced resources. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private link service by resource group along with {@link Response}. + * @return private link service resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, String serviceName, - String expand, Context context); + PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceName, + PrivateLinkServiceInner parameters); /** - * Gets the specified private link service by resource group. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param parameters Parameters supplied to the create or update private link service operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private link service by resource group. + * @return private link service resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateLinkServiceInner getByResourceGroup(String resourceGroupName, String serviceName); + PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceName, + PrivateLinkServiceInner parameters, Context context); /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private link service resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serviceName, - PrivateLinkServiceInner parameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceName); /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private link service resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, PrivateLinkServiceInner> - beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceName); /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private link service resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, PrivateLinkServiceInner> - beginCreateOrUpdate(String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName); /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 private link service resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, PrivateLinkServiceInner> beginCreateOrUpdate( - String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters, Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName, Context context); /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private link service resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String serviceName, - PrivateLinkServiceInner parameters); + Mono deleteAsync(String resourceGroupName, String serviceName); /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private link service resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceName, - PrivateLinkServiceInner parameters); + void delete(String resourceGroupName, String serviceName); /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private link service resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceName, - PrivateLinkServiceInner parameters, Context context); + void delete(String resourceGroupName, String serviceName, Context context); /** * Gets all private link services in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -301,7 +301,7 @@ PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceN /** * Gets all private link services in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -313,7 +313,7 @@ PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceN /** * Gets all private link services in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -358,9 +358,10 @@ PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceN /** * Get the specific private end point connection by specific private link service in the resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -375,9 +376,10 @@ Mono> getPrivateEndpointConnectionWithR /** * Get the specific private end point connection by specific private link service in the resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -391,9 +393,10 @@ Mono getPrivateEndpointConnectionAsync(String re /** * Get the specific private end point connection by specific private link service in the resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param expand Expands referenced resources. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -409,9 +412,10 @@ Response getPrivateEndpointConnectionWithRespons /** * Get the specific private end point connection by specific private link service in the resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -424,9 +428,10 @@ PrivateEndpointConnectionInner getPrivateEndpointConnection(String resourceGroup /** * Approve or reject private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to approve or reject the private end point connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -441,9 +446,10 @@ Mono> updatePrivateEndpointConnectionWi /** * Approve or reject private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to approve or reject the private end point connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -457,9 +463,10 @@ Mono updatePrivateEndpointConnectionAsync(String /** * Approve or reject private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to approve or reject the private end point connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -474,9 +481,10 @@ Response updatePrivateEndpointConnectionWithResp /** * Approve or reject private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to approve or reject the private end point connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -490,9 +498,10 @@ PrivateEndpointConnectionInner updatePrivateEndpointConnection(String resourceGr /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -505,9 +514,10 @@ Mono>> deletePrivateEndpointConnectionWithResponseAsyn /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -520,9 +530,10 @@ PollerFlux, Void> beginDeletePrivateEndpointConnectionAsync(Str /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -535,9 +546,10 @@ SyncPoller, Void> beginDeletePrivateEndpointConnection(String r /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -551,9 +563,10 @@ SyncPoller, Void> beginDeletePrivateEndpointConnection(String r /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -566,9 +579,10 @@ Mono deletePrivateEndpointConnectionAsync(String resourceGroupName, String /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -579,9 +593,10 @@ Mono deletePrivateEndpointConnectionAsync(String resourceGroupName, String /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -594,7 +609,7 @@ void deletePrivateEndpointConnection(String resourceGroupName, String serviceNam /** * Gets all private end point connections for a specific private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -609,7 +624,7 @@ PagedFlux listPrivateEndpointConnectionsAsync(St /** * Gets all private end point connections for a specific private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -624,7 +639,7 @@ PagedIterable listPrivateEndpointConnections(Str /** * Gets all private end point connections for a specific private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -640,13 +655,12 @@ PagedIterable listPrivateEndpointConnections(Str /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> checkPrivateLinkServiceVisibilityWithResponseAsync(String location, @@ -655,13 +669,12 @@ Mono>> checkPrivateLinkServiceVisibilityWithResponseAs /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 PollerFlux} for polling of response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, PrivateLinkServiceVisibilityInner> @@ -671,13 +684,12 @@ Mono>> checkPrivateLinkServiceVisibilityWithResponseAs /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, PrivateLinkServiceVisibilityInner> @@ -686,14 +698,13 @@ Mono>> checkPrivateLinkServiceVisibilityWithResponseAs /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, PrivateLinkServiceVisibilityInner> @@ -703,13 +714,12 @@ Mono>> checkPrivateLinkServiceVisibilityWithResponseAs /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono checkPrivateLinkServiceVisibilityAsync(String location, @@ -718,12 +728,12 @@ Mono checkPrivateLinkServiceVisibilityAsync(S /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(String location, @@ -732,13 +742,13 @@ PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(String locat /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(String location, @@ -747,123 +757,118 @@ PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(String locat /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync(String location, - String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters); + Mono>> checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync( + String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 PollerFlux} for polling of response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String location, String resourceGroupName, + beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroup(String location, String resourceGroupName, + beginCheckPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroup(String location, String resourceGroupName, + beginCheckPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters, Context context); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono checkPrivateLinkServiceVisibilityByResourceGroupAsync(String location, - String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters); + Mono checkPrivateLinkServiceVisibilityByResourceGroupAsync( + String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String location, - String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters); + PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, + String location, CheckPrivateLinkServiceVisibilityRequest parameters); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String location, - String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, Context context); + PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, + String location, CheckPrivateLinkServiceVisibilityRequest parameters, Context context); /** * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -877,7 +882,7 @@ PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGro * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -891,7 +896,7 @@ PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGro * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -907,8 +912,8 @@ PagedIterable listAutoApprovedPrivateLinkSe * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -917,14 +922,14 @@ PagedIterable listAutoApprovedPrivateLinkSe */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux - listAutoApprovedPrivateLinkServicesByResourceGroupAsync(String location, String resourceGroupName); + listAutoApprovedPrivateLinkServicesByResourceGroupAsync(String resourceGroupName, String location); /** * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -933,14 +938,14 @@ PagedIterable listAutoApprovedPrivateLinkSe */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable - listAutoApprovedPrivateLinkServicesByResourceGroup(String location, String resourceGroupName); + listAutoApprovedPrivateLinkServicesByResourceGroup(String resourceGroupName, String location); /** * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -950,5 +955,5 @@ PagedIterable listAutoApprovedPrivateLinkSe */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable - listAutoApprovedPrivateLinkServicesByResourceGroup(String location, String resourceGroupName, Context context); + listAutoApprovedPrivateLinkServicesByResourceGroup(String resourceGroupName, String location, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java new file mode 100644 index 000000000000..db375d2e3a63 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java @@ -0,0 +1,206 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in PublicIPAddressesOperationsClient. + */ +public interface PublicIPAddressesOperationsClient { + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName); + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName); + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, Context context); + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @param expand Expands referenced resources. + * @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 public IP address in a virtual machine scale set along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand); + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @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 public IP address in a virtual machine scale set on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getVirtualMachineScaleSetPublicIPAddressAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName); + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @param expand Expands referenced resources. + * @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 public IP address in a virtual machine scale set along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getVirtualMachineScaleSetPublicIPAddressWithResponse(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName, String expand, Context context); + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @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 public IP address in a virtual machine scale set. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + PublicIpAddressInner getVirtualMachineScaleSetPublicIPAddress(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName); + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName); + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName); + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, Context context); +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java index f1a157228c7a..f4f6b34e17f0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -30,112 +30,10 @@ */ public interface PublicIpAddressesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Gets information about all public IP addresses on a cloud service level. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @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 information about all public IP addresses on a cloud service level as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listCloudServicePublicIpAddressesAsync(String resourceGroupName, - String cloudServiceName); - - /** - * Gets information about all public IP addresses on a cloud service level. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @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 information about all public IP addresses on a cloud service level as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServicePublicIpAddresses(String resourceGroupName, - String cloudServiceName); - - /** - * Gets information about all public IP addresses on a cloud service level. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @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 information about all public IP addresses on a cloud service level as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServicePublicIpAddresses(String resourceGroupName, - String cloudServiceName, Context context); - - /** - * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a role instance IP configuration in a cloud service as - * paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listCloudServiceRoleInstancePublicIpAddressesAsync(String resourceGroupName, - String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName); - - /** - * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a role instance IP configuration in a cloud service as - * paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServiceRoleInstancePublicIpAddresses(String resourceGroupName, - String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName); - - /** - * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a role instance IP configuration in a cloud service as - * paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServiceRoleInstancePublicIpAddresses(String resourceGroupName, - String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, - Context context); - /** * Get the specified public IP address in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The role instance name. * @param networkInterfaceName The name of the network interface. @@ -149,14 +47,14 @@ PagedIterable listCloudServiceRoleInstancePublicIpAddresse * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getCloudServicePublicIpAddressWithResponseAsync(String resourceGroupName, + Mono> getCloudServicePublicIPAddressWithResponseAsync(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand); /** * Get the specified public IP address in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The role instance name. * @param networkInterfaceName The name of the network interface. @@ -168,13 +66,13 @@ Mono> getCloudServicePublicIpAddressWithResponseA * @return the specified public IP address in a cloud service on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getCloudServicePublicIpAddressAsync(String resourceGroupName, String cloudServiceName, + Mono getCloudServicePublicIPAddressAsync(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName); /** * Get the specified public IP address in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The role instance name. * @param networkInterfaceName The name of the network interface. @@ -188,14 +86,14 @@ Mono getCloudServicePublicIpAddressAsync(String resourceGr * @return the specified public IP address in a cloud service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getCloudServicePublicIpAddressWithResponse(String resourceGroupName, + Response getCloudServicePublicIPAddressWithResponse(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, Context context); /** * Get the specified public IP address in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The role instance name. * @param networkInterfaceName The name of the network interface. @@ -207,105 +105,69 @@ Response getCloudServicePublicIpAddressWithResponse(String * @return the specified public IP address in a cloud service. */ @ServiceMethod(returns = ReturnType.SINGLE) - PublicIpAddressInner getCloudServicePublicIpAddress(String resourceGroupName, String cloudServiceName, + PublicIpAddressInner getCloudServicePublicIPAddress(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName); /** - * Deletes the specified public IP address. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String publicIpAddressName); - - /** - * Deletes the specified public IP address. + * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. * @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 PollerFlux} for polling of long-running operation. + * @return information about all public IP addresses in a role instance IP configuration in a cloud service as + * paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpAddressName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listCloudServiceRoleInstancePublicIPAddressesAsync(String resourceGroupName, + String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName); /** - * Deletes the specified public IP address. + * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. * @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. + * @return information about all public IP addresses in a role instance IP configuration in a cloud service as + * paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String publicIpAddressName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listCloudServiceRoleInstancePublicIPAddresses(String resourceGroupName, + String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName); /** - * Deletes the specified public IP address. + * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. * @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. + * @return information about all public IP addresses in a role instance IP configuration in a cloud service as + * paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String publicIpAddressName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listCloudServiceRoleInstancePublicIPAddresses(String resourceGroupName, + String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, Context context); - /** - * Deletes the specified public IP address. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String publicIpAddressName); - - /** - * Deletes the specified public IP address. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. - * @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 publicIpAddressName); - - /** - * Deletes the specified public IP address. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. - * @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 publicIpAddressName, Context context); - /** * Gets the specified public IP address in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -321,7 +183,7 @@ Mono> getByResourceGroupWithResponseAsync(String /** * Gets the specified public IP address in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -334,7 +196,7 @@ Mono> getByResourceGroupWithResponseAsync(String /** * Gets the specified public IP address in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -350,7 +212,7 @@ Response getByResourceGroupWithResponse(String resourceGro /** * Gets the specified public IP address in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -363,7 +225,7 @@ Response getByResourceGroupWithResponse(String resourceGro /** * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to the create or update public IP address operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -378,7 +240,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to the create or update public IP address operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -393,7 +255,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to the create or update public IP address operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -408,7 +270,7 @@ SyncPoller, PublicIpAddressInner> beginCreateOr /** * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to the create or update public IP address operation. * @param context The context to associate with this operation. @@ -424,7 +286,7 @@ SyncPoller, PublicIpAddressInner> beginCreateOr /** * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to the create or update public IP address operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -439,7 +301,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String /** * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to the create or update public IP address operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -454,7 +316,7 @@ PublicIpAddressInner createOrUpdate(String resourceGroupName, String publicIpAdd /** * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to the create or update public IP address operation. * @param context The context to associate with this operation. @@ -470,7 +332,7 @@ PublicIpAddressInner createOrUpdate(String resourceGroupName, String publicIpAdd /** * Updates public IP address tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to update public IP address tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -485,7 +347,7 @@ Mono> updateTagsWithResponseAsync(String resource /** * Updates public IP address tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to update public IP address tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -500,7 +362,7 @@ Mono updateTagsAsync(String resourceGroupName, String publ /** * Updates public IP address tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to update public IP address tags. * @param context The context to associate with this operation. @@ -516,7 +378,7 @@ Response updateTagsWithResponse(String resourceGroupName, /** * Updates public IP address tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameters supplied to update public IP address tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -528,41 +390,101 @@ Response updateTagsWithResponse(String resourceGroupName, PublicIpAddressInner updateTags(String resourceGroupName, String publicIpAddressName, TagsObject parameters); /** - * Gets all the public IP addresses in a subscription. + * Deletes the specified public IP address. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. + * @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 all the public IP addresses in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String publicIpAddressName); /** - * Gets all the public IP addresses in a subscription. + * Deletes the specified public IP address. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. + * @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 all the public IP addresses in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpAddressName); /** - * Gets all the public IP addresses in a subscription. + * Deletes the specified public IP address. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. + * @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 publicIpAddressName); + + /** + * Deletes the specified public IP address. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. * @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 all the public IP addresses in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String publicIpAddressName, + Context context); + + /** + * Deletes the specified public IP address. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String publicIpAddressName); + + /** + * Deletes the specified public IP address. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. + * @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 publicIpAddressName); + + /** + * Deletes the specified public IP address. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. + * @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 publicIpAddressName, Context context); /** * Gets all public IP addresses in a resource group. * - * @param resourceGroupName The name of the 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. @@ -574,7 +496,7 @@ Response updateTagsWithResponse(String resourceGroupName, /** * Gets all public IP addresses in a resource group. * - * @param resourceGroupName The name of the 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. @@ -586,7 +508,7 @@ Response updateTagsWithResponse(String resourceGroupName, /** * Gets all public IP addresses in a resource group. * - * @param resourceGroupName The name of the 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. @@ -596,10 +518,42 @@ Response updateTagsWithResponse(String resourceGroupName, @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + /** + * Gets all the public IP addresses in a 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 all the public IP addresses in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all the public IP addresses in a 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 all the public IP addresses in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all the public IP addresses in a 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 all the public IP addresses in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); + /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -614,7 +568,7 @@ Mono>> ddosProtectionStatusWithResponseAsync(String re /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -628,7 +582,7 @@ Mono>> ddosProtectionStatusWithResponseAsync(String re /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -642,7 +596,7 @@ Mono>> ddosProtectionStatusWithResponseAsync(String re /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -657,7 +611,7 @@ Mono>> ddosProtectionStatusWithResponseAsync(String re /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -671,7 +625,7 @@ Mono ddosProtectionStatusAsync(String r /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -684,7 +638,7 @@ Mono ddosProtectionStatusAsync(String r /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -700,7 +654,7 @@ PublicIpDdosProtectionStatusResultInner ddosProtectionStatus(String resourceGrou * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -717,7 +671,7 @@ Mono>> reserveCloudServicePublicIpAddressWithResponseA * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -734,7 +688,7 @@ PollerFlux, PublicIpAddressInner> beginReserveC * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -751,7 +705,7 @@ SyncPoller, PublicIpAddressInner> beginReserveC * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -770,7 +724,7 @@ SyncPoller, PublicIpAddressInner> beginReserveC * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -787,7 +741,7 @@ Mono reserveCloudServicePublicIpAddressAsync(String resour * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -804,7 +758,7 @@ PublicIpAddressInner reserveCloudServicePublicIpAddress(String resourceGroupName * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -822,7 +776,7 @@ PublicIpAddressInner reserveCloudServicePublicIpAddress(String resourceGroupName * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -839,7 +793,7 @@ Mono>> disassociateCloudServiceReservedPublicIpWithRes * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -857,7 +811,7 @@ Mono>> disassociateCloudServiceReservedPublicIpWithRes * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -874,7 +828,7 @@ SyncPoller, PublicIpAddressInner> beginDisassoc * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -893,7 +847,7 @@ SyncPoller, PublicIpAddressInner> beginDisassoc * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -910,7 +864,7 @@ Mono disassociateCloudServiceReservedPublicIpAsync(String * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -927,7 +881,7 @@ PublicIpAddressInner disassociateCloudServiceReservedPublicIp(String resourceGro * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -942,189 +896,48 @@ PublicIpAddressInner disassociateCloudServiceReservedPublicIp(String resourceGro DisassociateCloudServicePublicIpRequest parameters, Context context); /** - * Gets information about all public IP addresses on a virtual machine scale set level. + * Gets information about all public IP addresses on a cloud service level. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * @return information about all public IP addresses on a cloud service level as paginated response with * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetPublicIpAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName); + PagedFlux listCloudServicePublicIPAddressesAsync(String resourceGroupName, + String cloudServiceName); /** - * Gets information about all public IP addresses on a virtual machine scale set level. + * Gets information about all public IP addresses on a cloud service level. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * @return information about all public IP addresses on a cloud service level as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetPublicIpAddresses(String resourceGroupName, - String virtualMachineScaleSetName); + PagedIterable listCloudServicePublicIPAddresses(String resourceGroupName, + String cloudServiceName); /** - * Gets information about all public IP addresses on a virtual machine scale set level. + * Gets information about all public IP addresses on a cloud service level. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * @return information about all public IP addresses on a cloud service level as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetPublicIpAddresses(String resourceGroupName, - String virtualMachineScaleSetName, Context context); - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetVMPublicIpAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName); - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetVMPublicIpAddresses(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName); - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetVMPublicIpAddresses(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, Context context); - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. - * @param expand Expands referenced resources. - * @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 public IP address in a virtual machine scale set along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getVirtualMachineScaleSetPublicIpAddressWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand); - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. - * @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 public IP address in a virtual machine scale set on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getVirtualMachineScaleSetPublicIpAddressAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName); - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. - * @param expand Expands referenced resources. - * @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 public IP address in a virtual machine scale set along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getVirtualMachineScaleSetPublicIpAddressWithResponse(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName, String expand, Context context); - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. - * @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 public IP address in a virtual machine scale set. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - PublicIpAddressInner getVirtualMachineScaleSetPublicIpAddress(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName); + PagedIterable listCloudServicePublicIPAddresses(String resourceGroupName, + String cloudServiceName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java index a15395ddfea6..0a28303497e6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,102 +27,10 @@ */ public interface PublicIpPrefixesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String publicIpPrefixName); - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpPrefixName); - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 publicIpPrefixName); - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 publicIpPrefixName, - Context context); - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String publicIpPrefixName); - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 publicIpPrefixName); - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 publicIpPrefixName, Context context); - /** * Gets the specified public IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -138,7 +46,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified public IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -151,7 +59,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified public IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -167,7 +75,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Gets the specified public IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -180,7 +88,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -195,7 +103,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -210,7 +118,7 @@ PollerFlux, PublicIpPrefixInner> beginCreateOrUp /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -225,7 +133,7 @@ SyncPoller, PublicIpPrefixInner> beginCreateOrUp /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @param context The context to associate with this operation. @@ -241,7 +149,7 @@ SyncPoller, PublicIpPrefixInner> beginCreateOrUp /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -256,7 +164,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String p /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -271,7 +179,7 @@ PublicIpPrefixInner createOrUpdate(String resourceGroupName, String publicIpPref /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @param context The context to associate with this operation. @@ -287,7 +195,7 @@ PublicIpPrefixInner createOrUpdate(String resourceGroupName, String publicIpPref /** * Updates public IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to update public IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -302,7 +210,7 @@ Mono> updateTagsWithResponseAsync(String resourceG /** * Updates public IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to update public IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -317,7 +225,7 @@ Mono updateTagsAsync(String resourceGroupName, String publi /** * Updates public IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to update public IP prefix tags. * @param context The context to associate with this operation. @@ -333,7 +241,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Updates public IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to update public IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -345,41 +253,101 @@ Response updateTagsWithResponse(String resourceGroupName, S PublicIpPrefixInner updateTags(String resourceGroupName, String publicIpPrefixName, TagsObject parameters); /** - * Gets all the public IP prefixes in a subscription. + * Deletes the specified public IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 all the public IP prefixes in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String publicIpPrefixName); /** - * Gets all the public IP prefixes in a subscription. + * Deletes the specified public IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 all the public IP prefixes in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpPrefixName); /** - * Gets all the public IP prefixes in a subscription. + * Deletes the specified public IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 publicIpPrefixName); + + /** + * Deletes the specified public IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. * @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 all the public IP prefixes in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String publicIpPrefixName, + Context context); + + /** + * Deletes the specified public IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String publicIpPrefixName); + + /** + * Deletes the specified public IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 publicIpPrefixName); + + /** + * Deletes the specified public IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 publicIpPrefixName, Context context); /** * Gets all public IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -391,7 +359,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets all public IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -403,7 +371,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets all public IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -412,4 +380,36 @@ Response updateTagsWithResponse(String resourceGroupName, S */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all the public IP prefixes in a 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 all the public IP prefixes in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all the public IP prefixes in a 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 all the public IP prefixes in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all the public IP prefixes in a 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 all the public IP prefixes in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java index a380fee53344..a2d93b396b9a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -17,84 +17,12 @@ * An instance of this class provides access to all the operations defined in ReachabilityAnalysisIntentsClient. */ public interface ReachabilityAnalysisIntentsClient { - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Reachability Analysis Intents as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue); - - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Reachability Analysis Intents as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String workspaceName); - - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Reachability Analysis Intents as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String workspaceName); - - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Reachability Analysis Intents as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, - Context context); - /** * Get the Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -108,9 +36,9 @@ Mono> getWithResponseAsync(String reso /** * Get the Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -124,9 +52,9 @@ Mono getAsync(String resourceGroupName, String /** * Get the Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -141,9 +69,9 @@ Response getWithResponse(String resourceGroupNa /** * Get the Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -157,9 +85,9 @@ ReachabilityAnalysisIntentInner get(String resourceGroupName, String networkMana /** * Creates Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param body Reachability Analysis Intent object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -176,9 +104,9 @@ Mono> createWithResponseAsync(String r /** * Creates Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param body Reachability Analysis Intent object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -194,9 +122,9 @@ Mono createAsync(String resourceGroupName, Stri /** * Creates Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param body Reachability Analysis Intent object to create/update. * @param context The context to associate with this operation. @@ -213,9 +141,9 @@ Response createWithResponse(String resourceGrou /** * Creates Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param body Reachability Analysis Intent object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -230,9 +158,9 @@ ReachabilityAnalysisIntentInner create(String resourceGroupName, String networkM /** * Deletes Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -246,9 +174,9 @@ Mono> deleteWithResponseAsync(String resourceGroupName, String ne /** * Deletes Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -262,9 +190,9 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri /** * Deletes Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -279,9 +207,9 @@ Response deleteWithResponse(String resourceGroupName, String networkManage /** * Deletes Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -290,4 +218,76 @@ Response deleteWithResponse(String resourceGroupName, String networkManage @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String workspaceName, String reachabilityAnalysisIntentName); + + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Reachability Analysis Intents as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue); + + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Reachability Analysis Intents as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String workspaceName); + + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Reachability Analysis Intents as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String workspaceName); + + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Reachability Analysis Intents as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, + Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java index 472ae82d2ff9..3f6344233fc2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,84 +22,12 @@ * An instance of this class provides access to all the operations defined in ReachabilityAnalysisRunsClient. */ public interface ReachabilityAnalysisRunsClient { - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Reachability Analysis Runs as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue); - - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Reachability Analysis Runs as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String workspaceName); - - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Reachability Analysis Runs as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String workspaceName); - - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Reachability Analysis Runs as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, - Context context); - /** * Gets Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -113,9 +41,9 @@ Mono> getWithResponseAsync(String resourc /** * Gets Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -129,9 +57,9 @@ Mono getAsync(String resourceGroupName, String net /** * Gets Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -146,9 +74,9 @@ Response getWithResponse(String resourceGroupName, /** * Gets Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -162,9 +90,9 @@ ReachabilityAnalysisRunInner get(String resourceGroupName, String networkManager /** * Creates Reachability Analysis Runs. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param body Analysis Run resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -181,9 +109,9 @@ Mono> createWithResponseAsync(String reso /** * Creates Reachability Analysis Runs. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param body Analysis Run resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -198,9 +126,9 @@ Mono createAsync(String resourceGroupName, String /** * Creates Reachability Analysis Runs. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param body Analysis Run resource object to create/update. * @param context The context to associate with this operation. @@ -216,9 +144,9 @@ Response createWithResponse(String resourceGroupNa /** * Creates Reachability Analysis Runs. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param body Analysis Run resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -233,9 +161,9 @@ ReachabilityAnalysisRunInner create(String resourceGroupName, String networkMana /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -249,9 +177,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -265,9 +193,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -281,9 +209,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -298,9 +226,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -314,9 +242,9 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -329,9 +257,9 @@ void delete(String resourceGroupName, String networkManagerName, String workspac /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -341,4 +269,76 @@ void delete(String resourceGroupName, String networkManagerName, String workspac @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String workspaceName, String reachabilityAnalysisRunName, Context context); + + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Reachability Analysis Runs as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue); + + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Reachability Analysis Runs as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String workspaceName); + + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Reachability Analysis Runs as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String workspaceName); + + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Reachability Analysis Runs as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, + Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java index 7b94b85009ba..04b8a001cdb7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,7 +18,7 @@ public interface ResourceNavigationLinksClient { /** * Gets a list of resource navigation links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -34,7 +34,7 @@ Mono> listWithResponseAsync(Str /** * Gets a list of resource navigation links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -49,7 +49,7 @@ Mono listAsync(String resourceGroupName, /** * Gets a list of resource navigation links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param context The context to associate with this operation. @@ -65,7 +65,7 @@ Response listWithResponse(String resourc /** * Gets a list of resource navigation links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java index 4c8e0af73367..afcb36ec4dce 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -25,9 +25,9 @@ public interface RouteFilterRulesClient { /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -40,9 +40,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -55,9 +55,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -69,9 +69,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -85,9 +85,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -99,9 +99,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -112,9 +112,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -126,9 +126,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Gets the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -142,9 +142,9 @@ Mono> getWithResponseAsync(String resourceGroupNa /** * Gets the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -156,9 +156,9 @@ Mono> getWithResponseAsync(String resourceGroupNa /** * Gets the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -172,9 +172,9 @@ Response getWithResponse(String resourceGroupName, String /** * Gets the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -186,7 +186,7 @@ Response getWithResponse(String resourceGroupName, String /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -202,7 +202,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -219,7 +219,7 @@ PollerFlux, RouteFilterRuleInner> beginCreateOr /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -235,7 +235,7 @@ SyncPoller, RouteFilterRuleInner> beginCreateOr /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -252,7 +252,7 @@ SyncPoller, RouteFilterRuleInner> beginCreateOr /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -268,7 +268,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -284,7 +284,7 @@ RouteFilterRuleInner createOrUpdate(String resourceGroupName, String routeFilter /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -301,7 +301,7 @@ RouteFilterRuleInner createOrUpdate(String resourceGroupName, String routeFilter /** * Gets all RouteFilterRules in a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -314,7 +314,7 @@ RouteFilterRuleInner createOrUpdate(String resourceGroupName, String routeFilter /** * Gets all RouteFilterRules in a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -327,7 +327,7 @@ RouteFilterRuleInner createOrUpdate(String resourceGroupName, String routeFilter /** * Gets all RouteFilterRules in a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java index e9efe80f21a2..6702a658008a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,101 +27,10 @@ */ public interface RouteFiltersClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String routeFilterName); - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeFilterName); - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 routeFilterName); - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 routeFilterName, Context context); - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String routeFilterName); - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 routeFilterName); - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 routeFilterName, Context context); - /** * Gets the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param expand Expands referenced express route bgp peering resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -136,7 +45,7 @@ Mono> getByResourceGroupWithResponseAsync(String reso /** * Gets the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -149,7 +58,7 @@ Mono> getByResourceGroupWithResponseAsync(String reso /** * Gets the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param expand Expands referenced express route bgp peering resources. * @param context The context to associate with this operation. @@ -165,7 +74,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNa /** * Gets the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -178,7 +87,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNa /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -193,7 +102,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -208,7 +117,7 @@ PollerFlux, RouteFilterInner> beginCreateOrUpdateAs /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -223,7 +132,7 @@ SyncPoller, RouteFilterInner> beginCreateOrUpdate(S /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @param context The context to associate with this operation. @@ -239,7 +148,7 @@ SyncPoller, RouteFilterInner> beginCreateOrUpdate(S /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -254,7 +163,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String rout /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -269,7 +178,7 @@ RouteFilterInner createOrUpdate(String resourceGroupName, String routeFilterName /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @param context The context to associate with this operation. @@ -285,7 +194,7 @@ RouteFilterInner createOrUpdate(String resourceGroupName, String routeFilterName /** * Updates tags of a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param parameters Parameters supplied to update route filter tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -300,7 +209,7 @@ Mono> updateTagsWithResponseAsync(String resourceGrou /** * Updates tags of a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param parameters Parameters supplied to update route filter tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -314,7 +223,7 @@ Mono> updateTagsWithResponseAsync(String resourceGrou /** * Updates tags of a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param parameters Parameters supplied to update route filter tags. * @param context The context to associate with this operation. @@ -330,7 +239,7 @@ Response updateTagsWithResponse(String resourceGroupName, Stri /** * Updates tags of a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param parameters Parameters supplied to update route filter tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -341,10 +250,101 @@ Response updateTagsWithResponse(String resourceGroupName, Stri @ServiceMethod(returns = ReturnType.SINGLE) RouteFilterInner updateTags(String resourceGroupName, String routeFilterName, TagsObject parameters); + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String routeFilterName); + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeFilterName); + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 routeFilterName); + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 routeFilterName, Context context); + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String routeFilterName); + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 routeFilterName); + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 routeFilterName, Context context); + /** * Gets all route filters in a resource group. * - * @param resourceGroupName The name of the 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. @@ -356,7 +356,7 @@ Response updateTagsWithResponse(String resourceGroupName, Stri /** * Gets all route filters in a resource group. * - * @param resourceGroupName The name of the 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. @@ -368,7 +368,7 @@ Response updateTagsWithResponse(String resourceGroupName, Stri /** * Gets all route filters in a resource group. * - * @param resourceGroupName The name of the 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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java index 7d3838ceb08d..5992e4c0688a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -25,9 +25,10 @@ public interface RouteMapsClient { /** * Retrieves the details of a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -41,9 +42,10 @@ Mono> getWithResponseAsync(String resourceGroupName, Str /** * Retrieves the details of a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -55,9 +57,10 @@ Mono> getWithResponseAsync(String resourceGroupName, Str /** * Retrieves the details of a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -71,9 +74,10 @@ Response getWithResponse(String resourceGroupName, String virtual /** * Retrieves the details of a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -85,9 +89,10 @@ Response getWithResponse(String resourceGroupName, String virtual /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -102,9 +107,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -118,9 +124,10 @@ PollerFlux, RouteMapInner> beginCreateOrUpdateAsync(St /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -134,9 +141,10 @@ SyncPoller, RouteMapInner> beginCreateOrUpdate(String /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -151,9 +159,10 @@ SyncPoller, RouteMapInner> beginCreateOrUpdate(String /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -167,9 +176,10 @@ Mono createOrUpdateAsync(String resourceGroupName, String virtual /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -183,9 +193,10 @@ RouteMapInner createOrUpdate(String resourceGroupName, String virtualHubName, St /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -200,9 +211,10 @@ RouteMapInner createOrUpdate(String resourceGroupName, String virtualHubName, St /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -215,9 +227,10 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -230,9 +243,10 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -245,9 +259,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -261,9 +276,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -275,9 +291,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -288,9 +305,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -302,8 +320,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all RouteMaps. * - * @param resourceGroupName The resource group name of the RouteMap's resource group'. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. * @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. @@ -316,8 +334,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all RouteMaps. * - * @param resourceGroupName The resource group name of the RouteMap's resource group'. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. * @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. @@ -330,8 +348,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all RouteMaps. * - * @param resourceGroupName The resource group name of the RouteMap's resource group'. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java index 4300f59e2b1f..a3443550724a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,101 +27,10 @@ */ public interface RouteTablesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName); - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName); - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 routeTableName); - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 routeTableName, Context context); - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String routeTableName); - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 routeTableName); - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 routeTableName, Context context); - /** * Gets the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -136,7 +45,7 @@ Mono> getByResourceGroupWithResponseAsync(String resou /** * Gets the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -149,7 +58,7 @@ Mono> getByResourceGroupWithResponseAsync(String resou /** * Gets the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -165,7 +74,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNam /** * Gets the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -178,7 +87,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNam /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -193,7 +102,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -208,7 +117,7 @@ PollerFlux, RouteTableInner> beginCreateOrUpdateAsyn /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -223,7 +132,7 @@ SyncPoller, RouteTableInner> beginCreateOrUpdate(Str /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @param context The context to associate with this operation. @@ -239,7 +148,7 @@ SyncPoller, RouteTableInner> beginCreateOrUpdate(Str /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -254,7 +163,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String route /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -268,7 +177,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String route /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @param context The context to associate with this operation. @@ -284,7 +193,7 @@ RouteTableInner createOrUpdate(String resourceGroupName, String routeTableName, /** * Updates a route table tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to update route table tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -299,7 +208,7 @@ Mono> updateTagsWithResponseAsync(String resourceGroup /** * Updates a route table tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to update route table tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -313,7 +222,7 @@ Mono> updateTagsWithResponseAsync(String resourceGroup /** * Updates a route table tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to update route table tags. * @param context The context to associate with this operation. @@ -329,7 +238,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Updates a route table tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to update route table tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -340,10 +249,101 @@ Response updateTagsWithResponse(String resourceGroupName, Strin @ServiceMethod(returns = ReturnType.SINGLE) RouteTableInner updateTags(String resourceGroupName, String routeTableName, TagsObject parameters); + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName); + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName); + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 routeTableName); + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 routeTableName, Context context); + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String routeTableName); + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 routeTableName); + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 routeTableName, Context context); + /** * Gets all route tables in a resource group. * - * @param resourceGroupName The name of the 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. @@ -355,7 +355,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Gets all route tables in a resource group. * - * @param resourceGroupName The name of the 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. @@ -367,7 +367,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Gets all route tables in a resource group. * - * @param resourceGroupName The name of the 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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java index bb1511a0580f..ac7e1e7679e1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,283 +23,283 @@ */ public interface RoutesClient { /** - * Deletes the specified route from a route table. + * Gets the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @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 Response} on successful completion of {@link Mono}. + * @return the specified route from a route table along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, - String routeName); + Mono> getWithResponseAsync(String resourceGroupName, String routeTableName, String routeName); /** - * Deletes the specified route from a route table. + * Gets the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @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 PollerFlux} for polling of long-running operation. + * @return the specified route from a route table on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName, - String routeName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String routeTableName, String routeName); /** - * Deletes the specified route from a route table. + * Gets the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. + * @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. + * @return the specified route from a route table along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String routeTableName, String routeName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String routeTableName, String routeName, + Context context); /** - * Deletes the specified route from a route table. + * Gets the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. - * @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. + * @return the specified route from a route table. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String routeTableName, String routeName, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + RouteInner get(String resourceGroupName, String routeTableName, String routeName); /** - * Deletes the specified route from a route table. + * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. + * @param routeParameters Parameters supplied to the create or update route operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return route resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String routeTableName, String routeName); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String routeTableName, + String routeName, RouteInner routeParameters); /** - * Deletes the specified route from a route table. + * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. + * @param routeParameters Parameters supplied to the create or update route 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 PollerFlux} for polling of route resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String routeTableName, String routeName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, RouteInner> beginCreateOrUpdateAsync(String resourceGroupName, + String routeTableName, String routeName, RouteInner routeParameters); /** - * Deletes the specified route from a route table. + * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. - * @param context The context to associate with this operation. + * @param routeParameters Parameters supplied to the create or update route 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 route resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String routeTableName, String routeName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, RouteInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, + String routeName, RouteInner routeParameters); /** - * Gets the specified route from a route table. + * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. + * @param routeParameters Parameters supplied to the create or update route operation. + * @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 route from a route table along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of route resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String routeTableName, String routeName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, RouteInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, + String routeName, RouteInner routeParameters, Context context); /** - * Gets the specified route from a route table. + * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. + * @param routeParameters Parameters supplied to the create or update route 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 route from a route table on successful completion of {@link Mono}. + * @return route resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String routeTableName, String routeName); + Mono createOrUpdateAsync(String resourceGroupName, String routeTableName, String routeName, + RouteInner routeParameters); /** - * Gets the specified route from a route table. + * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. - * @param context The context to associate with this operation. + * @param routeParameters Parameters supplied to the create or update route 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 route from a route table along with {@link Response}. + * @return route resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String routeTableName, String routeName, - Context context); + RouteInner createOrUpdate(String resourceGroupName, String routeTableName, String routeName, + RouteInner routeParameters); /** - * Gets the specified route from a route table. + * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. + * @param routeParameters Parameters supplied to the create or update route operation. + * @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 route from a route table. + * @return route resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - RouteInner get(String resourceGroupName, String routeTableName, String routeName); + RouteInner createOrUpdate(String resourceGroupName, String routeTableName, String routeName, + RouteInner routeParameters, Context context); /** - * Creates or updates a route in the specified route table. + * Deletes the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. - * @param routeParameters Parameters supplied to the create or update route 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 route resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String routeTableName, - String routeName, RouteInner routeParameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, + String routeName); /** - * Creates or updates a route in the specified route table. + * Deletes the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. - * @param routeParameters Parameters supplied to the create or update route 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 PollerFlux} for polling of route resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, RouteInner> beginCreateOrUpdateAsync(String resourceGroupName, - String routeTableName, String routeName, RouteInner routeParameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName, + String routeName); /** - * Creates or updates a route in the specified route table. + * Deletes the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. - * @param routeParameters Parameters supplied to the create or update route 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 route resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, RouteInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, - String routeName, RouteInner routeParameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String routeTableName, String routeName); /** - * Creates or updates a route in the specified route table. + * Deletes the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. - * @param routeParameters Parameters supplied to the create or update route operation. * @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 route resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, RouteInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, - String routeName, RouteInner routeParameters, Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String routeTableName, String routeName, + Context context); /** - * Creates or updates a route in the specified route table. + * Deletes the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. - * @param routeParameters Parameters supplied to the create or update route 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 route resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String routeTableName, String routeName, - RouteInner routeParameters); + Mono deleteAsync(String resourceGroupName, String routeTableName, String routeName); /** - * Creates or updates a route in the specified route table. + * Deletes the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. - * @param routeParameters Parameters supplied to the create or update route 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 route resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - RouteInner createOrUpdate(String resourceGroupName, String routeTableName, String routeName, - RouteInner routeParameters); + void delete(String resourceGroupName, String routeTableName, String routeName); /** - * Creates or updates a route in the specified route table. + * Deletes the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. - * @param routeParameters Parameters supplied to the create or update route operation. * @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 route resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - RouteInner createOrUpdate(String resourceGroupName, String routeTableName, String routeName, - RouteInner routeParameters, Context context); + void delete(String resourceGroupName, String routeTableName, String routeName, Context context); /** * Gets all routes in a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -312,7 +312,7 @@ RouteInner createOrUpdate(String resourceGroupName, String routeTableName, Strin /** * Gets all routes in a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -325,7 +325,7 @@ RouteInner createOrUpdate(String resourceGroupName, String routeTableName, Strin /** * Gets all routes in a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java index e4d75333bf1d..b1ae5b86a17a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,12 +23,12 @@ */ public interface RoutingIntentsClient { /** - * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. + * Retrieves the details of a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. - * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -36,173 +36,185 @@ public interface RoutingIntentsClient { * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, - String routingIntentName, RoutingIntentInner routingIntentParameters); + Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, + String routingIntentName); /** - * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. + * Retrieves the details of a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. - * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link PollerFlux} for polling of the routing intent child resource of a Virtual hub. + * @return the routing intent child resource of a Virtual hub on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, RoutingIntentInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualHubName, String routingIntentName, RoutingIntentInner routingIntentParameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String virtualHubName, String routingIntentName); /** - * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. + * Retrieves the details of a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. - * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the routing intent child resource of a Virtual hub. + * @return the routing intent child resource of a Virtual hub along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, RoutingIntentInner> beginCreateOrUpdate(String resourceGroupName, - String virtualHubName, String routingIntentName, RoutingIntentInner routingIntentParameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String virtualHubName, + String routingIntentName, Context context); /** - * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. + * Retrieves the details of a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. - * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. - * @param context The context to associate with this operation. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the routing intent child resource of a Virtual hub. + * @return the routing intent child resource of a Virtual hub. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, RoutingIntentInner> beginCreateOrUpdate(String resourceGroupName, - String virtualHubName, String routingIntentName, RoutingIntentInner routingIntentParameters, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + RoutingIntentInner get(String resourceGroupName, String virtualHubName, String routingIntentName); /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @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 routing intent child resource of a Virtual hub on successful completion of {@link Mono}. + * @return the routing intent child resource of a Virtual hub along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String virtualHubName, + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String routingIntentName, RoutingIntentInner routingIntentParameters); /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @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 routing intent child resource of a Virtual hub. + * @return the {@link PollerFlux} for polling of the routing intent child resource of a Virtual hub. */ - @ServiceMethod(returns = ReturnType.SINGLE) - RoutingIntentInner createOrUpdate(String resourceGroupName, String virtualHubName, String routingIntentName, - RoutingIntentInner routingIntentParameters); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, RoutingIntentInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualHubName, String routingIntentName, RoutingIntentInner routingIntentParameters); /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. - * @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 routing intent child resource of a Virtual hub. + * @return the {@link SyncPoller} for polling of the routing intent child resource of a Virtual hub. */ - @ServiceMethod(returns = ReturnType.SINGLE) - RoutingIntentInner createOrUpdate(String resourceGroupName, String virtualHubName, String routingIntentName, - RoutingIntentInner routingIntentParameters, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, RoutingIntentInner> beginCreateOrUpdate(String resourceGroupName, + String virtualHubName, String routingIntentName, RoutingIntentInner routingIntentParameters); /** - * Retrieves the details of a RoutingIntent. + * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. + * @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 routing intent child resource of a Virtual hub along with {@link Response} on successful completion - * of {@link Mono}. + * @return the {@link SyncPoller} for polling of the routing intent child resource of a Virtual hub. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, - String routingIntentName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, RoutingIntentInner> beginCreateOrUpdate(String resourceGroupName, + String virtualHubName, String routingIntentName, RoutingIntentInner routingIntentParameters, Context context); /** - * Retrieves the details of a RoutingIntent. + * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @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 routing intent child resource of a Virtual hub on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String virtualHubName, String routingIntentName); + Mono createOrUpdateAsync(String resourceGroupName, String virtualHubName, + String routingIntentName, RoutingIntentInner routingIntentParameters); /** - * Retrieves the details of a RoutingIntent. + * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. - * @param context The context to associate with this operation. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @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 routing intent child resource of a Virtual hub along with {@link Response}. + * @return the routing intent child resource of a Virtual hub. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String virtualHubName, - String routingIntentName, Context context); + RoutingIntentInner createOrUpdate(String resourceGroupName, String virtualHubName, String routingIntentName, + RoutingIntentInner routingIntentParameters); /** - * Retrieves the details of a RoutingIntent. + * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. + * @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 routing intent child resource of a Virtual hub. */ @ServiceMethod(returns = ReturnType.SINGLE) - RoutingIntentInner get(String resourceGroupName, String virtualHubName, String routingIntentName); + RoutingIntentInner createOrUpdate(String resourceGroupName, String virtualHubName, String routingIntentName, + RoutingIntentInner routingIntentParameters, Context context); /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -215,9 +227,10 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -230,9 +243,10 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -245,9 +259,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -261,9 +276,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -275,9 +291,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -288,9 +305,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -302,7 +320,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all RoutingIntent child resources of the VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -316,7 +334,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all RoutingIntent child resources of the VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -330,7 +348,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all RoutingIntent child resources of the VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java index 98074b4c7e46..c639dec3212c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,77 +22,6 @@ * An instance of this class provides access to all the operations defined in RoutingRuleCollectionsClient. */ public interface RoutingRuleCollectionsClient { - /** - * Lists all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken); - - /** - * Lists all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @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 routing configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName); - - /** - * Lists all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @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 routing configuration rule collection list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName); - - /** - * Lists all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule collection list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken, Context context); - /** * Gets a network manager routing configuration rule collection. * @@ -383,4 +312,75 @@ void delete(String resourceGroupName, String networkManagerName, String configur @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force, Context context); + + /** + * Lists all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken); + + /** + * Lists all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @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 RoutingRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName); + + /** + * Lists all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @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 RoutingRuleCollection list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName); + + /** + * Lists all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRuleCollection list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java index 261d2bb3c151..92849671c176 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,81 +22,6 @@ * An instance of this class provides access to all the operations defined in RoutingRulesClient. */ public interface RoutingRulesClient { - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, String configurationName, - String ruleCollectionName, Integer top, String skipToken); - - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @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 routing configuration rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, String configurationName, - String ruleCollectionName); - - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @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 routing configuration rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, String configurationName, - String ruleCollectionName); - - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, String configurationName, - String ruleCollectionName, Integer top, String skipToken, Context context); - /** * Gets a network manager routing configuration routing rule. * @@ -404,4 +329,79 @@ void delete(String resourceGroupName, String networkManagerName, String configur @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, Context context); + + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRule list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, String configurationName, + String ruleCollectionName, Integer top, String skipToken); + + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @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 RoutingRule list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, String configurationName, + String ruleCollectionName); + + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @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 RoutingRule list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, String configurationName, + String ruleCollectionName); + + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRule list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, String configurationName, + String ruleCollectionName, Integer top, String skipToken, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java index 01845dd8501d..eaa8e8c330d2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,135 +18,135 @@ */ public interface ScopeConnectionsClient { /** - * Creates or updates scope connection from Network Manager. + * Get specified scope connection created by this Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. - * @param parameters Scope connection to be created/updated. * @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 Scope Connections resource along with {@link Response} on successful completion of {@link Mono}. + * @return specified scope connection created by this Network Manager along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> createOrUpdateWithResponseAsync(String resourceGroupName, - String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters); + Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, + String scopeConnectionName); /** - * Creates or updates scope connection from Network Manager. + * Get specified scope connection created by this Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. - * @param parameters Scope connection to be created/updated. * @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 Scope Connections resource on successful completion of {@link Mono}. + * @return specified scope connection created by this Network Manager on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String networkManagerName, - String scopeConnectionName, ScopeConnectionInner parameters); + Mono getAsync(String resourceGroupName, String networkManagerName, + String scopeConnectionName); /** - * Creates or updates scope connection from Network Manager. + * Get specified scope connection created by this Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. - * @param parameters Scope connection to be created/updated. * @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 Scope Connections resource along with {@link Response}. + * @return specified scope connection created by this Network Manager along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, - String scopeConnectionName, ScopeConnectionInner parameters, Context context); + Response getWithResponse(String resourceGroupName, String networkManagerName, + String scopeConnectionName, Context context); /** - * Creates or updates scope connection from Network Manager. + * Get specified scope connection created by this Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. - * @param parameters Scope connection to be created/updated. * @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 Scope Connections resource. + * @return specified scope connection created by this Network Manager. */ @ServiceMethod(returns = ReturnType.SINGLE) - ScopeConnectionInner createOrUpdate(String resourceGroupName, String networkManagerName, String scopeConnectionName, - ScopeConnectionInner parameters); + ScopeConnectionInner get(String resourceGroupName, String networkManagerName, String scopeConnectionName); /** - * Get specified scope connection created by this Network Manager. + * Creates or updates scope connection from Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. * @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 specified scope connection created by this Network Manager along with {@link Response} on successful - * completion of {@link Mono}. + * @return the Scope Connections resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, - String scopeConnectionName); + Mono> createOrUpdateWithResponseAsync(String resourceGroupName, + String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters); /** - * Get specified scope connection created by this Network Manager. + * Creates or updates scope connection from Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. * @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 specified scope connection created by this Network Manager on successful completion of {@link Mono}. + * @return the Scope Connections resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String networkManagerName, - String scopeConnectionName); + Mono createOrUpdateAsync(String resourceGroupName, String networkManagerName, + String scopeConnectionName, ScopeConnectionInner parameters); /** - * Get specified scope connection created by this Network Manager. + * Creates or updates scope connection from Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. * @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 specified scope connection created by this Network Manager along with {@link Response}. + * @return the Scope Connections resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String networkManagerName, - String scopeConnectionName, Context context); + Response createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, + String scopeConnectionName, ScopeConnectionInner parameters, Context context); /** - * Get specified scope connection created by this Network Manager. + * Creates or updates scope connection from Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. * @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 specified scope connection created by this Network Manager. + * @return the Scope Connections resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - ScopeConnectionInner get(String resourceGroupName, String networkManagerName, String scopeConnectionName); + ScopeConnectionInner createOrUpdate(String resourceGroupName, String networkManagerName, String scopeConnectionName, + ScopeConnectionInner parameters); /** * Delete the pending scope connection created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -161,7 +161,7 @@ Mono> deleteWithResponseAsync(String resourceGroupName, String ne /** * Delete the pending scope connection created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -175,7 +175,7 @@ Mono> deleteWithResponseAsync(String resourceGroupName, String ne /** * Delete the pending scope connection created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. * @param context The context to associate with this operation. @@ -191,7 +191,7 @@ Response deleteWithResponse(String resourceGroupName, String networkManage /** * Delete the pending scope connection created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -204,7 +204,7 @@ Response deleteWithResponse(String resourceGroupName, String networkManage /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -214,7 +214,7 @@ Response deleteWithResponse(String resourceGroupName, String networkManage * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of scope connections as paginated response with {@link PagedFlux}. + * @return the response of a ScopeConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkManagerName, Integer top, @@ -223,12 +223,12 @@ PagedFlux listAsync(String resourceGroupName, String netwo /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of scope connections as paginated response with {@link PagedFlux}. + * @return the response of a ScopeConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkManagerName); @@ -236,12 +236,12 @@ PagedFlux listAsync(String resourceGroupName, String netwo /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of scope connections as paginated response with {@link PagedIterable}. + * @return the response of a ScopeConnection list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkManagerName); @@ -249,7 +249,7 @@ PagedFlux listAsync(String resourceGroupName, String netwo /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -260,7 +260,7 @@ PagedFlux listAsync(String resourceGroupName, String netwo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of scope connections as paginated response with {@link PagedIterable}. + * @return the response of a ScopeConnection list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkManagerName, Integer top, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java index 4978933a7eb3..74e5d381ad0f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,75 +22,10 @@ * An instance of this class provides access to all the operations defined in SecurityAdminConfigurationsClient. */ public interface SecurityAdminConfigurationsClient { - /** - * Lists all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager security admin configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - Integer top, String skipToken); - - /** - * Lists all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager security admin configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName); - - /** - * Lists all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager security admin configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName); - - /** - * Lists all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager security admin configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - Integer top, String skipToken, Context context); - /** * Retrieves a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -106,7 +41,7 @@ Mono> getWithResponseAsync(String reso /** * Retrieves a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -121,7 +56,7 @@ Mono getAsync(String resourceGroupName, String /** * Retrieves a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param context The context to associate with this operation. @@ -137,7 +72,7 @@ Response getWithResponse(String resourceGroupNa /** * Retrieves a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -151,7 +86,7 @@ Response getWithResponse(String resourceGroupNa /** * Creates or updates a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param securityAdminConfiguration The security admin configuration to create or update. @@ -169,7 +104,7 @@ Mono> createOrUpdateWithResponseAsync( /** * Creates or updates a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param securityAdminConfiguration The security admin configuration to create or update. @@ -185,7 +120,7 @@ Mono createOrUpdateAsync(String resourceGroupNa /** * Creates or updates a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param securityAdminConfiguration The security admin configuration to create or update. @@ -203,7 +138,7 @@ Response createOrUpdateWithResponse(String reso /** * Creates or updates a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param securityAdminConfiguration The security admin configuration to create or update. @@ -219,7 +154,7 @@ SecurityAdminConfigurationInner createOrUpdate(String resourceGroupName, String /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -236,7 +171,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -253,7 +188,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -268,7 +203,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -283,7 +218,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -301,7 +236,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -318,7 +253,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -332,7 +267,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -345,7 +280,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -358,4 +293,71 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String configurationName, Boolean force, Context context); + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityAdminConfiguration list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + Integer top, String skipToken); + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 SecurityAdminConfiguration list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName); + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 SecurityAdminConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName); + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityAdminConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + Integer top, String skipToken, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java index baf1f060c29e..983d17394ad9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,103 +27,10 @@ */ public interface SecurityPartnerProvidersClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, - String securityPartnerProviderName); - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String securityPartnerProviderName); - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 securityPartnerProviderName); - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 securityPartnerProviderName, - Context context); - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String securityPartnerProviderName); - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 securityPartnerProviderName); - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 securityPartnerProviderName, Context context); - /** * Gets the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -138,7 +45,7 @@ Mono> getByResourceGroupWithResponseAsync /** * Gets the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -152,7 +59,7 @@ Mono getByResourceGroupAsync(String resourceGroupN /** * Gets the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -167,7 +74,7 @@ Response getByResourceGroupWithResponse(String res /** * Gets the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -180,7 +87,7 @@ Response getByResourceGroupWithResponse(String res /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -195,7 +102,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -210,7 +117,7 @@ PollerFlux, SecurityPartnerProviderInne /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -225,7 +132,7 @@ SyncPoller, SecurityPartnerProviderInne /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @param context The context to associate with this operation. @@ -242,7 +149,7 @@ SyncPoller, SecurityPartnerProviderInne /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -257,7 +164,7 @@ Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -272,7 +179,7 @@ SecurityPartnerProviderInner createOrUpdate(String resourceGroupName, String sec /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @param context The context to associate with this operation. @@ -288,7 +195,7 @@ SecurityPartnerProviderInner createOrUpdate(String resourceGroupName, String sec /** * Updates tags of a Security Partner Provider resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to update Security Partner Provider tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -303,7 +210,7 @@ Mono> updateTagsWithResponseAsync(String /** * Updates tags of a Security Partner Provider resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to update Security Partner Provider tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -318,7 +225,7 @@ Mono updateTagsAsync(String resourceGroupName, Str /** * Updates tags of a Security Partner Provider resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to update Security Partner Provider tags. * @param context The context to associate with this operation. @@ -334,7 +241,7 @@ Response updateTagsWithResponse(String resourceGro /** * Updates tags of a Security Partner Provider resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to update Security Partner Provider tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -346,14 +253,107 @@ Response updateTagsWithResponse(String resourceGro SecurityPartnerProviderInner updateTags(String resourceGroupName, String securityPartnerProviderName, TagsObject parameters); + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, + String securityPartnerProviderName); + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String securityPartnerProviderName); + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 securityPartnerProviderName); + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 securityPartnerProviderName, + Context context); + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String securityPartnerProviderName); + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 securityPartnerProviderName); + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 securityPartnerProviderName, Context context); + /** * Lists all Security Partner Providers in a resource group. * - * @param resourceGroupName The name of the 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 response for ListSecurityPartnerProviders API service call as paginated response with {@link PagedFlux}. + * @return the response of a SecurityPartnerProvider list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listByResourceGroupAsync(String resourceGroupName); @@ -361,11 +361,11 @@ SecurityPartnerProviderInner updateTags(String resourceGroupName, String securit /** * Lists all Security Partner Providers in a resource group. * - * @param resourceGroupName The name of the 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 response for ListSecurityPartnerProviders API service call as paginated response with + * @return the response of a SecurityPartnerProvider list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -374,12 +374,12 @@ SecurityPartnerProviderInner updateTags(String resourceGroupName, String securit /** * Lists all Security Partner Providers in a resource group. * - * @param resourceGroupName The name of the 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 response for ListSecurityPartnerProviders API service call as paginated response with + * @return the response of a SecurityPartnerProvider list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java index c6843620afbb..61f539838227 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,286 +23,286 @@ */ public interface SecurityRulesClient { /** - * Deletes the specified network security rule. + * Get the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link Response} on successful completion of {@link Mono}. + * @return the specified network security rule along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, + Mono> getWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName); /** - * Deletes the specified network security rule. + * Get the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link PollerFlux} for polling of long-running operation. + * @return the specified network security rule on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkSecurityGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName); /** - * Deletes the specified network security rule. + * Get the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of long-running operation. + * @return the specified network security rule along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, - String securityRuleName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String networkSecurityGroupName, + String securityRuleName, Context context); /** - * Deletes the specified network security rule. + * Get the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of long-running operation. + * @return the specified network security rule. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, - String securityRuleName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + SecurityRuleInner get(String resourceGroupName, String networkSecurityGroupName, String securityRuleName); /** - * Deletes the specified network security rule. + * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. + * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return network security rule along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters); /** - * Deletes the specified network security rule. + * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. + * @param securityRuleParameters Parameters supplied to the create or update network security rule 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 PollerFlux} for polling of network security rule. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, SecurityRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, + String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters); /** - * Deletes the specified network security rule. + * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. - * @param context The context to associate with this operation. + * @param securityRuleParameters Parameters supplied to the create or update network security rule 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 network security rule. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, SecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, + String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters); /** - * Get the specified network security rule. + * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. + * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. + * @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 network security rule along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link SyncPoller} for polling of network security rule. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, - String securityRuleName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, SecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, + String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters, + Context context); /** - * Get the specified network security rule. + * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. + * @param securityRuleParameters Parameters supplied to the create or update network security rule 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 network security rule on successful completion of {@link Mono}. + * @return network security rule on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String networkSecurityGroupName, - String securityRuleName); + Mono createOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, + String securityRuleName, SecurityRuleInner securityRuleParameters); /** - * Get the specified network security rule. + * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. - * @param context The context to associate with this operation. + * @param securityRuleParameters Parameters supplied to the create or update network security rule 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 network security rule along with {@link Response}. + * @return network security rule. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String networkSecurityGroupName, - String securityRuleName, Context context); + SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, + SecurityRuleInner securityRuleParameters); /** - * Get the specified network security rule. + * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. + * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. + * @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 network security rule. + * @return network security rule. */ @ServiceMethod(returns = ReturnType.SINGLE) - SecurityRuleInner get(String resourceGroupName, String networkSecurityGroupName, String securityRuleName); + SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, + SecurityRuleInner securityRuleParameters, Context context); /** - * Creates or updates a security rule in the specified network security group. + * Deletes the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. - * @param securityRuleParameters Parameters supplied to the create or update network security rule 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 network security rule along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, + String securityRuleName); /** - * Creates or updates a security rule in the specified network security group. + * Deletes the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. - * @param securityRuleParameters Parameters supplied to the create or update network security rule 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 PollerFlux} for polling of network security rule. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, SecurityRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, - String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkSecurityGroupName, + String securityRuleName); /** - * Creates or updates a security rule in the specified network security group. + * Deletes the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. - * @param securityRuleParameters Parameters supplied to the create or update network security rule 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 network security rule. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, SecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, - String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, + String securityRuleName); /** - * Creates or updates a security rule in the specified network security group. + * Deletes the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. - * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. * @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 network security rule. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, SecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, - String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters, - Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, + String securityRuleName, Context context); /** - * Creates or updates a security rule in the specified network security group. + * Deletes the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. - * @param securityRuleParameters Parameters supplied to the create or update network security rule 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 network security rule on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, - String securityRuleName, SecurityRuleInner securityRuleParameters); + Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName); /** - * Creates or updates a security rule in the specified network security group. + * Deletes the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. - * @param securityRuleParameters Parameters supplied to the create or update network security rule 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 network security rule. */ @ServiceMethod(returns = ReturnType.SINGLE) - SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, - SecurityRuleInner securityRuleParameters); + void delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName); /** - * Creates or updates a security rule in the specified network security group. + * Deletes the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. - * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. * @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 network security rule. */ @ServiceMethod(returns = ReturnType.SINGLE) - SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, - SecurityRuleInner securityRuleParameters, Context context); + void delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, Context context); /** * Gets all security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -315,7 +315,7 @@ SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurit /** * Gets all security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -328,7 +328,7 @@ SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurit /** * Gets all security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java index 4566ab680d1a..6756c0783531 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,71 +22,6 @@ * An instance of this class provides access to all the operations defined in SecurityUserConfigurationsClient. */ public interface SecurityUserConfigurationsClient { - /** - * Lists all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager security user configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - Integer top, String skipToken); - - /** - * Lists all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager security user configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName); - - /** - * Lists all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager security user configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName); - - /** - * Lists all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of network manager security user configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, Integer top, - String skipToken, Context context); - /** * Retrieves a network manager security user configuration. * @@ -357,4 +292,71 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String configurationName, Boolean force, Context context); + + /** + * Lists all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserConfiguration list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + Integer top, String skipToken); + + /** + * Lists all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 SecurityUserConfiguration list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName); + + /** + * Lists all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 SecurityUserConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName); + + /** + * Lists all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, Integer top, + String skipToken, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java index 7e79203b4493..0dd5f055fee8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,77 +22,6 @@ * An instance of this class provides access to all the operations defined in SecurityUserRuleCollectionsClient. */ public interface SecurityUserRuleCollectionsClient { - /** - * Lists all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken); - - /** - * Lists all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @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 security user configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName); - - /** - * Lists all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @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 security user configuration rule collection list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName); - - /** - * Lists all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user configuration rule collection list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken, Context context); - /** * Gets a network manager security user configuration rule collection. * @@ -386,4 +315,77 @@ void delete(String resourceGroupName, String networkManagerName, String configur @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force, Context context); + + /** + * Lists all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken); + + /** + * Lists all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @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 SecurityUserRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName); + + /** + * Lists all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @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 SecurityUserRuleCollection list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName); + + /** + * Lists all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRuleCollection list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java index b2951bc329b2..97851a9959ce 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,81 +22,6 @@ * An instance of this class provides access to all the operations defined in SecurityUserRulesClient. */ public interface SecurityUserRulesClient { - /** - * Lists all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken); - - /** - * Lists all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @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 security user rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName); - - /** - * Lists all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @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 security user rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName); - - /** - * Lists all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context); - /** * Gets a security user rule. * @@ -403,4 +328,79 @@ void delete(String resourceGroupName, String networkManagerName, String configur @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, Context context); + + /** + * Lists all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRule list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken); + + /** + * Lists all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @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 SecurityUserRule list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName); + + /** + * Lists all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @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 SecurityUserRule list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName); + + /** + * Lists all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRule list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java index 5b1aef994c44..e2a72710f008 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,7 +18,7 @@ public interface ServiceAssociationLinksClient { /** * Gets a list of service association links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -34,7 +34,7 @@ Mono> listWithResponseAsync(Str /** * Gets a list of service association links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -49,7 +49,7 @@ Mono listAsync(String resourceGroupName, /** * Gets a list of service association links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param context The context to associate with this operation. @@ -65,7 +65,7 @@ Response listWithResponse(String resourc /** * Gets a list of service association links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java index 2ae35d414b9a..d7348c537884 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,103 +27,10 @@ */ public interface ServiceEndpointPoliciesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, - String serviceEndpointPolicyName); - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceEndpointPolicyName); - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 serviceEndpointPolicyName); - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 serviceEndpointPolicyName, - Context context); - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName); - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 serviceEndpointPolicyName); - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 serviceEndpointPolicyName, Context context); - /** * Gets the specified service Endpoint Policies in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -139,7 +46,7 @@ Mono> getByResourceGroupWithResponseAsync(S /** * Gets the specified service Endpoint Policies in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -154,7 +61,7 @@ Mono getByResourceGroupAsync(String resourceGroupNam /** * Gets the specified service Endpoint Policies in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -170,7 +77,7 @@ Response getByResourceGroupWithResponse(String resou /** * Gets the specified service Endpoint Policies in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -183,7 +90,7 @@ Response getByResourceGroupWithResponse(String resou /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -198,7 +105,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -213,7 +120,7 @@ PollerFlux, ServiceEndpointPolicyInner> b /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -228,7 +135,7 @@ SyncPoller, ServiceEndpointPolicyInner> b /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @param context The context to associate with this operation. @@ -245,7 +152,7 @@ SyncPoller, ServiceEndpointPolicyInner> b /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -260,7 +167,7 @@ Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -275,7 +182,7 @@ ServiceEndpointPolicyInner createOrUpdate(String resourceGroupName, String servi /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @param context The context to associate with this operation. @@ -291,7 +198,7 @@ ServiceEndpointPolicyInner createOrUpdate(String resourceGroupName, String servi /** * Updates tags of a service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to update service endpoint policy tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -306,7 +213,7 @@ Mono> updateTagsWithResponseAsync(String re /** * Updates tags of a service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to update service endpoint policy tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -321,7 +228,7 @@ Mono updateTagsAsync(String resourceGroupName, Strin /** * Updates tags of a service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to update service endpoint policy tags. * @param context The context to associate with this operation. @@ -337,7 +244,7 @@ Response updateTagsWithResponse(String resourceGroup /** * Updates tags of a service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to update service endpoint policy tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -350,41 +257,102 @@ ServiceEndpointPolicyInner updateTags(String resourceGroupName, String serviceEn TagsObject parameters); /** - * Gets all the service endpoint policies in a subscription. + * Deletes the specified service endpoint policy. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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 all the service endpoint policies in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, + String serviceEndpointPolicyName); /** - * Gets all the service endpoint policies in a subscription. + * Deletes the specified service endpoint policy. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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 all the service endpoint policies in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceEndpointPolicyName); /** - * Gets all the service endpoint policies in a subscription. + * Deletes the specified service endpoint policy. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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 serviceEndpointPolicyName); + + /** + * Deletes the specified service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. * @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 all the service endpoint policies in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String serviceEndpointPolicyName, + Context context); + + /** + * Deletes the specified service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName); + + /** + * Deletes the specified service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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 serviceEndpointPolicyName); + + /** + * Deletes the specified service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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 serviceEndpointPolicyName, Context context); /** * Gets all service endpoint Policies in a resource group. * - * @param resourceGroupName The name of the 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. @@ -396,7 +364,7 @@ ServiceEndpointPolicyInner updateTags(String resourceGroupName, String serviceEn /** * Gets all service endpoint Policies in a resource group. * - * @param resourceGroupName The name of the 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. @@ -408,7 +376,7 @@ ServiceEndpointPolicyInner updateTags(String resourceGroupName, String serviceEn /** * Gets all service endpoint Policies in a resource group. * - * @param resourceGroupName The name of the 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. @@ -417,4 +385,36 @@ ServiceEndpointPolicyInner updateTags(String resourceGroupName, String serviceEn */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all the service endpoint policies in a 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 all the service endpoint policies in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all the service endpoint policies in a 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 all the service endpoint policies in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all the service endpoint policies in a 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 all the service endpoint policies in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java index 1465eec6f454..c6318558dd83 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,168 +23,65 @@ */ public interface ServiceEndpointPolicyDefinitionsClient { /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName); - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName); - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName); - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName, Context context); - - /** - * Deletes the specified ServiceEndpoint policy definitions. + * Get a ServiceEndpointPolicyDefinition. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName); - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName); - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, - Context context); - - /** - * Get the specified service endpoint policy definitions from service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified service endpoint policy definitions from service endpoint policy along with - * {@link Response} on successful completion of {@link Mono}. + * @return a ServiceEndpointPolicyDefinition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName); /** - * Get the specified service endpoint policy definitions from service endpoint policy. + * Get a ServiceEndpointPolicyDefinition. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified service endpoint policy definitions from service endpoint policy on successful completion - * of {@link Mono}. + * @return a ServiceEndpointPolicyDefinition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName); /** - * Get the specified service endpoint policy definitions from service endpoint policy. + * Get a ServiceEndpointPolicyDefinition. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified service endpoint policy definitions from service endpoint policy along with - * {@link Response}. + * @return a ServiceEndpointPolicyDefinition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, Context context); /** - * Get the specified service endpoint policy definitions from service endpoint policy. + * Get a ServiceEndpointPolicyDefinition. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified service endpoint policy definitions from service endpoint policy. + * @return a ServiceEndpointPolicyDefinition. */ @ServiceMethod(returns = ReturnType.SINGLE) ServiceEndpointPolicyDefinitionInner get(String resourceGroupName, String serviceEndpointPolicyName, @@ -193,9 +90,10 @@ ServiceEndpointPolicyDefinitionInner get(String resourceGroupName, String servic /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -211,9 +109,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -230,9 +129,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -249,9 +149,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @param context The context to associate with this operation. @@ -269,9 +170,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -287,9 +189,10 @@ Mono createOrUpdateAsync(String resourceGr /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -305,9 +208,10 @@ ServiceEndpointPolicyDefinitionInner createOrUpdate(String resourceGroupName, St /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @param context The context to associate with this operation. @@ -321,11 +225,122 @@ ServiceEndpointPolicyDefinitionInner createOrUpdate(String resourceGroupName, St String serviceEndpointPolicyDefinitionName, ServiceEndpointPolicyDefinitionInner serviceEndpointPolicyDefinitions, Context context); + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName); + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName); + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName); + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @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 serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName, Context context); + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName); + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName); + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, + Context context); + /** * Gets all service endpoint policy definitions in a service end point policy. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. * @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. @@ -339,8 +354,8 @@ PagedFlux listByResourceGroupAsync(String /** * Gets all service endpoint policy definitions in a service end point policy. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. * @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. @@ -354,8 +369,8 @@ PagedIterable listByResourceGroup(String r /** * Gets all service endpoint policy definitions in a service end point policy. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java index dfa3b4837fb4..675979e8d2b8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -16,6 +16,7 @@ import com.azure.resourcemanager.network.fluent.models.ServiceGatewayAddressLocationResponseInner; import com.azure.resourcemanager.network.fluent.models.ServiceGatewayInner; import com.azure.resourcemanager.network.fluent.models.ServiceGatewayServiceInner; +import com.azure.resourcemanager.network.models.NoContentResponse; import com.azure.resourcemanager.network.models.ServiceGatewayUpdateAddressLocationsRequest; import com.azure.resourcemanager.network.models.ServiceGatewayUpdateServicesRequest; import com.azure.resourcemanager.network.models.TagsObject; @@ -31,98 +32,6 @@ */ public interface ServiceGatewaysClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceGatewayName); - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceGatewayName); - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 serviceGatewayName); - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 serviceGatewayName, - Context context); - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String serviceGatewayName); - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 serviceGatewayName); - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 serviceGatewayName, Context context); - /** * Gets the specified service gateway. * @@ -346,36 +255,96 @@ Response updateTagsWithResponse(String resourceGroupName, S ServiceGatewayInner updateTags(String resourceGroupName, String serviceGatewayName, TagsObject parameters); /** - * Gets all the service gateways in a subscription. + * Deletes the specified service gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 all the service gateways in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceGatewayName); /** - * Gets all the service gateways in a subscription. + * Deletes the specified service gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 all the service gateways in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceGatewayName); /** - * Gets all the service gateways in a subscription. + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 serviceGatewayName); + + /** + * Deletes the specified service gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. * @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 all the service gateways in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String serviceGatewayName, + Context context); + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String serviceGatewayName); + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 serviceGatewayName); + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 serviceGatewayName, Context context); /** * Gets all the service gateways in a resource group. @@ -414,6 +383,38 @@ Response updateTagsWithResponse(String resourceGroupName, S @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + /** + * Gets all the service gateways in a 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 all the service gateways in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all the service gateways in a 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 all the service gateways in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all the service gateways in a 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 all the service gateways in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); + /** * Creates or updates address locations within the service gateway. * @@ -463,8 +464,8 @@ Mono>> updateAddressLocationsWithResponseAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginUpdateAddressLocationsAsync(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters); + PollerFlux, NoContentResponse> beginUpdateAddressLocationsAsync( + String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters); /** * Creates or updates address locations within the service gateway. @@ -489,8 +490,8 @@ PollerFlux, Void> beginUpdateAddressLocationsAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginUpdateAddressLocations(String resourceGroupName, String serviceGatewayName, - ServiceGatewayUpdateAddressLocationsRequest parameters); + SyncPoller, NoContentResponse> beginUpdateAddressLocations(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters); /** * Creates or updates address locations within the service gateway. @@ -516,8 +517,8 @@ SyncPoller, Void> beginUpdateAddressLocations(String resourceGr * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginUpdateAddressLocations(String resourceGroupName, String serviceGatewayName, - ServiceGatewayUpdateAddressLocationsRequest parameters, Context context); + SyncPoller, NoContentResponse> beginUpdateAddressLocations(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context); /** * Creates or updates address locations within the service gateway. @@ -539,10 +540,10 @@ SyncPoller, Void> beginUpdateAddressLocations(String resourceGr * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, + Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters); /** @@ -565,9 +566,10 @@ Mono updateAddressLocationsAsync(String resourceGroupName, String serviceG * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void updateAddressLocations(String resourceGroupName, String serviceGatewayName, + NoContentResponse updateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters); /** @@ -591,9 +593,10 @@ void updateAddressLocations(String resourceGroupName, String serviceGatewayName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void updateAddressLocations(String resourceGroupName, String serviceGatewayName, + NoContentResponse updateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context); /** @@ -631,8 +634,8 @@ Mono>> updateServicesWithResponseAsync(String resource * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginUpdateServicesAsync(String resourceGroupName, String serviceGatewayName, - ServiceGatewayUpdateServicesRequest parameters); + PollerFlux, NoContentResponse> beginUpdateServicesAsync(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters); /** * Creates, updates, or deletes services within the service gateway. @@ -650,8 +653,8 @@ PollerFlux, Void> beginUpdateServicesAsync(String resourceGroup * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginUpdateServices(String resourceGroupName, String serviceGatewayName, - ServiceGatewayUpdateServicesRequest parameters); + SyncPoller, NoContentResponse> beginUpdateServices(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters); /** * Creates, updates, or deletes services within the service gateway. @@ -670,8 +673,8 @@ SyncPoller, Void> beginUpdateServices(String resourceGroupName, * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginUpdateServices(String resourceGroupName, String serviceGatewayName, - ServiceGatewayUpdateServicesRequest parameters, Context context); + SyncPoller, NoContentResponse> beginUpdateServices(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context); /** * Creates, updates, or deletes services within the service gateway. @@ -686,10 +689,10 @@ SyncPoller, Void> beginUpdateServices(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, + Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters); /** @@ -705,9 +708,10 @@ Mono updateServicesAsync(String resourceGroupName, String serviceGatewayNa * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void updateServices(String resourceGroupName, String serviceGatewayName, + NoContentResponse updateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters); /** @@ -724,9 +728,10 @@ void updateServices(String resourceGroupName, String serviceGatewayName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void updateServices(String resourceGroupName, String serviceGatewayName, + NoContentResponse updateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context); /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java index 027824724109..0c404da1e3c8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,9 +18,7 @@ public interface ServiceTagInformationsClient { /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @param noAddressPrefixes Do not return address prefixes for the tag(s). * @param tagName Return tag information for a particular tag. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -34,9 +32,7 @@ public interface ServiceTagInformationsClient { /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -48,9 +44,7 @@ public interface ServiceTagInformationsClient { /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -63,9 +57,7 @@ public interface ServiceTagInformationsClient { /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @param noAddressPrefixes Do not return address prefixes for the tag(s). * @param tagName Return tag information for a particular tag. * @param context The context to associate with this operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java index d49449f035d7..cbf98e8142a1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,9 +18,7 @@ public interface ServiceTagsClient { /** * Gets a list of service tag information resources. * - * @param location The location that will be used as a reference for version (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -33,9 +31,7 @@ public interface ServiceTagsClient { /** * Gets a list of service tag information resources. * - * @param location The location that will be used as a reference for version (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -47,9 +43,7 @@ public interface ServiceTagsClient { /** * Gets a list of service tag information resources. * - * @param location The location that will be used as a reference for version (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -62,9 +56,7 @@ public interface ServiceTagsClient { /** * Gets a list of service tag information resources. * - * @param location The location that will be used as a reference for version (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java index 73da98591875..b198c356392f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,81 +23,76 @@ */ public interface StaticCidrsClient { /** - * Gets list of Static CIDR resources at Network Manager level. + * Gets the specific Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. + * @param staticCidrName StaticCidr resource name to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedFlux}. + * @return the specific Static CIDR resource along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, String poolName, - String skipToken, Integer skip, Integer top, String sortKey, String sortValue); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, + String poolName, String staticCidrName); /** - * Gets list of Static CIDR resources at Network Manager level. + * Gets the specific Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. + * @param staticCidrName StaticCidr resource name to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedFlux}. + * @return the specific Static CIDR resource on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, String poolName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String networkManagerName, String poolName, + String staticCidrName); /** - * Gets list of Static CIDR resources at Network Manager level. + * Gets the specific Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. + * @param staticCidrName StaticCidr resource name to retrieve. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedIterable}. + * @return the specific Static CIDR resource along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, String poolName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String networkManagerName, String poolName, + String staticCidrName, Context context); /** - * Gets list of Static CIDR resources at Network Manager level. + * Gets the specific Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @param context The context to associate with this operation. + * @param staticCidrName StaticCidr resource name to retrieve. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedIterable}. + * @return the specific Static CIDR resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, String poolName, - String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + StaticCidrInner get(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName); /** * Creates/Updates the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. - * @param staticCidrName Static Cidr allocation name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The networkManagerName parameter. + * @param poolName The name of the IPAM pool. + * @param staticCidrName Name for the static CIDR. * @param body StaticCidr resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -111,10 +106,10 @@ Mono> createWithResponseAsync(String resourceGroupName /** * Creates/Updates the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. - * @param staticCidrName Static Cidr allocation name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The networkManagerName parameter. + * @param poolName The name of the IPAM pool. + * @param staticCidrName Name for the static CIDR. * @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. @@ -127,10 +122,10 @@ Mono createAsync(String resourceGroupName, String networkManage /** * Creates/Updates the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. - * @param staticCidrName Static Cidr allocation name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The networkManagerName parameter. + * @param poolName The name of the IPAM pool. + * @param staticCidrName Name for the static CIDR. * @param body StaticCidr resource object to create/update. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -145,10 +140,10 @@ Response createWithResponse(String resourceGroupName, String ne /** * Creates/Updates the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. - * @param staticCidrName Static Cidr allocation name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The networkManagerName parameter. + * @param poolName The name of the IPAM pool. + * @param staticCidrName Name for the static CIDR. * @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. @@ -158,176 +153,181 @@ Response createWithResponse(String resourceGroupName, String ne StaticCidrInner create(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName); /** - * Gets the specific Static CIDR resource. + * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param staticCidrName StaticCidr resource name to retrieve. * @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 specific Static CIDR resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, + Mono>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName); /** - * Gets the specific Static CIDR resource. + * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param staticCidrName StaticCidr resource name to retrieve. * @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 specific Static CIDR resource on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String networkManagerName, String poolName, - String staticCidrName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, + String poolName, String staticCidrName); /** - * Gets the specific Static CIDR resource. + * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param staticCidrName StaticCidr resource name to retrieve. - * @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 specific Static CIDR resource along with {@link Response}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String networkManagerName, String poolName, - String staticCidrName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String networkManagerName, String poolName, + String staticCidrName); /** - * Gets the specific Static CIDR resource. + * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param staticCidrName StaticCidr resource name to retrieve. + * @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 specific Static CIDR resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - StaticCidrInner get(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String networkManagerName, String poolName, + String staticCidrName, Context context); /** * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. + * @param staticCidrName StaticCidr resource name to retrieve. * @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 Response} on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, - String poolName, String staticCidrName); + Mono deleteAsync(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName); /** * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. + * @param staticCidrName StaticCidr resource name to retrieve. * @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 PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, - String poolName, String staticCidrName); + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName); /** * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. + * @param staticCidrName StaticCidr resource name to retrieve. + * @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 networkManagerName, String poolName, - String staticCidrName); + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName, + Context context); /** - * Delete the Static CIDR resource. + * Gets list of Static CIDR resources at Network Manager level. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. - * @param context The context to associate with this operation. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. * @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. + * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String networkManagerName, String poolName, - String staticCidrName, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, String poolName, + String skipToken, Integer skip, Integer top, String sortKey, String sortValue); /** - * Delete the Static CIDR resource. + * Gets list of Static CIDR resources at Network Manager level. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, String poolName); /** - * Delete the Static CIDR resource. + * Gets list of Static CIDR resources at Network Manager level. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, String poolName); /** - * Delete the Static CIDR resource. + * Gets list of Static CIDR resources at Network Manager level. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName, - Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, String poolName, + String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java index 251e529a714c..0aac83848b83 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,7 +20,7 @@ public interface StaticMembersClient { /** * Gets the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -36,7 +36,7 @@ Mono> getWithResponseAsync(String resourceGroupName, /** * Gets the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -52,7 +52,7 @@ Mono getAsync(String resourceGroupName, String networkManager /** * Gets the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -69,7 +69,7 @@ Response getWithResponse(String resourceGroupName, String net /** * Gets the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -85,7 +85,7 @@ StaticMemberInner get(String resourceGroupName, String networkManagerName, Strin /** * Creates or updates a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -102,7 +102,7 @@ Mono> createOrUpdateWithResponseAsync(String resourc /** * Creates or updates a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -119,7 +119,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String net /** * Creates or updates a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -137,7 +137,7 @@ Response createOrUpdateWithResponse(String resourceGroupName, /** * Creates or updates a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -154,7 +154,7 @@ StaticMemberInner createOrUpdate(String resourceGroupName, String networkManager /** * Deletes a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -170,7 +170,7 @@ Mono> deleteWithResponseAsync(String resourceGroupName, String ne /** * Deletes a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -186,7 +186,7 @@ Mono deleteAsync(String resourceGroupName, String networkManagerName, Stri /** * Deletes a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -203,7 +203,7 @@ Response deleteWithResponse(String resourceGroupName, String networkManage /** * Deletes a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -217,7 +217,7 @@ Response deleteWithResponse(String resourceGroupName, String networkManage /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -228,7 +228,7 @@ Response deleteWithResponse(String resourceGroupName, String networkManage * @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 result of the request to list StaticMember as paginated response with {@link PagedFlux}. + * @return the response of a StaticMember list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkManagerName, String networkGroupName, @@ -237,13 +237,13 @@ PagedFlux listAsync(String resourceGroupName, String networkM /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @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 result of the request to list StaticMember as paginated response with {@link PagedFlux}. + * @return the response of a StaticMember list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkManagerName, @@ -252,13 +252,13 @@ PagedFlux listAsync(String resourceGroupName, String networkM /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @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 result of the request to list StaticMember as paginated response with {@link PagedIterable}. + * @return the response of a StaticMember list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkManagerName, String networkGroupName); @@ -266,7 +266,7 @@ PagedFlux listAsync(String resourceGroupName, String networkM /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -278,7 +278,7 @@ PagedFlux listAsync(String resourceGroupName, String networkM * @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 result of the request to list StaticMember as paginated response with {@link PagedIterable}. + * @return the response of a StaticMember list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkManagerName, String networkGroupName, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java index 29fd96b27ef9..9b7e1035e94c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -14,7 +14,9 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.PrepareNetworkPoliciesFinalResult; import com.azure.resourcemanager.network.models.PrepareNetworkPoliciesRequest; +import com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesFinalResult; import com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesRequest; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -25,288 +27,328 @@ */ public interface SubnetsClient { /** - * Deletes the specified subnet. + * Gets the specified subnet by virtual network and resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param expand Expands referenced resources. * @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 Response} on successful completion of {@link Mono}. + * @return the specified subnet by virtual network and resource group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName, - String subnetName); + Mono> getWithResponseAsync(String resourceGroupName, String virtualNetworkName, + String subnetName, String expand); /** - * Deletes the specified subnet. + * Gets the specified subnet by virtual network and resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @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 PollerFlux} for polling of long-running operation. + * @return the specified subnet by virtual network and resource group on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, - String subnetName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String virtualNetworkName, String subnetName); /** - * Deletes the specified subnet. + * Gets the specified subnet by virtual network and resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param expand Expands referenced resources. + * @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. + * @return the specified subnet by virtual network and resource group along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkName, - String subnetName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String virtualNetworkName, String subnetName, + String expand, Context context); /** - * Deletes the specified subnet. + * Gets the specified subnet by virtual network and resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @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. + * @return the specified subnet by virtual network and resource group. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkName, - String subnetName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + SubnetInner get(String resourceGroupName, String virtualNetworkName, String subnetName); /** - * Deletes the specified subnet. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param subnetParameters Parameters supplied to the create or update subnet operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return subnet in a virtual network resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String virtualNetworkName, String subnetName); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, SubnetInner subnetParameters); /** - * Deletes the specified subnet. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param subnetParameters Parameters supplied to the create or update subnet 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 PollerFlux} for polling of subnet in a virtual network resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String virtualNetworkName, String subnetName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, SubnetInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, SubnetInner subnetParameters); /** - * Deletes the specified subnet. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param context The context to associate with this operation. + * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String virtualNetworkName, String subnetName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, SubnetInner> beginCreateOrUpdate(String resourceGroupName, + String virtualNetworkName, String subnetName, SubnetInner subnetParameters); /** - * Gets the specified subnet by virtual network and resource group. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param expand Expands referenced resources. + * @param subnetParameters Parameters supplied to the create or update subnet operation. + * @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 subnet by virtual network and resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return the {@link SyncPoller} for polling of subnet in a virtual network resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String virtualNetworkName, - String subnetName, String expand); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, SubnetInner> beginCreateOrUpdate(String resourceGroupName, + String virtualNetworkName, String subnetName, SubnetInner subnetParameters, Context context); /** - * Gets the specified subnet by virtual network and resource group. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet by virtual network and resource group on successful completion of {@link Mono}. + * @return subnet in a virtual network resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String virtualNetworkName, String subnetName); + Mono createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + SubnetInner subnetParameters); /** - * Gets the specified subnet by virtual network and resource group. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param expand Expands referenced resources. - * @param context The context to associate with this operation. + * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet by virtual network and resource group along with {@link Response}. + * @return subnet in a virtual network resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String virtualNetworkName, String subnetName, - String expand, Context context); + SubnetInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String subnetName, + SubnetInner subnetParameters); /** - * Gets the specified subnet by virtual network and resource group. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param subnetParameters Parameters supplied to the create or update subnet operation. + * @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 subnet by virtual network and resource group. + * @return subnet in a virtual network resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - SubnetInner get(String resourceGroupName, String virtualNetworkName, String subnetName); + SubnetInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String subnetName, + SubnetInner subnetParameters, Context context); /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, SubnetInner subnetParameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName, + String subnetName); /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet 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 PollerFlux} for polling of subnet in a virtual network resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, SubnetInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, SubnetInner subnetParameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, + String subnetName); /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, SubnetInner> beginCreateOrUpdate(String resourceGroupName, - String virtualNetworkName, String subnetName, SubnetInner subnetParameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkName, + String subnetName); /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet operation. * @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 subnet in a virtual network resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, SubnetInner> beginCreateOrUpdate(String resourceGroupName, - String virtualNetworkName, String subnetName, SubnetInner subnetParameters, Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkName, + String subnetName, Context context); /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String subnetName, - SubnetInner subnetParameters); + Mono deleteAsync(String resourceGroupName, String virtualNetworkName, String subnetName); /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - SubnetInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String subnetName, - SubnetInner subnetParameters); + void delete(String resourceGroupName, String virtualNetworkName, String subnetName); /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet operation. * @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 subnet in a virtual network resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - SubnetInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String subnetName, - SubnetInner subnetParameters, Context context); + void delete(String resourceGroupName, String virtualNetworkName, String subnetName, Context context); + + /** + * Gets all subnets in a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 all subnets in a virtual network as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String virtualNetworkName); + + /** + * Gets all subnets in a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 all subnets in a virtual network as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String virtualNetworkName); + + /** + * Gets all subnets in a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 all subnets in a virtual network as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String virtualNetworkName, Context context); /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -324,7 +366,7 @@ Mono>> prepareNetworkPoliciesWithResponseAsync(String /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -335,14 +377,14 @@ Mono>> prepareNetworkPoliciesWithResponseAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginPrepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); + PollerFlux, PrepareNetworkPoliciesFinalResult> + beginPrepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -353,13 +395,14 @@ PollerFlux, Void> beginPrepareNetworkPoliciesAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, - String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); + SyncPoller, PrepareNetworkPoliciesFinalResult> + beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -371,13 +414,14 @@ SyncPoller, Void> beginPrepareNetworkPolicies(String resourceGr * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, - String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context); + SyncPoller, PrepareNetworkPoliciesFinalResult> + beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context); /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -385,16 +429,17 @@ SyncPoller, Void> beginPrepareNetworkPolicies(String resourceGr * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono prepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + Mono prepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -402,15 +447,16 @@ Mono prepareNetworkPoliciesAsync(String resourceGroupName, String virtualN * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); + PrepareNetworkPoliciesFinalResult prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, + String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -419,15 +465,16 @@ void prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context); + PrepareNetworkPoliciesFinalResult prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, + String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context); /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -445,7 +492,7 @@ Mono>> unprepareNetworkPoliciesWithResponseAsync(Strin /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -456,14 +503,14 @@ Mono>> unprepareNetworkPoliciesWithResponseAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginUnprepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); + PollerFlux, UnprepareNetworkPoliciesFinalResult> + beginUnprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -474,14 +521,14 @@ PollerFlux, Void> beginUnprepareNetworkPoliciesAsync(String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginUnprepareNetworkPolicies(String resourceGroupName, - String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); + SyncPoller, UnprepareNetworkPoliciesFinalResult> + beginUnprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -493,14 +540,14 @@ SyncPoller, Void> beginUnprepareNetworkPolicies(String resource * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginUnprepareNetworkPolicies(String resourceGroupName, - String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context); + SyncPoller, UnprepareNetworkPoliciesFinalResult> + beginUnprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context); /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -508,16 +555,17 @@ SyncPoller, Void> beginUnprepareNetworkPolicies(String resource * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono unprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + Mono unprepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -525,15 +573,16 @@ Mono unprepareNetworkPoliciesAsync(String resourceGroupName, String virtua * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); + UnprepareNetworkPoliciesFinalResult unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, + String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -542,48 +591,9 @@ void unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkNam * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context); - - /** - * Gets all subnets in a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 all subnets in a virtual network as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String virtualNetworkName); - - /** - * Gets all subnets in a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 all subnets in a virtual network as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String virtualNetworkName); - - /** - * Gets all subnets in a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 all subnets in a virtual network as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String virtualNetworkName, Context context); + UnprepareNetworkPoliciesFinalResult unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, + String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java index ad2839ae4185..2863367d9470 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -19,112 +19,112 @@ */ public interface SubscriptionNetworkManagerConnectionsClient { /** - * Create a network manager connection on this subscription. + * Get a specified connection created by this subscription. * * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return a specified connection created by this subscription along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> createOrUpdateWithResponseAsync(String networkManagerConnectionName, - NetworkManagerConnectionInner parameters); + Mono> getWithResponseAsync(String networkManagerConnectionName); /** - * Create a network manager connection on this subscription. + * Get a specified connection created by this subscription. * * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource on successful completion of {@link Mono}. + * @return a specified connection created by this subscription on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String networkManagerConnectionName, - NetworkManagerConnectionInner parameters); + Mono getAsync(String networkManagerConnectionName); /** - * Create a network manager connection on this subscription. + * Get a specified connection created by this subscription. * * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource along with {@link Response}. + * @return a specified connection created by this subscription along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response createOrUpdateWithResponse(String networkManagerConnectionName, - NetworkManagerConnectionInner parameters, Context context); + Response getWithResponse(String networkManagerConnectionName, Context context); /** - * Create a network manager connection on this subscription. + * Get a specified connection created by this subscription. * * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource. + * @return a specified connection created by this subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkManagerConnectionInner createOrUpdate(String networkManagerConnectionName, - NetworkManagerConnectionInner parameters); + NetworkManagerConnectionInner get(String networkManagerConnectionName); /** - * Get a specified connection created by this subscription. + * Create a network manager connection on this subscription. * * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specified connection created by this subscription along with {@link Response} on successful completion - * of {@link Mono}. + * @return the Network Manager Connection resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String networkManagerConnectionName); + Mono> createOrUpdateWithResponseAsync(String networkManagerConnectionName, + NetworkManagerConnectionInner parameters); /** - * Get a specified connection created by this subscription. + * Create a network manager connection on this subscription. * * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specified connection created by this subscription on successful completion of {@link Mono}. + * @return the Network Manager Connection resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String networkManagerConnectionName); + Mono createOrUpdateAsync(String networkManagerConnectionName, + NetworkManagerConnectionInner parameters); /** - * Get a specified connection created by this subscription. + * Create a network manager connection on this subscription. * * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specified connection created by this subscription along with {@link Response}. + * @return the Network Manager Connection resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String networkManagerConnectionName, Context context); + Response createOrUpdateWithResponse(String networkManagerConnectionName, + NetworkManagerConnectionInner parameters, Context context); /** - * Get a specified connection created by this subscription. + * Create a network manager connection on this subscription. * * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a specified connection created by this subscription. + * @return the Network Manager Connection resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkManagerConnectionInner get(String networkManagerConnectionName); + NetworkManagerConnectionInner createOrUpdate(String networkManagerConnectionName, + NetworkManagerConnectionInner parameters); /** * Delete specified connection created by this subscription. @@ -185,7 +185,7 @@ NetworkManagerConnectionInner createOrUpdate(String networkManagerConnectionName * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of network manager connections as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManagerConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(Integer top, String skipToken); @@ -195,7 +195,7 @@ NetworkManagerConnectionInner createOrUpdate(String networkManagerConnectionName * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of network manager connections as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManagerConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(); @@ -205,7 +205,8 @@ NetworkManagerConnectionInner createOrUpdate(String networkManagerConnectionName * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of network manager connections as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManagerConnection list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(); @@ -222,7 +223,8 @@ NetworkManagerConnectionInner createOrUpdate(String networkManagerConnectionName * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of network manager connections as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManagerConnection list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Integer top, String skipToken, Context context); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java index 4af25d373528..ee4e12e7edc8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,7 +18,7 @@ public interface UsagesClient { /** * List network usages for a subscription. * - * @param location The location where resource usage is queried. + * @param location The location name. * @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. @@ -30,7 +30,7 @@ public interface UsagesClient { /** * List network usages for a subscription. * - * @param location The location where resource usage is queried. + * @param location The location name. * @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. @@ -42,7 +42,7 @@ public interface UsagesClient { /** * List network usages for a subscription. * - * @param location The location where resource usage is queried. + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java index 5cfb4e4405b7..ff06d7a0bdab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,77 +23,12 @@ * An instance of this class provides access to all the operations defined in VerifierWorkspacesClient. */ public interface VerifierWorkspacesClient { - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Verifier Workspaces as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, String skipToken, - Integer skip, Integer top, String sortKey, String sortValue); - - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Verifier Workspaces as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName); - - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Verifier Workspaces as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName); - - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of Verifier Workspaces as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, String skipToken, - Integer skip, Integer top, String sortKey, String sortValue, Context context); - /** * Gets Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -106,9 +41,9 @@ Mono> getWithResponseAsync(String resourceGroup /** * Gets Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -120,9 +55,9 @@ Mono> getWithResponseAsync(String resourceGroup /** * Gets Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -136,9 +71,9 @@ Response getWithResponse(String resourceGroupName, Strin /** * Gets Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -150,9 +85,9 @@ Response getWithResponse(String resourceGroupName, Strin /** * Creates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param body Verifier Workspace object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -168,9 +103,9 @@ Mono> createWithResponseAsync(String resourceGr /** * Creates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param body Verifier Workspace object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -184,9 +119,9 @@ Mono createAsync(String resourceGroupName, String networ /** * Creates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param body Verifier Workspace object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -203,9 +138,9 @@ Response createWithResponse(String resourceGroupName, St /** * Creates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param body Verifier Workspace object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -219,9 +154,9 @@ VerifierWorkspaceInner create(String resourceGroupName, String networkManagerNam /** * Updates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param body Verifier Workspace object to create/update. @@ -237,9 +172,9 @@ Mono> updateWithResponseAsync(String resourceGr /** * Updates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -251,9 +186,9 @@ Mono> updateWithResponseAsync(String resourceGr /** * Updates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param body Verifier Workspace object to create/update. @@ -270,9 +205,9 @@ Response updateWithResponse(String resourceGroupName, St /** * Updates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -284,9 +219,9 @@ Response updateWithResponse(String resourceGroupName, St /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -301,9 +236,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -318,9 +253,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -333,9 +268,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -348,9 +283,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param context The context to associate with this operation. @@ -366,9 +301,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -382,9 +317,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -396,9 +331,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -409,9 +344,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param context The context to associate with this operation. @@ -422,4 +357,69 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String networkManagerName, String workspaceName, String ifMatch, Context context); + + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Verifier Workspaces as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName, String skipToken, + Integer skip, Integer top, String sortKey, String sortValue); + + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Verifier Workspaces as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String networkManagerName); + + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Verifier Workspaces as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName); + + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of Verifier Workspaces as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String networkManagerName, String skipToken, + Integer skip, Integer top, String sortKey, String sortValue, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java index c920d9dc1366..7f781f250bd5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java @@ -1,18 +1,20 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +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.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.SwapResourceInner; -import com.azure.resourcemanager.network.fluent.models.SwapResourceListResultInner; +import com.azure.resourcemanager.network.models.SingletonResource; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -25,8 +27,9 @@ public interface VipSwapsClient { * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud * service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -34,14 +37,16 @@ public interface VipSwapsClient { * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String groupName, String resourceName); + Mono> getWithResponseAsync(String groupName, String resourceName, + SingletonResource singletonResource); /** * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud * service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -49,14 +54,15 @@ public interface VipSwapsClient { * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String groupName, String resourceName); + Mono getAsync(String groupName, String resourceName, SingletonResource singletonResource); /** * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud * service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -65,27 +71,30 @@ public interface VipSwapsClient { * {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String groupName, String resourceName, Context context); + Response getWithResponse(String groupName, String resourceName, + SingletonResource singletonResource, Context context); /** * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud * service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the SwapResource which identifies the slot type for the specified cloud service. */ @ServiceMethod(returns = ReturnType.SINGLE) - SwapResourceInner get(String groupName, String resourceName); + SwapResourceInner get(String groupName, String resourceName, SingletonResource singletonResource); /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -95,13 +104,14 @@ public interface VipSwapsClient { */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> createWithResponseAsync(String groupName, String resourceName, - SwapResourceInner parameters); + SingletonResource singletonResource, SwapResourceInner parameters); /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -111,13 +121,14 @@ Mono>> createWithResponseAsync(String groupName, Strin */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, Void> beginCreateAsync(String groupName, String resourceName, - SwapResourceInner parameters); + SingletonResource singletonResource, SwapResourceInner parameters); /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -126,13 +137,15 @@ PollerFlux, Void> beginCreateAsync(String groupName, String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginCreate(String groupName, String resourceName, SwapResourceInner parameters); + SyncPoller, Void> beginCreate(String groupName, String resourceName, + SingletonResource singletonResource, SwapResourceInner parameters); /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -142,14 +155,15 @@ PollerFlux, Void> beginCreateAsync(String groupName, String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginCreate(String groupName, String resourceName, SwapResourceInner parameters, - Context context); + SyncPoller, Void> beginCreate(String groupName, String resourceName, + SingletonResource singletonResource, SwapResourceInner parameters, Context context); /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -158,13 +172,15 @@ SyncPoller, Void> beginCreate(String groupName, String resource * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createAsync(String groupName, String resourceName, SwapResourceInner parameters); + Mono createAsync(String groupName, String resourceName, SingletonResource singletonResource, + SwapResourceInner parameters); /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -172,13 +188,15 @@ SyncPoller, Void> beginCreate(String groupName, String resource * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - void create(String groupName, String resourceName, SwapResourceInner parameters); + void create(String groupName, String resourceName, SingletonResource singletonResource, + SwapResourceInner parameters); /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -187,65 +205,52 @@ SyncPoller, Void> beginCreate(String groupName, String resource * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - void create(String groupName, String resourceName, SwapResourceInner parameters, Context context); + void create(String groupName, String resourceName, SingletonResource singletonResource, + SwapResourceInner parameters, Context context); /** * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a * cloud service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. * @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 list of SwapResource which identifies the slot type for the specified cloud service along with - * {@link Response} on successful completion of {@link Mono}. + * @return the list of SwapResource which identifies the slot type for the specified cloud service as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listWithResponseAsync(String groupName, String resourceName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String groupName, String resourceName); /** * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a * cloud service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. * @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 list of SwapResource which identifies the slot type for the specified cloud service on successful - * completion of {@link Mono}. + * @return the list of SwapResource which identifies the slot type for the specified cloud service as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listAsync(String groupName, String resourceName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String groupName, String resourceName); /** * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a * cloud service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. * @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 list of SwapResource which identifies the slot type for the specified cloud service along with - * {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response listWithResponse(String groupName, String resourceName, Context context); - - /** - * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a - * cloud service can either be Staging or Production. - * - * @param groupName The name of the resource group. - * @param resourceName The name of the cloud service. - * @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 list of SwapResource which identifies the slot type for the specified cloud service. + * @return the list of SwapResource which identifies the slot type for the specified cloud service as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - SwapResourceListResultInner list(String groupName, String resourceName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String groupName, String resourceName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java index 8d4dc4875f64..de359f16581b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -22,114 +22,13 @@ * An instance of this class provides access to all the operations defined in VirtualApplianceSitesClient. */ public interface VirtualApplianceSitesClient { - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, String siteName); - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkVirtualApplianceName, - String siteName); - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 networkVirtualApplianceName, - String siteName); - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 networkVirtualApplianceName, - String siteName, Context context); - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName); - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 networkVirtualApplianceName, String siteName); - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 networkVirtualApplianceName, String siteName, Context context); - /** * Gets the specified Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -143,9 +42,10 @@ Mono> getWithResponseAsync(String resourceGr /** * Gets the specified Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -158,9 +58,10 @@ Mono getAsync(String resourceGroupName, String networ /** * Gets the specified Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -174,9 +75,10 @@ Response getWithResponse(String resourceGroupName, St /** * Gets the specified Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -188,9 +90,10 @@ Response getWithResponse(String resourceGroupName, St /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -204,9 +107,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -221,9 +125,10 @@ PollerFlux, VirtualApplianceSiteInner> beg /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -238,9 +143,10 @@ SyncPoller, VirtualApplianceSiteInner> beg /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -256,9 +162,10 @@ SyncPoller, VirtualApplianceSiteInner> beg /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -272,9 +179,10 @@ Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -288,9 +196,10 @@ VirtualApplianceSiteInner createOrUpdate(String resourceGroupName, String networ /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -302,16 +211,124 @@ VirtualApplianceSiteInner createOrUpdate(String resourceGroupName, String networ VirtualApplianceSiteInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, String siteName, VirtualApplianceSiteInner parameters, Context context); + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, String siteName); + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkVirtualApplianceName, + String siteName); + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String networkVirtualApplianceName, + String siteName); + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @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 networkVirtualApplianceName, + String siteName, Context context); + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName); + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String networkVirtualApplianceName, String siteName); + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String networkVirtualApplianceName, String siteName, Context context); + /** * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 response for ListNetworkVirtualApplianceSites API service call as paginated response with - * {@link PagedFlux}. + * @return paged collection of VirtualApplianceSite items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String networkVirtualApplianceName); @@ -319,13 +336,12 @@ VirtualApplianceSiteInner createOrUpdate(String resourceGroupName, String networ /** * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 response for ListNetworkVirtualApplianceSites API service call as paginated response with - * {@link PagedIterable}. + * @return paged collection of VirtualApplianceSite items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkVirtualApplianceName); @@ -333,14 +349,13 @@ VirtualApplianceSiteInner createOrUpdate(String resourceGroupName, String networ /** * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 response for ListNetworkVirtualApplianceSites API service call as paginated response with - * {@link PagedIterable}. + * @return paged collection of VirtualApplianceSite items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String networkVirtualApplianceName, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java index 62df3e644f3c..55780ebe43b1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -17,41 +17,6 @@ * An instance of this class provides access to all the operations defined in VirtualApplianceSkusClient. */ public interface VirtualApplianceSkusClient { - /** - * List all SKUs available for a virtual appliance. - * - * @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 response for ListNetworkVirtualApplianceSkus API service call as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); - - /** - * List all SKUs available for a virtual appliance. - * - * @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 response for ListNetworkVirtualApplianceSkus API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); - - /** - * List all SKUs available for a virtual appliance. - * - * @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 response for ListNetworkVirtualApplianceSkus API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); - /** * Retrieves a single available sku for network virtual appliance. * @@ -101,4 +66,38 @@ public interface VirtualApplianceSkusClient { */ @ServiceMethod(returns = ReturnType.SINGLE) NetworkVirtualApplianceSkuInner get(String skuName); + + /** + * List all SKUs available for a virtual appliance. + * + * @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 NetworkVirtualApplianceSku list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * List all SKUs available for a virtual appliance. + * + * @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 NetworkVirtualApplianceSku list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * List all SKUs available for a virtual appliance. + * + * @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 NetworkVirtualApplianceSku list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java index 61682012272b..32735ebdc469 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -28,7 +28,7 @@ public interface VirtualHubBgpConnectionsClient { /** * Retrieves the details of a Virtual Hub Bgp Connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -43,7 +43,7 @@ Mono> getWithResponseAsync(String resourceGroupName /** * Retrieves the details of a Virtual Hub Bgp Connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -57,7 +57,7 @@ Mono> getWithResponseAsync(String resourceGroupName /** * Retrieves the details of a Virtual Hub Bgp Connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param context The context to associate with this operation. @@ -73,7 +73,7 @@ Response getWithResponse(String resourceGroupName, String vi /** * Retrieves the details of a Virtual Hub Bgp Connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -87,7 +87,7 @@ Response getWithResponse(String resourceGroupName, String vi /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -103,7 +103,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -119,7 +119,7 @@ PollerFlux, BgpConnectionInner> beginCreateOrUpda /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -135,7 +135,7 @@ SyncPoller, BgpConnectionInner> beginCreateOrUpda /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -152,7 +152,7 @@ SyncPoller, BgpConnectionInner> beginCreateOrUpda /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -168,7 +168,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String vi /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -184,7 +184,7 @@ BgpConnectionInner createOrUpdate(String resourceGroupName, String virtualHubNam /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -201,7 +201,7 @@ BgpConnectionInner createOrUpdate(String resourceGroupName, String virtualHubNam /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -216,7 +216,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -231,7 +231,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -246,7 +246,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param context The context to associate with this operation. @@ -262,7 +262,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -276,7 +276,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -289,7 +289,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param context The context to associate with this operation. @@ -303,7 +303,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all VirtualHubBgpConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -316,7 +316,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all VirtualHubBgpConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -329,7 +329,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all VirtualHubBgpConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -343,14 +343,13 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> listLearnedRoutesWithResponseAsync(String resourceGroupName, String hubName, @@ -359,13 +358,13 @@ Mono>> listLearnedRoutesWithResponseAsync(String resou /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 PollerFlux} for polling of map from virtual router instance to list of peer routes. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux>>, Map>> @@ -374,13 +373,13 @@ Mono>> listLearnedRoutesWithResponseAsync(String resou /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller>>, Map>> @@ -389,14 +388,14 @@ Mono>> listLearnedRoutesWithResponseAsync(String resou /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller>>, Map>> @@ -405,13 +404,13 @@ Mono>> listLearnedRoutesWithResponseAsync(String resou /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> listLearnedRoutesAsync(String resourceGroupName, String hubName, @@ -420,13 +419,13 @@ Mono>> listLearnedRoutesAsync(String resourceGroupNa /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) Map> listLearnedRoutes(String resourceGroupName, String hubName, String connectionName); @@ -434,14 +433,14 @@ Mono>> listLearnedRoutesAsync(String resourceGroupNa /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) Map> listLearnedRoutes(String resourceGroupName, String hubName, String connectionName, @@ -450,14 +449,13 @@ Map> listLearnedRoutes(String resourceGroupName, String /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> listAdvertisedRoutesWithResponseAsync(String resourceGroupName, String hubName, @@ -466,13 +464,13 @@ Mono>> listAdvertisedRoutesWithResponseAsync(String re /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 PollerFlux} for polling of map from virtual router instance to list of peer routes. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux>>, Map>> @@ -481,13 +479,13 @@ Mono>> listAdvertisedRoutesWithResponseAsync(String re /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller>>, Map>> @@ -496,14 +494,14 @@ Mono>> listAdvertisedRoutesWithResponseAsync(String re /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller>>, Map>> @@ -512,13 +510,13 @@ Mono>> listAdvertisedRoutesWithResponseAsync(String re /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> listAdvertisedRoutesAsync(String resourceGroupName, String hubName, @@ -527,13 +525,13 @@ Mono>> listAdvertisedRoutesAsync(String resourceGrou /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) Map> listAdvertisedRoutes(String resourceGroupName, String hubName, String connectionName); @@ -541,14 +539,14 @@ Mono>> listAdvertisedRoutesAsync(String resourceGrou /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) Map> listAdvertisedRoutes(String resourceGroupName, String hubName, String connectionName, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java index 2cc0cc3fa3f3..e0e0a79ab1ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -25,9 +25,10 @@ public interface VirtualHubIpConfigurationsClient { /** * Retrieves the details of a Virtual Hub Ip configuration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -40,9 +41,10 @@ Mono> getWithResponseAsync(String resourceGrou /** * Retrieves the details of a Virtual Hub Ip configuration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -54,9 +56,10 @@ Mono> getWithResponseAsync(String resourceGrou /** * Retrieves the details of a Virtual Hub Ip configuration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -70,9 +73,10 @@ Response getWithResponse(String resourceGroupName, Stri /** * Retrieves the details of a Virtual Hub Ip configuration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -85,9 +89,10 @@ Response getWithResponse(String resourceGroupName, Stri * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -102,9 +107,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -119,9 +125,10 @@ PollerFlux, HubIpConfigurationInner> beginCr * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -136,9 +143,10 @@ SyncPoller, HubIpConfigurationInner> beginCr * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -155,9 +163,10 @@ SyncPoller, HubIpConfigurationInner> beginCr * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -172,9 +181,10 @@ Mono createOrUpdateAsync(String resourceGroupName, Stri * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -189,9 +199,10 @@ HubIpConfigurationInner createOrUpdate(String resourceGroupName, String virtualH * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -206,9 +217,10 @@ HubIpConfigurationInner createOrUpdate(String resourceGroupName, String virtualH /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -221,9 +233,10 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -236,9 +249,10 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -251,9 +265,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -267,9 +282,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -281,9 +297,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -294,9 +311,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -308,7 +326,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all VirtualHubIpConfigurations. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -321,7 +339,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all VirtualHubIpConfigurations. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -334,7 +352,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all VirtualHubIpConfigurations. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java index 47948e28001c..caa94f9f3046 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -19,14 +19,14 @@ import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in VirtualHubRouteTableV2SClient. + * An instance of this class provides access to all the operations defined in VirtualHubRouteTableV2sClient. */ -public interface VirtualHubRouteTableV2SClient { +public interface VirtualHubRouteTableV2sClient { /** * Retrieves the details of a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -40,8 +40,8 @@ Mono> getWithResponseAsync(String resource /** * Retrieves the details of a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -54,8 +54,8 @@ Mono> getWithResponseAsync(String resource /** * Retrieves the details of a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -70,8 +70,8 @@ Response getWithResponse(String resourceGroupName, /** * Retrieves the details of a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -84,8 +84,8 @@ Response getWithResponse(String resourceGroupName, /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -100,8 +100,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -117,8 +117,8 @@ PollerFlux, VirtualHubRouteTableV2Inner> /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -134,8 +134,8 @@ SyncPoller, VirtualHubRouteTableV2Inner> /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @param context The context to associate with this operation. @@ -152,8 +152,8 @@ SyncPoller, VirtualHubRouteTableV2Inner> /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -168,8 +168,8 @@ Mono createOrUpdateAsync(String resourceGroupName, /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -184,8 +184,8 @@ VirtualHubRouteTableV2Inner createOrUpdate(String resourceGroupName, String virt /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @param context The context to associate with this operation. @@ -201,8 +201,8 @@ VirtualHubRouteTableV2Inner createOrUpdate(String resourceGroupName, String virt /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -216,8 +216,8 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -231,8 +231,8 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -246,8 +246,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -262,8 +262,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -276,8 +276,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -289,8 +289,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -303,7 +303,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all VirtualHubRouteTableV2s. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -317,7 +317,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all VirtualHubRouteTableV2s. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -331,7 +331,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves the details of all VirtualHubRouteTableV2s. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java index 1ef915baccf8..91e32360808d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -13,8 +13,8 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.EffectiveRouteMapRouteListInner; -import com.azure.resourcemanager.network.fluent.models.VirtualHubEffectiveRouteListInner; +import com.azure.resourcemanager.network.fluent.models.EffectiveRouteMapRouteInner; +import com.azure.resourcemanager.network.fluent.models.VirtualHubEffectiveRouteInner; import com.azure.resourcemanager.network.fluent.models.VirtualHubInner; import com.azure.resourcemanager.network.models.EffectiveRoutesParameters; import com.azure.resourcemanager.network.models.GetInboundRoutesParameters; @@ -35,7 +35,7 @@ public interface VirtualHubsClient /** * Retrieves the details of a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -49,7 +49,7 @@ Mono> getByResourceGroupWithResponseAsync(String resou /** * Retrieves the details of a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -62,7 +62,7 @@ Mono> getByResourceGroupWithResponseAsync(String resou /** * Retrieves the details of a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -77,7 +77,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNam /** * Retrieves the details of a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -90,7 +90,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNam /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -105,7 +105,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -120,7 +120,7 @@ PollerFlux, VirtualHubInner> beginCreateOrUpdateAsyn /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -135,7 +135,7 @@ SyncPoller, VirtualHubInner> beginCreateOrUpdate(Str /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @param context The context to associate with this operation. @@ -151,7 +151,7 @@ SyncPoller, VirtualHubInner> beginCreateOrUpdate(Str /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -166,7 +166,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String virtu /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -181,7 +181,7 @@ VirtualHubInner createOrUpdate(String resourceGroupName, String virtualHubName, /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @param context The context to associate with this operation. @@ -197,7 +197,7 @@ VirtualHubInner createOrUpdate(String resourceGroupName, String virtualHubName, /** * Updates VirtualHub tags. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to update VirtualHub tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -212,7 +212,7 @@ Mono> updateTagsWithResponseAsync(String resourceGroup /** * Updates VirtualHub tags. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to update VirtualHub tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -227,7 +227,7 @@ Mono updateTagsAsync(String resourceGroupName, String virtualHu /** * Updates VirtualHub tags. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to update VirtualHub tags. * @param context The context to associate with this operation. @@ -243,7 +243,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Updates VirtualHub tags. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to update VirtualHub tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -257,7 +257,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -270,7 +270,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -283,7 +283,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -296,7 +296,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -310,7 +310,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -323,7 +323,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -335,7 +335,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -348,7 +348,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Lists all the VirtualHubs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @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. @@ -360,7 +360,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Lists all the VirtualHubs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @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. @@ -372,7 +372,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Lists all the VirtualHubs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @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. @@ -417,368 +417,161 @@ Response updateTagsWithResponse(String resourceGroupName, Strin /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the effective routes configured for the Virtual Hub resource or the specified resource along with - * {@link Response} on successful completion of {@link Mono}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getEffectiveVirtualHubRoutesWithResponseAsync(String resourceGroupName, - String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters); - - /** - * Gets the effective routes configured for the Virtual Hub resource or the specified resource . - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link PollerFlux} for polling of the effective routes configured for the Virtual Hub resource or the - * specified resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VirtualHubEffectiveRouteListInner> - beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, - EffectiveRoutesParameters effectiveRoutesParameters); - - /** - * Gets the effective routes configured for the Virtual Hub resource or the specified resource . - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @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 PollerFlux} for polling of the effective routes configured for the Virtual Hub resource or the - * specified resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VirtualHubEffectiveRouteListInner> - beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName); - - /** - * Gets the effective routes configured for the Virtual Hub resource or the specified resource . - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the effective routes configured for the Virtual Hub resource or the - * specified resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualHubEffectiveRouteListInner> - beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName); - - /** - * Gets the effective routes configured for the Virtual Hub resource or the specified resource . - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the effective routes configured for the Virtual Hub resource or the - * specified resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualHubEffectiveRouteListInner> - beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, - EffectiveRoutesParameters effectiveRoutesParameters, Context context); - - /** - * Gets the effective routes configured for the Virtual Hub resource or the specified resource . - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the effective routes configured for the Virtual Hub resource or the specified resource on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getEffectiveVirtualHubRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters); /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @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 effective routes configured for the Virtual Hub resource or the specified resource on successful - * completion of {@link Mono}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getEffectiveVirtualHubRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName); /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @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 effective routes configured for the Virtual Hub resource or the specified resource. + * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - VirtualHubEffectiveRouteListInner getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getEffectiveVirtualHubRoutes(String resourceGroupName, + String virtualHubName); /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the effective routes configured for the Virtual Hub resource or the specified resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VirtualHubEffectiveRouteListInner getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, - EffectiveRoutesParameters effectiveRoutesParameters, Context context); - - /** - * Gets the inbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the inbound routes configured for the Virtual Hub on a particular connection along with {@link Response} - * on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getInboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, - GetInboundRoutesParameters getInboundRoutesParameters); - - /** - * Gets the inbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link PollerFlux} for polling of the inbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, EffectiveRouteMapRouteListInner> beginGetInboundRoutesAsync( - String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters); - - /** - * Gets the inbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the inbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, EffectiveRouteMapRouteListInner> beginGetInboundRoutes( - String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters); - - /** - * Gets the inbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the inbound routes configured for the Virtual Hub on a particular - * connection. + * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, EffectiveRouteMapRouteListInner> beginGetInboundRoutes( - String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, - Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getEffectiveVirtualHubRoutes(String resourceGroupName, + String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, Context context); /** * Gets the inbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the inbound routes configured for the Virtual Hub on a particular connection on successful completion of - * {@link Mono}. + * @return the inbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getInboundRoutesAsync(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getInboundRoutesAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters); /** * Gets the inbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the inbound routes configured for the Virtual Hub on a particular connection. + * @return the inbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - EffectiveRouteMapRouteListInner getInboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters); /** * Gets the inbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the inbound routes configured for the Virtual Hub on a particular connection. + * @return the inbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - EffectiveRouteMapRouteListInner getInboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Context context); /** * Gets the outbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the outbound routes configured for the Virtual Hub on a particular connection along with {@link Response} - * on successful completion of {@link Mono}. + * @return the outbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getOutboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, - GetOutboundRoutesParameters getOutboundRoutesParameters); - - /** - * Gets the outbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link PollerFlux} for polling of the outbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, EffectiveRouteMapRouteListInner> - beginGetOutboundRoutesAsync(String resourceGroupName, String virtualHubName, - GetOutboundRoutesParameters getOutboundRoutesParameters); - - /** - * Gets the outbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the outbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, EffectiveRouteMapRouteListInner> beginGetOutboundRoutes( - String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters); - - /** - * Gets the outbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the outbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, EffectiveRouteMapRouteListInner> beginGetOutboundRoutes( - String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, - Context context); - - /** - * Gets the outbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the outbound routes configured for the Virtual Hub on a particular connection on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getOutboundRoutesAsync(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getOutboundRoutesAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters); /** * Gets the outbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the outbound routes configured for the Virtual Hub on a particular connection. + * @return the outbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - EffectiveRouteMapRouteListInner getOutboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters); /** * Gets the outbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the outbound routes configured for the Virtual Hub on a particular connection. + * @return the outbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - EffectiveRouteMapRouteListInner getOutboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java index b557ef80e185..2fe9415cce2a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,103 +27,10 @@ */ public interface VirtualNetworkAppliancesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualNetworkApplianceName); - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkApplianceName); - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 virtualNetworkApplianceName); - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 virtualNetworkApplianceName, - Context context); - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String virtualNetworkApplianceName); - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 virtualNetworkApplianceName); - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 virtualNetworkApplianceName, Context context); - /** * Gets information about the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -138,7 +45,7 @@ Mono> getByResourceGroupWithResponseAsync /** * Gets information about the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -152,7 +59,7 @@ Mono getByResourceGroupAsync(String resourceGroupN /** * Gets information about the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -167,7 +74,7 @@ Response getByResourceGroupWithResponse(String res /** * Gets information about the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -180,7 +87,7 @@ Response getByResourceGroupWithResponse(String res /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -196,7 +103,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -211,7 +118,7 @@ PollerFlux, VirtualNetworkApplianceInne /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -226,7 +133,7 @@ SyncPoller, VirtualNetworkApplianceInne /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @param context The context to associate with this operation. @@ -243,7 +150,7 @@ SyncPoller, VirtualNetworkApplianceInne /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -258,7 +165,7 @@ Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -273,7 +180,7 @@ VirtualNetworkApplianceInner createOrUpdate(String resourceGroupName, String vir /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @param context The context to associate with this operation. @@ -289,7 +196,7 @@ VirtualNetworkApplianceInner createOrUpdate(String resourceGroupName, String vir /** * Updates a virtual network appliance tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to update virtual network appliance tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -305,7 +212,7 @@ Mono> updateTagsWithResponseAsync(String /** * Updates a virtual network appliance tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to update virtual network appliance tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -320,7 +227,7 @@ Mono updateTagsAsync(String resourceGroupName, Str /** * Updates a virtual network appliance tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to update virtual network appliance tags. * @param context The context to associate with this operation. @@ -336,7 +243,7 @@ Response updateTagsWithResponse(String resourceGro /** * Updates a virtual network appliance tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to update virtual network appliance tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -349,41 +256,102 @@ VirtualNetworkApplianceInner updateTags(String resourceGroupName, String virtual TagsObject parameters); /** - * Gets all virtual network appliances in a subscription. + * Deletes the specified virtual network appliance. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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 all virtual network appliances in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualNetworkApplianceName); /** - * Gets all virtual network appliances in a subscription. + * Deletes the specified virtual network appliance. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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 all virtual network appliances in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkApplianceName); /** - * Gets all virtual network appliances in a subscription. + * Deletes the specified virtual network appliance. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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 virtualNetworkApplianceName); + + /** + * Deletes the specified virtual network appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. * @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 all virtual network appliances in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkApplianceName, + Context context); + + /** + * Deletes the specified virtual network appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String virtualNetworkApplianceName); + + /** + * Deletes the specified virtual network appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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 virtualNetworkApplianceName); + + /** + * Deletes the specified virtual network appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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 virtualNetworkApplianceName, Context context); /** * Gets all virtual network appliances in a resource group. * - * @param resourceGroupName The name of the 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. @@ -395,7 +363,7 @@ VirtualNetworkApplianceInner updateTags(String resourceGroupName, String virtual /** * Gets all virtual network appliances in a resource group. * - * @param resourceGroupName The name of the 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. @@ -407,7 +375,7 @@ VirtualNetworkApplianceInner updateTags(String resourceGroupName, String virtual /** * Gets all virtual network appliances in a resource group. * - * @param resourceGroupName The name of the 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. @@ -416,4 +384,36 @@ VirtualNetworkApplianceInner updateTags(String resourceGroupName, String virtual */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all virtual network appliances in a 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 all virtual network appliances in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all virtual network appliances in a 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 all virtual network appliances in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all virtual network appliances in a 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 all virtual network appliances in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java index 2762f4d929da..5bda75449454 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -16,6 +16,8 @@ import com.azure.resourcemanager.network.fluent.models.ConnectionResetSharedKeyInner; import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionInner; +import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult1; +import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult1; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnPacketCaptureStopParameters; @@ -30,10 +32,69 @@ */ public interface VirtualNetworkGatewayConnectionsClient extends InnerSupportsGet, InnerSupportsDelete { + /** + * Gets the specified virtual network gateway connection by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @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 virtual network gateway connection by resource group along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName); + + /** + * Gets the specified virtual network gateway connection by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @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 virtual network gateway connection by resource group on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName); + + /** + * Gets the specified virtual network gateway connection by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @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 virtual network gateway connection by resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, + String virtualNetworkGatewayConnectionName, Context context); + + /** + * Gets the specified virtual network gateway connection by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @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 virtual network gateway connection by resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VirtualNetworkGatewayConnectionInner getByResourceGroup(String resourceGroupName, + String virtualNetworkGatewayConnectionName); + /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -49,7 +110,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -65,7 +126,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -81,7 +142,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @param context The context to associate with this operation. @@ -98,7 +159,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -113,7 +174,7 @@ Mono createOrUpdateAsync(String resourceGr /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -128,7 +189,7 @@ VirtualNetworkGatewayConnectionInner createOrUpdate(String resourceGroupName, /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @param context The context to associate with this operation. @@ -142,68 +203,118 @@ VirtualNetworkGatewayConnectionInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters, Context context); /** - * Gets the specified virtual network gateway connection by resource group. + * Updates a virtual network gateway connection tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. * @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 virtual network gateway connection by resource group along with {@link Response} on - * successful completion of {@link Mono}. + * @return a common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName); + Mono>> updateTagsWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, TagsObject parameters); /** - * Gets the specified virtual network gateway connection by resource group. + * Updates a virtual network gateway connection tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. * @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 virtual network gateway connection by resource group on successful completion of - * {@link Mono}. + * @return the {@link PollerFlux} for polling of a common class for general resource information. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, VirtualNetworkGatewayConnectionInner> + beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + TagsObject parameters); /** - * Gets the specified virtual network gateway connection by resource group. + * Updates a virtual network gateway connection tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, VirtualNetworkGatewayConnectionInner> + beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters); + + /** + * Updates a virtual network gateway connection tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. * @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 virtual network gateway connection by resource group along with {@link Response}. + * @return the {@link SyncPoller} for polling of a common class for general resource information. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, VirtualNetworkGatewayConnectionInner> beginUpdateTags( + String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters, Context context); + + /** + * Updates a virtual network gateway connection tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a common class for general resource information on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, - String virtualNetworkGatewayConnectionName, Context context); + Mono updateTagsAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, TagsObject parameters); /** - * Gets the specified virtual network gateway connection by resource group. + * Updates a virtual network gateway connection tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. * @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 virtual network gateway connection by resource group. + * @return a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualNetworkGatewayConnectionInner getByResourceGroup(String resourceGroupName, - String virtualNetworkGatewayConnectionName); + VirtualNetworkGatewayConnectionInner updateTags(String resourceGroupName, + String virtualNetworkGatewayConnectionName, TagsObject parameters); + + /** + * Updates a virtual network gateway connection tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a common class for general resource information. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VirtualNetworkGatewayConnectionInner updateTags(String resourceGroupName, + String virtualNetworkGatewayConnectionName, TagsObject parameters, Context context); /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -217,7 +328,7 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -231,7 +342,7 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -245,7 +356,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -260,7 +371,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -273,7 +384,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -285,7 +396,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -296,120 +407,54 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String void delete(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context); /** - * Updates a virtual network gateway connection tags. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> updateTagsWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, TagsObject parameters); - - /** - * Updates a virtual network gateway connection tags. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. - * @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 PollerFlux} for polling of a common class for general resource information. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VirtualNetworkGatewayConnectionInner> - beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - TagsObject parameters); - - /** - * Updates a virtual network gateway connection tags. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. - * @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 a common class for general resource information. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualNetworkGatewayConnectionInner> - beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters); - - /** - * Updates a virtual network gateway connection tags. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. - * @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 a common class for general resource information. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualNetworkGatewayConnectionInner> beginUpdateTags( - String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters, Context context); - - /** - * Updates a virtual network gateway connection tags. + * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections + * created. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information on successful completion of {@link Mono}. + * @return the response of a VirtualNetworkGatewayConnection list operation as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateTagsAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, TagsObject parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); /** - * Updates a virtual network gateway connection tags. + * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections + * created. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information. + * @return the response of a VirtualNetworkGatewayConnection list operation as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - VirtualNetworkGatewayConnectionInner updateTags(String resourceGroupName, - String virtualNetworkGatewayConnectionName, TagsObject parameters); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); /** - * Updates a virtual network gateway connection tags. + * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections + * created. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information. + * @return the response of a VirtualNetworkGatewayConnection list operation as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - VirtualNetworkGatewayConnectionInner updateTags(String resourceGroupName, - String virtualNetworkGatewayConnectionName, TagsObject parameters, Context context); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -426,8 +471,8 @@ Mono>> setSharedKeyWithResponseAsync(String resourceGr * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -443,8 +488,8 @@ PollerFlux, ConnectionSharedKeyInner> begin * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -460,8 +505,8 @@ SyncPoller, ConnectionSharedKeyInner> begin * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @param context The context to associate with this operation. @@ -479,8 +524,8 @@ SyncPoller, ConnectionSharedKeyInner> begin * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -496,8 +541,8 @@ Mono setSharedKeyAsync(String resourceGroupName, * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -513,8 +558,8 @@ ConnectionSharedKeyInner setSharedKey(String resourceGroupName, String virtualNe * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @param context The context to associate with this operation. @@ -531,8 +576,8 @@ ConnectionSharedKeyInner setSharedKey(String resourceGroupName, String virtualNe * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual * network gateway connection shared key through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection shared key name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -547,8 +592,8 @@ Mono> getSharedKeyWithResponseAsync(String re * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual * network gateway connection shared key through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection shared key name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -562,8 +607,8 @@ Mono getSharedKeyAsync(String resourceGroupName, * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual * network gateway connection shared key through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection shared key name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -578,8 +623,8 @@ Response getSharedKeyWithResponse(String resourceGroup * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual * network gateway connection shared key through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection shared key name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -588,63 +633,19 @@ Response getSharedKeyWithResponse(String resourceGroup @ServiceMethod(returns = ReturnType.SINGLE) ConnectionSharedKeyInner getSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName); - /** - * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections - * created. - * - * @param resourceGroupName The name of the resource group. - * @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 response for the ListVirtualNetworkGatewayConnections API service call as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); - - /** - * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections - * created. - * - * @param resourceGroupName The name of the resource group. - * @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 response for the ListVirtualNetworkGatewayConnections API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); - - /** - * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections - * created. - * - * @param resourceGroupName The name of the resource group. - * @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 response for the ListVirtualNetworkGatewayConnections API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); - /** * The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> resetSharedKeyWithResponseAsync(String resourceGroupName, @@ -655,14 +656,14 @@ Mono>> resetSharedKeyWithResponseAsync(String resource * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 PollerFlux} for polling of the virtual network connection reset shared key. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, ConnectionResetSharedKeyInner> beginResetSharedKeyAsync( @@ -673,14 +674,14 @@ PollerFlux, ConnectionResetSharedKeyIn * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the virtual network connection reset shared key. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, ConnectionResetSharedKeyInner> beginResetSharedKey( @@ -691,15 +692,15 @@ SyncPoller, ConnectionResetSharedKeyIn * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the virtual network connection reset shared key. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, ConnectionResetSharedKeyInner> beginResetSharedKey( @@ -711,14 +712,14 @@ SyncPoller, ConnectionResetSharedKeyIn * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono resetSharedKeyAsync(String resourceGroupName, @@ -729,14 +730,14 @@ Mono resetSharedKeyAsync(String resourceGroupName * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) ConnectionResetSharedKeyInner resetSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName, @@ -747,15 +748,15 @@ ConnectionResetSharedKeyInner resetSharedKey(String resourceGroupName, String vi * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) ConnectionResetSharedKeyInner resetSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName, @@ -764,7 +765,7 @@ ConnectionResetSharedKeyInner resetSharedKey(String resourceGroupName, String vi /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -780,7 +781,7 @@ Mono>> startPacketCaptureWithResponseAsync(String reso /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -790,13 +791,14 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters); + PollerFlux, StartPacketCaptureFinalResult1> beginStartPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters); /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -804,13 +806,13 @@ PollerFlux, String> beginStartPacketCaptureAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName); + PollerFlux, StartPacketCaptureFinalResult1> + beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -818,13 +820,13 @@ PollerFlux, String> beginStartPacketCaptureAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStartPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName); + SyncPoller, StartPacketCaptureFinalResult1> + beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -835,13 +837,14 @@ SyncPoller, String> beginStartPacketCapture(String resourceGr * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStartPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context); + SyncPoller, StartPacketCaptureFinalResult1> beginStartPacketCapture( + String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters, Context context); /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -851,13 +854,13 @@ SyncPoller, String> beginStartPacketCapture(String resourceGr * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters); + Mono startPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters); /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -865,12 +868,13 @@ Mono startPacketCaptureAsync(String resourceGroupName, String virtualNet * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); + Mono startPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName); /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -878,12 +882,13 @@ Mono startPacketCaptureAsync(String resourceGroupName, String virtualNet * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName); + StartPacketCaptureFinalResult1 startPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName); /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -894,14 +899,14 @@ Mono startPacketCaptureAsync(String resourceGroupName, String virtualNet * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters, Context context); + StartPacketCaptureFinalResult1 startPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context); /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -916,8 +921,8 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -926,14 +931,15 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); + PollerFlux, StopPacketCaptureFinalResult1> beginStopPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -942,14 +948,15 @@ PollerFlux, String> beginStopPacketCaptureAsync(String resour * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); + SyncPoller, StopPacketCaptureFinalResult1> beginStopPacketCapture( + String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @param context The context to associate with this operation. @@ -959,14 +966,15 @@ SyncPoller, String> beginStopPacketCapture(String resourceGro * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context); + SyncPoller, StopPacketCaptureFinalResult1> beginStopPacketCapture( + String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, + Context context); /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -975,14 +983,14 @@ SyncPoller, String> beginStopPacketCapture(String resourceGro * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters); + Mono stopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -991,14 +999,14 @@ Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetw * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters); + StopPacketCaptureFinalResult1 stopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @param context The context to associate with this operation. @@ -1008,14 +1016,14 @@ String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayC * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters, Context context); + StopPacketCaptureFinalResult1 stopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -1028,36 +1036,36 @@ Mono>> getIkeSasWithResponseAsync(String resourceGroup /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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 PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, + PollerFlux, Void> beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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, String> beginGetIkeSas(String resourceGroupName, + SyncPoller, Void> beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -1065,54 +1073,52 @@ SyncPoller, String> beginGetIkeSas(String resourceGroupName, * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginGetIkeSas(String resourceGroupName, + SyncPoller, Void> beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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 body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); + Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName); + void getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context); + void getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context); /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -1125,8 +1131,8 @@ Mono>> resetConnectionWithResponseAsync(String resourc /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -1139,8 +1145,8 @@ PollerFlux, Void> beginResetConnectionAsync(String resourceGrou /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -1153,8 +1159,8 @@ SyncPoller, Void> beginResetConnection(String resourceGroupName /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -1168,8 +1174,8 @@ SyncPoller, Void> beginResetConnection(String resourceGroupName /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -1181,8 +1187,8 @@ SyncPoller, Void> beginResetConnection(String resourceGroupName /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -1193,8 +1199,8 @@ SyncPoller, Void> beginResetConnection(String resourceGroupName /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java index fda4f3d31e19..d50f1571414c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -25,9 +25,10 @@ public interface VirtualNetworkGatewayNatRulesClient { /** * Retrieves the details of a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -41,9 +42,10 @@ Mono> getWithResponseAsync(String re /** * Retrieves the details of a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -56,9 +58,10 @@ Mono getAsync(String resourceGroupName, Strin /** * Retrieves the details of a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -72,9 +75,10 @@ Response getWithResponse(String resourceGroup /** * Retrieves the details of a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -87,9 +91,10 @@ VirtualNetworkGatewayNatRuleInner get(String resourceGroupName, String virtualNe /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -104,9 +109,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -121,9 +127,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -138,9 +145,10 @@ SyncPoller, VirtualNetworkGatewayN /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -156,9 +164,10 @@ SyncPoller, VirtualNetworkGatewayN /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -172,9 +181,10 @@ Mono createOrUpdateAsync(String resourceGroup /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -188,9 +198,10 @@ VirtualNetworkGatewayNatRuleInner createOrUpdate(String resourceGroupName, Strin /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -205,9 +216,10 @@ VirtualNetworkGatewayNatRuleInner createOrUpdate(String resourceGroupName, Strin /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -220,9 +232,10 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -235,9 +248,10 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -250,9 +264,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -266,9 +281,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -280,9 +296,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -293,9 +310,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -307,8 +325,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Retrieves all nat rules for a particular virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -322,8 +340,8 @@ PagedFlux listByVirtualNetworkGatewayAsync(St /** * Retrieves all nat rules for a particular virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -337,8 +355,8 @@ PagedIterable listByVirtualNetworkGateway(Str /** * Retrieves all nat rules for a particular virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java index 5ad92404a13a..0b9d00270421 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -13,19 +13,28 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.BgpPeerStatusListResultInner; +import com.azure.resourcemanager.network.fluent.models.BgpPeerStatusInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteFailoverSingleTestDetailsInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteFailoverTestDetailsInner; import com.azure.resourcemanager.network.fluent.models.GatewayResiliencyInformationInner; -import com.azure.resourcemanager.network.fluent.models.GatewayRouteListResultInner; +import com.azure.resourcemanager.network.fluent.models.GatewayRouteInner; import com.azure.resourcemanager.network.fluent.models.GatewayRouteSetsInformationInner; import com.azure.resourcemanager.network.fluent.models.RadiusAuthServerListResultInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionListEntityInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayInner; -import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailListResultInner; +import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailInner; import com.azure.resourcemanager.network.fluent.models.VpnClientIPsecParametersInner; +import com.azure.resourcemanager.network.models.DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult; import com.azure.resourcemanager.network.models.ExpressRouteFailoverStopApiParameters; +import com.azure.resourcemanager.network.models.GenerateVpnProfileFinalResult; +import com.azure.resourcemanager.network.models.GeneratevpnclientpackageFinalResult; +import com.azure.resourcemanager.network.models.GetVpnProfilePackageUrlFinalResult; import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; +import com.azure.resourcemanager.network.models.ResetVpnClientSharedKeyFinalResult; +import com.azure.resourcemanager.network.models.StartExpressRouteSiteFailoverSimulationFinalResult; +import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult; +import com.azure.resourcemanager.network.models.StopExpressRouteSiteFailoverSimulationFinalResult; +import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayMigrationParameters; import com.azure.resourcemanager.network.models.VpnClientParameters; @@ -44,10 +53,67 @@ */ public interface VirtualNetworkGatewaysClient extends InnerSupportsGet, InnerSupportsDelete { + /** + * Gets the specified virtual network gateway by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 virtual network gateway by resource group along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName); + + /** + * Gets the specified virtual network gateway by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 virtual network gateway by resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, + String virtualNetworkGatewayName); + + /** + * Gets the specified virtual network gateway by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 virtual network gateway by resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, + String virtualNetworkGatewayName, Context context); + + /** + * Gets the specified virtual network gateway by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 virtual network gateway by resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VirtualNetworkGatewayInner getByResourceGroup(String resourceGroupName, String virtualNetworkGatewayName); + /** * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to create or update virtual network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -63,7 +129,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to create or update virtual network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -78,7 +144,7 @@ PollerFlux, VirtualNetworkGatewayInner> b /** * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to create or update virtual network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -93,7 +159,7 @@ SyncPoller, VirtualNetworkGatewayInner> b /** * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to create or update virtual network gateway operation. * @param context The context to associate with this operation. @@ -110,7 +176,7 @@ SyncPoller, VirtualNetworkGatewayInner> b /** * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to create or update virtual network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -125,7 +191,7 @@ Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to create or update virtual network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -140,7 +206,7 @@ VirtualNetworkGatewayInner createOrUpdate(String resourceGroupName, String virtu /** * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to create or update virtual network gateway operation. * @param context The context to associate with this operation. @@ -154,267 +220,210 @@ VirtualNetworkGatewayInner createOrUpdate(String resourceGroupName, String virtu VirtualNetworkGatewayInner parameters, Context context); /** - * Gets the specified virtual network gateway by resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 virtual network gateway by resource group along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName); - - /** - * Gets the specified virtual network gateway by resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 virtual network gateway by resource group on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, - String virtualNetworkGatewayName); - - /** - * Gets the specified virtual network gateway by resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 virtual network gateway by resource group along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, - String virtualNetworkGatewayName, Context context); - - /** - * Gets the specified virtual network gateway by resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 virtual network gateway by resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VirtualNetworkGatewayInner getByResourceGroup(String resourceGroupName, String virtualNetworkGatewayName); - - /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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 Response} on successful completion of {@link Mono}. + * @return a common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName); + Mono>> updateTagsWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName, TagsObject parameters); /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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 PollerFlux} for polling of long-running operation. + * @return the {@link PollerFlux} for polling of a common class for general resource information. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkGatewayName); + PollerFlux, VirtualNetworkGatewayInner> + beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters); /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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. + * @return the {@link SyncPoller} for polling of a common class for general resource information. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkGatewayName); + SyncPoller, VirtualNetworkGatewayInner> + beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters); /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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. + * @return the {@link SyncPoller} for polling of a common class for general resource information. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkGatewayName, - Context context); + SyncPoller, VirtualNetworkGatewayInner> beginUpdateTags( + String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters, Context context); /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return a common class for general resource information on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String virtualNetworkGatewayName); + Mono updateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, + TagsObject parameters); /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String virtualNetworkGatewayName); + VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNetworkGatewayName, + TagsObject parameters); /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String virtualNetworkGatewayName, Context context); + VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNetworkGatewayName, + TagsObject parameters, Context context); /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> updateTagsWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName, TagsObject parameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName); /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 PollerFlux} for polling of a common class for general resource information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VirtualNetworkGatewayInner> - beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkGatewayName); /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 a common class for general resource information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualNetworkGatewayInner> - beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkGatewayName); /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 a common class for general resource information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualNetworkGatewayInner> beginUpdateTags( - String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters, Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkGatewayName, + Context context); /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, - TagsObject parameters); + Mono deleteAsync(String resourceGroupName, String virtualNetworkGatewayName); /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNetworkGatewayName, - TagsObject parameters); + void delete(String resourceGroupName, String virtualNetworkGatewayName); /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNetworkGatewayName, - TagsObject parameters, Context context); + void delete(String resourceGroupName, String virtualNetworkGatewayName, Context context); /** * Gets all virtual network gateways by resource group. * - * @param resourceGroupName The name of the 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. @@ -426,7 +435,7 @@ VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNe /** * Gets all virtual network gateways by resource group. * - * @param resourceGroupName The name of the 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. @@ -438,7 +447,7 @@ VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNe /** * Gets all virtual network gateways by resource group. * - * @param resourceGroupName The name of the 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. @@ -451,7 +460,7 @@ VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNe /** * Gets all the connections in a virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -465,7 +474,7 @@ PagedFlux listConnectionsAsync(S /** * Gets all the connections in a virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -479,7 +488,7 @@ PagedIterable listConnections(St /** * Gets all the connections in a virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -494,15 +503,14 @@ PagedIterable listConnections(St /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> resetWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, @@ -511,14 +519,14 @@ Mono>> resetWithResponseAsync(String resourceGroupName /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. * @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 PollerFlux} for polling of a common class for general resource information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, VirtualNetworkGatewayInner> @@ -527,12 +535,12 @@ Mono>> resetWithResponseAsync(String resourceGroupName /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 PollerFlux} for polling of a common class for general resource information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, VirtualNetworkGatewayInner> @@ -541,12 +549,12 @@ Mono>> resetWithResponseAsync(String resourceGroupName /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 a common class for general resource information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VirtualNetworkGatewayInner> beginReset(String resourceGroupName, @@ -555,7 +563,7 @@ SyncPoller, VirtualNetworkGatewayInner> b /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. @@ -563,7 +571,7 @@ SyncPoller, VirtualNetworkGatewayInner> b * @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 a common class for general resource information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VirtualNetworkGatewayInner> beginReset(String resourceGroupName, @@ -572,14 +580,14 @@ SyncPoller, VirtualNetworkGatewayInner> b /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono resetAsync(String resourceGroupName, String virtualNetworkGatewayName, @@ -588,12 +596,12 @@ Mono resetAsync(String resourceGroupName, String vir /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono resetAsync(String resourceGroupName, String virtualNetworkGatewayName); @@ -601,12 +609,12 @@ Mono resetAsync(String resourceGroupName, String vir /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) VirtualNetworkGatewayInner reset(String resourceGroupName, String virtualNetworkGatewayName); @@ -614,7 +622,7 @@ Mono resetAsync(String resourceGroupName, String vir /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. @@ -622,7 +630,7 @@ Mono resetAsync(String resourceGroupName, String vir * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a common class for general resource information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) VirtualNetworkGatewayInner reset(String resourceGroupName, String virtualNetworkGatewayName, String gatewayVip, @@ -631,7 +639,7 @@ VirtualNetworkGatewayInner reset(String resourceGroupName, String virtualNetwork /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -645,7 +653,7 @@ Mono>> resetVpnClientSharedKeyWithResponseAsync(String /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -653,13 +661,13 @@ Mono>> resetVpnClientSharedKeyWithResponseAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginResetVpnClientSharedKeyAsync(String resourceGroupName, - String virtualNetworkGatewayName); + PollerFlux, ResetVpnClientSharedKeyFinalResult> + beginResetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName); /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -667,13 +675,13 @@ PollerFlux, Void> beginResetVpnClientSharedKeyAsync(String reso * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginResetVpnClientSharedKey(String resourceGroupName, - String virtualNetworkGatewayName); + SyncPoller, ResetVpnClientSharedKeyFinalResult> + beginResetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName); /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -682,51 +690,56 @@ SyncPoller, Void> beginResetVpnClientSharedKey(String resourceG * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginResetVpnClientSharedKey(String resourceGroupName, - String virtualNetworkGatewayName, Context context); + SyncPoller, ResetVpnClientSharedKeyFinalResult> + beginResetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName, Context context); /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono resetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName); + Mono resetVpnClientSharedKeyAsync(String resourceGroupName, + String virtualNetworkGatewayName); /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void resetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName); + ResetVpnClientSharedKeyFinalResult resetVpnClientSharedKey(String resourceGroupName, + String virtualNetworkGatewayName); /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void resetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName, Context context); + ResetVpnClientSharedKeyFinalResult resetVpnClientSharedKey(String resourceGroupName, + String virtualNetworkGatewayName, Context context); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -741,7 +754,7 @@ Mono>> generatevpnclientpackageWithResponseAsync(Strin /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -750,13 +763,14 @@ Mono>> generatevpnclientpackageWithResponseAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginGeneratevpnclientpackageAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters); + PollerFlux, GeneratevpnclientpackageFinalResult> + beginGeneratevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -765,13 +779,14 @@ PollerFlux, String> beginGeneratevpnclientpackageAsync(String * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginGeneratevpnclientpackage(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters); + SyncPoller, GeneratevpnclientpackageFinalResult> + beginGeneratevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -781,13 +796,14 @@ SyncPoller, String> beginGeneratevpnclientpackage(String reso * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginGeneratevpnclientpackage(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); + SyncPoller, GeneratevpnclientpackageFinalResult> + beginGeneratevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters, Context context); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -796,13 +812,13 @@ SyncPoller, String> beginGeneratevpnclientpackage(String reso * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters); + Mono generatevpnclientpackageAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -811,13 +827,13 @@ Mono generatevpnclientpackageAsync(String resourceGroupName, String virt * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters); + GeneratevpnclientpackageFinalResult generatevpnclientpackage(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -827,14 +843,14 @@ String generatevpnclientpackage(String resourceGroupName, String virtualNetworkG * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters, Context context); + GeneratevpnclientpackageFinalResult generatevpnclientpackage(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -850,7 +866,7 @@ Mono>> generateVpnProfileWithResponseAsync(String reso * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -859,14 +875,14 @@ Mono>> generateVpnProfileWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginGenerateVpnProfileAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters); + PollerFlux, GenerateVpnProfileFinalResult> beginGenerateVpnProfileAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -875,14 +891,14 @@ PollerFlux, String> beginGenerateVpnProfileAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginGenerateVpnProfile(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters); + SyncPoller, GenerateVpnProfileFinalResult> beginGenerateVpnProfile( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -892,14 +908,14 @@ SyncPoller, String> beginGenerateVpnProfile(String resourceGr * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginGenerateVpnProfile(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); + SyncPoller, GenerateVpnProfileFinalResult> beginGenerateVpnProfile( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -908,14 +924,14 @@ SyncPoller, String> beginGenerateVpnProfile(String resourceGr * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters); + Mono generateVpnProfileAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -924,14 +940,14 @@ Mono generateVpnProfileAsync(String resourceGroupName, String virtualNet * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + GenerateVpnProfileFinalResult generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -941,14 +957,14 @@ String generateVpnProfile(String resourceGroupName, String virtualNetworkGateway * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + GenerateVpnProfileFinalResult generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -964,7 +980,7 @@ Mono>> getVpnProfilePackageUrlWithResponseAsync(String * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -973,14 +989,14 @@ Mono>> getVpnProfilePackageUrlWithResponseAsync(String * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginGetVpnProfilePackageUrlAsync(String resourceGroupName, - String virtualNetworkGatewayName); + PollerFlux, GetVpnProfilePackageUrlFinalResult> + beginGetVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -989,14 +1005,14 @@ PollerFlux, String> beginGetVpnProfilePackageUrlAsync(String * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginGetVpnProfilePackageUrl(String resourceGroupName, - String virtualNetworkGatewayName); + SyncPoller, GetVpnProfilePackageUrlFinalResult> + beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1006,14 +1022,14 @@ SyncPoller, String> beginGetVpnProfilePackageUrl(String resou * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginGetVpnProfilePackageUrl(String resourceGroupName, - String virtualNetworkGatewayName, Context context); + SyncPoller, GetVpnProfilePackageUrlFinalResult> + beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, Context context); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1022,13 +1038,14 @@ SyncPoller, String> beginGetVpnProfilePackageUrl(String resou * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName); + Mono getVpnProfilePackageUrlAsync(String resourceGroupName, + String virtualNetworkGatewayName); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1036,13 +1053,14 @@ SyncPoller, String> beginGetVpnProfilePackageUrl(String resou * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - String getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName); + GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourceGroupName, + String virtualNetworkGatewayName); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1051,145 +1069,70 @@ SyncPoller, String> beginGetVpnProfilePackageUrl(String resou * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - String getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, Context context); - - /** - * The GetBgpPeerStatus operation retrieves the status of all BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer to retrieve the status of. - * @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 response for list BGP peer status API service call along with {@link Response} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getBgpPeerStatusWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName, String peer); - - /** - * The GetBgpPeerStatus operation retrieves the status of all BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer to retrieve the status of. - * @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 PollerFlux} for polling of response for list BGP peer status API service call. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, BgpPeerStatusListResultInner> - beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer); - - /** - * The GetBgpPeerStatus operation retrieves the status of all BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 PollerFlux} for polling of response for list BGP peer status API service call. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, BgpPeerStatusListResultInner> - beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName); - - /** - * The GetBgpPeerStatus operation retrieves the status of all BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 response for list BGP peer status API service call. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, BgpPeerStatusListResultInner> - beginGetBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName); - - /** - * The GetBgpPeerStatus operation retrieves the status of all BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer to retrieve the status of. - * @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 response for list BGP peer status API service call. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, BgpPeerStatusListResultInner> - beginGetBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context); + GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourceGroupName, + String virtualNetworkGatewayName, Context context); /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer to retrieve the status of. * @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 response for list BGP peer status API service call on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer); /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 response for list BGP peer status API service call on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getBgpPeerStatusAsync(String resourceGroupName, - String virtualNetworkGatewayName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName); /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 response for list BGP peer status API service call. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName); /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer to retrieve the status of. * @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 response for list BGP peer status API service call. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context); /** * Gets a xml format representation for supported vpn devices. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1204,7 +1147,7 @@ Mono> supportedVpnDevicesWithResponseAsync(String resourceGroup /** * Gets a xml format representation for supported vpn devices. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1217,7 +1160,7 @@ Mono> supportedVpnDevicesWithResponseAsync(String resourceGroup /** * Gets a xml format representation for supported vpn devices. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1232,7 +1175,7 @@ Response supportedVpnDevicesWithResponse(String resourceGroupName, Strin /** * Gets a xml format representation for supported vpn devices. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1303,227 +1246,103 @@ Response listRadiusSecretsWithResponse(String r * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from * BGP peers. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of virtual network gateway routes along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getLearnedRoutesWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName); - - /** - * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from - * BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 PollerFlux} for polling of list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, GatewayRouteListResultInner> - beginGetLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName); - - /** - * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from - * BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GatewayRouteListResultInner> - beginGetLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName); - - /** - * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from - * BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GatewayRouteListResultInner> - beginGetLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, Context context); - - /** - * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from - * BGP peers. - * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of virtual network gateway routes on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName); /** * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from * BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of virtual network gateway routes. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - GatewayRouteListResultInner getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName); /** * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from * BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of virtual network gateway routes. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - GatewayRouteListResultInner getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, Context context); /** * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of virtual network gateway routes along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getAdvertisedRoutesWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName, String peer); - - /** - * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer. - * @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 PollerFlux} for polling of list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, GatewayRouteListResultInner> - beginGetAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer); - - /** - * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer. - * @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 list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GatewayRouteListResultInner> - beginGetAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer); - - /** - * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer. - * @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 list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GatewayRouteListResultInner> beginGetAdvertisedRoutes( - String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context); - - /** - * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. - * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of virtual network gateway routes on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAdvertisedRoutesAsync(String resourceGroupName, - String virtualNetworkGatewayName, String peer); + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, + String peer); /** * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of virtual network gateway routes. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - GatewayRouteListResultInner getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer); /** * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of virtual network gateway routes. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - GatewayRouteListResultInner getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context); /** * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> getResiliencyInformationWithResponseAsync(String resourceGroupName, @@ -1533,13 +1352,13 @@ Mono>> getResiliencyInformationWithResponseAsync(Strin * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 PollerFlux} for polling of gateway Resiliency Information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, GatewayResiliencyInformationInner> @@ -1550,12 +1369,12 @@ Mono>> getResiliencyInformationWithResponseAsync(Strin * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 PollerFlux} for polling of gateway Resiliency Information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, GatewayResiliencyInformationInner> @@ -1565,12 +1384,12 @@ Mono>> getResiliencyInformationWithResponseAsync(Strin * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Resiliency Information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, GatewayResiliencyInformationInner> @@ -1580,14 +1399,14 @@ Mono>> getResiliencyInformationWithResponseAsync(Strin * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, GatewayResiliencyInformationInner> @@ -1598,13 +1417,13 @@ Mono>> getResiliencyInformationWithResponseAsync(Strin * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getResiliencyInformationAsync(String resourceGroupName, @@ -1614,12 +1433,12 @@ Mono getResiliencyInformationAsync(String res * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Resiliency Information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getResiliencyInformationAsync(String resourceGroupName, @@ -1629,12 +1448,12 @@ Mono getResiliencyInformationAsync(String res * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Resiliency Information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) GatewayResiliencyInformationInner getResiliencyInformation(String resourceGroupName, @@ -1644,14 +1463,14 @@ GatewayResiliencyInformationInner getResiliencyInformation(String resourceGroupN * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) GatewayResiliencyInformationInner getResiliencyInformation(String resourceGroupName, @@ -1660,13 +1479,13 @@ GatewayResiliencyInformationInner getResiliencyInformation(String resourceGroupN /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> getRoutesInformationWithResponseAsync(String resourceGroupName, @@ -1675,13 +1494,13 @@ Mono>> getRoutesInformationWithResponseAsync(String re /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 PollerFlux} for polling of gateway Route Sets Information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, GatewayRouteSetsInformationInner> @@ -1691,12 +1510,12 @@ Mono>> getRoutesInformationWithResponseAsync(String re /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 PollerFlux} for polling of gateway Route Sets Information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, GatewayRouteSetsInformationInner> @@ -1705,12 +1524,12 @@ Mono>> getRoutesInformationWithResponseAsync(String re /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Route Sets Information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, GatewayRouteSetsInformationInner> @@ -1719,14 +1538,14 @@ Mono>> getRoutesInformationWithResponseAsync(String re /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, GatewayRouteSetsInformationInner> @@ -1736,13 +1555,13 @@ Mono>> getRoutesInformationWithResponseAsync(String re /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getRoutesInformationAsync(String resourceGroupName, @@ -1751,12 +1570,12 @@ Mono getRoutesInformationAsync(String resource /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Route Sets Information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getRoutesInformationAsync(String resourceGroupName, @@ -1765,12 +1584,12 @@ Mono getRoutesInformationAsync(String resource /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Route Sets Information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) GatewayRouteSetsInformationInner getRoutesInformation(String resourceGroupName, String virtualNetworkGatewayName); @@ -1778,14 +1597,14 @@ Mono getRoutesInformationAsync(String resource /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) GatewayRouteSetsInformationInner getRoutesInformation(String resourceGroupName, String virtualNetworkGatewayName, @@ -1795,15 +1614,14 @@ GatewayRouteSetsInformationInner getRoutesInformation(String resourceGroupName, * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an IPSec parameters for a virtual network gateway P2S connection along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> setVpnclientIpsecParametersWithResponseAsync(String resourceGroupName, @@ -1813,14 +1631,14 @@ Mono>> setVpnclientIpsecParametersWithResponseAsync(St * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. * @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 PollerFlux} for polling of an IPSec parameters for a virtual network gateway P2S connection. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, VpnClientIPsecParametersInner> @@ -1831,14 +1649,14 @@ Mono>> setVpnclientIpsecParametersWithResponseAsync(St * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. * @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 an IPSec parameters for a virtual network gateway P2S connection. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VpnClientIPsecParametersInner> @@ -1849,7 +1667,7 @@ Mono>> setVpnclientIpsecParametersWithResponseAsync(St * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. @@ -1857,7 +1675,7 @@ Mono>> setVpnclientIpsecParametersWithResponseAsync(St * @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 an IPSec parameters for a virtual network gateway P2S connection. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VpnClientIPsecParametersInner> @@ -1868,15 +1686,14 @@ Mono>> setVpnclientIpsecParametersWithResponseAsync(St * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an IPSec parameters for a virtual network gateway P2S connection on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono setVpnclientIpsecParametersAsync(String resourceGroupName, @@ -1886,14 +1703,14 @@ Mono setVpnclientIpsecParametersAsync(String reso * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an IPSec parameters for a virtual network gateway P2S connection. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resourceGroupName, @@ -1903,7 +1720,7 @@ VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resourceGroupNa * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. @@ -1911,7 +1728,7 @@ VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resourceGroupNa * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an IPSec parameters for a virtual network gateway P2S connection. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resourceGroupName, @@ -1921,8 +1738,8 @@ VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resourceGroupNa * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -1937,8 +1754,8 @@ Mono>> getVpnclientIpsecParametersWithResponseAsync(St * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -1952,8 +1769,8 @@ Mono>> getVpnclientIpsecParametersWithResponseAsync(St * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -1967,8 +1784,8 @@ Mono>> getVpnclientIpsecParametersWithResponseAsync(St * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -1983,8 +1800,8 @@ Mono>> getVpnclientIpsecParametersWithResponseAsync(St * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -1999,8 +1816,8 @@ Mono getVpnclientIpsecParametersAsync(String reso * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -2014,8 +1831,8 @@ VpnClientIPsecParametersInner getVpnclientIpsecParameters(String resourceGroupNa * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -2026,76 +1843,10 @@ VpnClientIPsecParametersInner getVpnclientIpsecParameters(String resourceGroupNa VpnClientIPsecParametersInner getVpnclientIpsecParameters(String resourceGroupName, String virtualNetworkGatewayName, Context context); - /** - * Gets a xml format representation for vpn device configuration script. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection for which the - * configuration script is generated. - * @param parameters Parameters supplied to the generate vpn device script operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a xml format representation for vpn device configuration script along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> vpnDeviceConfigurationScriptWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters); - - /** - * Gets a xml format representation for vpn device configuration script. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection for which the - * configuration script is generated. - * @param parameters Parameters supplied to the generate vpn device script operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a xml format representation for vpn device configuration script on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono vpnDeviceConfigurationScriptAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnDeviceScriptParameters parameters); - - /** - * Gets a xml format representation for vpn device configuration script. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection for which the - * configuration script is generated. - * @param parameters Parameters supplied to the generate vpn device script operation. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a xml format representation for vpn device configuration script along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response vpnDeviceConfigurationScriptWithResponse(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, Context context); - - /** - * Gets a xml format representation for vpn device configuration script. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection for which the - * configuration script is generated. - * @param parameters Parameters supplied to the generate vpn device script operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a xml format representation for vpn device configuration script. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - String vpnDeviceConfigurationScript(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnDeviceScriptParameters parameters); - /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2110,7 +1861,7 @@ Mono>> startPacketCaptureWithResponseAsync(String reso /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2119,13 +1870,13 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters); + PollerFlux, StartPacketCaptureFinalResult> beginStartPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters); /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -2133,13 +1884,13 @@ PollerFlux, String> beginStartPacketCaptureAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName); + PollerFlux, StartPacketCaptureFinalResult> + beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName); /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -2147,13 +1898,13 @@ PollerFlux, String> beginStartPacketCaptureAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStartPacketCapture(String resourceGroupName, - String virtualNetworkGatewayName); + SyncPoller, StartPacketCaptureFinalResult> + beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayName); /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @param context The context to associate with this operation. @@ -2163,13 +1914,14 @@ SyncPoller, String> beginStartPacketCapture(String resourceGr * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStartPacketCapture(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context); + SyncPoller, StartPacketCaptureFinalResult> beginStartPacketCapture( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, + Context context); /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2178,13 +1930,13 @@ SyncPoller, String> beginStartPacketCapture(String resourceGr * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnPacketCaptureStartParameters parameters); + Mono startPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters); /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -2192,12 +1944,13 @@ Mono startPacketCaptureAsync(String resourceGroupName, String virtualNet * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName); + Mono startPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName); /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. @@ -2205,12 +1958,12 @@ Mono startPacketCaptureAsync(String resourceGroupName, String virtualNet * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName); + StartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName); /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @param context The context to associate with this operation. @@ -2220,13 +1973,13 @@ Mono startPacketCaptureAsync(String resourceGroupName, String virtualNet * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + StartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context); /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2241,7 +1994,7 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2250,13 +2003,13 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); + PollerFlux, StopPacketCaptureFinalResult> beginStopPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2265,13 +2018,13 @@ PollerFlux, String> beginStopPacketCaptureAsync(String resour * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); + SyncPoller, StopPacketCaptureFinalResult> beginStopPacketCapture( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @param context The context to associate with this operation. @@ -2281,13 +2034,14 @@ SyncPoller, String> beginStopPacketCapture(String resourceGro * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context); + SyncPoller, StopPacketCaptureFinalResult> beginStopPacketCapture( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, + Context context); /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2296,13 +2050,13 @@ SyncPoller, String> beginStopPacketCapture(String resourceGro * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnPacketCaptureStopParameters parameters); + Mono stopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2311,13 +2065,13 @@ Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetw * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + StopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @param context The context to associate with this operation. @@ -2327,21 +2081,21 @@ String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayN * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + StopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context); /** * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. * @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 gateway Failover All Test Details along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> getFailoverAllTestDetailsWithResponseAsync(String resourceGroupName, @@ -2351,14 +2105,14 @@ Mono>> getFailoverAllTestDetailsWithResponseAsync(Stri * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. * @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 PollerFlux} for polling of gateway Failover All Test Details. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux>, List> @@ -2369,14 +2123,14 @@ Mono>> getFailoverAllTestDetailsWithResponseAsync(Stri * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. * @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 gateway Failover All Test Details. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller>, List> @@ -2387,7 +2141,7 @@ Mono>> getFailoverAllTestDetailsWithResponseAsync(Stri * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. @@ -2395,7 +2149,7 @@ Mono>> getFailoverAllTestDetailsWithResponseAsync(Stri * @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 gateway Failover All Test Details. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller>, List> @@ -2406,14 +2160,14 @@ Mono>> getFailoverAllTestDetailsWithResponseAsync(Stri * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. * @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 gateway Failover All Test Details on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getFailoverAllTestDetailsAsync(String resourceGroupName, @@ -2423,14 +2177,14 @@ Mono> getFailoverAllTestDetailsAsync( * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. * @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 gateway Failover All Test Details. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) List getFailoverAllTestDetails(String resourceGroupName, @@ -2440,7 +2194,7 @@ List getFailoverAllTestDetails(String reso * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. @@ -2448,7 +2202,7 @@ List getFailoverAllTestDetails(String reso * @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 gateway Failover All Test Details. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) List getFailoverAllTestDetails(String resourceGroupName, @@ -2458,15 +2212,14 @@ List getFailoverAllTestDetails(String reso * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. * @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 gateway Failover Single Test Details Object along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> getFailoverSingleTestDetailsWithResponseAsync(String resourceGroupName, @@ -2476,14 +2229,14 @@ Mono>> getFailoverSingleTestDetailsWithResponseAsync(S * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. * @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 PollerFlux} for polling of gateway Failover Single Test Details Object. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux>, List> @@ -2494,14 +2247,14 @@ Mono>> getFailoverSingleTestDetailsWithResponseAsync(S * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. * @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 gateway Failover Single Test Details Object. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller>, List> @@ -2512,7 +2265,7 @@ Mono>> getFailoverSingleTestDetailsWithResponseAsync(S * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. @@ -2520,7 +2273,7 @@ Mono>> getFailoverSingleTestDetailsWithResponseAsync(S * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of gateway Failover Single Test Details Object. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller>, List> @@ -2531,14 +2284,14 @@ Mono>> getFailoverSingleTestDetailsWithResponseAsync(S * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. * @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 gateway Failover Single Test Details Object on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getFailoverSingleTestDetailsAsync(String resourceGroupName, @@ -2548,14 +2301,14 @@ Mono> getFailoverSingleTestDeta * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. * @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 gateway Failover Single Test Details Object. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) List getFailoverSingleTestDetails(String resourceGroupName, @@ -2565,7 +2318,7 @@ List getFailoverSingleTestDetails(St * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. @@ -2573,7 +2326,7 @@ List getFailoverSingleTestDetails(St * @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 gateway Failover Single Test Details Object. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) List getFailoverSingleTestDetails(String resourceGroupName, @@ -2582,7 +2335,7 @@ List getFailoverSingleTestDetails(St /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2597,7 +2350,7 @@ Mono>> startExpressRouteSiteFailoverSimulationWithResp /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2606,13 +2359,14 @@ Mono>> startExpressRouteSiteFailoverSimulationWithResp * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation); + PollerFlux, StartExpressRouteSiteFailoverSimulationFinalResult> + beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation); /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2621,13 +2375,14 @@ PollerFlux, String> beginStartExpressRouteSiteFailoverSimulat * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation); + SyncPoller, StartExpressRouteSiteFailoverSimulationFinalResult> + beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation); /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param context The context to associate with this operation. @@ -2637,13 +2392,14 @@ SyncPoller, String> beginStartExpressRouteSiteFailoverSimulat * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation, Context context); + SyncPoller, StartExpressRouteSiteFailoverSimulationFinalResult> + beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation, Context context); /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2652,13 +2408,13 @@ SyncPoller, String> beginStartExpressRouteSiteFailoverSimulat * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation); + Mono startExpressRouteSiteFailoverSimulationAsync( + String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation); /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2667,13 +2423,13 @@ Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupNa * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation); + StartExpressRouteSiteFailoverSimulationFinalResult startExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation); /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param context The context to associate with this operation. @@ -2683,13 +2439,13 @@ String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation, Context context); + StartExpressRouteSiteFailoverSimulationFinalResult startExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation, Context context); /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -2705,7 +2461,7 @@ Mono>> stopExpressRouteSiteFailoverSimulationWithRespo /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -2715,13 +2471,14 @@ Mono>> stopExpressRouteSiteFailoverSimulationWithRespo * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); + PollerFlux, StopExpressRouteSiteFailoverSimulationFinalResult> + beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters); /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -2731,13 +2488,14 @@ PollerFlux, String> beginStopExpressRouteSiteFailoverSimulati * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); + SyncPoller, StopExpressRouteSiteFailoverSimulationFinalResult> + beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters); /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -2748,13 +2506,14 @@ SyncPoller, String> beginStopExpressRouteSiteFailoverSimulati * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context); + SyncPoller, StopExpressRouteSiteFailoverSimulationFinalResult> + beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters, Context context); /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -2764,13 +2523,14 @@ SyncPoller, String> beginStopExpressRouteSiteFailoverSimulati * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, + Mono stopExpressRouteSiteFailoverSimulationAsync( + String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -2780,13 +2540,13 @@ Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupNam * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters); + StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -2797,127 +2557,62 @@ String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String v * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters, Context context); - - /** - * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified - * resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getVpnclientConnectionHealthWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName); - - /** - * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified - * resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 PollerFlux} for polling of vPN client connection health detail per P2S client connection of - * the virtual network gateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VpnClientConnectionHealthDetailListResultInner> - beginGetVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName); - - /** - * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified - * resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 vPN client connection health detail per P2S client connection of - * the virtual network gateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VpnClientConnectionHealthDetailListResultInner> - beginGetVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName); - - /** - * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified - * resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 vPN client connection health detail per P2S client connection of - * the virtual network gateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VpnClientConnectionHealthDetailListResultInner> - beginGetVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName, Context context); + StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context); /** * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified * resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group on successful completion of {@link Mono}. + * specified resource group as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getVpnclientConnectionHealthAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName); /** * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified * resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group. + * specified resource group as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnClientConnectionHealthDetailListResultInner getVpnclientConnectionHealth(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName); /** * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified * resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group. + * specified resource group as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnClientConnectionHealthDetailListResultInner getVpnclientConnectionHealth(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName, Context context); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2932,7 +2627,7 @@ Mono>> disconnectVirtualNetworkGatewayVpnConnectionsWi /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2941,13 +2636,14 @@ Mono>> disconnectVirtualNetworkGatewayVpnConnectionsWi * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request); + PollerFlux, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> + beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2956,13 +2652,14 @@ PollerFlux, Void> beginDisconnectVirtualNetworkGatewayVpnConnec * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request); + SyncPoller, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> + beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, + P2SVpnConnectionRequest request); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @param context The context to associate with this operation. @@ -2972,58 +2669,61 @@ SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVpnConnec * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context); + SyncPoller, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> + beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, + P2SVpnConnectionRequest request, Context context); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request); + Mono disconnectVirtualNetworkGatewayVpnConnectionsAsync( + String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void disconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, - P2SVpnConnectionRequest request); + DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult disconnectVirtualNetworkGatewayVpnConnections( + String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void disconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, - P2SVpnConnectionRequest request, Context context); + DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult disconnectVirtualNetworkGatewayVpnConnections( + String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context); /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3038,8 +2738,8 @@ Mono>> invokePrepareMigrationWithResponseAsync(String /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3054,8 +2754,8 @@ PollerFlux, Void> beginInvokePrepareMigrationAsync(String resou /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3070,8 +2770,8 @@ SyncPoller, Void> beginInvokePrepareMigration(String resourceGr /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @param context The context to associate with this operation. @@ -3087,8 +2787,8 @@ SyncPoller, Void> beginInvokePrepareMigration(String resourceGr /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3103,8 +2803,8 @@ Mono invokePrepareMigrationAsync(String resourceGroupName, String virtualN /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3118,8 +2818,8 @@ void invokePrepareMigration(String resourceGroupName, String virtualNetworkGatew /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @param context The context to associate with this operation. @@ -3134,8 +2834,8 @@ void invokePrepareMigration(String resourceGroupName, String virtualNetworkGatew /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3148,8 +2848,8 @@ Mono>> invokeExecuteMigrationWithResponseAsync(String /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3162,8 +2862,8 @@ PollerFlux, Void> beginInvokeExecuteMigrationAsync(String resou /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3176,8 +2876,8 @@ SyncPoller, Void> beginInvokeExecuteMigration(String resourceGr /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3191,8 +2891,8 @@ SyncPoller, Void> beginInvokeExecuteMigration(String resourceGr /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3204,8 +2904,8 @@ SyncPoller, Void> beginInvokeExecuteMigration(String resourceGr /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3216,8 +2916,8 @@ SyncPoller, Void> beginInvokeExecuteMigration(String resourceGr /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3229,8 +2929,8 @@ SyncPoller, Void> beginInvokeExecuteMigration(String resourceGr /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3243,8 +2943,8 @@ Mono>> invokeCommitMigrationWithResponseAsync(String r /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3257,8 +2957,8 @@ PollerFlux, Void> beginInvokeCommitMigrationAsync(String resour /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3271,8 +2971,8 @@ SyncPoller, Void> beginInvokeCommitMigration(String resourceGro /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3286,8 +2986,8 @@ SyncPoller, Void> beginInvokeCommitMigration(String resourceGro /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3299,8 +2999,8 @@ SyncPoller, Void> beginInvokeCommitMigration(String resourceGro /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3311,8 +3011,8 @@ SyncPoller, Void> beginInvokeCommitMigration(String resourceGro /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3324,8 +3024,8 @@ SyncPoller, Void> beginInvokeCommitMigration(String resourceGro /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3338,8 +3038,8 @@ Mono>> invokeAbortMigrationWithResponseAsync(String re /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3352,8 +3052,8 @@ PollerFlux, Void> beginInvokeAbortMigrationAsync(String resourc /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3366,8 +3066,8 @@ SyncPoller, Void> beginInvokeAbortMigration(String resourceGrou /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3381,8 +3081,8 @@ SyncPoller, Void> beginInvokeAbortMigration(String resourceGrou /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3394,8 +3094,8 @@ SyncPoller, Void> beginInvokeAbortMigration(String resourceGrou /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3406,8 +3106,8 @@ SyncPoller, Void> beginInvokeAbortMigration(String resourceGrou /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -3415,4 +3115,66 @@ SyncPoller, Void> beginInvokeAbortMigration(String resourceGrou */ @ServiceMethod(returns = ReturnType.SINGLE) void invokeAbortMigration(String resourceGroupName, String virtualNetworkGatewayName, Context context); + + /** + * Gets a xml format representation for vpn device configuration script. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to the generate vpn device script operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a xml format representation for vpn device configuration script along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> vpnDeviceConfigurationScriptWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters); + + /** + * Gets a xml format representation for vpn device configuration script. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to the generate vpn device script operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a xml format representation for vpn device configuration script on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono vpnDeviceConfigurationScriptAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnDeviceScriptParameters parameters); + + /** + * Gets a xml format representation for vpn device configuration script. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to the generate vpn device script operation. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a xml format representation for vpn device configuration script along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response vpnDeviceConfigurationScriptWithResponse(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, Context context); + + /** + * Gets a xml format representation for vpn device configuration script. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to the generate vpn device script operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a xml format representation for vpn device configuration script. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + String vpnDeviceConfigurationScript(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnDeviceScriptParameters parameters); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java index 15551cb455de..09f27e195275 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,112 +23,10 @@ * An instance of this class provides access to all the operations defined in VirtualNetworkPeeringsClient. */ public interface VirtualNetworkPeeringsClient { - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName, - String virtualNetworkPeeringName); - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, - String virtualNetworkPeeringName); - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 virtualNetworkName, - String virtualNetworkPeeringName); - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 virtualNetworkName, - String virtualNetworkPeeringName, Context context); - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName); - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 virtualNetworkName, String virtualNetworkPeeringName); - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 virtualNetworkName, String virtualNetworkPeeringName, Context context); - /** * Gets the specified virtual network peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param virtualNetworkPeeringName The name of the virtual network peering. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -144,7 +42,7 @@ Mono> getWithResponseAsync(String resourceG /** * Gets the specified virtual network peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param virtualNetworkPeeringName The name of the virtual network peering. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -159,7 +57,7 @@ Mono getAsync(String resourceGroupName, String virtu /** * Gets the specified virtual network peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param virtualNetworkPeeringName The name of the virtual network peering. * @param context The context to associate with this operation. @@ -175,7 +73,7 @@ Response getWithResponse(String resourceGroupName, S /** * Gets the specified virtual network peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param virtualNetworkPeeringName The name of the virtual network peering. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -190,9 +88,9 @@ VirtualNetworkPeeringInner get(String resourceGroupName, String virtualNetworkNa /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -211,9 +109,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -231,9 +129,9 @@ PollerFlux, VirtualNetworkPeeringInner> b /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -249,9 +147,9 @@ PollerFlux, VirtualNetworkPeeringInner> b /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -267,9 +165,9 @@ SyncPoller, VirtualNetworkPeeringInner> b /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -289,9 +187,9 @@ SyncPoller, VirtualNetworkPeeringInner> b /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -309,9 +207,9 @@ Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -326,9 +224,9 @@ Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -343,9 +241,9 @@ VirtualNetworkPeeringInner createOrUpdate(String resourceGroupName, String virtu /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -361,10 +259,112 @@ VirtualNetworkPeeringInner createOrUpdate(String resourceGroupName, String virtu String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, SyncRemoteAddressSpace syncRemoteAddressSpace, Context context); + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName, + String virtualNetworkPeeringName); + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, + String virtualNetworkPeeringName); + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 virtualNetworkName, + String virtualNetworkPeeringName); + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 virtualNetworkName, + String virtualNetworkPeeringName, Context context); + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName); + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 virtualNetworkName, String virtualNetworkPeeringName); + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 virtualNetworkName, String virtualNetworkPeeringName, Context context); + /** * Gets all virtual network peerings in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -377,7 +377,7 @@ VirtualNetworkPeeringInner createOrUpdate(String resourceGroupName, String virtu /** * Gets all virtual network peerings in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -390,7 +390,7 @@ VirtualNetworkPeeringInner createOrUpdate(String resourceGroupName, String virtu /** * Gets all virtual network peerings in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java index 9eac35df681d..82011f3a7203 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -28,157 +28,65 @@ public interface VirtualNetworkTapsClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { /** - * Deletes the specified virtual network tap. + * Get a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String tapName); - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String tapName); - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 tapName); - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 tapName, Context context); - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String tapName); - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 tapName); - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 tapName, Context context); - - /** - * Gets information about the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param tapName The name of virtual network tap. * @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 information about the specified virtual network tap along with {@link Response} on successful completion - * of {@link Mono}. + * @return a VirtualNetworkTap along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String tapName); /** - * Gets information about the specified virtual network tap. + * Get a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param tapName The name of virtual network tap. * @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 information about the specified virtual network tap on successful completion of {@link Mono}. + * @return a VirtualNetworkTap on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getByResourceGroupAsync(String resourceGroupName, String tapName); /** - * Gets information about the specified virtual network tap. + * Get a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param tapName The name of virtual network tap. * @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 information about the specified virtual network tap along with {@link Response}. + * @return a VirtualNetworkTap along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getByResourceGroupWithResponse(String resourceGroupName, String tapName, Context context); /** - * Gets information about the specified virtual network tap. + * Get a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param tapName The name of virtual network tap. * @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 information about the specified virtual network tap. + * @return a VirtualNetworkTap. */ @ServiceMethod(returns = ReturnType.SINGLE) VirtualNetworkTapInner getByResourceGroup(String resourceGroupName, String tapName); /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -190,10 +98,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource VirtualNetworkTapInner parameters); /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -205,10 +113,10 @@ Mono>> createOrUpdateWithResponseAsync(String resource beginCreateOrUpdateAsync(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters); /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -220,10 +128,10 @@ SyncPoller, VirtualNetworkTapInner> beginCrea String tapName, VirtualNetworkTapInner parameters); /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -236,10 +144,10 @@ SyncPoller, VirtualNetworkTapInner> beginCrea String tapName, VirtualNetworkTapInner parameters, Context context); /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -251,10 +159,10 @@ Mono createOrUpdateAsync(String resourceGroupName, Strin VirtualNetworkTapInner parameters); /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -265,10 +173,10 @@ Mono createOrUpdateAsync(String resourceGroupName, Strin VirtualNetworkTapInner createOrUpdate(String resourceGroupName, String tapName, VirtualNetworkTapInner parameters); /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -281,10 +189,10 @@ VirtualNetworkTapInner createOrUpdate(String resourceGroupName, String tapName, Context context); /** - * Updates an VirtualNetworkTap tags. + * Update a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param tapParameters Parameters supplied to update VirtualNetworkTap tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -296,10 +204,10 @@ Mono> updateTagsWithResponseAsync(String resour TagsObject tapParameters); /** - * Updates an VirtualNetworkTap tags. + * Update a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param tapParameters Parameters supplied to update VirtualNetworkTap tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -310,10 +218,10 @@ Mono> updateTagsWithResponseAsync(String resour Mono updateTagsAsync(String resourceGroupName, String tapName, TagsObject tapParameters); /** - * Updates an VirtualNetworkTap tags. + * Update a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param tapParameters Parameters supplied to update VirtualNetworkTap tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -326,10 +234,10 @@ Response updateTagsWithResponse(String resourceGroupName TagsObject tapParameters, Context context); /** - * Updates an VirtualNetworkTap tags. + * Update a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param tapParameters Parameters supplied to update VirtualNetworkTap tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -339,29 +247,125 @@ Response updateTagsWithResponse(String resourceGroupName @ServiceMethod(returns = ReturnType.SINGLE) VirtualNetworkTapInner updateTags(String resourceGroupName, String tapName, TagsObject tapParameters); + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String tapName); + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String tapName); + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 tapName); + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 tapName, Context context); + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String tapName); + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 tapName); + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 tapName, Context context); + /** * Gets all the VirtualNetworkTaps in a subscription. * + * @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 all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + PagedFlux listByResourceGroupAsync(String resourceGroupName); /** * Gets all the VirtualNetworkTaps in a subscription. * + * @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 all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + PagedIterable listByResourceGroup(String resourceGroupName); /** * Gets all the VirtualNetworkTaps in a subscription. * + * @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. @@ -369,36 +373,31 @@ Response updateTagsWithResponse(String resourceGroupName * @return all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** * Gets all the VirtualNetworkTaps in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); + PagedFlux listAsync(); /** * Gets all the VirtualNetworkTaps in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); + PagedIterable list(); /** * Gets all the VirtualNetworkTaps in a subscription. * - * @param resourceGroupName The name of the resource group. * @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. @@ -406,5 +405,5 @@ Response updateTagsWithResponse(String resourceGroupName * @return all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java index 6d3aac3ceb25..ed19e0c0bc52 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -30,102 +30,10 @@ */ public interface VirtualNetworksClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName); - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName); - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 virtualNetworkName); - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 virtualNetworkName, - Context context); - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String virtualNetworkName); - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 virtualNetworkName); - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 virtualNetworkName, Context context); - /** * Gets the specified virtual network by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -141,7 +49,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified virtual network by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -154,7 +62,7 @@ Mono> getByResourceGroupWithResponseAsync(String r /** * Gets the specified virtual network by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -170,7 +78,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Gets the specified virtual network by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -183,7 +91,7 @@ Response getByResourceGroupWithResponse(String resourceGrou /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -198,7 +106,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -213,7 +121,7 @@ PollerFlux, VirtualNetworkInner> beginCreateOrUp /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -228,7 +136,7 @@ SyncPoller, VirtualNetworkInner> beginCreateOrUp /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -244,7 +152,7 @@ SyncPoller, VirtualNetworkInner> beginCreateOrUp /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -259,7 +167,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String v /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -274,7 +182,7 @@ VirtualNetworkInner createOrUpdate(String resourceGroupName, String virtualNetwo /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -290,7 +198,7 @@ VirtualNetworkInner createOrUpdate(String resourceGroupName, String virtualNetwo /** * Updates a virtual network tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to update virtual network tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -305,7 +213,7 @@ Mono> updateTagsWithResponseAsync(String resourceG /** * Updates a virtual network tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to update virtual network tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -320,7 +228,7 @@ Mono updateTagsAsync(String resourceGroupName, String virtu /** * Updates a virtual network tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to update virtual network tags. * @param context The context to associate with this operation. @@ -336,7 +244,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Updates a virtual network tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to update virtual network tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -348,41 +256,101 @@ Response updateTagsWithResponse(String resourceGroupName, S VirtualNetworkInner updateTags(String resourceGroupName, String virtualNetworkName, TagsObject parameters); /** - * Gets all virtual networks in a subscription. + * Deletes the specified virtual network. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 all virtual networks in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName); /** - * Gets all virtual networks in a subscription. + * Deletes the specified virtual network. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 all virtual networks in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName); /** - * Gets all virtual networks in a subscription. + * Deletes the specified virtual network. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 virtualNetworkName); + + /** + * Deletes the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. * @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 all virtual networks in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkName, + Context context); + + /** + * Deletes the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String virtualNetworkName); + + /** + * Deletes the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 virtualNetworkName); + + /** + * Deletes the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 virtualNetworkName, Context context); /** * Gets all virtual networks in a resource group. * - * @param resourceGroupName The name of the 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. @@ -394,7 +362,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets all virtual networks in a resource group. * - * @param resourceGroupName The name of the 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. @@ -406,7 +374,7 @@ Response updateTagsWithResponse(String resourceGroupName, S /** * Gets all virtual networks in a resource group. * - * @param resourceGroupName The name of the 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. @@ -416,10 +384,42 @@ Response updateTagsWithResponse(String resourceGroupName, S @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); + /** + * Gets all virtual networks in a 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 all virtual networks in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all virtual networks in a 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 all virtual networks in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all virtual networks in a 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 all virtual networks in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); + /** * Checks whether a private IP address is available for use. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param ipAddress The private IP address to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -435,7 +435,7 @@ Mono> checkIpAddressAvailabilityWithR /** * Checks whether a private IP address is available for use. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param ipAddress The private IP address to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -450,7 +450,7 @@ Mono checkIpAddressAvailabilityAsync(String re /** * Checks whether a private IP address is available for use. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param ipAddress The private IP address to be verified. * @param context The context to associate with this operation. @@ -466,7 +466,7 @@ Response checkIpAddressAvailabilityWithRespons /** * Checks whether a private IP address is available for use. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param ipAddress The private IP address to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -481,7 +481,7 @@ IpAddressAvailabilityResultInner checkIpAddressAvailability(String resourceGroup /** * Lists usage stats. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -494,7 +494,7 @@ IpAddressAvailabilityResultInner checkIpAddressAvailability(String resourceGroup /** * Lists usage stats. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -508,7 +508,7 @@ IpAddressAvailabilityResultInner checkIpAddressAvailability(String resourceGroup /** * Lists usage stats. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -524,7 +524,7 @@ PagedIterable listUsage(String resourceGroupName, Stri /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param top The max number of ip addresses to return. * @param skipToken The skipToken that is given with nextLink. @@ -541,7 +541,7 @@ PagedFlux listDdosProtectionStatusAsync /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -556,7 +556,7 @@ PagedFlux listDdosProtectionStatusAsync /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -571,7 +571,7 @@ PagedIterable listDdosProtectionStatus( /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param top The max number of ip addresses to return. * @param skipToken The skipToken that is given with nextLink. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java index 7e7980b6fa64..2da3dc6f351d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,291 +23,309 @@ */ public interface VirtualRouterPeeringsClient { /** - * Deletes the specified peering from a Virtual Router. + * Gets the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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}. + * @return the specified Virtual Router Peering along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName, + Mono> getWithResponseAsync(String resourceGroupName, String virtualRouterName, String peeringName); /** - * Deletes the specified peering from a Virtual Router. + * Gets the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified Virtual Router Peering on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName, - String peeringName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String virtualRouterName, String peeringName); /** - * Deletes the specified peering from a Virtual Router. + * Gets the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified Virtual Router Peering along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String virtualRouterName, - String peeringName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String virtualRouterName, + String peeringName, Context context); /** - * Deletes the specified peering from a Virtual Router. + * Gets the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @param context The context to associate with this operation. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified Virtual Router Peering. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String virtualRouterName, - String peeringName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + VirtualRouterPeeringInner get(String resourceGroupName, String virtualRouterName, String peeringName); /** - * Deletes the specified peering from a Virtual Router. + * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return virtual Router Peering resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String virtualRouterName, String peeringName); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualRouterName, + String peeringName, VirtualRouterPeeringInner parameters); /** - * Deletes the specified peering from a Virtual Router. + * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 virtual Router Peering resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String virtualRouterName, String peeringName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, VirtualRouterPeeringInner> beginCreateOrUpdateAsync( + String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters); /** - * Deletes the specified peering from a Virtual Router. + * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @param context The context to associate with this operation. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 virtual Router Peering resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String virtualRouterName, String peeringName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, VirtualRouterPeeringInner> beginCreateOrUpdate( + String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters); /** - * Gets the specified Virtual Router Peering. + * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 Virtual Router Peering along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of virtual Router Peering resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String resourceGroupName, String virtualRouterName, - String peeringName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, VirtualRouterPeeringInner> beginCreateOrUpdate( + String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters, + Context context); /** - * Gets the specified Virtual Router Peering. + * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 Virtual Router Peering on successful completion of {@link Mono}. + * @return virtual Router Peering resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String resourceGroupName, String virtualRouterName, String peeringName); + Mono createOrUpdateAsync(String resourceGroupName, String virtualRouterName, + String peeringName, VirtualRouterPeeringInner parameters); /** - * Gets the specified Virtual Router Peering. + * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. - * @param context The context to associate with this operation. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 Virtual Router Peering along with {@link Response}. + * @return virtual Router Peering resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String resourceGroupName, String virtualRouterName, - String peeringName, Context context); + VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, + VirtualRouterPeeringInner parameters); /** - * Gets the specified Virtual Router Peering. + * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 Virtual Router Peering. + * @return virtual Router Peering resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualRouterPeeringInner get(String resourceGroupName, String virtualRouterName, String peeringName); + VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, + VirtualRouterPeeringInner parameters, Context context); /** - * Creates or updates the specified Virtual Router Peering. + * Deletes the specified peering from a Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. - * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return virtual Router Peering resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualRouterName, - String peeringName, VirtualRouterPeeringInner parameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName, + String peeringName); /** - * Creates or updates the specified Virtual Router Peering. + * Deletes the specified peering from a Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. - * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 virtual Router Peering resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VirtualRouterPeeringInner> beginCreateOrUpdateAsync( - String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName, + String peeringName); /** - * Creates or updates the specified Virtual Router Peering. + * Deletes the specified peering from a Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. - * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 virtual Router Peering resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualRouterPeeringInner> beginCreateOrUpdate( - String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualRouterName, + String peeringName); /** - * Creates or updates the specified Virtual Router Peering. + * Deletes the specified peering from a Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. - * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 virtual Router Peering resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualRouterPeeringInner> beginCreateOrUpdate( - String resourceGroupName, String virtualRouterName, String peeringName, VirtualRouterPeeringInner parameters, - Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualRouterName, + String peeringName, Context context); /** - * Creates or updates the specified Virtual Router Peering. + * Deletes the specified peering from a Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. - * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return virtual Router Peering resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String virtualRouterName, - String peeringName, VirtualRouterPeeringInner parameters); + Mono deleteAsync(String resourceGroupName, String virtualRouterName, String peeringName); /** - * Creates or updates the specified Virtual Router Peering. + * Deletes the specified peering from a Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. - * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return virtual Router Peering resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, - VirtualRouterPeeringInner parameters); + void delete(String resourceGroupName, String virtualRouterName, String peeringName); /** - * Creates or updates the specified Virtual Router Peering. + * Deletes the specified peering from a Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. - * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return virtual Router Peering resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtualRouterName, String peeringName, - VirtualRouterPeeringInner parameters, Context context); + void delete(String resourceGroupName, String virtualRouterName, String peeringName, Context context); /** * Lists all Virtual Router Peerings in a Virtual Router resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call as paginated response with {@link PagedFlux}. + * @return the response of a VirtualRouterPeering list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String virtualRouterName); @@ -315,12 +333,12 @@ VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtua /** * Lists all Virtual Router Peerings in a Virtual Router resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call as paginated response with {@link PagedIterable}. + * @return the response of a VirtualRouterPeering list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String virtualRouterName); @@ -328,13 +346,13 @@ VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String virtua /** * Lists all Virtual Router Peerings in a Virtual Router resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call as paginated response with {@link PagedIterable}. + * @return the response of a VirtualRouterPeering list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String virtualRouterName, Context context); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java index f6281c41a71e..623eae4b9a3e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -27,268 +27,268 @@ public interface VirtualRoutersClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { /** - * Deletes the specified Virtual Router. + * Gets the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. + * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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}. + * @return the specified Virtual Router along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName); + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String virtualRouterName, String expand); /** - * Deletes the specified Virtual Router. + * Gets the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified Virtual Router on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, String virtualRouterName); /** - * Deletes the specified Virtual Router. + * Gets the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. + * @param expand Expands referenced resources. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified Virtual Router along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String virtualRouterName); + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, String virtualRouterName, + String expand, Context context); /** - * Deletes the specified Virtual Router. + * Gets the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return the specified Virtual Router. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String virtualRouterName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + VirtualRouterInner getByResourceGroup(String resourceGroupName, String virtualRouterName); /** - * Deletes the specified Virtual Router. + * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. + * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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. + * @return virtualRouter Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String virtualRouterName); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualRouterName, + VirtualRouterInner parameters); /** - * Deletes the specified Virtual Router. + * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. + * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 virtualRouter Resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String virtualRouterName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, VirtualRouterInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualRouterName, VirtualRouterInner parameters); /** - * Deletes the specified Virtual Router. + * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 virtualRouter Resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - void delete(String resourceGroupName, String virtualRouterName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, VirtualRouterInner> beginCreateOrUpdate(String resourceGroupName, + String virtualRouterName, VirtualRouterInner parameters); /** - * Gets the specified Virtual Router. + * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to the create or update Virtual Router. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 Virtual Router along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link SyncPoller} for polling of virtualRouter Resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String virtualRouterName, String expand); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, VirtualRouterInner> beginCreateOrUpdate(String resourceGroupName, + String virtualRouterName, VirtualRouterInner parameters, Context context); /** - * Gets the specified Virtual Router. + * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. + * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 Virtual Router on successful completion of {@link Mono}. + * @return virtualRouter Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String virtualRouterName); + Mono createOrUpdateAsync(String resourceGroupName, String virtualRouterName, + VirtualRouterInner parameters); /** - * Gets the specified Virtual Router. + * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param expand Expands referenced resources. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 Virtual Router along with {@link Response}. + * @return virtualRouter Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, String virtualRouterName, - String expand, Context context); + VirtualRouterInner createOrUpdate(String resourceGroupName, String virtualRouterName, + VirtualRouterInner parameters); /** - * Gets the specified Virtual Router. + * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. + * @param parameters Parameters supplied to the create or update Virtual Router. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 Virtual Router. + * @return virtualRouter Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualRouterInner getByResourceGroup(String resourceGroupName, String virtualRouterName); + VirtualRouterInner createOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters, + Context context); /** - * Creates or updates the specified Virtual Router. + * Deletes the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return virtualRouter Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualRouterName, - VirtualRouterInner parameters); + Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName); /** - * Creates or updates the specified Virtual Router. + * Deletes the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 virtualRouter Resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VirtualRouterInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualRouterName, VirtualRouterInner parameters); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName); /** - * Creates or updates the specified Virtual Router. + * Deletes the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 virtualRouter Resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualRouterInner> beginCreateOrUpdate(String resourceGroupName, - String virtualRouterName, VirtualRouterInner parameters); + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualRouterName); /** - * Creates or updates the specified Virtual Router. + * Deletes the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param parameters Parameters supplied to the create or update Virtual Router. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException 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 virtualRouter Resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualRouterInner> beginCreateOrUpdate(String resourceGroupName, - String virtualRouterName, VirtualRouterInner parameters, Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualRouterName, Context context); /** - * Creates or updates the specified Virtual Router. + * Deletes the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return virtualRouter Resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String virtualRouterName, - VirtualRouterInner parameters); + Mono deleteAsync(String resourceGroupName, String virtualRouterName); /** - * Creates or updates the specified Virtual Router. + * Deletes the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return virtualRouter Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualRouterInner createOrUpdate(String resourceGroupName, String virtualRouterName, - VirtualRouterInner parameters); + void delete(String resourceGroupName, String virtualRouterName); /** - * Creates or updates the specified Virtual Router. + * Deletes the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param parameters Parameters supplied to the create or update Virtual Router. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return virtualRouter Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualRouterInner createOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters, - Context context); + void delete(String resourceGroupName, String virtualRouterName, Context context); /** * Lists all Virtual Routers in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call as paginated response with {@link PagedFlux}. + * @return the response of a VirtualRouter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listByResourceGroupAsync(String resourceGroupName); @@ -296,11 +296,11 @@ VirtualRouterInner createOrUpdate(String resourceGroupName, String virtualRouter /** * Lists all Virtual Routers in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call as paginated response with {@link PagedIterable}. + * @return the response of a VirtualRouter list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName); @@ -308,12 +308,12 @@ VirtualRouterInner createOrUpdate(String resourceGroupName, String virtualRouter /** * Lists all Virtual Routers in a resource group. * - * @param resourceGroupName The name of the 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.resourcemanager.network.models.ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call as paginated response with {@link PagedIterable}. + * @return the response of a VirtualRouter list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java index 5fa7aa55809d..5940883950b9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -13,8 +13,11 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.VirtualWanInner; +import com.azure.resourcemanager.network.fluent.models.VirtualWANInner; +import com.azure.resourcemanager.network.fluent.models.VirtualWanSecurityProvidersInner; +import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; import com.azure.resourcemanager.network.models.TagsObject; +import com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -26,39 +29,39 @@ * An instance of this class provides access to all the operations defined in VirtualWansClient. */ public interface VirtualWansClient - extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { + extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { /** * Retrieves the details of a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String virtualWanName); + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String virtualWANName); /** * Retrieves the details of a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String virtualWanName); + Mono getByResourceGroupAsync(String resourceGroupName, String virtualWANName); /** * Retrieves the details of a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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. @@ -66,73 +69,73 @@ Mono> getByResourceGroupWithResponseAsync(String resou * @return virtualWAN Resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, String virtualWanName, + Response getByResourceGroupWithResponse(String resourceGroupName, String virtualWANName, Context context); /** * Retrieves the details of a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualWanInner getByResourceGroup(String resourceGroupName, String virtualWanName); + VirtualWANInner getByResourceGroup(String resourceGroupName, String virtualWANName); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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 virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualWanName, - VirtualWanInner wanParameters); + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualWANName, + VirtualWANInner wANParameters); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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 PollerFlux} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VirtualWanInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualWanName, VirtualWanInner wanParameters); + PollerFlux, VirtualWANInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualWANName, VirtualWANInner wANParameters); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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 virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, - String virtualWanName, VirtualWanInner wanParameters); + SyncPoller, VirtualWANInner> beginCreateOrUpdate(String resourceGroupName, + String virtualWANName, VirtualWANInner wANParameters); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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. @@ -140,44 +143,44 @@ SyncPoller, VirtualWanInner> beginCreateOrUpdate(Str * @return the {@link SyncPoller} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, - String virtualWanName, VirtualWanInner wanParameters, Context context); + SyncPoller, VirtualWANInner> beginCreateOrUpdate(String resourceGroupName, + String virtualWANName, VirtualWANInner wANParameters, Context context); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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 virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String virtualWanName, - VirtualWanInner wanParameters); + Mono createOrUpdateAsync(String resourceGroupName, String virtualWANName, + VirtualWANInner wANParameters); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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 virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters); + VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWANName, VirtualWANInner wANParameters); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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. @@ -185,44 +188,44 @@ Mono createOrUpdateAsync(String resourceGroupName, String virtu * @return virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters, + VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWANName, VirtualWANInner wANParameters, Context context); /** * Updates a VirtualWAN tags. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being updated. - * @param wanParameters Parameters supplied to Update VirtualWAN tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to Update VirtualWAN tags. * @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 virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWanName, - TagsObject wanParameters); + Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWANName, + TagsObject wANParameters); /** * Updates a VirtualWAN tags. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being updated. - * @param wanParameters Parameters supplied to Update VirtualWAN tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to Update VirtualWAN tags. * @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 virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateTagsAsync(String resourceGroupName, String virtualWanName, TagsObject wanParameters); + Mono updateTagsAsync(String resourceGroupName, String virtualWANName, TagsObject wANParameters); /** * Updates a VirtualWAN tags. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being updated. - * @param wanParameters Parameters supplied to Update VirtualWAN tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to Update VirtualWAN tags. * @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. @@ -230,67 +233,67 @@ Mono> updateTagsWithResponseAsync(String resourceGroup * @return virtualWAN Resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response updateTagsWithResponse(String resourceGroupName, String virtualWanName, - TagsObject wanParameters, Context context); + Response updateTagsWithResponse(String resourceGroupName, String virtualWANName, + TagsObject wANParameters, Context context); /** * Updates a VirtualWAN tags. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being updated. - * @param wanParameters Parameters supplied to Update VirtualWAN tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to Update VirtualWAN tags. * @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 virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualWanInner updateTags(String resourceGroupName, String virtualWanName, TagsObject wanParameters); + VirtualWANInner updateTags(String resourceGroupName, String virtualWANName, TagsObject wANParameters); /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualWanName); + Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualWANName); /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualWanName); + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualWANName); /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWanName); + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualWANName); /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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. @@ -298,74 +301,74 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDelete(String resourceGroupName, String virtualWanName, Context context); + SyncPoller, Void> beginDelete(String resourceGroupName, String virtualWANName, Context context); /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String virtualWanName); + Mono deleteAsync(String resourceGroupName, String virtualWANName); /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWanName); + void delete(String resourceGroupName, String virtualWANName); /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWanName, Context context); + void delete(String resourceGroupName, String virtualWANName, Context context); /** * Lists all the VirtualWANs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualWan. + * @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 result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); + PagedFlux listByResourceGroupAsync(String resourceGroupName); /** * Lists all the VirtualWANs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualWan. + * @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 result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); + PagedIterable listByResourceGroup(String resourceGroupName); /** * Lists all the VirtualWANs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualWan. + * @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. @@ -373,7 +376,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); + PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** * Lists all the VirtualWANs in a subscription. @@ -383,7 +386,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + PagedFlux listAsync(); /** * Lists all the VirtualWANs in a subscription. @@ -393,7 +396,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + PagedIterable list(); /** * Lists all the VirtualWANs in a subscription. @@ -405,5 +408,178 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + PagedIterable list(Context context); + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> + supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWANName); + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono supportedSecurityProvidersAsync(String resourceGroupName, + String virtualWANName); + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response supportedSecurityProvidersWithResponse(String resourceGroupName, + String virtualWANName, Context context); + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VirtualWanSecurityProvidersInner supportedSecurityProviders(String resourceGroupName, String virtualWANName); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( + String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams, Context context); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, + String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, + String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, + String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java index 034dd6351e53..36cbffa35453 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -16,6 +16,8 @@ import com.azure.resourcemanager.network.fluent.models.VpnConnectionInner; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStopParameters; +import com.azure.resourcemanager.network.models.VpnConnectionsStartPacketCaptureFinalResult; +import com.azure.resourcemanager.network.models.VpnConnectionsStopPacketCaptureFinalResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -27,8 +29,8 @@ public interface VpnConnectionsClient { /** * Retrieves the details of a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -42,8 +44,8 @@ Mono> getWithResponseAsync(String resourceGroupName /** * Retrieves the details of a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -56,8 +58,8 @@ Mono> getWithResponseAsync(String resourceGroupName /** * Retrieves the details of a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -72,8 +74,8 @@ Response getWithResponse(String resourceGroupName, String ga /** * Retrieves the details of a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -86,9 +88,9 @@ Response getWithResponse(String resourceGroupName, String ga /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -102,9 +104,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -118,9 +120,9 @@ PollerFlux, VpnConnectionInner> beginCreateOrUpda /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -134,9 +136,9 @@ SyncPoller, VpnConnectionInner> beginCreateOrUpda /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -151,9 +153,9 @@ SyncPoller, VpnConnectionInner> beginCreateOrUpda /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -167,9 +169,9 @@ Mono createOrUpdateAsync(String resourceGroupName, String ga /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -183,9 +185,9 @@ VpnConnectionInner createOrUpdate(String resourceGroupName, String gatewayName, /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -200,9 +202,9 @@ VpnConnectionInner createOrUpdate(String resourceGroupName, String gatewayName, /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -215,9 +217,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -230,9 +232,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -244,9 +246,9 @@ PollerFlux, Void> beginDeleteAsync(String resourceGroupName, St /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -260,9 +262,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -274,9 +276,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -287,9 +289,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -301,8 +303,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -318,8 +320,8 @@ Mono>> startPacketCaptureWithResponseAsync(String reso /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -329,14 +331,15 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters); + PollerFlux, VpnConnectionsStartPacketCaptureFinalResult> + beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters); /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -344,14 +347,14 @@ PollerFlux, String> beginStartPacketCaptureAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName); + PollerFlux, VpnConnectionsStartPacketCaptureFinalResult> + beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName); /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -359,14 +362,14 @@ PollerFlux, String> beginStartPacketCaptureAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName); + SyncPoller, VpnConnectionsStartPacketCaptureFinalResult> + beginStartPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -377,14 +380,15 @@ SyncPoller, String> beginStartPacketCapture(String resourceGr * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context); + SyncPoller, VpnConnectionsStartPacketCaptureFinalResult> + beginStartPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters, Context context); /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -394,14 +398,14 @@ SyncPoller, String> beginStartPacketCapture(String resourceGr * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters); + Mono startPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters); /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -409,13 +413,14 @@ Mono startPacketCaptureAsync(String resourceGroupName, String gatewayNam * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName); + Mono startPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName); /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -423,13 +428,14 @@ Mono startPacketCaptureAsync(String resourceGroupName, String gatewayNam * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); + VpnConnectionsStartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName); /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -440,14 +446,14 @@ Mono startPacketCaptureAsync(String resourceGroupName, String gatewayNam * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters, Context context); + VpnConnectionsStartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context); /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -462,8 +468,8 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -472,14 +478,15 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters); + PollerFlux, VpnConnectionsStopPacketCaptureFinalResult> + beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters); /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -487,14 +494,14 @@ PollerFlux, String> beginStopPacketCaptureAsync(String resour * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName); + PollerFlux, VpnConnectionsStopPacketCaptureFinalResult> + beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName); /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -502,14 +509,14 @@ PollerFlux, String> beginStopPacketCaptureAsync(String resour * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName); + SyncPoller, VpnConnectionsStopPacketCaptureFinalResult> + beginStopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @param context The context to associate with this operation. @@ -519,14 +526,15 @@ SyncPoller, String> beginStopPacketCapture(String resourceGro * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context); + SyncPoller, VpnConnectionsStopPacketCaptureFinalResult> + beginStopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters, Context context); /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -535,14 +543,14 @@ SyncPoller, String> beginStopPacketCapture(String resourceGro * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters); + Mono stopPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters); /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -550,13 +558,14 @@ Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName); + Mono stopPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName); /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -564,13 +573,14 @@ Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); + VpnConnectionsStopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName); /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @param context The context to associate with this operation. @@ -580,13 +590,13 @@ Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters, Context context); + VpnConnectionsStopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context); /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -600,7 +610,7 @@ String stopPacketCapture(String resourceGroupName, String gatewayName, String vp /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -614,7 +624,7 @@ String stopPacketCapture(String resourceGroupName, String gatewayName, String vp /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java index 8a87219e3a5b..94d538dd18d5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -14,6 +14,8 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.VpnGatewayInner; +import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult2; +import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult2; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStopParameters; @@ -32,7 +34,7 @@ public interface VpnGatewaysClient /** * Retrieves the details of a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -45,7 +47,7 @@ public interface VpnGatewaysClient /** * Retrieves the details of a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -58,7 +60,7 @@ public interface VpnGatewaysClient /** * Retrieves the details of a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -73,7 +75,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNam /** * Retrieves the details of a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -86,7 +88,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNam /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -101,7 +103,7 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -116,7 +118,7 @@ PollerFlux, VpnGatewayInner> beginCreateOrUpdateAsyn /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -131,7 +133,7 @@ SyncPoller, VpnGatewayInner> beginCreateOrUpdate(Str /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @param context The context to associate with this operation. @@ -147,7 +149,7 @@ SyncPoller, VpnGatewayInner> beginCreateOrUpdate(Str /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -162,7 +164,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String gatew /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -176,7 +178,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String gatew /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @param context The context to associate with this operation. @@ -192,7 +194,7 @@ VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, Vpn /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -207,7 +209,7 @@ Mono>> updateTagsWithResponseAsync(String resourceGrou /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -222,7 +224,7 @@ PollerFlux, VpnGatewayInner> beginUpdateTagsAsync(St /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -237,7 +239,7 @@ SyncPoller, VpnGatewayInner> beginUpdateTags(String /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @param context The context to associate with this operation. @@ -253,7 +255,7 @@ SyncPoller, VpnGatewayInner> beginUpdateTags(String /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -268,7 +270,7 @@ Mono updateTagsAsync(String resourceGroupName, String gatewayNa /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -282,7 +284,7 @@ Mono updateTagsAsync(String resourceGroupName, String gatewayNa /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @param context The context to associate with this operation. @@ -298,7 +300,7 @@ VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObj /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -311,7 +313,7 @@ VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObj /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -324,7 +326,7 @@ VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObj /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -337,7 +339,7 @@ VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObj /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -351,7 +353,7 @@ VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObj /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -364,7 +366,7 @@ VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObj /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -376,7 +378,7 @@ VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObj /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -386,16 +388,85 @@ VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObj @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String gatewayName, Context context); + /** + * Lists all the VpnGateways in a 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 result of the request to list VpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); + + /** + * Lists all the VpnGateways in a 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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Lists all the VpnGateways in a 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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Lists all the VpnGateways in a 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 result of the request to list VpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Lists all the VpnGateways in a 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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Lists all the VpnGateways in a 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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); + /** * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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 vpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName, @@ -404,13 +475,13 @@ Mono>> resetWithResponseAsync(String resourceGroupName /** * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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 PollerFlux} for polling of vpnGateway Resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, VpnGatewayInner> beginResetAsync(String resourceGroupName, @@ -419,12 +490,12 @@ PollerFlux, VpnGatewayInner> beginResetAsync(String /** * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 PollerFlux} for polling of vpnGateway Resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, VpnGatewayInner> beginResetAsync(String resourceGroupName, @@ -433,12 +504,12 @@ PollerFlux, VpnGatewayInner> beginResetAsync(String /** * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 vpnGateway Resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName); @@ -446,14 +517,14 @@ PollerFlux, VpnGatewayInner> beginResetAsync(String /** * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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 vpnGateway Resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName, @@ -462,13 +533,13 @@ SyncPoller, VpnGatewayInner> beginReset(String resou /** * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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 vpnGateway Resource on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono resetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId); @@ -476,12 +547,12 @@ SyncPoller, VpnGatewayInner> beginReset(String resou /** * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 vpnGateway Resource on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono resetAsync(String resourceGroupName, String gatewayName); @@ -489,12 +560,12 @@ SyncPoller, VpnGatewayInner> beginReset(String resou /** * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 vpnGateway Resource. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) VpnGatewayInner reset(String resourceGroupName, String gatewayName); @@ -502,14 +573,14 @@ SyncPoller, VpnGatewayInner> beginReset(String resou /** * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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 vpnGateway Resource. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) VpnGatewayInner reset(String resourceGroupName, String gatewayName, String ipConfigurationId, Context context); @@ -517,7 +588,7 @@ SyncPoller, VpnGatewayInner> beginReset(String resou /** * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -532,7 +603,7 @@ Mono>> startPacketCaptureWithResponseAsync(String reso /** * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -541,13 +612,13 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStartParameters parameters); + PollerFlux, StartPacketCaptureFinalResult2> beginStartPacketCaptureAsync( + String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters); /** * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -555,12 +626,13 @@ PollerFlux, String> beginStartPacketCaptureAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName); + PollerFlux, StartPacketCaptureFinalResult2> + beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName); /** * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -568,12 +640,13 @@ PollerFlux, String> beginStartPacketCaptureAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName); + SyncPoller, StartPacketCaptureFinalResult2> + beginStartPacketCapture(String resourceGroupName, String gatewayName); /** * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @param context The context to associate with this operation. @@ -583,13 +656,14 @@ PollerFlux, String> beginStartPacketCaptureAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStartParameters parameters, Context context); + SyncPoller, StartPacketCaptureFinalResult2> beginStartPacketCapture( + String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, + Context context); /** * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -598,13 +672,13 @@ SyncPoller, String> beginStartPacketCapture(String resourceGr * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters); /** * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -612,12 +686,12 @@ Mono startPacketCaptureAsync(String resourceGroupName, String gatewayNam * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName); + Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName); /** * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -625,12 +699,12 @@ Mono startPacketCaptureAsync(String resourceGroupName, String gatewayNam * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String startPacketCapture(String resourceGroupName, String gatewayName); + StartPacketCaptureFinalResult2 startPacketCapture(String resourceGroupName, String gatewayName); /** * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @param context The context to associate with this operation. @@ -640,13 +714,13 @@ Mono startPacketCaptureAsync(String resourceGroupName, String gatewayNam * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String startPacketCapture(String resourceGroupName, String gatewayName, + StartPacketCaptureFinalResult2 startPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context); /** * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -661,7 +735,7 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou /** * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -670,13 +744,13 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStopParameters parameters); + PollerFlux, StopPacketCaptureFinalResult2> beginStopPacketCaptureAsync( + String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters); /** * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -684,12 +758,13 @@ PollerFlux, String> beginStopPacketCaptureAsync(String resour * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName); + PollerFlux, StopPacketCaptureFinalResult2> + beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName); /** * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -697,12 +772,13 @@ PollerFlux, String> beginStopPacketCaptureAsync(String resour * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName); + SyncPoller, StopPacketCaptureFinalResult2> + beginStopPacketCapture(String resourceGroupName, String gatewayName); /** * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @param context The context to associate with this operation. @@ -712,13 +788,14 @@ PollerFlux, String> beginStopPacketCaptureAsync(String resour * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStopParameters parameters, Context context); + SyncPoller, StopPacketCaptureFinalResult2> beginStopPacketCapture( + String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, + Context context); /** * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -727,13 +804,13 @@ SyncPoller, String> beginStopPacketCapture(String resourceGro * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters); /** * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -741,12 +818,12 @@ Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName); + Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName); /** * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -754,12 +831,12 @@ Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String stopPacketCapture(String resourceGroupName, String gatewayName); + StopPacketCaptureFinalResult2 stopPacketCapture(String resourceGroupName, String gatewayName); /** * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @param context The context to associate with this operation. @@ -769,75 +846,6 @@ Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String stopPacketCapture(String resourceGroupName, String gatewayName, + StopPacketCaptureFinalResult2 stopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context); - - /** - * Lists all the VpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the VpnGateway. - * @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 result of the request to list VpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); - - /** - * Lists all the VpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the VpnGateway. - * @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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); - - /** - * Lists all the VpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the VpnGateway. - * @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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); - - /** - * Lists all the VpnGateways in a 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 result of the request to list VpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); - - /** - * Lists all the VpnGateways in a 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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); - - /** - * Lists all the VpnGateways in a 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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java index ef744ef51a66..5402661406e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -15,6 +15,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyResultInner; import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkConnectionInner; +import com.azure.resourcemanager.network.models.GetIkeSasFinalResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -23,172 +24,11 @@ * An instance of this class provides access to all the operations defined in VpnLinkConnectionsClient. */ public interface VpnLinkConnectionsClient { - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> resetConnectionWithResponseAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName); - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginResetConnectionAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName); - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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> beginResetConnection(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName); - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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> beginResetConnection(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName, Context context); - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono resetConnectionAsync(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName); - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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 resetConnection(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName); - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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 resetConnection(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, - Context context); - - /** - * Lists all shared keys of VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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 list of shared keys for the vpn link connection as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getAllSharedKeysAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName); - - /** - * Lists all shared keys of VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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 list of shared keys for the vpn link connection as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getAllSharedKeys(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName); - - /** - * Lists all shared keys of VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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 list of shared keys for the vpn link connection as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getAllSharedKeys(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName, Context context); - /** * Gets the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -204,8 +44,8 @@ Mono> getDefaultSharedKeyWithResponseAs /** * Gets the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -220,8 +60,8 @@ Mono getDefaultSharedKeyAsync(String resourceGro /** * Gets the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param context The context to associate with this operation. @@ -237,8 +77,8 @@ Response getDefaultSharedKeyWithResponse(String /** * Gets the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -254,9 +94,9 @@ ConnectionSharedKeyResultInner getDefaultSharedKey(String resourceGroupName, Str * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link * connection. @@ -274,9 +114,9 @@ Mono>> setOrInitDefaultSharedKeyWithResponseAsync(Stri * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link * connection. @@ -294,9 +134,9 @@ Mono>> setOrInitDefaultSharedKeyWithResponseAsync(Stri * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link * connection. @@ -314,9 +154,9 @@ Mono>> setOrInitDefaultSharedKeyWithResponseAsync(Stri * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link * connection. @@ -335,9 +175,9 @@ Mono>> setOrInitDefaultSharedKeyWithResponseAsync(Stri * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link * connection. @@ -354,9 +194,9 @@ Mono setOrInitDefaultSharedKeyAsync(String resou * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link * connection. @@ -373,9 +213,9 @@ ConnectionSharedKeyResultInner setOrInitDefaultSharedKey(String resourceGroupNam * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link * connection. @@ -390,11 +230,60 @@ ConnectionSharedKeyResultInner setOrInitDefaultSharedKey(String resourceGroupNam String connectionName, String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters, Context context); + /** + * Lists all shared keys of VpnLink connection specified. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @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 list of shared keys for the vpn link connection as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getAllSharedKeysAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName); + + /** + * Lists all shared keys of VpnLink connection specified. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @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 list of shared keys for the vpn link connection as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getAllSharedKeys(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName); + + /** + * Lists all shared keys of VpnLink connection specified. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @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 list of shared keys for the vpn link connection as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getAllSharedKeys(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName, Context context); + /** * Gets the value of the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -410,8 +299,8 @@ Mono> listDefaultSharedKeyWithResponseA /** * Gets the value of the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -426,8 +315,8 @@ Mono listDefaultSharedKeyAsync(String resourceGr /** * Gets the value of the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param context The context to associate with this operation. @@ -443,8 +332,8 @@ Response listDefaultSharedKeyWithResponse(String /** * Gets the value of the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -457,26 +346,75 @@ ConnectionSharedKeyResultInner listDefaultSharedKey(String resourceGroupName, St String connectionName, String linkConnectionName); /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByVpnConnectionAsync(String resourceGroupName, String gatewayName, + String connectionName); + + /** + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByVpnConnection(String resourceGroupName, String gatewayName, + String connectionName); + + /** + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param connectionName The name of the vpn connection. + * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByVpnConnection(String resourceGroupName, String gatewayName, + String connectionName, Context context); + + /** + * Resets the VpnLink connection specified. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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 body along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getIkeSasWithResponseAsync(String resourceGroupName, String gatewayName, + Mono>> resetConnectionWithResponseAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -485,14 +423,14 @@ Mono>> getIkeSasWithResponseAsync(String resourceGroup * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, String gatewayName, + PollerFlux, Void> beginResetConnectionAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -501,14 +439,14 @@ PollerFlux, String> beginGetIkeSasAsync(String resourceGroupN * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginGetIkeSas(String resourceGroupName, String gatewayName, + SyncPoller, Void> beginResetConnection(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param context The context to associate with this operation. @@ -518,103 +456,167 @@ SyncPoller, String> beginGetIkeSas(String resourceGroupName, * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, String> beginGetIkeSas(String resourceGroupName, String gatewayName, + SyncPoller, Void> beginResetConnection(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context); /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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 body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, + Mono resetConnectionAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String getIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); + void resetConnection(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName); /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - String getIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, + void resetConnection(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context); /** - * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. * - * @param resourceGroupName The resource group name of the vpn gateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with - * {@link PagedFlux}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByVpnConnectionAsync(String resourceGroupName, String gatewayName, - String connectionName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getIkeSasWithResponseAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName); /** - * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. * - * @param resourceGroupName The resource group name of the vpn gateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, GetIkeSasFinalResult> beginGetIkeSasAsync(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName); + + /** + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with - * {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByVpnConnection(String resourceGroupName, String gatewayName, - String connectionName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, GetIkeSasFinalResult> beginGetIkeSas(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName); /** - * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. * - * @param resourceGroupName The resource group name of the vpn gateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with - * {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByVpnConnection(String resourceGroupName, String gatewayName, - String connectionName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, GetIkeSasFinalResult> beginGetIkeSas(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName, Context context); + + /** + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName); + + /** + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + GetIkeSasFinalResult getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName); + + /** + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + GetIkeSasFinalResult getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java index 91d01302164d..b03614bd3788 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -24,98 +24,96 @@ public interface VpnServerConfigurationsAssociatedWithVirtualWansClient { /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> listWithResponseAsync(String resourceGroupName, String virtualWanName); + Mono>> listWithResponseAsync(String resourceGroupName, String virtualWANName); /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 PollerFlux} for polling of vpnServerConfigurations list associated with VirtualWan Response. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, VpnServerConfigurationsResponseInner> - beginListAsync(String resourceGroupName, String virtualWanName); + beginListAsync(String resourceGroupName, String virtualWANName); /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VpnServerConfigurationsResponseInner> - beginList(String resourceGroupName, String virtualWanName); + beginList(String resourceGroupName, String virtualWANName); /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, VpnServerConfigurationsResponseInner> - beginList(String resourceGroupName, String virtualWanName, Context context); + beginList(String resourceGroupName, String virtualWANName, Context context); /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono listAsync(String resourceGroupName, String virtualWanName); + Mono listAsync(String resourceGroupName, String virtualWANName); /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - VpnServerConfigurationsResponseInner list(String resourceGroupName, String virtualWanName); + VpnServerConfigurationsResponseInner list(String resourceGroupName, String virtualWANName); /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - VpnServerConfigurationsResponseInner list(String resourceGroupName, String virtualWanName, Context context); + VpnServerConfigurationsResponseInner list(String resourceGroupName, String virtualWANName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java index 64d1b6bd10ed..e7cc96b9dd64 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -31,8 +31,9 @@ public interface VpnServerConfigurationsClient extends InnerSupportsGet> getByResourceGroupWithResponseAsync( /** * Retrieves the details of a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -59,8 +61,9 @@ Mono getByResourceGroupAsync(String resourceGroupNa /** * Retrieves the details of a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -74,8 +77,9 @@ Response getByResourceGroupWithResponse(String reso /** * Retrieves the details of a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -87,8 +91,9 @@ Response getByResourceGroupWithResponse(String reso /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -102,8 +107,9 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -118,8 +124,9 @@ PollerFlux, VpnServerConfigurationInner> /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -134,8 +141,9 @@ SyncPoller, VpnServerConfigurationInner> /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -151,8 +159,9 @@ SyncPoller, VpnServerConfigurationInner> /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -166,8 +175,9 @@ Mono createOrUpdateAsync(String resourceGroupName, /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -181,8 +191,9 @@ VpnServerConfigurationInner createOrUpdate(String resourceGroupName, String vpnS /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -197,8 +208,9 @@ VpnServerConfigurationInner createOrUpdate(String resourceGroupName, String vpnS /** * Updates VpnServerConfiguration tags. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to update VpnServerConfiguration tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -212,8 +224,9 @@ Mono> updateTagsWithResponseAsync(String r /** * Updates VpnServerConfiguration tags. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to update VpnServerConfiguration tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -227,8 +240,9 @@ Mono updateTagsAsync(String resourceGroupName, Stri /** * Updates VpnServerConfiguration tags. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to update VpnServerConfiguration tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -243,8 +257,9 @@ Response updateTagsWithResponse(String resourceGrou /** * Updates VpnServerConfiguration tags. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to update VpnServerConfiguration tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -258,8 +273,9 @@ VpnServerConfigurationInner updateTags(String resourceGroupName, String vpnServe /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -272,8 +288,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -285,8 +302,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -298,8 +316,9 @@ Mono>> deleteWithResponseAsync(String resourceGroupNam /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -313,8 +332,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -326,8 +346,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -338,8 +359,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -351,7 +373,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Lists all the vpnServerConfigurations in a resource group. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. + * @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. @@ -363,7 +385,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Lists all the vpnServerConfigurations in a resource group. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. + * @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. @@ -376,7 +398,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String /** * Lists all the vpnServerConfigurations in a resource group. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. + * @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. @@ -425,7 +447,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * List all Radius servers with respective radius secrets from VpnServerConfiguration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -440,7 +463,8 @@ Mono> listRadiusSecretsWithResponseAsy * List all Radius servers with respective radius secrets from VpnServerConfiguration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -454,7 +478,8 @@ Mono listRadiusSecretsAsync(String resourceGrou * List all Radius servers with respective radius secrets from VpnServerConfiguration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -469,7 +494,8 @@ Response listRadiusSecretsWithResponse(String r * List all Radius servers with respective radius secrets from VpnServerConfiguration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java index 57f4e22eabd6..8974f96e8025 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -18,10 +18,10 @@ public interface VpnSiteLinkConnectionsClient { /** * Retrieves the details of a vpn site link connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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. @@ -34,10 +34,10 @@ Mono> getWithResponseAsync(String resourceG /** * Retrieves the details of a vpn site link connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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. @@ -50,10 +50,10 @@ Mono getAsync(String resourceGroupName, String gatew /** * Retrieves the details of a vpn site link connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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. @@ -67,10 +67,10 @@ Response getWithResponse(String resourceGroupName, S /** * Retrieves the details of a vpn site link connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java index 39df5b6b315b..2fca4729ccaa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -20,9 +20,10 @@ public interface VpnSiteLinksClient { /** * Retrieves the details of a VPN site link. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. - * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. + * @param vpnSiteLinkName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -35,9 +36,10 @@ Mono> getWithResponseAsync(String resourceGroupName, /** * Retrieves the details of a VPN site link. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. - * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. + * @param vpnSiteLinkName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -49,9 +51,10 @@ Mono> getWithResponseAsync(String resourceGroupName, /** * Retrieves the details of a VPN site link. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. - * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. + * @param vpnSiteLinkName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -65,9 +68,10 @@ Response getWithResponse(String resourceGroupName, String vpnS /** * Retrieves the details of a VPN site link. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. - * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. + * @param vpnSiteLinkName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -79,8 +83,8 @@ Response getWithResponse(String resourceGroupName, String vpnS /** * Lists all the vpnSiteLinks in a resource group for a vpn site. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -92,8 +96,8 @@ Response getWithResponse(String resourceGroupName, String vpnS /** * Lists all the vpnSiteLinks in a resource group for a vpn site. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -105,8 +109,8 @@ Response getWithResponse(String resourceGroupName, String vpnS /** * Lists all the vpnSiteLinks in a resource group for a vpn site. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java index 9d77583abd1a..71a689fe8da5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -30,7 +30,7 @@ public interface VpnSitesClient /** * Retrieves the details of a VPN site. * - * @param resourceGroupName The resource group name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vpnSiteName The name of the VpnSite being retrieved. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -43,7 +43,7 @@ public interface VpnSitesClient /** * Retrieves the details of a VPN site. * - * @param resourceGroupName The resource group name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vpnSiteName The name of the VpnSite being retrieved. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -56,7 +56,7 @@ public interface VpnSitesClient /** * Retrieves the details of a VPN site. * - * @param resourceGroupName The resource group name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vpnSiteName The name of the VpnSite being retrieved. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -71,7 +71,7 @@ Response getByResourceGroupWithResponse(String resourceGroupName, /** * Retrieves the details of a VPN site. * - * @param resourceGroupName The resource group name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vpnSiteName The name of the VpnSite being retrieved. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -84,8 +84,8 @@ Response getByResourceGroupWithResponse(String resourceGroupName, /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -99,8 +99,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -114,8 +114,8 @@ PollerFlux, VpnSiteInner> beginCreateOrUpdateAsync(Stri /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -129,8 +129,8 @@ SyncPoller, VpnSiteInner> beginCreateOrUpdate(String re /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -145,8 +145,8 @@ SyncPoller, VpnSiteInner> beginCreateOrUpdate(String re /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -160,8 +160,8 @@ Mono createOrUpdateAsync(String resourceGroupName, String vpnSiteN /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -174,8 +174,8 @@ Mono createOrUpdateAsync(String resourceGroupName, String vpnSiteN /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -190,8 +190,8 @@ VpnSiteInner createOrUpdate(String resourceGroupName, String vpnSiteName, VpnSit /** * Updates VpnSite tags. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to update VpnSite tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -205,8 +205,8 @@ Mono> updateTagsWithResponseAsync(String resourceGroupNam /** * Updates VpnSite tags. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to update VpnSite tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -219,8 +219,8 @@ Mono> updateTagsWithResponseAsync(String resourceGroupNam /** * Updates VpnSite tags. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to update VpnSite tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -235,8 +235,8 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Updates VpnSite tags. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to update VpnSite tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -249,8 +249,8 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -262,8 +262,8 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -275,8 +275,8 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -288,8 +288,8 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -302,8 +302,8 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -315,8 +315,8 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -327,8 +327,8 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -340,7 +340,7 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Lists all the vpnSites in a resource group. * - * @param resourceGroupName The resource group name of the VpnSite. + * @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. @@ -352,7 +352,7 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Lists all the vpnSites in a resource group. * - * @param resourceGroupName The resource group name of the VpnSite. + * @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. @@ -364,7 +364,7 @@ Response updateTagsWithResponse(String resourceGroupName, String v /** * Lists all the vpnSites in a resource group. * - * @param resourceGroupName The resource group name of the VpnSite. + * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java index a00aa38b8937..e02e6b3c402f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -23,8 +23,8 @@ public interface VpnSitesConfigurationsClient { /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -32,14 +32,14 @@ public interface VpnSitesConfigurationsClient { * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> downloadWithResponseAsync(String resourceGroupName, String virtualWanName, + Mono>> downloadWithResponseAsync(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request); /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -47,14 +47,14 @@ Mono>> downloadWithResponseAsync(String resourceGroupN * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDownloadAsync(String resourceGroupName, String virtualWanName, + PollerFlux, Void> beginDownloadAsync(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request); /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -62,14 +62,14 @@ PollerFlux, Void> beginDownloadAsync(String resourceGroupName, * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDownload(String resourceGroupName, String virtualWanName, + SyncPoller, Void> beginDownload(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request); /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -78,14 +78,14 @@ SyncPoller, Void> beginDownload(String resourceGroupName, Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDownload(String resourceGroupName, String virtualWanName, + SyncPoller, Void> beginDownload(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request, Context context); /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -93,26 +93,26 @@ SyncPoller, Void> beginDownload(String resourceGroupName, Strin * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono downloadAsync(String resourceGroupName, String virtualWanName, GetVpnSitesConfigurationRequest request); + Mono downloadAsync(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request); /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @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 download(String resourceGroupName, String virtualWanName, GetVpnSitesConfigurationRequest request); + void download(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request); /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -120,6 +120,6 @@ SyncPoller, Void> beginDownload(String resourceGroupName, Strin * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - void download(String resourceGroupName, String virtualWanName, GetVpnSitesConfigurationRequest request, + void download(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java index 605996b58aaa..27ab3e8605e9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; @@ -26,82 +26,10 @@ */ public interface WebApplicationFirewallPoliciesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Lists all of the protection policies within a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list WebApplicationFirewallPolicies as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); - - /** - * Lists all of the protection policies within a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list WebApplicationFirewallPolicies as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); - - /** - * Lists all of the protection policies within a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list WebApplicationFirewallPolicies as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); - - /** - * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); - - /** - * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); - - /** - * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); - /** * Retrieve protection policy with specified name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -116,7 +44,7 @@ Mono> getByResourceGroupWithResponse /** * Retrieve protection policy with specified name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -129,7 +57,7 @@ Mono> getByResourceGroupWithResponse /** * Retrieve protection policy with specified name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -144,7 +72,7 @@ Response getByResourceGroupWithResponse(Strin /** * Retrieve protection policy with specified name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -157,7 +85,7 @@ Response getByResourceGroupWithResponse(Strin /** * Creates or update policy with specified rule set name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param parameters Policy to be created. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -173,7 +101,7 @@ Mono> createOrUpdateWithResponseAsyn /** * Creates or update policy with specified rule set name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param parameters Policy to be created. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -188,7 +116,7 @@ Mono createOrUpdateAsync(String resourceGroup /** * Creates or update policy with specified rule set name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param parameters Policy to be created. * @param context The context to associate with this operation. @@ -204,7 +132,7 @@ Response createOrUpdateWithResponse(String re /** * Creates or update policy with specified rule set name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param parameters Policy to be created. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -219,7 +147,7 @@ WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, Strin /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -232,7 +160,7 @@ WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, Strin /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -245,7 +173,7 @@ WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, Strin /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -258,7 +186,7 @@ WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, Strin /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -272,7 +200,7 @@ WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, Strin /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -285,7 +213,7 @@ WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, Strin /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -297,7 +225,7 @@ WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, Strin /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -306,4 +234,73 @@ WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, Strin */ @ServiceMethod(returns = ReturnType.SINGLE) void delete(String resourceGroupName, String policyName, Context context); + + /** + * Lists all of the protection policies within a 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 paged collection of WebApplicationFirewallPolicy items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); + + /** + * Lists all of the protection policies within a 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 paged collection of WebApplicationFirewallPolicy items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Lists all of the protection policies within a 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 paged collection of WebApplicationFirewallPolicy items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java index 647e65867efd..ff28e50bb63b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveBaseSecurityAdminRuleInner.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveBaseSecurityAdminRuleInner.java index 7306664d5f05..fb56db3f41f5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveBaseSecurityAdminRuleInner.java @@ -1,15 +1,20 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; 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.network.models.ActiveDefaultSecurityAdminRule; +import com.azure.resourcemanager.network.models.ActiveSecurityAdminRule; +import com.azure.resourcemanager.network.models.ConfigurationGroup; +import com.azure.resourcemanager.network.models.EffectiveAdminRuleKind; +import com.azure.resourcemanager.network.models.NetworkManagerSecurityGroupItem; import java.io.IOException; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; @@ -18,8 +23,8 @@ /** * Network base admin rule. */ -@Fluent -public class ActiveBaseSecurityAdminRule implements JsonSerializable { +@Immutable +public class ActiveBaseSecurityAdminRuleInner implements JsonSerializable { /* * Whether the rule is custom or default. */ @@ -61,9 +66,9 @@ public class ActiveBaseSecurityAdminRule implements JsonSerializable ruleGroups; /** - * Creates an instance of ActiveBaseSecurityAdminRule class. + * Creates an instance of ActiveBaseSecurityAdminRuleInner class. */ - public ActiveBaseSecurityAdminRule() { + protected ActiveBaseSecurityAdminRuleInner() { } /** @@ -88,9 +93,9 @@ public String id() { * Set the id property: Resource ID. * * @param id the id value to set. - * @return the ActiveBaseSecurityAdminRule object itself. + * @return the ActiveBaseSecurityAdminRuleInner object itself. */ - public ActiveBaseSecurityAdminRule withId(String id) { + ActiveBaseSecurityAdminRuleInner withId(String id) { this.id = id; return this; } @@ -108,9 +113,9 @@ public OffsetDateTime commitTime() { * Set the commitTime property: Deployment time string. * * @param commitTime the commitTime value to set. - * @return the ActiveBaseSecurityAdminRule object itself. + * @return the ActiveBaseSecurityAdminRuleInner object itself. */ - public ActiveBaseSecurityAdminRule withCommitTime(OffsetDateTime commitTime) { + ActiveBaseSecurityAdminRuleInner withCommitTime(OffsetDateTime commitTime) { this.commitTime = commitTime; return this; } @@ -128,9 +133,9 @@ public String region() { * Set the region property: Deployment region. * * @param region the region value to set. - * @return the ActiveBaseSecurityAdminRule object itself. + * @return the ActiveBaseSecurityAdminRuleInner object itself. */ - public ActiveBaseSecurityAdminRule withRegion(String region) { + ActiveBaseSecurityAdminRuleInner withRegion(String region) { this.region = region; return this; } @@ -148,9 +153,9 @@ public String configurationDescription() { * Set the configurationDescription property: A description of the security admin configuration. * * @param configurationDescription the configurationDescription value to set. - * @return the ActiveBaseSecurityAdminRule object itself. + * @return the ActiveBaseSecurityAdminRuleInner object itself. */ - public ActiveBaseSecurityAdminRule withConfigurationDescription(String configurationDescription) { + ActiveBaseSecurityAdminRuleInner withConfigurationDescription(String configurationDescription) { this.configurationDescription = configurationDescription; return this; } @@ -168,9 +173,9 @@ public String ruleCollectionDescription() { * Set the ruleCollectionDescription property: A description of the rule collection. * * @param ruleCollectionDescription the ruleCollectionDescription value to set. - * @return the ActiveBaseSecurityAdminRule object itself. + * @return the ActiveBaseSecurityAdminRuleInner object itself. */ - public ActiveBaseSecurityAdminRule withRuleCollectionDescription(String ruleCollectionDescription) { + ActiveBaseSecurityAdminRuleInner withRuleCollectionDescription(String ruleCollectionDescription) { this.ruleCollectionDescription = ruleCollectionDescription; return this; } @@ -188,9 +193,9 @@ public List ruleCollectionAppliesToGroups() { * Set the ruleCollectionAppliesToGroups property: Groups for rule collection. * * @param ruleCollectionAppliesToGroups the ruleCollectionAppliesToGroups value to set. - * @return the ActiveBaseSecurityAdminRule object itself. + * @return the ActiveBaseSecurityAdminRuleInner object itself. */ - public ActiveBaseSecurityAdminRule + ActiveBaseSecurityAdminRuleInner withRuleCollectionAppliesToGroups(List ruleCollectionAppliesToGroups) { this.ruleCollectionAppliesToGroups = ruleCollectionAppliesToGroups; return this; @@ -209,9 +214,9 @@ public List ruleGroups() { * Set the ruleGroups property: Effective configuration groups. * * @param ruleGroups the ruleGroups value to set. - * @return the ActiveBaseSecurityAdminRule object itself. + * @return the ActiveBaseSecurityAdminRuleInner object itself. */ - public ActiveBaseSecurityAdminRule withRuleGroups(List ruleGroups) { + ActiveBaseSecurityAdminRuleInner withRuleGroups(List ruleGroups) { this.ruleGroups = ruleGroups; return this; } @@ -250,14 +255,14 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ActiveBaseSecurityAdminRule from the JsonReader. + * Reads an instance of ActiveBaseSecurityAdminRuleInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ActiveBaseSecurityAdminRule 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 ActiveBaseSecurityAdminRule. + * @return An instance of ActiveBaseSecurityAdminRuleInner 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 ActiveBaseSecurityAdminRuleInner. */ - public static ActiveBaseSecurityAdminRule fromJson(JsonReader jsonReader) throws IOException { + public static ActiveBaseSecurityAdminRuleInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { @@ -284,42 +289,43 @@ public static ActiveBaseSecurityAdminRule fromJson(JsonReader jsonReader) throws }); } - static ActiveBaseSecurityAdminRule fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + static ActiveBaseSecurityAdminRuleInner fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ActiveBaseSecurityAdminRule deserializedActiveBaseSecurityAdminRule = new ActiveBaseSecurityAdminRule(); + ActiveBaseSecurityAdminRuleInner deserializedActiveBaseSecurityAdminRuleInner + = new ActiveBaseSecurityAdminRuleInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("kind".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRule.kind + deserializedActiveBaseSecurityAdminRuleInner.kind = EffectiveAdminRuleKind.fromString(reader.getString()); } else if ("id".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRule.id = reader.getString(); + deserializedActiveBaseSecurityAdminRuleInner.id = reader.getString(); } else if ("commitTime".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRule.commitTime = reader + deserializedActiveBaseSecurityAdminRuleInner.commitTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); } else if ("region".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRule.region = reader.getString(); + deserializedActiveBaseSecurityAdminRuleInner.region = reader.getString(); } else if ("configurationDescription".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRule.configurationDescription = reader.getString(); + deserializedActiveBaseSecurityAdminRuleInner.configurationDescription = reader.getString(); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRule.ruleCollectionDescription = reader.getString(); + deserializedActiveBaseSecurityAdminRuleInner.ruleCollectionDescription = reader.getString(); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedActiveBaseSecurityAdminRule.ruleCollectionAppliesToGroups + deserializedActiveBaseSecurityAdminRuleInner.ruleCollectionAppliesToGroups = ruleCollectionAppliesToGroups; } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedActiveBaseSecurityAdminRule.ruleGroups = ruleGroups; + deserializedActiveBaseSecurityAdminRuleInner.ruleGroups = ruleGroups; } else { reader.skipChildren(); } } - return deserializedActiveBaseSecurityAdminRule; + return deserializedActiveBaseSecurityAdminRuleInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java new file mode 100644 index 000000000000..2874306ee949 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java @@ -0,0 +1,259 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.fluent.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.CoreUtils; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.ConfigurationGroup; +import com.azure.resourcemanager.network.models.ConnectivityConfigurationPropertiesConnectivityCapabilities; +import com.azure.resourcemanager.network.models.ConnectivityGroupItem; +import com.azure.resourcemanager.network.models.ConnectivityTopology; +import com.azure.resourcemanager.network.models.DeleteExistingPeering; +import com.azure.resourcemanager.network.models.Hub; +import com.azure.resourcemanager.network.models.IsGlobal; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.time.format.DateTimeFormatter; +import java.util.List; + +/** + * Active connectivity configuration. + */ +@Immutable +public final class ActiveConnectivityConfigurationInner extends EffectiveConnectivityConfigurationInner { + /* + * Deployment time string. + */ + private OffsetDateTime commitTime; + + /* + * Deployment region. + */ + private String region; + + /* + * Effective configuration groups. + */ + private List configurationGroups; + + /* + * Properties of a network manager connectivity configuration + */ + private ConnectivityConfigurationProperties innerProperties; + + /* + * Connectivity configuration ID. + */ + private String id; + + /** + * Creates an instance of ActiveConnectivityConfigurationInner class. + */ + private ActiveConnectivityConfigurationInner() { + } + + /** + * Get the commitTime property: Deployment time string. + * + * @return the commitTime value. + */ + public OffsetDateTime commitTime() { + return this.commitTime; + } + + /** + * Get the region property: Deployment region. + * + * @return the region value. + */ + public String region() { + return this.region; + } + + /** + * Get the configurationGroups property: Effective configuration groups. + * + * @return the configurationGroups value. + */ + @Override + public List configurationGroups() { + return this.configurationGroups; + } + + /** + * Get the innerProperties property: Properties of a network manager connectivity configuration. + * + * @return the innerProperties value. + */ + private ConnectivityConfigurationProperties innerProperties() { + return this.innerProperties; + } + + /** + * Get the id property: Connectivity configuration ID. + * + * @return the id value. + */ + @Override + public String id() { + return this.id; + } + + /** + * Get the description property: A description of the connectivity configuration. + * + * @return the description value. + */ + public String description() { + return this.innerProperties() == null ? null : this.innerProperties().description(); + } + + /** + * Get the connectivityTopology property: Connectivity topology type. + * + * @return the connectivityTopology value. + */ + public ConnectivityTopology connectivityTopology() { + return this.innerProperties() == null ? null : this.innerProperties().connectivityTopology(); + } + + /** + * Get the hubs property: List of hubItems. + * + * @return the hubs value. + */ + public List hubs() { + return this.innerProperties() == null ? null : this.innerProperties().hubs(); + } + + /** + * Get the isGlobal property: Flag if global mesh is supported. + * + * @return the isGlobal value. + */ + public IsGlobal isGlobal() { + return this.innerProperties() == null ? null : this.innerProperties().isGlobal(); + } + + /** + * Get the connectivityCapabilities property: Collection of additional settings to enhance specific topology + * behaviors of the connectivity configuration resource. + * + * @return the connectivityCapabilities value. + */ + public ConnectivityConfigurationPropertiesConnectivityCapabilities connectivityCapabilities() { + return this.innerProperties() == null ? null : this.innerProperties().connectivityCapabilities(); + } + + /** + * Get the appliesToGroups property: Groups for configuration. + * + * @return the appliesToGroups value. + */ + public List appliesToGroups() { + return this.innerProperties() == null ? null : this.innerProperties().appliesToGroups(); + } + + /** + * Get the provisioningState property: The provisioning state of the connectivity configuration resource. + * + * @return the provisioningState value. + */ + public NetworkProvisioningState provisioningState() { + return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); + } + + /** + * Get the deleteExistingPeering property: Flag if need to remove current existing peerings. + * + * @return the deleteExistingPeering value. + */ + public DeleteExistingPeering deleteExistingPeering() { + return this.innerProperties() == null ? null : this.innerProperties().deleteExistingPeering(); + } + + /** + * Get the resourceGuid property: Unique identifier for this resource. + * + * @return the resourceGuid value. + */ + public String resourceGuid() { + return this.innerProperties() == null ? null : this.innerProperties().resourceGuid(); + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + @Override + public void validate() { + if (innerProperties() != null) { + innerProperties().validate(); + } + if (configurationGroups() != null) { + configurationGroups().forEach(e -> e.validate()); + } + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", id()); + jsonWriter.writeJsonField("properties", innerProperties()); + jsonWriter.writeArrayField("configurationGroups", configurationGroups(), + (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("commitTime", + this.commitTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.commitTime)); + jsonWriter.writeStringField("region", this.region); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ActiveConnectivityConfigurationInner from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ActiveConnectivityConfigurationInner 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 ActiveConnectivityConfigurationInner. + */ + public static ActiveConnectivityConfigurationInner fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ActiveConnectivityConfigurationInner deserializedActiveConnectivityConfigurationInner + = new ActiveConnectivityConfigurationInner(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedActiveConnectivityConfigurationInner.id = reader.getString(); + } else if ("properties".equals(fieldName)) { + deserializedActiveConnectivityConfigurationInner.innerProperties + = ConnectivityConfigurationProperties.fromJson(reader); + } else if ("configurationGroups".equals(fieldName)) { + List configurationGroups + = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); + deserializedActiveConnectivityConfigurationInner.configurationGroups = configurationGroups; + } else if ("commitTime".equals(fieldName)) { + deserializedActiveConnectivityConfigurationInner.commitTime = reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else if ("region".equals(fieldName)) { + deserializedActiveConnectivityConfigurationInner.region = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedActiveConnectivityConfigurationInner; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java index c0a76ae1d4b7..2ca4fc5ceb1a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java index 488d700fb665..3da1e3f0e5ee 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -36,17 +36,17 @@ public final class AdminRuleCollectionInner extends ChildResource { private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -85,7 +85,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -95,7 +95,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -105,7 +105,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -206,7 +206,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AdminRuleCollectionInner 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 AdminRuleCollectionInner. */ public static AdminRuleCollectionInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java index 2a523aa7a0a6..3fa76e1111d2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java index 02c102be3b85..522fdffabd0e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -127,7 +127,7 @@ public ApplicationGatewayAuthenticationCertificateInner withData(String data) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java index 038609fec851..badda6ce4f12 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -26,7 +26,7 @@ public final class ApplicationGatewayAuthenticationCertificatePropertiesFormat /* * The provisioning state of the authentication certificate resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayAuthenticationCertificatePropertiesFormat class. @@ -59,7 +59,7 @@ public ApplicationGatewayAuthenticationCertificatePropertiesFormat withData(Stri * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -103,7 +103,7 @@ public static ApplicationGatewayAuthenticationCertificatePropertiesFormat fromJs deserializedApplicationGatewayAuthenticationCertificatePropertiesFormat.data = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayAuthenticationCertificatePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java index 1cfcf1b0e61b..7de2066557e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.Resource; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; @@ -20,7 +20,7 @@ /** * Response for ApplicationGatewayAvailableSslOptions API service call. */ -@Fluent +@Immutable public final class ApplicationGatewayAvailableSslOptionsInner extends Resource { /* * Properties of the application gateway available SSL options. @@ -45,7 +45,7 @@ public final class ApplicationGatewayAvailableSslOptionsInner extends Resource { /** * Creates an instance of ApplicationGatewayAvailableSslOptionsInner class. */ - public ApplicationGatewayAvailableSslOptionsInner() { + private ApplicationGatewayAvailableSslOptionsInner() { } /** @@ -66,17 +66,6 @@ public String id() { return this.id; } - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the ApplicationGatewayAvailableSslOptionsInner object itself. - */ - public ApplicationGatewayAvailableSslOptionsInner withId(String id) { - this.id = id; - return this; - } - /** * Get the type property: The type of the resource. * @@ -97,24 +86,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public ApplicationGatewayAvailableSslOptionsInner withLocation(String location) { - super.withLocation(location); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ApplicationGatewayAvailableSslOptionsInner withTags(Map tags) { - super.withTags(tags); - return this; - } - /** * Get the predefinedPolicies property: List of available Ssl predefined policy. * @@ -124,20 +95,6 @@ public List predefinedPolicies() { return this.innerProperties() == null ? null : this.innerProperties().predefinedPolicies(); } - /** - * Set the predefinedPolicies property: List of available Ssl predefined policy. - * - * @param predefinedPolicies the predefinedPolicies value to set. - * @return the ApplicationGatewayAvailableSslOptionsInner object itself. - */ - public ApplicationGatewayAvailableSslOptionsInner withPredefinedPolicies(List predefinedPolicies) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayAvailableSslOptionsPropertiesFormat(); - } - this.innerProperties().withPredefinedPolicies(predefinedPolicies); - return this; - } - /** * Get the defaultPolicy property: Name of the Ssl predefined policy applied by default to application gateway. * @@ -147,20 +104,6 @@ public ApplicationGatewaySslPolicyName defaultPolicy() { return this.innerProperties() == null ? null : this.innerProperties().defaultPolicy(); } - /** - * Set the defaultPolicy property: Name of the Ssl predefined policy applied by default to application gateway. - * - * @param defaultPolicy the defaultPolicy value to set. - * @return the ApplicationGatewayAvailableSslOptionsInner object itself. - */ - public ApplicationGatewayAvailableSslOptionsInner withDefaultPolicy(ApplicationGatewaySslPolicyName defaultPolicy) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayAvailableSslOptionsPropertiesFormat(); - } - this.innerProperties().withDefaultPolicy(defaultPolicy); - return this; - } - /** * Get the availableCipherSuites property: List of available Ssl cipher suites. * @@ -170,21 +113,6 @@ public List availableCipherSuites() { return this.innerProperties() == null ? null : this.innerProperties().availableCipherSuites(); } - /** - * Set the availableCipherSuites property: List of available Ssl cipher suites. - * - * @param availableCipherSuites the availableCipherSuites value to set. - * @return the ApplicationGatewayAvailableSslOptionsInner object itself. - */ - public ApplicationGatewayAvailableSslOptionsInner - withAvailableCipherSuites(List availableCipherSuites) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayAvailableSslOptionsPropertiesFormat(); - } - this.innerProperties().withAvailableCipherSuites(availableCipherSuites); - return this; - } - /** * Get the availableProtocols property: List of available Ssl protocols. * @@ -194,21 +122,6 @@ public List availableProtocols() { return this.innerProperties() == null ? null : this.innerProperties().availableProtocols(); } - /** - * Set the availableProtocols property: List of available Ssl protocols. - * - * @param availableProtocols the availableProtocols value to set. - * @return the ApplicationGatewayAvailableSslOptionsInner object itself. - */ - public ApplicationGatewayAvailableSslOptionsInner - withAvailableProtocols(List availableProtocols) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayAvailableSslOptionsPropertiesFormat(); - } - this.innerProperties().withAvailableProtocols(availableProtocols); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java index 1da5b16e6b8d..b364b259f30f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -19,7 +19,7 @@ /** * Properties of ApplicationGatewayAvailableSslOptions. */ -@Fluent +@Immutable public final class ApplicationGatewayAvailableSslOptionsPropertiesFormat implements JsonSerializable { /* @@ -45,7 +45,7 @@ public final class ApplicationGatewayAvailableSslOptionsPropertiesFormat /** * Creates an instance of ApplicationGatewayAvailableSslOptionsPropertiesFormat class. */ - public ApplicationGatewayAvailableSslOptionsPropertiesFormat() { + private ApplicationGatewayAvailableSslOptionsPropertiesFormat() { } /** @@ -57,18 +57,6 @@ public List predefinedPolicies() { return this.predefinedPolicies; } - /** - * Set the predefinedPolicies property: List of available Ssl predefined policy. - * - * @param predefinedPolicies the predefinedPolicies value to set. - * @return the ApplicationGatewayAvailableSslOptionsPropertiesFormat object itself. - */ - public ApplicationGatewayAvailableSslOptionsPropertiesFormat - withPredefinedPolicies(List predefinedPolicies) { - this.predefinedPolicies = predefinedPolicies; - return this; - } - /** * Get the defaultPolicy property: Name of the Ssl predefined policy applied by default to application gateway. * @@ -78,18 +66,6 @@ public ApplicationGatewaySslPolicyName defaultPolicy() { return this.defaultPolicy; } - /** - * Set the defaultPolicy property: Name of the Ssl predefined policy applied by default to application gateway. - * - * @param defaultPolicy the defaultPolicy value to set. - * @return the ApplicationGatewayAvailableSslOptionsPropertiesFormat object itself. - */ - public ApplicationGatewayAvailableSslOptionsPropertiesFormat - withDefaultPolicy(ApplicationGatewaySslPolicyName defaultPolicy) { - this.defaultPolicy = defaultPolicy; - return this; - } - /** * Get the availableCipherSuites property: List of available Ssl cipher suites. * @@ -99,18 +75,6 @@ public List availableCipherSuites() { return this.availableCipherSuites; } - /** - * Set the availableCipherSuites property: List of available Ssl cipher suites. - * - * @param availableCipherSuites the availableCipherSuites value to set. - * @return the ApplicationGatewayAvailableSslOptionsPropertiesFormat object itself. - */ - public ApplicationGatewayAvailableSslOptionsPropertiesFormat - withAvailableCipherSuites(List availableCipherSuites) { - this.availableCipherSuites = availableCipherSuites; - return this; - } - /** * Get the availableProtocols property: List of available Ssl protocols. * @@ -120,18 +84,6 @@ public List availableProtocols() { return this.availableProtocols; } - /** - * Set the availableProtocols property: List of available Ssl protocols. - * - * @param availableProtocols the availableProtocols value to set. - * @return the ApplicationGatewayAvailableSslOptionsPropertiesFormat object itself. - */ - public ApplicationGatewayAvailableSslOptionsPropertiesFormat - withAvailableProtocols(List availableProtocols) { - this.availableProtocols = availableProtocols; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java index bc0f594420e4..56ec021e95b3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * Response for ApplicationGatewayAvailableWafRuleSets API service call. */ -@Fluent +@Immutable public final class ApplicationGatewayAvailableWafRuleSetsResultInner implements JsonSerializable { /* @@ -27,7 +27,7 @@ public final class ApplicationGatewayAvailableWafRuleSetsResultInner /** * Creates an instance of ApplicationGatewayAvailableWafRuleSetsResultInner class. */ - public ApplicationGatewayAvailableWafRuleSetsResultInner() { + private ApplicationGatewayAvailableWafRuleSetsResultInner() { } /** @@ -39,17 +39,6 @@ public List value() { return this.value; } - /** - * Set the value property: The list of application gateway rule sets. - * - * @param value the value value to set. - * @return the ApplicationGatewayAvailableWafRuleSetsResultInner object itself. - */ - public ApplicationGatewayAvailableWafRuleSetsResultInner withValue(List value) { - this.value = value; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java index d738ac338edd..6bf791ad6c91 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayBackendAddress; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -33,7 +33,7 @@ public final class ApplicationGatewayBackendAddressPoolPropertiesFormat /* * The provisioning state of the backend address pool resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayBackendAddressPoolPropertiesFormat class. @@ -76,7 +76,7 @@ public List backendAddresses() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -134,7 +134,7 @@ public static ApplicationGatewayBackendAddressPoolPropertiesFormat fromJson(Json = backendAddresses; } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayBackendAddressPoolPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java index 76ce129487ce..586055027b71 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * Response for ApplicationGatewayBackendHealth API service call. */ -@Fluent +@Immutable public final class ApplicationGatewayBackendHealthInner implements JsonSerializable { /* @@ -27,7 +27,7 @@ public final class ApplicationGatewayBackendHealthInner /** * Creates an instance of ApplicationGatewayBackendHealthInner class. */ - public ApplicationGatewayBackendHealthInner() { + private ApplicationGatewayBackendHealthInner() { } /** @@ -39,18 +39,6 @@ public List backendAddressPools() { return this.backendAddressPools; } - /** - * Set the backendAddressPools property: A list of ApplicationGatewayBackendHealthPool resources. - * - * @param backendAddressPools the backendAddressPools value to set. - * @return the ApplicationGatewayBackendHealthInner object itself. - */ - public ApplicationGatewayBackendHealthInner - withBackendAddressPools(List backendAddressPools) { - this.backendAddressPools = backendAddressPools; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java index 13db8d1d7119..bac48201cef4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * Result of on demand test probe. */ -@Fluent +@Immutable public final class ApplicationGatewayBackendHealthOnDemandInner implements JsonSerializable { /* @@ -32,7 +32,7 @@ public final class ApplicationGatewayBackendHealthOnDemandInner /** * Creates an instance of ApplicationGatewayBackendHealthOnDemandInner class. */ - public ApplicationGatewayBackendHealthOnDemandInner() { + private ApplicationGatewayBackendHealthOnDemandInner() { } /** @@ -44,18 +44,6 @@ public ApplicationGatewayBackendAddressPool backendAddressPool() { return this.backendAddressPool; } - /** - * Set the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource. - * - * @param backendAddressPool the backendAddressPool value to set. - * @return the ApplicationGatewayBackendHealthOnDemandInner object itself. - */ - public ApplicationGatewayBackendHealthOnDemandInner - withBackendAddressPool(ApplicationGatewayBackendAddressPool backendAddressPool) { - this.backendAddressPool = backendAddressPool; - return this; - } - /** * Get the backendHealthHttpSettings property: Application gateway BackendHealthHttp settings. * @@ -65,18 +53,6 @@ public ApplicationGatewayBackendHealthHttpSettings backendHealthHttpSettings() { return this.backendHealthHttpSettings; } - /** - * Set the backendHealthHttpSettings property: Application gateway BackendHealthHttp settings. - * - * @param backendHealthHttpSettings the backendHealthHttpSettings value to set. - * @return the ApplicationGatewayBackendHealthOnDemandInner object itself. - */ - public ApplicationGatewayBackendHealthOnDemandInner - withBackendHealthHttpSettings(ApplicationGatewayBackendHealthHttpSettings backendHealthHttpSettings) { - this.backendHealthHttpSettings = backendHealthHttpSettings; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java index 5efc3292ae30..bd9d5ac1b410 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Application gateway backendhealth http settings. */ -@Fluent +@Immutable public final class ApplicationGatewayBackendHealthServerInner implements JsonSerializable { /* @@ -41,7 +41,7 @@ public final class ApplicationGatewayBackendHealthServerInner /** * Creates an instance of ApplicationGatewayBackendHealthServerInner class. */ - public ApplicationGatewayBackendHealthServerInner() { + private ApplicationGatewayBackendHealthServerInner() { } /** @@ -53,17 +53,6 @@ public String address() { return this.address; } - /** - * Set the address property: IP address or FQDN of backend server. - * - * @param address the address value to set. - * @return the ApplicationGatewayBackendHealthServerInner object itself. - */ - public ApplicationGatewayBackendHealthServerInner withAddress(String address) { - this.address = address; - return this; - } - /** * Get the ipConfiguration property: Reference to IP configuration of backend server. * @@ -73,18 +62,6 @@ public NetworkInterfaceIpConfigurationInner ipConfiguration() { return this.ipConfiguration; } - /** - * Set the ipConfiguration property: Reference to IP configuration of backend server. - * - * @param ipConfiguration the ipConfiguration value to set. - * @return the ApplicationGatewayBackendHealthServerInner object itself. - */ - public ApplicationGatewayBackendHealthServerInner - withIpConfiguration(NetworkInterfaceIpConfigurationInner ipConfiguration) { - this.ipConfiguration = ipConfiguration; - return this; - } - /** * Get the health property: Health of backend server. * @@ -94,17 +71,6 @@ public ApplicationGatewayBackendHealthServerHealth health() { return this.health; } - /** - * Set the health property: Health of backend server. - * - * @param health the health value to set. - * @return the ApplicationGatewayBackendHealthServerInner object itself. - */ - public ApplicationGatewayBackendHealthServerInner withHealth(ApplicationGatewayBackendHealthServerHealth health) { - this.health = health; - return this; - } - /** * Get the healthProbeLog property: Health Probe Log. * @@ -114,17 +80,6 @@ public String healthProbeLog() { return this.healthProbeLog; } - /** - * Set the healthProbeLog property: Health Probe Log. - * - * @param healthProbeLog the healthProbeLog value to set. - * @return the ApplicationGatewayBackendHealthServerInner object itself. - */ - public ApplicationGatewayBackendHealthServerInner withHealthProbeLog(String healthProbeLog) { - this.healthProbeLog = healthProbeLog; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java index f4904cac1e60..2fc34651390d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayConnectionDraining; import com.azure.resourcemanager.network.models.ApplicationGatewayCookieBasedAffinity; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -105,7 +105,7 @@ public final class ApplicationGatewayBackendHttpSettingsPropertiesFormat * When enabled, verifies if the Common Name of the certificate provided by the backend server matches the Server * Name Indication (SNI) value. Default value is true. */ - private Boolean validateSni; + private Boolean validateSNI; /* * Specify an SNI value to match the common name of the certificate on the backend. By default, the application @@ -116,7 +116,7 @@ public final class ApplicationGatewayBackendHttpSettingsPropertiesFormat /* * The provisioning state of the backend HTTP settings resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayBackendHttpSettingsPropertiesFormat class. @@ -444,24 +444,24 @@ public Boolean validateCertChainAndExpiry() { } /** - * Get the validateSni property: When enabled, verifies if the Common Name of the certificate provided by the + * Get the validateSNI property: When enabled, verifies if the Common Name of the certificate provided by the * backend server matches the Server Name Indication (SNI) value. Default value is true. * - * @return the validateSni value. + * @return the validateSNI value. */ - public Boolean validateSni() { - return this.validateSni; + public Boolean validateSNI() { + return this.validateSNI; } /** - * Set the validateSni property: When enabled, verifies if the Common Name of the certificate provided by the + * Set the validateSNI property: When enabled, verifies if the Common Name of the certificate provided by the * backend server matches the Server Name Indication (SNI) value. Default value is true. * - * @param validateSni the validateSni value to set. + * @param validateSNI the validateSNI value to set. * @return the ApplicationGatewayBackendHttpSettingsPropertiesFormat object itself. */ - public ApplicationGatewayBackendHttpSettingsPropertiesFormat withValidateSni(Boolean validateSni) { - this.validateSni = validateSni; + public ApplicationGatewayBackendHttpSettingsPropertiesFormat withValidateSNI(Boolean validateSNI) { + this.validateSNI = validateSNI; return this; } @@ -492,7 +492,7 @@ public ApplicationGatewayBackendHttpSettingsPropertiesFormat withSniName(String * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -531,7 +531,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("path", this.path); jsonWriter.writeBooleanField("dedicatedBackendConnection", this.dedicatedBackendConnection); jsonWriter.writeBooleanField("validateCertChainAndExpiry", this.validateCertChainAndExpiry); - jsonWriter.writeBooleanField("validateSNI", this.validateSni); + jsonWriter.writeBooleanField("validateSNI", this.validateSNI); jsonWriter.writeStringField("sniName", this.sniName); return jsonWriter.writeEndObject(); } @@ -601,13 +601,13 @@ public static ApplicationGatewayBackendHttpSettingsPropertiesFormat fromJson(Jso deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.validateCertChainAndExpiry = reader.getNullable(JsonReader::getBoolean); } else if ("validateSNI".equals(fieldName)) { - deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.validateSni + deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.validateSNI = reader.getNullable(JsonReader::getBoolean); } else if ("sniName".equals(fieldName)) { deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.sniName = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java index f3033707a7c8..34cdd486aae2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -66,7 +66,7 @@ public final class ApplicationGatewayBackendSettingsPropertiesFormat /* * The provisioning state of the backend HTTP settings resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayBackendSettingsPropertiesFormat class. @@ -248,7 +248,7 @@ public Boolean enableL4ClientIpPreservation() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -320,7 +320,7 @@ public static ApplicationGatewayBackendSettingsPropertiesFormat fromJson(JsonRea = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayBackendSettingsPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java index 5ae5e80a65ce..0cf3cda6396c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayUnAuthorizedRequestAction; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -18,8 +18,8 @@ * Properties of entra jwt validation configuration of the application gateway. */ @Fluent -public final class ApplicationGatewayEntraJwtValidationConfigPropertiesFormat - implements JsonSerializable { +public final class ApplicationGatewayEntraJWTValidationConfigPropertiesFormat + implements JsonSerializable { /* * Unauthorized request action. */ @@ -44,12 +44,12 @@ public final class ApplicationGatewayEntraJwtValidationConfigPropertiesFormat /* * The provisioning state of the entra jwt validation configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** - * Creates an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat class. + * Creates an instance of ApplicationGatewayEntraJWTValidationConfigPropertiesFormat class. */ - public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat() { + public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat() { } /** @@ -65,9 +65,9 @@ public ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction() { * Set the unAuthorizedRequestAction property: Unauthorized request action. * * @param unAuthorizedRequestAction the unAuthorizedRequestAction value to set. - * @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself. + * @return the ApplicationGatewayEntraJWTValidationConfigPropertiesFormat object itself. */ - public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat + public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction) { this.unAuthorizedRequestAction = unAuthorizedRequestAction; return this; @@ -86,9 +86,9 @@ public String tenantId() { * Set the tenantId property: The Tenant ID of the Microsoft Entra ID application. * * @param tenantId the tenantId value to set. - * @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself. + * @return the ApplicationGatewayEntraJWTValidationConfigPropertiesFormat object itself. */ - public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withTenantId(String tenantId) { + public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat withTenantId(String tenantId) { this.tenantId = tenantId; return this; } @@ -106,9 +106,9 @@ public String clientId() { * Set the clientId property: The Client ID of the Microsoft Entra ID application. * * @param clientId the clientId value to set. - * @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself. + * @return the ApplicationGatewayEntraJWTValidationConfigPropertiesFormat object itself. */ - public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withClientId(String clientId) { + public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat withClientId(String clientId) { this.clientId = clientId; return this; } @@ -128,9 +128,9 @@ public List audiences() { * maximum of 5 audiences are permitted. * * @param audiences the audiences value to set. - * @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself. + * @return the ApplicationGatewayEntraJWTValidationConfigPropertiesFormat object itself. */ - public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withAudiences(List audiences) { + public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat withAudiences(List audiences) { this.audiences = audiences; return this; } @@ -140,7 +140,7 @@ public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withAudiences( * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -167,44 +167,44 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat from the JsonReader. + * Reads an instance of ApplicationGatewayEntraJWTValidationConfigPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat if the JsonReader was pointing + * @return An instance of ApplicationGatewayEntraJWTValidationConfigPropertiesFormat if the JsonReader was pointing * to an instance of it, or null if it was pointing to JSON null. * @throws IOException If an error occurs while reading the - * ApplicationGatewayEntraJwtValidationConfigPropertiesFormat. + * ApplicationGatewayEntraJWTValidationConfigPropertiesFormat. */ - public static ApplicationGatewayEntraJwtValidationConfigPropertiesFormat fromJson(JsonReader jsonReader) + public static ApplicationGatewayEntraJWTValidationConfigPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ApplicationGatewayEntraJwtValidationConfigPropertiesFormat deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat - = new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat(); + ApplicationGatewayEntraJWTValidationConfigPropertiesFormat deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat + = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("unAuthorizedRequestAction".equals(fieldName)) { - deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.unAuthorizedRequestAction + deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.unAuthorizedRequestAction = ApplicationGatewayUnAuthorizedRequestAction.fromString(reader.getString()); } else if ("tenantId".equals(fieldName)) { - deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.tenantId + deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.tenantId = reader.getString(); } else if ("clientId".equals(fieldName)) { - deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.clientId + deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.clientId = reader.getString(); } else if ("audiences".equals(fieldName)) { List audiences = reader.readArray(reader1 -> reader1.getString()); - deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.audiences = audiences; + deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.audiences = audiences; } else if ("provisioningState".equals(fieldName)) { - deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat; + return deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java index c425dedde397..4b6c27058739 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -12,20 +12,20 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayFirewallRuleGroup; import com.azure.resourcemanager.network.models.ApplicationGatewayTierTypes; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; /** * Properties of the web application firewall rule set. */ -@Fluent +@Immutable public final class ApplicationGatewayFirewallRuleSetPropertiesFormat implements JsonSerializable { /* * The provisioning state of the web application firewall rule set. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The type of the web application firewall rule set. @@ -50,7 +50,7 @@ public final class ApplicationGatewayFirewallRuleSetPropertiesFormat /** * Creates an instance of ApplicationGatewayFirewallRuleSetPropertiesFormat class. */ - public ApplicationGatewayFirewallRuleSetPropertiesFormat() { + private ApplicationGatewayFirewallRuleSetPropertiesFormat() { } /** @@ -58,7 +58,7 @@ public ApplicationGatewayFirewallRuleSetPropertiesFormat() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -71,17 +71,6 @@ public String ruleSetType() { return this.ruleSetType; } - /** - * Set the ruleSetType property: The type of the web application firewall rule set. - * - * @param ruleSetType the ruleSetType value to set. - * @return the ApplicationGatewayFirewallRuleSetPropertiesFormat object itself. - */ - public ApplicationGatewayFirewallRuleSetPropertiesFormat withRuleSetType(String ruleSetType) { - this.ruleSetType = ruleSetType; - return this; - } - /** * Get the ruleSetVersion property: The version of the web application firewall rule set type. * @@ -91,17 +80,6 @@ public String ruleSetVersion() { return this.ruleSetVersion; } - /** - * Set the ruleSetVersion property: The version of the web application firewall rule set type. - * - * @param ruleSetVersion the ruleSetVersion value to set. - * @return the ApplicationGatewayFirewallRuleSetPropertiesFormat object itself. - */ - public ApplicationGatewayFirewallRuleSetPropertiesFormat withRuleSetVersion(String ruleSetVersion) { - this.ruleSetVersion = ruleSetVersion; - return this; - } - /** * Get the ruleGroups property: The rule groups of the web application firewall rule set. * @@ -111,18 +89,6 @@ public List ruleGroups() { return this.ruleGroups; } - /** - * Set the ruleGroups property: The rule groups of the web application firewall rule set. - * - * @param ruleGroups the ruleGroups value to set. - * @return the ApplicationGatewayFirewallRuleSetPropertiesFormat object itself. - */ - public ApplicationGatewayFirewallRuleSetPropertiesFormat - withRuleGroups(List ruleGroups) { - this.ruleGroups = ruleGroups; - return this; - } - /** * Get the tiers property: Tier of an application gateway that support the rule set. * @@ -132,17 +98,6 @@ public List tiers() { return this.tiers; } - /** - * Set the tiers property: Tier of an application gateway that support the rule set. - * - * @param tiers the tiers value to set. - * @return the ApplicationGatewayFirewallRuleSetPropertiesFormat object itself. - */ - public ApplicationGatewayFirewallRuleSetPropertiesFormat withTiers(List tiers) { - this.tiers = tiers; - return this; - } - /** * Validates the instance. * @@ -212,7 +167,7 @@ public static ApplicationGatewayFirewallRuleSetPropertiesFormat fromJson(JsonRea deserializedApplicationGatewayFirewallRuleSetPropertiesFormat.ruleGroups = ruleGroups; } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayFirewallRuleSetPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("tiers".equals(fieldName)) { List tiers = reader.readArray(reader1 -> ApplicationGatewayTierTypes.fromString(reader1.getString())); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java index 31bb7891f756..946e7e59fe8d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,15 +11,15 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** * Properties of Frontend IP configuration of an application gateway. */ @Fluent -public final class ApplicationGatewayFrontendIpConfigurationPropertiesFormat - implements JsonSerializable { +public final class ApplicationGatewayFrontendIPConfigurationPropertiesFormat + implements JsonSerializable { /* * PrivateIPAddress of the network interface IP Configuration. */ @@ -48,12 +48,12 @@ public final class ApplicationGatewayFrontendIpConfigurationPropertiesFormat /* * The provisioning state of the frontend IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** - * Creates an instance of ApplicationGatewayFrontendIpConfigurationPropertiesFormat class. + * Creates an instance of ApplicationGatewayFrontendIPConfigurationPropertiesFormat class. */ - public ApplicationGatewayFrontendIpConfigurationPropertiesFormat() { + public ApplicationGatewayFrontendIPConfigurationPropertiesFormat() { } /** @@ -69,9 +69,9 @@ public String privateIpAddress() { * Set the privateIpAddress property: PrivateIPAddress of the network interface IP Configuration. * * @param privateIpAddress the privateIpAddress value to set. - * @return the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayFrontendIPConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withPrivateIpAddress(String privateIpAddress) { + public ApplicationGatewayFrontendIPConfigurationPropertiesFormat withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -89,9 +89,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: The private IP address allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayFrontendIPConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayFrontendIpConfigurationPropertiesFormat + public ApplicationGatewayFrontendIPConfigurationPropertiesFormat withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -110,9 +110,9 @@ public SubResource subnet() { * Set the subnet property: Reference to the subnet resource. * * @param subnet the subnet value to set. - * @return the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayFrontendIPConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withSubnet(SubResource subnet) { + public ApplicationGatewayFrontendIPConfigurationPropertiesFormat withSubnet(SubResource subnet) { this.subnet = subnet; return this; } @@ -130,9 +130,9 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: Reference to the PublicIP resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayFrontendIPConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { + public ApplicationGatewayFrontendIPConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -150,9 +150,9 @@ public SubResource privateLinkConfiguration() { * Set the privateLinkConfiguration property: Reference to the application gateway private link configuration. * * @param privateLinkConfiguration the privateLinkConfiguration value to set. - * @return the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayFrontendIPConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayFrontendIpConfigurationPropertiesFormat + public ApplicationGatewayFrontendIPConfigurationPropertiesFormat withPrivateLinkConfiguration(SubResource privateLinkConfiguration) { this.privateLinkConfiguration = privateLinkConfiguration; return this; @@ -163,7 +163,7 @@ public SubResource privateLinkConfiguration() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -191,47 +191,47 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ApplicationGatewayFrontendIpConfigurationPropertiesFormat from the JsonReader. + * Reads an instance of ApplicationGatewayFrontendIPConfigurationPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ApplicationGatewayFrontendIpConfigurationPropertiesFormat if the JsonReader was pointing + * @return An instance of ApplicationGatewayFrontendIPConfigurationPropertiesFormat 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 - * ApplicationGatewayFrontendIpConfigurationPropertiesFormat. + * ApplicationGatewayFrontendIPConfigurationPropertiesFormat. */ - public static ApplicationGatewayFrontendIpConfigurationPropertiesFormat fromJson(JsonReader jsonReader) + public static ApplicationGatewayFrontendIPConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ApplicationGatewayFrontendIpConfigurationPropertiesFormat deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat - = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); + ApplicationGatewayFrontendIPConfigurationPropertiesFormat deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat + = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.privateIpAddress + deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.privateIpAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.privateIpAllocationMethod + deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.subnet + deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.publicIpAddress + deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.publicIpAddress = SubResource.fromJson(reader); } else if ("privateLinkConfiguration".equals(fieldName)) { - deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.privateLinkConfiguration + deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.privateLinkConfiguration = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat; + return deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java index c1bf6b98a0c5..dfaa8de83e10 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -26,7 +26,7 @@ public final class ApplicationGatewayFrontendPortPropertiesFormat /* * The provisioning state of the frontend port resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayFrontendPortPropertiesFormat class. @@ -59,7 +59,7 @@ public ApplicationGatewayFrontendPortPropertiesFormat withPort(Integer port) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -102,7 +102,7 @@ public static ApplicationGatewayFrontendPortPropertiesFormat fromJson(JsonReader = reader.getNullable(JsonReader::getInt); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayFrontendPortPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java index 1b132e92888a..1430b04c3e8d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayCustomError; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -60,7 +60,7 @@ public final class ApplicationGatewayHttpListenerPropertiesFormat /* * The provisioning state of the HTTP listener resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Custom error configurations of the HTTP listener. @@ -232,7 +232,7 @@ public Boolean requireServerNameIndication() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -366,7 +366,7 @@ public static ApplicationGatewayHttpListenerPropertiesFormat fromJson(JsonReader = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayHttpListenerPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("customErrorConfigurations".equals(fieldName)) { List customErrorConfigurations = reader.readArray(reader1 -> ApplicationGatewayCustomError.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java index c1240aa1be04..e1f8f060f858 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayBackendHttpSettings; import com.azure.resourcemanager.network.models.ApplicationGatewayBackendSettings; import com.azure.resourcemanager.network.models.ApplicationGatewayCustomError; -import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJwtValidationConfig; +import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJWTValidationConfig; import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendIpConfiguration; import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendPort; import com.azure.resourcemanager.network.models.ApplicationGatewayGlobalConfiguration; @@ -33,7 +33,7 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayTrustedRootCertificate; import com.azure.resourcemanager.network.models.ApplicationGatewayWebApplicationFirewallConfiguration; import com.azure.resourcemanager.network.models.ManagedServiceIdentity; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -924,7 +924,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -1002,30 +1002,30 @@ public List loadDistributionPolicies() } /** - * Get the entraJwtValidationConfigs property: Entra JWT validation configurations for the application gateway + * Get the entraJWTValidationConfigs property: Entra JWT validation configurations for the application gateway * resource. For default limits, see [Application Gateway * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * - * @return the entraJwtValidationConfigs value. + * @return the entraJWTValidationConfigs value. */ - public List entraJwtValidationConfigs() { - return this.innerProperties() == null ? null : this.innerProperties().entraJwtValidationConfigs(); + public List entraJWTValidationConfigs() { + return this.innerProperties() == null ? null : this.innerProperties().entraJWTValidationConfigs(); } /** - * Set the entraJwtValidationConfigs property: Entra JWT validation configurations for the application gateway + * Set the entraJWTValidationConfigs property: Entra JWT validation configurations for the application gateway * resource. For default limits, see [Application Gateway * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * - * @param entraJwtValidationConfigs the entraJwtValidationConfigs value to set. + * @param entraJWTValidationConfigs the entraJWTValidationConfigs value to set. * @return the ApplicationGatewayInner object itself. */ public ApplicationGatewayInner - withEntraJwtValidationConfigs(List entraJwtValidationConfigs) { + withEntraJWTValidationConfigs(List entraJWTValidationConfigs) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayPropertiesFormat(); } - this.innerProperties().withEntraJwtValidationConfigs(entraJwtValidationConfigs); + this.innerProperties().withEntraJWTValidationConfigs(entraJWTValidationConfigs); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java index 31017d09bdbc..32a21a17f8f4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -20,7 +20,7 @@ public final class ApplicationGatewayIpConfigurationInner extends SubResource { /* * Properties of the application gateway IP configuration. */ - private ApplicationGatewayIpConfigurationPropertiesFormat innerProperties; + private ApplicationGatewayIPConfigurationPropertiesFormat innerProperties; /* * Name of the IP configuration that is unique within an Application Gateway. @@ -48,7 +48,7 @@ public ApplicationGatewayIpConfigurationInner() { * * @return the innerProperties value. */ - private ApplicationGatewayIpConfigurationPropertiesFormat innerProperties() { + private ApplicationGatewayIPConfigurationPropertiesFormat innerProperties() { return this.innerProperties; } @@ -118,7 +118,7 @@ public SubResource subnet() { */ public ApplicationGatewayIpConfigurationInner withSubnet(SubResource subnet) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayIpConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayIPConfigurationPropertiesFormat(); } this.innerProperties().withSubnet(subnet); return this; @@ -129,7 +129,7 @@ public ApplicationGatewayIpConfigurationInner withSubnet(SubResource subnet) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -176,7 +176,7 @@ public static ApplicationGatewayIpConfigurationInner fromJson(JsonReader jsonRea deserializedApplicationGatewayIpConfigurationInner.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedApplicationGatewayIpConfigurationInner.innerProperties - = ApplicationGatewayIpConfigurationPropertiesFormat.fromJson(reader); + = ApplicationGatewayIPConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedApplicationGatewayIpConfigurationInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java index 028ed6acb29b..713f531b3e1d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,15 +10,15 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** * Properties of IP configuration of an application gateway. */ @Fluent -public final class ApplicationGatewayIpConfigurationPropertiesFormat - implements JsonSerializable { +public final class ApplicationGatewayIPConfigurationPropertiesFormat + implements JsonSerializable { /* * Reference to the subnet resource. A subnet from where application gateway gets its private address. */ @@ -27,12 +27,12 @@ public final class ApplicationGatewayIpConfigurationPropertiesFormat /* * The provisioning state of the application gateway IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** - * Creates an instance of ApplicationGatewayIpConfigurationPropertiesFormat class. + * Creates an instance of ApplicationGatewayIPConfigurationPropertiesFormat class. */ - public ApplicationGatewayIpConfigurationPropertiesFormat() { + public ApplicationGatewayIPConfigurationPropertiesFormat() { } /** @@ -50,9 +50,9 @@ public SubResource subnet() { * private address. * * @param subnet the subnet value to set. - * @return the ApplicationGatewayIpConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayIPConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayIpConfigurationPropertiesFormat withSubnet(SubResource subnet) { + public ApplicationGatewayIPConfigurationPropertiesFormat withSubnet(SubResource subnet) { this.subnet = subnet; return this; } @@ -62,7 +62,7 @@ public ApplicationGatewayIpConfigurationPropertiesFormat withSubnet(SubResource * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -85,32 +85,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ApplicationGatewayIpConfigurationPropertiesFormat from the JsonReader. + * Reads an instance of ApplicationGatewayIPConfigurationPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ApplicationGatewayIpConfigurationPropertiesFormat if the JsonReader was pointing to an + * @return An instance of ApplicationGatewayIPConfigurationPropertiesFormat 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 ApplicationGatewayIpConfigurationPropertiesFormat. + * @throws IOException If an error occurs while reading the ApplicationGatewayIPConfigurationPropertiesFormat. */ - public static ApplicationGatewayIpConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { + public static ApplicationGatewayIPConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ApplicationGatewayIpConfigurationPropertiesFormat deserializedApplicationGatewayIpConfigurationPropertiesFormat - = new ApplicationGatewayIpConfigurationPropertiesFormat(); + ApplicationGatewayIPConfigurationPropertiesFormat deserializedApplicationGatewayIPConfigurationPropertiesFormat + = new ApplicationGatewayIPConfigurationPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("subnet".equals(fieldName)) { - deserializedApplicationGatewayIpConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); + deserializedApplicationGatewayIPConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedApplicationGatewayIpConfigurationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedApplicationGatewayIPConfigurationPropertiesFormat.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedApplicationGatewayIpConfigurationPropertiesFormat; + return deserializedApplicationGatewayIPConfigurationPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java index 4f420287753b..3b26f620de2b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -221,7 +221,7 @@ public ApplicationGatewayListenerInner withSslProfile(SubResource sslProfile) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java index 7438fbcb699b..927e66ab0929 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -49,7 +49,7 @@ public final class ApplicationGatewayListenerPropertiesFormat /* * The provisioning state of the listener resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * List of Server Name Indications(SNI) for TLS Multi-site Listener that allows special wildcard characters as well. @@ -167,7 +167,7 @@ public ApplicationGatewayListenerPropertiesFormat withSslProfile(SubResource ssl * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -247,7 +247,7 @@ public static ApplicationGatewayListenerPropertiesFormat fromJson(JsonReader jso deserializedApplicationGatewayListenerPropertiesFormat.sslProfile = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayListenerPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("hostNames".equals(fieldName)) { List hostNames = reader.readArray(reader1 -> reader1.getString()); deserializedApplicationGatewayListenerPropertiesFormat.hostNames = hostNames; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java index 6479b8e5d268..891e4a826f36 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayLoadDistributionAlgorithm; import com.azure.resourcemanager.network.models.ApplicationGatewayLoadDistributionTarget; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -34,7 +34,7 @@ public final class ApplicationGatewayLoadDistributionPolicyPropertiesFormat /* * The provisioning state of the Load Distribution Policy resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayLoadDistributionPolicyPropertiesFormat class. @@ -89,7 +89,7 @@ public ApplicationGatewayLoadDistributionAlgorithm loadDistributionAlgorithm() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -145,7 +145,7 @@ public static ApplicationGatewayLoadDistributionPolicyPropertiesFormat fromJson( = ApplicationGatewayLoadDistributionAlgorithm.fromString(reader.getString()); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayLoadDistributionPolicyPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java index 0ee873e5a838..ce48a528e7e6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java index 26ff2a804d23..627a92e293c3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -243,7 +243,7 @@ public ApplicationGatewayPathRuleInner withLoadDistributionPolicy(SubResource lo * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java index 430235723392..96b546e6dddc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -53,7 +53,7 @@ public final class ApplicationGatewayPathRulePropertiesFormat /* * The provisioning state of the path rule resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Reference to the FirewallPolicy resource. @@ -191,7 +191,7 @@ public ApplicationGatewayPathRulePropertiesFormat withLoadDistributionPolicy(Sub * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -275,7 +275,7 @@ public static ApplicationGatewayPathRulePropertiesFormat fromJson(JsonReader jso = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayPathRulePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("firewallPolicy".equals(fieldName)) { deserializedApplicationGatewayPathRulePropertiesFormat.firewallPolicy = SubResource.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java index 4a70e1111f69..4e2cfbad427b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java @@ -1,40 +1,35 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** * Private Endpoint connection on an application gateway. */ @Fluent -public final class ApplicationGatewayPrivateEndpointConnectionInner extends SubResource { +public final class ApplicationGatewayPrivateEndpointConnectionInner extends SubResourceModel { /* * Properties of the application gateway private endpoint connection. */ private ApplicationGatewayPrivateEndpointConnectionPropertiesInner innerProperties; - /* - * Name of the private endpoint connection on an application gateway. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Type of the resource. + * Resource type. */ private String type; @@ -53,26 +48,6 @@ private ApplicationGatewayPrivateEndpointConnectionPropertiesInner innerProperti return this.innerProperties; } - /** - * Get the name property: Name of the private endpoint connection on an application gateway. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Name of the private endpoint connection on an application gateway. - * - * @param name the name value to set. - * @return the ApplicationGatewayPrivateEndpointConnectionInner object itself. - */ - public ApplicationGatewayPrivateEndpointConnectionInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -83,10 +58,11 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -100,6 +76,15 @@ public ApplicationGatewayPrivateEndpointConnectionInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public ApplicationGatewayPrivateEndpointConnectionInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the privateEndpoint property: The resource of private end point. * @@ -141,7 +126,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -159,6 +144,7 @@ public String linkIdentifier() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -172,8 +158,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -195,15 +181,15 @@ public static ApplicationGatewayPrivateEndpointConnectionInner fromJson(JsonRead if ("id".equals(fieldName)) { deserializedApplicationGatewayPrivateEndpointConnectionInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedApplicationGatewayPrivateEndpointConnectionInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedApplicationGatewayPrivateEndpointConnectionInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedApplicationGatewayPrivateEndpointConnectionInner.innerProperties = ApplicationGatewayPrivateEndpointConnectionPropertiesInner.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedApplicationGatewayPrivateEndpointConnectionInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedApplicationGatewayPrivateEndpointConnectionInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedApplicationGatewayPrivateEndpointConnectionInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java index 81ad94c229fc..c6301a585092 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,8 +9,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -32,7 +32,7 @@ public final class ApplicationGatewayPrivateEndpointConnectionPropertiesInner /* * The provisioning state of the application gateway private endpoint connection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The consumer link id. @@ -83,7 +83,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -146,7 +146,7 @@ public static ApplicationGatewayPrivateEndpointConnectionPropertiesInner fromJso = PrivateLinkServiceConnectionState.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayPrivateEndpointConnectionPropertiesInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("linkIdentifier".equals(fieldName)) { deserializedApplicationGatewayPrivateEndpointConnectionPropertiesInner.linkIdentifier = reader.getString(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java index 5e0c98b17d18..7686ca0b6ec5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayPrivateLinkIpConfiguration; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -28,7 +28,7 @@ public final class ApplicationGatewayPrivateLinkConfigurationProperties /* * The provisioning state of the application gateway private link configuration. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayPrivateLinkConfigurationProperties class. @@ -62,7 +62,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -112,7 +112,7 @@ public static ApplicationGatewayPrivateLinkConfigurationProperties fromJson(Json = ipConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayPrivateLinkConfigurationProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java index 986d94e6b3c1..05016d9a0c33 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -23,7 +23,7 @@ public final class ApplicationGatewayPrivateLinkIpConfigurationProperties /* * The private IP address of the IP configuration. */ - private String privateIpAddress; + private String privateIPAddress; /* * The private IP address allocation method. @@ -43,7 +43,7 @@ public final class ApplicationGatewayPrivateLinkIpConfigurationProperties /* * The provisioning state of the application gateway private link IP configuration. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayPrivateLinkIpConfigurationProperties class. @@ -52,22 +52,22 @@ public ApplicationGatewayPrivateLinkIpConfigurationProperties() { } /** - * Get the privateIpAddress property: The private IP address of the IP configuration. + * Get the privateIPAddress property: The private IP address of the IP configuration. * - * @return the privateIpAddress value. + * @return the privateIPAddress value. */ - public String privateIpAddress() { - return this.privateIpAddress; + public String privateIPAddress() { + return this.privateIPAddress; } /** - * Set the privateIpAddress property: The private IP address of the IP configuration. + * Set the privateIPAddress property: The private IP address of the IP configuration. * - * @param privateIpAddress the privateIpAddress value to set. + * @param privateIPAddress the privateIPAddress value to set. * @return the ApplicationGatewayPrivateLinkIpConfigurationProperties object itself. */ - public ApplicationGatewayPrivateLinkIpConfigurationProperties withPrivateIpAddress(String privateIpAddress) { - this.privateIpAddress = privateIpAddress; + public ApplicationGatewayPrivateLinkIpConfigurationProperties withPrivateIPAddress(String privateIPAddress) { + this.privateIPAddress = privateIPAddress; return this; } @@ -138,7 +138,7 @@ public ApplicationGatewayPrivateLinkIpConfigurationProperties withPrimary(Boolea * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -156,7 +156,7 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("privateIPAddress", this.privateIpAddress); + jsonWriter.writeStringField("privateIPAddress", this.privateIPAddress); jsonWriter.writeStringField("privateIPAllocationMethod", this.privateIpAllocationMethod == null ? null : this.privateIpAllocationMethod.toString()); jsonWriter.writeJsonField("subnet", this.subnet); @@ -182,7 +182,7 @@ public static ApplicationGatewayPrivateLinkIpConfigurationProperties fromJson(Js reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedApplicationGatewayPrivateLinkIpConfigurationProperties.privateIpAddress + deserializedApplicationGatewayPrivateLinkIpConfigurationProperties.privateIPAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { deserializedApplicationGatewayPrivateLinkIpConfigurationProperties.privateIpAllocationMethod @@ -195,7 +195,7 @@ public static ApplicationGatewayPrivateLinkIpConfigurationProperties fromJson(Js = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayPrivateLinkIpConfigurationProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java index 84cd9095b8d6..07f8f920bc54 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * PrivateLink Resource of an application gateway. */ -@Fluent +@Immutable public final class ApplicationGatewayPrivateLinkResourceInner extends SubResource { /* * Properties of the application gateway private link resource. @@ -40,7 +40,7 @@ public final class ApplicationGatewayPrivateLinkResourceInner extends SubResourc /** * Creates an instance of ApplicationGatewayPrivateLinkResourceInner class. */ - public ApplicationGatewayPrivateLinkResourceInner() { + private ApplicationGatewayPrivateLinkResourceInner() { } /** @@ -61,17 +61,6 @@ public String name() { return this.name; } - /** - * Set the name property: Name of the private link resource that is unique within an Application Gateway. - * - * @param name the name value to set. - * @return the ApplicationGatewayPrivateLinkResourceInner object itself. - */ - public ApplicationGatewayPrivateLinkResourceInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -90,15 +79,6 @@ public String type() { return this.type; } - /** - * {@inheritDoc} - */ - @Override - public ApplicationGatewayPrivateLinkResourceInner withId(String id) { - super.withId(id); - return this; - } - /** * Get the groupId property: Group identifier of private link resource. * @@ -126,20 +106,6 @@ public List requiredZoneNames() { return this.innerProperties() == null ? null : this.innerProperties().requiredZoneNames(); } - /** - * Set the requiredZoneNames property: Required DNS zone names of the the private link resource. - * - * @param requiredZoneNames the requiredZoneNames value to set. - * @return the ApplicationGatewayPrivateLinkResourceInner object itself. - */ - public ApplicationGatewayPrivateLinkResourceInner withRequiredZoneNames(List requiredZoneNames) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayPrivateLinkResourceProperties(); - } - this.innerProperties().withRequiredZoneNames(requiredZoneNames); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java index 6d89fadc8c10..aaa614ce71d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Properties of a private link resource. */ -@Fluent +@Immutable public final class ApplicationGatewayPrivateLinkResourceProperties implements JsonSerializable { /* @@ -36,7 +36,7 @@ public final class ApplicationGatewayPrivateLinkResourceProperties /** * Creates an instance of ApplicationGatewayPrivateLinkResourceProperties class. */ - public ApplicationGatewayPrivateLinkResourceProperties() { + private ApplicationGatewayPrivateLinkResourceProperties() { } /** @@ -66,17 +66,6 @@ public List requiredZoneNames() { return this.requiredZoneNames; } - /** - * Set the requiredZoneNames property: Required DNS zone names of the the private link resource. - * - * @param requiredZoneNames the requiredZoneNames value to set. - * @return the ApplicationGatewayPrivateLinkResourceProperties object itself. - */ - public ApplicationGatewayPrivateLinkResourceProperties withRequiredZoneNames(List requiredZoneNames) { - this.requiredZoneNames = requiredZoneNames; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java index 471f97fe2ca1..f6031226b0d3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayProbeHealthResponseMatch; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -374,7 +374,7 @@ public ApplicationGatewayProbeInner withEnableProbeProxyProtocolHeader(Boolean e * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java index a309b1fddaec..7aa73865cf92 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayProbeHealthResponseMatch; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -83,7 +83,7 @@ public final class ApplicationGatewayProbePropertiesFormat /* * The provisioning state of the probe resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case @@ -339,7 +339,7 @@ public Boolean enableProbeProxyProtocolHeader() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -448,7 +448,7 @@ public static ApplicationGatewayProbePropertiesFormat fromJson(JsonReader jsonRe = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayProbePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("port".equals(fieldName)) { deserializedApplicationGatewayProbePropertiesFormat.port = reader.getNullable(JsonReader::getInt); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java index 19744210de96..16614d1e028f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayBackendHttpSettings; import com.azure.resourcemanager.network.models.ApplicationGatewayBackendSettings; import com.azure.resourcemanager.network.models.ApplicationGatewayCustomError; -import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJwtValidationConfig; +import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJWTValidationConfig; import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendIpConfiguration; import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendPort; import com.azure.resourcemanager.network.models.ApplicationGatewayGlobalConfiguration; @@ -32,7 +32,7 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayTrustedClientCertificate; import com.azure.resourcemanager.network.models.ApplicationGatewayTrustedRootCertificate; import com.azure.resourcemanager.network.models.ApplicationGatewayWebApplicationFirewallConfiguration; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -209,7 +209,7 @@ public final class ApplicationGatewayPropertiesFormat implements JsonSerializabl /* * The provisioning state of the application gateway resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Custom error configurations of the application gateway resource. @@ -231,7 +231,7 @@ public final class ApplicationGatewayPropertiesFormat implements JsonSerializabl * Entra JWT validation configurations for the application gateway resource. For default limits, see [Application * Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ - private List entraJwtValidationConfigs; + private List entraJWTValidationConfigs; /* * Global Configuration. @@ -894,7 +894,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -964,27 +964,27 @@ public List loadDistributionPolicies() } /** - * Get the entraJwtValidationConfigs property: Entra JWT validation configurations for the application gateway + * Get the entraJWTValidationConfigs property: Entra JWT validation configurations for the application gateway * resource. For default limits, see [Application Gateway * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * - * @return the entraJwtValidationConfigs value. + * @return the entraJWTValidationConfigs value. */ - public List entraJwtValidationConfigs() { - return this.entraJwtValidationConfigs; + public List entraJWTValidationConfigs() { + return this.entraJWTValidationConfigs; } /** - * Set the entraJwtValidationConfigs property: Entra JWT validation configurations for the application gateway + * Set the entraJWTValidationConfigs property: Entra JWT validation configurations for the application gateway * resource. For default limits, see [Application Gateway * limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). * - * @param entraJwtValidationConfigs the entraJwtValidationConfigs value to set. + * @param entraJWTValidationConfigs the entraJWTValidationConfigs value to set. * @return the ApplicationGatewayPropertiesFormat object itself. */ public ApplicationGatewayPropertiesFormat - withEntraJwtValidationConfigs(List entraJwtValidationConfigs) { - this.entraJwtValidationConfigs = entraJwtValidationConfigs; + withEntraJWTValidationConfigs(List entraJWTValidationConfigs) { + this.entraJWTValidationConfigs = entraJWTValidationConfigs; return this; } @@ -1106,8 +1106,8 @@ public void validate() { if (loadDistributionPolicies() != null) { loadDistributionPolicies().forEach(e -> e.validate()); } - if (entraJwtValidationConfigs() != null) { - entraJwtValidationConfigs().forEach(e -> e.validate()); + if (entraJWTValidationConfigs() != null) { + entraJWTValidationConfigs().forEach(e -> e.validate()); } if (globalConfiguration() != null) { globalConfiguration().validate(); @@ -1165,7 +1165,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeBooleanField("forceFirewallPolicyAssociation", this.forceFirewallPolicyAssociation); jsonWriter.writeArrayField("loadDistributionPolicies", this.loadDistributionPolicies, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeArrayField("entraJWTValidationConfigs", this.entraJwtValidationConfigs, + jsonWriter.writeArrayField("entraJWTValidationConfigs", this.entraJWTValidationConfigs, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("globalConfiguration", this.globalConfiguration); return jsonWriter.writeEndObject(); @@ -1303,7 +1303,7 @@ public static ApplicationGatewayPropertiesFormat fromJson(JsonReader jsonReader) deserializedApplicationGatewayPropertiesFormat.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("customErrorConfigurations".equals(fieldName)) { List customErrorConfigurations = reader.readArray(reader1 -> ApplicationGatewayCustomError.fromJson(reader1)); @@ -1317,10 +1317,10 @@ public static ApplicationGatewayPropertiesFormat fromJson(JsonReader jsonReader) = reader.readArray(reader1 -> ApplicationGatewayLoadDistributionPolicy.fromJson(reader1)); deserializedApplicationGatewayPropertiesFormat.loadDistributionPolicies = loadDistributionPolicies; } else if ("entraJWTValidationConfigs".equals(fieldName)) { - List entraJwtValidationConfigs - = reader.readArray(reader1 -> ApplicationGatewayEntraJwtValidationConfig.fromJson(reader1)); - deserializedApplicationGatewayPropertiesFormat.entraJwtValidationConfigs - = entraJwtValidationConfigs; + List entraJWTValidationConfigs + = reader.readArray(reader1 -> ApplicationGatewayEntraJWTValidationConfig.fromJson(reader1)); + deserializedApplicationGatewayPropertiesFormat.entraJWTValidationConfigs + = entraJWTValidationConfigs; } else if ("globalConfiguration".equals(fieldName)) { deserializedApplicationGatewayPropertiesFormat.globalConfiguration = ApplicationGatewayGlobalConfiguration.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java index f40d77998904..e9ab98f00658 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java index 172af382965b..bc38705bba70 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java index 0331057dc5bf..89b836d22e7e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayRequestRoutingRuleType; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -308,28 +308,28 @@ public ApplicationGatewayRequestRoutingRuleInner withLoadDistributionPolicy(SubR } /** - * Get the entraJwtValidationConfig property: Entra JWT validation configuration resource of the application + * Get the entraJWTValidationConfig property: Entra JWT validation configuration resource of the application * gateway. * - * @return the entraJwtValidationConfig value. + * @return the entraJWTValidationConfig value. */ - public SubResource entraJwtValidationConfig() { - return this.innerProperties() == null ? null : this.innerProperties().entraJwtValidationConfig(); + public SubResource entraJWTValidationConfig() { + return this.innerProperties() == null ? null : this.innerProperties().entraJWTValidationConfig(); } /** - * Set the entraJwtValidationConfig property: Entra JWT validation configuration resource of the application + * Set the entraJWTValidationConfig property: Entra JWT validation configuration resource of the application * gateway. * - * @param entraJwtValidationConfig the entraJwtValidationConfig value to set. + * @param entraJWTValidationConfig the entraJWTValidationConfig value to set. * @return the ApplicationGatewayRequestRoutingRuleInner object itself. */ public ApplicationGatewayRequestRoutingRuleInner - withEntraJwtValidationConfig(SubResource entraJwtValidationConfig) { + withEntraJWTValidationConfig(SubResource entraJWTValidationConfig) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayRequestRoutingRulePropertiesFormat(); } - this.innerProperties().withEntraJwtValidationConfig(entraJwtValidationConfig); + this.innerProperties().withEntraJWTValidationConfig(entraJWTValidationConfig); return this; } @@ -338,7 +338,7 @@ public SubResource entraJwtValidationConfig() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java index 10760a48b810..47c31194db56 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayRequestRoutingRuleType; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -68,12 +68,12 @@ public final class ApplicationGatewayRequestRoutingRulePropertiesFormat /* * Entra JWT validation configuration resource of the application gateway. */ - private SubResource entraJwtValidationConfig; + private SubResource entraJWTValidationConfig; /* * The provisioning state of the request routing rule resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayRequestRoutingRulePropertiesFormat class. @@ -266,25 +266,25 @@ public SubResource loadDistributionPolicy() { } /** - * Get the entraJwtValidationConfig property: Entra JWT validation configuration resource of the application + * Get the entraJWTValidationConfig property: Entra JWT validation configuration resource of the application * gateway. * - * @return the entraJwtValidationConfig value. + * @return the entraJWTValidationConfig value. */ - public SubResource entraJwtValidationConfig() { - return this.entraJwtValidationConfig; + public SubResource entraJWTValidationConfig() { + return this.entraJWTValidationConfig; } /** - * Set the entraJwtValidationConfig property: Entra JWT validation configuration resource of the application + * Set the entraJWTValidationConfig property: Entra JWT validation configuration resource of the application * gateway. * - * @param entraJwtValidationConfig the entraJwtValidationConfig value to set. + * @param entraJWTValidationConfig the entraJWTValidationConfig value to set. * @return the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself. */ public ApplicationGatewayRequestRoutingRulePropertiesFormat - withEntraJwtValidationConfig(SubResource entraJwtValidationConfig) { - this.entraJwtValidationConfig = entraJwtValidationConfig; + withEntraJWTValidationConfig(SubResource entraJWTValidationConfig) { + this.entraJWTValidationConfig = entraJWTValidationConfig; return this; } @@ -293,7 +293,7 @@ public SubResource entraJwtValidationConfig() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -320,7 +320,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("rewriteRuleSet", this.rewriteRuleSet); jsonWriter.writeJsonField("redirectConfiguration", this.redirectConfiguration); jsonWriter.writeJsonField("loadDistributionPolicy", this.loadDistributionPolicy); - jsonWriter.writeJsonField("entraJWTValidationConfig", this.entraJwtValidationConfig); + jsonWriter.writeJsonField("entraJWTValidationConfig", this.entraJWTValidationConfig); return jsonWriter.writeEndObject(); } @@ -369,11 +369,11 @@ public static ApplicationGatewayRequestRoutingRulePropertiesFormat fromJson(Json deserializedApplicationGatewayRequestRoutingRulePropertiesFormat.loadDistributionPolicy = SubResource.fromJson(reader); } else if ("entraJWTValidationConfig".equals(fieldName)) { - deserializedApplicationGatewayRequestRoutingRulePropertiesFormat.entraJwtValidationConfig + deserializedApplicationGatewayRequestRoutingRulePropertiesFormat.entraJWTValidationConfig = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayRequestRoutingRulePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java index 5d6d85d6f773..91693e08091e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRule; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -28,7 +28,7 @@ public final class ApplicationGatewayRewriteRuleSetPropertiesFormat /* * The provisioning state of the rewrite rule set resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayRewriteRuleSetPropertiesFormat class. @@ -62,7 +62,7 @@ public List rewriteRules() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -109,7 +109,7 @@ public static ApplicationGatewayRewriteRuleSetPropertiesFormat fromJson(JsonRead deserializedApplicationGatewayRewriteRuleSetPropertiesFormat.rewriteRules = rewriteRules; } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayRewriteRuleSetPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java index f13bd7abcd11..bd484a8782f1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayRequestRoutingRuleType; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -48,7 +48,7 @@ public final class ApplicationGatewayRoutingRulePropertiesFormat /* * The provisioning state of the request routing rule resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayRoutingRulePropertiesFormat class. @@ -162,7 +162,7 @@ public ApplicationGatewayRoutingRulePropertiesFormat withListener(SubResource li * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -220,7 +220,7 @@ public static ApplicationGatewayRoutingRulePropertiesFormat fromJson(JsonReader deserializedApplicationGatewayRoutingRulePropertiesFormat.listener = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayRoutingRulePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java index 4f18f5047570..9964e364083c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -185,7 +185,7 @@ public ApplicationGatewaySslCertificateInner withKeyVaultSecretId(String keyVaul * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java index 26d056d26238..084817dbb1bc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -41,7 +41,7 @@ public final class ApplicationGatewaySslCertificatePropertiesFormat /* * The provisioning state of the SSL certificate resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewaySslCertificatePropertiesFormat class. @@ -126,7 +126,7 @@ public ApplicationGatewaySslCertificatePropertiesFormat withKeyVaultSecretId(Str * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -176,7 +176,7 @@ public static ApplicationGatewaySslCertificatePropertiesFormat fromJson(JsonRead deserializedApplicationGatewaySslCertificatePropertiesFormat.keyVaultSecretId = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewaySslCertificatePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java index 0b620e59179b..a92bcb9b89c2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -17,7 +17,7 @@ /** * An Ssl predefined policy. */ -@Fluent +@Immutable public final class ApplicationGatewaySslPredefinedPolicyInner extends SubResource { /* * Name of the Ssl predefined policy. @@ -32,7 +32,7 @@ public final class ApplicationGatewaySslPredefinedPolicyInner extends SubResourc /** * Creates an instance of ApplicationGatewaySslPredefinedPolicyInner class. */ - public ApplicationGatewaySslPredefinedPolicyInner() { + private ApplicationGatewaySslPredefinedPolicyInner() { } /** @@ -44,17 +44,6 @@ public String name() { return this.name; } - /** - * Set the name property: Name of the Ssl predefined policy. - * - * @param name the name value to set. - * @return the ApplicationGatewaySslPredefinedPolicyInner object itself. - */ - public ApplicationGatewaySslPredefinedPolicyInner withName(String name) { - this.name = name; - return this; - } - /** * Get the innerProperties property: Properties of the application gateway SSL predefined policy. * @@ -64,15 +53,6 @@ private ApplicationGatewaySslPredefinedPolicyPropertiesFormat innerProperties() return this.innerProperties; } - /** - * {@inheritDoc} - */ - @Override - public ApplicationGatewaySslPredefinedPolicyInner withId(String id) { - super.withId(id); - return this; - } - /** * Get the cipherSuites property: Ssl cipher suites to be enabled in the specified order for application gateway. * @@ -82,21 +62,6 @@ public List cipherSuites() { return this.innerProperties() == null ? null : this.innerProperties().cipherSuites(); } - /** - * Set the cipherSuites property: Ssl cipher suites to be enabled in the specified order for application gateway. - * - * @param cipherSuites the cipherSuites value to set. - * @return the ApplicationGatewaySslPredefinedPolicyInner object itself. - */ - public ApplicationGatewaySslPredefinedPolicyInner - withCipherSuites(List cipherSuites) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewaySslPredefinedPolicyPropertiesFormat(); - } - this.innerProperties().withCipherSuites(cipherSuites); - return this; - } - /** * Get the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway. * @@ -106,21 +71,6 @@ public ApplicationGatewaySslProtocol minProtocolVersion() { return this.innerProperties() == null ? null : this.innerProperties().minProtocolVersion(); } - /** - * Set the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway. - * - * @param minProtocolVersion the minProtocolVersion value to set. - * @return the ApplicationGatewaySslPredefinedPolicyInner object itself. - */ - public ApplicationGatewaySslPredefinedPolicyInner - withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewaySslPredefinedPolicyPropertiesFormat(); - } - this.innerProperties().withMinProtocolVersion(minProtocolVersion); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java index f9bc62056539..efdadbe3935c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,7 +17,7 @@ /** * Properties of ApplicationGatewaySslPredefinedPolicy. */ -@Fluent +@Immutable public final class ApplicationGatewaySslPredefinedPolicyPropertiesFormat implements JsonSerializable { /* @@ -33,7 +33,7 @@ public final class ApplicationGatewaySslPredefinedPolicyPropertiesFormat /** * Creates an instance of ApplicationGatewaySslPredefinedPolicyPropertiesFormat class. */ - public ApplicationGatewaySslPredefinedPolicyPropertiesFormat() { + private ApplicationGatewaySslPredefinedPolicyPropertiesFormat() { } /** @@ -45,18 +45,6 @@ public List cipherSuites() { return this.cipherSuites; } - /** - * Set the cipherSuites property: Ssl cipher suites to be enabled in the specified order for application gateway. - * - * @param cipherSuites the cipherSuites value to set. - * @return the ApplicationGatewaySslPredefinedPolicyPropertiesFormat object itself. - */ - public ApplicationGatewaySslPredefinedPolicyPropertiesFormat - withCipherSuites(List cipherSuites) { - this.cipherSuites = cipherSuites; - return this; - } - /** * Get the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway. * @@ -66,18 +54,6 @@ public ApplicationGatewaySslProtocol minProtocolVersion() { return this.minProtocolVersion; } - /** - * Set the minProtocolVersion property: Minimum version of Ssl protocol to be supported on application gateway. - * - * @param minProtocolVersion the minProtocolVersion value to set. - * @return the ApplicationGatewaySslPredefinedPolicyPropertiesFormat object itself. - */ - public ApplicationGatewaySslPredefinedPolicyPropertiesFormat - withMinProtocolVersion(ApplicationGatewaySslProtocol minProtocolVersion) { - this.minProtocolVersion = minProtocolVersion; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java index b2a727709256..c49ca63a1f04 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayClientAuthConfiguration; import com.azure.resourcemanager.network.models.ApplicationGatewaySslPolicy; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -40,7 +40,7 @@ public final class ApplicationGatewaySslProfilePropertiesFormat /* * The provisioning state of the HTTP listener resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewaySslProfilePropertiesFormat class. @@ -119,7 +119,7 @@ public ApplicationGatewayClientAuthConfiguration clientAuthConfiguration() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -179,7 +179,7 @@ public static ApplicationGatewaySslProfilePropertiesFormat fromJson(JsonReader j = ApplicationGatewayClientAuthConfiguration.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewaySslProfilePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java index b1ebaf4bcd65..baa91819679c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -36,7 +36,7 @@ public final class ApplicationGatewayTrustedClientCertificatePropertiesFormat /* * The provisioning state of the trusted client certificate resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayTrustedClientCertificatePropertiesFormat class. @@ -87,7 +87,7 @@ public String clientCertIssuerDN() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -137,7 +137,7 @@ public static ApplicationGatewayTrustedClientCertificatePropertiesFormat fromJso = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayTrustedClientCertificatePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java index 1a8c4585ad9b..4242d651b010 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -31,7 +31,7 @@ public final class ApplicationGatewayTrustedRootCertificatePropertiesFormat /* * The provisioning state of the trusted root certificate resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayTrustedRootCertificatePropertiesFormat class. @@ -86,7 +86,7 @@ public ApplicationGatewayTrustedRootCertificatePropertiesFormat withKeyVaultSecr * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -134,7 +134,7 @@ public static ApplicationGatewayTrustedRootCertificatePropertiesFormat fromJson( = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayTrustedRootCertificatePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java index 17b0cbbf694a..202525e3ce9c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -245,7 +245,7 @@ public ApplicationGatewayUrlPathMapInner withPathRules(List { /* @@ -32,7 +32,7 @@ public final class ApplicationGatewayWafDynamicManifestPropertiesResult /** * Creates an instance of ApplicationGatewayWafDynamicManifestPropertiesResult class. */ - public ApplicationGatewayWafDynamicManifestPropertiesResult() { + private ApplicationGatewayWafDynamicManifestPropertiesResult() { } /** @@ -53,18 +53,6 @@ public List availableRuleSets() { return this.availableRuleSets; } - /** - * Set the availableRuleSets property: The available rulesets. - * - * @param availableRuleSets the availableRuleSets value to set. - * @return the ApplicationGatewayWafDynamicManifestPropertiesResult object itself. - */ - public ApplicationGatewayWafDynamicManifestPropertiesResult - withAvailableRuleSets(List availableRuleSets) { - this.availableRuleSets = availableRuleSets; - return this; - } - /** * Get the ruleSetType property: The type of the web application firewall rule set. * @@ -74,20 +62,6 @@ public String ruleSetType() { return this.innerDefaultRuleSet() == null ? null : this.innerDefaultRuleSet().ruleSetType(); } - /** - * Set the ruleSetType property: The type of the web application firewall rule set. - * - * @param ruleSetType the ruleSetType value to set. - * @return the ApplicationGatewayWafDynamicManifestPropertiesResult object itself. - */ - public ApplicationGatewayWafDynamicManifestPropertiesResult withRuleSetType(String ruleSetType) { - if (this.innerDefaultRuleSet() == null) { - this.innerDefaultRuleSet = new DefaultRuleSetPropertyFormat(); - } - this.innerDefaultRuleSet().withRuleSetType(ruleSetType); - return this; - } - /** * Get the ruleSetVersion property: The version of the web application firewall rule set type. * @@ -97,20 +71,6 @@ public String ruleSetVersion() { return this.innerDefaultRuleSet() == null ? null : this.innerDefaultRuleSet().ruleSetVersion(); } - /** - * Set the ruleSetVersion property: The version of the web application firewall rule set type. - * - * @param ruleSetVersion the ruleSetVersion value to set. - * @return the ApplicationGatewayWafDynamicManifestPropertiesResult object itself. - */ - public ApplicationGatewayWafDynamicManifestPropertiesResult withRuleSetVersion(String ruleSetVersion) { - if (this.innerDefaultRuleSet() == null) { - this.innerDefaultRuleSet = new DefaultRuleSetPropertyFormat(); - } - this.innerDefaultRuleSet().withRuleSetVersion(ruleSetVersion); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java index 47d7d54c7e6a..15665e2610fe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java @@ -1,68 +1,66 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +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.network.models.ApplicationGatewayFirewallManifestRuleSet; +import com.azure.resourcemanager.network.models.ProxyResourcewithoutEtag; import java.io.IOException; import java.util.List; /** * Response for ApplicationGatewayWafDynamicManifest API service call. */ -@Fluent -public final class ApplicationGatewayWafDynamicManifestResultInner - implements JsonSerializable { +@Immutable +public final class ApplicationGatewayWafDynamicManifestResultInner extends ProxyResourcewithoutEtag { /* - * Resource ID. + * Properties of the ApplicationGatewayWafDynamicManifest . */ - private String id; + private ApplicationGatewayWafDynamicManifestPropertiesResult innerProperties; /* - * Resource name. + * Resource type. */ - private String name; + private String type; /* - * Resource type. + * Resource name. */ - private String type; + private String name; /* - * Properties of the ApplicationGatewayWafDynamicManifest . + * Resource ID. */ - private ApplicationGatewayWafDynamicManifestPropertiesResult innerProperties; + private String id; /** * Creates an instance of ApplicationGatewayWafDynamicManifestResultInner class. */ - public ApplicationGatewayWafDynamicManifestResultInner() { + private ApplicationGatewayWafDynamicManifestResultInner() { } /** - * Get the id property: Resource ID. + * Get the innerProperties property: Properties of the ApplicationGatewayWafDynamicManifest . * - * @return the id value. + * @return the innerProperties value. */ - public String id() { - return this.id; + private ApplicationGatewayWafDynamicManifestPropertiesResult innerProperties() { + return this.innerProperties; } /** - * Set the id property: Resource ID. + * Get the type property: Resource type. * - * @param id the id value to set. - * @return the ApplicationGatewayWafDynamicManifestResultInner object itself. + * @return the type value. */ - public ApplicationGatewayWafDynamicManifestResultInner withId(String id) { - this.id = id; - return this; + @Override + public String type() { + return this.type; } /** @@ -70,26 +68,19 @@ public ApplicationGatewayWafDynamicManifestResultInner withId(String id) { * * @return the name value. */ + @Override public String name() { return this.name; } /** - * Get the type property: Resource type. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Get the innerProperties property: Properties of the ApplicationGatewayWafDynamicManifest . + * Get the id property: Resource ID. * - * @return the innerProperties value. + * @return the id value. */ - private ApplicationGatewayWafDynamicManifestPropertiesResult innerProperties() { - return this.innerProperties; + @Override + public String id() { + return this.id; } /** @@ -101,21 +92,6 @@ public List availableRuleSets() { return this.innerProperties() == null ? null : this.innerProperties().availableRuleSets(); } - /** - * Set the availableRuleSets property: The available rulesets. - * - * @param availableRuleSets the availableRuleSets value to set. - * @return the ApplicationGatewayWafDynamicManifestResultInner object itself. - */ - public ApplicationGatewayWafDynamicManifestResultInner - withAvailableRuleSets(List availableRuleSets) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayWafDynamicManifestPropertiesResult(); - } - this.innerProperties().withAvailableRuleSets(availableRuleSets); - return this; - } - /** * Get the ruleSetType property: The type of the web application firewall rule set. * @@ -125,20 +101,6 @@ public String ruleSetType() { return this.innerProperties() == null ? null : this.innerProperties().ruleSetType(); } - /** - * Set the ruleSetType property: The type of the web application firewall rule set. - * - * @param ruleSetType the ruleSetType value to set. - * @return the ApplicationGatewayWafDynamicManifestResultInner object itself. - */ - public ApplicationGatewayWafDynamicManifestResultInner withRuleSetType(String ruleSetType) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayWafDynamicManifestPropertiesResult(); - } - this.innerProperties().withRuleSetType(ruleSetType); - return this; - } - /** * Get the ruleSetVersion property: The version of the web application firewall rule set type. * @@ -148,25 +110,12 @@ public String ruleSetVersion() { return this.innerProperties() == null ? null : this.innerProperties().ruleSetVersion(); } - /** - * Set the ruleSetVersion property: The version of the web application firewall rule set type. - * - * @param ruleSetVersion the ruleSetVersion value to set. - * @return the ApplicationGatewayWafDynamicManifestResultInner object itself. - */ - public ApplicationGatewayWafDynamicManifestResultInner withRuleSetVersion(String ruleSetVersion) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayWafDynamicManifestPropertiesResult(); - } - this.innerProperties().withRuleSetVersion(ruleSetVersion); - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -179,7 +128,7 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("id", id()); jsonWriter.writeJsonField("properties", this.innerProperties); return jsonWriter.writeEndObject(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java index 508dc8a6ade6..639906ea41a9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.Map; @@ -141,7 +141,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java index c7422cbedbba..fb533a4b56aa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -27,7 +27,7 @@ public final class ApplicationSecurityGroupPropertiesFormat /* * The provisioning state of the application security group resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ApplicationSecurityGroupPropertiesFormat class. @@ -51,7 +51,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -92,7 +92,7 @@ public static ApplicationSecurityGroupPropertiesFormat fromJson(JsonReader jsonR deserializedApplicationSecurityGroupPropertiesFormat.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationSecurityGroupPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java index f8bb0fb5ed6f..8b75d9d8ce28 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AuthorizationUseStatus; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -36,7 +36,7 @@ public final class AuthorizationPropertiesFormat implements JsonSerializable { /* @@ -25,7 +25,7 @@ public final class AutoApprovedPrivateLinkServiceInner /** * Creates an instance of AutoApprovedPrivateLinkServiceInner class. */ - public AutoApprovedPrivateLinkServiceInner() { + private AutoApprovedPrivateLinkServiceInner() { } /** @@ -37,17 +37,6 @@ public String privateLinkService() { return this.privateLinkService; } - /** - * Set the privateLinkService property: The id of the private link service resource. - * - * @param privateLinkService the privateLinkService value to set. - * @return the AutoApprovedPrivateLinkServiceInner object itself. - */ - public AutoApprovedPrivateLinkServiceInner withPrivateLinkService(String privateLinkService) { - this.privateLinkService = privateLinkService; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java index ca6cef4c7ce5..5a40eb5cc96b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. */ -@Fluent +@Immutable public final class AvailableDelegationInner implements JsonSerializable { /* * The name of the AvailableDelegation resource. @@ -45,7 +45,7 @@ public final class AvailableDelegationInner implements JsonSerializable actions() { return this.actions; } - /** - * Set the actions property: The actions permitted to the service upon delegation. - * - * @param actions the actions value to set. - * @return the AvailableDelegationInner object itself. - */ - public AvailableDelegationInner withActions(List actions) { - this.actions = actions; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java index 6cada32bb5c0..f0eff4a242f4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The information of an AvailablePrivateEndpointType. */ -@Fluent +@Immutable public final class AvailablePrivateEndpointTypeInner implements JsonSerializable { /* * The name of the service and resource. @@ -44,7 +44,7 @@ public final class AvailablePrivateEndpointTypeInner implements JsonSerializable /** * Creates an instance of AvailablePrivateEndpointTypeInner class. */ - public AvailablePrivateEndpointTypeInner() { + private AvailablePrivateEndpointTypeInner() { } /** @@ -56,17 +56,6 @@ public String name() { return this.name; } - /** - * Set the name property: The name of the service and resource. - * - * @param name the name value to set. - * @return the AvailablePrivateEndpointTypeInner object itself. - */ - public AvailablePrivateEndpointTypeInner withName(String name) { - this.name = name; - return this; - } - /** * Get the id property: A unique identifier of the AvailablePrivateEndpoint Type resource. * @@ -76,17 +65,6 @@ public String id() { return this.id; } - /** - * Set the id property: A unique identifier of the AvailablePrivateEndpoint Type resource. - * - * @param id the id value to set. - * @return the AvailablePrivateEndpointTypeInner object itself. - */ - public AvailablePrivateEndpointTypeInner withId(String id) { - this.id = id; - return this; - } - /** * Get the type property: Resource type. * @@ -96,17 +74,6 @@ public String type() { return this.type; } - /** - * Set the type property: Resource type. - * - * @param type the type value to set. - * @return the AvailablePrivateEndpointTypeInner object itself. - */ - public AvailablePrivateEndpointTypeInner withType(String type) { - this.type = type; - return this; - } - /** * Get the resourceName property: The name of the service and resource. * @@ -116,17 +83,6 @@ public String resourceName() { return this.resourceName; } - /** - * Set the resourceName property: The name of the service and resource. - * - * @param resourceName the resourceName value to set. - * @return the AvailablePrivateEndpointTypeInner object itself. - */ - public AvailablePrivateEndpointTypeInner withResourceName(String resourceName) { - this.resourceName = resourceName; - return this; - } - /** * Get the displayName property: Display name of the resource. * @@ -136,17 +92,6 @@ public String displayName() { return this.displayName; } - /** - * Set the displayName property: Display name of the resource. - * - * @param displayName the displayName value to set. - * @return the AvailablePrivateEndpointTypeInner object itself. - */ - public AvailablePrivateEndpointTypeInner withDisplayName(String displayName) { - this.displayName = displayName; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java index e6aaf1978e40..ccf2bc0c198e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * List of available countries with details. */ -@Fluent +@Immutable public final class AvailableProvidersListInner implements JsonSerializable { /* * List of available countries. @@ -27,7 +27,7 @@ public final class AvailableProvidersListInner implements JsonSerializable countries() { return this.countries; } - /** - * Set the countries property: List of available countries. - * - * @param countries the countries value to set. - * @return the AvailableProvidersListInner object itself. - */ - public AvailableProvidersListInner withCountries(List countries) { - this.countries = countries; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java index 5498f84a4eab..b60e15ef11a5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The available service alias. */ -@Fluent +@Immutable public final class AvailableServiceAliasInner implements JsonSerializable { /* * The name of the service alias. @@ -39,7 +39,7 @@ public final class AvailableServiceAliasInner implements JsonSerializable tags) { - super.withTags(tags); - return this; - } - /** * Get the provisioningState property: The provisioning state of the Azure firewall FQDN tag resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java index 817568621e70..8a58448a7ff3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -21,7 +21,7 @@ public final class AzureFirewallFqdnTagPropertiesFormat /* * The provisioning state of the Azure firewall FQDN tag resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The name of this FQDN Tag. @@ -31,7 +31,7 @@ public final class AzureFirewallFqdnTagPropertiesFormat /** * Creates an instance of AzureFirewallFqdnTagPropertiesFormat class. */ - public AzureFirewallFqdnTagPropertiesFormat() { + private AzureFirewallFqdnTagPropertiesFormat() { } /** @@ -39,7 +39,7 @@ public AzureFirewallFqdnTagPropertiesFormat() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -87,7 +87,7 @@ public static AzureFirewallFqdnTagPropertiesFormat fromJson(JsonReader jsonReade if ("provisioningState".equals(fieldName)) { deserializedAzureFirewallFqdnTagPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("fqdnTagName".equals(fieldName)) { deserializedAzureFirewallFqdnTagPropertiesFormat.fqdnTagName = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java index 5c0aab737198..7174135fb5a8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,15 +12,15 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleCollection; import com.azure.resourcemanager.network.models.AzureFirewallAutoscaleConfiguration; -import com.azure.resourcemanager.network.models.AzureFirewallIpConfiguration; +import com.azure.resourcemanager.network.models.AzureFirewallIPConfiguration; import com.azure.resourcemanager.network.models.AzureFirewallIpGroups; import com.azure.resourcemanager.network.models.AzureFirewallNatRuleCollection; import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleCollection; import com.azure.resourcemanager.network.models.AzureFirewallSku; import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; import com.azure.resourcemanager.network.models.ExtendedLocation; -import com.azure.resourcemanager.network.models.HubIpAddresses; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.HubIPAddresses; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -263,7 +263,7 @@ public List networkRuleCollections() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.innerProperties() == null ? null : this.innerProperties().ipConfigurations(); } @@ -273,7 +273,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the AzureFirewallInner object itself. */ - public AzureFirewallInner withIpConfigurations(List ipConfigurations) { + public AzureFirewallInner withIpConfigurations(List ipConfigurations) { if (this.innerProperties() == null) { this.innerProperties = new AzureFirewallPropertiesFormat(); } @@ -286,7 +286,7 @@ public AzureFirewallInner withIpConfigurations(List { +public final class AzureFirewallIPConfigurationPropertiesFormat + implements JsonSerializable { /* * The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. */ @@ -38,12 +38,12 @@ public final class AzureFirewallIpConfigurationPropertiesFormat /* * The provisioning state of the Azure firewall IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** - * Creates an instance of AzureFirewallIpConfigurationPropertiesFormat class. + * Creates an instance of AzureFirewallIPConfigurationPropertiesFormat class. */ - public AzureFirewallIpConfigurationPropertiesFormat() { + public AzureFirewallIPConfigurationPropertiesFormat() { } /** @@ -71,9 +71,9 @@ public SubResource subnet() { * 'AzureFirewallManagementSubnet'. * * @param subnet the subnet value to set. - * @return the AzureFirewallIpConfigurationPropertiesFormat object itself. + * @return the AzureFirewallIPConfigurationPropertiesFormat object itself. */ - public AzureFirewallIpConfigurationPropertiesFormat withSubnet(SubResource subnet) { + public AzureFirewallIPConfigurationPropertiesFormat withSubnet(SubResource subnet) { this.subnet = subnet; return this; } @@ -93,9 +93,9 @@ public SubResource publicIpAddress() { * is not null. * * @param publicIpAddress the publicIpAddress value to set. - * @return the AzureFirewallIpConfigurationPropertiesFormat object itself. + * @return the AzureFirewallIPConfigurationPropertiesFormat object itself. */ - public AzureFirewallIpConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { + public AzureFirewallIPConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -105,7 +105,7 @@ public AzureFirewallIpConfigurationPropertiesFormat withPublicIpAddress(SubResou * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -129,37 +129,37 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of AzureFirewallIpConfigurationPropertiesFormat from the JsonReader. + * Reads an instance of AzureFirewallIPConfigurationPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of AzureFirewallIpConfigurationPropertiesFormat if the JsonReader was pointing to an instance + * @return An instance of AzureFirewallIPConfigurationPropertiesFormat 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 AzureFirewallIpConfigurationPropertiesFormat. + * @throws IOException If an error occurs while reading the AzureFirewallIPConfigurationPropertiesFormat. */ - public static AzureFirewallIpConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { + public static AzureFirewallIPConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - AzureFirewallIpConfigurationPropertiesFormat deserializedAzureFirewallIpConfigurationPropertiesFormat - = new AzureFirewallIpConfigurationPropertiesFormat(); + AzureFirewallIPConfigurationPropertiesFormat deserializedAzureFirewallIPConfigurationPropertiesFormat + = new AzureFirewallIPConfigurationPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedAzureFirewallIpConfigurationPropertiesFormat.privateIpAddress = reader.getString(); + deserializedAzureFirewallIPConfigurationPropertiesFormat.privateIpAddress = reader.getString(); } else if ("subnet".equals(fieldName)) { - deserializedAzureFirewallIpConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); + deserializedAzureFirewallIPConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedAzureFirewallIpConfigurationPropertiesFormat.publicIpAddress + deserializedAzureFirewallIPConfigurationPropertiesFormat.publicIpAddress = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedAzureFirewallIpConfigurationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedAzureFirewallIPConfigurationPropertiesFormat.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedAzureFirewallIpConfigurationPropertiesFormat; + return deserializedAzureFirewallIPConfigurationPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java index 407da6a24d1d..82f346dabf2a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AzureFirewallNatRCAction; import com.azure.resourcemanager.network.models.AzureFirewallNatRule; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -39,7 +39,7 @@ public final class AzureFirewallNatRuleCollectionProperties /* * The provisioning state of the NAT rule collection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of AzureFirewallNatRuleCollectionProperties class. @@ -112,7 +112,7 @@ public AzureFirewallNatRuleCollectionProperties withRules(List { /* @@ -31,7 +31,7 @@ public final class AzureFirewallPacketCaptureResponseInner /** * Creates an instance of AzureFirewallPacketCaptureResponseInner class. */ - public AzureFirewallPacketCaptureResponseInner() { + private AzureFirewallPacketCaptureResponseInner() { } /** @@ -43,17 +43,6 @@ public AzureFirewallPacketCaptureResponseCode statusCode() { return this.statusCode; } - /** - * Set the statusCode property: The response code of the performed packet capture operation. - * - * @param statusCode the statusCode value to set. - * @return the AzureFirewallPacketCaptureResponseInner object itself. - */ - public AzureFirewallPacketCaptureResponseInner withStatusCode(AzureFirewallPacketCaptureResponseCode statusCode) { - this.statusCode = statusCode; - return this; - } - /** * Get the message property: Localized Message String of The Result Of The Azure Firewall Packet Capture Operation. * @@ -63,17 +52,6 @@ public String message() { return this.message; } - /** - * Set the message property: Localized Message String of The Result Of The Azure Firewall Packet Capture Operation. - * - * @param message the message value to set. - * @return the AzureFirewallPacketCaptureResponseInner object itself. - */ - public AzureFirewallPacketCaptureResponseInner withMessage(String message) { - this.message = message; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java index 5816a4961f5f..6701021ac5cf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,14 +12,14 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleCollection; import com.azure.resourcemanager.network.models.AzureFirewallAutoscaleConfiguration; -import com.azure.resourcemanager.network.models.AzureFirewallIpConfiguration; +import com.azure.resourcemanager.network.models.AzureFirewallIPConfiguration; import com.azure.resourcemanager.network.models.AzureFirewallIpGroups; import com.azure.resourcemanager.network.models.AzureFirewallNatRuleCollection; import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleCollection; import com.azure.resourcemanager.network.models.AzureFirewallSku; import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; -import com.azure.resourcemanager.network.models.HubIpAddresses; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.HubIPAddresses; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -47,17 +47,17 @@ public final class AzureFirewallPropertiesFormat implements JsonSerializable ipConfigurations; + private List ipConfigurations; /* * IP configuration of the Azure Firewall used for management traffic. */ - private AzureFirewallIpConfiguration managementIpConfiguration; + private AzureFirewallIPConfiguration managementIpConfiguration; /* * The provisioning state of the Azure firewall resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The operation mode for Threat Intelligence. @@ -77,7 +77,7 @@ public final class AzureFirewallPropertiesFormat implements JsonSerializable networkRuleCollections() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.ipConfigurations; } @@ -183,7 +183,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the AzureFirewallPropertiesFormat object itself. */ - public AzureFirewallPropertiesFormat withIpConfigurations(List ipConfigurations) { + public AzureFirewallPropertiesFormat withIpConfigurations(List ipConfigurations) { this.ipConfigurations = ipConfigurations; return this; } @@ -193,7 +193,7 @@ public AzureFirewallPropertiesFormat withIpConfigurations(List e.validate()); @@ -424,7 +424,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { this.threatIntelMode == null ? null : this.threatIntelMode.toString()); jsonWriter.writeJsonField("virtualHub", this.virtualHub); jsonWriter.writeJsonField("firewallPolicy", this.firewallPolicy); - jsonWriter.writeJsonField("hubIPAddresses", this.hubIpAddresses); + jsonWriter.writeJsonField("hubIPAddresses", this.hubIPAddresses); jsonWriter.writeJsonField("sku", this.sku); jsonWriter.writeMapField("additionalProperties", this.additionalProperties, (writer, element) -> writer.writeString(element)); @@ -461,15 +461,15 @@ public static AzureFirewallPropertiesFormat fromJson(JsonReader jsonReader) thro = reader.readArray(reader1 -> AzureFirewallNetworkRuleCollection.fromJson(reader1)); deserializedAzureFirewallPropertiesFormat.networkRuleCollections = networkRuleCollections; } else if ("ipConfigurations".equals(fieldName)) { - List ipConfigurations - = reader.readArray(reader1 -> AzureFirewallIpConfiguration.fromJson(reader1)); + List ipConfigurations + = reader.readArray(reader1 -> AzureFirewallIPConfiguration.fromJson(reader1)); deserializedAzureFirewallPropertiesFormat.ipConfigurations = ipConfigurations; } else if ("managementIpConfiguration".equals(fieldName)) { deserializedAzureFirewallPropertiesFormat.managementIpConfiguration - = AzureFirewallIpConfiguration.fromJson(reader); + = AzureFirewallIPConfiguration.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedAzureFirewallPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("threatIntelMode".equals(fieldName)) { deserializedAzureFirewallPropertiesFormat.threatIntelMode = AzureFirewallThreatIntelMode.fromString(reader.getString()); @@ -478,7 +478,7 @@ public static AzureFirewallPropertiesFormat fromJson(JsonReader jsonReader) thro } else if ("firewallPolicy".equals(fieldName)) { deserializedAzureFirewallPropertiesFormat.firewallPolicy = SubResource.fromJson(reader); } else if ("hubIPAddresses".equals(fieldName)) { - deserializedAzureFirewallPropertiesFormat.hubIpAddresses = HubIpAddresses.fromJson(reader); + deserializedAzureFirewallPropertiesFormat.hubIPAddresses = HubIPAddresses.fromJson(reader); } else if ("ipGroups".equals(fieldName)) { List ipGroups = reader.readArray(reader1 -> AzureFirewallIpGroups.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java index 01c31c7834df..120a09f02007 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -18,7 +18,7 @@ /** * Azure reachability report details. */ -@Fluent +@Immutable public final class AzureReachabilityReportInner implements JsonSerializable { /* * The aggregation level of Azure reachability report. Can be Country, State or City. @@ -38,7 +38,7 @@ public final class AzureReachabilityReportInner implements JsonSerializable reachabilityReport() { return this.reachabilityReport; } - /** - * Set the reachabilityReport property: List of Azure reachability report items. - * - * @param reachabilityReport the reachabilityReport value to set. - * @return the AzureReachabilityReportInner object itself. - */ - public AzureReachabilityReportInner withReachabilityReport(List reachabilityReport) { - this.reachabilityReport = reachabilityReport; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java index c20ef588a21c..513624fd022e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.management.ProxyResource; import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; @@ -14,37 +14,37 @@ /** * Azure Web Category Resource. */ -@Fluent -public final class AzureWebCategoryInner implements JsonSerializable { +@Immutable +public final class AzureWebCategoryInner extends ProxyResource { /* * Properties of the Azure Web Category. */ private AzureWebCategoryPropertiesFormat innerProperties; /* - * Resource ID. + * A unique read-only string that changes whenever the resource is updated. */ - private String id; + private String etag; /* - * Resource name. + * Resource ID. */ - private String name; + private String id; /* - * Resource type. + * The type of the resource. */ private String type; /* - * A unique read-only string that changes whenever the resource is updated. + * The name of the resource. */ - private String etag; + private String name; /** * Creates an instance of AzureWebCategoryInner class. */ - public AzureWebCategoryInner() { + private AzureWebCategoryInner() { } /** @@ -57,50 +57,41 @@ private AzureWebCategoryPropertiesFormat innerProperties() { } /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. + * Get the etag property: A unique read-only string that changes whenever the resource is updated. * - * @param id the id value to set. - * @return the AzureWebCategoryInner object itself. + * @return the etag value. */ - public AzureWebCategoryInner withId(String id) { - this.id = id; - return this; + public String etag() { + return this.etag; } /** - * Get the name property: Resource name. + * Get the id property: Resource ID. * - * @return the name value. + * @return the id value. */ - public String name() { - return this.name; + public String id() { + return this.id; } /** - * Get the type property: Resource type. + * Get the type property: The type of the resource. * * @return the type value. */ + @Override public String type() { return this.type; } /** - * Get the etag property: A unique read-only string that changes whenever the resource is updated. + * Get the name property: The name of the resource. * - * @return the etag value. + * @return the name value. */ - public String etag() { - return this.etag; + @Override + public String name() { + return this.name; } /** @@ -140,6 +131,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AzureWebCategoryInner 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 AzureWebCategoryInner. */ public static AzureWebCategoryInner fromJson(JsonReader jsonReader) throws IOException { @@ -149,17 +141,17 @@ public static AzureWebCategoryInner fromJson(JsonReader jsonReader) throws IOExc String fieldName = reader.getFieldName(); reader.nextToken(); - if ("properties".equals(fieldName)) { - deserializedAzureWebCategoryInner.innerProperties - = AzureWebCategoryPropertiesFormat.fromJson(reader); - } else if ("id".equals(fieldName)) { - deserializedAzureWebCategoryInner.id = reader.getString(); - } else if ("name".equals(fieldName)) { + if ("name".equals(fieldName)) { deserializedAzureWebCategoryInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedAzureWebCategoryInner.type = reader.getString(); + } else if ("properties".equals(fieldName)) { + deserializedAzureWebCategoryInner.innerProperties + = AzureWebCategoryPropertiesFormat.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedAzureWebCategoryInner.etag = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedAzureWebCategoryInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java index 32a9e8b6da65..8cc9006cdedf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -24,7 +24,7 @@ public final class AzureWebCategoryPropertiesFormat implements JsonSerializable< /** * Creates an instance of AzureWebCategoryPropertiesFormat class. */ - public AzureWebCategoryPropertiesFormat() { + private AzureWebCategoryPropertiesFormat() { } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java index e35f91b83775..980c18305a74 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * The response for a QueryInboundNatRulePortMapping API. */ -@Fluent +@Immutable public final class BackendAddressInboundNatRulePortMappingsInner implements JsonSerializable { /* @@ -27,7 +27,7 @@ public final class BackendAddressInboundNatRulePortMappingsInner /** * Creates an instance of BackendAddressInboundNatRulePortMappingsInner class. */ - public BackendAddressInboundNatRulePortMappingsInner() { + private BackendAddressInboundNatRulePortMappingsInner() { } /** @@ -39,18 +39,6 @@ public List inboundNatRulePortMappings() { return this.inboundNatRulePortMappings; } - /** - * Set the inboundNatRulePortMappings property: Collection of inbound NAT rule port mappings. - * - * @param inboundNatRulePortMappings the inboundNatRulePortMappings value to set. - * @return the BackendAddressInboundNatRulePortMappingsInner object itself. - */ - public BackendAddressInboundNatRulePortMappingsInner - withInboundNatRulePortMappings(List inboundNatRulePortMappings) { - this.inboundNatRulePortMappings = inboundNatRulePortMappings; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java index f864b83b25bb..7b1ada1efe05 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,8 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayLoadBalancerTunnelInterface; import com.azure.resourcemanager.network.models.LoadBalancerBackendAddress; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.SyncMode; import java.io.IOException; import java.util.List; @@ -20,25 +21,19 @@ * Pool of backend IP addresses. */ @Fluent -public final class BackendAddressPoolInner extends SubResource { +public final class BackendAddressPoolInner extends SubResourceModel { /* * Properties of load balancer backend address pool. */ private BackendAddressPoolPropertiesFormat innerProperties; - /* - * The name of the resource that is unique within the set of backend address pools used by the load balancer. This - * name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Type of the resource. + * Resource type. */ private String type; @@ -57,28 +52,6 @@ private BackendAddressPoolPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within the set of backend address pools used by - * the load balancer. This name can be used to access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within the set of backend address pools used by - * the load balancer. This name can be used to access the resource. - * - * @param name the name value to set. - * @return the BackendAddressPoolInner object itself. - */ - public BackendAddressPoolInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -89,10 +62,11 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -106,6 +80,15 @@ public BackendAddressPoolInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public BackendAddressPoolInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the location property: The location of the backend address pool. * @@ -227,7 +210,7 @@ public List inboundNatRules() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -307,6 +290,7 @@ public BackendAddressPoolInner withSyncMode(SyncMode syncMode) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -320,8 +304,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -342,15 +326,15 @@ public static BackendAddressPoolInner fromJson(JsonReader jsonReader) throws IOE if ("id".equals(fieldName)) { deserializedBackendAddressPoolInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedBackendAddressPoolInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedBackendAddressPoolInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedBackendAddressPoolInner.innerProperties = BackendAddressPoolPropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedBackendAddressPoolInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedBackendAddressPoolInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedBackendAddressPoolInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java index 3d1758a002c0..4dabc8022a31 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayLoadBalancerTunnelInterface; import com.azure.resourcemanager.network.models.LoadBalancerBackendAddress; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.SyncMode; import java.io.IOException; import java.util.List; @@ -65,7 +65,7 @@ public final class BackendAddressPoolPropertiesFormat implements JsonSerializabl /* * The provisioning state of the backend address pool resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Amount of seconds Load Balancer waits for before sending RESET to client and backend address. @@ -201,7 +201,7 @@ public List inboundNatRules() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -345,7 +345,7 @@ public static BackendAddressPoolPropertiesFormat fromJson(JsonReader jsonReader) deserializedBackendAddressPoolPropertiesFormat.inboundNatRules = inboundNatRules; } else if ("provisioningState".equals(fieldName)) { deserializedBackendAddressPoolPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("drainPeriodInSeconds".equals(fieldName)) { deserializedBackendAddressPoolPropertiesFormat.drainPeriodInSeconds = reader.getNullable(JsonReader::getInt); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java index 5e1c20583af4..41cef5620b08 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -36,17 +36,17 @@ public class BaseAdminRuleInner extends ChildResource { private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -96,7 +96,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -106,7 +106,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -116,7 +116,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -150,7 +150,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of BaseAdminRuleInner 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 BaseAdminRuleInner. */ public static BaseAdminRuleInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java index 8f6b246f818e..da62ef1c2ec8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -40,7 +40,7 @@ public final class BastionActiveSessionInner implements JsonSerializable tags) { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.innerProperties() == null ? null : this.innerProperties().ipConfigurations(); } @@ -195,7 +195,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the BastionHostInner object itself. */ - public BastionHostInner withIpConfigurations(List ipConfigurations) { + public BastionHostInner withIpConfigurations(List ipConfigurations) { if (this.innerProperties() == null) { this.innerProperties = new BastionHostPropertiesFormat(); } @@ -279,7 +279,7 @@ public BastionHostInner withNetworkAcls(BastionHostPropertiesFormatNetworkAcls n * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java index 64cc17822435..4ee3404a9b7d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,15 +12,15 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** * Properties of IP configuration of an Bastion Host. */ @Fluent -public final class BastionHostIpConfigurationPropertiesFormat - implements JsonSerializable { +public final class BastionHostIPConfigurationPropertiesFormat + implements JsonSerializable { /* * Reference of the subnet resource. */ @@ -34,7 +34,7 @@ public final class BastionHostIpConfigurationPropertiesFormat /* * The provisioning state of the bastion host IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Private IP allocation method. @@ -42,9 +42,9 @@ public final class BastionHostIpConfigurationPropertiesFormat private IpAllocationMethod privateIpAllocationMethod; /** - * Creates an instance of BastionHostIpConfigurationPropertiesFormat class. + * Creates an instance of BastionHostIPConfigurationPropertiesFormat class. */ - public BastionHostIpConfigurationPropertiesFormat() { + public BastionHostIPConfigurationPropertiesFormat() { } /** @@ -60,9 +60,9 @@ public SubResource subnet() { * Set the subnet property: Reference of the subnet resource. * * @param subnet the subnet value to set. - * @return the BastionHostIpConfigurationPropertiesFormat object itself. + * @return the BastionHostIPConfigurationPropertiesFormat object itself. */ - public BastionHostIpConfigurationPropertiesFormat withSubnet(SubResource subnet) { + public BastionHostIPConfigurationPropertiesFormat withSubnet(SubResource subnet) { this.subnet = subnet; return this; } @@ -80,9 +80,9 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: Reference of the PublicIP resource. Null for private only bastion. * * @param publicIpAddress the publicIpAddress value to set. - * @return the BastionHostIpConfigurationPropertiesFormat object itself. + * @return the BastionHostIPConfigurationPropertiesFormat object itself. */ - public BastionHostIpConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { + public BastionHostIPConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -92,7 +92,7 @@ public BastionHostIpConfigurationPropertiesFormat withPublicIpAddress(SubResourc * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -109,9 +109,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: Private IP allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the BastionHostIpConfigurationPropertiesFormat object itself. + * @return the BastionHostIPConfigurationPropertiesFormat object itself. */ - public BastionHostIpConfigurationPropertiesFormat + public BastionHostIPConfigurationPropertiesFormat withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -126,11 +126,11 @@ public void validate() { if (subnet() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( - "Missing required property subnet in model BastionHostIpConfigurationPropertiesFormat")); + "Missing required property subnet in model BastionHostIPConfigurationPropertiesFormat")); } } - private static final ClientLogger LOGGER = new ClientLogger(BastionHostIpConfigurationPropertiesFormat.class); + private static final ClientLogger LOGGER = new ClientLogger(BastionHostIPConfigurationPropertiesFormat.class); /** * {@inheritDoc} @@ -146,39 +146,39 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of BastionHostIpConfigurationPropertiesFormat from the JsonReader. + * Reads an instance of BastionHostIPConfigurationPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of BastionHostIpConfigurationPropertiesFormat if the JsonReader was pointing to an instance + * @return An instance of BastionHostIPConfigurationPropertiesFormat 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 BastionHostIpConfigurationPropertiesFormat. + * @throws IOException If an error occurs while reading the BastionHostIPConfigurationPropertiesFormat. */ - public static BastionHostIpConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { + public static BastionHostIPConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BastionHostIpConfigurationPropertiesFormat deserializedBastionHostIpConfigurationPropertiesFormat - = new BastionHostIpConfigurationPropertiesFormat(); + BastionHostIPConfigurationPropertiesFormat deserializedBastionHostIPConfigurationPropertiesFormat + = new BastionHostIPConfigurationPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("subnet".equals(fieldName)) { - deserializedBastionHostIpConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); + deserializedBastionHostIPConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedBastionHostIpConfigurationPropertiesFormat.publicIpAddress + deserializedBastionHostIPConfigurationPropertiesFormat.publicIpAddress = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedBastionHostIpConfigurationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedBastionHostIPConfigurationPropertiesFormat.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedBastionHostIpConfigurationPropertiesFormat.privateIpAllocationMethod + deserializedBastionHostIPConfigurationPropertiesFormat.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedBastionHostIpConfigurationPropertiesFormat; + return deserializedBastionHostIPConfigurationPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java index b25786c8c09a..9cf8dae2b7be 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,9 +10,9 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.BastionHostIpConfiguration; +import com.azure.resourcemanager.network.models.BastionHostIPConfiguration; import com.azure.resourcemanager.network.models.BastionHostPropertiesFormatNetworkAcls; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -24,7 +24,7 @@ public final class BastionHostPropertiesFormat implements JsonSerializable ipConfigurations; + private List ipConfigurations; /* * FQDN for the endpoint on which bastion host is accessible. @@ -44,7 +44,7 @@ public final class BastionHostPropertiesFormat implements JsonSerializable ipConfigurations() { + public List ipConfigurations() { return this.ipConfigurations; } @@ -112,7 +112,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the BastionHostPropertiesFormat object itself. */ - public BastionHostPropertiesFormat withIpConfigurations(List ipConfigurations) { + public BastionHostPropertiesFormat withIpConfigurations(List ipConfigurations) { this.ipConfigurations = ipConfigurations; return this; } @@ -184,7 +184,7 @@ public BastionHostPropertiesFormat withNetworkAcls(BastionHostPropertiesFormatNe * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -421,8 +421,8 @@ public static BastionHostPropertiesFormat fromJson(JsonReader jsonReader) throws reader.nextToken(); if ("ipConfigurations".equals(fieldName)) { - List ipConfigurations - = reader.readArray(reader1 -> BastionHostIpConfiguration.fromJson(reader1)); + List ipConfigurations + = reader.readArray(reader1 -> BastionHostIPConfiguration.fromJson(reader1)); deserializedBastionHostPropertiesFormat.ipConfigurations = ipConfigurations; } else if ("dnsName".equals(fieldName)) { deserializedBastionHostPropertiesFormat.dnsName = reader.getString(); @@ -433,7 +433,7 @@ public static BastionHostPropertiesFormat fromJson(JsonReader jsonReader) throws = BastionHostPropertiesFormatNetworkAcls.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedBastionHostPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("scaleUnits".equals(fieldName)) { deserializedBastionHostPropertiesFormat.scaleUnits = reader.getNullable(JsonReader::getInt); } else if ("disableCopyPaste".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java index 30ed478b578d..a0dda7f079a1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -34,7 +34,7 @@ public final class BastionSessionStateInner implements JsonSerializable { +public final class BgpPeerStatusInner implements JsonSerializable { /* * The virtual network gateway's local address. */ @@ -57,9 +58,9 @@ public final class BgpPeerStatus implements JsonSerializable { private Long messagesReceived; /** - * Creates an instance of BgpPeerStatus class. + * Creates an instance of BgpPeerStatusInner class. */ - public BgpPeerStatus() { + private BgpPeerStatusInner() { } /** @@ -152,42 +153,42 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of BgpPeerStatus from the JsonReader. + * Reads an instance of BgpPeerStatusInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of BgpPeerStatus if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of BgpPeerStatusInner 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 BgpPeerStatus. + * @throws IOException If an error occurs while reading the BgpPeerStatusInner. */ - public static BgpPeerStatus fromJson(JsonReader jsonReader) throws IOException { + public static BgpPeerStatusInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BgpPeerStatus deserializedBgpPeerStatus = new BgpPeerStatus(); + BgpPeerStatusInner deserializedBgpPeerStatusInner = new BgpPeerStatusInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("localAddress".equals(fieldName)) { - deserializedBgpPeerStatus.localAddress = reader.getString(); + deserializedBgpPeerStatusInner.localAddress = reader.getString(); } else if ("neighbor".equals(fieldName)) { - deserializedBgpPeerStatus.neighbor = reader.getString(); + deserializedBgpPeerStatusInner.neighbor = reader.getString(); } else if ("asn".equals(fieldName)) { - deserializedBgpPeerStatus.asn = reader.getNullable(JsonReader::getLong); + deserializedBgpPeerStatusInner.asn = reader.getNullable(JsonReader::getLong); } else if ("state".equals(fieldName)) { - deserializedBgpPeerStatus.state = BgpPeerState.fromString(reader.getString()); + deserializedBgpPeerStatusInner.state = BgpPeerState.fromString(reader.getString()); } else if ("connectedDuration".equals(fieldName)) { - deserializedBgpPeerStatus.connectedDuration = reader.getString(); + deserializedBgpPeerStatusInner.connectedDuration = reader.getString(); } else if ("routesReceived".equals(fieldName)) { - deserializedBgpPeerStatus.routesReceived = reader.getNullable(JsonReader::getLong); + deserializedBgpPeerStatusInner.routesReceived = reader.getNullable(JsonReader::getLong); } else if ("messagesSent".equals(fieldName)) { - deserializedBgpPeerStatus.messagesSent = reader.getNullable(JsonReader::getLong); + deserializedBgpPeerStatusInner.messagesSent = reader.getNullable(JsonReader::getLong); } else if ("messagesReceived".equals(fieldName)) { - deserializedBgpPeerStatus.messagesReceived = reader.getNullable(JsonReader::getLong); + deserializedBgpPeerStatusInner.messagesReceived = reader.getNullable(JsonReader::getLong); } else { reader.skipChildren(); } } - return deserializedBgpPeerStatus; + return deserializedBgpPeerStatusInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java index 67bfe354e225..ded5aa3a12e4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.Resource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.BgpCommunity; +import com.azure.resourcemanager.network.models.BGPCommunity; import java.io.IOException; import java.util.List; import java.util.Map; @@ -17,7 +17,7 @@ /** * Service Community Properties. */ -@Fluent +@Immutable public final class BgpServiceCommunityInner extends Resource { /* * Properties of the BGP service community. @@ -42,7 +42,7 @@ public final class BgpServiceCommunityInner extends Resource { /** * Creates an instance of BgpServiceCommunityInner class. */ - public BgpServiceCommunityInner() { + private BgpServiceCommunityInner() { } /** @@ -63,17 +63,6 @@ public String id() { return this.id; } - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the BgpServiceCommunityInner object itself. - */ - public BgpServiceCommunityInner withId(String id) { - this.id = id; - return this; - } - /** * Get the type property: The type of the resource. * @@ -94,24 +83,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public BgpServiceCommunityInner withLocation(String location) { - super.withLocation(location); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public BgpServiceCommunityInner withTags(Map tags) { - super.withTags(tags); - return this; - } - /** * Get the serviceName property: The name of the bgp community. e.g. Skype. * @@ -121,43 +92,15 @@ public String serviceName() { return this.innerProperties() == null ? null : this.innerProperties().serviceName(); } - /** - * Set the serviceName property: The name of the bgp community. e.g. Skype. - * - * @param serviceName the serviceName value to set. - * @return the BgpServiceCommunityInner object itself. - */ - public BgpServiceCommunityInner withServiceName(String serviceName) { - if (this.innerProperties() == null) { - this.innerProperties = new BgpServiceCommunityPropertiesFormat(); - } - this.innerProperties().withServiceName(serviceName); - return this; - } - /** * Get the bgpCommunities property: A list of bgp communities. * * @return the bgpCommunities value. */ - public List bgpCommunities() { + public List bgpCommunities() { return this.innerProperties() == null ? null : this.innerProperties().bgpCommunities(); } - /** - * Set the bgpCommunities property: A list of bgp communities. - * - * @param bgpCommunities the bgpCommunities value to set. - * @return the BgpServiceCommunityInner object itself. - */ - public BgpServiceCommunityInner withBgpCommunities(List bgpCommunities) { - if (this.innerProperties() == null) { - this.innerProperties = new BgpServiceCommunityPropertiesFormat(); - } - this.innerProperties().withBgpCommunities(bgpCommunities); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java index dbc43c5f80ae..089590c9f39b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java @@ -1,22 +1,22 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +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.network.models.BgpCommunity; +import com.azure.resourcemanager.network.models.BGPCommunity; import java.io.IOException; import java.util.List; /** * Properties of Service Community. */ -@Fluent +@Immutable public final class BgpServiceCommunityPropertiesFormat implements JsonSerializable { /* @@ -27,12 +27,12 @@ public final class BgpServiceCommunityPropertiesFormat /* * A list of bgp communities. */ - private List bgpCommunities; + private List bgpCommunities; /** * Creates an instance of BgpServiceCommunityPropertiesFormat class. */ - public BgpServiceCommunityPropertiesFormat() { + private BgpServiceCommunityPropertiesFormat() { } /** @@ -44,37 +44,15 @@ public String serviceName() { return this.serviceName; } - /** - * Set the serviceName property: The name of the bgp community. e.g. Skype. - * - * @param serviceName the serviceName value to set. - * @return the BgpServiceCommunityPropertiesFormat object itself. - */ - public BgpServiceCommunityPropertiesFormat withServiceName(String serviceName) { - this.serviceName = serviceName; - return this; - } - /** * Get the bgpCommunities property: A list of bgp communities. * * @return the bgpCommunities value. */ - public List bgpCommunities() { + public List bgpCommunities() { return this.bgpCommunities; } - /** - * Set the bgpCommunities property: A list of bgp communities. - * - * @param bgpCommunities the bgpCommunities value to set. - * @return the BgpServiceCommunityPropertiesFormat object itself. - */ - public BgpServiceCommunityPropertiesFormat withBgpCommunities(List bgpCommunities) { - this.bgpCommunities = bgpCommunities; - return this; - } - /** * Validates the instance. * @@ -117,7 +95,7 @@ public static BgpServiceCommunityPropertiesFormat fromJson(JsonReader jsonReader if ("serviceName".equals(fieldName)) { deserializedBgpServiceCommunityPropertiesFormat.serviceName = reader.getString(); } else if ("bgpCommunities".equals(fieldName)) { - List bgpCommunities = reader.readArray(reader1 -> BgpCommunity.fromJson(reader1)); + List bgpCommunities = reader.readArray(reader1 -> BGPCommunity.fromJson(reader1)); deserializedBgpServiceCommunityPropertiesFormat.bgpCommunities = bgpCommunities; } else { reader.skipChildren(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java index dad87e05f3fb..7e7f21fe94de 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java index c21ffefedb24..f0904a890a4d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java index c4812fd9212d..ee7c86a16b3d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java @@ -1,11 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; -import com.azure.core.management.Resource; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -16,7 +15,8 @@ import com.azure.resourcemanager.network.models.ConnectionMonitorTestConfiguration; import com.azure.resourcemanager.network.models.ConnectionMonitorTestGroup; import com.azure.resourcemanager.network.models.ConnectionMonitorType; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.TrackedResourcewithOptionalLocation; import java.io.IOException; import java.time.OffsetDateTime; import java.util.List; @@ -25,103 +25,116 @@ /** * Information about the connection monitor. */ -@Fluent -public final class ConnectionMonitorResultInner extends Resource { +@Immutable +public final class ConnectionMonitorResultInner extends TrackedResourcewithOptionalLocation { /* - * A unique read-only string that changes whenever the resource is updated. + * Properties of the connection monitor result. */ - private String etag; + private ConnectionMonitorResultProperties innerProperties; /* - * Properties of the connection monitor result. + * Connection monitor tags. */ - private ConnectionMonitorResultProperties innerProperties; + private Map tags; + + /* + * Connection monitor location. + */ + private String location; + + /* + * A unique read-only string that changes whenever the resource is updated. + */ + private String etag; /* - * The type of the resource. + * Connection monitor type. */ private String type; /* - * The name of the resource. + * Name of the connection monitor. */ private String name; /* - * Fully qualified resource Id for the resource. + * ID of the connection monitor. */ private String id; /** * Creates an instance of ConnectionMonitorResultInner class. */ - public ConnectionMonitorResultInner() { + private ConnectionMonitorResultInner() { } /** - * Get the etag property: A unique read-only string that changes whenever the resource is updated. + * Get the innerProperties property: Properties of the connection monitor result. * - * @return the etag value. + * @return the innerProperties value. */ - public String etag() { - return this.etag; + private ConnectionMonitorResultProperties innerProperties() { + return this.innerProperties; } /** - * Get the innerProperties property: Properties of the connection monitor result. + * Get the tags property: Connection monitor tags. * - * @return the innerProperties value. + * @return the tags value. */ - private ConnectionMonitorResultProperties innerProperties() { - return this.innerProperties; + @Override + public Map tags() { + return this.tags; } /** - * Get the type property: The type of the resource. + * Get the location property: Connection monitor location. * - * @return the type value. + * @return the location value. */ @Override - public String type() { - return this.type; + public String location() { + return this.location; } /** - * Get the name property: The name of the resource. + * Get the etag property: A unique read-only string that changes whenever the resource is updated. * - * @return the name value. + * @return the etag value. */ @Override - public String name() { - return this.name; + public String etag() { + return this.etag; } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: Connection monitor type. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** - * {@inheritDoc} + * Get the name property: Name of the connection monitor. + * + * @return the name value. */ @Override - public ConnectionMonitorResultInner withLocation(String location) { - super.withLocation(location); - return this; + public String name() { + return this.name; } /** - * {@inheritDoc} + * Get the id property: ID of the connection monitor. + * + * @return the id value. */ @Override - public ConnectionMonitorResultInner withTags(Map tags) { - super.withTags(tags); - return this; + public String id() { + return this.id; } /** @@ -129,7 +142,7 @@ public ConnectionMonitorResultInner withTags(Map tags) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -169,20 +182,6 @@ public ConnectionMonitorSource source() { return this.innerProperties() == null ? null : this.innerProperties().source(); } - /** - * Set the source property: Describes the source of connection monitor. - * - * @param source the source value to set. - * @return the ConnectionMonitorResultInner object itself. - */ - public ConnectionMonitorResultInner withSource(ConnectionMonitorSource source) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectionMonitorResultProperties(); - } - this.innerProperties().withSource(source); - return this; - } - /** * Get the destination property: Describes the destination of connection monitor. * @@ -192,20 +191,6 @@ public ConnectionMonitorDestination destination() { return this.innerProperties() == null ? null : this.innerProperties().destination(); } - /** - * Set the destination property: Describes the destination of connection monitor. - * - * @param destination the destination value to set. - * @return the ConnectionMonitorResultInner object itself. - */ - public ConnectionMonitorResultInner withDestination(ConnectionMonitorDestination destination) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectionMonitorResultProperties(); - } - this.innerProperties().withDestination(destination); - return this; - } - /** * Get the autoStart property: Determines if the connection monitor will start automatically once created. * @@ -215,20 +200,6 @@ public Boolean autoStart() { return this.innerProperties() == null ? null : this.innerProperties().autoStart(); } - /** - * Set the autoStart property: Determines if the connection monitor will start automatically once created. - * - * @param autoStart the autoStart value to set. - * @return the ConnectionMonitorResultInner object itself. - */ - public ConnectionMonitorResultInner withAutoStart(Boolean autoStart) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectionMonitorResultProperties(); - } - this.innerProperties().withAutoStart(autoStart); - return this; - } - /** * Get the monitoringIntervalInSeconds property: Monitoring interval in seconds. * @@ -238,20 +209,6 @@ public Integer monitoringIntervalInSeconds() { return this.innerProperties() == null ? null : this.innerProperties().monitoringIntervalInSeconds(); } - /** - * Set the monitoringIntervalInSeconds property: Monitoring interval in seconds. - * - * @param monitoringIntervalInSeconds the monitoringIntervalInSeconds value to set. - * @return the ConnectionMonitorResultInner object itself. - */ - public ConnectionMonitorResultInner withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectionMonitorResultProperties(); - } - this.innerProperties().withMonitoringIntervalInSeconds(monitoringIntervalInSeconds); - return this; - } - /** * Get the endpoints property: List of connection monitor endpoints. * @@ -261,20 +218,6 @@ public List endpoints() { return this.innerProperties() == null ? null : this.innerProperties().endpoints(); } - /** - * Set the endpoints property: List of connection monitor endpoints. - * - * @param endpoints the endpoints value to set. - * @return the ConnectionMonitorResultInner object itself. - */ - public ConnectionMonitorResultInner withEndpoints(List endpoints) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectionMonitorResultProperties(); - } - this.innerProperties().withEndpoints(endpoints); - return this; - } - /** * Get the testConfigurations property: List of connection monitor test configurations. * @@ -284,21 +227,6 @@ public List testConfigurations() { return this.innerProperties() == null ? null : this.innerProperties().testConfigurations(); } - /** - * Set the testConfigurations property: List of connection monitor test configurations. - * - * @param testConfigurations the testConfigurations value to set. - * @return the ConnectionMonitorResultInner object itself. - */ - public ConnectionMonitorResultInner - withTestConfigurations(List testConfigurations) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectionMonitorResultProperties(); - } - this.innerProperties().withTestConfigurations(testConfigurations); - return this; - } - /** * Get the testGroups property: List of connection monitor test groups. * @@ -308,20 +236,6 @@ public List testGroups() { return this.innerProperties() == null ? null : this.innerProperties().testGroups(); } - /** - * Set the testGroups property: List of connection monitor test groups. - * - * @param testGroups the testGroups value to set. - * @return the ConnectionMonitorResultInner object itself. - */ - public ConnectionMonitorResultInner withTestGroups(List testGroups) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectionMonitorResultProperties(); - } - this.innerProperties().withTestGroups(testGroups); - return this; - } - /** * Get the outputs property: List of connection monitor outputs. * @@ -331,20 +245,6 @@ public List outputs() { return this.innerProperties() == null ? null : this.innerProperties().outputs(); } - /** - * Set the outputs property: List of connection monitor outputs. - * - * @param outputs the outputs value to set. - * @return the ConnectionMonitorResultInner object itself. - */ - public ConnectionMonitorResultInner withOutputs(List outputs) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectionMonitorResultProperties(); - } - this.innerProperties().withOutputs(outputs); - return this; - } - /** * Get the notes property: Optional notes to be associated with the connection monitor. * @@ -354,25 +254,12 @@ public String notes() { return this.innerProperties() == null ? null : this.innerProperties().notes(); } - /** - * Set the notes property: Optional notes to be associated with the connection monitor. - * - * @param notes the notes value to set. - * @return the ConnectionMonitorResultInner object itself. - */ - public ConnectionMonitorResultInner withNotes(String notes) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectionMonitorResultProperties(); - } - this.innerProperties().withNotes(notes); - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -397,7 +284,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ConnectionMonitorResultInner 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 ConnectionMonitorResultInner. */ public static ConnectionMonitorResultInner fromJson(JsonReader jsonReader) throws IOException { @@ -413,13 +299,13 @@ public static ConnectionMonitorResultInner fromJson(JsonReader jsonReader) throw deserializedConnectionMonitorResultInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedConnectionMonitorResultInner.type = reader.getString(); + } else if ("etag".equals(fieldName)) { + deserializedConnectionMonitorResultInner.etag = reader.getString(); } else if ("location".equals(fieldName)) { - deserializedConnectionMonitorResultInner.withLocation(reader.getString()); + deserializedConnectionMonitorResultInner.location = reader.getString(); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedConnectionMonitorResultInner.withTags(tags); - } else if ("etag".equals(fieldName)) { - deserializedConnectionMonitorResultInner.etag = reader.getString(); + deserializedConnectionMonitorResultInner.tags = tags; } else if ("properties".equals(fieldName)) { deserializedConnectionMonitorResultInner.innerProperties = ConnectionMonitorResultProperties.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java index 92e588d42c83..9dc11d7b0333 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ import com.azure.resourcemanager.network.models.ConnectionMonitorTestConfiguration; import com.azure.resourcemanager.network.models.ConnectionMonitorTestGroup; import com.azure.resourcemanager.network.models.ConnectionMonitorType; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.time.OffsetDateTime; import java.util.List; @@ -24,12 +24,12 @@ /** * Describes the properties of a connection monitor. */ -@Fluent +@Immutable public final class ConnectionMonitorResultProperties extends ConnectionMonitorParameters { /* * The provisioning state of the connection monitor. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The date and time when the connection monitor was started. @@ -49,7 +49,7 @@ public final class ConnectionMonitorResultProperties extends ConnectionMonitorPa /** * Creates an instance of ConnectionMonitorResultProperties class. */ - public ConnectionMonitorResultProperties() { + private ConnectionMonitorResultProperties() { } /** @@ -57,7 +57,7 @@ public ConnectionMonitorResultProperties() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -88,88 +88,6 @@ public ConnectionMonitorType connectionMonitorType() { return this.connectionMonitorType; } - /** - * {@inheritDoc} - */ - @Override - public ConnectionMonitorResultProperties withSource(ConnectionMonitorSource source) { - super.withSource(source); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConnectionMonitorResultProperties withDestination(ConnectionMonitorDestination destination) { - super.withDestination(destination); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConnectionMonitorResultProperties withAutoStart(Boolean autoStart) { - super.withAutoStart(autoStart); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConnectionMonitorResultProperties withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds) { - super.withMonitoringIntervalInSeconds(monitoringIntervalInSeconds); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConnectionMonitorResultProperties withEndpoints(List endpoints) { - super.withEndpoints(endpoints); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConnectionMonitorResultProperties - withTestConfigurations(List testConfigurations) { - super.withTestConfigurations(testConfigurations); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConnectionMonitorResultProperties withTestGroups(List testGroups) { - super.withTestGroups(testGroups); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConnectionMonitorResultProperties withOutputs(List outputs) { - super.withOutputs(outputs); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ConnectionMonitorResultProperties withNotes(String notes) { - super.withNotes(notes); - return this; - } - /** * Validates the instance. * @@ -263,7 +181,7 @@ public static ConnectionMonitorResultProperties fromJson(JsonReader jsonReader) deserializedConnectionMonitorResultProperties.withNotes(reader.getString()); } else if ("provisioningState".equals(fieldName)) { deserializedConnectionMonitorResultProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("startTime".equals(fieldName)) { deserializedConnectionMonitorResultProperties.startTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java index 942a819b49fa..7c0368dd1399 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java index 26f644e1943c..db090445fe06 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java index 8480ee9694a6..cbee7a1f85fa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java @@ -1,32 +1,27 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.SharedKeyProperties; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** * SharedKey Resource . */ @Fluent -public final class ConnectionSharedKeyResultInner extends SubResource { +public final class ConnectionSharedKeyResultInner extends SubResourceModel { /* * Properties of the shared key. */ private SharedKeyProperties properties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * Resource type. */ @@ -58,33 +53,12 @@ public ConnectionSharedKeyResultInner withProperties(SharedKeyProperties propert return this; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the ConnectionSharedKeyResultInner object itself. - */ - public ConnectionSharedKeyResultInner withName(String name) { - this.name = name; - return this; - } - /** * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -98,11 +72,21 @@ public ConnectionSharedKeyResultInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public ConnectionSharedKeyResultInner withName(String name) { + super.withName(name); + return this; + } + /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (properties() != null) { properties().validate(); @@ -116,8 +100,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.properties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -139,12 +123,12 @@ public static ConnectionSharedKeyResultInner fromJson(JsonReader jsonReader) thr if ("id".equals(fieldName)) { deserializedConnectionSharedKeyResultInner.withId(reader.getString()); - } else if ("properties".equals(fieldName)) { - deserializedConnectionSharedKeyResultInner.properties = SharedKeyProperties.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedConnectionSharedKeyResultInner.name = reader.getString(); + deserializedConnectionSharedKeyResultInner.withName(reader.getString()); } else if ("type".equals(fieldName)) { deserializedConnectionSharedKeyResultInner.type = reader.getString(); + } else if ("properties".equals(fieldName)) { + deserializedConnectionSharedKeyResultInner.properties = SharedKeyProperties.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java index 805ac5dfa339..5c34f421bf6b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -16,7 +16,7 @@ import com.azure.resourcemanager.network.models.DeleteExistingPeering; import com.azure.resourcemanager.network.models.Hub; import com.azure.resourcemanager.network.models.IsGlobal; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -41,17 +41,17 @@ public final class ConnectivityConfigurationInner extends ChildResource { private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -90,7 +90,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -100,7 +100,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -110,7 +110,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -265,7 +265,7 @@ public ConnectivityConfigurationInner withAppliesToGroups(List containerNetworkInterfaces() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -148,7 +148,7 @@ public static ContainerNetworkInterfaceConfigurationPropertiesFormat fromJson(Js = containerNetworkInterfaces; } else if ("provisioningState".equals(fieldName)) { deserializedContainerNetworkInterfaceConfigurationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java index cfc0af99d2ba..2b809d385dab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -21,12 +21,12 @@ public final class ContainerNetworkInterfaceIpConfigurationPropertiesFormat /* * The provisioning state of the container network interface IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ContainerNetworkInterfaceIpConfigurationPropertiesFormat class. */ - public ContainerNetworkInterfaceIpConfigurationPropertiesFormat() { + private ContainerNetworkInterfaceIpConfigurationPropertiesFormat() { } /** @@ -35,7 +35,7 @@ public ContainerNetworkInterfaceIpConfigurationPropertiesFormat() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -76,7 +76,7 @@ public static ContainerNetworkInterfaceIpConfigurationPropertiesFormat fromJson( if ("provisioningState".equals(fieldName)) { deserializedContainerNetworkInterfaceIpConfigurationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java index 726a74a9918f..93f34aebd96b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -12,14 +12,14 @@ import com.azure.resourcemanager.network.models.Container; import com.azure.resourcemanager.network.models.ContainerNetworkInterfaceConfiguration; import com.azure.resourcemanager.network.models.ContainerNetworkInterfaceIpConfiguration; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; /** * Properties of container network interface. */ -@Fluent +@Immutable public final class ContainerNetworkInterfacePropertiesFormat implements JsonSerializable { /* @@ -40,12 +40,12 @@ public final class ContainerNetworkInterfacePropertiesFormat /* * The provisioning state of the container network interface resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ContainerNetworkInterfacePropertiesFormat class. */ - public ContainerNetworkInterfacePropertiesFormat() { + private ContainerNetworkInterfacePropertiesFormat() { } /** @@ -67,17 +67,6 @@ public Container container() { return this.container; } - /** - * Set the container property: Reference to the container to which this container network interface is attached. - * - * @param container the container value to set. - * @return the ContainerNetworkInterfacePropertiesFormat object itself. - */ - public ContainerNetworkInterfacePropertiesFormat withContainer(Container container) { - this.container = container; - return this; - } - /** * Get the ipConfigurations property: Reference to the ip configuration on this container nic. * @@ -92,7 +81,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -150,7 +139,7 @@ public static ContainerNetworkInterfacePropertiesFormat fromJson(JsonReader json deserializedContainerNetworkInterfacePropertiesFormat.ipConfigurations = ipConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedContainerNetworkInterfacePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java index 5acb032cc818..1331a6e5ac5e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -14,7 +14,7 @@ import com.azure.resourcemanager.network.models.CustomIpPrefixType; import com.azure.resourcemanager.network.models.ExtendedLocation; import com.azure.resourcemanager.network.models.Geo; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -25,14 +25,14 @@ @Fluent public final class CustomIpPrefixInner extends Resource { /* - * The extended location of the custom IP prefix. + * Custom IP prefix properties. */ - private ExtendedLocation extendedLocation; + private CustomIpPrefixPropertiesFormat innerProperties; /* - * Custom IP prefix properties. + * The extended location of the custom IP prefix. */ - private CustomIpPrefixPropertiesFormat innerProperties; + private ExtendedLocation extendedLocation; /* * A unique read-only string that changes whenever the resource is updated. @@ -40,7 +40,7 @@ public final class CustomIpPrefixInner extends Resource { private String etag; /* - * A list of availability zones denoting the IP allocated for the resource needs to come from. + * A list of availability zones denoting where the resource needs to come from. */ private List zones; @@ -65,6 +65,15 @@ public final class CustomIpPrefixInner extends Resource { public CustomIpPrefixInner() { } + /** + * Get the innerProperties property: Custom IP prefix properties. + * + * @return the innerProperties value. + */ + private CustomIpPrefixPropertiesFormat innerProperties() { + return this.innerProperties; + } + /** * Get the extendedLocation property: The extended location of the custom IP prefix. * @@ -85,15 +94,6 @@ public CustomIpPrefixInner withExtendedLocation(ExtendedLocation extendedLocatio return this; } - /** - * Get the innerProperties property: Custom IP prefix properties. - * - * @return the innerProperties value. - */ - private CustomIpPrefixPropertiesFormat innerProperties() { - return this.innerProperties; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -104,8 +104,7 @@ public String etag() { } /** - * Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come - * from. + * Get the zones property: A list of availability zones denoting where the resource needs to come from. * * @return the zones value. */ @@ -114,8 +113,7 @@ public List zones() { } /** - * Set the zones property: A list of availability zones denoting the IP allocated for the resource needs to come - * from. + * Set the zones property: A list of availability zones denoting where the resource needs to come from. * * @param zones the zones value to set. * @return the CustomIpPrefixInner object itself. @@ -454,7 +452,7 @@ public String failedReason() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -464,12 +462,12 @@ public ProvisioningState provisioningState() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (extendedLocation() != null) { - extendedLocation().validate(); - } if (innerProperties() != null) { innerProperties().validate(); } + if (extendedLocation() != null) { + extendedLocation().validate(); + } } /** @@ -480,8 +478,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); - jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element)); jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); @@ -512,10 +510,10 @@ public static CustomIpPrefixInner fromJson(JsonReader jsonReader) throws IOExcep } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedCustomIpPrefixInner.withTags(tags); - } else if ("extendedLocation".equals(fieldName)) { - deserializedCustomIpPrefixInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedCustomIpPrefixInner.innerProperties = CustomIpPrefixPropertiesFormat.fromJson(reader); + } else if ("extendedLocation".equals(fieldName)) { + deserializedCustomIpPrefixInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedCustomIpPrefixInner.etag = reader.getString(); } else if ("zones".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java index ae4874ebbcbd..f7bd4d1da4ed 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.CommissionedState; import com.azure.resourcemanager.network.models.CustomIpPrefixType; import com.azure.resourcemanager.network.models.Geo; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -95,7 +95,7 @@ public final class CustomIpPrefixPropertiesFormat implements JsonSerializable detectionRules = reader.readArray(reader1 -> DdosDetectionRule.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java index c1bb25442771..b053d42e8d4c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.DdosDetectionMode; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.TrafficDetectionRule; import java.io.IOException; @@ -22,7 +22,7 @@ public final class DdosDetectionRulePropertiesFormat implements JsonSerializable /* * The provisioning state of the DDoS detection rule. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The detection mode for the DDoS detection rule. @@ -45,7 +45,7 @@ public DdosDetectionRulePropertiesFormat() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -129,7 +129,7 @@ public static DdosDetectionRulePropertiesFormat fromJson(JsonReader jsonReader) if ("provisioningState".equals(fieldName)) { deserializedDdosDetectionRulePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("detectionMode".equals(fieldName)) { deserializedDdosDetectionRulePropertiesFormat.detectionMode = DdosDetectionMode.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java index 819aa7d3bd00..e8e9f161d468 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.Resource; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ResourceWithReadOnlyID; import java.io.IOException; import java.util.List; import java.util.Map; @@ -19,29 +19,34 @@ * A DDoS protection plan in a resource group. */ @Fluent -public final class DdosProtectionPlanInner extends Resource { +public final class DdosProtectionPlanInner extends ResourceWithReadOnlyID { /* * Properties of the DDoS protection plan. */ private DdosProtectionPlanPropertiesFormat innerProperties; + /* + * Resource tags. + */ + private Map tags; + /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -60,6 +65,26 @@ private DdosProtectionPlanPropertiesFormat innerProperties() { return this.innerProperties; } + /** + * 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 DdosProtectionPlanInner object itself. + */ + public DdosProtectionPlanInner withTags(Map tags) { + this.tags = tags; + return this; + } + /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -70,7 +95,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -80,7 +105,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -90,7 +115,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -108,15 +133,6 @@ public DdosProtectionPlanInner withLocation(String location) { return this; } - /** - * {@inheritDoc} - */ - @Override - public DdosProtectionPlanInner withTags(Map tags) { - super.withTags(tags); - return this; - } - /** * Get the resourceGuid property: The resource GUID property of the DDoS protection plan resource. It uniquely * identifies the resource, even if the user changes its name or migrate the resource across subscriptions or @@ -133,7 +149,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -162,6 +178,7 @@ public List virtualNetworks() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -175,8 +192,8 @@ public void validate() { 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.innerProperties); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); return jsonWriter.writeEndObject(); } @@ -186,7 +203,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of DdosProtectionPlanInner 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 DdosProtectionPlanInner. */ public static DdosProtectionPlanInner fromJson(JsonReader jsonReader) throws IOException { @@ -204,12 +220,12 @@ public static DdosProtectionPlanInner fromJson(JsonReader jsonReader) throws IOE deserializedDdosProtectionPlanInner.type = reader.getString(); } else if ("location".equals(fieldName)) { deserializedDdosProtectionPlanInner.withLocation(reader.getString()); - } else if ("tags".equals(fieldName)) { - Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedDdosProtectionPlanInner.withTags(tags); } else if ("properties".equals(fieldName)) { deserializedDdosProtectionPlanInner.innerProperties = DdosProtectionPlanPropertiesFormat.fromJson(reader); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedDdosProtectionPlanInner.tags = tags; } else if ("etag".equals(fieldName)) { deserializedDdosProtectionPlanInner.etag = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java index 3a3fc5b4c728..24b65e427198 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -28,7 +28,7 @@ public final class DdosProtectionPlanPropertiesFormat implements JsonSerializabl /* * The provisioning state of the DDoS protection plan resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The list of public IPs associated with the DDoS protection plan resource. This list is read-only. @@ -62,7 +62,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -123,7 +123,7 @@ public static DdosProtectionPlanPropertiesFormat fromJson(JsonReader jsonReader) deserializedDdosProtectionPlanPropertiesFormat.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedDdosProtectionPlanPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("publicIPAddresses".equals(fieldName)) { List publicIpAddresses = reader.readArray(reader1 -> SubResource.fromJson(reader1)); deserializedDdosProtectionPlanPropertiesFormat.publicIpAddresses = publicIpAddresses; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java index 4d7d00c59011..600d342253d5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java index a919ec5f95a2..b96beaba974a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * the default web application firewall rule set. */ -@Fluent +@Immutable public final class DefaultRuleSetPropertyFormat implements JsonSerializable { /* * The type of the web application firewall rule set. @@ -29,7 +29,7 @@ public final class DefaultRuleSetPropertyFormat implements JsonSerializable { /* * Domain availability (True/False). @@ -24,7 +24,7 @@ public final class DnsNameAvailabilityResultInner implements JsonSerializable { +@Immutable +public class EffectiveBaseSecurityAdminRuleInner implements JsonSerializable { /* * Whether the rule is custom or default. */ @@ -48,9 +53,9 @@ public class EffectiveBaseSecurityAdminRule implements JsonSerializable ruleGroups; /** - * Creates an instance of EffectiveBaseSecurityAdminRule class. + * Creates an instance of EffectiveBaseSecurityAdminRuleInner class. */ - public EffectiveBaseSecurityAdminRule() { + protected EffectiveBaseSecurityAdminRuleInner() { } /** @@ -75,9 +80,9 @@ public String id() { * Set the id property: Resource ID. * * @param id the id value to set. - * @return the EffectiveBaseSecurityAdminRule object itself. + * @return the EffectiveBaseSecurityAdminRuleInner object itself. */ - public EffectiveBaseSecurityAdminRule withId(String id) { + EffectiveBaseSecurityAdminRuleInner withId(String id) { this.id = id; return this; } @@ -95,9 +100,9 @@ public String configurationDescription() { * Set the configurationDescription property: A description of the security admin configuration. * * @param configurationDescription the configurationDescription value to set. - * @return the EffectiveBaseSecurityAdminRule object itself. + * @return the EffectiveBaseSecurityAdminRuleInner object itself. */ - public EffectiveBaseSecurityAdminRule withConfigurationDescription(String configurationDescription) { + EffectiveBaseSecurityAdminRuleInner withConfigurationDescription(String configurationDescription) { this.configurationDescription = configurationDescription; return this; } @@ -115,9 +120,9 @@ public String ruleCollectionDescription() { * Set the ruleCollectionDescription property: A description of the rule collection. * * @param ruleCollectionDescription the ruleCollectionDescription value to set. - * @return the EffectiveBaseSecurityAdminRule object itself. + * @return the EffectiveBaseSecurityAdminRuleInner object itself. */ - public EffectiveBaseSecurityAdminRule withRuleCollectionDescription(String ruleCollectionDescription) { + EffectiveBaseSecurityAdminRuleInner withRuleCollectionDescription(String ruleCollectionDescription) { this.ruleCollectionDescription = ruleCollectionDescription; return this; } @@ -135,9 +140,9 @@ public List ruleCollectionAppliesToGroups() { * Set the ruleCollectionAppliesToGroups property: Groups for rule collection. * * @param ruleCollectionAppliesToGroups the ruleCollectionAppliesToGroups value to set. - * @return the EffectiveBaseSecurityAdminRule object itself. + * @return the EffectiveBaseSecurityAdminRuleInner object itself. */ - public EffectiveBaseSecurityAdminRule + EffectiveBaseSecurityAdminRuleInner withRuleCollectionAppliesToGroups(List ruleCollectionAppliesToGroups) { this.ruleCollectionAppliesToGroups = ruleCollectionAppliesToGroups; return this; @@ -156,9 +161,9 @@ public List ruleGroups() { * Set the ruleGroups property: Effective configuration groups. * * @param ruleGroups the ruleGroups value to set. - * @return the EffectiveBaseSecurityAdminRule object itself. + * @return the EffectiveBaseSecurityAdminRuleInner object itself. */ - public EffectiveBaseSecurityAdminRule withRuleGroups(List ruleGroups) { + EffectiveBaseSecurityAdminRuleInner withRuleGroups(List ruleGroups) { this.ruleGroups = ruleGroups; return this; } @@ -194,14 +199,14 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of EffectiveBaseSecurityAdminRule from the JsonReader. + * Reads an instance of EffectiveBaseSecurityAdminRuleInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of EffectiveBaseSecurityAdminRule 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 EffectiveBaseSecurityAdminRule. + * @return An instance of EffectiveBaseSecurityAdminRuleInner 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 EffectiveBaseSecurityAdminRuleInner. */ - public static EffectiveBaseSecurityAdminRule fromJson(JsonReader jsonReader) throws IOException { + public static EffectiveBaseSecurityAdminRuleInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { @@ -228,38 +233,38 @@ public static EffectiveBaseSecurityAdminRule fromJson(JsonReader jsonReader) thr }); } - static EffectiveBaseSecurityAdminRule fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + static EffectiveBaseSecurityAdminRuleInner fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - EffectiveBaseSecurityAdminRule deserializedEffectiveBaseSecurityAdminRule - = new EffectiveBaseSecurityAdminRule(); + EffectiveBaseSecurityAdminRuleInner deserializedEffectiveBaseSecurityAdminRuleInner + = new EffectiveBaseSecurityAdminRuleInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("kind".equals(fieldName)) { - deserializedEffectiveBaseSecurityAdminRule.kind + deserializedEffectiveBaseSecurityAdminRuleInner.kind = EffectiveAdminRuleKind.fromString(reader.getString()); } else if ("id".equals(fieldName)) { - deserializedEffectiveBaseSecurityAdminRule.id = reader.getString(); + deserializedEffectiveBaseSecurityAdminRuleInner.id = reader.getString(); } else if ("configurationDescription".equals(fieldName)) { - deserializedEffectiveBaseSecurityAdminRule.configurationDescription = reader.getString(); + deserializedEffectiveBaseSecurityAdminRuleInner.configurationDescription = reader.getString(); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedEffectiveBaseSecurityAdminRule.ruleCollectionDescription = reader.getString(); + deserializedEffectiveBaseSecurityAdminRuleInner.ruleCollectionDescription = reader.getString(); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedEffectiveBaseSecurityAdminRule.ruleCollectionAppliesToGroups + deserializedEffectiveBaseSecurityAdminRuleInner.ruleCollectionAppliesToGroups = ruleCollectionAppliesToGroups; } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedEffectiveBaseSecurityAdminRule.ruleGroups = ruleGroups; + deserializedEffectiveBaseSecurityAdminRuleInner.ruleGroups = ruleGroups; } else { reader.skipChildren(); } } - return deserializedEffectiveBaseSecurityAdminRule; + return deserializedEffectiveBaseSecurityAdminRuleInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveConnectivityConfigurationInner.java similarity index 55% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveConnectivityConfigurationInner.java index eeb2dbf70993..ee5a98aaf0f2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveConnectivityConfigurationInner.java @@ -1,23 +1,31 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +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.network.fluent.models.ConnectivityConfigurationProperties; +import com.azure.resourcemanager.network.models.ConfigurationGroup; +import com.azure.resourcemanager.network.models.ConnectivityConfigurationPropertiesConnectivityCapabilities; +import com.azure.resourcemanager.network.models.ConnectivityGroupItem; +import com.azure.resourcemanager.network.models.ConnectivityTopology; +import com.azure.resourcemanager.network.models.DeleteExistingPeering; +import com.azure.resourcemanager.network.models.Hub; +import com.azure.resourcemanager.network.models.IsGlobal; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; /** * The network manager effective connectivity configuration. */ -@Fluent -public class EffectiveConnectivityConfiguration implements JsonSerializable { +@Immutable +public class EffectiveConnectivityConfigurationInner + implements JsonSerializable { /* * Connectivity configuration ID. */ @@ -34,9 +42,9 @@ public class EffectiveConnectivityConfiguration implements JsonSerializable configurationGroups; /** - * Creates an instance of EffectiveConnectivityConfiguration class. + * Creates an instance of EffectiveConnectivityConfigurationInner class. */ - public EffectiveConnectivityConfiguration() { + protected EffectiveConnectivityConfigurationInner() { } /** @@ -52,9 +60,9 @@ public String id() { * Set the id property: Connectivity configuration ID. * * @param id the id value to set. - * @return the EffectiveConnectivityConfiguration object itself. + * @return the EffectiveConnectivityConfigurationInner object itself. */ - public EffectiveConnectivityConfiguration withId(String id) { + EffectiveConnectivityConfigurationInner withId(String id) { this.id = id; return this; } @@ -72,9 +80,9 @@ private ConnectivityConfigurationProperties innerProperties() { * Set the innerProperties property: Properties of a network manager connectivity configuration. * * @param innerProperties the innerProperties value to set. - * @return the EffectiveConnectivityConfiguration object itself. + * @return the EffectiveConnectivityConfigurationInner object itself. */ - EffectiveConnectivityConfiguration withInnerProperties(ConnectivityConfigurationProperties innerProperties) { + EffectiveConnectivityConfigurationInner withInnerProperties(ConnectivityConfigurationProperties innerProperties) { this.innerProperties = innerProperties; return this; } @@ -92,9 +100,9 @@ public List configurationGroups() { * Set the configurationGroups property: Effective configuration groups. * * @param configurationGroups the configurationGroups value to set. - * @return the EffectiveConnectivityConfiguration object itself. + * @return the EffectiveConnectivityConfigurationInner object itself. */ - public EffectiveConnectivityConfiguration withConfigurationGroups(List configurationGroups) { + EffectiveConnectivityConfigurationInner withConfigurationGroups(List configurationGroups) { this.configurationGroups = configurationGroups; return this; } @@ -108,20 +116,6 @@ public String description() { return this.innerProperties() == null ? null : this.innerProperties().description(); } - /** - * Set the description property: A description of the connectivity configuration. - * - * @param description the description value to set. - * @return the EffectiveConnectivityConfiguration object itself. - */ - public EffectiveConnectivityConfiguration withDescription(String description) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withDescription(description); - return this; - } - /** * Get the connectivityTopology property: Connectivity topology type. * @@ -131,20 +125,6 @@ public ConnectivityTopology connectivityTopology() { return this.innerProperties() == null ? null : this.innerProperties().connectivityTopology(); } - /** - * Set the connectivityTopology property: Connectivity topology type. - * - * @param connectivityTopology the connectivityTopology value to set. - * @return the EffectiveConnectivityConfiguration object itself. - */ - public EffectiveConnectivityConfiguration withConnectivityTopology(ConnectivityTopology connectivityTopology) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withConnectivityTopology(connectivityTopology); - return this; - } - /** * Get the hubs property: List of hubItems. * @@ -154,20 +134,6 @@ public List hubs() { return this.innerProperties() == null ? null : this.innerProperties().hubs(); } - /** - * Set the hubs property: List of hubItems. - * - * @param hubs the hubs value to set. - * @return the EffectiveConnectivityConfiguration object itself. - */ - public EffectiveConnectivityConfiguration withHubs(List hubs) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withHubs(hubs); - return this; - } - /** * Get the isGlobal property: Flag if global mesh is supported. * @@ -177,20 +143,6 @@ public IsGlobal isGlobal() { return this.innerProperties() == null ? null : this.innerProperties().isGlobal(); } - /** - * Set the isGlobal property: Flag if global mesh is supported. - * - * @param isGlobal the isGlobal value to set. - * @return the EffectiveConnectivityConfiguration object itself. - */ - public EffectiveConnectivityConfiguration withIsGlobal(IsGlobal isGlobal) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withIsGlobal(isGlobal); - return this; - } - /** * Get the connectivityCapabilities property: Collection of additional settings to enhance specific topology * behaviors of the connectivity configuration resource. @@ -201,22 +153,6 @@ public ConnectivityConfigurationPropertiesConnectivityCapabilities connectivityC return this.innerProperties() == null ? null : this.innerProperties().connectivityCapabilities(); } - /** - * Set the connectivityCapabilities property: Collection of additional settings to enhance specific topology - * behaviors of the connectivity configuration resource. - * - * @param connectivityCapabilities the connectivityCapabilities value to set. - * @return the EffectiveConnectivityConfiguration object itself. - */ - public EffectiveConnectivityConfiguration withConnectivityCapabilities( - ConnectivityConfigurationPropertiesConnectivityCapabilities connectivityCapabilities) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withConnectivityCapabilities(connectivityCapabilities); - return this; - } - /** * Get the appliesToGroups property: Groups for configuration. * @@ -226,26 +162,12 @@ public List appliesToGroups() { return this.innerProperties() == null ? null : this.innerProperties().appliesToGroups(); } - /** - * Set the appliesToGroups property: Groups for configuration. - * - * @param appliesToGroups the appliesToGroups value to set. - * @return the EffectiveConnectivityConfiguration object itself. - */ - public EffectiveConnectivityConfiguration withAppliesToGroups(List appliesToGroups) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withAppliesToGroups(appliesToGroups); - return this; - } - /** * Get the provisioningState property: The provisioning state of the connectivity configuration resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -258,20 +180,6 @@ public DeleteExistingPeering deleteExistingPeering() { return this.innerProperties() == null ? null : this.innerProperties().deleteExistingPeering(); } - /** - * Set the deleteExistingPeering property: Flag if need to remove current existing peerings. - * - * @param deleteExistingPeering the deleteExistingPeering value to set. - * @return the EffectiveConnectivityConfiguration object itself. - */ - public EffectiveConnectivityConfiguration withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withDeleteExistingPeering(deleteExistingPeering); - return this; - } - /** * Get the resourceGuid property: Unique identifier for this resource. * @@ -309,36 +217,36 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of EffectiveConnectivityConfiguration from the JsonReader. + * Reads an instance of EffectiveConnectivityConfigurationInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of EffectiveConnectivityConfiguration 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 EffectiveConnectivityConfiguration. + * @return An instance of EffectiveConnectivityConfigurationInner 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 EffectiveConnectivityConfigurationInner. */ - public static EffectiveConnectivityConfiguration fromJson(JsonReader jsonReader) throws IOException { + public static EffectiveConnectivityConfigurationInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - EffectiveConnectivityConfiguration deserializedEffectiveConnectivityConfiguration - = new EffectiveConnectivityConfiguration(); + EffectiveConnectivityConfigurationInner deserializedEffectiveConnectivityConfigurationInner + = new EffectiveConnectivityConfigurationInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedEffectiveConnectivityConfiguration.id = reader.getString(); + deserializedEffectiveConnectivityConfigurationInner.id = reader.getString(); } else if ("properties".equals(fieldName)) { - deserializedEffectiveConnectivityConfiguration.innerProperties + deserializedEffectiveConnectivityConfigurationInner.innerProperties = ConnectivityConfigurationProperties.fromJson(reader); } else if ("configurationGroups".equals(fieldName)) { List configurationGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedEffectiveConnectivityConfiguration.configurationGroups = configurationGroups; + deserializedEffectiveConnectivityConfigurationInner.configurationGroups = configurationGroups; } else { reader.skipChildren(); } } - return deserializedEffectiveConnectivityConfiguration; + return deserializedEffectiveConnectivityConfigurationInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java index 0b532a338acf..3bd80193ca92 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for list effective network security groups API service call. */ -@Fluent +@Immutable public final class EffectiveNetworkSecurityGroupListResultInner implements JsonSerializable { /* - * A list of effective network security groups. + * The EffectiveNetworkSecurityGroup items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of EffectiveNetworkSecurityGroupListResultInner class. */ - public EffectiveNetworkSecurityGroupListResultInner() { + private EffectiveNetworkSecurityGroupListResultInner() { } /** - * Get the value property: A list of effective network security groups. + * Get the value property: The EffectiveNetworkSecurityGroup items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of effective network security groups. - * - * @param value the value value to set. - * @return the EffectiveNetworkSecurityGroupListResultInner object itself. - */ - public EffectiveNetworkSecurityGroupListResultInner withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model EffectiveNetworkSecurityGroupListResultInner")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(EffectiveNetworkSecurityGroupListResultInner.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of EffectiveNetworkSecurityGroupListResultInner 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 EffectiveNetworkSecurityGroupListResultInner. */ public static EffectiveNetworkSecurityGroupListResultInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java index 739b2cc0f5b7..b60d2719267e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * Response for list effective route API service call. */ -@Fluent +@Immutable public final class EffectiveRouteListResultInner implements JsonSerializable { /* - * A list of effective routes. + * The EffectiveRoute items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of EffectiveRouteListResultInner class. */ - public EffectiveRouteListResultInner() { + private EffectiveRouteListResultInner() { } /** - * Get the value property: A list of effective routes. + * Get the value property: The EffectiveRoute items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of effective routes. - * - * @param value the value value to set. - * @return the EffectiveRouteListResultInner object itself. - */ - public EffectiveRouteListResultInner withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model EffectiveRouteListResultInner")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(EffectiveRouteListResultInner.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of EffectiveRouteListResultInner 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 EffectiveRouteListResultInner. */ public static EffectiveRouteListResultInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteInner.java similarity index 53% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteInner.java index 093e7206d44c..9c18604e3236 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,8 +14,8 @@ /** * The effective RouteMap route configured on the connection resource. */ -@Fluent -public final class EffectiveRouteMapRoute implements JsonSerializable { +@Immutable +public final class EffectiveRouteMapRouteInner implements JsonSerializable { /* * The address prefix of the route. */ @@ -32,9 +32,9 @@ public final class EffectiveRouteMapRoute implements JsonSerializable { - EffectiveRouteMapRoute deserializedEffectiveRouteMapRoute = new EffectiveRouteMapRoute(); + EffectiveRouteMapRouteInner deserializedEffectiveRouteMapRouteInner = new EffectiveRouteMapRouteInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("prefix".equals(fieldName)) { - deserializedEffectiveRouteMapRoute.prefix = reader.getString(); + deserializedEffectiveRouteMapRouteInner.prefix = reader.getString(); } else if ("bgpCommunities".equals(fieldName)) { - deserializedEffectiveRouteMapRoute.bgpCommunities = reader.getString(); + deserializedEffectiveRouteMapRouteInner.bgpCommunities = reader.getString(); } else if ("asPath".equals(fieldName)) { - deserializedEffectiveRouteMapRoute.asPath = reader.getString(); + deserializedEffectiveRouteMapRouteInner.asPath = reader.getString(); } else { reader.skipChildren(); } } - return deserializedEffectiveRouteMapRoute; + return deserializedEffectiveRouteMapRouteInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java index ca0c0f7d47d6..20919d371ee9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Endpoint service. */ -@Fluent +@Immutable public final class EndpointServiceResultInner extends SubResource { /* * Name of the endpoint service. @@ -29,7 +29,7 @@ public final class EndpointServiceResultInner extends SubResource { /** * Creates an instance of EndpointServiceResultInner class. */ - public EndpointServiceResultInner() { + private EndpointServiceResultInner() { } /** @@ -50,15 +50,6 @@ public String type() { return this.type; } - /** - * {@inheritDoc} - */ - @Override - public EndpointServiceResultInner withId(String id) { - super.withId(id); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java index 50a7475e7aef..f798c4a50dbf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java @@ -1,40 +1,35 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AuthorizationUseStatus; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** * Authorization in an ExpressRouteCircuit resource. */ @Fluent -public final class ExpressRouteCircuitAuthorizationInner extends SubResource { +public final class ExpressRouteCircuitAuthorizationInner extends SubResourceModel { /* * Properties of the express route circuit authorization. */ private AuthorizationPropertiesFormat innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Type of the resource. + * Resource type. */ private String type; @@ -53,28 +48,6 @@ private AuthorizationPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the ExpressRouteCircuitAuthorizationInner object itself. - */ - public ExpressRouteCircuitAuthorizationInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -85,10 +58,11 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -102,6 +76,15 @@ public ExpressRouteCircuitAuthorizationInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public ExpressRouteCircuitAuthorizationInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the authorizationKey property: The authorization key. * @@ -164,7 +147,7 @@ public String connectionResourceUri() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -173,6 +156,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -186,8 +170,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -209,15 +193,15 @@ public static ExpressRouteCircuitAuthorizationInner fromJson(JsonReader jsonRead if ("id".equals(fieldName)) { deserializedExpressRouteCircuitAuthorizationInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedExpressRouteCircuitAuthorizationInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedExpressRouteCircuitAuthorizationInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedExpressRouteCircuitAuthorizationInner.innerProperties = AuthorizationPropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedExpressRouteCircuitAuthorizationInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedExpressRouteCircuitAuthorizationInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedExpressRouteCircuitAuthorizationInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java index fc905965b491..0d4626dbffd1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,31 +11,27 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CircuitConnectionStatus; import com.azure.resourcemanager.network.models.Ipv6CircuitConnectionConfig; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** * Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. */ @Fluent -public final class ExpressRouteCircuitConnectionInner extends SubResource { +public final class ExpressRouteCircuitConnectionInner extends SubResourceModel { /* * Properties of the express route circuit connection. */ private ExpressRouteCircuitConnectionPropertiesFormat innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Type of the resource. + * Resource type. */ private String type; @@ -54,28 +50,6 @@ private ExpressRouteCircuitConnectionPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the ExpressRouteCircuitConnectionInner object itself. - */ - public ExpressRouteCircuitConnectionInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -86,10 +60,11 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -103,6 +78,15 @@ public ExpressRouteCircuitConnectionInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public ExpressRouteCircuitConnectionInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the * circuit initiating connection. @@ -240,7 +224,7 @@ public CircuitConnectionStatus circuitConnectionStatus() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -249,6 +233,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -262,8 +247,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -285,15 +270,15 @@ public static ExpressRouteCircuitConnectionInner fromJson(JsonReader jsonReader) if ("id".equals(fieldName)) { deserializedExpressRouteCircuitConnectionInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedExpressRouteCircuitConnectionInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedExpressRouteCircuitConnectionInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedExpressRouteCircuitConnectionInner.innerProperties = ExpressRouteCircuitConnectionPropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedExpressRouteCircuitConnectionInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedExpressRouteCircuitConnectionInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedExpressRouteCircuitConnectionInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java index d093fa7b41e4..74ecbea7b4a2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CircuitConnectionStatus; import com.azure.resourcemanager.network.models.Ipv6CircuitConnectionConfig; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -54,7 +54,7 @@ public final class ExpressRouteCircuitConnectionPropertiesFormat /* * The provisioning state of the express route circuit connection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ExpressRouteCircuitConnectionPropertiesFormat class. @@ -185,7 +185,7 @@ public CircuitConnectionStatus circuitConnectionStatus() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -248,7 +248,7 @@ public static ExpressRouteCircuitConnectionPropertiesFormat fromJson(JsonReader = CircuitConnectionStatus.fromString(reader.getString()); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteCircuitConnectionPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java index 991ca3e5c7b6..b0d8d712fda8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitServiceProviderProperties; import com.azure.resourcemanager.network.models.ExpressRouteCircuitSku; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ServiceProviderProvisioningState; import java.io.IOException; import java.util.List; @@ -23,11 +23,6 @@ */ @Fluent public final class ExpressRouteCircuitInner extends Resource { - /* - * The SKU. - */ - private ExpressRouteCircuitSku sku; - /* * Properties of the express route circuit. */ @@ -38,6 +33,11 @@ public final class ExpressRouteCircuitInner extends Resource { */ private String etag; + /* + * The SKU. + */ + private ExpressRouteCircuitSku sku; + /* * Resource ID. */ @@ -60,41 +60,41 @@ public ExpressRouteCircuitInner() { } /** - * Get the sku property: The SKU. + * Get the innerProperties property: Properties of the express route circuit. * - * @return the sku value. + * @return the innerProperties value. */ - public ExpressRouteCircuitSku sku() { - return this.sku; + private ExpressRouteCircuitPropertiesFormat innerProperties() { + return this.innerProperties; } /** - * Set the sku property: The SKU. + * Get the etag property: A unique read-only string that changes whenever the resource is updated. * - * @param sku the sku value to set. - * @return the ExpressRouteCircuitInner object itself. + * @return the etag value. */ - public ExpressRouteCircuitInner withSku(ExpressRouteCircuitSku sku) { - this.sku = sku; - return this; + public String etag() { + return this.etag; } /** - * Get the innerProperties property: Properties of the express route circuit. + * Get the sku property: The SKU. * - * @return the innerProperties value. + * @return the sku value. */ - private ExpressRouteCircuitPropertiesFormat innerProperties() { - return this.innerProperties; + public ExpressRouteCircuitSku sku() { + return this.sku; } /** - * Get the etag property: A unique read-only string that changes whenever the resource is updated. + * Set the sku property: The SKU. * - * @return the etag value. + * @param sku the sku value to set. + * @return the ExpressRouteCircuitInner object itself. */ - public String etag() { - return this.etag; + public ExpressRouteCircuitInner withSku(ExpressRouteCircuitSku sku) { + this.sku = sku; + return this; } /** @@ -372,7 +372,7 @@ public ExpressRouteCircuitInner withExpressRoutePort(SubResource expressRoutePor * * @return the bandwidthInGbps value. */ - public Float bandwidthInGbps() { + public Double bandwidthInGbps() { return this.innerProperties() == null ? null : this.innerProperties().bandwidthInGbps(); } @@ -383,7 +383,7 @@ public Float bandwidthInGbps() { * @param bandwidthInGbps the bandwidthInGbps value to set. * @return the ExpressRouteCircuitInner object itself. */ - public ExpressRouteCircuitInner withBandwidthInGbps(Float bandwidthInGbps) { + public ExpressRouteCircuitInner withBandwidthInGbps(Double bandwidthInGbps) { if (this.innerProperties() == null) { this.innerProperties = new ExpressRouteCircuitPropertiesFormat(); } @@ -405,7 +405,7 @@ public Integer stag() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -518,12 +518,12 @@ public ExpressRouteCircuitInner withEnableDirectPortRateLimit(Boolean enableDire * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (sku() != null) { - sku().validate(); - } if (innerProperties() != null) { innerProperties().validate(); } + if (sku() != null) { + sku().validate(); + } } /** @@ -534,8 +534,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); - jsonWriter.writeJsonField("sku", this.sku); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeJsonField("sku", this.sku); jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -565,13 +565,13 @@ public static ExpressRouteCircuitInner fromJson(JsonReader jsonReader) throws IO } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedExpressRouteCircuitInner.withTags(tags); - } else if ("sku".equals(fieldName)) { - deserializedExpressRouteCircuitInner.sku = ExpressRouteCircuitSku.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedExpressRouteCircuitInner.innerProperties = ExpressRouteCircuitPropertiesFormat.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedExpressRouteCircuitInner.etag = reader.getString(); + } else if ("sku".equals(fieldName)) { + deserializedExpressRouteCircuitInner.sku = ExpressRouteCircuitSku.fromJson(reader); } else if ("id".equals(fieldName)) { deserializedExpressRouteCircuitInner.id = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java index 620756296bb7..3bfb236c411f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -14,7 +14,8 @@ import com.azure.resourcemanager.network.models.ExpressRoutePeeringState; import com.azure.resourcemanager.network.models.ExpressRoutePeeringType; import com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -22,24 +23,19 @@ * Peering in an ExpressRouteCircuit resource. */ @Fluent -public final class ExpressRouteCircuitPeeringInner extends SubResource { +public final class ExpressRouteCircuitPeeringInner extends SubResourceModel { /* * Properties of the express route circuit peering. */ private ExpressRouteCircuitPeeringPropertiesFormatInner innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Type of the resource. + * Resource type. */ private String type; @@ -58,28 +54,6 @@ private ExpressRouteCircuitPeeringPropertiesFormatInner innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the ExpressRouteCircuitPeeringInner object itself. - */ - public ExpressRouteCircuitPeeringInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -90,10 +64,11 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -107,6 +82,15 @@ public ExpressRouteCircuitPeeringInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public ExpressRouteCircuitPeeringInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the peeringType property: The peering type. * @@ -389,7 +373,7 @@ public ExpressRouteCircuitPeeringInner withStats(ExpressRouteCircuitStatsInner s * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -535,6 +519,7 @@ public List peeredConnections() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -548,8 +533,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -571,15 +556,15 @@ public static ExpressRouteCircuitPeeringInner fromJson(JsonReader jsonReader) th if ("id".equals(fieldName)) { deserializedExpressRouteCircuitPeeringInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedExpressRouteCircuitPeeringInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedExpressRouteCircuitPeeringInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedExpressRouteCircuitPeeringInner.innerProperties = ExpressRouteCircuitPeeringPropertiesFormatInner.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedExpressRouteCircuitPeeringInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedExpressRouteCircuitPeeringInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedExpressRouteCircuitPeeringInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java index 4d741618bc3b..e72e967e19f9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.ExpressRoutePeeringState; import com.azure.resourcemanager.network.models.ExpressRoutePeeringType; import com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -88,7 +88,7 @@ public final class ExpressRouteCircuitPeeringPropertiesFormatInner /* * The provisioning state of the express route circuit peering resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The GatewayManager Etag. @@ -379,7 +379,7 @@ public ExpressRouteCircuitPeeringPropertiesFormatInner withStats(ExpressRouteCir * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -610,7 +610,7 @@ public static ExpressRouteCircuitPeeringPropertiesFormatInner fromJson(JsonReade = ExpressRouteCircuitStatsInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteCircuitPeeringPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("gatewayManagerEtag".equals(fieldName)) { deserializedExpressRouteCircuitPeeringPropertiesFormatInner.gatewayManagerEtag = reader.getString(); } else if ("lastModifiedBy".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java index 5f36c3035726..e24a9814a733 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitServiceProviderProperties; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ServiceProviderProvisioningState; import java.io.IOException; import java.util.List; @@ -70,7 +70,7 @@ public final class ExpressRouteCircuitPropertiesFormat /* * The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. */ - private Float bandwidthInGbps; + private Double bandwidthInGbps; /* * The identifier of the circuit traffic. Outer tag for QinQ encapsulation. @@ -80,7 +80,7 @@ public final class ExpressRouteCircuitPropertiesFormat /* * The provisioning state of the express route circuit resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The GatewayManager Etag. @@ -304,7 +304,7 @@ public ExpressRouteCircuitPropertiesFormat withExpressRoutePort(SubResource expr * * @return the bandwidthInGbps value. */ - public Float bandwidthInGbps() { + public Double bandwidthInGbps() { return this.bandwidthInGbps; } @@ -315,7 +315,7 @@ public Float bandwidthInGbps() { * @param bandwidthInGbps the bandwidthInGbps value to set. * @return the ExpressRouteCircuitPropertiesFormat object itself. */ - public ExpressRouteCircuitPropertiesFormat withBandwidthInGbps(Float bandwidthInGbps) { + public ExpressRouteCircuitPropertiesFormat withBandwidthInGbps(Double bandwidthInGbps) { this.bandwidthInGbps = bandwidthInGbps; return this; } @@ -334,7 +334,7 @@ public Integer stag() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -514,12 +514,12 @@ public static ExpressRouteCircuitPropertiesFormat fromJson(JsonReader jsonReader deserializedExpressRouteCircuitPropertiesFormat.expressRoutePort = SubResource.fromJson(reader); } else if ("bandwidthInGbps".equals(fieldName)) { deserializedExpressRouteCircuitPropertiesFormat.bandwidthInGbps - = reader.getNullable(JsonReader::getFloat); + = reader.getNullable(JsonReader::getDouble); } else if ("stag".equals(fieldName)) { deserializedExpressRouteCircuitPropertiesFormat.stag = reader.getNullable(JsonReader::getInt); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteCircuitPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("gatewayManagerEtag".equals(fieldName)) { deserializedExpressRouteCircuitPropertiesFormat.gatewayManagerEtag = reader.getString(); } else if ("globalReachEnabled".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java index 8c25403393b5..34a17a492ee6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java index 11b2046bef12..5bfac59c61f2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for ListArpTable associated with the Express Route Circuits API. */ -@Fluent +@Immutable public final class ExpressRouteCircuitsArpTableListResultInner implements JsonSerializable { /* - * A list of the ARP tables. + * The ExpressRouteCircuitArpTable items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteCircuitsArpTableListResultInner class. */ - public ExpressRouteCircuitsArpTableListResultInner() { + private ExpressRouteCircuitsArpTableListResultInner() { } /** - * Get the value property: A list of the ARP tables. + * Get the value property: The ExpressRouteCircuitArpTable items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of the ARP tables. - * - * @param value the value value to set. - * @return the ExpressRouteCircuitsArpTableListResultInner object itself. - */ - public ExpressRouteCircuitsArpTableListResultInner withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRouteCircuitsArpTableListResultInner object itself. - */ - public ExpressRouteCircuitsArpTableListResultInner withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteCircuitsArpTableListResultInner")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRouteCircuitsArpTableListResultInner.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteCircuitsArpTableListResultInner 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 ExpressRouteCircuitsArpTableListResultInner. */ public static ExpressRouteCircuitsArpTableListResultInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java index 7d509ff44f88..c9fcaaf74c14 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for ListRoutesTable associated with the Express Route Circuits API. */ -@Fluent +@Immutable public final class ExpressRouteCircuitsRoutesTableListResultInner implements JsonSerializable { /* - * The list of routes table. + * The ExpressRouteCircuitRoutesTable items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteCircuitsRoutesTableListResultInner class. */ - public ExpressRouteCircuitsRoutesTableListResultInner() { + private ExpressRouteCircuitsRoutesTableListResultInner() { } /** - * Get the value property: The list of routes table. + * Get the value property: The ExpressRouteCircuitRoutesTable items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: The list of routes table. - * - * @param value the value value to set. - * @return the ExpressRouteCircuitsRoutesTableListResultInner object itself. - */ - public ExpressRouteCircuitsRoutesTableListResultInner withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRouteCircuitsRoutesTableListResultInner object itself. - */ - public ExpressRouteCircuitsRoutesTableListResultInner withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteCircuitsRoutesTableListResultInner")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRouteCircuitsRoutesTableListResultInner.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteCircuitsRoutesTableListResultInner 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 ExpressRouteCircuitsRoutesTableListResultInner. */ public static ExpressRouteCircuitsRoutesTableListResultInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java index 8c9973f8ddcf..8235df7c1dfd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for ListRoutesTable associated with the Express Route Circuits API. */ -@Fluent +@Immutable public final class ExpressRouteCircuitsRoutesTableSummaryListResultInner implements JsonSerializable { /* - * A list of the routes table. + * The ExpressRouteCircuitRoutesTableSummary items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteCircuitsRoutesTableSummaryListResultInner class. */ - public ExpressRouteCircuitsRoutesTableSummaryListResultInner() { + private ExpressRouteCircuitsRoutesTableSummaryListResultInner() { } /** - * Get the value property: A list of the routes table. + * Get the value property: The ExpressRouteCircuitRoutesTableSummary items on this page. * * @return the value value. */ @@ -45,19 +46,7 @@ public List value() { } /** - * Set the value property: A list of the routes table. - * - * @param value the value value to set. - * @return the ExpressRouteCircuitsRoutesTableSummaryListResultInner object itself. - */ - public ExpressRouteCircuitsRoutesTableSummaryListResultInner - withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -65,28 +54,24 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRouteCircuitsRoutesTableSummaryListResultInner object itself. - */ - public ExpressRouteCircuitsRoutesTableSummaryListResultInner withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteCircuitsRoutesTableSummaryListResultInner")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER + = new ClientLogger(ExpressRouteCircuitsRoutesTableSummaryListResultInner.class); + /** * {@inheritDoc} */ @@ -104,6 +89,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteCircuitsRoutesTableSummaryListResultInner 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 ExpressRouteCircuitsRoutesTableSummaryListResultInner. */ public static ExpressRouteCircuitsRoutesTableSummaryListResultInner fromJson(JsonReader jsonReader) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java index 6b18c9c18a50..81bce6e48712 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitPeeringId; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import java.io.IOException; @@ -79,7 +79,7 @@ public ExpressRouteConnectionInner withId(String id) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java index 0caa96873a2c..f286408995a1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitPeeringId; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import java.io.IOException; @@ -23,7 +23,7 @@ public final class ExpressRouteConnectionProperties implements JsonSerializable< /* * The provisioning state of the express route connection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The ExpressRoute circuit peering. @@ -72,7 +72,7 @@ public ExpressRouteConnectionProperties() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -279,7 +279,7 @@ public static ExpressRouteConnectionProperties fromJson(JsonReader jsonReader) t = ExpressRouteCircuitPeeringId.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteConnectionProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("authorizationKey".equals(fieldName)) { deserializedExpressRouteConnectionProperties.authorizationKey = reader.getString(); } else if ("routingWeight".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java index e67ea62ca85c..2b91d7abba6d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitReference; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ServiceProviderProvisioningState; import java.io.IOException; import java.util.List; @@ -250,7 +250,7 @@ public ExpressRouteCrossConnectionInner withServiceProviderNotes(String serviceP * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java index 510adad5e83c..951902ada295 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.ExpressRoutePeeringState; import com.azure.resourcemanager.network.models.ExpressRoutePeeringType; import com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -309,7 +309,7 @@ public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java index 98229c3cb00e..5d1f7c20663d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.ExpressRoutePeeringState; import com.azure.resourcemanager.network.models.ExpressRoutePeeringType; import com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -80,7 +80,7 @@ public final class ExpressRouteCrossConnectionPeeringProperties /* * The provisioning state of the express route cross connection peering resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The GatewayManager Etag. @@ -298,7 +298,7 @@ public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -433,7 +433,7 @@ public static ExpressRouteCrossConnectionPeeringProperties fromJson(JsonReader j = ExpressRouteCircuitPeeringConfig.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteCrossConnectionPeeringProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("gatewayManagerEtag".equals(fieldName)) { deserializedExpressRouteCrossConnectionPeeringProperties.gatewayManagerEtag = reader.getString(); } else if ("lastModifiedBy".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java index c7fd272d5f79..df7bf407841f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitReference; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ServiceProviderProvisioningState; import java.io.IOException; import java.util.List; @@ -64,7 +64,7 @@ public final class ExpressRouteCrossConnectionProperties /* * The provisioning state of the express route cross connection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The list of peerings. @@ -191,7 +191,7 @@ public ExpressRouteCrossConnectionProperties withServiceProviderNotes(String ser * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -280,7 +280,7 @@ public static ExpressRouteCrossConnectionProperties fromJson(JsonReader jsonRead deserializedExpressRouteCrossConnectionProperties.serviceProviderNotes = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteCrossConnectionProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("peerings".equals(fieldName)) { List peerings = reader.readArray(reader1 -> ExpressRouteCrossConnectionPeeringInner.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java index c6ca43eeb203..da833242cd9a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for ListRoutesTable associated with the Express Route Cross Connections. */ -@Fluent +@Immutable public final class ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner implements JsonSerializable { /* - * A list of the routes table. + * The ExpressRouteCrossConnectionRoutesTableSummary items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner class. */ - public ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner() { + private ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner() { } /** - * Get the value property: A list of the routes table. + * Get the value property: The ExpressRouteCrossConnectionRoutesTableSummary items on this page. * * @return the value value. */ @@ -45,19 +46,7 @@ public List value() { } /** - * Set the value property: A list of the routes table. - * - * @param value the value value to set. - * @return the ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner object itself. - */ - public ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner - withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -71,11 +60,18 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER + = new ClientLogger(ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.class); + /** * {@inheritDoc} */ @@ -83,6 +79,7 @@ public void validate() { 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(); } @@ -92,6 +89,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner 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 * ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner. */ diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java index b08ac389665b..ca2ff99e3d90 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -18,7 +18,7 @@ /** * ExpressRoute failover single test details. */ -@Fluent +@Immutable public final class ExpressRouteFailoverSingleTestDetailsInner implements JsonSerializable { /* @@ -64,7 +64,7 @@ public final class ExpressRouteFailoverSingleTestDetailsInner /** * Creates an instance of ExpressRouteFailoverSingleTestDetailsInner class. */ - public ExpressRouteFailoverSingleTestDetailsInner() { + private ExpressRouteFailoverSingleTestDetailsInner() { } /** @@ -76,17 +76,6 @@ public String peeringLocation() { return this.peeringLocation; } - /** - * Set the peeringLocation property: Peering location of the test. - * - * @param peeringLocation the peeringLocation value to set. - * @return the ExpressRouteFailoverSingleTestDetailsInner object itself. - */ - public ExpressRouteFailoverSingleTestDetailsInner withPeeringLocation(String peeringLocation) { - this.peeringLocation = peeringLocation; - return this; - } - /** * Get the status property: The current status of the test. * @@ -96,17 +85,6 @@ public FailoverTestStatusForSingleTest status() { return this.status; } - /** - * Set the status property: The current status of the test. - * - * @param status the status value to set. - * @return the ExpressRouteFailoverSingleTestDetailsInner object itself. - */ - public ExpressRouteFailoverSingleTestDetailsInner withStatus(FailoverTestStatusForSingleTest status) { - this.status = status; - return this; - } - /** * Get the startTimeUtc property: Time when the test was started. * @@ -116,17 +94,6 @@ public String startTimeUtc() { return this.startTimeUtc; } - /** - * Set the startTimeUtc property: Time when the test was started. - * - * @param startTimeUtc the startTimeUtc value to set. - * @return the ExpressRouteFailoverSingleTestDetailsInner object itself. - */ - public ExpressRouteFailoverSingleTestDetailsInner withStartTimeUtc(String startTimeUtc) { - this.startTimeUtc = startTimeUtc; - return this; - } - /** * Get the endTimeUtc property: Time when the test was completed. * @@ -136,17 +103,6 @@ public String endTimeUtc() { return this.endTimeUtc; } - /** - * Set the endTimeUtc property: Time when the test was completed. - * - * @param endTimeUtc the endTimeUtc value to set. - * @return the ExpressRouteFailoverSingleTestDetailsInner object itself. - */ - public ExpressRouteFailoverSingleTestDetailsInner withEndTimeUtc(String endTimeUtc) { - this.endTimeUtc = endTimeUtc; - return this; - } - /** * Get the redundantRoutes property: List of routes received from this peering as well as some other peering * location. @@ -157,19 +113,6 @@ public List redundantRoutes() { return this.redundantRoutes; } - /** - * Set the redundantRoutes property: List of routes received from this peering as well as some other peering - * location. - * - * @param redundantRoutes the redundantRoutes value to set. - * @return the ExpressRouteFailoverSingleTestDetailsInner object itself. - */ - public ExpressRouteFailoverSingleTestDetailsInner - withRedundantRoutes(List redundantRoutes) { - this.redundantRoutes = redundantRoutes; - return this; - } - /** * Get the nonRedundantRoutes property: List of al the routes that were received only from this peering location. * @@ -179,17 +122,6 @@ public List nonRedundantRoutes() { return this.nonRedundantRoutes; } - /** - * Set the nonRedundantRoutes property: List of al the routes that were received only from this peering location. - * - * @param nonRedundantRoutes the nonRedundantRoutes value to set. - * @return the ExpressRouteFailoverSingleTestDetailsInner object itself. - */ - public ExpressRouteFailoverSingleTestDetailsInner withNonRedundantRoutes(List nonRedundantRoutes) { - this.nonRedundantRoutes = nonRedundantRoutes; - return this; - } - /** * Get the wasSimulationSuccessful property: Whether the failover simulation was successful or not. * @@ -199,17 +131,6 @@ public Boolean wasSimulationSuccessful() { return this.wasSimulationSuccessful; } - /** - * Set the wasSimulationSuccessful property: Whether the failover simulation was successful or not. - * - * @param wasSimulationSuccessful the wasSimulationSuccessful value to set. - * @return the ExpressRouteFailoverSingleTestDetailsInner object itself. - */ - public ExpressRouteFailoverSingleTestDetailsInner withWasSimulationSuccessful(Boolean wasSimulationSuccessful) { - this.wasSimulationSuccessful = wasSimulationSuccessful; - return this; - } - /** * Get the failoverConnectionDetails property: List of all the failover connections for this peering location. * @@ -219,18 +140,6 @@ public List failoverConnectionDetails() { return this.failoverConnectionDetails; } - /** - * Set the failoverConnectionDetails property: List of all the failover connections for this peering location. - * - * @param failoverConnectionDetails the failoverConnectionDetails value to set. - * @return the ExpressRouteFailoverSingleTestDetailsInner object itself. - */ - public ExpressRouteFailoverSingleTestDetailsInner - withFailoverConnectionDetails(List failoverConnectionDetails) { - this.failoverConnectionDetails = failoverConnectionDetails; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java index 9a67535be0a8..ab214c296a02 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -19,7 +19,7 @@ /** * ExpressRoute failover test details. */ -@Fluent +@Immutable public final class ExpressRouteFailoverTestDetailsInner implements JsonSerializable { /* @@ -70,7 +70,7 @@ public final class ExpressRouteFailoverTestDetailsInner /** * Creates an instance of ExpressRouteFailoverTestDetailsInner class. */ - public ExpressRouteFailoverTestDetailsInner() { + private ExpressRouteFailoverTestDetailsInner() { } /** @@ -82,17 +82,6 @@ public String peeringLocation() { return this.peeringLocation; } - /** - * Set the peeringLocation property: Peering location of the test. - * - * @param peeringLocation the peeringLocation value to set. - * @return the ExpressRouteFailoverTestDetailsInner object itself. - */ - public ExpressRouteFailoverTestDetailsInner withPeeringLocation(String peeringLocation) { - this.peeringLocation = peeringLocation; - return this; - } - /** * Get the circuits property: All circuits in the peering location. * @@ -102,18 +91,6 @@ public List circuits() { return this.circuits; } - /** - * Set the circuits property: All circuits in the peering location. - * - * @param circuits the circuits value to set. - * @return the ExpressRouteFailoverTestDetailsInner object itself. - */ - public ExpressRouteFailoverTestDetailsInner - withCircuits(List circuits) { - this.circuits = circuits; - return this; - } - /** * Get the status property: The current status of the test. * @@ -123,17 +100,6 @@ public FailoverTestStatus status() { return this.status; } - /** - * Set the status property: The current status of the test. - * - * @param status the status value to set. - * @return the ExpressRouteFailoverTestDetailsInner object itself. - */ - public ExpressRouteFailoverTestDetailsInner withStatus(FailoverTestStatus status) { - this.status = status; - return this; - } - /** * Get the startTime property: Time when the test was started. * @@ -143,17 +109,6 @@ public String startTime() { return this.startTime; } - /** - * Set the startTime property: Time when the test was started. - * - * @param startTime the startTime value to set. - * @return the ExpressRouteFailoverTestDetailsInner object itself. - */ - public ExpressRouteFailoverTestDetailsInner withStartTime(String startTime) { - this.startTime = startTime; - return this; - } - /** * Get the endTime property: Time when the test was completed. * @@ -163,17 +118,6 @@ public String endTime() { return this.endTime; } - /** - * Set the endTime property: Time when the test was completed. - * - * @param endTime the endTime value to set. - * @return the ExpressRouteFailoverTestDetailsInner object itself. - */ - public ExpressRouteFailoverTestDetailsInner withEndTime(String endTime) { - this.endTime = endTime; - return this; - } - /** * Get the connections property: All connections to the circuits in the peering location. * @@ -183,18 +127,6 @@ public List connections() { return this.connections; } - /** - * Set the connections property: All connections to the circuits in the peering location. - * - * @param connections the connections value to set. - * @return the ExpressRouteFailoverTestDetailsInner object itself. - */ - public ExpressRouteFailoverTestDetailsInner - withConnections(List connections) { - this.connections = connections; - return this; - } - /** * Get the testGuid property: The unique GUID associated with the test. * @@ -204,17 +136,6 @@ public String testGuid() { return this.testGuid; } - /** - * Set the testGuid property: The unique GUID associated with the test. - * - * @param testGuid the testGuid value to set. - * @return the ExpressRouteFailoverTestDetailsInner object itself. - */ - public ExpressRouteFailoverTestDetailsInner withTestGuid(String testGuid) { - this.testGuid = testGuid; - return this; - } - /** * Get the testType property: The type of failover test. * @@ -224,17 +145,6 @@ public FailoverTestType testType() { return this.testType; } - /** - * Set the testType property: The type of failover test. - * - * @param testType the testType value to set. - * @return the ExpressRouteFailoverTestDetailsInner object itself. - */ - public ExpressRouteFailoverTestDetailsInner withTestType(FailoverTestType testType) { - this.testType = testType; - return this; - } - /** * Get the issues property: A list of all issues with the test. * @@ -244,17 +154,6 @@ public List issues() { return this.issues; } - /** - * Set the issues property: A list of all issues with the test. - * - * @param issues the issues value to set. - * @return the ExpressRouteFailoverTestDetailsInner object itself. - */ - public ExpressRouteFailoverTestDetailsInner withIssues(List issues) { - this.issues = issues; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java index 2345a54d8573..c56140b5cae4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VirtualHubId; import java.io.IOException; import java.util.List; @@ -181,7 +181,7 @@ public List expressRouteConnections() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java index edb46359df1a..6294551b92fa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VirtualHubId; import java.io.IOException; import java.util.List; @@ -34,7 +34,7 @@ public final class ExpressRouteGatewayProperties implements JsonSerializable expressRouteConnections() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -210,7 +210,7 @@ public static ExpressRouteGatewayProperties fromJson(JsonReader jsonReader) thro deserializedExpressRouteGatewayProperties.expressRouteConnections = expressRouteConnections; } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteGatewayProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("allowNonVirtualWanTraffic".equals(fieldName)) { deserializedExpressRouteGatewayProperties.allowNonVirtualWanTraffic = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java index 0f1d4407e63a..c8567879342c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.resourcemanager.network.models.ExpressRouteLinkAdminState; import com.azure.resourcemanager.network.models.ExpressRouteLinkConnectorType; import com.azure.resourcemanager.network.models.ExpressRouteLinkMacSecConfig; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -172,7 +172,7 @@ public ExpressRouteLinkInner withAdminState(ExpressRouteLinkAdminState adminStat * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java index e36c82c3e1ef..b8dd0daa0701 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.resourcemanager.network.models.ExpressRouteLinkAdminState; import com.azure.resourcemanager.network.models.ExpressRouteLinkConnectorType; import com.azure.resourcemanager.network.models.ExpressRouteLinkMacSecConfig; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -60,7 +60,7 @@ public final class ExpressRouteLinkPropertiesFormat implements JsonSerializable< /* * The provisioning state of the express route link resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * MacSec configuration. @@ -152,7 +152,7 @@ public ExpressRouteLinkPropertiesFormat withAdminState(ExpressRouteLinkAdminStat * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -232,7 +232,7 @@ public static ExpressRouteLinkPropertiesFormat fromJson(JsonReader jsonReader) t = ExpressRouteLinkAdminState.fromString(reader.getString()); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteLinkPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("macSecConfig".equals(fieldName)) { deserializedExpressRouteLinkPropertiesFormat.macSecConfig = ExpressRouteLinkMacSecConfig.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java index bf026d220148..c96910b43016 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRoutePortAuthorizationUseStatus; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** @@ -19,24 +19,19 @@ * ExpressRoutePort Authorization resource definition. */ @Fluent -public final class ExpressRoutePortAuthorizationInner extends SubResource { +public final class ExpressRoutePortAuthorizationInner extends SubResourceModel { /* * ExpressRoutePort properties. */ private ExpressRoutePortAuthorizationPropertiesFormat innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Type of the resource. + * Resource type. */ private String type; @@ -55,28 +50,6 @@ private ExpressRoutePortAuthorizationPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the ExpressRoutePortAuthorizationInner object itself. - */ - public ExpressRoutePortAuthorizationInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -87,10 +60,11 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -104,6 +78,15 @@ public ExpressRoutePortAuthorizationInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public ExpressRoutePortAuthorizationInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the authorizationKey property: The authorization key. * @@ -136,7 +119,7 @@ public String circuitResourceUri() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -145,6 +128,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -158,8 +142,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -181,15 +165,15 @@ public static ExpressRoutePortAuthorizationInner fromJson(JsonReader jsonReader) if ("id".equals(fieldName)) { deserializedExpressRoutePortAuthorizationInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedExpressRoutePortAuthorizationInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedExpressRoutePortAuthorizationInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedExpressRoutePortAuthorizationInner.innerProperties = ExpressRoutePortAuthorizationPropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedExpressRoutePortAuthorizationInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedExpressRoutePortAuthorizationInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedExpressRoutePortAuthorizationInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java index f05bc144a88d..c72c4e9f4b2a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRoutePortAuthorizationUseStatus; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -39,7 +39,7 @@ public final class ExpressRoutePortAuthorizationPropertiesFormat /* * The provisioning state of the authorization resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ExpressRoutePortAuthorizationPropertiesFormat class. @@ -79,7 +79,7 @@ public String circuitResourceUri() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -125,7 +125,7 @@ public static ExpressRoutePortAuthorizationPropertiesFormat fromJson(JsonReader deserializedExpressRoutePortAuthorizationPropertiesFormat.circuitResourceUri = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRoutePortAuthorizationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java index a9c1a8210292..e21d3e46751b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.ExpressRoutePortsBillingType; import com.azure.resourcemanager.network.models.ExpressRoutePortsEncapsulation; import com.azure.resourcemanager.network.models.ManagedServiceIdentity; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -210,7 +210,7 @@ public ExpressRoutePortInner withBandwidthInGbps(Integer bandwidthInGbps) { * * @return the provisionedBandwidthInGbps value. */ - public Float provisionedBandwidthInGbps() { + public Double provisionedBandwidthInGbps() { return this.innerProperties() == null ? null : this.innerProperties().provisionedBandwidthInGbps(); } @@ -265,7 +265,9 @@ public String allocationDate() { } /** - * Get the links property: The set of physical links of the ExpressRoutePort resource. + * Get the links property: ExpressRouteLink Sub-Resources + * + * The set of physical links of the ExpressRoutePort resource. * * @return the links value. */ @@ -274,7 +276,9 @@ public List links() { } /** - * Set the links property: The set of physical links of the ExpressRoutePort resource. + * Set the links property: ExpressRouteLink Sub-Resources + * + * The set of physical links of the ExpressRoutePort resource. * * @param links the links value to set. * @return the ExpressRoutePortInner object itself. @@ -302,7 +306,7 @@ public List circuits() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java index bb6b4059f9be..aea7647bdd26 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRoutePortsBillingType; import com.azure.resourcemanager.network.models.ExpressRoutePortsEncapsulation; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -36,7 +36,7 @@ public final class ExpressRoutePortPropertiesFormat implements JsonSerializable< /* * Aggregate Gbps of associated circuit bandwidths. */ - private Float provisionedBandwidthInGbps; + private Double provisionedBandwidthInGbps; /* * Maximum transmission unit of the physical port pair(s). @@ -59,6 +59,8 @@ public final class ExpressRoutePortPropertiesFormat implements JsonSerializable< private String allocationDate; /* + * ExpressRouteLink Sub-Resources + * * The set of physical links of the ExpressRoutePort resource. */ private List links; @@ -71,7 +73,7 @@ public final class ExpressRoutePortPropertiesFormat implements JsonSerializable< /* * The provisioning state of the express route port resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The resource GUID property of the express route port resource. @@ -136,7 +138,7 @@ public ExpressRoutePortPropertiesFormat withBandwidthInGbps(Integer bandwidthInG * * @return the provisionedBandwidthInGbps value. */ - public Float provisionedBandwidthInGbps() { + public Double provisionedBandwidthInGbps() { return this.provisionedBandwidthInGbps; } @@ -188,7 +190,9 @@ public String allocationDate() { } /** - * Get the links property: The set of physical links of the ExpressRoutePort resource. + * Get the links property: ExpressRouteLink Sub-Resources + * + * The set of physical links of the ExpressRoutePort resource. * * @return the links value. */ @@ -197,7 +201,9 @@ public List links() { } /** - * Set the links property: The set of physical links of the ExpressRoutePort resource. + * Set the links property: ExpressRouteLink Sub-Resources + * + * The set of physical links of the ExpressRoutePort resource. * * @param links the links value to set. * @return the ExpressRoutePortPropertiesFormat object itself. @@ -222,7 +228,7 @@ public List circuits() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -303,7 +309,7 @@ public static ExpressRoutePortPropertiesFormat fromJson(JsonReader jsonReader) t = reader.getNullable(JsonReader::getInt); } else if ("provisionedBandwidthInGbps".equals(fieldName)) { deserializedExpressRoutePortPropertiesFormat.provisionedBandwidthInGbps - = reader.getNullable(JsonReader::getFloat); + = reader.getNullable(JsonReader::getDouble); } else if ("mtu".equals(fieldName)) { deserializedExpressRoutePortPropertiesFormat.mtu = reader.getString(); } else if ("encapsulation".equals(fieldName)) { @@ -322,7 +328,7 @@ public static ExpressRoutePortPropertiesFormat fromJson(JsonReader jsonReader) t deserializedExpressRoutePortPropertiesFormat.circuits = circuits; } else if ("provisioningState".equals(fieldName)) { deserializedExpressRoutePortPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedExpressRoutePortPropertiesFormat.resourceGuid = reader.getString(); } else if ("billingType".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java index 05f8415c0e91..2adb141b81a0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.Resource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRoutePortsLocationBandwidths; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -20,7 +20,7 @@ * * Definition of the ExpressRoutePorts peering location resource. */ -@Fluent +@Immutable public final class ExpressRoutePortsLocationInner extends Resource { /* * ExpressRoutePort peering location properties. @@ -45,7 +45,7 @@ public final class ExpressRoutePortsLocationInner extends Resource { /** * Creates an instance of ExpressRoutePortsLocationInner class. */ - public ExpressRoutePortsLocationInner() { + private ExpressRoutePortsLocationInner() { } /** @@ -66,17 +66,6 @@ public String id() { return this.id; } - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the ExpressRoutePortsLocationInner object itself. - */ - public ExpressRoutePortsLocationInner withId(String id) { - this.id = id; - return this; - } - /** * Get the type property: The type of the resource. * @@ -97,24 +86,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public ExpressRoutePortsLocationInner withLocation(String location) { - super.withLocation(location); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ExpressRoutePortsLocationInner withTags(Map tags) { - super.withTags(tags); - return this; - } - /** * Get the address property: Address of peering location. * @@ -142,27 +113,12 @@ public List availableBandwidths() { return this.innerProperties() == null ? null : this.innerProperties().availableBandwidths(); } - /** - * Set the availableBandwidths property: The inventory of available ExpressRoutePort bandwidths. - * - * @param availableBandwidths the availableBandwidths value to set. - * @return the ExpressRoutePortsLocationInner object itself. - */ - public ExpressRoutePortsLocationInner - withAvailableBandwidths(List availableBandwidths) { - if (this.innerProperties() == null) { - this.innerProperties = new ExpressRoutePortsLocationPropertiesFormat(); - } - this.innerProperties().withAvailableBandwidths(availableBandwidths); - return this; - } - /** * Get the provisioningState property: The provisioning state of the express route port location resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java index 6f93fb127a24..fa74e25779b6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +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.network.models.ExpressRoutePortsLocationBandwidths; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -19,7 +19,7 @@ * * Properties specific to ExpressRoutePorts peering location resources. */ -@Fluent +@Immutable public final class ExpressRoutePortsLocationPropertiesFormat implements JsonSerializable { /* @@ -40,12 +40,12 @@ public final class ExpressRoutePortsLocationPropertiesFormat /* * The provisioning state of the express route port location resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ExpressRoutePortsLocationPropertiesFormat class. */ - public ExpressRoutePortsLocationPropertiesFormat() { + private ExpressRoutePortsLocationPropertiesFormat() { } /** @@ -75,24 +75,12 @@ public List availableBandwidths() { return this.availableBandwidths; } - /** - * Set the availableBandwidths property: The inventory of available ExpressRoutePort bandwidths. - * - * @param availableBandwidths the availableBandwidths value to set. - * @return the ExpressRoutePortsLocationPropertiesFormat object itself. - */ - public ExpressRoutePortsLocationPropertiesFormat - withAvailableBandwidths(List availableBandwidths) { - this.availableBandwidths = availableBandwidths; - return this; - } - /** * Get the provisioningState property: The provisioning state of the express route port location resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -144,7 +132,7 @@ public static ExpressRoutePortsLocationPropertiesFormat fromJson(JsonReader json deserializedExpressRoutePortsLocationPropertiesFormat.availableBandwidths = availableBandwidths; } else if ("provisioningState".equals(fieldName)) { deserializedExpressRoutePortsLocationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java index 147014f4c381..ac35ab3bf6c7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java @@ -1,22 +1,22 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; -import com.azure.core.management.Resource; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.ResourceWithReadOnlyNameAndID; import java.io.IOException; import java.util.Map; /** * ExpressRouteProviderPort resource. */ -@Fluent -public final class ExpressRouteProviderPortInner extends Resource { +@Immutable +public final class ExpressRouteProviderPortInner extends ResourceWithReadOnlyNameAndID { /* * Properties of the express route Service Provider Port. */ @@ -28,24 +28,34 @@ public final class ExpressRouteProviderPortInner extends Resource { private String etag; /* - * Resource ID. + * Resource tags. */ - private String id; + private Map tags; + + /* + * Resource location. + */ + private String location; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; + /* + * Resource ID. + */ + private String id; + /** * Creates an instance of ExpressRouteProviderPortInner class. */ - public ExpressRouteProviderPortInner() { + private ExpressRouteProviderPortInner() { } /** @@ -67,27 +77,27 @@ public String etag() { } /** - * Get the id property: Resource ID. + * Get the tags property: Resource tags. * - * @return the id value. + * @return the tags value. */ - public String id() { - return this.id; + @Override + public Map tags() { + return this.tags; } /** - * Set the id property: Resource ID. + * Get the location property: Resource location. * - * @param id the id value to set. - * @return the ExpressRouteProviderPortInner object itself. + * @return the location value. */ - public ExpressRouteProviderPortInner withId(String id) { - this.id = id; - return this; + @Override + public String location() { + return this.location; } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -97,7 +107,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -107,21 +117,13 @@ public String name() { } /** - * {@inheritDoc} - */ - @Override - public ExpressRouteProviderPortInner withLocation(String location) { - super.withLocation(location); - return this; - } - - /** - * {@inheritDoc} + * Get the id property: Resource ID. + * + * @return the id value. */ @Override - public ExpressRouteProviderPortInner withTags(Map tags) { - super.withTags(tags); - return this; + public String id() { + return this.id; } /** @@ -160,20 +162,6 @@ public String peeringLocation() { return this.innerProperties() == null ? null : this.innerProperties().peeringLocation(); } - /** - * Set the peeringLocation property: The peering location of the port pair. - * - * @param peeringLocation the peeringLocation value to set. - * @return the ExpressRouteProviderPortInner object itself. - */ - public ExpressRouteProviderPortInner withPeeringLocation(String peeringLocation) { - if (this.innerProperties() == null) { - this.innerProperties = new ExpressRouteProviderPortProperties(); - } - this.innerProperties().withPeeringLocation(peeringLocation); - return this; - } - /** * Get the overprovisionFactor property: Overprovisioning factor for the port pair. * @@ -183,20 +171,6 @@ public Integer overprovisionFactor() { return this.innerProperties() == null ? null : this.innerProperties().overprovisionFactor(); } - /** - * Set the overprovisionFactor property: Overprovisioning factor for the port pair. - * - * @param overprovisionFactor the overprovisionFactor value to set. - * @return the ExpressRouteProviderPortInner object itself. - */ - public ExpressRouteProviderPortInner withOverprovisionFactor(Integer overprovisionFactor) { - if (this.innerProperties() == null) { - this.innerProperties = new ExpressRouteProviderPortProperties(); - } - this.innerProperties().withOverprovisionFactor(overprovisionFactor); - return this; - } - /** * Get the portBandwidthInMbps property: Bandwidth of the port in Mbps. * @@ -206,20 +180,6 @@ public Integer portBandwidthInMbps() { return this.innerProperties() == null ? null : this.innerProperties().portBandwidthInMbps(); } - /** - * Set the portBandwidthInMbps property: Bandwidth of the port in Mbps. - * - * @param portBandwidthInMbps the portBandwidthInMbps value to set. - * @return the ExpressRouteProviderPortInner object itself. - */ - public ExpressRouteProviderPortInner withPortBandwidthInMbps(Integer portBandwidthInMbps) { - if (this.innerProperties() == null) { - this.innerProperties = new ExpressRouteProviderPortProperties(); - } - this.innerProperties().withPortBandwidthInMbps(portBandwidthInMbps); - return this; - } - /** * Get the usedBandwidthInMbps property: Used Bandwidth of the port in Mbps. * @@ -229,20 +189,6 @@ public Integer usedBandwidthInMbps() { return this.innerProperties() == null ? null : this.innerProperties().usedBandwidthInMbps(); } - /** - * Set the usedBandwidthInMbps property: Used Bandwidth of the port in Mbps. - * - * @param usedBandwidthInMbps the usedBandwidthInMbps value to set. - * @return the ExpressRouteProviderPortInner object itself. - */ - public ExpressRouteProviderPortInner withUsedBandwidthInMbps(Integer usedBandwidthInMbps) { - if (this.innerProperties() == null) { - this.innerProperties = new ExpressRouteProviderPortProperties(); - } - this.innerProperties().withUsedBandwidthInMbps(usedBandwidthInMbps); - return this; - } - /** * Get the remainingBandwidthInMbps property: Remaining Bandwidth of the port in Mbps. * @@ -252,25 +198,12 @@ public Integer remainingBandwidthInMbps() { return this.innerProperties() == null ? null : this.innerProperties().remainingBandwidthInMbps(); } - /** - * Set the remainingBandwidthInMbps property: Remaining Bandwidth of the port in Mbps. - * - * @param remainingBandwidthInMbps the remainingBandwidthInMbps value to set. - * @return the ExpressRouteProviderPortInner object itself. - */ - public ExpressRouteProviderPortInner withRemainingBandwidthInMbps(Integer remainingBandwidthInMbps) { - if (this.innerProperties() == null) { - this.innerProperties = new ExpressRouteProviderPortProperties(); - } - this.innerProperties().withRemainingBandwidthInMbps(remainingBandwidthInMbps); - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -286,7 +219,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("location", location()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -296,7 +228,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteProviderPortInner 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 ExpressRouteProviderPortInner. */ public static ExpressRouteProviderPortInner fromJson(JsonReader jsonReader) throws IOException { @@ -307,22 +238,22 @@ public static ExpressRouteProviderPortInner fromJson(JsonReader jsonReader) thro String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { + if ("id".equals(fieldName)) { + deserializedExpressRouteProviderPortInner.id = reader.getString(); + } else if ("name".equals(fieldName)) { deserializedExpressRouteProviderPortInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedExpressRouteProviderPortInner.type = reader.getString(); } else if ("location".equals(fieldName)) { - deserializedExpressRouteProviderPortInner.withLocation(reader.getString()); + deserializedExpressRouteProviderPortInner.location = reader.getString(); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedExpressRouteProviderPortInner.withTags(tags); + deserializedExpressRouteProviderPortInner.tags = tags; } else if ("properties".equals(fieldName)) { deserializedExpressRouteProviderPortInner.innerProperties = ExpressRouteProviderPortProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedExpressRouteProviderPortInner.etag = reader.getString(); - } else if ("id".equals(fieldName)) { - deserializedExpressRouteProviderPortInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java index 42dfa7bec4c6..e959e24569ce 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -13,29 +14,29 @@ import java.util.List; /** - * Response for ListExpressRouteProviderPort API service call. + * The response of a ExpressRouteProviderPort list operation. */ -@Fluent +@Immutable public final class ExpressRouteProviderPortListResultInner implements JsonSerializable { /* - * A list of ExpressRouteProviderPort resources. + * The ExpressRouteProviderPort items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteProviderPortListResultInner class. */ - public ExpressRouteProviderPortListResultInner() { + private ExpressRouteProviderPortListResultInner() { } /** - * Get the value property: A list of ExpressRouteProviderPort resources. + * Get the value property: The ExpressRouteProviderPort items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of ExpressRouteProviderPort resources. - * - * @param value the value value to set. - * @return the ExpressRouteProviderPortListResultInner object itself. - */ - public ExpressRouteProviderPortListResultInner withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteProviderPortListResultInner")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRouteProviderPortListResultInner.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteProviderPortListResultInner 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 ExpressRouteProviderPortListResultInner. */ public static ExpressRouteProviderPortListResultInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java index 84972d853b00..6726ff57575e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Properties of ExpressRouteProviderPort. */ -@Fluent +@Immutable public final class ExpressRouteProviderPortProperties implements JsonSerializable { /* * The name of the port pair. @@ -59,7 +59,7 @@ public final class ExpressRouteProviderPortProperties implements JsonSerializabl /** * Creates an instance of ExpressRouteProviderPortProperties class. */ - public ExpressRouteProviderPortProperties() { + private ExpressRouteProviderPortProperties() { } /** @@ -98,17 +98,6 @@ public String peeringLocation() { return this.peeringLocation; } - /** - * Set the peeringLocation property: The peering location of the port pair. - * - * @param peeringLocation the peeringLocation value to set. - * @return the ExpressRouteProviderPortProperties object itself. - */ - public ExpressRouteProviderPortProperties withPeeringLocation(String peeringLocation) { - this.peeringLocation = peeringLocation; - return this; - } - /** * Get the overprovisionFactor property: Overprovisioning factor for the port pair. * @@ -118,17 +107,6 @@ public Integer overprovisionFactor() { return this.overprovisionFactor; } - /** - * Set the overprovisionFactor property: Overprovisioning factor for the port pair. - * - * @param overprovisionFactor the overprovisionFactor value to set. - * @return the ExpressRouteProviderPortProperties object itself. - */ - public ExpressRouteProviderPortProperties withOverprovisionFactor(Integer overprovisionFactor) { - this.overprovisionFactor = overprovisionFactor; - return this; - } - /** * Get the portBandwidthInMbps property: Bandwidth of the port in Mbps. * @@ -138,17 +116,6 @@ public Integer portBandwidthInMbps() { return this.portBandwidthInMbps; } - /** - * Set the portBandwidthInMbps property: Bandwidth of the port in Mbps. - * - * @param portBandwidthInMbps the portBandwidthInMbps value to set. - * @return the ExpressRouteProviderPortProperties object itself. - */ - public ExpressRouteProviderPortProperties withPortBandwidthInMbps(Integer portBandwidthInMbps) { - this.portBandwidthInMbps = portBandwidthInMbps; - return this; - } - /** * Get the usedBandwidthInMbps property: Used Bandwidth of the port in Mbps. * @@ -158,17 +125,6 @@ public Integer usedBandwidthInMbps() { return this.usedBandwidthInMbps; } - /** - * Set the usedBandwidthInMbps property: Used Bandwidth of the port in Mbps. - * - * @param usedBandwidthInMbps the usedBandwidthInMbps value to set. - * @return the ExpressRouteProviderPortProperties object itself. - */ - public ExpressRouteProviderPortProperties withUsedBandwidthInMbps(Integer usedBandwidthInMbps) { - this.usedBandwidthInMbps = usedBandwidthInMbps; - return this; - } - /** * Get the remainingBandwidthInMbps property: Remaining Bandwidth of the port in Mbps. * @@ -178,17 +134,6 @@ public Integer remainingBandwidthInMbps() { return this.remainingBandwidthInMbps; } - /** - * Set the remainingBandwidthInMbps property: Remaining Bandwidth of the port in Mbps. - * - * @param remainingBandwidthInMbps the remainingBandwidthInMbps value to set. - * @return the ExpressRouteProviderPortProperties object itself. - */ - public ExpressRouteProviderPortProperties withRemainingBandwidthInMbps(Integer remainingBandwidthInMbps) { - this.remainingBandwidthInMbps = remainingBandwidthInMbps; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java index ebe1a4a28b27..d3bac99da4bd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.Resource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteServiceProviderBandwidthsOffered; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -18,7 +18,7 @@ /** * A ExpressRouteResourceProvider object. */ -@Fluent +@Immutable public final class ExpressRouteServiceProviderInner extends Resource { /* * Properties of the express route service provider. @@ -43,7 +43,7 @@ public final class ExpressRouteServiceProviderInner extends Resource { /** * Creates an instance of ExpressRouteServiceProviderInner class. */ - public ExpressRouteServiceProviderInner() { + private ExpressRouteServiceProviderInner() { } /** @@ -64,17 +64,6 @@ public String id() { return this.id; } - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the ExpressRouteServiceProviderInner object itself. - */ - public ExpressRouteServiceProviderInner withId(String id) { - this.id = id; - return this; - } - /** * Get the type property: The type of the resource. * @@ -95,24 +84,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public ExpressRouteServiceProviderInner withLocation(String location) { - super.withLocation(location); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ExpressRouteServiceProviderInner withTags(Map tags) { - super.withTags(tags); - return this; - } - /** * Get the peeringLocations property: A list of peering locations. * @@ -122,20 +93,6 @@ public List peeringLocations() { return this.innerProperties() == null ? null : this.innerProperties().peeringLocations(); } - /** - * Set the peeringLocations property: A list of peering locations. - * - * @param peeringLocations the peeringLocations value to set. - * @return the ExpressRouteServiceProviderInner object itself. - */ - public ExpressRouteServiceProviderInner withPeeringLocations(List peeringLocations) { - if (this.innerProperties() == null) { - this.innerProperties = new ExpressRouteServiceProviderPropertiesFormat(); - } - this.innerProperties().withPeeringLocations(peeringLocations); - return this; - } - /** * Get the bandwidthsOffered property: A list of bandwidths offered. * @@ -145,27 +102,12 @@ public List bandwidthsOffered() { return this.innerProperties() == null ? null : this.innerProperties().bandwidthsOffered(); } - /** - * Set the bandwidthsOffered property: A list of bandwidths offered. - * - * @param bandwidthsOffered the bandwidthsOffered value to set. - * @return the ExpressRouteServiceProviderInner object itself. - */ - public ExpressRouteServiceProviderInner - withBandwidthsOffered(List bandwidthsOffered) { - if (this.innerProperties() == null) { - this.innerProperties = new ExpressRouteServiceProviderPropertiesFormat(); - } - this.innerProperties().withBandwidthsOffered(bandwidthsOffered); - return this; - } - /** * Get the provisioningState property: The provisioning state of the express route service provider resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java index 2759bab102df..59eeaa030127 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java @@ -1,23 +1,23 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +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.network.models.ExpressRouteServiceProviderBandwidthsOffered; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; /** * Properties of ExpressRouteServiceProvider. */ -@Fluent +@Immutable public final class ExpressRouteServiceProviderPropertiesFormat implements JsonSerializable { /* @@ -33,12 +33,12 @@ public final class ExpressRouteServiceProviderPropertiesFormat /* * The provisioning state of the express route service provider resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ExpressRouteServiceProviderPropertiesFormat class. */ - public ExpressRouteServiceProviderPropertiesFormat() { + private ExpressRouteServiceProviderPropertiesFormat() { } /** @@ -50,17 +50,6 @@ public List peeringLocations() { return this.peeringLocations; } - /** - * Set the peeringLocations property: A list of peering locations. - * - * @param peeringLocations the peeringLocations value to set. - * @return the ExpressRouteServiceProviderPropertiesFormat object itself. - */ - public ExpressRouteServiceProviderPropertiesFormat withPeeringLocations(List peeringLocations) { - this.peeringLocations = peeringLocations; - return this; - } - /** * Get the bandwidthsOffered property: A list of bandwidths offered. * @@ -70,24 +59,12 @@ public List bandwidthsOffered() { return this.bandwidthsOffered; } - /** - * Set the bandwidthsOffered property: A list of bandwidths offered. - * - * @param bandwidthsOffered the bandwidthsOffered value to set. - * @return the ExpressRouteServiceProviderPropertiesFormat object itself. - */ - public ExpressRouteServiceProviderPropertiesFormat - withBandwidthsOffered(List bandwidthsOffered) { - this.bandwidthsOffered = bandwidthsOffered; - return this; - } - /** * Get the provisioningState property: The provisioning state of the express route service provider resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -140,7 +117,7 @@ public static ExpressRouteServiceProviderPropertiesFormat fromJson(JsonReader js deserializedExpressRouteServiceProviderPropertiesFormat.bandwidthsOffered = bandwidthsOffered; } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteServiceProviderPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java index cf945817b156..dd1cec60fafe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,8 +15,8 @@ import com.azure.resourcemanager.network.models.ExplicitProxy; import com.azure.resourcemanager.network.models.FirewallPolicyInsights; import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetection; -import com.azure.resourcemanager.network.models.FirewallPolicySnat; -import com.azure.resourcemanager.network.models.FirewallPolicySql; +import com.azure.resourcemanager.network.models.FirewallPolicySNAT; +import com.azure.resourcemanager.network.models.FirewallPolicySQL; import com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist; import java.io.IOException; import java.util.Map; @@ -216,7 +216,7 @@ public FirewallPolicyDraftInner withInsights(FirewallPolicyInsights insights) { * * @return the snat value. */ - public FirewallPolicySnat snat() { + public FirewallPolicySNAT snat() { return this.innerProperties() == null ? null : this.innerProperties().snat(); } @@ -226,7 +226,7 @@ public FirewallPolicySnat snat() { * @param snat the snat value to set. * @return the FirewallPolicyDraftInner object itself. */ - public FirewallPolicyDraftInner withSnat(FirewallPolicySnat snat) { + public FirewallPolicyDraftInner withSnat(FirewallPolicySNAT snat) { if (this.innerProperties() == null) { this.innerProperties = new FirewallPolicyDraftProperties(); } @@ -239,7 +239,7 @@ public FirewallPolicyDraftInner withSnat(FirewallPolicySnat snat) { * * @return the sql value. */ - public FirewallPolicySql sql() { + public FirewallPolicySQL sql() { return this.innerProperties() == null ? null : this.innerProperties().sql(); } @@ -249,7 +249,7 @@ public FirewallPolicySql sql() { * @param sql the sql value to set. * @return the FirewallPolicyDraftInner object itself. */ - public FirewallPolicyDraftInner withSql(FirewallPolicySql sql) { + public FirewallPolicyDraftInner withSql(FirewallPolicySQL sql) { if (this.innerProperties() == null) { this.innerProperties = new FirewallPolicyDraftProperties(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java index 74d2ea471e82..29fba1578a88 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,8 +15,8 @@ import com.azure.resourcemanager.network.models.ExplicitProxy; import com.azure.resourcemanager.network.models.FirewallPolicyInsights; import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetection; -import com.azure.resourcemanager.network.models.FirewallPolicySnat; -import com.azure.resourcemanager.network.models.FirewallPolicySql; +import com.azure.resourcemanager.network.models.FirewallPolicySNAT; +import com.azure.resourcemanager.network.models.FirewallPolicySQL; import com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist; import java.io.IOException; @@ -48,12 +48,12 @@ public final class FirewallPolicyDraftProperties implements JsonSerializable ruleCollectionGroups() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -306,7 +306,7 @@ public FirewallPolicyInner withInsights(FirewallPolicyInsights insights) { * * @return the snat value. */ - public FirewallPolicySnat snat() { + public FirewallPolicySNAT snat() { return this.innerProperties() == null ? null : this.innerProperties().snat(); } @@ -316,7 +316,7 @@ public FirewallPolicySnat snat() { * @param snat the snat value to set. * @return the FirewallPolicyInner object itself. */ - public FirewallPolicyInner withSnat(FirewallPolicySnat snat) { + public FirewallPolicyInner withSnat(FirewallPolicySNAT snat) { if (this.innerProperties() == null) { this.innerProperties = new FirewallPolicyPropertiesFormat(); } @@ -329,7 +329,7 @@ public FirewallPolicyInner withSnat(FirewallPolicySnat snat) { * * @return the sql value. */ - public FirewallPolicySql sql() { + public FirewallPolicySQL sql() { return this.innerProperties() == null ? null : this.innerProperties().sql(); } @@ -339,7 +339,7 @@ public FirewallPolicySql sql() { * @param sql the sql value to set. * @return the FirewallPolicyInner object itself. */ - public FirewallPolicyInner withSql(FirewallPolicySql sql) { + public FirewallPolicyInner withSql(FirewallPolicySQL sql) { if (this.innerProperties() == null) { this.innerProperties = new FirewallPolicyPropertiesFormat(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java index 457af1cf01a2..2e2ba508fc1d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,12 +15,12 @@ import com.azure.resourcemanager.network.models.ExplicitProxy; import com.azure.resourcemanager.network.models.FirewallPolicyInsights; import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetection; +import com.azure.resourcemanager.network.models.FirewallPolicySNAT; +import com.azure.resourcemanager.network.models.FirewallPolicySQL; import com.azure.resourcemanager.network.models.FirewallPolicySku; -import com.azure.resourcemanager.network.models.FirewallPolicySnat; -import com.azure.resourcemanager.network.models.FirewallPolicySql; import com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist; import com.azure.resourcemanager.network.models.FirewallPolicyTransportSecurity; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -42,7 +42,7 @@ public final class FirewallPolicyPropertiesFormat implements JsonSerializable ruleCollectionGroups() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -247,7 +247,7 @@ public FirewallPolicyPropertiesFormat withInsights(FirewallPolicyInsights insigh * * @return the snat value. */ - public FirewallPolicySnat snat() { + public FirewallPolicySNAT snat() { return this.snat; } @@ -257,7 +257,7 @@ public FirewallPolicySnat snat() { * @param snat the snat value to set. * @return the FirewallPolicyPropertiesFormat object itself. */ - public FirewallPolicyPropertiesFormat withSnat(FirewallPolicySnat snat) { + public FirewallPolicyPropertiesFormat withSnat(FirewallPolicySNAT snat) { this.snat = snat; return this; } @@ -267,7 +267,7 @@ public FirewallPolicyPropertiesFormat withSnat(FirewallPolicySnat snat) { * * @return the sql value. */ - public FirewallPolicySql sql() { + public FirewallPolicySQL sql() { return this.sql; } @@ -277,7 +277,7 @@ public FirewallPolicySql sql() { * @param sql the sql value to set. * @return the FirewallPolicyPropertiesFormat object itself. */ - public FirewallPolicyPropertiesFormat withSql(FirewallPolicySql sql) { + public FirewallPolicyPropertiesFormat withSql(FirewallPolicySQL sql) { this.sql = sql; return this; } @@ -461,7 +461,7 @@ public static FirewallPolicyPropertiesFormat fromJson(JsonReader jsonReader) thr deserializedFirewallPolicyPropertiesFormat.ruleCollectionGroups = ruleCollectionGroups; } else if ("provisioningState".equals(fieldName)) { deserializedFirewallPolicyPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("basePolicy".equals(fieldName)) { deserializedFirewallPolicyPropertiesFormat.basePolicy = SubResource.fromJson(reader); } else if ("firewalls".equals(fieldName)) { @@ -479,9 +479,9 @@ public static FirewallPolicyPropertiesFormat fromJson(JsonReader jsonReader) thr } else if ("insights".equals(fieldName)) { deserializedFirewallPolicyPropertiesFormat.insights = FirewallPolicyInsights.fromJson(reader); } else if ("snat".equals(fieldName)) { - deserializedFirewallPolicyPropertiesFormat.snat = FirewallPolicySnat.fromJson(reader); + deserializedFirewallPolicyPropertiesFormat.snat = FirewallPolicySNAT.fromJson(reader); } else if ("sql".equals(fieldName)) { - deserializedFirewallPolicyPropertiesFormat.sql = FirewallPolicySql.fromJson(reader); + deserializedFirewallPolicyPropertiesFormat.sql = FirewallPolicySQL.fromJson(reader); } else if ("dnsSettings".equals(fieldName)) { deserializedFirewallPolicyPropertiesFormat.dnsSettings = DnsSettings.fromJson(reader); } else if ("explicitProxy".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java index e9656d82d811..6584493de231 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.FirewallPolicyRuleCollection; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -17,19 +17,14 @@ * Rule Collection Group resource. */ @Fluent -public final class FirewallPolicyRuleCollectionGroupDraftInner extends SubResource { +public final class FirewallPolicyRuleCollectionGroupDraftInner extends SubResourceModel { /* * The properties of the firewall policy rule collection group. */ private FirewallPolicyRuleCollectionGroupDraftProperties innerProperties; /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - - /* - * Rule Group type. + * Resource type. */ private String type; @@ -49,32 +44,11 @@ private FirewallPolicyRuleCollectionGroupDraftProperties innerProperties() { } /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the FirewallPolicyRuleCollectionGroupDraftInner object itself. - */ - public FirewallPolicyRuleCollectionGroupDraftInner withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type property: Rule Group type. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -88,6 +62,15 @@ public FirewallPolicyRuleCollectionGroupDraftInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public FirewallPolicyRuleCollectionGroupDraftInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the size property: A read-only string that represents the size of the * FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB). @@ -150,6 +133,7 @@ public List ruleCollections() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -163,8 +147,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -186,13 +170,13 @@ public static FirewallPolicyRuleCollectionGroupDraftInner fromJson(JsonReader js if ("id".equals(fieldName)) { deserializedFirewallPolicyRuleCollectionGroupDraftInner.withId(reader.getString()); - } else if ("properties".equals(fieldName)) { - deserializedFirewallPolicyRuleCollectionGroupDraftInner.innerProperties - = FirewallPolicyRuleCollectionGroupDraftProperties.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedFirewallPolicyRuleCollectionGroupDraftInner.name = reader.getString(); + deserializedFirewallPolicyRuleCollectionGroupDraftInner.withName(reader.getString()); } else if ("type".equals(fieldName)) { deserializedFirewallPolicyRuleCollectionGroupDraftInner.type = reader.getString(); + } else if ("properties".equals(fieldName)) { + deserializedFirewallPolicyRuleCollectionGroupDraftInner.innerProperties + = FirewallPolicyRuleCollectionGroupDraftProperties.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java index af1301da5309..de59b5d3e0f4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java index 85ca82bc6d49..870519e6b6d4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.FirewallPolicyRuleCollection; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -18,24 +18,19 @@ * Rule Collection Group resource. */ @Fluent -public final class FirewallPolicyRuleCollectionGroupInner extends SubResource { +public final class FirewallPolicyRuleCollectionGroupInner extends SubResourceModel { /* * The properties of the firewall policy rule collection group. */ private FirewallPolicyRuleCollectionGroupProperties innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Rule Group type. + * Resource type. */ private String type; @@ -54,28 +49,6 @@ private FirewallPolicyRuleCollectionGroupProperties innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the FirewallPolicyRuleCollectionGroupInner object itself. - */ - public FirewallPolicyRuleCollectionGroupInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -86,10 +59,11 @@ public String etag() { } /** - * Get the type property: Rule Group type. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -103,6 +77,15 @@ public FirewallPolicyRuleCollectionGroupInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public FirewallPolicyRuleCollectionGroupInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the size property: A read-only string that represents the size of the * FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB). @@ -165,7 +148,7 @@ public List ruleCollections() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -174,6 +157,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -187,8 +171,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -210,15 +194,15 @@ public static FirewallPolicyRuleCollectionGroupInner fromJson(JsonReader jsonRea if ("id".equals(fieldName)) { deserializedFirewallPolicyRuleCollectionGroupInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedFirewallPolicyRuleCollectionGroupInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedFirewallPolicyRuleCollectionGroupInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedFirewallPolicyRuleCollectionGroupInner.innerProperties = FirewallPolicyRuleCollectionGroupProperties.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedFirewallPolicyRuleCollectionGroupInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedFirewallPolicyRuleCollectionGroupInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedFirewallPolicyRuleCollectionGroupInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java index 57da3ef0a90d..04051879eb19 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.FirewallPolicyRuleCollection; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -38,7 +38,7 @@ public final class FirewallPolicyRuleCollectionGroupProperties /* * The provisioning state of the firewall policy rule collection group resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of FirewallPolicyRuleCollectionGroupProperties class. @@ -102,7 +102,7 @@ public List ruleCollections() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -156,7 +156,7 @@ public static FirewallPolicyRuleCollectionGroupProperties fromJson(JsonReader js deserializedFirewallPolicyRuleCollectionGroupProperties.ruleCollections = ruleCollections; } else if ("provisioningState".equals(fieldName)) { deserializedFirewallPolicyRuleCollectionGroupProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java index 272f134f4d6a..bb90bc4dc56c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java index be4031f44f81..aa50b09cc9ea 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.FlowLogFormatParameters; import com.azure.resourcemanager.network.models.ManagedServiceIdentity; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RetentionPolicyParameters; import com.azure.resourcemanager.network.models.TrafficAnalyticsProperties; import java.io.IOException; @@ -362,7 +362,7 @@ public FlowLogInner withFlowAnalyticsConfiguration(TrafficAnalyticsProperties fl * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java index 34ae35730845..71da56f8347a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java index 960b9705b5c4..d874672d50c2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.FlowLogFormatParameters; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RetentionPolicyParameters; import com.azure.resourcemanager.network.models.TrafficAnalyticsProperties; import java.io.IOException; @@ -73,7 +73,7 @@ public final class FlowLogPropertiesFormat implements JsonSerializable zones; /* - * A list of availability zones denoting the IP allocated for the resource needs to come from. + * Resource type. */ - private List zones; + private String type; /** * Creates an instance of FrontendIpConfigurationInner class. @@ -57,32 +52,10 @@ public FrontendIpConfigurationInner() { * * @return the innerProperties value. */ - private FrontendIpConfigurationPropertiesFormatInner innerProperties() { + private FrontendIPConfigurationPropertiesFormatInner innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within the set of frontend IP configurations used - * by the load balancer. This name can be used to access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within the set of frontend IP configurations used - * by the load balancer. This name can be used to access the resource. - * - * @param name the name value to set. - * @return the FrontendIpConfigurationInner object itself. - */ - public FrontendIpConfigurationInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -92,15 +65,6 @@ public String etag() { return this.etag; } - /** - * Get the type property: Type of the resource. - * - * @return the type value. - */ - public String type() { - return this.type; - } - /** * Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come * from. @@ -123,6 +87,16 @@ public FrontendIpConfigurationInner withZones(List zones) { return this; } + /** + * Get the type property: Resource type. + * + * @return the type value. + */ + @Override + public String type() { + return this.type; + } + /** * {@inheritDoc} */ @@ -132,6 +106,15 @@ public FrontendIpConfigurationInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public FrontendIpConfigurationInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the inboundNatRules property: An array of references to inbound rules that use this frontend IP. * @@ -185,7 +168,7 @@ public String privateIpAddress() { */ public FrontendIpConfigurationInner withPrivateIpAddress(String privateIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAddress(privateIpAddress); return this; @@ -208,7 +191,7 @@ public IpAllocationMethod privateIpAllocationMethod() { */ public FrontendIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -233,7 +216,7 @@ public IpVersion privateIpAddressVersion() { */ public FrontendIpConfigurationInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAddressVersion(privateIpAddressVersion); return this; @@ -256,7 +239,7 @@ public SubnetInner subnet() { */ public FrontendIpConfigurationInner withSubnet(SubnetInner subnet) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); } this.innerProperties().withSubnet(subnet); return this; @@ -279,32 +262,32 @@ public PublicIpAddressInner publicIpAddress() { */ public FrontendIpConfigurationInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; } /** - * Get the publicIpPrefix property: The reference to the Public IP Prefix resource. + * Get the publicIPPrefix property: The reference to the Public IP Prefix resource. * - * @return the publicIpPrefix value. + * @return the publicIPPrefix value. */ - public SubResource publicIpPrefix() { - return this.innerProperties() == null ? null : this.innerProperties().publicIpPrefix(); + public SubResource publicIPPrefix() { + return this.innerProperties() == null ? null : this.innerProperties().publicIPPrefix(); } /** - * Set the publicIpPrefix property: The reference to the Public IP Prefix resource. + * Set the publicIPPrefix property: The reference to the Public IP Prefix resource. * - * @param publicIpPrefix the publicIpPrefix value to set. + * @param publicIPPrefix the publicIPPrefix value to set. * @return the FrontendIpConfigurationInner object itself. */ - public FrontendIpConfigurationInner withPublicIpPrefix(SubResource publicIpPrefix) { + public FrontendIpConfigurationInner withPublicIPPrefix(SubResource publicIPPrefix) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); } - this.innerProperties().withPublicIpPrefix(publicIpPrefix); + this.innerProperties().withPublicIPPrefix(publicIPPrefix); return this; } @@ -325,7 +308,7 @@ public SubResource gatewayLoadBalancer() { */ public FrontendIpConfigurationInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); } this.innerProperties().withGatewayLoadBalancer(gatewayLoadBalancer); return this; @@ -336,7 +319,7 @@ public FrontendIpConfigurationInner withGatewayLoadBalancer(SubResource gatewayL * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -345,6 +328,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -358,8 +342,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element)); return jsonWriter.writeEndObject(); } @@ -381,15 +365,15 @@ public static FrontendIpConfigurationInner fromJson(JsonReader jsonReader) throw if ("id".equals(fieldName)) { deserializedFrontendIpConfigurationInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedFrontendIpConfigurationInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedFrontendIpConfigurationInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedFrontendIpConfigurationInner.innerProperties - = FrontendIpConfigurationPropertiesFormatInner.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedFrontendIpConfigurationInner.name = reader.getString(); + = FrontendIPConfigurationPropertiesFormatInner.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedFrontendIpConfigurationInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedFrontendIpConfigurationInner.type = reader.getString(); } else if ("zones".equals(fieldName)) { List zones = reader.readArray(reader1 -> reader1.getString()); deserializedFrontendIpConfigurationInner.zones = zones; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java index a7ce1acd3594..ce84941725dd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -20,8 +20,8 @@ * Properties of Frontend IP Configuration of the load balancer. */ @Fluent -public final class FrontendIpConfigurationPropertiesFormatInner - implements JsonSerializable { +public final class FrontendIPConfigurationPropertiesFormatInner + implements JsonSerializable { /* * An array of references to inbound rules that use this frontend IP. */ @@ -70,7 +70,7 @@ public final class FrontendIpConfigurationPropertiesFormatInner /* * The reference to the Public IP Prefix resource. */ - private SubResource publicIpPrefix; + private SubResource publicIPPrefix; /* * The reference to gateway load balancer frontend IP. @@ -80,12 +80,12 @@ public final class FrontendIpConfigurationPropertiesFormatInner /* * The provisioning state of the frontend IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** - * Creates an instance of FrontendIpConfigurationPropertiesFormatInner class. + * Creates an instance of FrontendIPConfigurationPropertiesFormatInner class. */ - public FrontendIpConfigurationPropertiesFormatInner() { + public FrontendIPConfigurationPropertiesFormatInner() { } /** @@ -137,9 +137,9 @@ public String privateIpAddress() { * Set the privateIpAddress property: The private IP address of the IP configuration. * * @param privateIpAddress the privateIpAddress value to set. - * @return the FrontendIpConfigurationPropertiesFormatInner object itself. + * @return the FrontendIPConfigurationPropertiesFormatInner object itself. */ - public FrontendIpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { + public FrontendIPConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -157,9 +157,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: The Private IP allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the FrontendIpConfigurationPropertiesFormatInner object itself. + * @return the FrontendIPConfigurationPropertiesFormatInner object itself. */ - public FrontendIpConfigurationPropertiesFormatInner + public FrontendIPConfigurationPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -180,9 +180,9 @@ public IpVersion privateIpAddressVersion() { * as IPv4. * * @param privateIpAddressVersion the privateIpAddressVersion value to set. - * @return the FrontendIpConfigurationPropertiesFormatInner object itself. + * @return the FrontendIPConfigurationPropertiesFormatInner object itself. */ - public FrontendIpConfigurationPropertiesFormatInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { + public FrontendIPConfigurationPropertiesFormatInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { this.privateIpAddressVersion = privateIpAddressVersion; return this; } @@ -200,9 +200,9 @@ public SubnetInner subnet() { * Set the subnet property: The reference to the subnet resource. * * @param subnet the subnet value to set. - * @return the FrontendIpConfigurationPropertiesFormatInner object itself. + * @return the FrontendIPConfigurationPropertiesFormatInner object itself. */ - public FrontendIpConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { + public FrontendIPConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { this.subnet = subnet; return this; } @@ -220,30 +220,30 @@ public PublicIpAddressInner publicIpAddress() { * Set the publicIpAddress property: The reference to the Public IP resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the FrontendIpConfigurationPropertiesFormatInner object itself. + * @return the FrontendIPConfigurationPropertiesFormatInner object itself. */ - public FrontendIpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { + public FrontendIPConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } /** - * Get the publicIpPrefix property: The reference to the Public IP Prefix resource. + * Get the publicIPPrefix property: The reference to the Public IP Prefix resource. * - * @return the publicIpPrefix value. + * @return the publicIPPrefix value. */ - public SubResource publicIpPrefix() { - return this.publicIpPrefix; + public SubResource publicIPPrefix() { + return this.publicIPPrefix; } /** - * Set the publicIpPrefix property: The reference to the Public IP Prefix resource. + * Set the publicIPPrefix property: The reference to the Public IP Prefix resource. * - * @param publicIpPrefix the publicIpPrefix value to set. - * @return the FrontendIpConfigurationPropertiesFormatInner object itself. + * @param publicIPPrefix the publicIPPrefix value to set. + * @return the FrontendIPConfigurationPropertiesFormatInner object itself. */ - public FrontendIpConfigurationPropertiesFormatInner withPublicIpPrefix(SubResource publicIpPrefix) { - this.publicIpPrefix = publicIpPrefix; + public FrontendIPConfigurationPropertiesFormatInner withPublicIPPrefix(SubResource publicIPPrefix) { + this.publicIPPrefix = publicIPPrefix; return this; } @@ -260,9 +260,9 @@ public SubResource gatewayLoadBalancer() { * Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP. * * @param gatewayLoadBalancer the gatewayLoadBalancer value to set. - * @return the FrontendIpConfigurationPropertiesFormatInner object itself. + * @return the FrontendIPConfigurationPropertiesFormatInner object itself. */ - public FrontendIpConfigurationPropertiesFormatInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer) { + public FrontendIPConfigurationPropertiesFormatInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer) { this.gatewayLoadBalancer = gatewayLoadBalancer; return this; } @@ -272,7 +272,7 @@ public FrontendIpConfigurationPropertiesFormatInner withGatewayLoadBalancer(SubR * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -303,67 +303,67 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { this.privateIpAddressVersion == null ? null : this.privateIpAddressVersion.toString()); jsonWriter.writeJsonField("subnet", this.subnet); jsonWriter.writeJsonField("publicIPAddress", this.publicIpAddress); - jsonWriter.writeJsonField("publicIPPrefix", this.publicIpPrefix); + jsonWriter.writeJsonField("publicIPPrefix", this.publicIPPrefix); jsonWriter.writeJsonField("gatewayLoadBalancer", this.gatewayLoadBalancer); return jsonWriter.writeEndObject(); } /** - * Reads an instance of FrontendIpConfigurationPropertiesFormatInner from the JsonReader. + * Reads an instance of FrontendIPConfigurationPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of FrontendIpConfigurationPropertiesFormatInner if the JsonReader was pointing to an instance + * @return An instance of FrontendIPConfigurationPropertiesFormatInner 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 FrontendIpConfigurationPropertiesFormatInner. + * @throws IOException If an error occurs while reading the FrontendIPConfigurationPropertiesFormatInner. */ - public static FrontendIpConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static FrontendIPConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - FrontendIpConfigurationPropertiesFormatInner deserializedFrontendIpConfigurationPropertiesFormatInner - = new FrontendIpConfigurationPropertiesFormatInner(); + FrontendIPConfigurationPropertiesFormatInner deserializedFrontendIPConfigurationPropertiesFormatInner + = new FrontendIPConfigurationPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("inboundNatRules".equals(fieldName)) { List inboundNatRules = reader.readArray(reader1 -> SubResource.fromJson(reader1)); - deserializedFrontendIpConfigurationPropertiesFormatInner.inboundNatRules = inboundNatRules; + deserializedFrontendIPConfigurationPropertiesFormatInner.inboundNatRules = inboundNatRules; } else if ("inboundNatPools".equals(fieldName)) { List inboundNatPools = reader.readArray(reader1 -> SubResource.fromJson(reader1)); - deserializedFrontendIpConfigurationPropertiesFormatInner.inboundNatPools = inboundNatPools; + deserializedFrontendIPConfigurationPropertiesFormatInner.inboundNatPools = inboundNatPools; } else if ("outboundRules".equals(fieldName)) { List outboundRules = reader.readArray(reader1 -> SubResource.fromJson(reader1)); - deserializedFrontendIpConfigurationPropertiesFormatInner.outboundRules = outboundRules; + deserializedFrontendIPConfigurationPropertiesFormatInner.outboundRules = outboundRules; } else if ("loadBalancingRules".equals(fieldName)) { List loadBalancingRules = reader.readArray(reader1 -> SubResource.fromJson(reader1)); - deserializedFrontendIpConfigurationPropertiesFormatInner.loadBalancingRules = loadBalancingRules; + deserializedFrontendIPConfigurationPropertiesFormatInner.loadBalancingRules = loadBalancingRules; } else if ("privateIPAddress".equals(fieldName)) { - deserializedFrontendIpConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); + deserializedFrontendIPConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedFrontendIpConfigurationPropertiesFormatInner.privateIpAllocationMethod + deserializedFrontendIPConfigurationPropertiesFormatInner.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("privateIPAddressVersion".equals(fieldName)) { - deserializedFrontendIpConfigurationPropertiesFormatInner.privateIpAddressVersion + deserializedFrontendIPConfigurationPropertiesFormatInner.privateIpAddressVersion = IpVersion.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedFrontendIpConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); + deserializedFrontendIPConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedFrontendIpConfigurationPropertiesFormatInner.publicIpAddress + deserializedFrontendIPConfigurationPropertiesFormatInner.publicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("publicIPPrefix".equals(fieldName)) { - deserializedFrontendIpConfigurationPropertiesFormatInner.publicIpPrefix + deserializedFrontendIPConfigurationPropertiesFormatInner.publicIPPrefix = SubResource.fromJson(reader); } else if ("gatewayLoadBalancer".equals(fieldName)) { - deserializedFrontendIpConfigurationPropertiesFormatInner.gatewayLoadBalancer + deserializedFrontendIPConfigurationPropertiesFormatInner.gatewayLoadBalancer = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedFrontendIpConfigurationPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedFrontendIPConfigurationPropertiesFormatInner.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedFrontendIpConfigurationPropertiesFormatInner; + return deserializedFrontendIPConfigurationPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java index 5aa9baf15556..347b853ec618 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -19,7 +19,7 @@ /** * Gateway Resiliency Information. */ -@Fluent +@Immutable public final class GatewayResiliencyInformationInner implements JsonSerializable { /* * Current Resiliency Score for the gateway @@ -59,7 +59,7 @@ public final class GatewayResiliencyInformationInner implements JsonSerializable /** * Creates an instance of GatewayResiliencyInformationInner class. */ - public GatewayResiliencyInformationInner() { + private GatewayResiliencyInformationInner() { } /** @@ -71,17 +71,6 @@ public String overallScore() { return this.overallScore; } - /** - * Set the overallScore property: Current Resiliency Score for the gateway. - * - * @param overallScore the overallScore value to set. - * @return the GatewayResiliencyInformationInner object itself. - */ - public GatewayResiliencyInformationInner withOverallScore(String overallScore) { - this.overallScore = overallScore; - return this; - } - /** * Get the scoreChange property: Update in the Resiliency Score for the gateway from the last computed score. * @@ -91,17 +80,6 @@ public String scoreChange() { return this.scoreChange; } - /** - * Set the scoreChange property: Update in the Resiliency Score for the gateway from the last computed score. - * - * @param scoreChange the scoreChange value to set. - * @return the GatewayResiliencyInformationInner object itself. - */ - public GatewayResiliencyInformationInner withScoreChange(String scoreChange) { - this.scoreChange = scoreChange; - return this; - } - /** * Get the minScoreFromRecommendations property: Minimum increase expected in the score if the at least one of the * recommendations is applied for the gateway. @@ -112,18 +90,6 @@ public String minScoreFromRecommendations() { return this.minScoreFromRecommendations; } - /** - * Set the minScoreFromRecommendations property: Minimum increase expected in the score if the at least one of the - * recommendations is applied for the gateway. - * - * @param minScoreFromRecommendations the minScoreFromRecommendations value to set. - * @return the GatewayResiliencyInformationInner object itself. - */ - public GatewayResiliencyInformationInner withMinScoreFromRecommendations(String minScoreFromRecommendations) { - this.minScoreFromRecommendations = minScoreFromRecommendations; - return this; - } - /** * Get the maxScoreFromRecommendations property: Maximum increase expected in the score if all of the * recommendations are applied for the gateway. @@ -134,18 +100,6 @@ public String maxScoreFromRecommendations() { return this.maxScoreFromRecommendations; } - /** - * Set the maxScoreFromRecommendations property: Maximum increase expected in the score if all of the - * recommendations are applied for the gateway. - * - * @param maxScoreFromRecommendations the maxScoreFromRecommendations value to set. - * @return the GatewayResiliencyInformationInner object itself. - */ - public GatewayResiliencyInformationInner withMaxScoreFromRecommendations(String maxScoreFromRecommendations) { - this.maxScoreFromRecommendations = maxScoreFromRecommendations; - return this; - } - /** * Get the lastComputedTime property: Timestamp denoting the last time when the resiliency score was computed for * the gateway. @@ -156,18 +110,6 @@ public OffsetDateTime lastComputedTime() { return this.lastComputedTime; } - /** - * Set the lastComputedTime property: Timestamp denoting the last time when the resiliency score was computed for - * the gateway. - * - * @param lastComputedTime the lastComputedTime value to set. - * @return the GatewayResiliencyInformationInner object itself. - */ - public GatewayResiliencyInformationInner withLastComputedTime(OffsetDateTime lastComputedTime) { - this.lastComputedTime = lastComputedTime; - return this; - } - /** * Get the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the resiliency * score for the gateway. @@ -178,18 +120,6 @@ public OffsetDateTime nextEligibleComputeTime() { return this.nextEligibleComputeTime; } - /** - * Set the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the resiliency - * score for the gateway. - * - * @param nextEligibleComputeTime the nextEligibleComputeTime value to set. - * @return the GatewayResiliencyInformationInner object itself. - */ - public GatewayResiliencyInformationInner withNextEligibleComputeTime(OffsetDateTime nextEligibleComputeTime) { - this.nextEligibleComputeTime = nextEligibleComputeTime; - return this; - } - /** * Get the components property: List of Resiliency based Recommendation Components for the gateway. * @@ -199,17 +129,6 @@ public List components() { return this.components; } - /** - * Set the components property: List of Resiliency based Recommendation Components for the gateway. - * - * @param components the components value to set. - * @return the GatewayResiliencyInformationInner object itself. - */ - public GatewayResiliencyInformationInner withComponents(List components) { - this.components = components; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteInner.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteInner.java index a0bf3a57b5b6..5d07ce0b3045 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteInner.java @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; @@ -15,7 +15,7 @@ * Gateway routing details. */ @Immutable -public final class GatewayRoute implements JsonSerializable { +public final class GatewayRouteInner implements JsonSerializable { /* * The gateway's local address. */ @@ -52,9 +52,9 @@ public final class GatewayRoute implements JsonSerializable { private Integer weight; /** - * Creates an instance of GatewayRoute class. + * Creates an instance of GatewayRouteInner class. */ - public GatewayRoute() { + private GatewayRouteInner() { } /** @@ -138,40 +138,40 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of GatewayRoute from the JsonReader. + * Reads an instance of GatewayRouteInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of GatewayRoute if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of GatewayRouteInner 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 GatewayRoute. + * @throws IOException If an error occurs while reading the GatewayRouteInner. */ - public static GatewayRoute fromJson(JsonReader jsonReader) throws IOException { + public static GatewayRouteInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - GatewayRoute deserializedGatewayRoute = new GatewayRoute(); + GatewayRouteInner deserializedGatewayRouteInner = new GatewayRouteInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("localAddress".equals(fieldName)) { - deserializedGatewayRoute.localAddress = reader.getString(); + deserializedGatewayRouteInner.localAddress = reader.getString(); } else if ("network".equals(fieldName)) { - deserializedGatewayRoute.network = reader.getString(); + deserializedGatewayRouteInner.network = reader.getString(); } else if ("nextHop".equals(fieldName)) { - deserializedGatewayRoute.nextHop = reader.getString(); + deserializedGatewayRouteInner.nextHop = reader.getString(); } else if ("sourcePeer".equals(fieldName)) { - deserializedGatewayRoute.sourcePeer = reader.getString(); + deserializedGatewayRouteInner.sourcePeer = reader.getString(); } else if ("origin".equals(fieldName)) { - deserializedGatewayRoute.origin = reader.getString(); + deserializedGatewayRouteInner.origin = reader.getString(); } else if ("asPath".equals(fieldName)) { - deserializedGatewayRoute.asPath = reader.getString(); + deserializedGatewayRouteInner.asPath = reader.getString(); } else if ("weight".equals(fieldName)) { - deserializedGatewayRoute.weight = reader.getNullable(JsonReader::getInt); + deserializedGatewayRouteInner.weight = reader.getNullable(JsonReader::getInt); } else { reader.skipChildren(); } } - return deserializedGatewayRoute; + return deserializedGatewayRouteInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java index da7917b169c8..12844aa1e05c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -21,7 +21,7 @@ /** * Gateway Route Sets Information. */ -@Fluent +@Immutable public final class GatewayRouteSetsInformationInner implements JsonSerializable { /* * Timestamp denoting the last time when the route sets were computed for the gateway @@ -51,7 +51,7 @@ public final class GatewayRouteSetsInformationInner implements JsonSerializable< /** * Creates an instance of GatewayRouteSetsInformationInner class. */ - public GatewayRouteSetsInformationInner() { + private GatewayRouteSetsInformationInner() { } /** @@ -64,18 +64,6 @@ public OffsetDateTime lastComputedTime() { return this.lastComputedTime; } - /** - * Set the lastComputedTime property: Timestamp denoting the last time when the route sets were computed for the - * gateway. - * - * @param lastComputedTime the lastComputedTime value to set. - * @return the GatewayRouteSetsInformationInner object itself. - */ - public GatewayRouteSetsInformationInner withLastComputedTime(OffsetDateTime lastComputedTime) { - this.lastComputedTime = lastComputedTime; - return this; - } - /** * Get the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the route sets * for the gateway. @@ -86,18 +74,6 @@ public OffsetDateTime nextEligibleComputeTime() { return this.nextEligibleComputeTime; } - /** - * Set the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the route sets - * for the gateway. - * - * @param nextEligibleComputeTime the nextEligibleComputeTime value to set. - * @return the GatewayRouteSetsInformationInner object itself. - */ - public GatewayRouteSetsInformationInner withNextEligibleComputeTime(OffsetDateTime nextEligibleComputeTime) { - this.nextEligibleComputeTime = nextEligibleComputeTime; - return this; - } - /** * Get the routeSetVersion property: Version for the route set. * @@ -107,17 +83,6 @@ public String routeSetVersion() { return this.routeSetVersion; } - /** - * Set the routeSetVersion property: Version for the route set. - * - * @param routeSetVersion the routeSetVersion value to set. - * @return the GatewayRouteSetsInformationInner object itself. - */ - public GatewayRouteSetsInformationInner withRouteSetVersion(String routeSetVersion) { - this.routeSetVersion = routeSetVersion; - return this; - } - /** * Get the routeSets property: List of Gateway Route Sets. * @@ -127,17 +92,6 @@ public List routeSets() { return this.routeSets; } - /** - * Set the routeSets property: List of Gateway Route Sets. - * - * @param routeSets the routeSets value to set. - * @return the GatewayRouteSetsInformationInner object itself. - */ - public GatewayRouteSetsInformationInner withRouteSets(List routeSets) { - this.routeSets = routeSets; - return this; - } - /** * Get the circuitsMetadataMap property: Dictionary containing map of the circuit id and circuit details. * @@ -147,18 +101,6 @@ public Map circuitsMetadataMap() { return this.circuitsMetadataMap; } - /** - * Set the circuitsMetadataMap property: Dictionary containing map of the circuit id and circuit details. - * - * @param circuitsMetadataMap the circuitsMetadataMap value to set. - * @return the GatewayRouteSetsInformationInner object itself. - */ - public GatewayRouteSetsInformationInner - withCircuitsMetadataMap(Map circuitsMetadataMap) { - this.circuitsMetadataMap = circuitsMetadataMap; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java index 1c0ee78afbc4..508064c61be9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,18 +14,18 @@ /** * Response for GenerateExpressRoutePortsLOA API service call. */ -@Fluent -public final class GenerateExpressRoutePortsLoaResultInner - implements JsonSerializable { +@Immutable +public final class GenerateExpressRoutePortsLOAResultInner + implements JsonSerializable { /* * The content as a base64 encoded string. */ private String encodedContent; /** - * Creates an instance of GenerateExpressRoutePortsLoaResultInner class. + * Creates an instance of GenerateExpressRoutePortsLOAResultInner class. */ - public GenerateExpressRoutePortsLoaResultInner() { + private GenerateExpressRoutePortsLOAResultInner() { } /** @@ -37,17 +37,6 @@ public String encodedContent() { return this.encodedContent; } - /** - * Set the encodedContent property: The content as a base64 encoded string. - * - * @param encodedContent the encodedContent value to set. - * @return the GenerateExpressRoutePortsLoaResultInner object itself. - */ - public GenerateExpressRoutePortsLoaResultInner withEncodedContent(String encodedContent) { - this.encodedContent = encodedContent; - return this; - } - /** * Validates the instance. * @@ -67,29 +56,29 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of GenerateExpressRoutePortsLoaResultInner from the JsonReader. + * Reads an instance of GenerateExpressRoutePortsLOAResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of GenerateExpressRoutePortsLoaResultInner if the JsonReader was pointing to an instance of + * @return An instance of GenerateExpressRoutePortsLOAResultInner 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 GenerateExpressRoutePortsLoaResultInner. + * @throws IOException If an error occurs while reading the GenerateExpressRoutePortsLOAResultInner. */ - public static GenerateExpressRoutePortsLoaResultInner fromJson(JsonReader jsonReader) throws IOException { + public static GenerateExpressRoutePortsLOAResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - GenerateExpressRoutePortsLoaResultInner deserializedGenerateExpressRoutePortsLoaResultInner - = new GenerateExpressRoutePortsLoaResultInner(); + GenerateExpressRoutePortsLOAResultInner deserializedGenerateExpressRoutePortsLOAResultInner + = new GenerateExpressRoutePortsLOAResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("encodedContent".equals(fieldName)) { - deserializedGenerateExpressRoutePortsLoaResultInner.encodedContent = reader.getString(); + deserializedGenerateExpressRoutePortsLOAResultInner.encodedContent = reader.getString(); } else { reader.skipChildren(); } } - return deserializedGenerateExpressRoutePortsLoaResultInner; + return deserializedGenerateExpressRoutePortsLOAResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java index 87b1b1a310b3..18b94752e72c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -34,7 +34,7 @@ public final class HopLinkProperties implements JsonSerializable { +public final class HubIPConfigurationPropertiesFormatInner + implements JsonSerializable { /* * The private IP address of the IP configuration. */ @@ -42,12 +42,12 @@ public final class HubIpConfigurationPropertiesFormatInner /* * The provisioning state of the IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** - * Creates an instance of HubIpConfigurationPropertiesFormatInner class. + * Creates an instance of HubIPConfigurationPropertiesFormatInner class. */ - public HubIpConfigurationPropertiesFormatInner() { + public HubIPConfigurationPropertiesFormatInner() { } /** @@ -63,9 +63,9 @@ public String privateIpAddress() { * Set the privateIpAddress property: The private IP address of the IP configuration. * * @param privateIpAddress the privateIpAddress value to set. - * @return the HubIpConfigurationPropertiesFormatInner object itself. + * @return the HubIPConfigurationPropertiesFormatInner object itself. */ - public HubIpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { + public HubIPConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -83,9 +83,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: The private IP address allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the HubIpConfigurationPropertiesFormatInner object itself. + * @return the HubIPConfigurationPropertiesFormatInner object itself. */ - public HubIpConfigurationPropertiesFormatInner + public HubIPConfigurationPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -104,9 +104,9 @@ public SubnetInner subnet() { * Set the subnet property: The reference to the subnet resource. * * @param subnet the subnet value to set. - * @return the HubIpConfigurationPropertiesFormatInner object itself. + * @return the HubIPConfigurationPropertiesFormatInner object itself. */ - public HubIpConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { + public HubIPConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { this.subnet = subnet; return this; } @@ -124,9 +124,9 @@ public PublicIpAddressInner publicIpAddress() { * Set the publicIpAddress property: The reference to the public IP resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the HubIpConfigurationPropertiesFormatInner object itself. + * @return the HubIPConfigurationPropertiesFormatInner object itself. */ - public HubIpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { + public HubIPConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -136,7 +136,7 @@ public HubIpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddre * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -169,40 +169,40 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of HubIpConfigurationPropertiesFormatInner from the JsonReader. + * Reads an instance of HubIPConfigurationPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of HubIpConfigurationPropertiesFormatInner if the JsonReader was pointing to an instance of + * @return An instance of HubIPConfigurationPropertiesFormatInner 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 HubIpConfigurationPropertiesFormatInner. + * @throws IOException If an error occurs while reading the HubIPConfigurationPropertiesFormatInner. */ - public static HubIpConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static HubIPConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - HubIpConfigurationPropertiesFormatInner deserializedHubIpConfigurationPropertiesFormatInner - = new HubIpConfigurationPropertiesFormatInner(); + HubIPConfigurationPropertiesFormatInner deserializedHubIPConfigurationPropertiesFormatInner + = new HubIPConfigurationPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedHubIpConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); + deserializedHubIPConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedHubIpConfigurationPropertiesFormatInner.privateIpAllocationMethod + deserializedHubIPConfigurationPropertiesFormatInner.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedHubIpConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); + deserializedHubIPConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedHubIpConfigurationPropertiesFormatInner.publicIpAddress + deserializedHubIPConfigurationPropertiesFormatInner.publicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedHubIpConfigurationPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedHubIPConfigurationPropertiesFormatInner.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedHubIpConfigurationPropertiesFormatInner; + return deserializedHubIPConfigurationPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java index ba281d6fe4ed..0eba7affbadf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.HubRoute; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -18,17 +18,12 @@ * RouteTable resource in a virtual hub. */ @Fluent -public final class HubRouteTableInner extends SubResource { +public final class HubRouteTableInner extends SubResourceModel { /* * Properties of the RouteTable resource. */ private HubRouteTableProperties innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ @@ -54,28 +49,6 @@ private HubRouteTableProperties innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the HubRouteTableInner object itself. - */ - public HubRouteTableInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -90,6 +63,7 @@ public String etag() { * * @return the type value. */ + @Override public String type() { return this.type; } @@ -103,6 +77,15 @@ public HubRouteTableInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public HubRouteTableInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the routes property: List of all routes. * @@ -172,7 +155,7 @@ public List propagatingConnections() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -181,6 +164,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -194,8 +178,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -216,14 +200,14 @@ public static HubRouteTableInner fromJson(JsonReader jsonReader) throws IOExcept if ("id".equals(fieldName)) { deserializedHubRouteTableInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedHubRouteTableInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedHubRouteTableInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedHubRouteTableInner.innerProperties = HubRouteTableProperties.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedHubRouteTableInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedHubRouteTableInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedHubRouteTableInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java index b44955dd6a94..ef79604b1c98 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.HubRoute; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -42,7 +42,7 @@ public final class HubRouteTableProperties implements JsonSerializable propagatingConnections() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -168,7 +168,7 @@ public static HubRouteTableProperties fromJson(JsonReader jsonReader) throws IOE deserializedHubRouteTableProperties.propagatingConnections = propagatingConnections; } else if ("provisioningState".equals(fieldName)) { deserializedHubRouteTableProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java index 85d129bfca6c..0f3101ad49cf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import java.io.IOException; @@ -211,7 +211,7 @@ public HubVirtualNetworkConnectionInner withRoutingConfiguration(RoutingConfigur * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java index 8776e9c2f16a..00e4fac612f0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import java.io.IOException; @@ -48,7 +48,7 @@ public final class HubVirtualNetworkConnectionProperties /* * The provisioning state of the hub virtual network connection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of HubVirtualNetworkConnectionProperties class. @@ -164,7 +164,7 @@ public HubVirtualNetworkConnectionProperties withRoutingConfiguration(RoutingCon * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -226,7 +226,7 @@ public static HubVirtualNetworkConnectionProperties fromJson(JsonReader jsonRead = RoutingConfiguration.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedHubVirtualNetworkConnectionProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java index 3fb670c527a1..bc204b3d401a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.TransportProtocol; import java.io.IOException; @@ -69,7 +69,7 @@ public final class InboundNatPoolPropertiesFormat implements JsonSerializable rules) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -164,6 +149,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -177,8 +163,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -199,15 +185,15 @@ public static InboundSecurityRuleInner fromJson(JsonReader jsonReader) throws IO if ("id".equals(fieldName)) { deserializedInboundSecurityRuleInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedInboundSecurityRuleInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedInboundSecurityRuleInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedInboundSecurityRuleInner.innerProperties = InboundSecurityRuleProperties.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedInboundSecurityRuleInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedInboundSecurityRuleInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedInboundSecurityRuleInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java index c19c0c399539..9ea4538b580a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.InboundSecurityRuleType; import com.azure.resourcemanager.network.models.InboundSecurityRules; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -34,7 +34,7 @@ public final class InboundSecurityRuleProperties implements JsonSerializable rules) * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -140,7 +140,7 @@ public static InboundSecurityRuleProperties fromJson(JsonReader jsonReader) thro deserializedInboundSecurityRuleProperties.rules = rules; } else if ("provisioningState".equals(fieldName)) { deserializedInboundSecurityRuleProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java index 8b752c3f8ddc..c9dada8d1531 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Response for CheckIPAddressAvailability API service call. */ -@Fluent +@Immutable public final class IpAddressAvailabilityResultInner implements JsonSerializable { /* * Private IP address availability. @@ -35,7 +35,7 @@ public final class IpAddressAvailabilityResultInner implements JsonSerializable< /** * Creates an instance of IpAddressAvailabilityResultInner class. */ - public IpAddressAvailabilityResultInner() { + private IpAddressAvailabilityResultInner() { } /** @@ -47,17 +47,6 @@ public Boolean available() { return this.available; } - /** - * Set the available property: Private IP address availability. - * - * @param available the available value to set. - * @return the IpAddressAvailabilityResultInner object itself. - */ - public IpAddressAvailabilityResultInner withAvailable(Boolean available) { - this.available = available; - return this; - } - /** * Get the availableIpAddresses property: Contains other available private IP addresses if the asked for address is * taken. @@ -68,18 +57,6 @@ public List availableIpAddresses() { return this.availableIpAddresses; } - /** - * Set the availableIpAddresses property: Contains other available private IP addresses if the asked for address is - * taken. - * - * @param availableIpAddresses the availableIpAddresses value to set. - * @return the IpAddressAvailabilityResultInner object itself. - */ - public IpAddressAvailabilityResultInner withAvailableIpAddresses(List availableIpAddresses) { - this.availableIpAddresses = availableIpAddresses; - return this; - } - /** * Get the isPlatformReserved property: Private IP address platform reserved. * @@ -89,17 +66,6 @@ public Boolean isPlatformReserved() { return this.isPlatformReserved; } - /** - * Set the isPlatformReserved property: Private IP address platform reserved. - * - * @param isPlatformReserved the isPlatformReserved value to set. - * @return the IpAddressAvailabilityResultInner object itself. - */ - public IpAddressAvailabilityResultInner withIsPlatformReserved(Boolean isPlatformReserved) { - this.isPlatformReserved = isPlatformReserved; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java index d53483796692..4f701068d2b5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java index 4733bd41e761..d99ff0145bfa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java index 5766b617cfec..2727fb2569c2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java @@ -1,27 +1,27 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** * IP configuration. */ -@Fluent +@Immutable public final class IpConfigurationInner extends SubResource { /* * Properties of the IP configuration. */ - private IpConfigurationPropertiesFormatInner innerProperties; + private IPConfigurationPropertiesFormatInner innerProperties; /* * The name of the resource that is unique within a resource group. This name can be used to access the resource. @@ -36,7 +36,7 @@ public final class IpConfigurationInner extends SubResource { /** * Creates an instance of IpConfigurationInner class. */ - public IpConfigurationInner() { + private IpConfigurationInner() { } /** @@ -44,7 +44,7 @@ public IpConfigurationInner() { * * @return the innerProperties value. */ - private IpConfigurationPropertiesFormatInner innerProperties() { + private IPConfigurationPropertiesFormatInner innerProperties() { return this.innerProperties; } @@ -58,18 +58,6 @@ public String name() { return this.name; } - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the IpConfigurationInner object itself. - */ - public IpConfigurationInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -79,15 +67,6 @@ public String etag() { return this.etag; } - /** - * {@inheritDoc} - */ - @Override - public IpConfigurationInner withId(String id) { - super.withId(id); - return this; - } - /** * Get the privateIpAddress property: The private IP address of the IP configuration. * @@ -97,20 +76,6 @@ public String privateIpAddress() { return this.innerProperties() == null ? null : this.innerProperties().privateIpAddress(); } - /** - * Set the privateIpAddress property: The private IP address of the IP configuration. - * - * @param privateIpAddress the privateIpAddress value to set. - * @return the IpConfigurationInner object itself. - */ - public IpConfigurationInner withPrivateIpAddress(String privateIpAddress) { - if (this.innerProperties() == null) { - this.innerProperties = new IpConfigurationPropertiesFormatInner(); - } - this.innerProperties().withPrivateIpAddress(privateIpAddress); - return this; - } - /** * Get the privateIpAllocationMethod property: The private IP address allocation method. * @@ -120,20 +85,6 @@ public IpAllocationMethod privateIpAllocationMethod() { return this.innerProperties() == null ? null : this.innerProperties().privateIpAllocationMethod(); } - /** - * Set the privateIpAllocationMethod property: The private IP address allocation method. - * - * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the IpConfigurationInner object itself. - */ - public IpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { - if (this.innerProperties() == null) { - this.innerProperties = new IpConfigurationPropertiesFormatInner(); - } - this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); - return this; - } - /** * Get the subnet property: The reference to the subnet resource. * @@ -143,20 +94,6 @@ public SubnetInner subnet() { return this.innerProperties() == null ? null : this.innerProperties().subnet(); } - /** - * Set the subnet property: The reference to the subnet resource. - * - * @param subnet the subnet value to set. - * @return the IpConfigurationInner object itself. - */ - public IpConfigurationInner withSubnet(SubnetInner subnet) { - if (this.innerProperties() == null) { - this.innerProperties = new IpConfigurationPropertiesFormatInner(); - } - this.innerProperties().withSubnet(subnet); - return this; - } - /** * Get the publicIpAddress property: The reference to the public IP resource. * @@ -166,26 +103,12 @@ public PublicIpAddressInner publicIpAddress() { return this.innerProperties() == null ? null : this.innerProperties().publicIpAddress(); } - /** - * Set the publicIpAddress property: The reference to the public IP resource. - * - * @param publicIpAddress the publicIpAddress value to set. - * @return the IpConfigurationInner object itself. - */ - public IpConfigurationInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { - if (this.innerProperties() == null) { - this.innerProperties = new IpConfigurationPropertiesFormatInner(); - } - this.innerProperties().withPublicIpAddress(publicIpAddress); - return this; - } - /** * Get the provisioningState property: The provisioning state of the IP configuration resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -231,7 +154,7 @@ public static IpConfigurationInner fromJson(JsonReader jsonReader) throws IOExce deserializedIpConfigurationInner.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedIpConfigurationInner.innerProperties - = IpConfigurationPropertiesFormatInner.fromJson(reader); + = IPConfigurationPropertiesFormatInner.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedIpConfigurationInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java index d0a6310ff5c9..18cc7797d300 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -20,7 +20,7 @@ public final class IpConfigurationProfileInner extends SubResource { /* * Properties of the IP configuration profile. */ - private IpConfigurationProfilePropertiesFormatInner innerProperties; + private IPConfigurationProfilePropertiesFormatInner innerProperties; /* * The name of the resource. This name can be used to access the resource. @@ -48,7 +48,7 @@ public IpConfigurationProfileInner() { * * @return the innerProperties value. */ - private IpConfigurationProfilePropertiesFormatInner innerProperties() { + private IPConfigurationProfilePropertiesFormatInner innerProperties() { return this.innerProperties; } @@ -118,7 +118,7 @@ public SubnetInner subnet() { */ public IpConfigurationProfileInner withSubnet(SubnetInner subnet) { if (this.innerProperties() == null) { - this.innerProperties = new IpConfigurationProfilePropertiesFormatInner(); + this.innerProperties = new IPConfigurationProfilePropertiesFormatInner(); } this.innerProperties().withSubnet(subnet); return this; @@ -129,7 +129,7 @@ public IpConfigurationProfileInner withSubnet(SubnetInner subnet) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -175,7 +175,7 @@ public static IpConfigurationProfileInner fromJson(JsonReader jsonReader) throws deserializedIpConfigurationProfileInner.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedIpConfigurationProfileInner.innerProperties - = IpConfigurationProfilePropertiesFormatInner.fromJson(reader); + = IPConfigurationProfilePropertiesFormatInner.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedIpConfigurationProfileInner.name = reader.getString(); } else if ("type".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java index 374738b3c7bb..34316cbd24bd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,15 +9,15 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** * IP configuration profile properties. */ @Fluent -public final class IpConfigurationProfilePropertiesFormatInner - implements JsonSerializable { +public final class IPConfigurationProfilePropertiesFormatInner + implements JsonSerializable { /* * The reference to the subnet resource to create a container network interface ip configuration. */ @@ -26,12 +26,12 @@ public final class IpConfigurationProfilePropertiesFormatInner /* * The provisioning state of the IP configuration profile resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** - * Creates an instance of IpConfigurationProfilePropertiesFormatInner class. + * Creates an instance of IPConfigurationProfilePropertiesFormatInner class. */ - public IpConfigurationProfilePropertiesFormatInner() { + public IPConfigurationProfilePropertiesFormatInner() { } /** @@ -49,9 +49,9 @@ public SubnetInner subnet() { * configuration. * * @param subnet the subnet value to set. - * @return the IpConfigurationProfilePropertiesFormatInner object itself. + * @return the IPConfigurationProfilePropertiesFormatInner object itself. */ - public IpConfigurationProfilePropertiesFormatInner withSubnet(SubnetInner subnet) { + public IPConfigurationProfilePropertiesFormatInner withSubnet(SubnetInner subnet) { this.subnet = subnet; return this; } @@ -61,7 +61,7 @@ public IpConfigurationProfilePropertiesFormatInner withSubnet(SubnetInner subnet * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -87,32 +87,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IpConfigurationProfilePropertiesFormatInner from the JsonReader. + * Reads an instance of IPConfigurationProfilePropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IpConfigurationProfilePropertiesFormatInner if the JsonReader was pointing to an instance + * @return An instance of IPConfigurationProfilePropertiesFormatInner 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 IpConfigurationProfilePropertiesFormatInner. + * @throws IOException If an error occurs while reading the IPConfigurationProfilePropertiesFormatInner. */ - public static IpConfigurationProfilePropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static IPConfigurationProfilePropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IpConfigurationProfilePropertiesFormatInner deserializedIpConfigurationProfilePropertiesFormatInner - = new IpConfigurationProfilePropertiesFormatInner(); + IPConfigurationProfilePropertiesFormatInner deserializedIPConfigurationProfilePropertiesFormatInner + = new IPConfigurationProfilePropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("subnet".equals(fieldName)) { - deserializedIpConfigurationProfilePropertiesFormatInner.subnet = SubnetInner.fromJson(reader); + deserializedIPConfigurationProfilePropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedIpConfigurationProfilePropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedIPConfigurationProfilePropertiesFormatInner.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedIpConfigurationProfilePropertiesFormatInner; + return deserializedIPConfigurationProfilePropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java index 22f54dcab845..19c7590387a6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java @@ -1,24 +1,24 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +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.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** * Properties of IP configuration. */ -@Fluent -public final class IpConfigurationPropertiesFormatInner - implements JsonSerializable { +@Immutable +public final class IPConfigurationPropertiesFormatInner + implements JsonSerializable { /* * The private IP address of the IP configuration. */ @@ -42,12 +42,12 @@ public final class IpConfigurationPropertiesFormatInner /* * The provisioning state of the IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** - * Creates an instance of IpConfigurationPropertiesFormatInner class. + * Creates an instance of IPConfigurationPropertiesFormatInner class. */ - public IpConfigurationPropertiesFormatInner() { + private IPConfigurationPropertiesFormatInner() { } /** @@ -59,17 +59,6 @@ public String privateIpAddress() { return this.privateIpAddress; } - /** - * Set the privateIpAddress property: The private IP address of the IP configuration. - * - * @param privateIpAddress the privateIpAddress value to set. - * @return the IpConfigurationPropertiesFormatInner object itself. - */ - public IpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { - this.privateIpAddress = privateIpAddress; - return this; - } - /** * Get the privateIpAllocationMethod property: The private IP address allocation method. * @@ -79,18 +68,6 @@ public IpAllocationMethod privateIpAllocationMethod() { return this.privateIpAllocationMethod; } - /** - * Set the privateIpAllocationMethod property: The private IP address allocation method. - * - * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the IpConfigurationPropertiesFormatInner object itself. - */ - public IpConfigurationPropertiesFormatInner - withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { - this.privateIpAllocationMethod = privateIpAllocationMethod; - return this; - } - /** * Get the subnet property: The reference to the subnet resource. * @@ -100,17 +77,6 @@ public SubnetInner subnet() { return this.subnet; } - /** - * Set the subnet property: The reference to the subnet resource. - * - * @param subnet the subnet value to set. - * @return the IpConfigurationPropertiesFormatInner object itself. - */ - public IpConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { - this.subnet = subnet; - return this; - } - /** * Get the publicIpAddress property: The reference to the public IP resource. * @@ -120,23 +86,12 @@ public PublicIpAddressInner publicIpAddress() { return this.publicIpAddress; } - /** - * Set the publicIpAddress property: The reference to the public IP resource. - * - * @param publicIpAddress the publicIpAddress value to set. - * @return the IpConfigurationPropertiesFormatInner object itself. - */ - public IpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { - this.publicIpAddress = publicIpAddress; - return this; - } - /** * Get the provisioningState property: The provisioning state of the IP configuration resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -169,40 +124,40 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IpConfigurationPropertiesFormatInner from the JsonReader. + * Reads an instance of IPConfigurationPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IpConfigurationPropertiesFormatInner if the JsonReader was pointing to an instance of it, + * @return An instance of IPConfigurationPropertiesFormatInner 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 IpConfigurationPropertiesFormatInner. + * @throws IOException If an error occurs while reading the IPConfigurationPropertiesFormatInner. */ - public static IpConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static IPConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IpConfigurationPropertiesFormatInner deserializedIpConfigurationPropertiesFormatInner - = new IpConfigurationPropertiesFormatInner(); + IPConfigurationPropertiesFormatInner deserializedIPConfigurationPropertiesFormatInner + = new IPConfigurationPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedIpConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); + deserializedIPConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedIpConfigurationPropertiesFormatInner.privateIpAllocationMethod + deserializedIPConfigurationPropertiesFormatInner.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedIpConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); + deserializedIPConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedIpConfigurationPropertiesFormatInner.publicIpAddress + deserializedIPConfigurationPropertiesFormatInner.publicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedIpConfigurationPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedIPConfigurationPropertiesFormatInner.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedIpConfigurationPropertiesFormatInner; + return deserializedIPConfigurationPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java index 8e96804441bc..c31880b1c77d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -132,7 +132,7 @@ public IpGroupInner withTags(Map tags) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java index d38c3b54cfcd..db7bc7b8b824 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -22,7 +22,7 @@ public final class IpGroupPropertiesFormat implements JsonSerializable ipAddresses = reader.readArray(reader1 -> reader1.getString()); deserializedIpGroupPropertiesFormat.ipAddresses = ipAddresses; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java index 743ea57b7de8..d9219cb8fc91 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,17 +15,17 @@ /** * List of SNAT IP Prefixes learnt by firewall to not SNAT. */ -@Fluent -public final class IpPrefixesListInner implements JsonSerializable { +@Immutable +public final class IPPrefixesListInner implements JsonSerializable { /* * IP Prefix value. */ private List ipPrefixes; /** - * Creates an instance of IpPrefixesListInner class. + * Creates an instance of IPPrefixesListInner class. */ - public IpPrefixesListInner() { + private IPPrefixesListInner() { } /** @@ -37,17 +37,6 @@ public List ipPrefixes() { return this.ipPrefixes; } - /** - * Set the ipPrefixes property: IP Prefix value. - * - * @param ipPrefixes the ipPrefixes value to set. - * @return the IpPrefixesListInner object itself. - */ - public IpPrefixesListInner withIpPrefixes(List ipPrefixes) { - this.ipPrefixes = ipPrefixes; - return this; - } - /** * Validates the instance. * @@ -67,29 +56,29 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IpPrefixesListInner from the JsonReader. + * Reads an instance of IPPrefixesListInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IpPrefixesListInner if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of IPPrefixesListInner 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 IpPrefixesListInner. + * @throws IOException If an error occurs while reading the IPPrefixesListInner. */ - public static IpPrefixesListInner fromJson(JsonReader jsonReader) throws IOException { + public static IPPrefixesListInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IpPrefixesListInner deserializedIpPrefixesListInner = new IpPrefixesListInner(); + IPPrefixesListInner deserializedIPPrefixesListInner = new IPPrefixesListInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("ipPrefixes".equals(fieldName)) { List ipPrefixes = reader.readArray(reader1 -> reader1.getString()); - deserializedIpPrefixesListInner.ipPrefixes = ipPrefixes; + deserializedIPPrefixesListInner.ipPrefixes = ipPrefixes; } else { reader.skipChildren(); } } - return deserializedIpPrefixesListInner; + return deserializedIPPrefixesListInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java index 5cf7d3718ed8..9b4fec5e7a63 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -26,7 +26,7 @@ public final class IpamPoolInner extends CommonTrackedResource { private IpamPoolProperties properties; /* - * String representing unique etag for the resource document. + * A unique read-only string that changes whenever the resource is updated. */ private String etag; @@ -36,17 +36,18 @@ public final class IpamPoolInner extends CommonTrackedResource { private SystemData systemData; /* - * The type of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ private String type; /* - * The name of the resource. + * The name of the resource */ private String name; /* - * Fully qualified resource Id for the resource. + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ private String id; @@ -77,7 +78,7 @@ public IpamPoolInner withProperties(IpamPoolProperties properties) { } /** - * Get the etag property: String representing unique etag for the resource document. + * Get the etag property: A unique read-only string that changes whenever the resource is updated. * * @return the etag value. */ @@ -96,7 +97,8 @@ public SystemData systemData() { } /** - * Get the type property: The type of the resource. + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * * @return the type value. */ @@ -116,7 +118,8 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * * @return the id value. */ @@ -192,14 +195,14 @@ public static IpamPoolInner fromJson(JsonReader jsonReader) throws IOException { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { + if ("location".equals(fieldName)) { + deserializedIpamPoolInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { deserializedIpamPoolInner.id = reader.getString(); } else if ("name".equals(fieldName)) { deserializedIpamPoolInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedIpamPoolInner.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedIpamPoolInner.withLocation(reader.getString()); } else if ("systemData".equals(fieldName)) { deserializedIpamPoolInner.systemData = SystemData.fromJson(reader); } else if ("tags".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java index efa0904c67fa..5836c683c0c7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java index 91b242400761..b8793befbf32 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -39,12 +39,12 @@ public final class LoadBalancerBackendAddressPropertiesFormat /* * Reference to IP address defined in network interfaces. */ - private SubResource networkInterfaceIpConfiguration; + private SubResource networkInterfaceIPConfiguration; /* * Reference to the frontend ip address configuration defined in regional loadbalancer. */ - private SubResource loadBalancerFrontendIpConfiguration; + private SubResource loadBalancerFrontendIPConfiguration; /* * Collection of inbound NAT rule port mappings. @@ -124,34 +124,34 @@ public LoadBalancerBackendAddressPropertiesFormat withIpAddress(String ipAddress } /** - * Get the networkInterfaceIpConfiguration property: Reference to IP address defined in network interfaces. + * Get the networkInterfaceIPConfiguration property: Reference to IP address defined in network interfaces. * - * @return the networkInterfaceIpConfiguration value. + * @return the networkInterfaceIPConfiguration value. */ - public SubResource networkInterfaceIpConfiguration() { - return this.networkInterfaceIpConfiguration; + public SubResource networkInterfaceIPConfiguration() { + return this.networkInterfaceIPConfiguration; } /** - * Get the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined + * Get the loadBalancerFrontendIPConfiguration property: Reference to the frontend ip address configuration defined * in regional loadbalancer. * - * @return the loadBalancerFrontendIpConfiguration value. + * @return the loadBalancerFrontendIPConfiguration value. */ - public SubResource loadBalancerFrontendIpConfiguration() { - return this.loadBalancerFrontendIpConfiguration; + public SubResource loadBalancerFrontendIPConfiguration() { + return this.loadBalancerFrontendIPConfiguration; } /** - * Set the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined + * Set the loadBalancerFrontendIPConfiguration property: Reference to the frontend ip address configuration defined * in regional loadbalancer. * - * @param loadBalancerFrontendIpConfiguration the loadBalancerFrontendIpConfiguration value to set. + * @param loadBalancerFrontendIPConfiguration the loadBalancerFrontendIPConfiguration value to set. * @return the LoadBalancerBackendAddressPropertiesFormat object itself. */ public LoadBalancerBackendAddressPropertiesFormat - withLoadBalancerFrontendIpConfiguration(SubResource loadBalancerFrontendIpConfiguration) { - this.loadBalancerFrontendIpConfiguration = loadBalancerFrontendIpConfiguration; + withLoadBalancerFrontendIPConfiguration(SubResource loadBalancerFrontendIPConfiguration) { + this.loadBalancerFrontendIPConfiguration = loadBalancerFrontendIPConfiguration; return this; } @@ -208,7 +208,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("virtualNetwork", this.virtualNetwork); jsonWriter.writeJsonField("subnet", this.subnet); jsonWriter.writeStringField("ipAddress", this.ipAddress); - jsonWriter.writeJsonField("loadBalancerFrontendIPConfiguration", this.loadBalancerFrontendIpConfiguration); + jsonWriter.writeJsonField("loadBalancerFrontendIPConfiguration", this.loadBalancerFrontendIPConfiguration); jsonWriter.writeStringField("adminState", this.adminState == null ? null : this.adminState.toString()); return jsonWriter.writeEndObject(); } @@ -237,10 +237,10 @@ public static LoadBalancerBackendAddressPropertiesFormat fromJson(JsonReader jso } else if ("ipAddress".equals(fieldName)) { deserializedLoadBalancerBackendAddressPropertiesFormat.ipAddress = reader.getString(); } else if ("networkInterfaceIPConfiguration".equals(fieldName)) { - deserializedLoadBalancerBackendAddressPropertiesFormat.networkInterfaceIpConfiguration + deserializedLoadBalancerBackendAddressPropertiesFormat.networkInterfaceIPConfiguration = SubResource.fromJson(reader); } else if ("loadBalancerFrontendIPConfiguration".equals(fieldName)) { - deserializedLoadBalancerBackendAddressPropertiesFormat.loadBalancerFrontendIpConfiguration + deserializedLoadBalancerBackendAddressPropertiesFormat.loadBalancerFrontendIPConfiguration = SubResource.fromJson(reader); } else if ("inboundNatRulesPortMapping".equals(fieldName)) { List inboundNatRulesPortMapping diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java index c8a82d57fbbf..5986768e3857 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * The response for a Health API. */ -@Fluent +@Immutable public final class LoadBalancerHealthPerRuleInner implements JsonSerializable { /* * Number of backend instances associated to the LB rule that are considered healthy. @@ -36,7 +36,7 @@ public final class LoadBalancerHealthPerRuleInner implements JsonSerializable loadBalancerBackendAddre return this.loadBalancerBackendAddresses; } - /** - * Set the loadBalancerBackendAddresses property: Information about the health per rule of the backend addresses. - * - * @param loadBalancerBackendAddresses the loadBalancerBackendAddresses value to set. - * @return the LoadBalancerHealthPerRuleInner object itself. - */ - public LoadBalancerHealthPerRuleInner withLoadBalancerBackendAddresses( - List loadBalancerBackendAddresses) { - this.loadBalancerBackendAddresses = loadBalancerBackendAddresses; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java index 8716188f5ac2..08edb4da4a18 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.InboundNatPool; import com.azure.resourcemanager.network.models.LoadBalancerScope; import com.azure.resourcemanager.network.models.LoadBalancerSku; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -24,24 +24,24 @@ @Fluent public final class LoadBalancerInner extends Resource { /* - * The extended location of the load balancer. + * Properties of load balancer. */ - private ExtendedLocation extendedLocation; + private LoadBalancerPropertiesFormat innerProperties; /* - * The load balancer SKU. + * A unique read-only string that changes whenever the resource is updated. */ - private LoadBalancerSku sku; + private String etag; /* - * Properties of load balancer. + * The extended location of the load balancer. */ - private LoadBalancerPropertiesFormat innerProperties; + private ExtendedLocation extendedLocation; /* - * A unique read-only string that changes whenever the resource is updated. + * The load balancer SKU. */ - private String etag; + private LoadBalancerSku sku; /* * Resource ID. @@ -64,6 +64,24 @@ public final class LoadBalancerInner extends Resource { public LoadBalancerInner() { } + /** + * Get the innerProperties property: Properties of load balancer. + * + * @return the innerProperties value. + */ + private LoadBalancerPropertiesFormat innerProperties() { + return this.innerProperties; + } + + /** + * Get the etag property: A unique read-only string that changes whenever the resource is updated. + * + * @return the etag value. + */ + public String etag() { + return this.etag; + } + /** * Get the extendedLocation property: The extended location of the load balancer. * @@ -104,24 +122,6 @@ public LoadBalancerInner withSku(LoadBalancerSku sku) { return this; } - /** - * Get the innerProperties property: Properties of load balancer. - * - * @return the innerProperties value. - */ - private LoadBalancerPropertiesFormat innerProperties() { - return this.innerProperties; - } - - /** - * Get the etag property: A unique read-only string that changes whenever the resource is updated. - * - * @return the etag value. - */ - public String etag() { - return this.etag; - } - /** * Get the id property: Resource ID. * @@ -373,7 +373,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -406,15 +406,15 @@ public LoadBalancerInner withScope(LoadBalancerScope scope) { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { + if (innerProperties() != null) { + innerProperties().validate(); + } if (extendedLocation() != null) { extendedLocation().validate(); } if (sku() != null) { sku().validate(); } - if (innerProperties() != null) { - innerProperties().validate(); - } } /** @@ -425,9 +425,9 @@ 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.innerProperties); jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeJsonField("sku", this.sku); - jsonWriter.writeJsonField("properties", this.innerProperties); jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -457,14 +457,14 @@ public static LoadBalancerInner fromJson(JsonReader jsonReader) throws IOExcepti } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedLoadBalancerInner.withTags(tags); - } else if ("extendedLocation".equals(fieldName)) { - deserializedLoadBalancerInner.extendedLocation = ExtendedLocation.fromJson(reader); - } else if ("sku".equals(fieldName)) { - deserializedLoadBalancerInner.sku = LoadBalancerSku.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedLoadBalancerInner.innerProperties = LoadBalancerPropertiesFormat.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedLoadBalancerInner.etag = reader.getString(); + } else if ("extendedLocation".equals(fieldName)) { + deserializedLoadBalancerInner.extendedLocation = ExtendedLocation.fromJson(reader); + } else if ("sku".equals(fieldName)) { + deserializedLoadBalancerInner.sku = LoadBalancerSku.fromJson(reader); } else if ("id".equals(fieldName)) { deserializedLoadBalancerInner.id = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java index dd5199394c43..c7ab72e57b88 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.InboundNatPool; import com.azure.resourcemanager.network.models.LoadBalancerScope; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -71,7 +71,7 @@ public final class LoadBalancerPropertiesFormat implements JsonSerializable { +public final class LoadBalancerVipSwapRequestFrontendIPConfigurationProperties + implements JsonSerializable { /* * A reference to public IP address resource. */ private SubResource publicIpAddress; /** - * Creates an instance of LoadBalancerVipSwapRequestFrontendIpConfigurationProperties class. + * Creates an instance of LoadBalancerVipSwapRequestFrontendIPConfigurationProperties class. */ - public LoadBalancerVipSwapRequestFrontendIpConfigurationProperties() { + public LoadBalancerVipSwapRequestFrontendIPConfigurationProperties() { } /** @@ -42,9 +42,9 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: A reference to public IP address resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the LoadBalancerVipSwapRequestFrontendIpConfigurationProperties object itself. + * @return the LoadBalancerVipSwapRequestFrontendIPConfigurationProperties object itself. */ - public LoadBalancerVipSwapRequestFrontendIpConfigurationProperties + public LoadBalancerVipSwapRequestFrontendIPConfigurationProperties withPublicIpAddress(SubResource publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; @@ -69,32 +69,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of LoadBalancerVipSwapRequestFrontendIpConfigurationProperties from the JsonReader. + * Reads an instance of LoadBalancerVipSwapRequestFrontendIPConfigurationProperties from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of LoadBalancerVipSwapRequestFrontendIpConfigurationProperties if the JsonReader was pointing + * @return An instance of LoadBalancerVipSwapRequestFrontendIPConfigurationProperties 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 - * LoadBalancerVipSwapRequestFrontendIpConfigurationProperties. + * LoadBalancerVipSwapRequestFrontendIPConfigurationProperties. */ - public static LoadBalancerVipSwapRequestFrontendIpConfigurationProperties fromJson(JsonReader jsonReader) + public static LoadBalancerVipSwapRequestFrontendIPConfigurationProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - LoadBalancerVipSwapRequestFrontendIpConfigurationProperties deserializedLoadBalancerVipSwapRequestFrontendIpConfigurationProperties - = new LoadBalancerVipSwapRequestFrontendIpConfigurationProperties(); + LoadBalancerVipSwapRequestFrontendIPConfigurationProperties deserializedLoadBalancerVipSwapRequestFrontendIPConfigurationProperties + = new LoadBalancerVipSwapRequestFrontendIPConfigurationProperties(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("publicIPAddress".equals(fieldName)) { - deserializedLoadBalancerVipSwapRequestFrontendIpConfigurationProperties.publicIpAddress + deserializedLoadBalancerVipSwapRequestFrontendIPConfigurationProperties.publicIpAddress = SubResource.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedLoadBalancerVipSwapRequestFrontendIpConfigurationProperties; + return deserializedLoadBalancerVipSwapRequestFrontendIPConfigurationProperties; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java index 7e0e65b2099e..e21eac50c37e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,8 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.LoadDistribution; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.TransportProtocol; import java.io.IOException; import java.util.List; @@ -19,25 +20,19 @@ * A load balancing rule for a load balancer. */ @Fluent -public final class LoadBalancingRuleInner extends SubResource { +public final class LoadBalancingRuleInner extends SubResourceModel { /* * Properties of load balancer load balancing rule. */ private LoadBalancingRulePropertiesFormat innerProperties; - /* - * The name of the resource that is unique within the set of load balancing rules used by the load balancer. This - * name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Type of the resource. + * Resource type. */ private String type; @@ -56,28 +51,6 @@ private LoadBalancingRulePropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within the set of load balancing rules used by the - * load balancer. This name can be used to access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within the set of load balancing rules used by the - * load balancer. This name can be used to access the resource. - * - * @param name the name value to set. - * @return the LoadBalancingRuleInner object itself. - */ - public LoadBalancingRuleInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -88,10 +61,11 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -105,6 +79,15 @@ public LoadBalancingRuleInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public LoadBalancingRuleInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the frontendIpConfiguration property: A reference to frontend IP addresses. * @@ -427,7 +410,7 @@ public LoadBalancingRuleInner withEnableConnectionTracking(Boolean enableConnect * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -436,6 +419,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -449,8 +433,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -471,15 +455,15 @@ public static LoadBalancingRuleInner fromJson(JsonReader jsonReader) throws IOEx if ("id".equals(fieldName)) { deserializedLoadBalancingRuleInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedLoadBalancingRuleInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedLoadBalancingRuleInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedLoadBalancingRuleInner.innerProperties = LoadBalancingRulePropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedLoadBalancingRuleInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedLoadBalancingRuleInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedLoadBalancingRuleInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java index b2bdc3ec9a3f..5106d6ed7fd9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.LoadDistribution; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.TransportProtocol; import java.io.IOException; import java.util.List; @@ -98,7 +98,7 @@ public final class LoadBalancingRulePropertiesFormat implements JsonSerializable /* * The provisioning state of the load balancing rule resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of LoadBalancingRulePropertiesFormat class. @@ -389,7 +389,7 @@ public LoadBalancingRulePropertiesFormat withEnableConnectionTracking(Boolean en * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -486,7 +486,7 @@ public static LoadBalancingRulePropertiesFormat fromJson(JsonReader jsonReader) = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedLoadBalancingRulePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java index 4fd3b6a5737c..8a5b2e73ff0c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressSpace; import com.azure.resourcemanager.network.models.BgpSettings; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.Map; @@ -234,7 +234,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java index abe22f0b445c..33a6d1ca3f22 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressSpace; import com.azure.resourcemanager.network.models.BgpSettings; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -48,7 +48,7 @@ public final class LocalNetworkGatewayPropertiesFormat /* * The provisioning state of the local network gateway resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of LocalNetworkGatewayPropertiesFormat class. @@ -150,7 +150,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -210,7 +210,7 @@ public static LocalNetworkGatewayPropertiesFormat fromJson(JsonReader jsonReader deserializedLocalNetworkGatewayPropertiesFormat.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedLocalNetworkGatewayPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java index 6ad6bf2f0500..332cf813df03 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * The response for a migrateToIpBased API. */ -@Fluent +@Immutable public final class MigratedPoolsInner implements JsonSerializable { /* * A list of pools migrated from Nic based to IP based pool @@ -25,7 +25,7 @@ public final class MigratedPoolsInner implements JsonSerializable migratedPools() { return this.migratedPools; } - /** - * Set the migratedPools property: A list of pools migrated from Nic based to IP based pool. - * - * @param migratedPools the migratedPools value to set. - * @return the MigratedPoolsInner object itself. - */ - public MigratedPoolsInner withMigratedPools(List migratedPools) { - this.migratedPools = migratedPools; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java index 204bb7d811f5..f4a2a31df685 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.NatGatewaySku; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -22,14 +22,14 @@ @Fluent public final class NatGatewayInner extends Resource { /* - * The nat gateway SKU. + * Nat Gateway properties. */ - private NatGatewaySku sku; + private NatGatewayPropertiesFormat innerProperties; /* - * Nat Gateway properties. + * The nat gateway SKU. */ - private NatGatewayPropertiesFormat innerProperties; + private NatGatewaySku sku; /* * A list of availability zones denoting the zone in which Nat Gateway should be deployed. @@ -62,6 +62,15 @@ public final class NatGatewayInner extends Resource { public NatGatewayInner() { } + /** + * Get the innerProperties property: Nat Gateway properties. + * + * @return the innerProperties value. + */ + private NatGatewayPropertiesFormat innerProperties() { + return this.innerProperties; + } + /** * Get the sku property: The nat gateway SKU. * @@ -82,15 +91,6 @@ public NatGatewayInner withSku(NatGatewaySku sku) { return this; } - /** - * Get the innerProperties property: Nat Gateway properties. - * - * @return the innerProperties value. - */ - private NatGatewayPropertiesFormat innerProperties() { - return this.innerProperties; - } - /** * Get the zones property: A list of availability zones denoting the zone in which Nat Gateway should be deployed. * @@ -364,7 +364,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -374,12 +374,12 @@ public ProvisioningState provisioningState() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (sku() != null) { - sku().validate(); - } if (innerProperties() != null) { innerProperties().validate(); } + if (sku() != null) { + sku().validate(); + } } /** @@ -390,8 +390,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); - jsonWriter.writeJsonField("sku", this.sku); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeJsonField("sku", this.sku); jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element)); jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); @@ -422,10 +422,10 @@ public static NatGatewayInner fromJson(JsonReader jsonReader) throws IOException } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedNatGatewayInner.withTags(tags); - } else if ("sku".equals(fieldName)) { - deserializedNatGatewayInner.sku = NatGatewaySku.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNatGatewayInner.innerProperties = NatGatewayPropertiesFormat.fromJson(reader); + } else if ("sku".equals(fieldName)) { + deserializedNatGatewayInner.sku = NatGatewaySku.fromJson(reader); } else if ("zones".equals(fieldName)) { List zones = reader.readArray(reader1 -> reader1.getString()); deserializedNatGatewayInner.zones = zones; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java index cbebe52a9ede..cc7f0de0b14f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -67,7 +67,7 @@ public final class NatGatewayPropertiesFormat implements JsonSerializable writer.writeString(element)); - jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -591,11 +591,11 @@ public static NetworkInterfaceInner fromJson(JsonReader jsonReader) throws IOExc } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedNetworkInterfaceInner.withTags(tags); - } else if ("extendedLocation".equals(fieldName)) { - deserializedNetworkInterfaceInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNetworkInterfaceInner.innerProperties = NetworkInterfacePropertiesFormatInner.fromJson(reader); + } else if ("extendedLocation".equals(fieldName)) { + deserializedNetworkInterfaceInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedNetworkInterfaceInner.etag = reader.getString(); } else if ("id".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java index cc08551b1466..56d688c4e727 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,8 +12,9 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayBackendAddressPool; import com.azure.resourcemanager.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -21,16 +22,11 @@ * IPConfiguration in a network interface. */ @Fluent -public final class NetworkInterfaceIpConfigurationInner extends SubResource { +public final class NetworkInterfaceIpConfigurationInner extends SubResourceModel { /* * Network interface IP configuration properties. */ - private NetworkInterfaceIpConfigurationPropertiesFormatInner innerProperties; - - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; + private NetworkInterfaceIPConfigurationPropertiesFormatInner innerProperties; /* * A unique read-only string that changes whenever the resource is updated. @@ -53,32 +49,10 @@ public NetworkInterfaceIpConfigurationInner() { * * @return the innerProperties value. */ - private NetworkInterfaceIpConfigurationPropertiesFormatInner innerProperties() { + private NetworkInterfaceIPConfigurationPropertiesFormatInner innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the NetworkInterfaceIpConfigurationInner object itself. - */ - public NetworkInterfaceIpConfigurationInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -93,18 +67,17 @@ public String etag() { * * @return the type value. */ + @Override public String type() { return this.type; } /** - * Set the type property: Resource type. - * - * @param type the type value to set. - * @return the NetworkInterfaceIpConfigurationInner object itself. + * {@inheritDoc} */ - public NetworkInterfaceIpConfigurationInner withType(String type) { - this.type = type; + @Override + public NetworkInterfaceIpConfigurationInner withId(String id) { + super.withId(id); return this; } @@ -112,8 +85,8 @@ public NetworkInterfaceIpConfigurationInner withType(String type) { * {@inheritDoc} */ @Override - public NetworkInterfaceIpConfigurationInner withId(String id) { - super.withId(id); + public NetworkInterfaceIpConfigurationInner withName(String name) { + super.withName(name); return this; } @@ -134,7 +107,7 @@ public SubResource gatewayLoadBalancer() { */ public NetworkInterfaceIpConfigurationInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withGatewayLoadBalancer(gatewayLoadBalancer); return this; @@ -158,7 +131,7 @@ public List virtualNetworkTaps() { public NetworkInterfaceIpConfigurationInner withVirtualNetworkTaps(List virtualNetworkTaps) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withVirtualNetworkTaps(virtualNetworkTaps); return this; @@ -184,7 +157,7 @@ public List applicationGatewayBackendAddre public NetworkInterfaceIpConfigurationInner withApplicationGatewayBackendAddressPools( List applicationGatewayBackendAddressPools) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withApplicationGatewayBackendAddressPools(applicationGatewayBackendAddressPools); return this; @@ -208,7 +181,7 @@ public List loadBalancerBackendAddressPools() { public NetworkInterfaceIpConfigurationInner withLoadBalancerBackendAddressPools(List loadBalancerBackendAddressPools) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withLoadBalancerBackendAddressPools(loadBalancerBackendAddressPools); return this; @@ -232,7 +205,7 @@ public List loadBalancerInboundNatRules() { public NetworkInterfaceIpConfigurationInner withLoadBalancerInboundNatRules(List loadBalancerInboundNatRules) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withLoadBalancerInboundNatRules(loadBalancerInboundNatRules); return this; @@ -257,34 +230,34 @@ public String privateIpAddress() { */ public NetworkInterfaceIpConfigurationInner withPrivateIpAddress(String privateIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAddress(privateIpAddress); return this; } /** - * Get the privateIpAddressPrefixLength property: The private IP address prefix length. If specified and the + * Get the privateIPAddressPrefixLength property: The private IP address prefix length. If specified and the * allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. * - * @return the privateIpAddressPrefixLength value. + * @return the privateIPAddressPrefixLength value. */ - public Integer privateIpAddressPrefixLength() { - return this.innerProperties() == null ? null : this.innerProperties().privateIpAddressPrefixLength(); + public Integer privateIPAddressPrefixLength() { + return this.innerProperties() == null ? null : this.innerProperties().privateIPAddressPrefixLength(); } /** - * Set the privateIpAddressPrefixLength property: The private IP address prefix length. If specified and the + * Set the privateIPAddressPrefixLength property: The private IP address prefix length. If specified and the * allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. * - * @param privateIpAddressPrefixLength the privateIpAddressPrefixLength value to set. + * @param privateIPAddressPrefixLength the privateIPAddressPrefixLength value to set. * @return the NetworkInterfaceIpConfigurationInner object itself. */ - public NetworkInterfaceIpConfigurationInner withPrivateIpAddressPrefixLength(Integer privateIpAddressPrefixLength) { + public NetworkInterfaceIpConfigurationInner withPrivateIPAddressPrefixLength(Integer privateIPAddressPrefixLength) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } - this.innerProperties().withPrivateIpAddressPrefixLength(privateIpAddressPrefixLength); + this.innerProperties().withPrivateIPAddressPrefixLength(privateIPAddressPrefixLength); return this; } @@ -306,7 +279,7 @@ public IpAllocationMethod privateIpAllocationMethod() { public NetworkInterfaceIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -329,7 +302,7 @@ public IpVersion privateIpAddressVersion() { */ public NetworkInterfaceIpConfigurationInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAddressVersion(privateIpAddressVersion); return this; @@ -352,7 +325,7 @@ public SubnetInner subnet() { */ public NetworkInterfaceIpConfigurationInner withSubnet(SubnetInner subnet) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withSubnet(subnet); return this; @@ -375,7 +348,7 @@ public Boolean primary() { */ public NetworkInterfaceIpConfigurationInner withPrimary(Boolean primary) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withPrimary(primary); return this; @@ -398,7 +371,7 @@ public PublicIpAddressInner publicIpAddress() { */ public NetworkInterfaceIpConfigurationInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -424,7 +397,7 @@ public List applicationSecurityGroups() { public NetworkInterfaceIpConfigurationInner withApplicationSecurityGroups(List applicationSecurityGroups) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); } this.innerProperties().withApplicationSecurityGroups(applicationSecurityGroups); return this; @@ -435,7 +408,7 @@ public List applicationSecurityGroups() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -444,7 +417,7 @@ public ProvisioningState provisioningState() { * * @return the privateLinkConnectionProperties value. */ - public NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties() { + public NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties() { return this.innerProperties() == null ? null : this.innerProperties().privateLinkConnectionProperties(); } @@ -453,6 +426,7 @@ public NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties privateLin * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -466,9 +440,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("type", this.type); return jsonWriter.writeEndObject(); } @@ -490,15 +463,15 @@ public static NetworkInterfaceIpConfigurationInner fromJson(JsonReader jsonReade if ("id".equals(fieldName)) { deserializedNetworkInterfaceIpConfigurationInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedNetworkInterfaceIpConfigurationInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedNetworkInterfaceIpConfigurationInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedNetworkInterfaceIpConfigurationInner.innerProperties - = NetworkInterfaceIpConfigurationPropertiesFormatInner.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationInner.name = reader.getString(); + = NetworkInterfaceIPConfigurationPropertiesFormatInner.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedNetworkInterfaceIpConfigurationInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java index 3ab9d41a7c4f..625b3c01b490 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,8 +13,8 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayBackendAddressPool; import com.azure.resourcemanager.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -22,8 +22,8 @@ * Properties of IP configuration. */ @Fluent -public final class NetworkInterfaceIpConfigurationPropertiesFormatInner - implements JsonSerializable { +public final class NetworkInterfaceIPConfigurationPropertiesFormatInner + implements JsonSerializable { /* * The reference to gateway load balancer frontend IP. */ @@ -59,7 +59,7 @@ public final class NetworkInterfaceIpConfigurationPropertiesFormatInner * The private IP address prefix length. If specified and the allocation method is dynamic, the service will * allocate a CIDR block instead of a single IP address. */ - private Integer privateIpAddressPrefixLength; + private Integer privateIPAddressPrefixLength; /* * The private IP address allocation method. @@ -94,17 +94,17 @@ public final class NetworkInterfaceIpConfigurationPropertiesFormatInner /* * The provisioning state of the network interface IP configuration. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * PrivateLinkConnection properties for the network interface. */ - private NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties; + private NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties; /** - * Creates an instance of NetworkInterfaceIpConfigurationPropertiesFormatInner class. + * Creates an instance of NetworkInterfaceIPConfigurationPropertiesFormatInner class. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner() { + public NetworkInterfaceIPConfigurationPropertiesFormatInner() { } /** @@ -120,9 +120,9 @@ public SubResource gatewayLoadBalancer() { * Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP. * * @param gatewayLoadBalancer the gatewayLoadBalancer value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner + public NetworkInterfaceIPConfigurationPropertiesFormatInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer) { this.gatewayLoadBalancer = gatewayLoadBalancer; return this; @@ -141,9 +141,9 @@ public List virtualNetworkTaps() { * Set the virtualNetworkTaps property: The reference to Virtual Network Taps. * * @param virtualNetworkTaps the virtualNetworkTaps value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner + public NetworkInterfaceIPConfigurationPropertiesFormatInner withVirtualNetworkTaps(List virtualNetworkTaps) { this.virtualNetworkTaps = virtualNetworkTaps; return this; @@ -164,9 +164,9 @@ public List applicationGatewayBackendAddre * resource. * * @param applicationGatewayBackendAddressPools the applicationGatewayBackendAddressPools value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner withApplicationGatewayBackendAddressPools( + public NetworkInterfaceIPConfigurationPropertiesFormatInner withApplicationGatewayBackendAddressPools( List applicationGatewayBackendAddressPools) { this.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools; return this; @@ -185,9 +185,9 @@ public List loadBalancerBackendAddressPools() { * Set the loadBalancerBackendAddressPools property: The reference to LoadBalancerBackendAddressPool resource. * * @param loadBalancerBackendAddressPools the loadBalancerBackendAddressPools value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner + public NetworkInterfaceIPConfigurationPropertiesFormatInner withLoadBalancerBackendAddressPools(List loadBalancerBackendAddressPools) { this.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools; return this; @@ -206,9 +206,9 @@ public List loadBalancerInboundNatRules() { * Set the loadBalancerInboundNatRules property: A list of references of LoadBalancerInboundNatRules. * * @param loadBalancerInboundNatRules the loadBalancerInboundNatRules value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner + public NetworkInterfaceIPConfigurationPropertiesFormatInner withLoadBalancerInboundNatRules(List loadBalancerInboundNatRules) { this.loadBalancerInboundNatRules = loadBalancerInboundNatRules; return this; @@ -229,33 +229,33 @@ public String privateIpAddress() { * CIDR block in the format <address>/<prefix-length>. * * @param privateIpAddress the privateIpAddress value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { + public NetworkInterfaceIPConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } /** - * Get the privateIpAddressPrefixLength property: The private IP address prefix length. If specified and the + * Get the privateIPAddressPrefixLength property: The private IP address prefix length. If specified and the * allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. * - * @return the privateIpAddressPrefixLength value. + * @return the privateIPAddressPrefixLength value. */ - public Integer privateIpAddressPrefixLength() { - return this.privateIpAddressPrefixLength; + public Integer privateIPAddressPrefixLength() { + return this.privateIPAddressPrefixLength; } /** - * Set the privateIpAddressPrefixLength property: The private IP address prefix length. If specified and the + * Set the privateIPAddressPrefixLength property: The private IP address prefix length. If specified and the * allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. * - * @param privateIpAddressPrefixLength the privateIpAddressPrefixLength value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @param privateIPAddressPrefixLength the privateIPAddressPrefixLength value to set. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner - withPrivateIpAddressPrefixLength(Integer privateIpAddressPrefixLength) { - this.privateIpAddressPrefixLength = privateIpAddressPrefixLength; + public NetworkInterfaceIPConfigurationPropertiesFormatInner + withPrivateIPAddressPrefixLength(Integer privateIPAddressPrefixLength) { + this.privateIPAddressPrefixLength = privateIPAddressPrefixLength; return this; } @@ -272,9 +272,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: The private IP address allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner + public NetworkInterfaceIPConfigurationPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -293,9 +293,9 @@ public IpVersion privateIpAddressVersion() { * Set the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. * * @param privateIpAddressVersion the privateIpAddressVersion value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner + public NetworkInterfaceIPConfigurationPropertiesFormatInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { this.privateIpAddressVersion = privateIpAddressVersion; return this; @@ -314,9 +314,9 @@ public SubnetInner subnet() { * Set the subnet property: Subnet bound to the IP configuration. * * @param subnet the subnet value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { + public NetworkInterfaceIPConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { this.subnet = subnet; return this; } @@ -334,9 +334,9 @@ public Boolean primary() { * Set the primary property: Whether this is a primary customer address on the network interface. * * @param primary the primary value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrimary(Boolean primary) { + public NetworkInterfaceIPConfigurationPropertiesFormatInner withPrimary(Boolean primary) { this.primary = primary; return this; } @@ -354,9 +354,9 @@ public PublicIpAddressInner publicIpAddress() { * Set the publicIpAddress property: Public IP address bound to the IP configuration. * * @param publicIpAddress the publicIpAddress value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner + public NetworkInterfaceIPConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; @@ -377,9 +377,9 @@ public List applicationSecurityGroups() { * included. * * @param applicationSecurityGroups the applicationSecurityGroups value to set. - * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIpConfigurationPropertiesFormatInner + public NetworkInterfaceIPConfigurationPropertiesFormatInner withApplicationSecurityGroups(List applicationSecurityGroups) { this.applicationSecurityGroups = applicationSecurityGroups; return this; @@ -390,7 +390,7 @@ public List applicationSecurityGroups() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -399,7 +399,7 @@ public ProvisioningState provisioningState() { * * @return the privateLinkConnectionProperties value. */ - public NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties() { + public NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties() { return this.privateLinkConnectionProperties; } @@ -451,7 +451,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("loadBalancerInboundNatRules", this.loadBalancerInboundNatRules, (writer, element) -> writer.writeJson(element)); jsonWriter.writeStringField("privateIPAddress", this.privateIpAddress); - jsonWriter.writeNumberField("privateIPAddressPrefixLength", this.privateIpAddressPrefixLength); + jsonWriter.writeNumberField("privateIPAddressPrefixLength", this.privateIPAddressPrefixLength); jsonWriter.writeStringField("privateIPAllocationMethod", this.privateIpAllocationMethod == null ? null : this.privateIpAllocationMethod.toString()); jsonWriter.writeStringField("privateIPAddressVersion", @@ -465,83 +465,83 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkInterfaceIpConfigurationPropertiesFormatInner from the JsonReader. + * Reads an instance of NetworkInterfaceIPConfigurationPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkInterfaceIpConfigurationPropertiesFormatInner if the JsonReader was pointing to an + * @return An instance of NetworkInterfaceIPConfigurationPropertiesFormatInner 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 NetworkInterfaceIpConfigurationPropertiesFormatInner. + * @throws IOException If an error occurs while reading the NetworkInterfaceIPConfigurationPropertiesFormatInner. */ - public static NetworkInterfaceIpConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) + public static NetworkInterfaceIPConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkInterfaceIpConfigurationPropertiesFormatInner deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner - = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); + NetworkInterfaceIPConfigurationPropertiesFormatInner deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner + = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("gatewayLoadBalancer".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.gatewayLoadBalancer + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.gatewayLoadBalancer = SubResource.fromJson(reader); } else if ("virtualNetworkTaps".equals(fieldName)) { List virtualNetworkTaps = reader.readArray(reader1 -> VirtualNetworkTapInner.fromJson(reader1)); - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.virtualNetworkTaps + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.virtualNetworkTaps = virtualNetworkTaps; } else if ("applicationGatewayBackendAddressPools".equals(fieldName)) { List applicationGatewayBackendAddressPools = reader.readArray(reader1 -> ApplicationGatewayBackendAddressPool.fromJson(reader1)); - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.applicationGatewayBackendAddressPools + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools; } else if ("loadBalancerBackendAddressPools".equals(fieldName)) { List loadBalancerBackendAddressPools = reader.readArray(reader1 -> BackendAddressPoolInner.fromJson(reader1)); - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.loadBalancerBackendAddressPools + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools; } else if ("loadBalancerInboundNatRules".equals(fieldName)) { List loadBalancerInboundNatRules = reader.readArray(reader1 -> InboundNatRuleInner.fromJson(reader1)); - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.loadBalancerInboundNatRules + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.loadBalancerInboundNatRules = loadBalancerInboundNatRules; } else if ("privateIPAddress".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.privateIpAddress + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); } else if ("privateIPAddressPrefixLength".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.privateIpAddressPrefixLength + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateIPAddressPrefixLength = reader.getNullable(JsonReader::getInt); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.privateIpAllocationMethod + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("privateIPAddressVersion".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.privateIpAddressVersion + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateIpAddressVersion = IpVersion.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.subnet + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("primary".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.primary + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.primary = reader.getNullable(JsonReader::getBoolean); } else if ("publicIPAddress".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.publicIpAddress + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.publicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("applicationSecurityGroups".equals(fieldName)) { List applicationSecurityGroups = reader.readArray(reader1 -> ApplicationSecurityGroupInner.fromJson(reader1)); - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.applicationSecurityGroups + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.applicationSecurityGroups = applicationSecurityGroups; } else if ("provisioningState".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else if ("privateLinkConnectionProperties".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.privateLinkConnectionProperties - = NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.fromJson(reader); + deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateLinkConnectionProperties + = NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner; + return deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java index 1d38584ca950..2b3170dd5769 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.NetworkInterfaceDnsSettings; import com.azure.resourcemanager.network.models.NetworkInterfaceMigrationPhase; import com.azure.resourcemanager.network.models.NetworkInterfaceNicType; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -109,7 +109,7 @@ public final class NetworkInterfacePropertiesFormatInner /* * The provisioning state of the network interface resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * WorkloadType of the NetworkInterface for BareMetal resources @@ -369,7 +369,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -606,7 +606,7 @@ public static NetworkInterfacePropertiesFormatInner fromJson(JsonReader jsonRead deserializedNetworkInterfacePropertiesFormatInner.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedNetworkInterfacePropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("workloadType".equals(fieldName)) { deserializedNetworkInterfacePropertiesFormatInner.workloadType = reader.getString(); } else if ("nicType".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java index ed05ac8cda76..674fcf9ca100 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java @@ -1,39 +1,34 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** * Tap configuration in a Network Interface. */ @Fluent -public final class NetworkInterfaceTapConfigurationInner extends SubResource { +public final class NetworkInterfaceTapConfigurationInner extends SubResourceModel { /* * Properties of the Virtual Network Tap configuration. */ private NetworkInterfaceTapConfigurationPropertiesFormatInner innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Sub Resource type. + * Resource type. */ private String type; @@ -52,28 +47,6 @@ private NetworkInterfaceTapConfigurationPropertiesFormatInner innerProperties() return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the NetworkInterfaceTapConfigurationInner object itself. - */ - public NetworkInterfaceTapConfigurationInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -84,10 +57,11 @@ public String etag() { } /** - * Get the type property: Sub Resource type. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -101,6 +75,15 @@ public NetworkInterfaceTapConfigurationInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public NetworkInterfaceTapConfigurationInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the virtualNetworkTap property: The reference to the Virtual Network Tap resource. * @@ -129,7 +112,7 @@ public NetworkInterfaceTapConfigurationInner withVirtualNetworkTap(VirtualNetwor * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -138,6 +121,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -151,8 +135,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -174,15 +158,15 @@ public static NetworkInterfaceTapConfigurationInner fromJson(JsonReader jsonRead if ("id".equals(fieldName)) { deserializedNetworkInterfaceTapConfigurationInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedNetworkInterfaceTapConfigurationInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedNetworkInterfaceTapConfigurationInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedNetworkInterfaceTapConfigurationInner.innerProperties = NetworkInterfaceTapConfigurationPropertiesFormatInner.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedNetworkInterfaceTapConfigurationInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedNetworkInterfaceTapConfigurationInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedNetworkInterfaceTapConfigurationInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java index 757abf114c53..41cb51f20c24 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -26,7 +26,7 @@ public final class NetworkInterfaceTapConfigurationPropertiesFormatInner /* * The provisioning state of the network interface tap configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of NetworkInterfaceTapConfigurationPropertiesFormatInner class. @@ -60,7 +60,7 @@ public VirtualNetworkTapInner virtualNetworkTap() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -107,7 +107,7 @@ public static NetworkInterfaceTapConfigurationPropertiesFormatInner fromJson(Jso = VirtualNetworkTapInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedNetworkInterfaceTapConfigurationPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java index d220b7e649c9..8412a03f52b6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java index 3dd05515dc2f..d4f5f0920e00 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -34,17 +34,17 @@ public final class NetworkManagerConnectionInner extends ChildResource { private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -83,7 +83,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -93,7 +93,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -103,7 +103,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -195,7 +195,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkManagerConnectionInner 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 NetworkManagerConnectionInner. */ public static NetworkManagerConnectionInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java index ad3e011f13ce..2b2eca86d6bc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusInner.java similarity index 54% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusInner.java index 0cc0ea837a9e..0c5d7c44640e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusInner.java @@ -1,15 +1,17 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; 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.network.models.ConfigurationType; +import com.azure.resourcemanager.network.models.DeploymentStatus; import java.io.IOException; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; @@ -18,8 +20,9 @@ /** * Network Manager Deployment Status. */ -@Fluent -public final class NetworkManagerDeploymentStatus implements JsonSerializable { +@Immutable +public final class NetworkManagerDeploymentStatusInner + implements JsonSerializable { /* * Commit Time. */ @@ -51,9 +54,9 @@ public final class NetworkManagerDeploymentStatus implements JsonSerializable configurationIds() { return this.configurationIds; } - /** - * Set the configurationIds property: List of configuration ids. - * - * @param configurationIds the configurationIds value to set. - * @return the NetworkManagerDeploymentStatus object itself. - */ - public NetworkManagerDeploymentStatus withConfigurationIds(List configurationIds) { - this.configurationIds = configurationIds; - return this; - } - /** * Get the deploymentType property: Configuration Deployment Type. * @@ -145,17 +104,6 @@ public ConfigurationType deploymentType() { return this.deploymentType; } - /** - * Set the deploymentType property: Configuration Deployment Type. - * - * @param deploymentType the deploymentType value to set. - * @return the NetworkManagerDeploymentStatus object itself. - */ - public NetworkManagerDeploymentStatus withDeploymentType(ConfigurationType deploymentType) { - this.deploymentType = deploymentType; - return this; - } - /** * Get the errorMessage property: Error Message. * @@ -165,17 +113,6 @@ public String errorMessage() { return this.errorMessage; } - /** - * Set the errorMessage property: Error Message. - * - * @param errorMessage the errorMessage value to set. - * @return the NetworkManagerDeploymentStatus object itself. - */ - public NetworkManagerDeploymentStatus withErrorMessage(String errorMessage) { - this.errorMessage = errorMessage; - return this; - } - /** * Validates the instance. * @@ -204,43 +141,43 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkManagerDeploymentStatus from the JsonReader. + * Reads an instance of NetworkManagerDeploymentStatusInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkManagerDeploymentStatus 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 NetworkManagerDeploymentStatus. + * @return An instance of NetworkManagerDeploymentStatusInner 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 NetworkManagerDeploymentStatusInner. */ - public static NetworkManagerDeploymentStatus fromJson(JsonReader jsonReader) throws IOException { + public static NetworkManagerDeploymentStatusInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkManagerDeploymentStatus deserializedNetworkManagerDeploymentStatus - = new NetworkManagerDeploymentStatus(); + NetworkManagerDeploymentStatusInner deserializedNetworkManagerDeploymentStatusInner + = new NetworkManagerDeploymentStatusInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("commitTime".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatus.commitTime = reader + deserializedNetworkManagerDeploymentStatusInner.commitTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); } else if ("region".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatus.region = reader.getString(); + deserializedNetworkManagerDeploymentStatusInner.region = reader.getString(); } else if ("deploymentStatus".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatus.deploymentStatus + deserializedNetworkManagerDeploymentStatusInner.deploymentStatus = DeploymentStatus.fromString(reader.getString()); } else if ("configurationIds".equals(fieldName)) { List configurationIds = reader.readArray(reader1 -> reader1.getString()); - deserializedNetworkManagerDeploymentStatus.configurationIds = configurationIds; + deserializedNetworkManagerDeploymentStatusInner.configurationIds = configurationIds; } else if ("deploymentType".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatus.deploymentType + deserializedNetworkManagerDeploymentStatusInner.deploymentType = ConfigurationType.fromString(reader.getString()); } else if ("errorMessage".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatus.errorMessage = reader.getString(); + deserializedNetworkManagerDeploymentStatusInner.errorMessage = reader.getString(); } else { reader.skipChildren(); } } - return deserializedNetworkManagerDeploymentStatus; + return deserializedNetworkManagerDeploymentStatusInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java index 252960317f30..eb42e6b24f2d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ConfigurationType; import com.azure.resourcemanager.network.models.NetworkManagerPropertiesNetworkManagerScopes; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -218,7 +218,7 @@ public NetworkManagerInner withNetworkManagerScopeAccesses(List networkManagerScopeAccesses() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -189,7 +189,7 @@ public static NetworkManagerProperties fromJson(JsonReader jsonReader) throws IO deserializedNetworkManagerProperties.networkManagerScopeAccesses = networkManagerScopeAccesses; } else if ("provisioningState".equals(fieldName)) { deserializedNetworkManagerProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedNetworkManagerProperties.resourceGuid = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java index 73a4d7cfadfa..9f0ebdfb4a04 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ChildResource; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RouteTableUsageMode; import java.io.IOException; @@ -35,17 +35,17 @@ public final class NetworkManagerRoutingConfigurationInner extends ChildResource private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -84,7 +84,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -94,7 +94,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -104,7 +104,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -141,7 +141,7 @@ public NetworkManagerRoutingConfigurationInner withDescription(String descriptio * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -207,7 +207,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkManagerRoutingConfigurationInner 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 NetworkManagerRoutingConfigurationInner. */ public static NetworkManagerRoutingConfigurationInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java index 72c85f0b602d..80046fbf7e20 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RouteTableUsageMode; import java.io.IOException; @@ -27,7 +27,7 @@ public final class NetworkManagerRoutingConfigurationPropertiesFormat /* * The provisioning state of the resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Unique identifier for this resource. @@ -71,7 +71,7 @@ public NetworkManagerRoutingConfigurationPropertiesFormat withDescription(String * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -148,7 +148,7 @@ public static NetworkManagerRoutingConfigurationPropertiesFormat fromJson(JsonRe deserializedNetworkManagerRoutingConfigurationPropertiesFormat.description = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedNetworkManagerRoutingConfigurationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedNetworkManagerRoutingConfigurationPropertiesFormat.resourceGuid = reader.getString(); } else if ("routeTableUsageMode".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java index ba9e1c36e987..0f62998b1f75 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ContainerNetworkInterface; import com.azure.resourcemanager.network.models.ContainerNetworkInterfaceConfiguration; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -177,7 +177,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java index a63f0421685c..6272e36980a8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ContainerNetworkInterface; import com.azure.resourcemanager.network.models.ContainerNetworkInterfaceConfiguration; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -38,7 +38,7 @@ public final class NetworkProfilePropertiesFormat implements JsonSerializable tags) { + super.withTags(tags); return this; } @@ -111,8 +116,8 @@ public NetworkSecurityPerimeterInner withLocation(String location) { * {@inheritDoc} */ @Override - public NetworkSecurityPerimeterInner withTags(Map tags) { - super.withTags(tags); + public NetworkSecurityPerimeterInner withLocation(String location) { + super.withLocation(location); return this; } @@ -139,15 +144,20 @@ public String perimeterGuid() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (systemData() != null) { - systemData().validate(); + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property location in model NetworkSecurityPerimeterInner")); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkSecurityPerimeterInner.class); + /** * {@inheritDoc} */ @@ -177,22 +187,22 @@ public static NetworkSecurityPerimeterInner fromJson(JsonReader jsonReader) thro String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { + if ("location".equals(fieldName)) { + deserializedNetworkSecurityPerimeterInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.id = reader.getString(); } else if ("name".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedNetworkSecurityPerimeterInner.withLocation(reader.getString()); + } else if ("systemData".equals(fieldName)) { + deserializedNetworkSecurityPerimeterInner.systemData = SystemData.fromJson(reader); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedNetworkSecurityPerimeterInner.withTags(tags); } else if ("properties".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.innerProperties = NetworkSecurityPerimeterProperties.fromJson(reader); - } else if ("systemData".equals(fieldName)) { - deserializedNetworkSecurityPerimeterInner.systemData = SecurityPerimeterSystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java index f24642a86df8..baf7a7fcc72a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java index e9a16c0d24b0..7cc8cef999d2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import java.io.IOException; import java.util.List; @@ -101,7 +101,7 @@ public NetworkVirtualApplianceConnectionInner withNamePropertiesName(String name * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java index cf7f82e8523a..63e64c863b1d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import java.io.IOException; import java.util.List; @@ -28,7 +28,7 @@ public final class NetworkVirtualApplianceConnectionProperties /* * The provisioning state of the NetworkVirtualApplianceConnection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Network Virtual Appliance ASN. @@ -86,7 +86,7 @@ public NetworkVirtualApplianceConnectionProperties withName(String name) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -240,7 +240,7 @@ public static NetworkVirtualApplianceConnectionProperties fromJson(JsonReader js deserializedNetworkVirtualApplianceConnectionProperties.name = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedNetworkVirtualApplianceConnectionProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("asn".equals(fieldName)) { deserializedNetworkVirtualApplianceConnectionProperties.asn = reader.getNullable(JsonReader::getLong); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java index 312bcfc5a9e3..bd2d7c2d3c01 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,10 +13,10 @@ import com.azure.resourcemanager.network.models.DelegationProperties; import com.azure.resourcemanager.network.models.InternetIngressPublicIpsProperties; import com.azure.resourcemanager.network.models.ManagedServiceIdentity; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.NetworkVirtualAppliancePropertiesFormatNetworkProfile; import com.azure.resourcemanager.network.models.NvaInterfaceConfigurationsProperties; import com.azure.resourcemanager.network.models.PartnerManagedResourceProperties; -import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualApplianceAdditionalNicProperties; import com.azure.resourcemanager.network.models.VirtualApplianceNicProperties; import com.azure.resourcemanager.network.models.VirtualApplianceSkuProperties; @@ -448,7 +448,7 @@ public List inboundSecurityRules() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java index 4ed923794a1b..284987632a16 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The NetworkVirtualApplianceInstanceId model. */ -@Fluent +@Immutable public final class NetworkVirtualApplianceInstanceIdInner implements JsonSerializable { /* @@ -25,7 +25,7 @@ public final class NetworkVirtualApplianceInstanceIdInner /** * Creates an instance of NetworkVirtualApplianceInstanceIdInner class. */ - public NetworkVirtualApplianceInstanceIdInner() { + private NetworkVirtualApplianceInstanceIdInner() { } /** @@ -38,18 +38,6 @@ public Integer instanceId() { return this.instanceId; } - /** - * Set the instanceId property: The network virtual appliance instance id for which boot diagnostic logs is being - * requested. - * - * @param instanceId the instanceId value to set. - * @return the NetworkVirtualApplianceInstanceIdInner object itself. - */ - public NetworkVirtualApplianceInstanceIdInner withInstanceId(Integer instanceId) { - this.instanceId = instanceId; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java index 63a86959a483..4b34625e40e4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java index 18adb581dfd1..8936ae65d9b9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,10 +12,10 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.DelegationProperties; import com.azure.resourcemanager.network.models.InternetIngressPublicIpsProperties; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.NetworkVirtualAppliancePropertiesFormatNetworkProfile; import com.azure.resourcemanager.network.models.NvaInterfaceConfigurationsProperties; import com.azure.resourcemanager.network.models.PartnerManagedResourceProperties; -import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualApplianceAdditionalNicProperties; import com.azure.resourcemanager.network.models.VirtualApplianceNicProperties; import com.azure.resourcemanager.network.models.VirtualApplianceSkuProperties; @@ -107,7 +107,7 @@ public final class NetworkVirtualAppliancePropertiesFormat /* * The provisioning state of the resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The deployment type. PartnerManaged for the SaaS NVA @@ -400,7 +400,7 @@ public List inboundSecurityRules() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -612,7 +612,7 @@ public static NetworkVirtualAppliancePropertiesFormat fromJson(JsonReader jsonRe deserializedNetworkVirtualAppliancePropertiesFormat.inboundSecurityRules = inboundSecurityRules; } else if ("provisioningState".equals(fieldName)) { deserializedNetworkVirtualAppliancePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("deploymentType".equals(fieldName)) { deserializedNetworkVirtualAppliancePropertiesFormat.deploymentType = reader.getString(); } else if ("delegation".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java index 3286bfa6332b..1e976c03b883 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.Resource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -19,7 +19,7 @@ * * Definition of the NetworkVirtualApplianceSkus resource. */ -@Fluent +@Immutable public final class NetworkVirtualApplianceSkuInner extends Resource { /* * NetworkVirtualApplianceSku properties. @@ -49,7 +49,7 @@ public final class NetworkVirtualApplianceSkuInner extends Resource { /** * Creates an instance of NetworkVirtualApplianceSkuInner class. */ - public NetworkVirtualApplianceSkuInner() { + private NetworkVirtualApplianceSkuInner() { } /** @@ -79,17 +79,6 @@ public String id() { return this.id; } - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the NetworkVirtualApplianceSkuInner object itself. - */ - public NetworkVirtualApplianceSkuInner withId(String id) { - this.id = id; - return this; - } - /** * Get the type property: The type of the resource. * @@ -110,24 +99,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public NetworkVirtualApplianceSkuInner withLocation(String location) { - super.withLocation(location); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public NetworkVirtualApplianceSkuInner withTags(Map tags) { - super.withTags(tags); - return this; - } - /** * Get the vendor property: Network Virtual Appliance Sku vendor. * @@ -155,21 +126,6 @@ public List availableScaleUnits() { return this.innerProperties() == null ? null : this.innerProperties().availableScaleUnits(); } - /** - * Set the availableScaleUnits property: The list of scale units available. - * - * @param availableScaleUnits the availableScaleUnits value to set. - * @return the NetworkVirtualApplianceSkuInner object itself. - */ - public NetworkVirtualApplianceSkuInner - withAvailableScaleUnits(List availableScaleUnits) { - if (this.innerProperties() == null) { - this.innerProperties = new NetworkVirtualApplianceSkuPropertiesFormat(); - } - this.innerProperties().withAvailableScaleUnits(availableScaleUnits); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java index 60e61f7f845e..fc5c801f7861 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -18,7 +18,7 @@ * * Properties specific to NetworkVirtualApplianceSkus. */ -@Fluent +@Immutable public final class NetworkVirtualApplianceSkuPropertiesFormat implements JsonSerializable { /* @@ -39,7 +39,7 @@ public final class NetworkVirtualApplianceSkuPropertiesFormat /** * Creates an instance of NetworkVirtualApplianceSkuPropertiesFormat class. */ - public NetworkVirtualApplianceSkuPropertiesFormat() { + private NetworkVirtualApplianceSkuPropertiesFormat() { } /** @@ -69,18 +69,6 @@ public List availableScaleUnits() { return this.availableScaleUnits; } - /** - * Set the availableScaleUnits property: The list of scale units available. - * - * @param availableScaleUnits the availableScaleUnits value to set. - * @return the NetworkVirtualApplianceSkuPropertiesFormat object itself. - */ - public NetworkVirtualApplianceSkuPropertiesFormat - withAvailableScaleUnits(List availableScaleUnits) { - this.availableScaleUnits = availableScaleUnits; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java index 8292eefba90b..5756c867b63b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.Map; @@ -19,14 +19,14 @@ @Fluent public final class NetworkWatcherInner extends Resource { /* - * A unique read-only string that changes whenever the resource is updated. + * Properties of the network watcher. */ - private String etag; + private NetworkWatcherPropertiesFormat innerProperties; /* - * Properties of the network watcher. + * A unique read-only string that changes whenever the resource is updated. */ - private NetworkWatcherPropertiesFormat innerProperties; + private String etag; /* * Resource ID. @@ -50,21 +50,21 @@ public NetworkWatcherInner() { } /** - * Get the etag property: A unique read-only string that changes whenever the resource is updated. + * Get the innerProperties property: Properties of the network watcher. * - * @return the etag value. + * @return the innerProperties value. */ - public String etag() { - return this.etag; + private NetworkWatcherPropertiesFormat innerProperties() { + return this.innerProperties; } /** - * Get the innerProperties property: Properties of the network watcher. + * Get the etag property: A unique read-only string that changes whenever the resource is updated. * - * @return the innerProperties value. + * @return the etag value. */ - private NetworkWatcherPropertiesFormat innerProperties() { - return this.innerProperties; + public String etag() { + return this.etag; } /** @@ -130,7 +130,7 @@ public NetworkWatcherInner withTags(Map tags) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -183,10 +183,10 @@ public static NetworkWatcherInner fromJson(JsonReader jsonReader) throws IOExcep } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedNetworkWatcherInner.withTags(tags); - } else if ("etag".equals(fieldName)) { - deserializedNetworkWatcherInner.etag = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedNetworkWatcherInner.innerProperties = NetworkWatcherPropertiesFormat.fromJson(reader); + } else if ("etag".equals(fieldName)) { + deserializedNetworkWatcherInner.etag = reader.getString(); } else if ("id".equals(fieldName)) { deserializedNetworkWatcherInner.id = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java index 83da05c9f2d1..e926ce38b47a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -20,7 +20,7 @@ public final class NetworkWatcherPropertiesFormat implements JsonSerializable { /* * Next hop type. @@ -36,7 +36,7 @@ public final class NextHopResultInner implements JsonSerializable localInboundProfiles() { return this.innerProperties() == null ? null : this.innerProperties().localInboundProfiles(); } - /** - * Set the localInboundProfiles property: Local Inbound profile names to which Inbound is allowed. Use ['*'] to - * allow inbound to all profiles. - * - * @param localInboundProfiles the localInboundProfiles value to set. - * @return the NspLinkReferenceInner object itself. - */ - public NspLinkReferenceInner withLocalInboundProfiles(List localInboundProfiles) { - if (this.innerProperties() == null) { - this.innerProperties = new NspLinkReferenceProperties(); - } - this.innerProperties().withLocalInboundProfiles(localInboundProfiles); - return this; - } - /** * Get the localOutboundProfiles property: Local Outbound profile names from which Outbound is allowed. In current * version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later @@ -214,21 +202,6 @@ public NspLinkStatus status() { return this.innerProperties() == null ? null : this.innerProperties().status(); } - /** - * Set the status property: The NSP linkReference state. It cannot be changed if link is created in auto-approval - * mode. - * - * @param status the status value to set. - * @return the NspLinkReferenceInner object itself. - */ - public NspLinkReferenceInner withStatus(NspLinkStatus status) { - if (this.innerProperties() == null) { - this.innerProperties = new NspLinkReferenceProperties(); - } - this.innerProperties().withStatus(status); - return this; - } - /** * Validates the instance. * @@ -239,9 +212,6 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (systemData() != null) { - systemData().validate(); - } } /** @@ -260,7 +230,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NspLinkReferenceInner 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 NspLinkReferenceInner. */ public static NspLinkReferenceInner fromJson(JsonReader jsonReader) throws IOException { @@ -277,7 +246,7 @@ public static NspLinkReferenceInner fromJson(JsonReader jsonReader) throws IOExc } else if ("type".equals(fieldName)) { deserializedNspLinkReferenceInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedNspLinkReferenceInner.systemData = SecurityPerimeterSystemData.fromJson(reader); + deserializedNspLinkReferenceInner.systemData = SystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNspLinkReferenceInner.innerProperties = NspLinkReferenceProperties.fromJson(reader); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java index e5095c61eec3..3709372d713a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,7 +17,7 @@ /** * Properties of NSP LinkReference resource. */ -@Fluent +@Immutable public final class NspLinkReferenceProperties implements JsonSerializable { /* * The provisioning state of the NSP LinkReference resource. @@ -78,7 +78,7 @@ public final class NspLinkReferenceProperties implements JsonSerializable localInboundProfiles() { return this.localInboundProfiles; } - /** - * Set the localInboundProfiles property: Local Inbound profile names to which Inbound is allowed. Use ['*'] to - * allow inbound to all profiles. - * - * @param localInboundProfiles the localInboundProfiles value to set. - * @return the NspLinkReferenceProperties object itself. - */ - public NspLinkReferenceProperties withLocalInboundProfiles(List localInboundProfiles) { - this.localInboundProfiles = localInboundProfiles; - return this; - } - /** * Get the localOutboundProfiles property: Local Outbound profile names from which Outbound is allowed. In current * version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later @@ -192,18 +180,6 @@ public NspLinkStatus status() { return this.status; } - /** - * Set the status property: The NSP linkReference state. It cannot be changed if link is created in auto-approval - * mode. - * - * @param status the status value to set. - * @return the NspLinkReferenceProperties object itself. - */ - public NspLinkReferenceProperties withStatus(NspLinkStatus status) { - this.status = status; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java index 52be22f6d5c8..0cb6429c5f32 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +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.network.models.SecurityPerimeterProxyResource; -import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; +import com.azure.resourcemanager.network.models.CommonProxyResource; import java.io.IOException; import java.util.List; @@ -17,7 +17,7 @@ * The NSP logging configuration. */ @Fluent -public final class NspLoggingConfigurationInner extends SecurityPerimeterProxyResource { +public final class NspLoggingConfigurationInner extends CommonProxyResource { /* * Properties of the NSP logging configuration. */ @@ -26,20 +26,21 @@ public final class NspLoggingConfigurationInner extends SecurityPerimeterProxyRe /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SecurityPerimeterSystemData systemData; + private SystemData systemData; /* - * The type of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ private String type; /* - * The name of the resource. + * The name of the resource */ private String name; /* - * Fully qualified resource Id for the resource. + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ private String id; @@ -64,12 +65,13 @@ private NspLoggingConfigurationProperties innerProperties() { * @return the systemData value. */ @Override - public SecurityPerimeterSystemData systemData() { + public SystemData systemData() { return this.systemData; } /** - * Get the type property: The type of the resource. + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * * @return the type value. */ @@ -89,7 +91,8 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * * @return the id value. */ @@ -154,9 +157,6 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (systemData() != null) { - systemData().validate(); - } } /** @@ -175,7 +175,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NspLoggingConfigurationInner 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 NspLoggingConfigurationInner. */ public static NspLoggingConfigurationInner fromJson(JsonReader jsonReader) throws IOException { @@ -192,7 +191,7 @@ public static NspLoggingConfigurationInner fromJson(JsonReader jsonReader) throw } else if ("type".equals(fieldName)) { deserializedNspLoggingConfigurationInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedNspLoggingConfigurationInner.systemData = SecurityPerimeterSystemData.fromJson(reader); + deserializedNspLoggingConfigurationInner.systemData = SystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNspLoggingConfigurationInner.innerProperties = NspLoggingConfigurationProperties.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java index 5a6d2985b96c..1adda426f067 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java index f896c7955605..bf210fe38a12 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java @@ -1,22 +1,22 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Immutable; +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.network.models.SecurityPerimeterProxyResource; -import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; +import com.azure.resourcemanager.network.models.CommonProxyResource; import java.io.IOException; /** * The network security perimeter profile resource. */ @Immutable -public final class NspProfileInner extends SecurityPerimeterProxyResource { +public final class NspProfileInner extends CommonProxyResource { /* * Properties of the network security perimeter profile */ @@ -25,20 +25,21 @@ public final class NspProfileInner extends SecurityPerimeterProxyResource { /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SecurityPerimeterSystemData systemData; + private SystemData systemData; /* - * The type of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ private String type; /* - * The name of the resource. + * The name of the resource */ private String name; /* - * Fully qualified resource Id for the resource. + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ private String id; @@ -63,12 +64,13 @@ private NspProfileProperties innerProperties() { * @return the systemData value. */ @Override - public SecurityPerimeterSystemData systemData() { + public SystemData systemData() { return this.systemData; } /** - * Get the type property: The type of the resource. + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * * @return the type value. */ @@ -88,7 +90,8 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * * @return the id value. */ @@ -127,9 +130,6 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (systemData() != null) { - systemData().validate(); - } } /** @@ -148,7 +148,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NspProfileInner 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 NspProfileInner. */ public static NspProfileInner fromJson(JsonReader jsonReader) throws IOException { @@ -165,7 +164,7 @@ public static NspProfileInner fromJson(JsonReader jsonReader) throws IOException } else if ("type".equals(fieldName)) { deserializedNspProfileInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedNspProfileInner.systemData = SecurityPerimeterSystemData.fromJson(reader); + deserializedNspProfileInner.systemData = SystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNspProfileInner.innerProperties = NspProfileProperties.fromJson(reader); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java index 29b25b72d168..f5b480dba430 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java index df013097897e..93717ea2da85 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Resource containing list of NSP service tags. */ -@Fluent +@Immutable public final class NspServiceTagsResourceInner implements JsonSerializable { /* * NSP service tags. @@ -25,7 +25,7 @@ public final class NspServiceTagsResourceInner implements JsonSerializable serviceTags() { return this.serviceTags; } - /** - * Set the serviceTags property: NSP service tags. - * - * @param serviceTags the serviceTags value to set. - * @return the NspServiceTagsResourceInner object itself. - */ - public NspServiceTagsResourceInner withServiceTags(List serviceTags) { - this.serviceTags = serviceTags; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java index e57d5380f6e5..6120cf2114ce 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * Network REST API operation definition. */ -@Fluent +@Immutable public final class OperationInner implements JsonSerializable { /* * Operation name: {provider}/{resource}/{operation}. @@ -41,7 +41,7 @@ public final class OperationInner implements JsonSerializable { /** * Creates an instance of OperationInner class. */ - public OperationInner() { + private OperationInner() { } /** @@ -53,17 +53,6 @@ public String name() { return this.name; } - /** - * Set the name property: Operation name: {provider}/{resource}/{operation}. - * - * @param name the name value to set. - * @return the OperationInner object itself. - */ - public OperationInner withName(String name) { - this.name = name; - return this; - } - /** * Get the display property: Display metadata associated with the operation. * @@ -73,17 +62,6 @@ public OperationDisplay display() { return this.display; } - /** - * Set the display property: Display metadata associated with the operation. - * - * @param display the display value to set. - * @return the OperationInner object itself. - */ - public OperationInner withDisplay(OperationDisplay display) { - this.display = display; - return this; - } - /** * Get the origin property: Origin of the operation. * @@ -93,17 +71,6 @@ public String origin() { return this.origin; } - /** - * Set the origin property: Origin of the operation. - * - * @param origin the origin value to set. - * @return the OperationInner object itself. - */ - public OperationInner withOrigin(String origin) { - this.origin = origin; - return this; - } - /** * Get the innerProperties property: Operation properties format. * @@ -122,20 +89,6 @@ public OperationPropertiesFormatServiceSpecification serviceSpecification() { return this.innerProperties() == null ? null : this.innerProperties().serviceSpecification(); } - /** - * Set the serviceSpecification property: Specification of the service. - * - * @param serviceSpecification the serviceSpecification value to set. - * @return the OperationInner object itself. - */ - public OperationInner withServiceSpecification(OperationPropertiesFormatServiceSpecification serviceSpecification) { - if (this.innerProperties() == null) { - this.innerProperties = new OperationPropertiesFormat(); - } - this.innerProperties().withServiceSpecification(serviceSpecification); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java index a2daf615ad30..a60f31e7ac9b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Description of operation properties format. */ -@Fluent +@Immutable public final class OperationPropertiesFormat implements JsonSerializable { /* * Specification of the service. @@ -25,7 +25,7 @@ public final class OperationPropertiesFormat implements JsonSerializable { /* * Fully qualified ID for the async operation. */ private String id; - /* - * Fully qualified ID of the resource against which the original async operation was started. - */ - private String resourceId; - /* * Name of the async operation. */ @@ -45,7 +40,7 @@ public final class OperationStatusResultInner implements JsonSerializable operations() { return this.operations; } - /** - * Set the operations property: The operations list. - * - * @param operations the operations value to set. - * @return the OperationStatusResultInner object itself. - */ - public OperationStatusResultInner withOperations(List operations) { - this.operations = operations; - return this; - } - /** * Get the error property: If present, details of the operation error. * * @return the error value. */ - public ErrorDetail error() { + public ManagementError error() { return this.error; } - /** - * Set the error property: If present, details of the operation error. - * - * @param error the error value to set. - * @return the OperationStatusResultInner object itself. - */ - public OperationStatusResultInner withError(ErrorDetail error) { - this.error = error; - return this; - } - /** * Validates the instance. * @@ -257,9 +154,6 @@ public void validate() { if (operations() != null) { operations().forEach(e -> e.validate()); } - if (error() != null) { - error().validate(); - } } private static final ClientLogger LOGGER = new ClientLogger(OperationStatusResultInner.class); @@ -303,12 +197,10 @@ public static OperationStatusResultInner fromJson(JsonReader jsonReader) throws deserializedOperationStatusResultInner.status = reader.getString(); } else if ("id".equals(fieldName)) { deserializedOperationStatusResultInner.id = reader.getString(); - } else if ("resourceId".equals(fieldName)) { - deserializedOperationStatusResultInner.resourceId = reader.getString(); } else if ("name".equals(fieldName)) { deserializedOperationStatusResultInner.name = reader.getString(); } else if ("percentComplete".equals(fieldName)) { - deserializedOperationStatusResultInner.percentComplete = reader.getNullable(JsonReader::getFloat); + deserializedOperationStatusResultInner.percentComplete = reader.getNullable(JsonReader::getDouble); } else if ("startTime".equals(fieldName)) { deserializedOperationStatusResultInner.startTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); @@ -320,7 +212,7 @@ public static OperationStatusResultInner fromJson(JsonReader jsonReader) throws = reader.readArray(reader1 -> OperationStatusResultInner.fromJson(reader1)); deserializedOperationStatusResultInner.operations = operations; } else if ("error".equals(fieldName)) { - deserializedOperationStatusResultInner.error = ErrorDetail.fromJson(reader); + deserializedOperationStatusResultInner.error = ManagementError.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java index 556e30283386..2f816c7df876 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,8 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.LoadBalancerOutboundRuleProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -18,25 +19,19 @@ * Outbound rule of the load balancer. */ @Fluent -public final class OutboundRuleInner extends SubResource { +public final class OutboundRuleInner extends SubResourceModel { /* * Properties of load balancer outbound rule. */ private OutboundRulePropertiesFormat innerProperties; - /* - * The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can - * be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Type of the resource. + * Resource type. */ private String type; @@ -55,28 +50,6 @@ private OutboundRulePropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within the set of outbound rules used by the load - * balancer. This name can be used to access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within the set of outbound rules used by the load - * balancer. This name can be used to access the resource. - * - * @param name the name value to set. - * @return the OutboundRuleInner object itself. - */ - public OutboundRuleInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -87,10 +60,11 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -104,6 +78,15 @@ public OutboundRuleInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public OutboundRuleInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the allocatedOutboundPorts property: The number of outbound ports to be used for NAT. * @@ -180,7 +163,7 @@ public OutboundRuleInner withBackendAddressPool(SubResource backendAddressPool) * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -260,6 +243,7 @@ public OutboundRuleInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes) * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -273,8 +257,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -295,14 +279,14 @@ public static OutboundRuleInner fromJson(JsonReader jsonReader) throws IOExcepti if ("id".equals(fieldName)) { deserializedOutboundRuleInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedOutboundRuleInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedOutboundRuleInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedOutboundRuleInner.innerProperties = OutboundRulePropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedOutboundRuleInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedOutboundRuleInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedOutboundRuleInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java index 8d162cada000..107b2d59dc40 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.LoadBalancerOutboundRuleProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -39,7 +39,7 @@ public final class OutboundRulePropertiesFormat implements JsonSerializable previousConfigurationPolicyG * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -234,7 +234,7 @@ public static P2SConnectionConfigurationProperties fromJson(JsonReader jsonReade = previousConfigurationPolicyGroupAssociations; } else if ("provisioningState".equals(fieldName)) { deserializedP2SConnectionConfigurationProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java index 05e6b823ba8d..33ab6cb010d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * P2S Vpn connection detailed health written to sas url. */ -@Fluent +@Immutable public final class P2SVpnConnectionHealthInner implements JsonSerializable { /* * Returned sas url of the blob to which the p2s vpn connection detailed health will be written. @@ -24,7 +24,7 @@ public final class P2SVpnConnectionHealthInner implements JsonSerializable p2SConnectionConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -293,12 +278,19 @@ public P2SVpnGatewayInner withIsRoutingPreferenceInternet(Boolean isRoutingPrefe * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property location in model P2SVpnGatewayInner")); + } } + private static final ClientLogger LOGGER = new ClientLogger(P2SVpnGatewayInner.class); + /** * {@inheritDoc} */ @@ -306,9 +298,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); + jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -328,12 +320,14 @@ public static P2SVpnGatewayInner fromJson(JsonReader jsonReader) throws IOExcept String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { + if ("location".equals(fieldName)) { + deserializedP2SVpnGatewayInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { + deserializedP2SVpnGatewayInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { deserializedP2SVpnGatewayInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedP2SVpnGatewayInner.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedP2SVpnGatewayInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedP2SVpnGatewayInner.withTags(tags); @@ -341,8 +335,6 @@ public static P2SVpnGatewayInner fromJson(JsonReader jsonReader) throws IOExcept deserializedP2SVpnGatewayInner.innerProperties = P2SVpnGatewayProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedP2SVpnGatewayInner.etag = reader.getString(); - } else if ("id".equals(fieldName)) { - deserializedP2SVpnGatewayInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java index 1a0cf73c45d2..c42bbd46bcbf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,8 +10,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.P2SConnectionConfiguration; -import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VpnClientConnectionHealth; import java.io.IOException; import java.util.List; @@ -34,7 +34,7 @@ public final class P2SVpnGatewayProperties implements JsonSerializable p2SConnectionConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -262,7 +262,7 @@ public static P2SVpnGatewayProperties fromJson(JsonReader jsonReader) throws IOE deserializedP2SVpnGatewayProperties.p2SConnectionConfigurations = p2SConnectionConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedP2SVpnGatewayProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("vpnGatewayScaleUnit".equals(fieldName)) { deserializedP2SVpnGatewayProperties.vpnGatewayScaleUnit = reader.getNullable(JsonReader::getInt); } else if ("vpnServerConfiguration".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java index 2f890889a505..425aa902d620 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java index 78187318904b..cbf3c51c12c6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java index f9f8748356fc..82470e187528 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -20,7 +20,7 @@ /** * Status of packet capture session. */ -@Fluent +@Immutable public final class PacketCaptureQueryStatusResultInner implements JsonSerializable { /* @@ -56,7 +56,7 @@ public final class PacketCaptureQueryStatusResultInner /** * Creates an instance of PacketCaptureQueryStatusResultInner class. */ - public PacketCaptureQueryStatusResultInner() { + private PacketCaptureQueryStatusResultInner() { } /** @@ -68,17 +68,6 @@ public String name() { return this.name; } - /** - * Set the name property: The name of the packet capture resource. - * - * @param name the name value to set. - * @return the PacketCaptureQueryStatusResultInner object itself. - */ - public PacketCaptureQueryStatusResultInner withName(String name) { - this.name = name; - return this; - } - /** * Get the id property: The ID of the packet capture resource. * @@ -88,17 +77,6 @@ public String id() { return this.id; } - /** - * Set the id property: The ID of the packet capture resource. - * - * @param id the id value to set. - * @return the PacketCaptureQueryStatusResultInner object itself. - */ - public PacketCaptureQueryStatusResultInner withId(String id) { - this.id = id; - return this; - } - /** * Get the captureStartTime property: The start time of the packet capture session. * @@ -108,17 +86,6 @@ public OffsetDateTime captureStartTime() { return this.captureStartTime; } - /** - * Set the captureStartTime property: The start time of the packet capture session. - * - * @param captureStartTime the captureStartTime value to set. - * @return the PacketCaptureQueryStatusResultInner object itself. - */ - public PacketCaptureQueryStatusResultInner withCaptureStartTime(OffsetDateTime captureStartTime) { - this.captureStartTime = captureStartTime; - return this; - } - /** * Get the packetCaptureStatus property: The status of the packet capture session. * @@ -128,17 +95,6 @@ public PcStatus packetCaptureStatus() { return this.packetCaptureStatus; } - /** - * Set the packetCaptureStatus property: The status of the packet capture session. - * - * @param packetCaptureStatus the packetCaptureStatus value to set. - * @return the PacketCaptureQueryStatusResultInner object itself. - */ - public PacketCaptureQueryStatusResultInner withPacketCaptureStatus(PcStatus packetCaptureStatus) { - this.packetCaptureStatus = packetCaptureStatus; - return this; - } - /** * Get the stopReason property: The reason the current packet capture session was stopped. * @@ -148,17 +104,6 @@ public String stopReason() { return this.stopReason; } - /** - * Set the stopReason property: The reason the current packet capture session was stopped. - * - * @param stopReason the stopReason value to set. - * @return the PacketCaptureQueryStatusResultInner object itself. - */ - public PacketCaptureQueryStatusResultInner withStopReason(String stopReason) { - this.stopReason = stopReason; - return this; - } - /** * Get the packetCaptureError property: List of errors of packet capture session. * @@ -168,17 +113,6 @@ public List packetCaptureError() { return this.packetCaptureError; } - /** - * Set the packetCaptureError property: List of errors of packet capture session. - * - * @param packetCaptureError the packetCaptureError value to set. - * @return the PacketCaptureQueryStatusResultInner object itself. - */ - public PacketCaptureQueryStatusResultInner withPacketCaptureError(List packetCaptureError) { - this.packetCaptureError = packetCaptureError; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java index 7ded2b86d54f..94e38f9ff354 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java @@ -1,27 +1,27 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +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.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PacketCaptureFilter; import com.azure.resourcemanager.network.models.PacketCaptureMachineScope; import com.azure.resourcemanager.network.models.PacketCaptureSettings; import com.azure.resourcemanager.network.models.PacketCaptureStorageLocation; import com.azure.resourcemanager.network.models.PacketCaptureTargetType; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; /** * Information about packet capture session. */ -@Fluent +@Immutable public final class PacketCaptureResultInner implements JsonSerializable { /* * Name of the packet capture session. @@ -46,7 +46,7 @@ public final class PacketCaptureResultInner implements JsonSerializable filters() { return this.innerProperties() == null ? null : this.innerProperties().filters(); } - /** - * Set the filters property: A list of packet capture filters. - * - * @param filters the filters value to set. - * @return the PacketCaptureResultInner object itself. - */ - public PacketCaptureResultInner withFilters(List filters) { - if (this.innerProperties() == null) { - this.innerProperties = new PacketCaptureResultProperties(); - } - this.innerProperties().withFilters(filters); - return this; - } - /** * Get the continuousCapture property: This continuous capture is a nullable boolean, which can hold 'null', 'true' * or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'. @@ -292,21 +178,6 @@ public Boolean continuousCapture() { return this.innerProperties() == null ? null : this.innerProperties().continuousCapture(); } - /** - * Set the continuousCapture property: This continuous capture is a nullable boolean, which can hold 'null', 'true' - * or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'. - * - * @param continuousCapture the continuousCapture value to set. - * @return the PacketCaptureResultInner object itself. - */ - public PacketCaptureResultInner withContinuousCapture(Boolean continuousCapture) { - if (this.innerProperties() == null) { - this.innerProperties = new PacketCaptureResultProperties(); - } - this.innerProperties().withContinuousCapture(continuousCapture); - return this; - } - /** * Get the captureSettings property: The capture setting holds the 'FileCount', 'FileSizeInBytes', * 'SessionTimeLimitInSeconds' values. @@ -317,21 +188,6 @@ public PacketCaptureSettings captureSettings() { return this.innerProperties() == null ? null : this.innerProperties().captureSettings(); } - /** - * Set the captureSettings property: The capture setting holds the 'FileCount', 'FileSizeInBytes', - * 'SessionTimeLimitInSeconds' values. - * - * @param captureSettings the captureSettings value to set. - * @return the PacketCaptureResultInner object itself. - */ - public PacketCaptureResultInner withCaptureSettings(PacketCaptureSettings captureSettings) { - if (this.innerProperties() == null) { - this.innerProperties = new PacketCaptureResultProperties(); - } - this.innerProperties().withCaptureSettings(captureSettings); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java index 7b1cd19f87fb..8db17d8e3a33 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java @@ -1,37 +1,37 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PacketCaptureFilter; import com.azure.resourcemanager.network.models.PacketCaptureMachineScope; import com.azure.resourcemanager.network.models.PacketCaptureSettings; import com.azure.resourcemanager.network.models.PacketCaptureStorageLocation; import com.azure.resourcemanager.network.models.PacketCaptureTargetType; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; /** * The properties of a packet capture session. */ -@Fluent +@Immutable public final class PacketCaptureResultProperties extends PacketCaptureParameters { /* * The provisioning state of the packet capture session. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of PacketCaptureResultProperties class. */ - public PacketCaptureResultProperties() { + private PacketCaptureResultProperties() { } /** @@ -39,100 +39,10 @@ public PacketCaptureResultProperties() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } - /** - * {@inheritDoc} - */ - @Override - public PacketCaptureResultProperties withTarget(String target) { - super.withTarget(target); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public PacketCaptureResultProperties withScope(PacketCaptureMachineScope scope) { - super.withScope(scope); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public PacketCaptureResultProperties withTargetType(PacketCaptureTargetType targetType) { - super.withTargetType(targetType); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public PacketCaptureResultProperties withBytesToCapturePerPacket(Long bytesToCapturePerPacket) { - super.withBytesToCapturePerPacket(bytesToCapturePerPacket); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public PacketCaptureResultProperties withTotalBytesPerSession(Long totalBytesPerSession) { - super.withTotalBytesPerSession(totalBytesPerSession); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public PacketCaptureResultProperties withTimeLimitInSeconds(Integer timeLimitInSeconds) { - super.withTimeLimitInSeconds(timeLimitInSeconds); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public PacketCaptureResultProperties withStorageLocation(PacketCaptureStorageLocation storageLocation) { - super.withStorageLocation(storageLocation); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public PacketCaptureResultProperties withFilters(List filters) { - super.withFilters(filters); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public PacketCaptureResultProperties withContinuousCapture(Boolean continuousCapture) { - super.withContinuousCapture(continuousCapture); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public PacketCaptureResultProperties withCaptureSettings(PacketCaptureSettings captureSettings) { - super.withCaptureSettings(captureSettings); - return this; - } - /** * Validates the instance. * @@ -232,7 +142,7 @@ public static PacketCaptureResultProperties fromJson(JsonReader jsonReader) thro .withCaptureSettings(PacketCaptureSettings.fromJson(reader)); } else if ("provisioningState".equals(fieldName)) { deserializedPacketCaptureResultProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java index 5c2be7cbb04b..2633f1057b4c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java @@ -1,47 +1,43 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CircuitConnectionStatus; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** * Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. */ -@Fluent -public final class PeerExpressRouteCircuitConnectionInner extends SubResource { +@Immutable +public final class PeerExpressRouteCircuitConnectionInner extends SubResourceModel { /* * Properties of the peer express route circuit connection. */ private PeerExpressRouteCircuitConnectionPropertiesFormat innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Type of the resource. + * Resource type. */ private String type; /** * Creates an instance of PeerExpressRouteCircuitConnectionInner class. */ - public PeerExpressRouteCircuitConnectionInner() { + private PeerExpressRouteCircuitConnectionInner() { } /** @@ -53,28 +49,6 @@ private PeerExpressRouteCircuitConnectionPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the PeerExpressRouteCircuitConnectionInner object itself. - */ - public PeerExpressRouteCircuitConnectionInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -85,23 +59,15 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } - /** - * {@inheritDoc} - */ - @Override - public PeerExpressRouteCircuitConnectionInner withId(String id) { - super.withId(id); - return this; - } - /** * Get the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the * circuit. @@ -112,22 +78,6 @@ public SubResource expressRouteCircuitPeering() { return this.innerProperties() == null ? null : this.innerProperties().expressRouteCircuitPeering(); } - /** - * Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the - * circuit. - * - * @param expressRouteCircuitPeering the expressRouteCircuitPeering value to set. - * @return the PeerExpressRouteCircuitConnectionInner object itself. - */ - public PeerExpressRouteCircuitConnectionInner - withExpressRouteCircuitPeering(SubResource expressRouteCircuitPeering) { - if (this.innerProperties() == null) { - this.innerProperties = new PeerExpressRouteCircuitConnectionPropertiesFormat(); - } - this.innerProperties().withExpressRouteCircuitPeering(expressRouteCircuitPeering); - return this; - } - /** * Get the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of * the peered circuit. @@ -138,22 +88,6 @@ public SubResource peerExpressRouteCircuitPeering() { return this.innerProperties() == null ? null : this.innerProperties().peerExpressRouteCircuitPeering(); } - /** - * Set the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of - * the peered circuit. - * - * @param peerExpressRouteCircuitPeering the peerExpressRouteCircuitPeering value to set. - * @return the PeerExpressRouteCircuitConnectionInner object itself. - */ - public PeerExpressRouteCircuitConnectionInner - withPeerExpressRouteCircuitPeering(SubResource peerExpressRouteCircuitPeering) { - if (this.innerProperties() == null) { - this.innerProperties = new PeerExpressRouteCircuitConnectionPropertiesFormat(); - } - this.innerProperties().withPeerExpressRouteCircuitPeering(peerExpressRouteCircuitPeering); - return this; - } - /** * Get the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels. * @@ -163,20 +97,6 @@ public String addressPrefix() { return this.innerProperties() == null ? null : this.innerProperties().addressPrefix(); } - /** - * Set the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels. - * - * @param addressPrefix the addressPrefix value to set. - * @return the PeerExpressRouteCircuitConnectionInner object itself. - */ - public PeerExpressRouteCircuitConnectionInner withAddressPrefix(String addressPrefix) { - if (this.innerProperties() == null) { - this.innerProperties = new PeerExpressRouteCircuitConnectionPropertiesFormat(); - } - this.innerProperties().withAddressPrefix(addressPrefix); - return this; - } - /** * Get the circuitConnectionStatus property: Express Route Circuit connection state. * @@ -195,20 +115,6 @@ public String connectionName() { return this.innerProperties() == null ? null : this.innerProperties().connectionName(); } - /** - * Set the connectionName property: The name of the express route circuit connection resource. - * - * @param connectionName the connectionName value to set. - * @return the PeerExpressRouteCircuitConnectionInner object itself. - */ - public PeerExpressRouteCircuitConnectionInner withConnectionName(String connectionName) { - if (this.innerProperties() == null) { - this.innerProperties = new PeerExpressRouteCircuitConnectionPropertiesFormat(); - } - this.innerProperties().withConnectionName(connectionName); - return this; - } - /** * Get the authResourceGuid property: The resource guid of the authorization used for the express route circuit * connection. @@ -219,27 +125,12 @@ public String authResourceGuid() { return this.innerProperties() == null ? null : this.innerProperties().authResourceGuid(); } - /** - * Set the authResourceGuid property: The resource guid of the authorization used for the express route circuit - * connection. - * - * @param authResourceGuid the authResourceGuid value to set. - * @return the PeerExpressRouteCircuitConnectionInner object itself. - */ - public PeerExpressRouteCircuitConnectionInner withAuthResourceGuid(String authResourceGuid) { - if (this.innerProperties() == null) { - this.innerProperties = new PeerExpressRouteCircuitConnectionPropertiesFormat(); - } - this.innerProperties().withAuthResourceGuid(authResourceGuid); - return this; - } - /** * Get the provisioningState property: The provisioning state of the peer express route circuit connection resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -248,6 +139,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -261,8 +153,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -284,15 +176,15 @@ public static PeerExpressRouteCircuitConnectionInner fromJson(JsonReader jsonRea if ("id".equals(fieldName)) { deserializedPeerExpressRouteCircuitConnectionInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedPeerExpressRouteCircuitConnectionInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedPeerExpressRouteCircuitConnectionInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedPeerExpressRouteCircuitConnectionInner.innerProperties = PeerExpressRouteCircuitConnectionPropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedPeerExpressRouteCircuitConnectionInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedPeerExpressRouteCircuitConnectionInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedPeerExpressRouteCircuitConnectionInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java index bd91a9f8285d..2b68c0677d80 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java @@ -1,23 +1,23 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CircuitConnectionStatus; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** * Properties of the peer express route circuit connection. */ -@Fluent +@Immutable public final class PeerExpressRouteCircuitConnectionPropertiesFormat implements JsonSerializable { /* @@ -53,12 +53,12 @@ public final class PeerExpressRouteCircuitConnectionPropertiesFormat /* * The provisioning state of the peer express route circuit connection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of PeerExpressRouteCircuitConnectionPropertiesFormat class. */ - public PeerExpressRouteCircuitConnectionPropertiesFormat() { + private PeerExpressRouteCircuitConnectionPropertiesFormat() { } /** @@ -71,19 +71,6 @@ public SubResource expressRouteCircuitPeering() { return this.expressRouteCircuitPeering; } - /** - * Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the - * circuit. - * - * @param expressRouteCircuitPeering the expressRouteCircuitPeering value to set. - * @return the PeerExpressRouteCircuitConnectionPropertiesFormat object itself. - */ - public PeerExpressRouteCircuitConnectionPropertiesFormat - withExpressRouteCircuitPeering(SubResource expressRouteCircuitPeering) { - this.expressRouteCircuitPeering = expressRouteCircuitPeering; - return this; - } - /** * Get the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of * the peered circuit. @@ -94,19 +81,6 @@ public SubResource peerExpressRouteCircuitPeering() { return this.peerExpressRouteCircuitPeering; } - /** - * Set the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of - * the peered circuit. - * - * @param peerExpressRouteCircuitPeering the peerExpressRouteCircuitPeering value to set. - * @return the PeerExpressRouteCircuitConnectionPropertiesFormat object itself. - */ - public PeerExpressRouteCircuitConnectionPropertiesFormat - withPeerExpressRouteCircuitPeering(SubResource peerExpressRouteCircuitPeering) { - this.peerExpressRouteCircuitPeering = peerExpressRouteCircuitPeering; - return this; - } - /** * Get the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels. * @@ -116,17 +90,6 @@ public String addressPrefix() { return this.addressPrefix; } - /** - * Set the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels. - * - * @param addressPrefix the addressPrefix value to set. - * @return the PeerExpressRouteCircuitConnectionPropertiesFormat object itself. - */ - public PeerExpressRouteCircuitConnectionPropertiesFormat withAddressPrefix(String addressPrefix) { - this.addressPrefix = addressPrefix; - return this; - } - /** * Get the circuitConnectionStatus property: Express Route Circuit connection state. * @@ -145,17 +108,6 @@ public String connectionName() { return this.connectionName; } - /** - * Set the connectionName property: The name of the express route circuit connection resource. - * - * @param connectionName the connectionName value to set. - * @return the PeerExpressRouteCircuitConnectionPropertiesFormat object itself. - */ - public PeerExpressRouteCircuitConnectionPropertiesFormat withConnectionName(String connectionName) { - this.connectionName = connectionName; - return this; - } - /** * Get the authResourceGuid property: The resource guid of the authorization used for the express route circuit * connection. @@ -166,24 +118,12 @@ public String authResourceGuid() { return this.authResourceGuid; } - /** - * Set the authResourceGuid property: The resource guid of the authorization used for the express route circuit - * connection. - * - * @param authResourceGuid the authResourceGuid value to set. - * @return the PeerExpressRouteCircuitConnectionPropertiesFormat object itself. - */ - public PeerExpressRouteCircuitConnectionPropertiesFormat withAuthResourceGuid(String authResourceGuid) { - this.authResourceGuid = authResourceGuid; - return this; - } - /** * Get the provisioningState property: The provisioning state of the peer express route circuit connection resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -242,7 +182,7 @@ public static PeerExpressRouteCircuitConnectionPropertiesFormat fromJson(JsonRea deserializedPeerExpressRouteCircuitConnectionPropertiesFormat.authResourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedPeerExpressRouteCircuitConnectionPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java index 84e5a0acd680..ced9586bbfb9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Resource that is onboarded to use network security perimeter. Also referred as perimeter associable resource. */ -@Fluent +@Immutable public final class PerimeterAssociableResourceInner implements JsonSerializable { /* * Properties of the perimeter associable resource. @@ -40,7 +40,7 @@ public final class PerimeterAssociableResourceInner implements JsonSerializable< /** * Creates an instance of PerimeterAssociableResourceInner class. */ - public PerimeterAssociableResourceInner() { + private PerimeterAssociableResourceInner() { } /** @@ -62,18 +62,6 @@ public String name() { return this.name; } - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the PerimeterAssociableResourceInner object itself. - */ - public PerimeterAssociableResourceInner withName(String name) { - this.name = name; - return this; - } - /** * Get the id property: Identifier of the perimeter associable resource. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java index 22a586d24282..3f3420e6d8c1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -36,7 +36,7 @@ public final class PerimeterAssociableResourceProperties /** * Creates an instance of PerimeterAssociableResourceProperties class. */ - public PerimeterAssociableResourceProperties() { + private PerimeterAssociableResourceProperties() { } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java index d59206d80f97..97816032366b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; @@ -18,7 +18,7 @@ /** * IpamPool association information. */ -@Fluent +@Immutable public final class PoolAssociationInner implements JsonSerializable { /* * Resource id of the associated Azure resource. @@ -48,12 +48,12 @@ public final class PoolAssociationInner implements JsonSerializable reservedPrefixes() { } /** - * Get the totalNumberOfIpAddresses property: Total number of assigned IP addresses of the association. + * Get the totalNumberOfIPAddresses property: Total number of assigned IP addresses of the association. * - * @return the totalNumberOfIpAddresses value. + * @return the totalNumberOfIPAddresses value. */ - public String totalNumberOfIpAddresses() { - return this.totalNumberOfIpAddresses; + public String totalNumberOfIPAddresses() { + return this.totalNumberOfIPAddresses; } /** - * Get the numberOfReservedIpAddresses property: Total number of reserved IP addresses of the association. + * Get the numberOfReservedIPAddresses property: Total number of reserved IP addresses of the association. * - * @return the numberOfReservedIpAddresses value. + * @return the numberOfReservedIPAddresses value. */ - public String numberOfReservedIpAddresses() { - return this.numberOfReservedIpAddresses; + public String numberOfReservedIPAddresses() { + return this.numberOfReservedIPAddresses; } /** @@ -243,9 +210,9 @@ public static PoolAssociationInner fromJson(JsonReader jsonReader) throws IOExce List reservedPrefixes = reader.readArray(reader1 -> reader1.getString()); deserializedPoolAssociationInner.reservedPrefixes = reservedPrefixes; } else if ("totalNumberOfIPAddresses".equals(fieldName)) { - deserializedPoolAssociationInner.totalNumberOfIpAddresses = reader.getString(); + deserializedPoolAssociationInner.totalNumberOfIPAddresses = reader.getString(); } else if ("numberOfReservedIPAddresses".equals(fieldName)) { - deserializedPoolAssociationInner.numberOfReservedIpAddresses = reader.getString(); + deserializedPoolAssociationInner.numberOfReservedIPAddresses = reader.getString(); } else if ("createdAt".equals(fieldName)) { deserializedPoolAssociationInner.createdAt = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java index 2875d14c1b02..6dda5c30fcbb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -46,27 +46,27 @@ public final class PoolUsageInner implements JsonSerializable { /* * Total number of IP addresses managed in the IpamPool. */ - private String totalNumberOfIpAddresses; + private String totalNumberOfIPAddresses; /* * Total number of assigned IP addresses in the IpamPool. */ - private String numberOfAllocatedIpAddresses; + private String numberOfAllocatedIPAddresses; /* * Total number of reserved IP addresses in the IpamPool. */ - private String numberOfReservedIpAddresses; + private String numberOfReservedIPAddresses; /* * Total number of available IP addresses in the IpamPool. */ - private String numberOfAvailableIpAddresses; + private String numberOfAvailableIPAddresses; /** * Creates an instance of PoolUsageInner class. */ - public PoolUsageInner() { + private PoolUsageInner() { } /** @@ -116,39 +116,39 @@ public List availableAddressPrefixes() { } /** - * Get the totalNumberOfIpAddresses property: Total number of IP addresses managed in the IpamPool. + * Get the totalNumberOfIPAddresses property: Total number of IP addresses managed in the IpamPool. * - * @return the totalNumberOfIpAddresses value. + * @return the totalNumberOfIPAddresses value. */ - public String totalNumberOfIpAddresses() { - return this.totalNumberOfIpAddresses; + public String totalNumberOfIPAddresses() { + return this.totalNumberOfIPAddresses; } /** - * Get the numberOfAllocatedIpAddresses property: Total number of assigned IP addresses in the IpamPool. + * Get the numberOfAllocatedIPAddresses property: Total number of assigned IP addresses in the IpamPool. * - * @return the numberOfAllocatedIpAddresses value. + * @return the numberOfAllocatedIPAddresses value. */ - public String numberOfAllocatedIpAddresses() { - return this.numberOfAllocatedIpAddresses; + public String numberOfAllocatedIPAddresses() { + return this.numberOfAllocatedIPAddresses; } /** - * Get the numberOfReservedIpAddresses property: Total number of reserved IP addresses in the IpamPool. + * Get the numberOfReservedIPAddresses property: Total number of reserved IP addresses in the IpamPool. * - * @return the numberOfReservedIpAddresses value. + * @return the numberOfReservedIPAddresses value. */ - public String numberOfReservedIpAddresses() { - return this.numberOfReservedIpAddresses; + public String numberOfReservedIPAddresses() { + return this.numberOfReservedIPAddresses; } /** - * Get the numberOfAvailableIpAddresses property: Total number of available IP addresses in the IpamPool. + * Get the numberOfAvailableIPAddresses property: Total number of available IP addresses in the IpamPool. * - * @return the numberOfAvailableIpAddresses value. + * @return the numberOfAvailableIPAddresses value. */ - public String numberOfAvailableIpAddresses() { - return this.numberOfAvailableIpAddresses; + public String numberOfAvailableIPAddresses() { + return this.numberOfAvailableIPAddresses; } /** @@ -202,13 +202,13 @@ public static PoolUsageInner fromJson(JsonReader jsonReader) throws IOException List availableAddressPrefixes = reader.readArray(reader1 -> reader1.getString()); deserializedPoolUsageInner.availableAddressPrefixes = availableAddressPrefixes; } else if ("totalNumberOfIPAddresses".equals(fieldName)) { - deserializedPoolUsageInner.totalNumberOfIpAddresses = reader.getString(); + deserializedPoolUsageInner.totalNumberOfIPAddresses = reader.getString(); } else if ("numberOfAllocatedIPAddresses".equals(fieldName)) { - deserializedPoolUsageInner.numberOfAllocatedIpAddresses = reader.getString(); + deserializedPoolUsageInner.numberOfAllocatedIPAddresses = reader.getString(); } else if ("numberOfReservedIPAddresses".equals(fieldName)) { - deserializedPoolUsageInner.numberOfReservedIpAddresses = reader.getString(); + deserializedPoolUsageInner.numberOfReservedIPAddresses = reader.getString(); } else if ("numberOfAvailableIPAddresses".equals(fieldName)) { - deserializedPoolUsageInner.numberOfAvailableIpAddresses = reader.getString(); + deserializedPoolUsageInner.numberOfAvailableIPAddresses = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java index 70fcf3c251df..bc7fabee96df 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,8 +9,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateDnsZoneConfig; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -94,7 +94,7 @@ public PrivateDnsZoneGroupInner withId(String id) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java index e826ad3069b5..1ce2393764ed 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,8 +9,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateDnsZoneConfig; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -23,7 +23,7 @@ public final class PrivateDnsZoneGroupPropertiesFormat /* * The provisioning state of the private dns zone group resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * A collection of private dns zone configurations of the private dns zone group. @@ -41,7 +41,7 @@ public PrivateDnsZoneGroupPropertiesFormat() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -108,7 +108,7 @@ public static PrivateDnsZoneGroupPropertiesFormat fromJson(JsonReader jsonReader if ("provisioningState".equals(fieldName)) { deserializedPrivateDnsZoneGroupPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("privateDnsZoneConfigs".equals(fieldName)) { List privateDnsZoneConfigs = reader.readArray(reader1 -> PrivateDnsZoneConfig.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java index d33db860a15c..49e56d6e8335 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java index 27216cb2d59c..c8d98f693de5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java @@ -1,43 +1,38 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** * PrivateEndpointConnection resource. */ @Fluent -public final class PrivateEndpointConnectionInner extends SubResource { +public final class PrivateEndpointConnectionInner extends SubResourceModel { /* * Properties of the private end point connection. */ private PrivateEndpointConnectionPropertiesInner innerProperties; /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. + * A unique read-only string that changes whenever the resource is updated. */ - private String name; + private String etag; /* - * The resource type. + * Resource type. */ private String type; - /* - * A unique read-only string that changes whenever the resource is updated. - */ - private String etag; - /** * Creates an instance of PrivateEndpointConnectionInner class. */ @@ -54,51 +49,39 @@ private PrivateEndpointConnectionPropertiesInner innerProperties() { } /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * Get the etag property: A unique read-only string that changes whenever the resource is updated. * - * @param name the name value to set. - * @return the PrivateEndpointConnectionInner object itself. + * @return the etag value. */ - public PrivateEndpointConnectionInner withName(String name) { - this.name = name; - return this; + public String etag() { + return this.etag; } /** - * Get the type property: The resource type. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } /** - * Get the etag property: A unique read-only string that changes whenever the resource is updated. - * - * @return the etag value. + * {@inheritDoc} */ - public String etag() { - return this.etag; + @Override + public PrivateEndpointConnectionInner withId(String id) { + super.withId(id); + return this; } /** * {@inheritDoc} */ @Override - public PrivateEndpointConnectionInner withId(String id) { - super.withId(id); + public PrivateEndpointConnectionInner withName(String name) { + super.withName(name); return this; } @@ -142,7 +125,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -169,6 +152,7 @@ public String privateEndpointLocation() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -182,8 +166,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -205,13 +189,13 @@ public static PrivateEndpointConnectionInner fromJson(JsonReader jsonReader) thr if ("id".equals(fieldName)) { deserializedPrivateEndpointConnectionInner.withId(reader.getString()); - } else if ("properties".equals(fieldName)) { - deserializedPrivateEndpointConnectionInner.innerProperties - = PrivateEndpointConnectionPropertiesInner.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedPrivateEndpointConnectionInner.name = reader.getString(); + deserializedPrivateEndpointConnectionInner.withName(reader.getString()); } else if ("type".equals(fieldName)) { deserializedPrivateEndpointConnectionInner.type = reader.getString(); + } else if ("properties".equals(fieldName)) { + deserializedPrivateEndpointConnectionInner.innerProperties + = PrivateEndpointConnectionPropertiesInner.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedPrivateEndpointConnectionInner.etag = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java index 549320230d00..a9daed5cf1ee 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,8 +9,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -32,7 +32,7 @@ public final class PrivateEndpointConnectionPropertiesInner /* * The provisioning state of the private endpoint connection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The consumer link id. @@ -87,7 +87,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -157,7 +157,7 @@ public static PrivateEndpointConnectionPropertiesInner fromJson(JsonReader jsonR = PrivateLinkServiceConnectionState.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedPrivateEndpointConnectionPropertiesInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("linkIdentifier".equals(fieldName)) { deserializedPrivateEndpointConnectionPropertiesInner.linkIdentifier = reader.getString(); } else if ("privateEndpointLocation".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java index 2b0ea475330b..5736d38fa2d9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,10 +11,10 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CustomDnsConfigPropertiesFormat; import com.azure.resourcemanager.network.models.ExtendedLocation; -import com.azure.resourcemanager.network.models.PrivateEndpointIpConfiguration; -import com.azure.resourcemanager.network.models.PrivateEndpointIpVersionType; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.PrivateEndpointIPConfiguration; +import com.azure.resourcemanager.network.models.PrivateEndpointIPVersionType; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnection; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -25,14 +25,14 @@ @Fluent public final class PrivateEndpointInner extends Resource { /* - * The extended location of the load balancer. + * Properties of the private endpoint. */ - private ExtendedLocation extendedLocation; + private PrivateEndpointPropertiesInner innerProperties; /* - * Properties of the private endpoint. + * The extended location of the load balancer. */ - private PrivateEndpointPropertiesInner innerProperties; + private ExtendedLocation extendedLocation; /* * A unique read-only string that changes whenever the resource is updated. @@ -60,6 +60,15 @@ public final class PrivateEndpointInner extends Resource { public PrivateEndpointInner() { } + /** + * Get the innerProperties property: Properties of the private endpoint. + * + * @return the innerProperties value. + */ + private PrivateEndpointPropertiesInner innerProperties() { + return this.innerProperties; + } + /** * Get the extendedLocation property: The extended location of the load balancer. * @@ -80,15 +89,6 @@ public PrivateEndpointInner withExtendedLocation(ExtendedLocation extendedLocati return this; } - /** - * Get the innerProperties property: Properties of the private endpoint. - * - * @return the innerProperties value. - */ - private PrivateEndpointPropertiesInner innerProperties() { - return this.innerProperties; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -194,7 +194,7 @@ public List networkInterfaces() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -204,7 +204,7 @@ public ProvisioningState provisioningState() { * * @return the ipVersionType value. */ - public PrivateEndpointIpVersionType ipVersionType() { + public PrivateEndpointIPVersionType ipVersionType() { return this.innerProperties() == null ? null : this.innerProperties().ipVersionType(); } @@ -215,7 +215,7 @@ public PrivateEndpointIpVersionType ipVersionType() { * @param ipVersionType the ipVersionType value to set. * @return the PrivateEndpointInner object itself. */ - public PrivateEndpointInner withIpVersionType(PrivateEndpointIpVersionType ipVersionType) { + public PrivateEndpointInner withIpVersionType(PrivateEndpointIPVersionType ipVersionType) { if (this.innerProperties() == null) { this.innerProperties = new PrivateEndpointPropertiesInner(); } @@ -330,7 +330,7 @@ public List applicationSecurityGroups() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.innerProperties() == null ? null : this.innerProperties().ipConfigurations(); } @@ -341,7 +341,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the PrivateEndpointInner object itself. */ - public PrivateEndpointInner withIpConfigurations(List ipConfigurations) { + public PrivateEndpointInner withIpConfigurations(List ipConfigurations) { if (this.innerProperties() == null) { this.innerProperties = new PrivateEndpointPropertiesInner(); } @@ -380,12 +380,12 @@ public PrivateEndpointInner withCustomNetworkInterfaceName(String customNetworkI * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (extendedLocation() != null) { - extendedLocation().validate(); - } if (innerProperties() != null) { innerProperties().validate(); } + if (extendedLocation() != null) { + extendedLocation().validate(); + } } /** @@ -396,8 +396,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); - jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -427,10 +427,10 @@ public static PrivateEndpointInner fromJson(JsonReader jsonReader) throws IOExce } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedPrivateEndpointInner.withTags(tags); - } else if ("extendedLocation".equals(fieldName)) { - deserializedPrivateEndpointInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedPrivateEndpointInner.innerProperties = PrivateEndpointPropertiesInner.fromJson(reader); + } else if ("extendedLocation".equals(fieldName)) { + deserializedPrivateEndpointInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedPrivateEndpointInner.etag = reader.getString(); } else if ("id".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java index 7b37c2c71c5e..ab98d05d75b0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,8 +15,8 @@ * Properties of an IP Configuration of the private endpoint. */ @Fluent -public final class PrivateEndpointIpConfigurationProperties - implements JsonSerializable { +public final class PrivateEndpointIPConfigurationProperties + implements JsonSerializable { /* * The ID of a group obtained from the remote resource that this private endpoint should connect to. */ @@ -33,9 +33,9 @@ public final class PrivateEndpointIpConfigurationProperties private String privateIpAddress; /** - * Creates an instance of PrivateEndpointIpConfigurationProperties class. + * Creates an instance of PrivateEndpointIPConfigurationProperties class. */ - public PrivateEndpointIpConfigurationProperties() { + public PrivateEndpointIPConfigurationProperties() { } /** @@ -53,9 +53,9 @@ public String groupId() { * connect to. * * @param groupId the groupId value to set. - * @return the PrivateEndpointIpConfigurationProperties object itself. + * @return the PrivateEndpointIPConfigurationProperties object itself. */ - public PrivateEndpointIpConfigurationProperties withGroupId(String groupId) { + public PrivateEndpointIPConfigurationProperties withGroupId(String groupId) { this.groupId = groupId; return this; } @@ -75,9 +75,9 @@ public String memberName() { * endpoint should connect to. * * @param memberName the memberName value to set. - * @return the PrivateEndpointIpConfigurationProperties object itself. + * @return the PrivateEndpointIPConfigurationProperties object itself. */ - public PrivateEndpointIpConfigurationProperties withMemberName(String memberName) { + public PrivateEndpointIPConfigurationProperties withMemberName(String memberName) { this.memberName = memberName; return this; } @@ -95,9 +95,9 @@ public String privateIpAddress() { * Set the privateIpAddress property: A private ip address obtained from the private endpoint's subnet. * * @param privateIpAddress the privateIpAddress value to set. - * @return the PrivateEndpointIpConfigurationProperties object itself. + * @return the PrivateEndpointIPConfigurationProperties object itself. */ - public PrivateEndpointIpConfigurationProperties withPrivateIpAddress(String privateIpAddress) { + public PrivateEndpointIPConfigurationProperties withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -123,33 +123,33 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of PrivateEndpointIpConfigurationProperties from the JsonReader. + * Reads an instance of PrivateEndpointIPConfigurationProperties from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of PrivateEndpointIpConfigurationProperties if the JsonReader was pointing to an instance of + * @return An instance of PrivateEndpointIPConfigurationProperties 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 PrivateEndpointIpConfigurationProperties. + * @throws IOException If an error occurs while reading the PrivateEndpointIPConfigurationProperties. */ - public static PrivateEndpointIpConfigurationProperties fromJson(JsonReader jsonReader) throws IOException { + public static PrivateEndpointIPConfigurationProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - PrivateEndpointIpConfigurationProperties deserializedPrivateEndpointIpConfigurationProperties - = new PrivateEndpointIpConfigurationProperties(); + PrivateEndpointIPConfigurationProperties deserializedPrivateEndpointIPConfigurationProperties + = new PrivateEndpointIPConfigurationProperties(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("groupId".equals(fieldName)) { - deserializedPrivateEndpointIpConfigurationProperties.groupId = reader.getString(); + deserializedPrivateEndpointIPConfigurationProperties.groupId = reader.getString(); } else if ("memberName".equals(fieldName)) { - deserializedPrivateEndpointIpConfigurationProperties.memberName = reader.getString(); + deserializedPrivateEndpointIPConfigurationProperties.memberName = reader.getString(); } else if ("privateIPAddress".equals(fieldName)) { - deserializedPrivateEndpointIpConfigurationProperties.privateIpAddress = reader.getString(); + deserializedPrivateEndpointIPConfigurationProperties.privateIpAddress = reader.getString(); } else { reader.skipChildren(); } } - return deserializedPrivateEndpointIpConfigurationProperties; + return deserializedPrivateEndpointIPConfigurationProperties; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java index 6ff3df95bab3..edb74f4fbc66 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,10 +10,10 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CustomDnsConfigPropertiesFormat; -import com.azure.resourcemanager.network.models.PrivateEndpointIpConfiguration; -import com.azure.resourcemanager.network.models.PrivateEndpointIpVersionType; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.PrivateEndpointIPConfiguration; +import com.azure.resourcemanager.network.models.PrivateEndpointIPVersionType; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnection; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -35,12 +35,12 @@ public final class PrivateEndpointPropertiesInner implements JsonSerializable ipConfigurations; + private List ipConfigurations; /* * The custom name of the network interface attached to the private endpoint. @@ -115,7 +115,7 @@ public List networkInterfaces() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -125,7 +125,7 @@ public ProvisioningState provisioningState() { * * @return the ipVersionType value. */ - public PrivateEndpointIpVersionType ipVersionType() { + public PrivateEndpointIPVersionType ipVersionType() { return this.ipVersionType; } @@ -136,7 +136,7 @@ public PrivateEndpointIpVersionType ipVersionType() { * @param ipVersionType the ipVersionType value to set. * @return the PrivateEndpointPropertiesInner object itself. */ - public PrivateEndpointPropertiesInner withIpVersionType(PrivateEndpointIpVersionType ipVersionType) { + public PrivateEndpointPropertiesInner withIpVersionType(PrivateEndpointIPVersionType ipVersionType) { this.ipVersionType = ipVersionType; return this; } @@ -236,7 +236,7 @@ public List applicationSecurityGroups() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.ipConfigurations; } @@ -247,7 +247,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the PrivateEndpointPropertiesInner object itself. */ - public PrivateEndpointPropertiesInner withIpConfigurations(List ipConfigurations) { + public PrivateEndpointPropertiesInner withIpConfigurations(List ipConfigurations) { this.ipConfigurations = ipConfigurations; return this; } @@ -349,10 +349,10 @@ public static PrivateEndpointPropertiesInner fromJson(JsonReader jsonReader) thr deserializedPrivateEndpointPropertiesInner.networkInterfaces = networkInterfaces; } else if ("provisioningState".equals(fieldName)) { deserializedPrivateEndpointPropertiesInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("ipVersionType".equals(fieldName)) { deserializedPrivateEndpointPropertiesInner.ipVersionType - = PrivateEndpointIpVersionType.fromString(reader.getString()); + = PrivateEndpointIPVersionType.fromString(reader.getString()); } else if ("privateLinkServiceConnections".equals(fieldName)) { List privateLinkServiceConnections = reader.readArray(reader1 -> PrivateLinkServiceConnection.fromJson(reader1)); @@ -372,8 +372,8 @@ public static PrivateEndpointPropertiesInner fromJson(JsonReader jsonReader) thr = reader.readArray(reader1 -> ApplicationSecurityGroupInner.fromJson(reader1)); deserializedPrivateEndpointPropertiesInner.applicationSecurityGroups = applicationSecurityGroups; } else if ("ipConfigurations".equals(fieldName)) { - List ipConfigurations - = reader.readArray(reader1 -> PrivateEndpointIpConfiguration.fromJson(reader1)); + List ipConfigurations + = reader.readArray(reader1 -> PrivateEndpointIPConfiguration.fromJson(reader1)); deserializedPrivateEndpointPropertiesInner.ipConfigurations = ipConfigurations; } else if ("customNetworkInterfaceName".equals(fieldName)) { deserializedPrivateEndpointPropertiesInner.customNetworkInterfaceName = reader.getString(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java index 67a4fb68d951..234074de7a2d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,8 +9,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -23,7 +23,7 @@ public final class PrivateLinkServiceConnectionProperties /* * The provisioning state of the private link service connection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The resource id of private link service. @@ -56,7 +56,7 @@ public PrivateLinkServiceConnectionProperties() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -189,7 +189,7 @@ public static PrivateLinkServiceConnectionProperties fromJson(JsonReader jsonRea if ("provisioningState".equals(fieldName)) { deserializedPrivateLinkServiceConnectionProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("privateLinkServiceId".equals(fieldName)) { deserializedPrivateLinkServiceConnectionProperties.privateLinkServiceId = reader.getString(); } else if ("groupIds".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java index 55c404465d12..b8be8b00bb03 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,9 +11,9 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AccessMode; import com.azure.resourcemanager.network.models.ExtendedLocation; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesAutoApproval; import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesVisibility; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -24,14 +24,14 @@ @Fluent public final class PrivateLinkServiceInner extends Resource { /* - * The extended location of the load balancer. + * Properties of the private link service. */ - private ExtendedLocation extendedLocation; + private PrivateLinkServiceProperties innerProperties; /* - * Properties of the private link service. + * The extended location of the load balancer. */ - private PrivateLinkServiceProperties innerProperties; + private ExtendedLocation extendedLocation; /* * A unique read-only string that changes whenever the resource is updated. @@ -59,6 +59,15 @@ public final class PrivateLinkServiceInner extends Resource { public PrivateLinkServiceInner() { } + /** + * Get the innerProperties property: Properties of the private link service. + * + * @return the innerProperties value. + */ + private PrivateLinkServiceProperties innerProperties() { + return this.innerProperties; + } + /** * Get the extendedLocation property: The extended location of the load balancer. * @@ -79,15 +88,6 @@ public PrivateLinkServiceInner withExtendedLocation(ExtendedLocation extendedLoc return this; } - /** - * Get the innerProperties property: Properties of the private link service. - * - * @return the innerProperties value. - */ - private PrivateLinkServiceProperties innerProperties() { - return this.innerProperties; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -265,7 +265,7 @@ public List networkInterfaces() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -385,12 +385,12 @@ public PrivateLinkServiceInner withEnableProxyProtocol(Boolean enableProxyProtoc * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (extendedLocation() != null) { - extendedLocation().validate(); - } if (innerProperties() != null) { innerProperties().validate(); } + if (extendedLocation() != null) { + extendedLocation().validate(); + } } /** @@ -401,8 +401,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); - jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -432,10 +432,10 @@ public static PrivateLinkServiceInner fromJson(JsonReader jsonReader) throws IOE } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedPrivateLinkServiceInner.withTags(tags); - } else if ("extendedLocation".equals(fieldName)) { - deserializedPrivateLinkServiceInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedPrivateLinkServiceInner.innerProperties = PrivateLinkServiceProperties.fromJson(reader); + } else if ("extendedLocation".equals(fieldName)) { + deserializedPrivateLinkServiceInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedPrivateLinkServiceInner.etag = reader.getString(); } else if ("id".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java index df80c889940c..373b096465c7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -199,7 +199,7 @@ public PrivateLinkServiceIpConfigurationInner withPrimary(Boolean primary) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java index 85f8c2906777..4a79a042bd10 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -43,7 +43,7 @@ public final class PrivateLinkServiceIpConfigurationPropertiesInner /* * The provisioning state of the private link service IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. @@ -142,7 +142,7 @@ public PrivateLinkServiceIpConfigurationPropertiesInner withPrimary(Boolean prim * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -222,7 +222,7 @@ public static PrivateLinkServiceIpConfigurationPropertiesInner fromJson(JsonRead = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedPrivateLinkServiceIpConfigurationPropertiesInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("privateIPAddressVersion".equals(fieldName)) { deserializedPrivateLinkServiceIpConfigurationPropertiesInner.privateIpAddressVersion = IpVersion.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java index 42f4cfb3a19d..9fdaa8ea4b34 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,9 +10,9 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AccessMode; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesAutoApproval; import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesVisibility; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -49,7 +49,7 @@ public final class PrivateLinkServiceProperties implements JsonSerializable networkInterfaces() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -367,7 +367,7 @@ public static PrivateLinkServiceProperties fromJson(JsonReader jsonReader) throw deserializedPrivateLinkServiceProperties.networkInterfaces = networkInterfaces; } else if ("provisioningState".equals(fieldName)) { deserializedPrivateLinkServiceProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("privateEndpointConnections".equals(fieldName)) { List privateEndpointConnections = reader.readArray(reader1 -> PrivateEndpointConnectionInner.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java index 401d6aa40fa3..da72d867ae48 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Response for the CheckPrivateLinkServiceVisibility API service call. */ -@Fluent +@Immutable public final class PrivateLinkServiceVisibilityInner implements JsonSerializable { /* * Private Link Service Visibility (True/False). @@ -24,7 +24,7 @@ public final class PrivateLinkServiceVisibilityInner implements JsonSerializable /** * Creates an instance of PrivateLinkServiceVisibilityInner class. */ - public PrivateLinkServiceVisibilityInner() { + private PrivateLinkServiceVisibilityInner() { } /** @@ -36,17 +36,6 @@ public Boolean visible() { return this.visible; } - /** - * Set the visible property: Private Link Service Visibility (True/False). - * - * @param visible the visible value to set. - * @return the PrivateLinkServiceVisibilityInner object itself. - */ - public PrivateLinkServiceVisibilityInner withVisible(Boolean visible) { - this.visible = visible; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java index a2e0380e168c..85b96082e27f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,9 +9,10 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ProbeNoHealthyBackendsBehavior; import com.azure.resourcemanager.network.models.ProbeProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -19,25 +20,19 @@ * A load balancer probe. */ @Fluent -public final class ProbeInner extends SubResource { +public final class ProbeInner extends SubResourceModel { /* * Properties of load balancer probe. */ private ProbePropertiesFormat innerProperties; - /* - * The name of the resource that is unique within the set of probes used by the load balancer. This name can be used - * to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Type of the resource. + * Resource type. */ private String type; @@ -56,28 +51,6 @@ private ProbePropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within the set of probes used by the load - * balancer. This name can be used to access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within the set of probes used by the load - * balancer. This name can be used to access the resource. - * - * @param name the name value to set. - * @return the ProbeInner object itself. - */ - public ProbeInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -88,10 +61,11 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -105,6 +79,15 @@ public ProbeInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public ProbeInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the loadBalancingRules property: The load balancer rules that use this probe. * @@ -302,7 +285,7 @@ public ProbeInner withRequestPath(String requestPath) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -311,6 +294,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -324,8 +308,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -346,14 +330,14 @@ public static ProbeInner fromJson(JsonReader jsonReader) throws IOException { if ("id".equals(fieldName)) { deserializedProbeInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedProbeInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedProbeInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedProbeInner.innerProperties = ProbePropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedProbeInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedProbeInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedProbeInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java index 5f85790f6bb4..9ff865473ef6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,9 +11,9 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ProbeNoHealthyBackendsBehavior; import com.azure.resourcemanager.network.models.ProbeProtocol; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -74,7 +74,7 @@ public final class ProbePropertiesFormat implements JsonSerializable ipTags() { */ public PublicIpAddressInner withIpTags(List ipTags) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpAddressPropertiesFormatInner(); + this.innerProperties = new PublicIPAddressPropertiesFormatInner(); } this.innerProperties().withIpTags(ipTags); return this; @@ -354,32 +354,32 @@ public String ipAddress() { */ public PublicIpAddressInner withIpAddress(String ipAddress) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpAddressPropertiesFormatInner(); + this.innerProperties = new PublicIPAddressPropertiesFormatInner(); } this.innerProperties().withIpAddress(ipAddress); return this; } /** - * Get the publicIpPrefix property: The Public IP Prefix this Public IP Address should be allocated from. + * Get the publicIPPrefix property: The Public IP Prefix this Public IP Address should be allocated from. * - * @return the publicIpPrefix value. + * @return the publicIPPrefix value. */ - public SubResource publicIpPrefix() { - return this.innerProperties() == null ? null : this.innerProperties().publicIpPrefix(); + public SubResource publicIPPrefix() { + return this.innerProperties() == null ? null : this.innerProperties().publicIPPrefix(); } /** - * Set the publicIpPrefix property: The Public IP Prefix this Public IP Address should be allocated from. + * Set the publicIPPrefix property: The Public IP Prefix this Public IP Address should be allocated from. * - * @param publicIpPrefix the publicIpPrefix value to set. + * @param publicIPPrefix the publicIPPrefix value to set. * @return the PublicIpAddressInner object itself. */ - public PublicIpAddressInner withPublicIpPrefix(SubResource publicIpPrefix) { + public PublicIpAddressInner withPublicIPPrefix(SubResource publicIPPrefix) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpAddressPropertiesFormatInner(); + this.innerProperties = new PublicIPAddressPropertiesFormatInner(); } - this.innerProperties().withPublicIpPrefix(publicIpPrefix); + this.innerProperties().withPublicIPPrefix(publicIPPrefix); return this; } @@ -400,7 +400,7 @@ public Integer idleTimeoutInMinutes() { */ public PublicIpAddressInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpAddressPropertiesFormatInner(); + this.innerProperties = new PublicIPAddressPropertiesFormatInner(); } this.innerProperties().withIdleTimeoutInMinutes(idleTimeoutInMinutes); return this; @@ -420,7 +420,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -441,7 +441,7 @@ public PublicIpAddressInner servicePublicIpAddress() { */ public PublicIpAddressInner withServicePublicIpAddress(PublicIpAddressInner servicePublicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpAddressPropertiesFormatInner(); + this.innerProperties = new PublicIPAddressPropertiesFormatInner(); } this.innerProperties().withServicePublicIpAddress(servicePublicIpAddress); return this; @@ -464,7 +464,7 @@ public NatGatewayInner natGateway() { */ public PublicIpAddressInner withNatGateway(NatGatewayInner natGateway) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpAddressPropertiesFormatInner(); + this.innerProperties = new PublicIPAddressPropertiesFormatInner(); } this.innerProperties().withNatGateway(natGateway); return this; @@ -475,7 +475,7 @@ public PublicIpAddressInner withNatGateway(NatGatewayInner natGateway) { * * @return the migrationPhase value. */ - public PublicIpAddressMigrationPhase migrationPhase() { + public PublicIPAddressMigrationPhase migrationPhase() { return this.innerProperties() == null ? null : this.innerProperties().migrationPhase(); } @@ -485,9 +485,9 @@ public PublicIpAddressMigrationPhase migrationPhase() { * @param migrationPhase the migrationPhase value to set. * @return the PublicIpAddressInner object itself. */ - public PublicIpAddressInner withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase) { + public PublicIpAddressInner withMigrationPhase(PublicIPAddressMigrationPhase migrationPhase) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpAddressPropertiesFormatInner(); + this.innerProperties = new PublicIPAddressPropertiesFormatInner(); } this.innerProperties().withMigrationPhase(migrationPhase); return this; @@ -510,7 +510,7 @@ public PublicIpAddressInner linkedPublicIpAddress() { */ public PublicIpAddressInner withLinkedPublicIpAddress(PublicIpAddressInner linkedPublicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpAddressPropertiesFormatInner(); + this.innerProperties = new PublicIPAddressPropertiesFormatInner(); } this.innerProperties().withLinkedPublicIpAddress(linkedPublicIpAddress); return this; @@ -533,7 +533,7 @@ public DeleteOptions deleteOption() { */ public PublicIpAddressInner withDeleteOption(DeleteOptions deleteOption) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpAddressPropertiesFormatInner(); + this.innerProperties = new PublicIPAddressPropertiesFormatInner(); } this.innerProperties().withDeleteOption(deleteOption); return this; @@ -545,15 +545,15 @@ public PublicIpAddressInner withDeleteOption(DeleteOptions deleteOption) { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { + if (innerProperties() != null) { + innerProperties().validate(); + } if (extendedLocation() != null) { extendedLocation().validate(); } if (sku() != null) { sku().validate(); } - if (innerProperties() != null) { - innerProperties().validate(); - } } /** @@ -564,9 +564,9 @@ 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.innerProperties); jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeJsonField("sku", this.sku); - jsonWriter.writeJsonField("properties", this.innerProperties); jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element)); jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); @@ -597,13 +597,13 @@ public static PublicIpAddressInner fromJson(JsonReader jsonReader) throws IOExce } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedPublicIpAddressInner.withTags(tags); + } else if ("properties".equals(fieldName)) { + deserializedPublicIpAddressInner.innerProperties + = PublicIPAddressPropertiesFormatInner.fromJson(reader); } else if ("extendedLocation".equals(fieldName)) { deserializedPublicIpAddressInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("sku".equals(fieldName)) { deserializedPublicIpAddressInner.sku = PublicIpAddressSku.fromJson(reader); - } else if ("properties".equals(fieldName)) { - deserializedPublicIpAddressInner.innerProperties - = PublicIpAddressPropertiesFormatInner.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedPublicIpAddressInner.etag = reader.getString(); } else if ("zones".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java index 128fc9f6cc95..24394e3c54ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,9 +15,9 @@ import com.azure.resourcemanager.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpTag; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.PublicIPAddressMigrationPhase; import com.azure.resourcemanager.network.models.PublicIpAddressDnsSettings; -import com.azure.resourcemanager.network.models.PublicIpAddressMigrationPhase; import java.io.IOException; import java.util.List; @@ -25,8 +25,8 @@ * Public IP address properties. */ @Fluent -public final class PublicIpAddressPropertiesFormatInner - implements JsonSerializable { +public final class PublicIPAddressPropertiesFormatInner + implements JsonSerializable { /* * The public IP address allocation method. */ @@ -65,7 +65,7 @@ public final class PublicIpAddressPropertiesFormatInner /* * The Public IP Prefix this Public IP Address should be allocated from. */ - private SubResource publicIpPrefix; + private SubResource publicIPPrefix; /* * The idle timeout of the public IP address. @@ -80,7 +80,7 @@ public final class PublicIpAddressPropertiesFormatInner /* * The provisioning state of the public IP address resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The service public IP address of the public IP address resource. @@ -95,7 +95,7 @@ public final class PublicIpAddressPropertiesFormatInner /* * Migration phase of Public IP Address. */ - private PublicIpAddressMigrationPhase migrationPhase; + private PublicIPAddressMigrationPhase migrationPhase; /* * The linked public IP address of the public IP address resource. @@ -108,9 +108,9 @@ public final class PublicIpAddressPropertiesFormatInner private DeleteOptions deleteOption; /** - * Creates an instance of PublicIpAddressPropertiesFormatInner class. + * Creates an instance of PublicIPAddressPropertiesFormatInner class. */ - public PublicIpAddressPropertiesFormatInner() { + public PublicIPAddressPropertiesFormatInner() { } /** @@ -126,9 +126,9 @@ public IpAllocationMethod publicIpAllocationMethod() { * Set the publicIpAllocationMethod property: The public IP address allocation method. * * @param publicIpAllocationMethod the publicIpAllocationMethod value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner + public PublicIPAddressPropertiesFormatInner withPublicIpAllocationMethod(IpAllocationMethod publicIpAllocationMethod) { this.publicIpAllocationMethod = publicIpAllocationMethod; return this; @@ -147,9 +147,9 @@ public IpVersion publicIpAddressVersion() { * Set the publicIpAddressVersion property: The public IP address version. * * @param publicIpAddressVersion the publicIpAddressVersion value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { + public PublicIPAddressPropertiesFormatInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { this.publicIpAddressVersion = publicIpAddressVersion; return this; } @@ -176,9 +176,9 @@ public PublicIpAddressDnsSettings dnsSettings() { * Set the dnsSettings property: The FQDN of the DNS record associated with the public IP address. * * @param dnsSettings the dnsSettings value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withDnsSettings(PublicIpAddressDnsSettings dnsSettings) { + public PublicIPAddressPropertiesFormatInner withDnsSettings(PublicIpAddressDnsSettings dnsSettings) { this.dnsSettings = dnsSettings; return this; } @@ -196,9 +196,9 @@ public DdosSettings ddosSettings() { * Set the ddosSettings property: The DDoS protection custom policy associated with the public IP address. * * @param ddosSettings the ddosSettings value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withDdosSettings(DdosSettings ddosSettings) { + public PublicIPAddressPropertiesFormatInner withDdosSettings(DdosSettings ddosSettings) { this.ddosSettings = ddosSettings; return this; } @@ -216,9 +216,9 @@ public List ipTags() { * Set the ipTags property: The list of tags associated with the public IP address. * * @param ipTags the ipTags value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withIpTags(List ipTags) { + public PublicIPAddressPropertiesFormatInner withIpTags(List ipTags) { this.ipTags = ipTags; return this; } @@ -236,30 +236,30 @@ public String ipAddress() { * Set the ipAddress property: The IP address associated with the public IP address resource. * * @param ipAddress the ipAddress value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withIpAddress(String ipAddress) { + public PublicIPAddressPropertiesFormatInner withIpAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } /** - * Get the publicIpPrefix property: The Public IP Prefix this Public IP Address should be allocated from. + * Get the publicIPPrefix property: The Public IP Prefix this Public IP Address should be allocated from. * - * @return the publicIpPrefix value. + * @return the publicIPPrefix value. */ - public SubResource publicIpPrefix() { - return this.publicIpPrefix; + public SubResource publicIPPrefix() { + return this.publicIPPrefix; } /** - * Set the publicIpPrefix property: The Public IP Prefix this Public IP Address should be allocated from. + * Set the publicIPPrefix property: The Public IP Prefix this Public IP Address should be allocated from. * - * @param publicIpPrefix the publicIpPrefix value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @param publicIPPrefix the publicIPPrefix value to set. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withPublicIpPrefix(SubResource publicIpPrefix) { - this.publicIpPrefix = publicIpPrefix; + public PublicIPAddressPropertiesFormatInner withPublicIPPrefix(SubResource publicIPPrefix) { + this.publicIPPrefix = publicIPPrefix; return this; } @@ -276,9 +276,9 @@ public Integer idleTimeoutInMinutes() { * Set the idleTimeoutInMinutes property: The idle timeout of the public IP address. * * @param idleTimeoutInMinutes the idleTimeoutInMinutes value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes) { + public PublicIPAddressPropertiesFormatInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes) { this.idleTimeoutInMinutes = idleTimeoutInMinutes; return this; } @@ -297,7 +297,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -314,9 +314,9 @@ public PublicIpAddressInner servicePublicIpAddress() { * Set the servicePublicIpAddress property: The service public IP address of the public IP address resource. * * @param servicePublicIpAddress the servicePublicIpAddress value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner + public PublicIPAddressPropertiesFormatInner withServicePublicIpAddress(PublicIpAddressInner servicePublicIpAddress) { this.servicePublicIpAddress = servicePublicIpAddress; return this; @@ -335,9 +335,9 @@ public NatGatewayInner natGateway() { * Set the natGateway property: The NatGateway for the Public IP address. * * @param natGateway the natGateway value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withNatGateway(NatGatewayInner natGateway) { + public PublicIPAddressPropertiesFormatInner withNatGateway(NatGatewayInner natGateway) { this.natGateway = natGateway; return this; } @@ -347,7 +347,7 @@ public PublicIpAddressPropertiesFormatInner withNatGateway(NatGatewayInner natGa * * @return the migrationPhase value. */ - public PublicIpAddressMigrationPhase migrationPhase() { + public PublicIPAddressMigrationPhase migrationPhase() { return this.migrationPhase; } @@ -355,9 +355,9 @@ public PublicIpAddressMigrationPhase migrationPhase() { * Set the migrationPhase property: Migration phase of Public IP Address. * * @param migrationPhase the migrationPhase value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase) { + public PublicIPAddressPropertiesFormatInner withMigrationPhase(PublicIPAddressMigrationPhase migrationPhase) { this.migrationPhase = migrationPhase; return this; } @@ -375,9 +375,9 @@ public PublicIpAddressInner linkedPublicIpAddress() { * Set the linkedPublicIpAddress property: The linked public IP address of the public IP address resource. * * @param linkedPublicIpAddress the linkedPublicIpAddress value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withLinkedPublicIpAddress(PublicIpAddressInner linkedPublicIpAddress) { + public PublicIPAddressPropertiesFormatInner withLinkedPublicIpAddress(PublicIpAddressInner linkedPublicIpAddress) { this.linkedPublicIpAddress = linkedPublicIpAddress; return this; } @@ -395,9 +395,9 @@ public DeleteOptions deleteOption() { * Set the deleteOption property: Specify what happens to the public IP address when the VM using it is deleted. * * @param deleteOption the deleteOption value to set. - * @return the PublicIpAddressPropertiesFormatInner object itself. + * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIpAddressPropertiesFormatInner withDeleteOption(DeleteOptions deleteOption) { + public PublicIPAddressPropertiesFormatInner withDeleteOption(DeleteOptions deleteOption) { this.deleteOption = deleteOption; return this; } @@ -445,7 +445,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("ddosSettings", this.ddosSettings); jsonWriter.writeArrayField("ipTags", this.ipTags, (writer, element) -> writer.writeJson(element)); jsonWriter.writeStringField("ipAddress", this.ipAddress); - jsonWriter.writeJsonField("publicIPPrefix", this.publicIpPrefix); + jsonWriter.writeJsonField("publicIPPrefix", this.publicIPPrefix); jsonWriter.writeNumberField("idleTimeoutInMinutes", this.idleTimeoutInMinutes); jsonWriter.writeJsonField("servicePublicIPAddress", this.servicePublicIpAddress); jsonWriter.writeJsonField("natGateway", this.natGateway); @@ -457,70 +457,70 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of PublicIpAddressPropertiesFormatInner from the JsonReader. + * Reads an instance of PublicIPAddressPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of PublicIpAddressPropertiesFormatInner if the JsonReader was pointing to an instance of it, + * @return An instance of PublicIPAddressPropertiesFormatInner 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 PublicIpAddressPropertiesFormatInner. + * @throws IOException If an error occurs while reading the PublicIPAddressPropertiesFormatInner. */ - public static PublicIpAddressPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static PublicIPAddressPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - PublicIpAddressPropertiesFormatInner deserializedPublicIpAddressPropertiesFormatInner - = new PublicIpAddressPropertiesFormatInner(); + PublicIPAddressPropertiesFormatInner deserializedPublicIPAddressPropertiesFormatInner + = new PublicIPAddressPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("publicIPAllocationMethod".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.publicIpAllocationMethod + deserializedPublicIPAddressPropertiesFormatInner.publicIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("publicIPAddressVersion".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.publicIpAddressVersion + deserializedPublicIPAddressPropertiesFormatInner.publicIpAddressVersion = IpVersion.fromString(reader.getString()); } else if ("ipConfiguration".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.ipConfiguration + deserializedPublicIPAddressPropertiesFormatInner.ipConfiguration = IpConfigurationInner.fromJson(reader); } else if ("dnsSettings".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.dnsSettings + deserializedPublicIPAddressPropertiesFormatInner.dnsSettings = PublicIpAddressDnsSettings.fromJson(reader); } else if ("ddosSettings".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.ddosSettings = DdosSettings.fromJson(reader); + deserializedPublicIPAddressPropertiesFormatInner.ddosSettings = DdosSettings.fromJson(reader); } else if ("ipTags".equals(fieldName)) { List ipTags = reader.readArray(reader1 -> IpTag.fromJson(reader1)); - deserializedPublicIpAddressPropertiesFormatInner.ipTags = ipTags; + deserializedPublicIPAddressPropertiesFormatInner.ipTags = ipTags; } else if ("ipAddress".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.ipAddress = reader.getString(); + deserializedPublicIPAddressPropertiesFormatInner.ipAddress = reader.getString(); } else if ("publicIPPrefix".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.publicIpPrefix = SubResource.fromJson(reader); + deserializedPublicIPAddressPropertiesFormatInner.publicIPPrefix = SubResource.fromJson(reader); } else if ("idleTimeoutInMinutes".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.idleTimeoutInMinutes + deserializedPublicIPAddressPropertiesFormatInner.idleTimeoutInMinutes = reader.getNullable(JsonReader::getInt); } else if ("resourceGuid".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.resourceGuid = reader.getString(); + deserializedPublicIPAddressPropertiesFormatInner.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedPublicIPAddressPropertiesFormatInner.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else if ("servicePublicIPAddress".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.servicePublicIpAddress + deserializedPublicIPAddressPropertiesFormatInner.servicePublicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("natGateway".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.natGateway = NatGatewayInner.fromJson(reader); + deserializedPublicIPAddressPropertiesFormatInner.natGateway = NatGatewayInner.fromJson(reader); } else if ("migrationPhase".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.migrationPhase - = PublicIpAddressMigrationPhase.fromString(reader.getString()); + deserializedPublicIPAddressPropertiesFormatInner.migrationPhase + = PublicIPAddressMigrationPhase.fromString(reader.getString()); } else if ("linkedPublicIPAddress".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.linkedPublicIpAddress + deserializedPublicIPAddressPropertiesFormatInner.linkedPublicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("deleteOption".equals(fieldName)) { - deserializedPublicIpAddressPropertiesFormatInner.deleteOption + deserializedPublicIPAddressPropertiesFormatInner.deleteOption = DeleteOptions.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedPublicIpAddressPropertiesFormatInner; + return deserializedPublicIPAddressPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java index d53ac963cb96..67d372ed1510 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Response for GetPublicIpAddressDdosProtectionStatusOperation API service call. */ -@Fluent +@Immutable public final class PublicIpDdosProtectionStatusResultInner implements JsonSerializable { /* @@ -41,7 +41,7 @@ public final class PublicIpDdosProtectionStatusResultInner /** * Creates an instance of PublicIpDdosProtectionStatusResultInner class. */ - public PublicIpDdosProtectionStatusResultInner() { + private PublicIpDdosProtectionStatusResultInner() { } /** @@ -53,17 +53,6 @@ public String publicIpAddressId() { return this.publicIpAddressId; } - /** - * Set the publicIpAddressId property: Public IP ARM resource ID. - * - * @param publicIpAddressId the publicIpAddressId value to set. - * @return the PublicIpDdosProtectionStatusResultInner object itself. - */ - public PublicIpDdosProtectionStatusResultInner withPublicIpAddressId(String publicIpAddressId) { - this.publicIpAddressId = publicIpAddressId; - return this; - } - /** * Get the publicIpAddress property: IP Address of the Public IP Resource. * @@ -73,17 +62,6 @@ public String publicIpAddress() { return this.publicIpAddress; } - /** - * Set the publicIpAddress property: IP Address of the Public IP Resource. - * - * @param publicIpAddress the publicIpAddress value to set. - * @return the PublicIpDdosProtectionStatusResultInner object itself. - */ - public PublicIpDdosProtectionStatusResultInner withPublicIpAddress(String publicIpAddress) { - this.publicIpAddress = publicIpAddress; - return this; - } - /** * Get the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not. * @@ -93,17 +71,6 @@ public IsWorkloadProtected isWorkloadProtected() { return this.isWorkloadProtected; } - /** - * Set the isWorkloadProtected property: Value indicating whether the IP address is DDoS workload protected or not. - * - * @param isWorkloadProtected the isWorkloadProtected value to set. - * @return the PublicIpDdosProtectionStatusResultInner object itself. - */ - public PublicIpDdosProtectionStatusResultInner withIsWorkloadProtected(IsWorkloadProtected isWorkloadProtected) { - this.isWorkloadProtected = isWorkloadProtected; - return this; - } - /** * Get the ddosProtectionPlanId property: DDoS protection plan Resource Id of a if IP address is protected through a * plan. @@ -114,18 +81,6 @@ public String ddosProtectionPlanId() { return this.ddosProtectionPlanId; } - /** - * Set the ddosProtectionPlanId property: DDoS protection plan Resource Id of a if IP address is protected through a - * plan. - * - * @param ddosProtectionPlanId the ddosProtectionPlanId value to set. - * @return the PublicIpDdosProtectionStatusResultInner object itself. - */ - public PublicIpDdosProtectionStatusResultInner withDdosProtectionPlanId(String ddosProtectionPlanId) { - this.ddosProtectionPlanId = ddosProtectionPlanId; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java index 8197cecd0202..4cd0001e3d18 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.ExtendedLocation; import com.azure.resourcemanager.network.models.IpTag; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PublicIpPrefixSku; import com.azure.resourcemanager.network.models.ReferencedPublicIpAddress; import java.io.IOException; @@ -25,6 +25,11 @@ */ @Fluent public final class PublicIpPrefixInner extends Resource { + /* + * Public IP prefix properties. + */ + private PublicIPPrefixPropertiesFormatInner innerProperties; + /* * The extended location of the public ip address. */ @@ -35,11 +40,6 @@ public final class PublicIpPrefixInner extends Resource { */ private PublicIpPrefixSku sku; - /* - * Public IP prefix properties. - */ - private PublicIpPrefixPropertiesFormatInner innerProperties; - /* * A unique read-only string that changes whenever the resource is updated. */ @@ -71,6 +71,15 @@ public final class PublicIpPrefixInner extends Resource { public PublicIpPrefixInner() { } + /** + * Get the innerProperties property: Public IP prefix properties. + * + * @return the innerProperties value. + */ + private PublicIPPrefixPropertiesFormatInner innerProperties() { + return this.innerProperties; + } + /** * Get the extendedLocation property: The extended location of the public ip address. * @@ -111,15 +120,6 @@ public PublicIpPrefixInner withSku(PublicIpPrefixSku sku) { return this; } - /** - * Get the innerProperties property: Public IP prefix properties. - * - * @return the innerProperties value. - */ - private PublicIpPrefixPropertiesFormatInner innerProperties() { - return this.innerProperties; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -226,7 +226,7 @@ public IpVersion publicIpAddressVersion() { */ public PublicIpPrefixInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpPrefixPropertiesFormatInner(); + this.innerProperties = new PublicIPPrefixPropertiesFormatInner(); } this.innerProperties().withPublicIpAddressVersion(publicIpAddressVersion); return this; @@ -249,7 +249,7 @@ public List ipTags() { */ public PublicIpPrefixInner withIpTags(List ipTags) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpPrefixPropertiesFormatInner(); + this.innerProperties = new PublicIPPrefixPropertiesFormatInner(); } this.innerProperties().withIpTags(ipTags); return this; @@ -272,7 +272,7 @@ public Integer prefixLength() { */ public PublicIpPrefixInner withPrefixLength(Integer prefixLength) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpPrefixPropertiesFormatInner(); + this.innerProperties = new PublicIPPrefixPropertiesFormatInner(); } this.innerProperties().withPrefixLength(prefixLength); return this; @@ -307,25 +307,25 @@ public SubResource loadBalancerFrontendIpConfiguration() { } /** - * Get the customIpPrefix property: The customIpPrefix that this prefix is associated with. + * Get the customIPPrefix property: The customIpPrefix that this prefix is associated with. * - * @return the customIpPrefix value. + * @return the customIPPrefix value. */ - public SubResource customIpPrefix() { - return this.innerProperties() == null ? null : this.innerProperties().customIpPrefix(); + public SubResource customIPPrefix() { + return this.innerProperties() == null ? null : this.innerProperties().customIPPrefix(); } /** - * Set the customIpPrefix property: The customIpPrefix that this prefix is associated with. + * Set the customIPPrefix property: The customIpPrefix that this prefix is associated with. * - * @param customIpPrefix the customIpPrefix value to set. + * @param customIPPrefix the customIPPrefix value to set. * @return the PublicIpPrefixInner object itself. */ - public PublicIpPrefixInner withCustomIpPrefix(SubResource customIpPrefix) { + public PublicIpPrefixInner withCustomIPPrefix(SubResource customIPPrefix) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpPrefixPropertiesFormatInner(); + this.innerProperties = new PublicIPPrefixPropertiesFormatInner(); } - this.innerProperties().withCustomIpPrefix(customIpPrefix); + this.innerProperties().withCustomIPPrefix(customIPPrefix); return this; } @@ -343,7 +343,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -364,7 +364,7 @@ public NatGatewayInner natGateway() { */ public PublicIpPrefixInner withNatGateway(NatGatewayInner natGateway) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIpPrefixPropertiesFormatInner(); + this.innerProperties = new PublicIPPrefixPropertiesFormatInner(); } this.innerProperties().withNatGateway(natGateway); return this; @@ -376,15 +376,15 @@ public PublicIpPrefixInner withNatGateway(NatGatewayInner natGateway) { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { + if (innerProperties() != null) { + innerProperties().validate(); + } if (extendedLocation() != null) { extendedLocation().validate(); } if (sku() != null) { sku().validate(); } - if (innerProperties() != null) { - innerProperties().validate(); - } } /** @@ -395,9 +395,9 @@ 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.innerProperties); jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeJsonField("sku", this.sku); - jsonWriter.writeJsonField("properties", this.innerProperties); jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element)); jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); @@ -428,13 +428,13 @@ public static PublicIpPrefixInner fromJson(JsonReader jsonReader) throws IOExcep } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedPublicIpPrefixInner.withTags(tags); + } else if ("properties".equals(fieldName)) { + deserializedPublicIpPrefixInner.innerProperties + = PublicIPPrefixPropertiesFormatInner.fromJson(reader); } else if ("extendedLocation".equals(fieldName)) { deserializedPublicIpPrefixInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("sku".equals(fieldName)) { deserializedPublicIpPrefixInner.sku = PublicIpPrefixSku.fromJson(reader); - } else if ("properties".equals(fieldName)) { - deserializedPublicIpPrefixInner.innerProperties - = PublicIpPrefixPropertiesFormatInner.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedPublicIpPrefixInner.etag = reader.getString(); } else if ("zones".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java index e4c80ca5fed3..7670c4749774 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpTag; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ReferencedPublicIpAddress; import java.io.IOException; import java.util.List; @@ -21,8 +21,8 @@ * Public IP prefix properties. */ @Fluent -public final class PublicIpPrefixPropertiesFormatInner - implements JsonSerializable { +public final class PublicIPPrefixPropertiesFormatInner + implements JsonSerializable { /* * The public IP address version. */ @@ -56,7 +56,7 @@ public final class PublicIpPrefixPropertiesFormatInner /* * The customIpPrefix that this prefix is associated with. */ - private SubResource customIpPrefix; + private SubResource customIPPrefix; /* * The resource GUID property of the public IP prefix resource. @@ -66,7 +66,7 @@ public final class PublicIpPrefixPropertiesFormatInner /* * The provisioning state of the public IP prefix resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * NatGateway of Public IP Prefix. @@ -74,9 +74,9 @@ public final class PublicIpPrefixPropertiesFormatInner private NatGatewayInner natGateway; /** - * Creates an instance of PublicIpPrefixPropertiesFormatInner class. + * Creates an instance of PublicIPPrefixPropertiesFormatInner class. */ - public PublicIpPrefixPropertiesFormatInner() { + public PublicIPPrefixPropertiesFormatInner() { } /** @@ -92,9 +92,9 @@ public IpVersion publicIpAddressVersion() { * Set the publicIpAddressVersion property: The public IP address version. * * @param publicIpAddressVersion the publicIpAddressVersion value to set. - * @return the PublicIpPrefixPropertiesFormatInner object itself. + * @return the PublicIPPrefixPropertiesFormatInner object itself. */ - public PublicIpPrefixPropertiesFormatInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { + public PublicIPPrefixPropertiesFormatInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { this.publicIpAddressVersion = publicIpAddressVersion; return this; } @@ -112,9 +112,9 @@ public List ipTags() { * Set the ipTags property: The list of tags associated with the public IP prefix. * * @param ipTags the ipTags value to set. - * @return the PublicIpPrefixPropertiesFormatInner object itself. + * @return the PublicIPPrefixPropertiesFormatInner object itself. */ - public PublicIpPrefixPropertiesFormatInner withIpTags(List ipTags) { + public PublicIPPrefixPropertiesFormatInner withIpTags(List ipTags) { this.ipTags = ipTags; return this; } @@ -132,9 +132,9 @@ public Integer prefixLength() { * Set the prefixLength property: The Length of the Public IP Prefix. * * @param prefixLength the prefixLength value to set. - * @return the PublicIpPrefixPropertiesFormatInner object itself. + * @return the PublicIPPrefixPropertiesFormatInner object itself. */ - public PublicIpPrefixPropertiesFormatInner withPrefixLength(Integer prefixLength) { + public PublicIPPrefixPropertiesFormatInner withPrefixLength(Integer prefixLength) { this.prefixLength = prefixLength; return this; } @@ -168,22 +168,22 @@ public SubResource loadBalancerFrontendIpConfiguration() { } /** - * Get the customIpPrefix property: The customIpPrefix that this prefix is associated with. + * Get the customIPPrefix property: The customIpPrefix that this prefix is associated with. * - * @return the customIpPrefix value. + * @return the customIPPrefix value. */ - public SubResource customIpPrefix() { - return this.customIpPrefix; + public SubResource customIPPrefix() { + return this.customIPPrefix; } /** - * Set the customIpPrefix property: The customIpPrefix that this prefix is associated with. + * Set the customIPPrefix property: The customIpPrefix that this prefix is associated with. * - * @param customIpPrefix the customIpPrefix value to set. - * @return the PublicIpPrefixPropertiesFormatInner object itself. + * @param customIPPrefix the customIPPrefix value to set. + * @return the PublicIPPrefixPropertiesFormatInner object itself. */ - public PublicIpPrefixPropertiesFormatInner withCustomIpPrefix(SubResource customIpPrefix) { - this.customIpPrefix = customIpPrefix; + public PublicIPPrefixPropertiesFormatInner withCustomIPPrefix(SubResource customIPPrefix) { + this.customIPPrefix = customIPPrefix; return this; } @@ -201,7 +201,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -218,9 +218,9 @@ public NatGatewayInner natGateway() { * Set the natGateway property: NatGateway of Public IP Prefix. * * @param natGateway the natGateway value to set. - * @return the PublicIpPrefixPropertiesFormatInner object itself. + * @return the PublicIPPrefixPropertiesFormatInner object itself. */ - public PublicIpPrefixPropertiesFormatInner withNatGateway(NatGatewayInner natGateway) { + public PublicIPPrefixPropertiesFormatInner withNatGateway(NatGatewayInner natGateway) { this.natGateway = natGateway; return this; } @@ -252,60 +252,60 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { this.publicIpAddressVersion == null ? null : this.publicIpAddressVersion.toString()); jsonWriter.writeArrayField("ipTags", this.ipTags, (writer, element) -> writer.writeJson(element)); jsonWriter.writeNumberField("prefixLength", this.prefixLength); - jsonWriter.writeJsonField("customIPPrefix", this.customIpPrefix); + jsonWriter.writeJsonField("customIPPrefix", this.customIPPrefix); jsonWriter.writeJsonField("natGateway", this.natGateway); return jsonWriter.writeEndObject(); } /** - * Reads an instance of PublicIpPrefixPropertiesFormatInner from the JsonReader. + * Reads an instance of PublicIPPrefixPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of PublicIpPrefixPropertiesFormatInner if the JsonReader was pointing to an instance of it, + * @return An instance of PublicIPPrefixPropertiesFormatInner 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 PublicIpPrefixPropertiesFormatInner. + * @throws IOException If an error occurs while reading the PublicIPPrefixPropertiesFormatInner. */ - public static PublicIpPrefixPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static PublicIPPrefixPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - PublicIpPrefixPropertiesFormatInner deserializedPublicIpPrefixPropertiesFormatInner - = new PublicIpPrefixPropertiesFormatInner(); + PublicIPPrefixPropertiesFormatInner deserializedPublicIPPrefixPropertiesFormatInner + = new PublicIPPrefixPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("publicIPAddressVersion".equals(fieldName)) { - deserializedPublicIpPrefixPropertiesFormatInner.publicIpAddressVersion + deserializedPublicIPPrefixPropertiesFormatInner.publicIpAddressVersion = IpVersion.fromString(reader.getString()); } else if ("ipTags".equals(fieldName)) { List ipTags = reader.readArray(reader1 -> IpTag.fromJson(reader1)); - deserializedPublicIpPrefixPropertiesFormatInner.ipTags = ipTags; + deserializedPublicIPPrefixPropertiesFormatInner.ipTags = ipTags; } else if ("prefixLength".equals(fieldName)) { - deserializedPublicIpPrefixPropertiesFormatInner.prefixLength + deserializedPublicIPPrefixPropertiesFormatInner.prefixLength = reader.getNullable(JsonReader::getInt); } else if ("ipPrefix".equals(fieldName)) { - deserializedPublicIpPrefixPropertiesFormatInner.ipPrefix = reader.getString(); + deserializedPublicIPPrefixPropertiesFormatInner.ipPrefix = reader.getString(); } else if ("publicIPAddresses".equals(fieldName)) { List publicIpAddresses = reader.readArray(reader1 -> ReferencedPublicIpAddress.fromJson(reader1)); - deserializedPublicIpPrefixPropertiesFormatInner.publicIpAddresses = publicIpAddresses; + deserializedPublicIPPrefixPropertiesFormatInner.publicIpAddresses = publicIpAddresses; } else if ("loadBalancerFrontendIpConfiguration".equals(fieldName)) { - deserializedPublicIpPrefixPropertiesFormatInner.loadBalancerFrontendIpConfiguration + deserializedPublicIPPrefixPropertiesFormatInner.loadBalancerFrontendIpConfiguration = SubResource.fromJson(reader); } else if ("customIPPrefix".equals(fieldName)) { - deserializedPublicIpPrefixPropertiesFormatInner.customIpPrefix = SubResource.fromJson(reader); + deserializedPublicIPPrefixPropertiesFormatInner.customIPPrefix = SubResource.fromJson(reader); } else if ("resourceGuid".equals(fieldName)) { - deserializedPublicIpPrefixPropertiesFormatInner.resourceGuid = reader.getString(); + deserializedPublicIPPrefixPropertiesFormatInner.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { - deserializedPublicIpPrefixPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedPublicIPPrefixPropertiesFormatInner.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else if ("natGateway".equals(fieldName)) { - deserializedPublicIpPrefixPropertiesFormatInner.natGateway = NatGatewayInner.fromJson(reader); + deserializedPublicIPPrefixPropertiesFormatInner.natGateway = NatGatewayInner.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedPublicIpPrefixPropertiesFormatInner; + return deserializedPublicIPPrefixPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java index 6bcf97258854..e2e7ecfa7f5c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * Query result. */ -@Fluent +@Immutable public final class QueryResultsInner implements JsonSerializable { /* * Number of total records matching the query. @@ -31,7 +31,7 @@ public final class QueryResultsInner implements JsonSerializable signatures() { return this.signatures; } - /** - * Set the signatures property: Array containing the results of the query. - * - * @param signatures the signatures value to set. - * @return the QueryResultsInner object itself. - */ - public QueryResultsInner withSignatures(List signatures) { - this.signatures = signatures; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java index a4f596492ce3..e7e256b0c107 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * List of Radius servers with respective radius secrets. */ -@Fluent +@Immutable public final class RadiusAuthServerListResultInner implements JsonSerializable { /* - * List of Radius servers with respective radius secrets. + * The RadiusAuthServer items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of RadiusAuthServerListResultInner class. */ - public RadiusAuthServerListResultInner() { + private RadiusAuthServerListResultInner() { } /** - * Get the value property: List of Radius servers with respective radius secrets. + * Get the value property: The RadiusAuthServer items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Radius servers with respective radius secrets. - * - * @param value the value value to set. - * @return the RadiusAuthServerListResultInner object itself. - */ - public RadiusAuthServerListResultInner withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the RadiusAuthServerListResultInner object itself. - */ - public RadiusAuthServerListResultInner withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model RadiusAuthServerListResultInner")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(RadiusAuthServerListResultInner.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of RadiusAuthServerListResultInner 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 RadiusAuthServerListResultInner. */ public static RadiusAuthServerListResultInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java index d967d807311f..084b5a06cdb6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -25,22 +25,23 @@ public final class ReachabilityAnalysisIntentInner extends CommonProxyResource { private ReachabilityAnalysisIntentProperties properties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * The system metadata related to this resource. */ private SystemData systemData; /* - * The type of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ private String type; /* - * The name of the resource. + * The name of the resource */ private String name; /* - * Fully qualified resource Id for the resource. + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ private String id; @@ -71,7 +72,7 @@ public ReachabilityAnalysisIntentInner withProperties(ReachabilityAnalysisIntent } /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Get the systemData property: The system metadata related to this resource. * * @return the systemData value. */ @@ -81,7 +82,8 @@ public SystemData systemData() { } /** - * Get the type property: The type of the resource. + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * * @return the type value. */ @@ -101,7 +103,8 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * * @return the id value. */ @@ -161,11 +164,11 @@ public static ReachabilityAnalysisIntentInner fromJson(JsonReader jsonReader) th deserializedReachabilityAnalysisIntentInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedReachabilityAnalysisIntentInner.type = reader.getString(); - } else if ("systemData".equals(fieldName)) { - deserializedReachabilityAnalysisIntentInner.systemData = SystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedReachabilityAnalysisIntentInner.properties = ReachabilityAnalysisIntentProperties.fromJson(reader); + } else if ("systemData".equals(fieldName)) { + deserializedReachabilityAnalysisIntentInner.systemData = SystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java index 3dc0b4ee25dc..769316a5aa70 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -25,22 +25,23 @@ public final class ReachabilityAnalysisRunInner extends CommonProxyResource { private ReachabilityAnalysisRunProperties properties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * The system metadata related to this resource. */ private SystemData systemData; /* - * The type of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ private String type; /* - * The name of the resource. + * The name of the resource */ private String name; /* - * Fully qualified resource Id for the resource. + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ private String id; @@ -71,7 +72,7 @@ public ReachabilityAnalysisRunInner withProperties(ReachabilityAnalysisRunProper } /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Get the systemData property: The system metadata related to this resource. * * @return the systemData value. */ @@ -81,7 +82,8 @@ public SystemData systemData() { } /** - * Get the type property: The type of the resource. + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * * @return the type value. */ @@ -101,7 +103,8 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * * @return the id value. */ @@ -160,11 +163,11 @@ public static ReachabilityAnalysisRunInner fromJson(JsonReader jsonReader) throw deserializedReachabilityAnalysisRunInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedReachabilityAnalysisRunInner.type = reader.getString(); - } else if ("systemData".equals(fieldName)) { - deserializedReachabilityAnalysisRunInner.systemData = SystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedReachabilityAnalysisRunInner.properties = ReachabilityAnalysisRunProperties.fromJson(reader); + } else if ("systemData".equals(fieldName)) { + deserializedReachabilityAnalysisRunInner.systemData = SystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java index d1eed6e5a588..a39f0386aa61 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java @@ -1,21 +1,21 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +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.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** * Properties of ResourceNavigationLink. */ -@Fluent +@Immutable public final class ResourceNavigationLinkFormat implements JsonSerializable { /* * Resource type of the linked resource. @@ -30,12 +30,12 @@ public final class ResourceNavigationLinkFormat implements JsonSerializable { /* - * The resource navigation links in a subnet. + * The ResourceNavigationLink items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ResourceNavigationLinksListResultInner class. */ - public ResourceNavigationLinksListResultInner() { + private ResourceNavigationLinksListResultInner() { } /** - * Get the value property: The resource navigation links in a subnet. + * Get the value property: The ResourceNavigationLink items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: The resource navigation links in a subnet. - * - * @param value the value value to set. - * @return the ResourceNavigationLinksListResultInner object itself. - */ - public ResourceNavigationLinksListResultInner withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ResourceNavigationLinksListResultInner")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ResourceNavigationLinksListResultInner.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ResourceNavigationLinksListResultInner 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 ResourceNavigationLinksListResultInner. */ public static ResourceNavigationLinksListResultInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java index 4fafba86cf99..f73b678ede7c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java @@ -1,15 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.Resource; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; import java.io.IOException; import java.util.List; import java.util.Map; @@ -18,7 +19,7 @@ * Route Filter Resource. */ @Fluent -public final class RouteFilterInner extends Resource { +public final class RouteFilterInner extends ResourceWithRequiredLocation { /* * Properties of the route filter. */ @@ -30,17 +31,12 @@ public final class RouteFilterInner extends Resource { private String etag; /* - * Resource ID. - */ - private String id; - - /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; @@ -69,27 +65,7 @@ public String etag() { } /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the RouteFilterInner object itself. - */ - public RouteFilterInner withId(String id) { - this.id = id; - return this; - } - - /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -99,7 +75,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -108,6 +84,15 @@ public String name() { return this.name; } + /** + * {@inheritDoc} + */ + @Override + public RouteFilterInner withId(String id) { + super.withId(id); + return this; + } + /** * {@inheritDoc} */ @@ -172,7 +157,7 @@ public List ipv6Peerings() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -181,12 +166,19 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property location in model RouteFilterInner")); + } } + private static final ClientLogger LOGGER = new ClientLogger(RouteFilterInner.class); + /** * {@inheritDoc} */ @@ -194,9 +186,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); + jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -216,12 +208,14 @@ public static RouteFilterInner fromJson(JsonReader jsonReader) throws IOExceptio String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { + if ("location".equals(fieldName)) { + deserializedRouteFilterInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { + deserializedRouteFilterInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { deserializedRouteFilterInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedRouteFilterInner.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedRouteFilterInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedRouteFilterInner.withTags(tags); @@ -229,8 +223,6 @@ public static RouteFilterInner fromJson(JsonReader jsonReader) throws IOExceptio deserializedRouteFilterInner.innerProperties = RouteFilterPropertiesFormat.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedRouteFilterInner.etag = reader.getString(); - } else if ("id".equals(fieldName)) { - deserializedRouteFilterInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java index f7b91dab503c..6354284706f1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -36,7 +36,7 @@ public final class RouteFilterPropertiesFormat implements JsonSerializable ipv6Peerings() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -147,7 +147,7 @@ public static RouteFilterPropertiesFormat fromJson(JsonReader jsonReader) throws deserializedRouteFilterPropertiesFormat.ipv6Peerings = ipv6Peerings; } else if ("provisioningState".equals(fieldName)) { deserializedRouteFilterPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java index 02a2f75a8b45..1e5000b37b08 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.Access; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RouteFilterRuleType; import java.io.IOException; import java.util.List; @@ -191,7 +191,7 @@ public RouteFilterRuleInner withCommunities(List communities) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java index 35f8fdd7e4c9..274159fdf188 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.Access; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RouteFilterRuleType; import java.io.IOException; import java.util.List; @@ -39,7 +39,7 @@ public final class RouteFilterRulePropertiesFormat implements JsonSerializable communities) * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -183,7 +183,7 @@ public static RouteFilterRulePropertiesFormat fromJson(JsonReader jsonReader) th deserializedRouteFilterRulePropertiesFormat.communities = communities; } else if ("provisioningState".equals(fieldName)) { deserializedRouteFilterRulePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java index 3e4ae78735ba..4b85e025fa69 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java @@ -1,40 +1,35 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RouteNextHopType; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** * Route resource. */ @Fluent -public final class RouteInner extends SubResource { +public final class RouteInner extends SubResourceModel { /* * Properties of the route. */ private RoutePropertiesFormat innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * The type of the resource. + * Resource type. */ private String type; @@ -53,28 +48,6 @@ private RoutePropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the RouteInner object itself. - */ - public RouteInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -85,22 +58,21 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } /** - * Set the type property: The type of the resource. - * - * @param type the type value to set. - * @return the RouteInner object itself. + * {@inheritDoc} */ - public RouteInner withType(String type) { - this.type = type; + @Override + public RouteInner withId(String id) { + super.withId(id); return this; } @@ -108,8 +80,8 @@ public RouteInner withType(String type) { * {@inheritDoc} */ @Override - public RouteInner withId(String id) { - super.withId(id); + public RouteInner withName(String name) { + super.withName(name); return this; } @@ -189,7 +161,7 @@ public RouteInner withNextHopIpAddress(String nextHopIpAddress) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -208,6 +180,7 @@ public Boolean hasBgpOverride() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -221,9 +194,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("type", this.type); return jsonWriter.writeEndObject(); } @@ -244,14 +216,14 @@ public static RouteInner fromJson(JsonReader jsonReader) throws IOException { if ("id".equals(fieldName)) { deserializedRouteInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedRouteInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedRouteInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedRouteInner.innerProperties = RoutePropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedRouteInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedRouteInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedRouteInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java index 610f2a5cc77d..f6e034f09a42 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ReadOnlySubResourceModel; import com.azure.resourcemanager.network.models.RouteMapRule; import java.io.IOException; import java.util.List; @@ -18,27 +18,32 @@ * The RouteMap child resource of a Virtual hub. */ @Fluent -public final class RouteMapInner extends SubResource { +public final class RouteMapInner extends ReadOnlySubResourceModel { /* * Properties of the RouteMap resource. */ private RouteMapProperties innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Resource type. + * Type of the resource. */ private String type; + /* + * Name of the resource. + */ + private String name; + + /* + * Resource ID. + */ + private String id; + /** * Creates an instance of RouteMapInner class. */ @@ -54,16 +59,6 @@ private RouteMapProperties innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -74,21 +69,33 @@ public String etag() { } /** - * Get the type property: Resource type. + * Get the type property: Type of the resource. * * @return the type value. */ + @Override public String type() { return this.type; } /** - * {@inheritDoc} + * Get the name property: Name of the resource. + * + * @return the name value. */ @Override - public RouteMapInner withId(String id) { - super.withId(id); - return this; + public String name() { + return this.name; + } + + /** + * Get the id property: Resource ID. + * + * @return the id value. + */ + @Override + public String id() { + return this.id; } /** @@ -169,7 +176,7 @@ public RouteMapInner withRules(List rules) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -178,6 +185,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -190,7 +198,6 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", id()); jsonWriter.writeJsonField("properties", this.innerProperties); return jsonWriter.writeEndObject(); } @@ -211,15 +218,15 @@ public static RouteMapInner fromJson(JsonReader jsonReader) throws IOException { reader.nextToken(); if ("id".equals(fieldName)) { - deserializedRouteMapInner.withId(reader.getString()); - } else if ("properties".equals(fieldName)) { - deserializedRouteMapInner.innerProperties = RouteMapProperties.fromJson(reader); + deserializedRouteMapInner.id = reader.getString(); } else if ("name".equals(fieldName)) { deserializedRouteMapInner.name = reader.getString(); - } else if ("etag".equals(fieldName)) { - deserializedRouteMapInner.etag = reader.getString(); } else if ("type".equals(fieldName)) { deserializedRouteMapInner.type = reader.getString(); + } else if ("properties".equals(fieldName)) { + deserializedRouteMapInner.innerProperties = RouteMapProperties.fromJson(reader); + } else if ("etag".equals(fieldName)) { + deserializedRouteMapInner.etag = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java index 8845a8605604..d41da6522da3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RouteMapRule; import java.io.IOException; import java.util.List; @@ -37,7 +37,7 @@ public final class RouteMapProperties implements JsonSerializable rules) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -168,7 +168,8 @@ public static RouteMapProperties fromJson(JsonReader jsonReader) throws IOExcept List rules = reader.readArray(reader1 -> RouteMapRule.fromJson(reader1)); deserializedRouteMapProperties.rules = rules; } else if ("provisioningState".equals(fieldName)) { - deserializedRouteMapProperties.provisioningState = ProvisioningState.fromString(reader.getString()); + deserializedRouteMapProperties.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java index b177bca4c894..9771f3cdbeb2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RouteNextHopType; import java.io.IOException; @@ -38,7 +38,7 @@ public final class RoutePropertiesFormat implements JsonSerializable routingPolicie * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -140,6 +123,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -153,8 +137,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -175,14 +159,14 @@ public static RoutingIntentInner fromJson(JsonReader jsonReader) throws IOExcept if ("id".equals(fieldName)) { deserializedRoutingIntentInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedRoutingIntentInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedRoutingIntentInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedRoutingIntentInner.innerProperties = RoutingIntentProperties.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedRoutingIntentInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedRoutingIntentInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedRoutingIntentInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java index 0a7897708e0b..f03d4d724f0b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingPolicy; import java.io.IOException; import java.util.List; @@ -27,7 +27,7 @@ public final class RoutingIntentProperties implements JsonSerializable routingPo * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -106,7 +106,7 @@ public static RoutingIntentProperties fromJson(JsonReader jsonReader) throws IOE deserializedRoutingIntentProperties.routingPolicies = routingPolicies; } else if ("provisioningState".equals(fieldName)) { deserializedRoutingIntentProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java index c2c80916b1ff..593ee45fa74c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.resourcemanager.network.models.ChildResource; import com.azure.resourcemanager.network.models.DisableBgpRoutePropagation; import com.azure.resourcemanager.network.models.NetworkManagerRoutingGroupItem; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -37,17 +37,17 @@ public final class RoutingRuleCollectionInner extends ChildResource { private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -86,7 +86,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -96,7 +96,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -106,7 +106,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -143,7 +143,7 @@ public RoutingRuleCollectionInner withDescription(String description) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -233,7 +233,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of RoutingRuleCollectionInner 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 RoutingRuleCollectionInner. */ public static RoutingRuleCollectionInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java index bfcea1aaec48..1517b807af8b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.DisableBgpRoutePropagation; import com.azure.resourcemanager.network.models.NetworkManagerRoutingGroupItem; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -30,7 +30,7 @@ public final class RoutingRuleCollectionPropertiesFormat /* * The provisioning state of the resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Unique identifier for this resource. @@ -78,7 +78,7 @@ public RoutingRuleCollectionPropertiesFormat withDescription(String description) * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -189,7 +189,7 @@ public static RoutingRuleCollectionPropertiesFormat fromJson(JsonReader jsonRead deserializedRoutingRuleCollectionPropertiesFormat.description = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedRoutingRuleCollectionPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedRoutingRuleCollectionPropertiesFormat.resourceGuid = reader.getString(); } else if ("disableBgpRoutePropagation".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java index 46bdaf5ba595..86c8cfe2364c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ChildResource; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingRuleNextHop; import com.azure.resourcemanager.network.models.RoutingRuleRouteDestination; import java.io.IOException; @@ -36,17 +36,17 @@ public final class RoutingRuleInner extends ChildResource { private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -85,7 +85,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -95,7 +95,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -105,7 +105,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -142,7 +142,7 @@ public RoutingRuleInner withDescription(String description) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -229,7 +229,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of RoutingRuleInner 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 RoutingRuleInner. */ public static RoutingRuleInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java index 42db1ab03a24..1ad6a365596a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingRuleNextHop; import com.azure.resourcemanager.network.models.RoutingRuleRouteDestination; import java.io.IOException; @@ -28,7 +28,7 @@ public final class RoutingRulePropertiesFormat implements JsonSerializable { /* * List of network interfaces on the specified VM. @@ -26,7 +26,7 @@ public final class SecurityGroupViewResultInner implements JsonSerializable networkInterfaces() { return this.networkInterfaces; } - /** - * Set the networkInterfaces property: List of network interfaces on the specified VM. - * - * @param networkInterfaces the networkInterfaces value to set. - * @return the SecurityGroupViewResultInner object itself. - */ - public SecurityGroupViewResultInner withNetworkInterfaces(List networkInterfaces) { - this.networkInterfaces = networkInterfaces; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java index bcf23dbf73b2..213ad4abc95e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.SecurityPartnerProviderConnectionStatus; import com.azure.resourcemanager.network.models.SecurityProviderName; import java.io.IOException; @@ -133,7 +133,7 @@ public SecurityPartnerProviderInner withTags(Map tags) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java index c23ed0af0a04..5447e376c00b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.SecurityPartnerProviderConnectionStatus; import com.azure.resourcemanager.network.models.SecurityProviderName; import java.io.IOException; @@ -24,7 +24,7 @@ public final class SecurityPartnerProviderPropertiesFormat /* * The provisioning state of the Security Partner Provider resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The security provider name. @@ -52,7 +52,7 @@ public SecurityPartnerProviderPropertiesFormat() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -143,7 +143,7 @@ public static SecurityPartnerProviderPropertiesFormat fromJson(JsonReader jsonRe if ("provisioningState".equals(fieldName)) { deserializedSecurityPartnerProviderPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("securityProviderName".equals(fieldName)) { deserializedSecurityPartnerProviderPropertiesFormat.securityProviderName = SecurityProviderName.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java index 9262c1e7ed7a..ccb8752813b5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java @@ -1,18 +1,18 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.SecurityRuleAccess; import com.azure.resourcemanager.network.models.SecurityRuleDirection; import com.azure.resourcemanager.network.models.SecurityRuleProtocol; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -20,24 +20,19 @@ * Network security rule. */ @Fluent -public final class SecurityRuleInner extends SubResource { +public final class SecurityRuleInner extends SubResourceModel { /* * Properties of the security rule. */ private SecurityRulePropertiesFormat innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * The type of the resource. + * Resource type. */ private String type; @@ -56,28 +51,6 @@ private SecurityRulePropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the SecurityRuleInner object itself. - */ - public SecurityRuleInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -88,22 +61,21 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } /** - * Set the type property: The type of the resource. - * - * @param type the type value to set. - * @return the SecurityRuleInner object itself. + * {@inheritDoc} */ - public SecurityRuleInner withType(String type) { - this.type = type; + @Override + public SecurityRuleInner withId(String id) { + super.withId(id); return this; } @@ -111,8 +83,8 @@ public SecurityRuleInner withType(String type) { * {@inheritDoc} */ @Override - public SecurityRuleInner withId(String id) { - super.withId(id); + public SecurityRuleInner withName(String name) { + super.withName(name); return this; } @@ -486,7 +458,7 @@ public SecurityRuleInner withDirection(SecurityRuleDirection direction) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -495,6 +467,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -508,9 +481,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("type", this.type); return jsonWriter.writeEndObject(); } @@ -531,14 +503,14 @@ public static SecurityRuleInner fromJson(JsonReader jsonReader) throws IOExcepti if ("id".equals(fieldName)) { deserializedSecurityRuleInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedSecurityRuleInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedSecurityRuleInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedSecurityRuleInner.innerProperties = SecurityRulePropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedSecurityRuleInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedSecurityRuleInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedSecurityRuleInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java index b11d60fdd84c..7cbffb60dd67 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.SecurityRuleAccess; import com.azure.resourcemanager.network.models.SecurityRuleDirection; import com.azure.resourcemanager.network.models.SecurityRuleProtocol; @@ -105,7 +105,7 @@ public final class SecurityRulePropertiesFormat implements JsonSerializable { /* @@ -32,7 +32,7 @@ public final class ServiceAssociationLinkPropertiesFormat /* * The provisioning state of the service association link resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * If true, the resource can be deleted. @@ -47,7 +47,7 @@ public final class ServiceAssociationLinkPropertiesFormat /** * Creates an instance of ServiceAssociationLinkPropertiesFormat class. */ - public ServiceAssociationLinkPropertiesFormat() { + private ServiceAssociationLinkPropertiesFormat() { } /** @@ -59,17 +59,6 @@ public String linkedResourceType() { return this.linkedResourceType; } - /** - * Set the linkedResourceType property: Resource type of the linked resource. - * - * @param linkedResourceType the linkedResourceType value to set. - * @return the ServiceAssociationLinkPropertiesFormat object itself. - */ - public ServiceAssociationLinkPropertiesFormat withLinkedResourceType(String linkedResourceType) { - this.linkedResourceType = linkedResourceType; - return this; - } - /** * Get the link property: Link to the external resource. * @@ -79,23 +68,12 @@ public String link() { return this.link; } - /** - * Set the link property: Link to the external resource. - * - * @param link the link value to set. - * @return the ServiceAssociationLinkPropertiesFormat object itself. - */ - public ServiceAssociationLinkPropertiesFormat withLink(String link) { - this.link = link; - return this; - } - /** * Get the provisioningState property: The provisioning state of the service association link resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -108,17 +86,6 @@ public Boolean allowDelete() { return this.allowDelete; } - /** - * Set the allowDelete property: If true, the resource can be deleted. - * - * @param allowDelete the allowDelete value to set. - * @return the ServiceAssociationLinkPropertiesFormat object itself. - */ - public ServiceAssociationLinkPropertiesFormat withAllowDelete(Boolean allowDelete) { - this.allowDelete = allowDelete; - return this; - } - /** * Get the locations property: A list of locations. * @@ -128,17 +95,6 @@ public List locations() { return this.locations; } - /** - * Set the locations property: A list of locations. - * - * @param locations the locations value to set. - * @return the ServiceAssociationLinkPropertiesFormat object itself. - */ - public ServiceAssociationLinkPropertiesFormat withLocations(List locations) { - this.locations = locations; - return this; - } - /** * Validates the instance. * @@ -182,7 +138,7 @@ public static ServiceAssociationLinkPropertiesFormat fromJson(JsonReader jsonRea deserializedServiceAssociationLinkPropertiesFormat.link = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedServiceAssociationLinkPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("allowDelete".equals(fieldName)) { deserializedServiceAssociationLinkPropertiesFormat.allowDelete = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java index a85bc0c3f61e..9c36d1f74341 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for ServiceAssociationLinks_List operation. + * Paged collection of ServiceAssociationLink items. */ -@Fluent +@Immutable public final class ServiceAssociationLinksListResultInner implements JsonSerializable { /* - * The service association links in a subnet. + * The ServiceAssociationLink items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ServiceAssociationLinksListResultInner class. */ - public ServiceAssociationLinksListResultInner() { + private ServiceAssociationLinksListResultInner() { } /** - * Get the value property: The service association links in a subnet. + * Get the value property: The ServiceAssociationLink items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: The service association links in a subnet. - * - * @param value the value value to set. - * @return the ServiceAssociationLinksListResultInner object itself. - */ - public ServiceAssociationLinksListResultInner withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ServiceAssociationLinksListResultInner")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ServiceAssociationLinksListResultInner.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ServiceAssociationLinksListResultInner 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 ServiceAssociationLinksListResultInner. */ public static ServiceAssociationLinksListResultInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java index a8e6706f3dfe..0d39937d20f2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -31,7 +31,7 @@ public final class ServiceDelegationPropertiesFormat implements JsonSerializable /* * The provisioning state of the service delegation resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ServiceDelegationPropertiesFormat class. @@ -75,7 +75,7 @@ public List actions() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -120,7 +120,7 @@ public static ServiceDelegationPropertiesFormat fromJson(JsonReader jsonReader) deserializedServiceDelegationPropertiesFormat.actions = actions; } else if ("provisioningState".equals(fieldName)) { deserializedServiceDelegationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java index 024c43c04ddd..23ee0b326800 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -17,24 +17,19 @@ * Service Endpoint policy definitions. */ @Fluent -public final class ServiceEndpointPolicyDefinitionInner extends SubResource { +public final class ServiceEndpointPolicyDefinitionInner extends SubResourceModel { /* * Properties of the service endpoint policy definition. */ private ServiceEndpointPolicyDefinitionPropertiesFormat innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * The type of the resource. + * Resource type. */ private String type; @@ -53,28 +48,6 @@ private ServiceEndpointPolicyDefinitionPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the ServiceEndpointPolicyDefinitionInner object itself. - */ - public ServiceEndpointPolicyDefinitionInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -85,22 +58,21 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } /** - * Set the type property: The type of the resource. - * - * @param type the type value to set. - * @return the ServiceEndpointPolicyDefinitionInner object itself. + * {@inheritDoc} */ - public ServiceEndpointPolicyDefinitionInner withType(String type) { - this.type = type; + @Override + public ServiceEndpointPolicyDefinitionInner withId(String id) { + super.withId(id); return this; } @@ -108,8 +80,8 @@ public ServiceEndpointPolicyDefinitionInner withType(String type) { * {@inheritDoc} */ @Override - public ServiceEndpointPolicyDefinitionInner withId(String id) { - super.withId(id); + public ServiceEndpointPolicyDefinitionInner withName(String name) { + super.withName(name); return this; } @@ -187,7 +159,7 @@ public ServiceEndpointPolicyDefinitionInner withServiceResources(List se * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -196,6 +168,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -209,9 +182,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("type", this.type); return jsonWriter.writeEndObject(); } @@ -233,15 +205,15 @@ public static ServiceEndpointPolicyDefinitionInner fromJson(JsonReader jsonReade if ("id".equals(fieldName)) { deserializedServiceEndpointPolicyDefinitionInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedServiceEndpointPolicyDefinitionInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedServiceEndpointPolicyDefinitionInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedServiceEndpointPolicyDefinitionInner.innerProperties = ServiceEndpointPolicyDefinitionPropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedServiceEndpointPolicyDefinitionInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedServiceEndpointPolicyDefinitionInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedServiceEndpointPolicyDefinitionInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java index d905ac6217c2..c91a646abade 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -37,7 +37,7 @@ public final class ServiceEndpointPolicyDefinitionPropertiesFormat /* * The provisioning state of the service endpoint policy definition resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of ServiceEndpointPolicyDefinitionPropertiesFormat class. @@ -110,7 +110,7 @@ public ServiceEndpointPolicyDefinitionPropertiesFormat withServiceResources(List * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -160,7 +160,7 @@ public static ServiceEndpointPolicyDefinitionPropertiesFormat fromJson(JsonReade deserializedServiceEndpointPolicyDefinitionPropertiesFormat.serviceResources = serviceResources; } else if ("provisioningState".equals(fieldName)) { deserializedServiceEndpointPolicyDefinitionPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java index db7d3cc11eee..9f6bf8ce017f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -189,7 +189,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java index da0760263944..366a743493df 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -37,7 +37,7 @@ public final class ServiceEndpointPolicyPropertiesFormat /* * The provisioning state of the service endpoint policy resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The alias indicating if the policy belongs to a service @@ -101,7 +101,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -202,7 +202,7 @@ public static ServiceEndpointPolicyPropertiesFormat fromJson(JsonReader jsonRead deserializedServiceEndpointPolicyPropertiesFormat.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedServiceEndpointPolicyPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("serviceAlias".equals(fieldName)) { deserializedServiceEndpointPolicyPropertiesFormat.serviceAlias = reader.getString(); } else if ("contextualServiceEndpointPolicies".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java index a168f41e374c..98f808e7dcf4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * Properties of the service gateway address location. */ -@Fluent +@Immutable public final class ServiceGatewayAddressLocationResponseInner implements JsonSerializable { /* @@ -32,7 +32,7 @@ public final class ServiceGatewayAddressLocationResponseInner /** * Creates an instance of ServiceGatewayAddressLocationResponseInner class. */ - public ServiceGatewayAddressLocationResponseInner() { + private ServiceGatewayAddressLocationResponseInner() { } /** @@ -44,17 +44,6 @@ public String addressLocation() { return this.addressLocation; } - /** - * Set the addressLocation property: Location to update. - * - * @param addressLocation the addressLocation value to set. - * @return the ServiceGatewayAddressLocationResponseInner object itself. - */ - public ServiceGatewayAddressLocationResponseInner withAddressLocation(String addressLocation) { - this.addressLocation = addressLocation; - return this; - } - /** * Get the addresses property: An array of addresses to create or update in locations. * @@ -64,17 +53,6 @@ public List addresses() { return this.addresses; } - /** - * Set the addresses property: An array of addresses to create or update in locations. - * - * @param addresses the addresses value to set. - * @return the ServiceGatewayAddressLocationResponseInner object itself. - */ - public ServiceGatewayAddressLocationResponseInner withAddresses(List addresses) { - this.addresses = addresses; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java index 9e557dc0bf40..b123fcb28167 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java @@ -1,16 +1,17 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.Resource; +import com.azure.core.management.SystemData; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.CommonTrackedResource; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; import com.azure.resourcemanager.network.models.ServiceGatewaySku; import java.io.IOException; import java.util.List; @@ -20,7 +21,7 @@ * ServiceGateway resource. */ @Fluent -public final class ServiceGatewayInner extends Resource { +public final class ServiceGatewayInner extends CommonTrackedResource { /* * Properties of service gateway. */ @@ -46,20 +47,21 @@ public final class ServiceGatewayInner extends Resource { /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SecurityPerimeterSystemData systemData; + private SystemData systemData; /* - * The type of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ private String type; /* - * The name of the resource. + * The name of the resource */ private String name; /* - * Fully qualified resource Id for the resource. + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ private String id; @@ -138,12 +140,14 @@ public ServiceGatewayInner withZones(List zones) { * * @return the systemData value. */ - public SecurityPerimeterSystemData systemData() { + @Override + public SystemData systemData() { return this.systemData; } /** - * Get the type property: The type of the resource. + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * * @return the type value. */ @@ -163,7 +167,8 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * * @return the id value. */ @@ -176,8 +181,8 @@ public String id() { * {@inheritDoc} */ @Override - public ServiceGatewayInner withLocation(String location) { - super.withLocation(location); + public ServiceGatewayInner withTags(Map tags) { + super.withTags(tags); return this; } @@ -185,8 +190,8 @@ public ServiceGatewayInner withLocation(String location) { * {@inheritDoc} */ @Override - public ServiceGatewayInner withTags(Map tags) { - super.withTags(tags); + public ServiceGatewayInner withLocation(String location) { + super.withLocation(location); return this; } @@ -282,6 +287,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -289,11 +295,14 @@ public void validate() { if (sku() != null) { sku().validate(); } - if (systemData() != null) { - systemData().validate(); + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property location in model ServiceGatewayInner")); } } + private static final ClientLogger LOGGER = new ClientLogger(ServiceGatewayInner.class); + /** * {@inheritDoc} */ @@ -324,14 +333,16 @@ public static ServiceGatewayInner fromJson(JsonReader jsonReader) throws IOExcep String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { + if ("location".equals(fieldName)) { + deserializedServiceGatewayInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { deserializedServiceGatewayInner.id = reader.getString(); } else if ("name".equals(fieldName)) { deserializedServiceGatewayInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedServiceGatewayInner.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedServiceGatewayInner.withLocation(reader.getString()); + } else if ("systemData".equals(fieldName)) { + deserializedServiceGatewayInner.systemData = SystemData.fromJson(reader); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedServiceGatewayInner.withTags(tags); @@ -345,8 +356,6 @@ public static ServiceGatewayInner fromJson(JsonReader jsonReader) throws IOExcep } else if ("zones".equals(fieldName)) { List zones = reader.readArray(reader1 -> reader1.getString()); deserializedServiceGatewayInner.zones = zones; - } else if ("systemData".equals(fieldName)) { - deserializedServiceGatewayInner.systemData = SecurityPerimeterSystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java index 57f6bd41e727..f7690f52c2d1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java index 4fae0f6692d7..b40d7185d58e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java index 34a23c97fa92..da72da088f33 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java index a0a9767b8d4f..ef0686b52c9e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java index 211eb22ef5cf..eee62c2cfc67 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -40,7 +40,7 @@ public final class ServiceTagInformationInner implements JsonSerializable { /* @@ -26,7 +26,7 @@ public final class SignatureOverridesFilterValuesResponseInner /** * Creates an instance of SignatureOverridesFilterValuesResponseInner class. */ - public SignatureOverridesFilterValuesResponseInner() { + private SignatureOverridesFilterValuesResponseInner() { } /** @@ -38,17 +38,6 @@ public List filterValues() { return this.filterValues; } - /** - * Set the filterValues property: Describes the possible values. - * - * @param filterValues the filterValues value to set. - * @return the SignatureOverridesFilterValuesResponseInner object itself. - */ - public SignatureOverridesFilterValuesResponseInner withFilterValues(List filterValues) { - this.filterValues = filterValues; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java index a07aff2dc87c..ff235dafbfd3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java @@ -1,37 +1,22 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.ProxyResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.SignaturesOverridesProperties; +import com.azure.resourcemanager.network.models.WritableResource; import java.io.IOException; /** * Contains all specific policy signatures overrides for the IDPS. */ @Fluent -public final class SignaturesOverridesInner extends ProxyResource { - /* - * Contains the name of the resource (default) - */ - private String name; - - /* - * Will contain the resource id of the signature override resource - */ - private String id; - - /* - * Will contain the type of the resource: Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides - */ - private String type; - +public final class SignaturesOverridesInner extends WritableResource { /* * Will contain the properties of the resource (the actual signature overrides) */ @@ -44,84 +29,49 @@ public SignaturesOverridesInner() { } /** - * Get the name property: Contains the name of the resource (default). + * Get the properties property: Will contain the properties of the resource (the actual signature overrides). * - * @return the name value. + * @return the properties value. */ - public String name() { - return this.name; + public SignaturesOverridesProperties properties() { + return this.properties; } /** - * Set the name property: Contains the name of the resource (default). + * Set the properties property: Will contain the properties of the resource (the actual signature overrides). * - * @param name the name value to set. + * @param properties the properties value to set. * @return the SignaturesOverridesInner object itself. */ - public SignaturesOverridesInner withName(String name) { - this.name = name; + public SignaturesOverridesInner withProperties(SignaturesOverridesProperties properties) { + this.properties = properties; return this; } /** - * Get the id property: Will contain the resource id of the signature override resource. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Will contain the resource id of the signature override resource. - * - * @param id the id value to set. - * @return the SignaturesOverridesInner object itself. + * {@inheritDoc} */ + @Override public SignaturesOverridesInner withId(String id) { - this.id = id; + super.withId(id); return this; } /** - * Get the type property: Will contain the type of the resource: - * Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Set the type property: Will contain the type of the resource: - * Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides. - * - * @param type the type value to set. - * @return the SignaturesOverridesInner object itself. + * {@inheritDoc} */ - public SignaturesOverridesInner withType(String type) { - this.type = type; + @Override + public SignaturesOverridesInner withName(String name) { + super.withName(name); return this; } /** - * Get the properties property: Will contain the properties of the resource (the actual signature overrides). - * - * @return the properties value. - */ - public SignaturesOverridesProperties properties() { - return this.properties; - } - - /** - * Set the properties property: Will contain the properties of the resource (the actual signature overrides). - * - * @param properties the properties value to set. - * @return the SignaturesOverridesInner object itself. + * {@inheritDoc} */ - public SignaturesOverridesInner withProperties(SignaturesOverridesProperties properties) { - this.properties = properties; + @Override + public SignaturesOverridesInner withType(String type) { + super.withType(type); return this; } @@ -130,6 +80,7 @@ public SignaturesOverridesInner withProperties(SignaturesOverridesProperties pro * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (properties() != null) { properties().validate(); @@ -142,9 +93,9 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); + jsonWriter.writeStringField("type", type()); jsonWriter.writeJsonField("properties", this.properties); return jsonWriter.writeEndObject(); } @@ -155,7 +106,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of SignaturesOverridesInner 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 SignaturesOverridesInner. */ public static SignaturesOverridesInner fromJson(JsonReader jsonReader) throws IOException { @@ -165,12 +115,12 @@ public static SignaturesOverridesInner fromJson(JsonReader jsonReader) throws IO String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { - deserializedSignaturesOverridesInner.name = reader.getString(); - } else if ("id".equals(fieldName)) { - deserializedSignaturesOverridesInner.id = reader.getString(); + if ("id".equals(fieldName)) { + deserializedSignaturesOverridesInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedSignaturesOverridesInner.withName(reader.getString()); } else if ("type".equals(fieldName)) { - deserializedSignaturesOverridesInner.type = reader.getString(); + deserializedSignaturesOverridesInner.withType(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedSignaturesOverridesInner.properties = SignaturesOverridesProperties.fromJson(reader); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java index efd102240d2f..eefaece3ebb8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -29,17 +29,18 @@ public final class StaticCidrInner extends CommonProxyResource { private SystemData systemData; /* - * The type of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ private String type; /* - * The name of the resource. + * The name of the resource */ private String name; /* - * Fully qualified resource Id for the resource. + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ private String id; @@ -80,7 +81,8 @@ public SystemData systemData() { } /** - * Get the type property: The type of the resource. + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * * @return the type value. */ @@ -100,7 +102,8 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * * @return the id value. */ @@ -137,7 +140,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of StaticCidrInner 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 StaticCidrInner. */ public static StaticCidrInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java index 1045d7f3e495..a231dd0f4937 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ChildResource; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -34,17 +34,17 @@ public final class StaticMemberInner extends ChildResource { private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -83,7 +83,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -93,7 +93,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -103,7 +103,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -149,7 +149,7 @@ public String region() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -181,7 +181,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of StaticMemberInner 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 StaticMemberInner. */ public static StaticMemberInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java index 9b0bc1f79e0a..674acb844b92 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -30,7 +30,7 @@ public final class StaticMemberProperties implements JsonSerializable applicationGatewayIpConfigurations() { - return this.innerProperties() == null ? null : this.innerProperties().applicationGatewayIpConfigurations(); + public List applicationGatewayIPConfigurations() { + return this.innerProperties() == null ? null : this.innerProperties().applicationGatewayIPConfigurations(); } /** - * Set the applicationGatewayIpConfigurations property: Application gateway IP configurations of virtual network + * Set the applicationGatewayIPConfigurations property: Application gateway IP configurations of virtual network * resource. * - * @param applicationGatewayIpConfigurations the applicationGatewayIpConfigurations value to set. + * @param applicationGatewayIPConfigurations the applicationGatewayIPConfigurations value to set. * @return the SubnetInner object itself. */ - public SubnetInner withApplicationGatewayIpConfigurations( - List applicationGatewayIpConfigurations) { + public SubnetInner withApplicationGatewayIPConfigurations( + List applicationGatewayIPConfigurations) { if (this.innerProperties() == null) { this.innerProperties = new SubnetPropertiesFormatInner(); } - this.innerProperties().withApplicationGatewayIpConfigurations(applicationGatewayIpConfigurations); + this.innerProperties().withApplicationGatewayIPConfigurations(applicationGatewayIPConfigurations); return this; } @@ -574,6 +547,7 @@ public SubnetInner withServiceGateway(SubResource serviceGateway) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -587,9 +561,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("type", this.type); return jsonWriter.writeEndObject(); } @@ -610,14 +583,14 @@ public static SubnetInner fromJson(JsonReader jsonReader) throws IOException { if ("id".equals(fieldName)) { deserializedSubnetInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedSubnetInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedSubnetInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedSubnetInner.innerProperties = SubnetPropertiesFormatInner.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedSubnetInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedSubnetInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedSubnetInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java index 3947dab720e2..fdcb1aa82d31 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.Delegation; import com.azure.resourcemanager.network.models.IpamPoolPrefixAllocation; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ResourceNavigationLink; import com.azure.resourcemanager.network.models.ServiceAssociationLink; import com.azure.resourcemanager.network.models.ServiceEndpointPropertiesFormat; @@ -106,7 +106,7 @@ public final class SubnetPropertiesFormatInner implements JsonSerializable applicationGatewayIpConfigurations; + private List applicationGatewayIPConfigurations; /* * Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property @@ -392,7 +392,7 @@ public String purpose() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -443,25 +443,25 @@ public SubnetPropertiesFormatInner withPrivateLinkServiceNetworkPolicies( } /** - * Get the applicationGatewayIpConfigurations property: Application gateway IP configurations of virtual network + * Get the applicationGatewayIPConfigurations property: Application gateway IP configurations of virtual network * resource. * - * @return the applicationGatewayIpConfigurations value. + * @return the applicationGatewayIPConfigurations value. */ - public List applicationGatewayIpConfigurations() { - return this.applicationGatewayIpConfigurations; + public List applicationGatewayIPConfigurations() { + return this.applicationGatewayIPConfigurations; } /** - * Set the applicationGatewayIpConfigurations property: Application gateway IP configurations of virtual network + * Set the applicationGatewayIPConfigurations property: Application gateway IP configurations of virtual network * resource. * - * @param applicationGatewayIpConfigurations the applicationGatewayIpConfigurations value to set. + * @param applicationGatewayIPConfigurations the applicationGatewayIPConfigurations value to set. * @return the SubnetPropertiesFormatInner object itself. */ - public SubnetPropertiesFormatInner withApplicationGatewayIpConfigurations( - List applicationGatewayIpConfigurations) { - this.applicationGatewayIpConfigurations = applicationGatewayIpConfigurations; + public SubnetPropertiesFormatInner withApplicationGatewayIPConfigurations( + List applicationGatewayIPConfigurations) { + this.applicationGatewayIPConfigurations = applicationGatewayIPConfigurations; return this; } @@ -588,8 +588,8 @@ public void validate() { if (delegations() != null) { delegations().forEach(e -> e.validate()); } - if (applicationGatewayIpConfigurations() != null) { - applicationGatewayIpConfigurations().forEach(e -> e.validate()); + if (applicationGatewayIPConfigurations() != null) { + applicationGatewayIPConfigurations().forEach(e -> e.validate()); } if (ipamPoolPrefixAllocations() != null) { ipamPoolPrefixAllocations().forEach(e -> e.validate()); @@ -618,7 +618,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { this.privateEndpointNetworkPolicies == null ? null : this.privateEndpointNetworkPolicies.toString()); jsonWriter.writeStringField("privateLinkServiceNetworkPolicies", this.privateLinkServiceNetworkPolicies == null ? null : this.privateLinkServiceNetworkPolicies.toString()); - jsonWriter.writeArrayField("applicationGatewayIPConfigurations", this.applicationGatewayIpConfigurations, + jsonWriter.writeArrayField("applicationGatewayIPConfigurations", this.applicationGatewayIPConfigurations, (writer, element) -> writer.writeJson(element)); jsonWriter.writeStringField("sharingScope", this.sharingScope == null ? null : this.sharingScope.toString()); jsonWriter.writeBooleanField("defaultOutboundAccess", this.defaultOutboundAccess); @@ -693,7 +693,7 @@ public static SubnetPropertiesFormatInner fromJson(JsonReader jsonReader) throws deserializedSubnetPropertiesFormatInner.purpose = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedSubnetPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("privateEndpointNetworkPolicies".equals(fieldName)) { deserializedSubnetPropertiesFormatInner.privateEndpointNetworkPolicies = VirtualNetworkPrivateEndpointNetworkPolicies.fromString(reader.getString()); @@ -701,10 +701,10 @@ public static SubnetPropertiesFormatInner fromJson(JsonReader jsonReader) throws deserializedSubnetPropertiesFormatInner.privateLinkServiceNetworkPolicies = VirtualNetworkPrivateLinkServiceNetworkPolicies.fromString(reader.getString()); } else if ("applicationGatewayIPConfigurations".equals(fieldName)) { - List applicationGatewayIpConfigurations + List applicationGatewayIPConfigurations = reader.readArray(reader1 -> ApplicationGatewayIpConfigurationInner.fromJson(reader1)); - deserializedSubnetPropertiesFormatInner.applicationGatewayIpConfigurations - = applicationGatewayIpConfigurations; + deserializedSubnetPropertiesFormatInner.applicationGatewayIPConfigurations + = applicationGatewayIPConfigurations; } else if ("sharingScope".equals(fieldName)) { deserializedSubnetPropertiesFormatInner.sharingScope = SharingScope.fromString(reader.getString()); } else if ("defaultOutboundAccess".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java index d8b6fca06246..9d91876362bf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java @@ -1,14 +1,14 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.ProxyResourceWithReadOnlyID; import com.azure.resourcemanager.network.models.SwapResourceProperties; import java.io.IOException; @@ -16,26 +16,26 @@ * SwapResource to represent slot type on the specified cloud service. */ @Fluent -public final class SwapResourceInner implements JsonSerializable { +public final class SwapResourceInner extends ProxyResourceWithReadOnlyID { /* - * Resource Id. + * Swap resource properties */ - private String id; + private SwapResourceProperties properties; /* - * Resource name. + * Resource type. */ - private String name; + private String type; /* - * Resource type. + * Resource name. */ - private String type; + private String name; /* - * Swap resource properties + * Resource ID. */ - private SwapResourceProperties properties; + private String id; /** * Creates an instance of SwapResourceInner class. @@ -44,21 +44,23 @@ public SwapResourceInner() { } /** - * Get the id property: Resource Id. + * Get the properties property: Swap resource properties. * - * @return the id value. + * @return the properties value. */ - public String id() { - return this.id; + public SwapResourceProperties properties() { + return this.properties; } /** - * Get the name property: Resource name. + * Set the properties property: Swap resource properties. * - * @return the name value. + * @param properties the properties value to set. + * @return the SwapResourceInner object itself. */ - public String name() { - return this.name; + public SwapResourceInner withProperties(SwapResourceProperties properties) { + this.properties = properties; + return this; } /** @@ -66,28 +68,29 @@ public String name() { * * @return the type value. */ + @Override public String type() { return this.type; } /** - * Get the properties property: Swap resource properties. + * Get the name property: Resource name. * - * @return the properties value. + * @return the name value. */ - public SwapResourceProperties properties() { - return this.properties; + @Override + public String name() { + return this.name; } /** - * Set the properties property: Swap resource properties. + * Get the id property: Resource ID. * - * @param properties the properties value to set. - * @return the SwapResourceInner object itself. + * @return the id value. */ - public SwapResourceInner withProperties(SwapResourceProperties properties) { - this.properties = properties; - return this; + @Override + public String id() { + return this.id; } /** @@ -95,6 +98,7 @@ public SwapResourceInner withProperties(SwapResourceProperties properties) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (properties() != null) { properties().validate(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java index 1cd686f04fc1..496381ecd8fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -18,7 +18,7 @@ /** * Topology of the specified resource group. */ -@Fluent +@Immutable public final class TopologyInner implements JsonSerializable { /* * GUID representing the operation id. @@ -43,7 +43,7 @@ public final class TopologyInner implements JsonSerializable { /** * Creates an instance of TopologyInner class. */ - public TopologyInner() { + private TopologyInner() { } /** @@ -82,17 +82,6 @@ public List resources() { return this.resources; } - /** - * Set the resources property: A list of topology resources. - * - * @param resources the resources value to set. - * @return the TopologyInner object itself. - */ - public TopologyInner withResources(List resources) { - this.resources = resources; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java index 7cd2c909b33d..9b0752a70ef3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java index 2e2487c9ea48..2b718aa36f6a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -19,7 +19,7 @@ /** * Troubleshooting information gained from specified resource. */ -@Fluent +@Immutable public final class TroubleshootingResultInner implements JsonSerializable { /* * The start time of the troubleshooting. @@ -44,7 +44,7 @@ public final class TroubleshootingResultInner implements JsonSerializable results() { return this.results; } - /** - * Set the results property: Information from troubleshooting. - * - * @param results the results value to set. - * @return the TroubleshootingResultInner object itself. - */ - public TroubleshootingResultInner withResults(List results) { - this.results = results; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java index 683b2a131411..fc40878a1bf2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The network resource usage. */ -@Fluent +@Immutable public final class UsageInner implements JsonSerializable { /* * Resource identifier. @@ -47,7 +47,7 @@ public final class UsageInner implements JsonSerializable { /** * Creates an instance of UsageInner class. */ - public UsageInner() { + private UsageInner() { } /** @@ -68,17 +68,6 @@ public UsageUnit unit() { return this.unit; } - /** - * Set the unit property: An enum describing the unit of measurement. - * - * @param unit the unit value to set. - * @return the UsageInner object itself. - */ - public UsageInner withUnit(UsageUnit unit) { - this.unit = unit; - return this; - } - /** * Get the currentValue property: The current value of the usage. * @@ -88,17 +77,6 @@ public long currentValue() { return this.currentValue; } - /** - * Set the currentValue property: The current value of the usage. - * - * @param currentValue the currentValue value to set. - * @return the UsageInner object itself. - */ - public UsageInner withCurrentValue(long currentValue) { - this.currentValue = currentValue; - return this; - } - /** * Get the limit property: The limit of usage. * @@ -108,17 +86,6 @@ public long limit() { return this.limit; } - /** - * Set the limit property: The limit of usage. - * - * @param limit the limit value to set. - * @return the UsageInner object itself. - */ - public UsageInner withLimit(long limit) { - this.limit = limit; - return this; - } - /** * Get the name property: The name of the type of usage. * @@ -128,17 +95,6 @@ public UsageName name() { return this.name; } - /** - * Set the name property: The name of the type of usage. - * - * @param name the name value to set. - * @return the UsageInner object itself. - */ - public UsageInner withName(UsageName name) { - this.name = name; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java index fe288c8e7c2e..426e8d408e91 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Results of IP flow verification on the target resource. */ -@Fluent +@Immutable public final class VerificationIpFlowResultInner implements JsonSerializable { /* * Indicates whether the traffic is allowed or denied. @@ -30,7 +30,7 @@ public final class VerificationIpFlowResultInner implements JsonSerializable tags = reader.readMap(reader1 -> reader1.getString()); deserializedVerifierWorkspaceInner.withTags(tags); @@ -207,6 +208,8 @@ public static VerifierWorkspaceInner fromJson(JsonReader jsonReader) throws IOEx deserializedVerifierWorkspaceInner.properties = VerifierWorkspaceProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVerifierWorkspaceInner.etag = reader.getString(); + } else if ("systemData".equals(fieldName)) { + deserializedVerifierWorkspaceInner.systemData = SystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java index 82a82c38fa7e..c9928c297c05 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java @@ -1,40 +1,35 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.Office365PolicyProperties; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** * Virtual Appliance Site resource. */ @Fluent -public final class VirtualApplianceSiteInner extends SubResource { +public final class VirtualApplianceSiteInner extends SubResourceModel { /* * The properties of the Virtual Appliance Sites. */ private VirtualApplianceSiteProperties innerProperties; - /* - * Name of the virtual appliance site. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Site type. + * Resource type. */ private String type; @@ -53,26 +48,6 @@ private VirtualApplianceSiteProperties innerProperties() { return this.innerProperties; } - /** - * Get the name property: Name of the virtual appliance site. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Name of the virtual appliance site. - * - * @param name the name value to set. - * @return the VirtualApplianceSiteInner object itself. - */ - public VirtualApplianceSiteInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -83,10 +58,11 @@ public String etag() { } /** - * Get the type property: Site type. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -100,6 +76,15 @@ public VirtualApplianceSiteInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public VirtualApplianceSiteInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the addressPrefix property: Address Prefix. * @@ -151,7 +136,7 @@ public VirtualApplianceSiteInner withO365Policy(Office365PolicyProperties o365Po * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -160,6 +145,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -173,8 +159,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -195,15 +181,15 @@ public static VirtualApplianceSiteInner fromJson(JsonReader jsonReader) throws I if ("id".equals(fieldName)) { deserializedVirtualApplianceSiteInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedVirtualApplianceSiteInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedVirtualApplianceSiteInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedVirtualApplianceSiteInner.innerProperties = VirtualApplianceSiteProperties.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedVirtualApplianceSiteInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedVirtualApplianceSiteInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedVirtualApplianceSiteInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java index ce4b5e59d32d..6d8f0929bbc9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,8 +9,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.Office365PolicyProperties; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -31,7 +31,7 @@ public final class VirtualApplianceSiteProperties implements JsonSerializable { +@Immutable +public final class VirtualHubEffectiveRouteInner implements JsonSerializable { /* * The list of address prefixes. */ @@ -43,9 +43,9 @@ public final class VirtualHubEffectiveRoute implements JsonSerializable addressPrefixes() { return this.addressPrefixes; } - /** - * Set the addressPrefixes property: The list of address prefixes. - * - * @param addressPrefixes the addressPrefixes value to set. - * @return the VirtualHubEffectiveRoute object itself. - */ - public VirtualHubEffectiveRoute withAddressPrefixes(List addressPrefixes) { - this.addressPrefixes = addressPrefixes; - return this; - } - /** * Get the nextHops property: The list of next hops. * @@ -77,17 +66,6 @@ public List nextHops() { return this.nextHops; } - /** - * Set the nextHops property: The list of next hops. - * - * @param nextHops the nextHops value to set. - * @return the VirtualHubEffectiveRoute object itself. - */ - public VirtualHubEffectiveRoute withNextHops(List nextHops) { - this.nextHops = nextHops; - return this; - } - /** * Get the nextHopType property: The type of the next hop. * @@ -97,17 +75,6 @@ public String nextHopType() { return this.nextHopType; } - /** - * Set the nextHopType property: The type of the next hop. - * - * @param nextHopType the nextHopType value to set. - * @return the VirtualHubEffectiveRoute object itself. - */ - public VirtualHubEffectiveRoute withNextHopType(String nextHopType) { - this.nextHopType = nextHopType; - return this; - } - /** * Get the asPath property: The ASPath of this route. * @@ -117,17 +84,6 @@ public String asPath() { return this.asPath; } - /** - * Set the asPath property: The ASPath of this route. - * - * @param asPath the asPath value to set. - * @return the VirtualHubEffectiveRoute object itself. - */ - public VirtualHubEffectiveRoute withAsPath(String asPath) { - this.asPath = asPath; - return this; - } - /** * Get the routeOrigin property: The origin of this route. * @@ -137,17 +93,6 @@ public String routeOrigin() { return this.routeOrigin; } - /** - * Set the routeOrigin property: The origin of this route. - * - * @param routeOrigin the routeOrigin value to set. - * @return the VirtualHubEffectiveRoute object itself. - */ - public VirtualHubEffectiveRoute withRouteOrigin(String routeOrigin) { - this.routeOrigin = routeOrigin; - return this; - } - /** * Validates the instance. * @@ -172,38 +117,39 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of VirtualHubEffectiveRoute from the JsonReader. + * Reads an instance of VirtualHubEffectiveRouteInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VirtualHubEffectiveRoute 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 VirtualHubEffectiveRoute. + * @return An instance of VirtualHubEffectiveRouteInner 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 VirtualHubEffectiveRouteInner. */ - public static VirtualHubEffectiveRoute fromJson(JsonReader jsonReader) throws IOException { + public static VirtualHubEffectiveRouteInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VirtualHubEffectiveRoute deserializedVirtualHubEffectiveRoute = new VirtualHubEffectiveRoute(); + VirtualHubEffectiveRouteInner deserializedVirtualHubEffectiveRouteInner + = new VirtualHubEffectiveRouteInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("addressPrefixes".equals(fieldName)) { List addressPrefixes = reader.readArray(reader1 -> reader1.getString()); - deserializedVirtualHubEffectiveRoute.addressPrefixes = addressPrefixes; + deserializedVirtualHubEffectiveRouteInner.addressPrefixes = addressPrefixes; } else if ("nextHops".equals(fieldName)) { List nextHops = reader.readArray(reader1 -> reader1.getString()); - deserializedVirtualHubEffectiveRoute.nextHops = nextHops; + deserializedVirtualHubEffectiveRouteInner.nextHops = nextHops; } else if ("nextHopType".equals(fieldName)) { - deserializedVirtualHubEffectiveRoute.nextHopType = reader.getString(); + deserializedVirtualHubEffectiveRouteInner.nextHopType = reader.getString(); } else if ("asPath".equals(fieldName)) { - deserializedVirtualHubEffectiveRoute.asPath = reader.getString(); + deserializedVirtualHubEffectiveRouteInner.asPath = reader.getString(); } else if ("routeOrigin".equals(fieldName)) { - deserializedVirtualHubEffectiveRoute.routeOrigin = reader.getString(); + deserializedVirtualHubEffectiveRouteInner.routeOrigin = reader.getString(); } else { reader.skipChildren(); } } - return deserializedVirtualHubEffectiveRoute; + return deserializedVirtualHubEffectiveRouteInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java deleted file mode 100644 index 2b569ef0bff7..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.network.fluent.models; - -import com.azure.core.annotation.Fluent; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.VirtualHubEffectiveRoute; -import java.io.IOException; -import java.util.List; - -/** - * EffectiveRoutes List. - */ -@Fluent -public final class VirtualHubEffectiveRouteListInner implements JsonSerializable { - /* - * The list of effective routes configured on the virtual hub or the specified resource. - */ - private List value; - - /** - * Creates an instance of VirtualHubEffectiveRouteListInner class. - */ - public VirtualHubEffectiveRouteListInner() { - } - - /** - * Get the value property: The list of effective routes configured on the virtual hub or the specified resource. - * - * @return the value value. - */ - public List value() { - return this.value; - } - - /** - * Set the value property: The list of effective routes configured on the virtual hub or the specified resource. - * - * @param value the value value to set. - * @return the VirtualHubEffectiveRouteListInner object itself. - */ - public VirtualHubEffectiveRouteListInner withValue(List value) { - this.value = value; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (value() != null) { - value().forEach(e -> e.validate()); - } - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of VirtualHubEffectiveRouteListInner from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of VirtualHubEffectiveRouteListInner 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 VirtualHubEffectiveRouteListInner. - */ - public static VirtualHubEffectiveRouteListInner fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - VirtualHubEffectiveRouteListInner deserializedVirtualHubEffectiveRouteListInner - = new VirtualHubEffectiveRouteListInner(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> VirtualHubEffectiveRoute.fromJson(reader1)); - deserializedVirtualHubEffectiveRouteListInner.value = value; - } else { - reader.skipChildren(); - } - } - - return deserializedVirtualHubEffectiveRouteListInner; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java index dd14a9193dbf..8402196d2d36 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java @@ -1,18 +1,19 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.Resource; import com.azure.core.management.SubResource; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.HubRoutingPreference; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PreferredRoutingGateway; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; import com.azure.resourcemanager.network.models.RoutingState; import com.azure.resourcemanager.network.models.VirtualHubRouteTable; import com.azure.resourcemanager.network.models.VirtualRouterAutoScaleConfiguration; @@ -24,7 +25,7 @@ * VirtualHub Resource. */ @Fluent -public final class VirtualHubInner extends Resource { +public final class VirtualHubInner extends ResourceWithRequiredLocation { /* * Properties of the virtual hub. */ @@ -41,17 +42,12 @@ public final class VirtualHubInner extends Resource { private String kind; /* - * Resource ID. - */ - private String id; - - /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; @@ -90,27 +86,7 @@ public String kind() { } /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the VirtualHubInner object itself. - */ - public VirtualHubInner withId(String id) { - this.id = id; - return this; - } - - /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -120,7 +96,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -129,6 +105,15 @@ public String name() { return this.name; } + /** + * {@inheritDoc} + */ + @Override + public VirtualHubInner withId(String id) { + super.withId(id); + return this; + } + /** * {@inheritDoc} */ @@ -336,7 +321,7 @@ public VirtualHubInner withRouteTable(VirtualHubRouteTable routeTable) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -364,27 +349,27 @@ public VirtualHubInner withSecurityProviderName(String securityProviderName) { } /** - * Get the virtualHubRouteTableV2S property: List of all virtual hub route table v2s associated with this + * Get the virtualHubRouteTableV2s property: List of all virtual hub route table v2s associated with this * VirtualHub. * - * @return the virtualHubRouteTableV2S value. + * @return the virtualHubRouteTableV2s value. */ - public List virtualHubRouteTableV2S() { - return this.innerProperties() == null ? null : this.innerProperties().virtualHubRouteTableV2S(); + public List virtualHubRouteTableV2s() { + return this.innerProperties() == null ? null : this.innerProperties().virtualHubRouteTableV2s(); } /** - * Set the virtualHubRouteTableV2S property: List of all virtual hub route table v2s associated with this + * Set the virtualHubRouteTableV2s property: List of all virtual hub route table v2s associated with this * VirtualHub. * - * @param virtualHubRouteTableV2S the virtualHubRouteTableV2S value to set. + * @param virtualHubRouteTableV2s the virtualHubRouteTableV2s value to set. * @return the VirtualHubInner object itself. */ - public VirtualHubInner withVirtualHubRouteTableV2S(List virtualHubRouteTableV2S) { + public VirtualHubInner withVirtualHubRouteTableV2s(List virtualHubRouteTableV2s) { if (this.innerProperties() == null) { this.innerProperties = new VirtualHubProperties(); } - this.innerProperties().withVirtualHubRouteTableV2S(virtualHubRouteTableV2S); + this.innerProperties().withVirtualHubRouteTableV2s(virtualHubRouteTableV2s); return this; } @@ -591,12 +576,19 @@ public VirtualHubInner withVirtualRouterAutoScaleConfiguration( * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property location in model VirtualHubInner")); + } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualHubInner.class); + /** * {@inheritDoc} */ @@ -604,9 +596,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); + jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -626,12 +618,14 @@ public static VirtualHubInner fromJson(JsonReader jsonReader) throws IOException String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { + if ("location".equals(fieldName)) { + deserializedVirtualHubInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { + deserializedVirtualHubInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { deserializedVirtualHubInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedVirtualHubInner.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedVirtualHubInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedVirtualHubInner.withTags(tags); @@ -641,8 +635,6 @@ public static VirtualHubInner fromJson(JsonReader jsonReader) throws IOException deserializedVirtualHubInner.etag = reader.getString(); } else if ("kind".equals(fieldName)) { deserializedVirtualHubInner.kind = reader.getString(); - } else if ("id".equals(fieldName)) { - deserializedVirtualHubInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java index a3b66989fb4a..e97eba521de6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,8 +11,8 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.HubRoutingPreference; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PreferredRoutingGateway; -import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingState; import com.azure.resourcemanager.network.models.VirtualHubRouteTable; import com.azure.resourcemanager.network.models.VirtualRouterAutoScaleConfiguration; @@ -67,7 +67,7 @@ public final class VirtualHubProperties implements JsonSerializable virtualHubRouteTableV2S; + private List virtualHubRouteTableV2s; /* * The sku of this VirtualHub. @@ -305,7 +305,7 @@ public VirtualHubProperties withRouteTable(VirtualHubRouteTable routeTable) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -330,24 +330,24 @@ public VirtualHubProperties withSecurityProviderName(String securityProviderName } /** - * Get the virtualHubRouteTableV2S property: List of all virtual hub route table v2s associated with this + * Get the virtualHubRouteTableV2s property: List of all virtual hub route table v2s associated with this * VirtualHub. * - * @return the virtualHubRouteTableV2S value. + * @return the virtualHubRouteTableV2s value. */ - public List virtualHubRouteTableV2S() { - return this.virtualHubRouteTableV2S; + public List virtualHubRouteTableV2s() { + return this.virtualHubRouteTableV2s; } /** - * Set the virtualHubRouteTableV2S property: List of all virtual hub route table v2s associated with this + * Set the virtualHubRouteTableV2s property: List of all virtual hub route table v2s associated with this * VirtualHub. * - * @param virtualHubRouteTableV2S the virtualHubRouteTableV2S value to set. + * @param virtualHubRouteTableV2s the virtualHubRouteTableV2s value to set. * @return the VirtualHubProperties object itself. */ - public VirtualHubProperties withVirtualHubRouteTableV2S(List virtualHubRouteTableV2S) { - this.virtualHubRouteTableV2S = virtualHubRouteTableV2S; + public VirtualHubProperties withVirtualHubRouteTableV2s(List virtualHubRouteTableV2s) { + this.virtualHubRouteTableV2s = virtualHubRouteTableV2s; return this; } @@ -537,8 +537,8 @@ public void validate() { if (routeTable() != null) { routeTable().validate(); } - if (virtualHubRouteTableV2S() != null) { - virtualHubRouteTableV2S().forEach(e -> e.validate()); + if (virtualHubRouteTableV2s() != null) { + virtualHubRouteTableV2s().forEach(e -> e.validate()); } if (virtualRouterAutoScaleConfiguration() != null) { virtualRouterAutoScaleConfiguration().validate(); @@ -560,7 +560,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("addressPrefix", this.addressPrefix); jsonWriter.writeJsonField("routeTable", this.routeTable); jsonWriter.writeStringField("securityProviderName", this.securityProviderName); - jsonWriter.writeArrayField("virtualHubRouteTableV2s", this.virtualHubRouteTableV2S, + jsonWriter.writeArrayField("virtualHubRouteTableV2s", this.virtualHubRouteTableV2s, (writer, element) -> writer.writeJson(element)); jsonWriter.writeStringField("sku", this.sku); jsonWriter.writeNumberField("virtualRouterAsn", this.virtualRouterAsn); @@ -608,13 +608,13 @@ public static VirtualHubProperties fromJson(JsonReader jsonReader) throws IOExce deserializedVirtualHubProperties.routeTable = VirtualHubRouteTable.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualHubProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("securityProviderName".equals(fieldName)) { deserializedVirtualHubProperties.securityProviderName = reader.getString(); } else if ("virtualHubRouteTableV2s".equals(fieldName)) { - List virtualHubRouteTableV2S + List virtualHubRouteTableV2s = reader.readArray(reader1 -> VirtualHubRouteTableV2Inner.fromJson(reader1)); - deserializedVirtualHubProperties.virtualHubRouteTableV2S = virtualHubRouteTableV2S; + deserializedVirtualHubProperties.virtualHubRouteTableV2s = virtualHubRouteTableV2s; } else if ("sku".equals(fieldName)) { deserializedVirtualHubProperties.sku = reader.getString(); } else if ("routingState".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java index 4a2d90d3ae63..829ccbc7373e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VirtualHubRouteV2; import java.io.IOException; import java.util.List; @@ -140,7 +140,7 @@ public VirtualHubRouteTableV2Inner withAttachedConnections(List attached * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java index 7b259743d358..79ce2de2866e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VirtualHubRouteV2; import java.io.IOException; import java.util.List; @@ -32,7 +32,7 @@ public final class VirtualHubRouteTableV2Properties implements JsonSerializable< /* * The provisioning state of the virtual hub route table v2 resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of VirtualHubRouteTableV2Properties class. @@ -85,7 +85,7 @@ public VirtualHubRouteTableV2Properties withAttachedConnections(List att * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -136,7 +136,7 @@ public static VirtualHubRouteTableV2Properties fromJson(JsonReader jsonReader) t deserializedVirtualHubRouteTableV2Properties.attachedConnections = attachedConnections; } else if ("provisioningState".equals(fieldName)) { deserializedVirtualHubRouteTableV2Properties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java index 76567d24024a..c4c315d2519d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkApplianceIpConfiguration; import java.io.IOException; import java.util.List; @@ -164,7 +164,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java index f2ae189d40e2..bb9697cf71e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java @@ -1,29 +1,29 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +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.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** * Properties of virtual network appliance IP configuration. */ -@Fluent +@Immutable public final class VirtualNetworkApplianceIpConfigurationProperties implements JsonSerializable { /* * The private IP address of the IP configuration. */ - private String privateIpAddress; + private String privateIPAddress; /* * The private IP address allocation method. @@ -38,7 +38,7 @@ public final class VirtualNetworkApplianceIpConfigurationProperties /* * The provisioning state of the private link service IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. @@ -48,27 +48,16 @@ public final class VirtualNetworkApplianceIpConfigurationProperties /** * Creates an instance of VirtualNetworkApplianceIpConfigurationProperties class. */ - public VirtualNetworkApplianceIpConfigurationProperties() { + private VirtualNetworkApplianceIpConfigurationProperties() { } /** - * Get the privateIpAddress property: The private IP address of the IP configuration. + * Get the privateIPAddress property: The private IP address of the IP configuration. * - * @return the privateIpAddress value. + * @return the privateIPAddress value. */ - public String privateIpAddress() { - return this.privateIpAddress; - } - - /** - * Set the privateIpAddress property: The private IP address of the IP configuration. - * - * @param privateIpAddress the privateIpAddress value to set. - * @return the VirtualNetworkApplianceIpConfigurationProperties object itself. - */ - public VirtualNetworkApplianceIpConfigurationProperties withPrivateIpAddress(String privateIpAddress) { - this.privateIpAddress = privateIpAddress; - return this; + public String privateIPAddress() { + return this.privateIPAddress; } /** @@ -80,18 +69,6 @@ public IpAllocationMethod privateIpAllocationMethod() { return this.privateIpAllocationMethod; } - /** - * Set the privateIpAllocationMethod property: The private IP address allocation method. - * - * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the VirtualNetworkApplianceIpConfigurationProperties object itself. - */ - public VirtualNetworkApplianceIpConfigurationProperties - withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { - this.privateIpAllocationMethod = privateIpAllocationMethod; - return this; - } - /** * Get the primary property: Whether the ip configuration is primary or not. * @@ -101,23 +78,12 @@ public Boolean primary() { return this.primary; } - /** - * Set the primary property: Whether the ip configuration is primary or not. - * - * @param primary the primary value to set. - * @return the VirtualNetworkApplianceIpConfigurationProperties object itself. - */ - public VirtualNetworkApplianceIpConfigurationProperties withPrimary(Boolean primary) { - this.primary = primary; - return this; - } - /** * Get the provisioningState property: The provisioning state of the private link service IP configuration resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -130,18 +96,6 @@ public IpVersion privateIpAddressVersion() { return this.privateIpAddressVersion; } - /** - * Set the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. - * - * @param privateIpAddressVersion the privateIpAddressVersion value to set. - * @return the VirtualNetworkApplianceIpConfigurationProperties object itself. - */ - public VirtualNetworkApplianceIpConfigurationProperties - withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { - this.privateIpAddressVersion = privateIpAddressVersion; - return this; - } - /** * Validates the instance. * @@ -156,7 +110,7 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("privateIPAddress", this.privateIpAddress); + jsonWriter.writeStringField("privateIPAddress", this.privateIPAddress); jsonWriter.writeStringField("privateIPAllocationMethod", this.privateIpAllocationMethod == null ? null : this.privateIpAllocationMethod.toString()); jsonWriter.writeBooleanField("primary", this.primary); @@ -182,7 +136,7 @@ public static VirtualNetworkApplianceIpConfigurationProperties fromJson(JsonRead reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedVirtualNetworkApplianceIpConfigurationProperties.privateIpAddress = reader.getString(); + deserializedVirtualNetworkApplianceIpConfigurationProperties.privateIPAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { deserializedVirtualNetworkApplianceIpConfigurationProperties.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); @@ -191,7 +145,7 @@ public static VirtualNetworkApplianceIpConfigurationProperties fromJson(JsonRead = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkApplianceIpConfigurationProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("privateIPAddressVersion".equals(fieldName)) { deserializedVirtualNetworkApplianceIpConfigurationProperties.privateIpAddressVersion = IpVersion.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java index 4000fa975d34..a22adc8c8764 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkApplianceIpConfiguration; import java.io.IOException; import java.util.List; @@ -33,7 +33,7 @@ public final class VirtualNetworkAppliancePropertiesFormatInner /* * The provisioning state of the virtual network appliance resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The resource GUID property of the virtual network appliance resource. @@ -85,7 +85,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -167,7 +167,7 @@ public static VirtualNetworkAppliancePropertiesFormatInner fromJson(JsonReader j deserializedVirtualNetworkAppliancePropertiesFormatInner.ipConfigurations = ipConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkAppliancePropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedVirtualNetworkAppliancePropertiesFormatInner.resourceGuid = reader.getString(); } else if ("subnet".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java index b5f030623a4f..35df986403dd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.ConnectionAuthenticationType; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.TunnelConnectionHealth; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionMode; @@ -660,7 +660,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java index d52e15f6ab16..3ee3dbeefad4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.Resource; import com.azure.core.management.SubResource; import com.azure.core.util.logging.ClientLogger; @@ -13,7 +13,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.TunnelConnectionHealth; import com.azure.resourcemanager.network.models.VirtualNetworkConnectionGatewayReference; @@ -28,13 +28,12 @@ /** * A common class for general resource information. */ -@Fluent +@Immutable public final class VirtualNetworkGatewayConnectionListEntityInner extends Resource { /* * Properties of the virtual network gateway connection. */ - private VirtualNetworkGatewayConnectionListEntityPropertiesFormat innerProperties - = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); + private VirtualNetworkGatewayConnectionListEntityPropertiesFormat innerProperties; /* * A unique read-only string that changes whenever the resource is updated. @@ -59,7 +58,7 @@ public final class VirtualNetworkGatewayConnectionListEntityInner extends Resour /** * Creates an instance of VirtualNetworkGatewayConnectionListEntityInner class. */ - public VirtualNetworkGatewayConnectionListEntityInner() { + private VirtualNetworkGatewayConnectionListEntityInner() { } /** @@ -89,17 +88,6 @@ public String id() { return this.id; } - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner withId(String id) { - this.id = id; - return this; - } - /** * Get the type property: The type of the resource. * @@ -120,24 +108,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public VirtualNetworkGatewayConnectionListEntityInner withLocation(String location) { - super.withLocation(location); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public VirtualNetworkGatewayConnectionListEntityInner withTags(Map tags) { - super.withTags(tags); - return this; - } - /** * Get the authorizationKey property: The authorizationKey. * @@ -147,20 +117,6 @@ public String authorizationKey() { return this.innerProperties() == null ? null : this.innerProperties().authorizationKey(); } - /** - * Set the authorizationKey property: The authorizationKey. - * - * @param authorizationKey the authorizationKey value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner withAuthorizationKey(String authorizationKey) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withAuthorizationKey(authorizationKey); - return this; - } - /** * Get the virtualNetworkGateway1 property: The reference to virtual network gateway resource. * @@ -170,21 +126,6 @@ public VirtualNetworkConnectionGatewayReference virtualNetworkGateway1() { return this.innerProperties() == null ? null : this.innerProperties().virtualNetworkGateway1(); } - /** - * Set the virtualNetworkGateway1 property: The reference to virtual network gateway resource. - * - * @param virtualNetworkGateway1 the virtualNetworkGateway1 value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withVirtualNetworkGateway1(VirtualNetworkConnectionGatewayReference virtualNetworkGateway1) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withVirtualNetworkGateway1(virtualNetworkGateway1); - return this; - } - /** * Get the virtualNetworkGateway2 property: The reference to virtual network gateway resource. * @@ -194,21 +135,6 @@ public VirtualNetworkConnectionGatewayReference virtualNetworkGateway2() { return this.innerProperties() == null ? null : this.innerProperties().virtualNetworkGateway2(); } - /** - * Set the virtualNetworkGateway2 property: The reference to virtual network gateway resource. - * - * @param virtualNetworkGateway2 the virtualNetworkGateway2 value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withVirtualNetworkGateway2(VirtualNetworkConnectionGatewayReference virtualNetworkGateway2) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withVirtualNetworkGateway2(virtualNetworkGateway2); - return this; - } - /** * Get the localNetworkGateway2 property: The reference to local network gateway resource. * @@ -218,21 +144,6 @@ public VirtualNetworkConnectionGatewayReference localNetworkGateway2() { return this.innerProperties() == null ? null : this.innerProperties().localNetworkGateway2(); } - /** - * Set the localNetworkGateway2 property: The reference to local network gateway resource. - * - * @param localNetworkGateway2 the localNetworkGateway2 value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withLocalNetworkGateway2(VirtualNetworkConnectionGatewayReference localNetworkGateway2) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withLocalNetworkGateway2(localNetworkGateway2); - return this; - } - /** * Get the connectionType property: Gateway connection type. * @@ -242,21 +153,6 @@ public VirtualNetworkGatewayConnectionType connectionType() { return this.innerProperties() == null ? null : this.innerProperties().connectionType(); } - /** - * Set the connectionType property: Gateway connection type. - * - * @param connectionType the connectionType value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withConnectionType(VirtualNetworkGatewayConnectionType connectionType) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withConnectionType(connectionType); - return this; - } - /** * Get the connectionProtocol property: Connection protocol used for this connection. * @@ -266,21 +162,6 @@ public VirtualNetworkGatewayConnectionProtocol connectionProtocol() { return this.innerProperties() == null ? null : this.innerProperties().connectionProtocol(); } - /** - * Set the connectionProtocol property: Connection protocol used for this connection. - * - * @param connectionProtocol the connectionProtocol value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol connectionProtocol) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withConnectionProtocol(connectionProtocol); - return this; - } - /** * Get the routingWeight property: The routing weight. * @@ -290,20 +171,6 @@ public Integer routingWeight() { return this.innerProperties() == null ? null : this.innerProperties().routingWeight(); } - /** - * Set the routingWeight property: The routing weight. - * - * @param routingWeight the routingWeight value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner withRoutingWeight(Integer routingWeight) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withRoutingWeight(routingWeight); - return this; - } - /** * Get the connectionMode property: The connection mode for this connection. * @@ -313,21 +180,6 @@ public VirtualNetworkGatewayConnectionMode connectionMode() { return this.innerProperties() == null ? null : this.innerProperties().connectionMode(); } - /** - * Set the connectionMode property: The connection mode for this connection. - * - * @param connectionMode the connectionMode value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withConnectionMode(VirtualNetworkGatewayConnectionMode connectionMode) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withConnectionMode(connectionMode); - return this; - } - /** * Get the sharedKey property: The IPSec shared key. We will no longer return sharedKey in * VirtualNetworkGatewayConnection Create/Update/Get/List/UpdateTags APIs response. Please use @@ -339,22 +191,6 @@ public String sharedKey() { return this.innerProperties() == null ? null : this.innerProperties().sharedKey(); } - /** - * Set the sharedKey property: The IPSec shared key. We will no longer return sharedKey in - * VirtualNetworkGatewayConnection Create/Update/Get/List/UpdateTags APIs response. Please use - * VirtualNetworkGatewayConnection GetSharedKey API to fetch connection sharedKey. - * - * @param sharedKey the sharedKey value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner withSharedKey(String sharedKey) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withSharedKey(sharedKey); - return this; - } - /** * Get the connectionStatus property: Virtual Network Gateway connection status. * @@ -400,20 +236,6 @@ public SubResource peer() { return this.innerProperties() == null ? null : this.innerProperties().peer(); } - /** - * Set the peer property: The reference to peerings resource. - * - * @param peer the peer value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner withPeer(SubResource peer) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withPeer(peer); - return this; - } - /** * Get the enableBgp property: EnableBgp flag. * @@ -423,20 +245,6 @@ public Boolean enableBgp() { return this.innerProperties() == null ? null : this.innerProperties().enableBgp(); } - /** - * Set the enableBgp property: EnableBgp flag. - * - * @param enableBgp the enableBgp value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner withEnableBgp(Boolean enableBgp) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withEnableBgp(enableBgp); - return this; - } - /** * Get the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway * Connection. @@ -447,22 +255,6 @@ public List gatewayCustomBgpIpAddresse return this.innerProperties() == null ? null : this.innerProperties().gatewayCustomBgpIpAddresses(); } - /** - * Set the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway - * Connection. - * - * @param gatewayCustomBgpIpAddresses the gatewayCustomBgpIpAddresses value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withGatewayCustomBgpIpAddresses(List gatewayCustomBgpIpAddresses) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withGatewayCustomBgpIpAddresses(gatewayCustomBgpIpAddresses); - return this; - } - /** * Get the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors. * @@ -472,21 +264,6 @@ public Boolean usePolicyBasedTrafficSelectors() { return this.innerProperties() == null ? null : this.innerProperties().usePolicyBasedTrafficSelectors(); } - /** - * Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors. - * - * @param usePolicyBasedTrafficSelectors the usePolicyBasedTrafficSelectors value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withUsePolicyBasedTrafficSelectors(usePolicyBasedTrafficSelectors); - return this; - } - /** * Get the ipsecPolicies property: The IPSec Policies to be considered by this connection. * @@ -496,20 +273,6 @@ public List ipsecPolicies() { return this.innerProperties() == null ? null : this.innerProperties().ipsecPolicies(); } - /** - * Set the ipsecPolicies property: The IPSec Policies to be considered by this connection. - * - * @param ipsecPolicies the ipsecPolicies value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner withIpsecPolicies(List ipsecPolicies) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withIpsecPolicies(ipsecPolicies); - return this; - } - /** * Get the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection. * @@ -519,21 +282,6 @@ public List trafficSelectorPolicies() { return this.innerProperties() == null ? null : this.innerProperties().trafficSelectorPolicies(); } - /** - * Set the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection. - * - * @param trafficSelectorPolicies the trafficSelectorPolicies value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withTrafficSelectorPolicies(List trafficSelectorPolicies) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withTrafficSelectorPolicies(trafficSelectorPolicies); - return this; - } - /** * Get the resourceGuid property: The resource GUID property of the virtual network gateway connection resource. * @@ -548,7 +296,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -561,21 +309,6 @@ public Boolean expressRouteGatewayBypass() { return this.innerProperties() == null ? null : this.innerProperties().expressRouteGatewayBypass(); } - /** - * Set the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding. - * - * @param expressRouteGatewayBypass the expressRouteGatewayBypass value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withExpressRouteGatewayBypass(expressRouteGatewayBypass); - return this; - } - /** * Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. * ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. @@ -586,22 +319,6 @@ public Boolean enablePrivateLinkFastPath() { return this.innerProperties() == null ? null : this.innerProperties().enablePrivateLinkFastPath(); } - /** - * Set the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. - * ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. - * - * @param enablePrivateLinkFastPath the enablePrivateLinkFastPath value to set. - * @return the VirtualNetworkGatewayConnectionListEntityInner object itself. - */ - public VirtualNetworkGatewayConnectionListEntityInner - withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath) { - if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayConnectionListEntityPropertiesFormat(); - } - this.innerProperties().withEnablePrivateLinkFastPath(enablePrivateLinkFastPath); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java index ac181775f417..ea7ec9892d77 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; @@ -13,7 +13,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.TunnelConnectionHealth; import com.azure.resourcemanager.network.models.VirtualNetworkConnectionGatewayReference; @@ -27,7 +27,7 @@ /** * VirtualNetworkGatewayConnection properties. */ -@Fluent +@Immutable public final class VirtualNetworkGatewayConnectionListEntityPropertiesFormat implements JsonSerializable { /* @@ -135,7 +135,7 @@ public final class VirtualNetworkGatewayConnectionListEntityPropertiesFormat /* * The provisioning state of the virtual network gateway connection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Bypass ExpressRoute Gateway for data forwarding. @@ -151,7 +151,7 @@ public final class VirtualNetworkGatewayConnectionListEntityPropertiesFormat /** * Creates an instance of VirtualNetworkGatewayConnectionListEntityPropertiesFormat class. */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat() { + private VirtualNetworkGatewayConnectionListEntityPropertiesFormat() { } /** @@ -163,17 +163,6 @@ public String authorizationKey() { return this.authorizationKey; } - /** - * Set the authorizationKey property: The authorizationKey. - * - * @param authorizationKey the authorizationKey value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat withAuthorizationKey(String authorizationKey) { - this.authorizationKey = authorizationKey; - return this; - } - /** * Get the virtualNetworkGateway1 property: The reference to virtual network gateway resource. * @@ -183,18 +172,6 @@ public VirtualNetworkConnectionGatewayReference virtualNetworkGateway1() { return this.virtualNetworkGateway1; } - /** - * Set the virtualNetworkGateway1 property: The reference to virtual network gateway resource. - * - * @param virtualNetworkGateway1 the virtualNetworkGateway1 value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withVirtualNetworkGateway1(VirtualNetworkConnectionGatewayReference virtualNetworkGateway1) { - this.virtualNetworkGateway1 = virtualNetworkGateway1; - return this; - } - /** * Get the virtualNetworkGateway2 property: The reference to virtual network gateway resource. * @@ -204,18 +181,6 @@ public VirtualNetworkConnectionGatewayReference virtualNetworkGateway2() { return this.virtualNetworkGateway2; } - /** - * Set the virtualNetworkGateway2 property: The reference to virtual network gateway resource. - * - * @param virtualNetworkGateway2 the virtualNetworkGateway2 value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withVirtualNetworkGateway2(VirtualNetworkConnectionGatewayReference virtualNetworkGateway2) { - this.virtualNetworkGateway2 = virtualNetworkGateway2; - return this; - } - /** * Get the localNetworkGateway2 property: The reference to local network gateway resource. * @@ -225,18 +190,6 @@ public VirtualNetworkConnectionGatewayReference localNetworkGateway2() { return this.localNetworkGateway2; } - /** - * Set the localNetworkGateway2 property: The reference to local network gateway resource. - * - * @param localNetworkGateway2 the localNetworkGateway2 value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withLocalNetworkGateway2(VirtualNetworkConnectionGatewayReference localNetworkGateway2) { - this.localNetworkGateway2 = localNetworkGateway2; - return this; - } - /** * Get the connectionType property: Gateway connection type. * @@ -246,18 +199,6 @@ public VirtualNetworkGatewayConnectionType connectionType() { return this.connectionType; } - /** - * Set the connectionType property: Gateway connection type. - * - * @param connectionType the connectionType value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withConnectionType(VirtualNetworkGatewayConnectionType connectionType) { - this.connectionType = connectionType; - return this; - } - /** * Get the connectionProtocol property: Connection protocol used for this connection. * @@ -267,18 +208,6 @@ public VirtualNetworkGatewayConnectionProtocol connectionProtocol() { return this.connectionProtocol; } - /** - * Set the connectionProtocol property: Connection protocol used for this connection. - * - * @param connectionProtocol the connectionProtocol value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol connectionProtocol) { - this.connectionProtocol = connectionProtocol; - return this; - } - /** * Get the routingWeight property: The routing weight. * @@ -288,17 +217,6 @@ public Integer routingWeight() { return this.routingWeight; } - /** - * Set the routingWeight property: The routing weight. - * - * @param routingWeight the routingWeight value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat withRoutingWeight(Integer routingWeight) { - this.routingWeight = routingWeight; - return this; - } - /** * Get the connectionMode property: The connection mode for this connection. * @@ -308,18 +226,6 @@ public VirtualNetworkGatewayConnectionMode connectionMode() { return this.connectionMode; } - /** - * Set the connectionMode property: The connection mode for this connection. - * - * @param connectionMode the connectionMode value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withConnectionMode(VirtualNetworkGatewayConnectionMode connectionMode) { - this.connectionMode = connectionMode; - return this; - } - /** * Get the sharedKey property: The IPSec shared key. We will no longer return sharedKey in * VirtualNetworkGatewayConnection Create/Update/Get/List/UpdateTags APIs response. Please use @@ -331,19 +237,6 @@ public String sharedKey() { return this.sharedKey; } - /** - * Set the sharedKey property: The IPSec shared key. We will no longer return sharedKey in - * VirtualNetworkGatewayConnection Create/Update/Get/List/UpdateTags APIs response. Please use - * VirtualNetworkGatewayConnection GetSharedKey API to fetch connection sharedKey. - * - * @param sharedKey the sharedKey value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat withSharedKey(String sharedKey) { - this.sharedKey = sharedKey; - return this; - } - /** * Get the connectionStatus property: Virtual Network Gateway connection status. * @@ -389,17 +282,6 @@ public SubResource peer() { return this.peer; } - /** - * Set the peer property: The reference to peerings resource. - * - * @param peer the peer value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat withPeer(SubResource peer) { - this.peer = peer; - return this; - } - /** * Get the enableBgp property: EnableBgp flag. * @@ -409,17 +291,6 @@ public Boolean enableBgp() { return this.enableBgp; } - /** - * Set the enableBgp property: EnableBgp flag. - * - * @param enableBgp the enableBgp value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat withEnableBgp(Boolean enableBgp) { - this.enableBgp = enableBgp; - return this; - } - /** * Get the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway * Connection. @@ -430,19 +301,6 @@ public List gatewayCustomBgpIpAddresse return this.gatewayCustomBgpIpAddresses; } - /** - * Set the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway - * Connection. - * - * @param gatewayCustomBgpIpAddresses the gatewayCustomBgpIpAddresses value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withGatewayCustomBgpIpAddresses(List gatewayCustomBgpIpAddresses) { - this.gatewayCustomBgpIpAddresses = gatewayCustomBgpIpAddresses; - return this; - } - /** * Get the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors. * @@ -452,18 +310,6 @@ public Boolean usePolicyBasedTrafficSelectors() { return this.usePolicyBasedTrafficSelectors; } - /** - * Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors. - * - * @param usePolicyBasedTrafficSelectors the usePolicyBasedTrafficSelectors value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors) { - this.usePolicyBasedTrafficSelectors = usePolicyBasedTrafficSelectors; - return this; - } - /** * Get the ipsecPolicies property: The IPSec Policies to be considered by this connection. * @@ -473,18 +319,6 @@ public List ipsecPolicies() { return this.ipsecPolicies; } - /** - * Set the ipsecPolicies property: The IPSec Policies to be considered by this connection. - * - * @param ipsecPolicies the ipsecPolicies value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withIpsecPolicies(List ipsecPolicies) { - this.ipsecPolicies = ipsecPolicies; - return this; - } - /** * Get the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection. * @@ -494,18 +328,6 @@ public List trafficSelectorPolicies() { return this.trafficSelectorPolicies; } - /** - * Set the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection. - * - * @param trafficSelectorPolicies the trafficSelectorPolicies value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withTrafficSelectorPolicies(List trafficSelectorPolicies) { - this.trafficSelectorPolicies = trafficSelectorPolicies; - return this; - } - /** * Get the resourceGuid property: The resource GUID property of the virtual network gateway connection resource. * @@ -520,7 +342,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -533,18 +355,6 @@ public Boolean expressRouteGatewayBypass() { return this.expressRouteGatewayBypass; } - /** - * Set the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding. - * - * @param expressRouteGatewayBypass the expressRouteGatewayBypass value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass) { - this.expressRouteGatewayBypass = expressRouteGatewayBypass; - return this; - } - /** * Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. * ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. @@ -555,19 +365,6 @@ public Boolean enablePrivateLinkFastPath() { return this.enablePrivateLinkFastPath; } - /** - * Set the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. - * ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. - * - * @param enablePrivateLinkFastPath the enablePrivateLinkFastPath value to set. - * @return the VirtualNetworkGatewayConnectionListEntityPropertiesFormat object itself. - */ - public VirtualNetworkGatewayConnectionListEntityPropertiesFormat - withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath) { - this.enablePrivateLinkFastPath = enablePrivateLinkFastPath; - return this; - } - /** * Validates the instance. * @@ -727,7 +524,7 @@ public static VirtualNetworkGatewayConnectionListEntityPropertiesFormat fromJson = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayConnectionListEntityPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("expressRouteGatewayBypass".equals(fieldName)) { deserializedVirtualNetworkGatewayConnectionListEntityPropertiesFormat.expressRouteGatewayBypass = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java index 3298a7efcff6..66ca422170f7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.ConnectionAuthenticationType; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.TunnelConnectionHealth; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionMode; @@ -160,7 +160,7 @@ public final class VirtualNetworkGatewayConnectionPropertiesFormatInner /* * The provisioning state of the virtual network gateway connection resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Bypass ExpressRoute Gateway for data forwarding. @@ -652,7 +652,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -934,7 +934,7 @@ public static VirtualNetworkGatewayConnectionPropertiesFormatInner fromJson(Json deserializedVirtualNetworkGatewayConnectionPropertiesFormatInner.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayConnectionPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("expressRouteGatewayBypass".equals(fieldName)) { deserializedVirtualNetworkGatewayConnectionPropertiesFormatInner.expressRouteGatewayBypass = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java index 06c118f1a3a3..8f41b3dcb738 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -16,7 +16,7 @@ import com.azure.resourcemanager.network.models.BgpSettings; import com.azure.resourcemanager.network.models.ExtendedLocation; import com.azure.resourcemanager.network.models.ManagedServiceIdentity; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ResiliencyModel; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayAutoScaleConfiguration; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayMigrationStatus; @@ -432,25 +432,25 @@ public VirtualNetworkGatewayInner withEnableHighBandwidthVpnGateway(Boolean enab } /** - * Get the disableIpSecReplayProtection property: disableIPSecReplayProtection flag. + * Get the disableIPSecReplayProtection property: disableIPSecReplayProtection flag. * - * @return the disableIpSecReplayProtection value. + * @return the disableIPSecReplayProtection value. */ - public Boolean disableIpSecReplayProtection() { - return this.innerProperties() == null ? null : this.innerProperties().disableIpSecReplayProtection(); + public Boolean disableIPSecReplayProtection() { + return this.innerProperties() == null ? null : this.innerProperties().disableIPSecReplayProtection(); } /** - * Set the disableIpSecReplayProtection property: disableIPSecReplayProtection flag. + * Set the disableIPSecReplayProtection property: disableIPSecReplayProtection flag. * - * @param disableIpSecReplayProtection the disableIpSecReplayProtection value to set. + * @param disableIPSecReplayProtection the disableIPSecReplayProtection value to set. * @return the VirtualNetworkGatewayInner object itself. */ - public VirtualNetworkGatewayInner withDisableIpSecReplayProtection(Boolean disableIpSecReplayProtection) { + public VirtualNetworkGatewayInner withDisableIPSecReplayProtection(Boolean disableIPSecReplayProtection) { if (this.innerProperties() == null) { this.innerProperties = new VirtualNetworkGatewayPropertiesFormat(); } - this.innerProperties().withDisableIpSecReplayProtection(disableIpSecReplayProtection); + this.innerProperties().withDisableIPSecReplayProtection(disableIPSecReplayProtection); return this; } @@ -617,7 +617,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java index 6a42c35a0d61..b995bd3d2f59 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -21,7 +21,7 @@ public final class VirtualNetworkGatewayIpConfigurationInner extends SubResource /* * Properties of the virtual network gateway ip configuration. */ - private VirtualNetworkGatewayIpConfigurationPropertiesFormat innerProperties; + private VirtualNetworkGatewayIPConfigurationPropertiesFormat innerProperties; /* * The name of the resource that is unique within a resource group. This name can be used to access the resource. @@ -44,7 +44,7 @@ public VirtualNetworkGatewayIpConfigurationInner() { * * @return the innerProperties value. */ - private VirtualNetworkGatewayIpConfigurationPropertiesFormat innerProperties() { + private VirtualNetworkGatewayIPConfigurationPropertiesFormat innerProperties() { return this.innerProperties; } @@ -106,7 +106,7 @@ public IpAllocationMethod privateIpAllocationMethod() { public VirtualNetworkGatewayIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayIpConfigurationPropertiesFormat(); + this.innerProperties = new VirtualNetworkGatewayIPConfigurationPropertiesFormat(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -129,7 +129,7 @@ public SubResource subnet() { */ public VirtualNetworkGatewayIpConfigurationInner withSubnet(SubResource subnet) { if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayIpConfigurationPropertiesFormat(); + this.innerProperties = new VirtualNetworkGatewayIPConfigurationPropertiesFormat(); } this.innerProperties().withSubnet(subnet); return this; @@ -152,7 +152,7 @@ public SubResource publicIpAddress() { */ public VirtualNetworkGatewayIpConfigurationInner withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayIpConfigurationPropertiesFormat(); + this.innerProperties = new VirtualNetworkGatewayIPConfigurationPropertiesFormat(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -173,7 +173,7 @@ public String privateIpAddress() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -220,7 +220,7 @@ public static VirtualNetworkGatewayIpConfigurationInner fromJson(JsonReader json deserializedVirtualNetworkGatewayIpConfigurationInner.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedVirtualNetworkGatewayIpConfigurationInner.innerProperties - = VirtualNetworkGatewayIpConfigurationPropertiesFormat.fromJson(reader); + = VirtualNetworkGatewayIPConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedVirtualNetworkGatewayIpConfigurationInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java index 205235ce3660..a82e68e9c6b4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,15 +11,15 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** * Properties of VirtualNetworkGatewayIPConfiguration. */ @Fluent -public final class VirtualNetworkGatewayIpConfigurationPropertiesFormat - implements JsonSerializable { +public final class VirtualNetworkGatewayIPConfigurationPropertiesFormat + implements JsonSerializable { /* * The private IP address allocation method. */ @@ -43,12 +43,12 @@ public final class VirtualNetworkGatewayIpConfigurationPropertiesFormat /* * The provisioning state of the virtual network gateway IP configuration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** - * Creates an instance of VirtualNetworkGatewayIpConfigurationPropertiesFormat class. + * Creates an instance of VirtualNetworkGatewayIPConfigurationPropertiesFormat class. */ - public VirtualNetworkGatewayIpConfigurationPropertiesFormat() { + public VirtualNetworkGatewayIPConfigurationPropertiesFormat() { } /** @@ -64,9 +64,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: The private IP address allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the VirtualNetworkGatewayIpConfigurationPropertiesFormat object itself. + * @return the VirtualNetworkGatewayIPConfigurationPropertiesFormat object itself. */ - public VirtualNetworkGatewayIpConfigurationPropertiesFormat + public VirtualNetworkGatewayIPConfigurationPropertiesFormat withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -85,9 +85,9 @@ public SubResource subnet() { * Set the subnet property: The reference to the subnet resource. * * @param subnet the subnet value to set. - * @return the VirtualNetworkGatewayIpConfigurationPropertiesFormat object itself. + * @return the VirtualNetworkGatewayIPConfigurationPropertiesFormat object itself. */ - public VirtualNetworkGatewayIpConfigurationPropertiesFormat withSubnet(SubResource subnet) { + public VirtualNetworkGatewayIPConfigurationPropertiesFormat withSubnet(SubResource subnet) { this.subnet = subnet; return this; } @@ -105,9 +105,9 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: The reference to the public IP resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the VirtualNetworkGatewayIpConfigurationPropertiesFormat object itself. + * @return the VirtualNetworkGatewayIPConfigurationPropertiesFormat object itself. */ - public VirtualNetworkGatewayIpConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { + public VirtualNetworkGatewayIPConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -127,7 +127,7 @@ public String privateIpAddress() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -153,43 +153,43 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of VirtualNetworkGatewayIpConfigurationPropertiesFormat from the JsonReader. + * Reads an instance of VirtualNetworkGatewayIPConfigurationPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VirtualNetworkGatewayIpConfigurationPropertiesFormat if the JsonReader was pointing to an + * @return An instance of VirtualNetworkGatewayIPConfigurationPropertiesFormat 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 VirtualNetworkGatewayIpConfigurationPropertiesFormat. + * @throws IOException If an error occurs while reading the VirtualNetworkGatewayIPConfigurationPropertiesFormat. */ - public static VirtualNetworkGatewayIpConfigurationPropertiesFormat fromJson(JsonReader jsonReader) + public static VirtualNetworkGatewayIPConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VirtualNetworkGatewayIpConfigurationPropertiesFormat deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat - = new VirtualNetworkGatewayIpConfigurationPropertiesFormat(); + VirtualNetworkGatewayIPConfigurationPropertiesFormat deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat + = new VirtualNetworkGatewayIPConfigurationPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat.privateIpAllocationMethod + deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat.subnet + deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat.publicIpAddress + deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.publicIpAddress = SubResource.fromJson(reader); } else if ("privateIPAddress".equals(fieldName)) { - deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat.privateIpAddress + deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.privateIpAddress = reader.getString(); } else if ("provisioningState".equals(fieldName)) { - deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.provisioningState + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat; + return deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java index f444c146b679..b049a0dc93c4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VpnNatRuleMapping; import com.azure.resourcemanager.network.models.VpnNatRuleMode; import com.azure.resourcemanager.network.models.VpnNatRuleType; @@ -20,17 +20,12 @@ * VirtualNetworkGatewayNatRule Resource. */ @Fluent -public final class VirtualNetworkGatewayNatRuleInner extends SubResource { +public final class VirtualNetworkGatewayNatRuleInner extends SubResourceModel { /* * Properties of the Virtual Network Gateway NAT rule. */ private VirtualNetworkGatewayNatRuleProperties innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ @@ -56,28 +51,6 @@ private VirtualNetworkGatewayNatRuleProperties innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the VirtualNetworkGatewayNatRuleInner object itself. - */ - public VirtualNetworkGatewayNatRuleInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -92,6 +65,7 @@ public String etag() { * * @return the type value. */ + @Override public String type() { return this.type; } @@ -105,12 +79,21 @@ public VirtualNetworkGatewayNatRuleInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public VirtualNetworkGatewayNatRuleInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the provisioningState property: The provisioning state of the NAT Rule resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -234,6 +217,7 @@ public VirtualNetworkGatewayNatRuleInner withIpConfigurationId(String ipConfigur * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -247,8 +231,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -270,15 +254,15 @@ public static VirtualNetworkGatewayNatRuleInner fromJson(JsonReader jsonReader) if ("id".equals(fieldName)) { deserializedVirtualNetworkGatewayNatRuleInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedVirtualNetworkGatewayNatRuleInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedVirtualNetworkGatewayNatRuleInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedVirtualNetworkGatewayNatRuleInner.innerProperties = VirtualNetworkGatewayNatRuleProperties.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedVirtualNetworkGatewayNatRuleInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedVirtualNetworkGatewayNatRuleInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedVirtualNetworkGatewayNatRuleInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java index 5a09285c3660..d543e2c7060b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VpnNatRuleMapping; import com.azure.resourcemanager.network.models.VpnNatRuleMode; import com.azure.resourcemanager.network.models.VpnNatRuleType; @@ -25,7 +25,7 @@ public final class VirtualNetworkGatewayNatRuleProperties /* * The provisioning state of the NAT Rule resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * The type of NAT rule for VPN NAT. @@ -63,7 +63,7 @@ public VirtualNetworkGatewayNatRuleProperties() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -215,7 +215,7 @@ public static VirtualNetworkGatewayNatRuleProperties fromJson(JsonReader jsonRea if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayNatRuleProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("type".equals(fieldName)) { deserializedVirtualNetworkGatewayNatRuleProperties.type = VpnNatRuleType.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java index 6edbaa796ad3..6b9fba63aa26 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayPolicyGroupMember; import java.io.IOException; import java.util.List; @@ -45,7 +45,7 @@ public final class VirtualNetworkGatewayPolicyGroupProperties /* * The provisioning state of the VirtualNetworkGatewayPolicyGroup resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of VirtualNetworkGatewayPolicyGroupProperties class. @@ -128,7 +128,7 @@ public List vngClientConnectionConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -193,7 +193,7 @@ public static VirtualNetworkGatewayPolicyGroupProperties fromJson(JsonReader jso = vngClientConnectionConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayPolicyGroupProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java index b6afbaed910e..e06cb4318f2b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.AddressSpace; import com.azure.resourcemanager.network.models.AdminState; import com.azure.resourcemanager.network.models.BgpSettings; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ResiliencyModel; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayAutoScaleConfiguration; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayMigrationStatus; @@ -85,7 +85,7 @@ public final class VirtualNetworkGatewayPropertiesFormat /* * disableIPSecReplayProtection flag. */ - private Boolean disableIpSecReplayProtection; + private Boolean disableIPSecReplayProtection; /* * The reference to the LocalNetworkGateway resource which represents local network site having default routes. @@ -129,7 +129,7 @@ public final class VirtualNetworkGatewayPropertiesFormat /* * The provisioning state of the virtual network gateway resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Whether dns forwarding is enabled or not. @@ -395,23 +395,23 @@ public Boolean enableHighBandwidthVpnGateway() { } /** - * Get the disableIpSecReplayProtection property: disableIPSecReplayProtection flag. + * Get the disableIPSecReplayProtection property: disableIPSecReplayProtection flag. * - * @return the disableIpSecReplayProtection value. + * @return the disableIPSecReplayProtection value. */ - public Boolean disableIpSecReplayProtection() { - return this.disableIpSecReplayProtection; + public Boolean disableIPSecReplayProtection() { + return this.disableIPSecReplayProtection; } /** - * Set the disableIpSecReplayProtection property: disableIPSecReplayProtection flag. + * Set the disableIPSecReplayProtection property: disableIPSecReplayProtection flag. * - * @param disableIpSecReplayProtection the disableIpSecReplayProtection value to set. + * @param disableIPSecReplayProtection the disableIPSecReplayProtection value to set. * @return the VirtualNetworkGatewayPropertiesFormat object itself. */ public VirtualNetworkGatewayPropertiesFormat - withDisableIpSecReplayProtection(Boolean disableIpSecReplayProtection) { - this.disableIpSecReplayProtection = disableIpSecReplayProtection; + withDisableIPSecReplayProtection(Boolean disableIPSecReplayProtection) { + this.disableIPSecReplayProtection = disableIPSecReplayProtection; return this; } @@ -561,7 +561,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -800,7 +800,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("virtualNetworkGatewayMigrationStatus", this.virtualNetworkGatewayMigrationStatus); jsonWriter.writeBooleanField("activeActive", this.active); jsonWriter.writeBooleanField("enableHighBandwidthVpnGateway", this.enableHighBandwidthVpnGateway); - jsonWriter.writeBooleanField("disableIPSecReplayProtection", this.disableIpSecReplayProtection); + jsonWriter.writeBooleanField("disableIPSecReplayProtection", this.disableIPSecReplayProtection); jsonWriter.writeJsonField("gatewayDefaultSite", this.gatewayDefaultSite); jsonWriter.writeJsonField("sku", this.sku); jsonWriter.writeJsonField("vpnClientConfiguration", this.vpnClientConfiguration); @@ -867,7 +867,7 @@ public static VirtualNetworkGatewayPropertiesFormat fromJson(JsonReader jsonRead deserializedVirtualNetworkGatewayPropertiesFormat.enableHighBandwidthVpnGateway = reader.getNullable(JsonReader::getBoolean); } else if ("disableIPSecReplayProtection".equals(fieldName)) { - deserializedVirtualNetworkGatewayPropertiesFormat.disableIpSecReplayProtection + deserializedVirtualNetworkGatewayPropertiesFormat.disableIPSecReplayProtection = reader.getNullable(JsonReader::getBoolean); } else if ("gatewayDefaultSite".equals(fieldName)) { deserializedVirtualNetworkGatewayPropertiesFormat.gatewayDefaultSite = SubResource.fromJson(reader); @@ -889,7 +889,7 @@ public static VirtualNetworkGatewayPropertiesFormat fromJson(JsonReader jsonRead deserializedVirtualNetworkGatewayPropertiesFormat.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("enableDnsForwarding".equals(fieldName)) { deserializedVirtualNetworkGatewayPropertiesFormat.enableDnsForwarding = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java index 93a21f418365..453ff78fbd51 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,8 +13,8 @@ import com.azure.resourcemanager.network.models.AddressSpace; import com.azure.resourcemanager.network.models.DhcpOptions; import com.azure.resourcemanager.network.models.ExtendedLocation; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateEndpointVNetPolicies; -import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities; import com.azure.resourcemanager.network.models.VirtualNetworkEncryption; import java.io.IOException; @@ -27,14 +27,14 @@ @Fluent public final class VirtualNetworkInner extends Resource { /* - * The extended location of the virtual network. + * Properties of the virtual network. */ - private ExtendedLocation extendedLocation; + private VirtualNetworkPropertiesFormat innerProperties; /* - * Properties of the virtual network. + * The extended location of the virtual network. */ - private VirtualNetworkPropertiesFormat innerProperties; + private ExtendedLocation extendedLocation; /* * A unique read-only string that changes whenever the resource is updated. @@ -62,6 +62,15 @@ public final class VirtualNetworkInner extends Resource { public VirtualNetworkInner() { } + /** + * Get the innerProperties property: Properties of the virtual network. + * + * @return the innerProperties value. + */ + private VirtualNetworkPropertiesFormat innerProperties() { + return this.innerProperties; + } + /** * Get the extendedLocation property: The extended location of the virtual network. * @@ -82,15 +91,6 @@ public VirtualNetworkInner withExtendedLocation(ExtendedLocation extendedLocatio return this; } - /** - * Get the innerProperties property: Properties of the virtual network. - * - * @return the innerProperties value. - */ - private VirtualNetworkPropertiesFormat innerProperties() { - return this.innerProperties; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -291,7 +291,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -490,12 +490,12 @@ public SubResource defaultPublicNatGateway() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (extendedLocation() != null) { - extendedLocation().validate(); - } if (innerProperties() != null) { innerProperties().validate(); } + if (extendedLocation() != null) { + extendedLocation().validate(); + } } /** @@ -506,8 +506,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); - jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeJsonField("extendedLocation", this.extendedLocation); jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -537,10 +537,10 @@ public static VirtualNetworkInner fromJson(JsonReader jsonReader) throws IOExcep } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedVirtualNetworkInner.withTags(tags); - } else if ("extendedLocation".equals(fieldName)) { - deserializedVirtualNetworkInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedVirtualNetworkInner.innerProperties = VirtualNetworkPropertiesFormat.fromJson(reader); + } else if ("extendedLocation".equals(fieldName)) { + deserializedVirtualNetworkInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVirtualNetworkInner.etag = reader.getString(); } else if ("id".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java index 7a438dbf2ab8..343b9ddbc457 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,8 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressSpace; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities; import com.azure.resourcemanager.network.models.VirtualNetworkEncryption; import com.azure.resourcemanager.network.models.VirtualNetworkPeeringLevel; @@ -22,17 +23,12 @@ * Peerings in a virtual network resource. */ @Fluent -public final class VirtualNetworkPeeringInner extends SubResource { +public final class VirtualNetworkPeeringInner extends SubResourceModel { /* * Properties of the virtual network peering. */ private VirtualNetworkPeeringPropertiesFormat innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ @@ -58,28 +54,6 @@ private VirtualNetworkPeeringPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the VirtualNetworkPeeringInner object itself. - */ - public VirtualNetworkPeeringInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -94,18 +68,17 @@ public String etag() { * * @return the type value. */ + @Override public String type() { return this.type; } /** - * Set the type property: Resource type. - * - * @param type the type value to set. - * @return the VirtualNetworkPeeringInner object itself. + * {@inheritDoc} */ - public VirtualNetworkPeeringInner withType(String type) { - this.type = type; + @Override + public VirtualNetworkPeeringInner withId(String id) { + super.withId(id); return this; } @@ -113,8 +86,8 @@ public VirtualNetworkPeeringInner withType(String type) { * {@inheritDoc} */ @Override - public VirtualNetworkPeeringInner withId(String id) { - super.withId(id); + public VirtualNetworkPeeringInner withName(String name) { + super.withName(name); return this; } @@ -430,7 +403,7 @@ public VirtualNetworkPeeringInner withPeeringSyncLevel(VirtualNetworkPeeringLeve * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -565,6 +538,7 @@ public VirtualNetworkPeeringInner withRemoteSubnetNames(List remoteSubne * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -578,9 +552,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("type", this.type); return jsonWriter.writeEndObject(); } @@ -601,15 +574,15 @@ public static VirtualNetworkPeeringInner fromJson(JsonReader jsonReader) throws if ("id".equals(fieldName)) { deserializedVirtualNetworkPeeringInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedVirtualNetworkPeeringInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedVirtualNetworkPeeringInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedVirtualNetworkPeeringInner.innerProperties = VirtualNetworkPeeringPropertiesFormat.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedVirtualNetworkPeeringInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedVirtualNetworkPeeringInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedVirtualNetworkPeeringInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java index 468bd0eeb4e5..a78561e9ea85 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressSpace; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities; import com.azure.resourcemanager.network.models.VirtualNetworkEncryption; import com.azure.resourcemanager.network.models.VirtualNetworkPeeringLevel; @@ -99,7 +99,7 @@ public final class VirtualNetworkPeeringPropertiesFormat /* * The provisioning state of the virtual network peering resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * If we need to verify the provisioning state of the remote gateway. @@ -414,7 +414,7 @@ public VirtualNetworkPeeringPropertiesFormat withPeeringSyncLevel(VirtualNetwork * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -640,7 +640,7 @@ public static VirtualNetworkPeeringPropertiesFormat fromJson(JsonReader jsonRead = VirtualNetworkPeeringLevel.fromString(reader.getString()); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkPeeringPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("doNotVerifyRemoteGateways".equals(fieldName)) { deserializedVirtualNetworkPeeringPropertiesFormat.doNotVerifyRemoteGateways = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java index 665ca5692b72..65ae36bff885 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,8 +12,8 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressSpace; import com.azure.resourcemanager.network.models.DhcpOptions; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateEndpointVNetPolicies; -import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities; import com.azure.resourcemanager.network.models.VirtualNetworkEncryption; import java.io.IOException; @@ -57,7 +57,7 @@ public final class VirtualNetworkPropertiesFormat implements JsonSerializable e.validate()); } - if (destinationNetworkInterfaceIpConfiguration() != null) { - destinationNetworkInterfaceIpConfiguration().validate(); + if (destinationNetworkInterfaceIPConfiguration() != null) { + destinationNetworkInterfaceIPConfiguration().validate(); } - if (destinationLoadBalancerFrontEndIpConfiguration() != null) { - destinationLoadBalancerFrontEndIpConfiguration().validate(); + if (destinationLoadBalancerFrontEndIPConfiguration() != null) { + destinationLoadBalancerFrontEndIPConfiguration().validate(); } } @@ -174,9 +174,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("destinationNetworkInterfaceIPConfiguration", - this.destinationNetworkInterfaceIpConfiguration); + this.destinationNetworkInterfaceIPConfiguration); jsonWriter.writeJsonField("destinationLoadBalancerFrontEndIPConfiguration", - this.destinationLoadBalancerFrontEndIpConfiguration); + this.destinationLoadBalancerFrontEndIPConfiguration); jsonWriter.writeNumberField("destinationPort", this.destinationPort); return jsonWriter.writeEndObject(); } @@ -206,12 +206,12 @@ public static VirtualNetworkTapPropertiesFormatInner fromJson(JsonReader jsonRea deserializedVirtualNetworkTapPropertiesFormatInner.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkTapPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("destinationNetworkInterfaceIPConfiguration".equals(fieldName)) { - deserializedVirtualNetworkTapPropertiesFormatInner.destinationNetworkInterfaceIpConfiguration + deserializedVirtualNetworkTapPropertiesFormatInner.destinationNetworkInterfaceIPConfiguration = NetworkInterfaceIpConfigurationInner.fromJson(reader); } else if ("destinationLoadBalancerFrontEndIPConfiguration".equals(fieldName)) { - deserializedVirtualNetworkTapPropertiesFormatInner.destinationLoadBalancerFrontEndIpConfiguration + deserializedVirtualNetworkTapPropertiesFormatInner.destinationLoadBalancerFrontEndIPConfiguration = FrontendIpConfigurationInner.fromJson(reader); } else if ("destinationPort".equals(fieldName)) { deserializedVirtualNetworkTapPropertiesFormatInner.destinationPort diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java index 94fc759ea20f..805a3b15a3ff 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -45,7 +45,7 @@ public final class VirtualNetworkUsageInner implements JsonSerializable peerings() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java index 15be461536dc..9be545db327d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java @@ -1,39 +1,34 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; /** * Virtual Router Peering resource. */ @Fluent -public final class VirtualRouterPeeringInner extends SubResource { +public final class VirtualRouterPeeringInner extends SubResourceModel { /* * The properties of the Virtual Router Peering. */ private VirtualRouterPeeringProperties innerProperties; - /* - * Name of the virtual router peering that is unique within a virtual router. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ private String etag; /* - * Peering type. + * Resource type. */ private String type; @@ -52,26 +47,6 @@ private VirtualRouterPeeringProperties innerProperties() { return this.innerProperties; } - /** - * Get the name property: Name of the virtual router peering that is unique within a virtual router. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Name of the virtual router peering that is unique within a virtual router. - * - * @param name the name value to set. - * @return the VirtualRouterPeeringInner object itself. - */ - public VirtualRouterPeeringInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -82,10 +57,11 @@ public String etag() { } /** - * Get the type property: Peering type. + * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -99,6 +75,15 @@ public VirtualRouterPeeringInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public VirtualRouterPeeringInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the peerAsn property: Peer ASN. * @@ -150,7 +135,7 @@ public VirtualRouterPeeringInner withPeerIp(String peerIp) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -159,6 +144,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -172,8 +158,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -194,15 +180,15 @@ public static VirtualRouterPeeringInner fromJson(JsonReader jsonReader) throws I if ("id".equals(fieldName)) { deserializedVirtualRouterPeeringInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedVirtualRouterPeeringInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedVirtualRouterPeeringInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedVirtualRouterPeeringInner.innerProperties = VirtualRouterPeeringProperties.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedVirtualRouterPeeringInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedVirtualRouterPeeringInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedVirtualRouterPeeringInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java index dcbf9e42726a..97cfb80fb1a2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -30,7 +30,7 @@ public final class VirtualRouterPeeringProperties implements JsonSerializable peerings() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -206,7 +206,7 @@ public static VirtualRouterPropertiesFormat fromJson(JsonReader jsonReader) thro deserializedVirtualRouterPropertiesFormat.peerings = peerings; } else if ("provisioningState".equals(fieldName)) { deserializedVirtualRouterPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java index 685f4775144f..4507c300e80f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java @@ -1,17 +1,18 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.Resource; import com.azure.core.management.SubResource; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.OfficeTrafficCategory; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; import java.io.IOException; import java.util.List; import java.util.Map; @@ -20,7 +21,7 @@ * VirtualWAN Resource. */ @Fluent -public final class VirtualWanInner extends Resource { +public final class VirtualWANInner extends ResourceWithRequiredLocation { /* * Properties of the virtual WAN. */ @@ -32,24 +33,19 @@ public final class VirtualWanInner extends Resource { private String etag; /* - * Resource ID. - */ - private String id; - - /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /** - * Creates an instance of VirtualWanInner class. + * Creates an instance of VirtualWANInner class. */ - public VirtualWanInner() { + public VirtualWANInner() { } /** @@ -71,27 +67,7 @@ public String etag() { } /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the VirtualWanInner object itself. - */ - public VirtualWanInner withId(String id) { - this.id = id; - return this; - } - - /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -101,7 +77,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -114,7 +90,16 @@ public String name() { * {@inheritDoc} */ @Override - public VirtualWanInner withLocation(String location) { + public VirtualWANInner withId(String id) { + super.withId(id); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public VirtualWANInner withLocation(String location) { super.withLocation(location); return this; } @@ -123,7 +108,7 @@ public VirtualWanInner withLocation(String location) { * {@inheritDoc} */ @Override - public VirtualWanInner withTags(Map tags) { + public VirtualWANInner withTags(Map tags) { super.withTags(tags); return this; } @@ -141,9 +126,9 @@ public Boolean disableVpnEncryption() { * Set the disableVpnEncryption property: Vpn encryption to be disabled or not. * * @param disableVpnEncryption the disableVpnEncryption value to set. - * @return the VirtualWanInner object itself. + * @return the VirtualWANInner object itself. */ - public VirtualWanInner withDisableVpnEncryption(Boolean disableVpnEncryption) { + public VirtualWANInner withDisableVpnEncryption(Boolean disableVpnEncryption) { if (this.innerProperties() == null) { this.innerProperties = new VirtualWanProperties(); } @@ -182,9 +167,9 @@ public Boolean allowBranchToBranchTraffic() { * Set the allowBranchToBranchTraffic property: True if branch to branch traffic is allowed. * * @param allowBranchToBranchTraffic the allowBranchToBranchTraffic value to set. - * @return the VirtualWanInner object itself. + * @return the VirtualWANInner object itself. */ - public VirtualWanInner withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic) { + public VirtualWANInner withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic) { if (this.innerProperties() == null) { this.innerProperties = new VirtualWanProperties(); } @@ -205,9 +190,9 @@ public Boolean allowVnetToVnetTraffic() { * Set the allowVnetToVnetTraffic property: True if Vnet to Vnet traffic is allowed. * * @param allowVnetToVnetTraffic the allowVnetToVnetTraffic value to set. - * @return the VirtualWanInner object itself. + * @return the VirtualWANInner object itself. */ - public VirtualWanInner withAllowVnetToVnetTraffic(Boolean allowVnetToVnetTraffic) { + public VirtualWANInner withAllowVnetToVnetTraffic(Boolean allowVnetToVnetTraffic) { if (this.innerProperties() == null) { this.innerProperties = new VirtualWanProperties(); } @@ -229,7 +214,7 @@ public OfficeTrafficCategory office365LocalBreakoutCategory() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -246,9 +231,9 @@ public String typePropertiesType() { * Set the type property: The type of the VirtualWAN. * * @param type the type value to set. - * @return the VirtualWanInner object itself. + * @return the VirtualWANInner object itself. */ - public VirtualWanInner withTypePropertiesType(String type) { + public VirtualWANInner withTypePropertiesType(String type) { if (this.innerProperties() == null) { this.innerProperties = new VirtualWanProperties(); } @@ -261,12 +246,19 @@ public VirtualWanInner withTypePropertiesType(String type) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property location in model VirtualWANInner")); + } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualWANInner.class); + /** * {@inheritDoc} */ @@ -274,49 +266,49 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); + jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } /** - * Reads an instance of VirtualWanInner from the JsonReader. + * Reads an instance of VirtualWANInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VirtualWanInner if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of VirtualWANInner 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 VirtualWanInner. + * @throws IOException If an error occurs while reading the VirtualWANInner. */ - public static VirtualWanInner fromJson(JsonReader jsonReader) throws IOException { + public static VirtualWANInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VirtualWanInner deserializedVirtualWanInner = new VirtualWanInner(); + VirtualWANInner deserializedVirtualWANInner = new VirtualWANInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { - deserializedVirtualWanInner.name = reader.getString(); + if ("location".equals(fieldName)) { + deserializedVirtualWANInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { + deserializedVirtualWANInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedVirtualWANInner.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedVirtualWanInner.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedVirtualWanInner.withLocation(reader.getString()); + deserializedVirtualWANInner.type = reader.getString(); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedVirtualWanInner.withTags(tags); + deserializedVirtualWANInner.withTags(tags); } else if ("properties".equals(fieldName)) { - deserializedVirtualWanInner.innerProperties = VirtualWanProperties.fromJson(reader); + deserializedVirtualWANInner.innerProperties = VirtualWanProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { - deserializedVirtualWanInner.etag = reader.getString(); - } else if ("id".equals(fieldName)) { - deserializedVirtualWanInner.id = reader.getString(); + deserializedVirtualWANInner.etag = reader.getString(); } else { reader.skipChildren(); } } - return deserializedVirtualWanInner; + return deserializedVirtualWANInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java index 5b9e91410c6e..deed4f5d24df 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,8 +10,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.OfficeTrafficCategory; -import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -53,7 +53,7 @@ public final class VirtualWanProperties implements JsonSerializable { /* * List of VirtualWAN security providers. @@ -26,7 +26,7 @@ public final class VirtualWanSecurityProvidersInner implements JsonSerializable< /** * Creates an instance of VirtualWanSecurityProvidersInner class. */ - public VirtualWanSecurityProvidersInner() { + private VirtualWanSecurityProvidersInner() { } /** @@ -38,18 +38,6 @@ public List supportedProviders() { return this.supportedProviders; } - /** - * Set the supportedProviders property: List of VirtualWAN security providers. - * - * @param supportedProviders the supportedProviders value to set. - * @return the VirtualWanSecurityProvidersInner object itself. - */ - public VirtualWanSecurityProvidersInner - withSupportedProviders(List supportedProviders) { - this.supportedProviders = supportedProviders; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java index 8ffc0af17a29..bbb63e2a5893 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressSpace; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; import java.util.List; @@ -35,7 +35,7 @@ public final class VngClientConnectionConfigurationProperties /* * The provisioning state of the VngClientConnectionConfiguration resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of VngClientConnectionConfigurationProperties class. @@ -91,7 +91,7 @@ public List virtualNetworkGatewayPolicyGroups() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -156,7 +156,7 @@ public static VngClientConnectionConfigurationProperties fromJson(JsonReader jso = virtualNetworkGatewayPolicyGroups; } else if ("provisioningState".equals(fieldName)) { deserializedVngClientConnectionConfigurationProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailInner.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailInner.java index 5448d4140aa1..07f8bcdca7d4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailInner.java @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; @@ -15,7 +15,8 @@ * VPN client connection health detail. */ @Immutable -public final class VpnClientConnectionHealthDetail implements JsonSerializable { +public final class VpnClientConnectionHealthDetailInner + implements JsonSerializable { /* * The vpn client Id. */ @@ -44,7 +45,7 @@ public final class VpnClientConnectionHealthDetail implements JsonSerializable { - VpnClientConnectionHealthDetail deserializedVpnClientConnectionHealthDetail - = new VpnClientConnectionHealthDetail(); + VpnClientConnectionHealthDetailInner deserializedVpnClientConnectionHealthDetailInner + = new VpnClientConnectionHealthDetailInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("vpnConnectionId".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.vpnConnectionId = reader.getString(); + deserializedVpnClientConnectionHealthDetailInner.vpnConnectionId = reader.getString(); } else if ("vpnConnectionDuration".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.vpnConnectionDuration + deserializedVpnClientConnectionHealthDetailInner.vpnConnectionDuration = reader.getNullable(JsonReader::getLong); } else if ("vpnConnectionTime".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.vpnConnectionTime = reader.getString(); + deserializedVpnClientConnectionHealthDetailInner.vpnConnectionTime = reader.getString(); } else if ("publicIpAddress".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.publicIpAddress = reader.getString(); + deserializedVpnClientConnectionHealthDetailInner.publicIpAddress = reader.getString(); } else if ("privateIpAddress".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.privateIpAddress = reader.getString(); + deserializedVpnClientConnectionHealthDetailInner.privateIpAddress = reader.getString(); } else if ("vpnUserName".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.vpnUsername = reader.getString(); + deserializedVpnClientConnectionHealthDetailInner.vpnUserName = reader.getString(); } else if ("maxBandwidth".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.maxBandwidth = reader.getNullable(JsonReader::getLong); + deserializedVpnClientConnectionHealthDetailInner.maxBandwidth + = reader.getNullable(JsonReader::getLong); } else if ("egressPacketsTransferred".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.egressPacketsTransferred + deserializedVpnClientConnectionHealthDetailInner.egressPacketsTransferred = reader.getNullable(JsonReader::getLong); } else if ("egressBytesTransferred".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.egressBytesTransferred + deserializedVpnClientConnectionHealthDetailInner.egressBytesTransferred = reader.getNullable(JsonReader::getLong); } else if ("ingressPacketsTransferred".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.ingressPacketsTransferred + deserializedVpnClientConnectionHealthDetailInner.ingressPacketsTransferred = reader.getNullable(JsonReader::getLong); } else if ("ingressBytesTransferred".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.ingressBytesTransferred + deserializedVpnClientConnectionHealthDetailInner.ingressBytesTransferred = reader.getNullable(JsonReader::getLong); } else if ("maxPacketsPerSecond".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetail.maxPacketsPerSecond + deserializedVpnClientConnectionHealthDetailInner.maxPacketsPerSecond = reader.getNullable(JsonReader::getLong); } else { reader.skipChildren(); } } - return deserializedVpnClientConnectionHealthDetail; + return deserializedVpnClientConnectionHealthDetailInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java index b65827868c6e..03c3ec37ab65 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java index 74f5a0bd44f1..eda77c293445 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -26,7 +26,7 @@ public final class VpnClientRevokedCertificatePropertiesFormat /* * The provisioning state of the VPN client revoked certificate resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of VpnClientRevokedCertificatePropertiesFormat class. @@ -59,7 +59,7 @@ public VpnClientRevokedCertificatePropertiesFormat withThumbprint(String thumbpr * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -101,7 +101,7 @@ public static VpnClientRevokedCertificatePropertiesFormat fromJson(JsonReader js deserializedVpnClientRevokedCertificatePropertiesFormat.thumbprint = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVpnClientRevokedCertificatePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java index e0d8871a0d63..b5d00cb609b4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import java.io.IOException; /** @@ -27,7 +27,7 @@ public final class VpnClientRootCertificatePropertiesFormat /* * The provisioning state of the VPN client root certificate resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of VpnClientRootCertificatePropertiesFormat class. @@ -60,7 +60,7 @@ public VpnClientRootCertificatePropertiesFormat withPublicCertData(String public * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -110,7 +110,7 @@ public static VpnClientRootCertificatePropertiesFormat fromJson(JsonReader jsonR deserializedVpnClientRootCertificatePropertiesFormat.publicCertData = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVpnClientRootCertificatePropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java index f37ddd9d27e7..1d8d5bd0e29b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; @@ -425,7 +425,7 @@ public VpnConnectionInner withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddr * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java index 1358c4c2bab4..57ea49357fda 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; @@ -107,7 +107,7 @@ public final class VpnConnectionProperties implements JsonSerializable vpnLinkConnections = reader.readArray(reader1 -> VpnSiteLinkConnectionInner.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java index 309b575c7605..21725cefa6aa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java @@ -1,17 +1,18 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.Resource; import com.azure.core.management.SubResource; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.BgpSettings; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; import com.azure.resourcemanager.network.models.VpnGatewayIpConfiguration; import java.io.IOException; import java.util.List; @@ -21,7 +22,7 @@ * VpnGateway Resource. */ @Fluent -public final class VpnGatewayInner extends Resource { +public final class VpnGatewayInner extends ResourceWithRequiredLocation { /* * Properties of the VPN gateway. */ @@ -33,17 +34,12 @@ public final class VpnGatewayInner extends Resource { private String etag; /* - * Resource ID. - */ - private String id; - - /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; @@ -72,27 +68,7 @@ public String etag() { } /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the VpnGatewayInner object itself. - */ - public VpnGatewayInner withId(String id) { - this.id = id; - return this; - } - - /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -102,7 +78,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -111,6 +87,15 @@ public String name() { return this.name; } + /** + * {@inheritDoc} + */ + @Override + public VpnGatewayInner withId(String id) { + super.withId(id); + return this; + } + /** * {@inheritDoc} */ @@ -203,7 +188,7 @@ public VpnGatewayInner withBgpSettings(BgpSettings bgpSettings) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -315,12 +300,19 @@ public VpnGatewayInner withNatRules(List natRules) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property location in model VpnGatewayInner")); + } } + private static final ClientLogger LOGGER = new ClientLogger(VpnGatewayInner.class); + /** * {@inheritDoc} */ @@ -328,9 +320,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); + jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -350,12 +342,14 @@ public static VpnGatewayInner fromJson(JsonReader jsonReader) throws IOException String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { + if ("location".equals(fieldName)) { + deserializedVpnGatewayInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { + deserializedVpnGatewayInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { deserializedVpnGatewayInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedVpnGatewayInner.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedVpnGatewayInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedVpnGatewayInner.withTags(tags); @@ -363,8 +357,6 @@ public static VpnGatewayInner fromJson(JsonReader jsonReader) throws IOException deserializedVpnGatewayInner.innerProperties = VpnGatewayProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVpnGatewayInner.etag = reader.getString(); - } else if ("id".equals(fieldName)) { - deserializedVpnGatewayInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java index b74f051132b7..3a9b21034b75 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VpnNatRuleMapping; import com.azure.resourcemanager.network.models.VpnNatRuleMode; import com.azure.resourcemanager.network.models.VpnNatRuleType; @@ -20,17 +21,12 @@ * VpnGatewayNatRule Resource. */ @Fluent -public final class VpnGatewayNatRuleInner extends SubResource { +public final class VpnGatewayNatRuleInner extends SubResourceModel { /* * Properties of the VpnGateway NAT rule. */ private VpnGatewayNatRuleProperties innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ @@ -56,28 +52,6 @@ private VpnGatewayNatRuleProperties innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the VpnGatewayNatRuleInner object itself. - */ - public VpnGatewayNatRuleInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -92,6 +66,7 @@ public String etag() { * * @return the type value. */ + @Override public String type() { return this.type; } @@ -105,12 +80,21 @@ public VpnGatewayNatRuleInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public VpnGatewayNatRuleInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the provisioningState property: The provisioning state of the NAT Rule resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -252,6 +236,7 @@ public List ingressVpnSiteLinkConnections() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -265,8 +250,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -287,14 +272,14 @@ public static VpnGatewayNatRuleInner fromJson(JsonReader jsonReader) throws IOEx if ("id".equals(fieldName)) { deserializedVpnGatewayNatRuleInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedVpnGatewayNatRuleInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedVpnGatewayNatRuleInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedVpnGatewayNatRuleInner.innerProperties = VpnGatewayNatRuleProperties.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedVpnGatewayNatRuleInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedVpnGatewayNatRuleInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedVpnGatewayNatRuleInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java index 481e84f2ef57..b9c76fee638c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VpnNatRuleMapping; import com.azure.resourcemanager.network.models.VpnNatRuleMode; import com.azure.resourcemanager.network.models.VpnNatRuleType; @@ -25,7 +25,7 @@ public final class VpnGatewayNatRuleProperties implements JsonSerializable { /* * URL to the VPN profile. @@ -24,7 +24,7 @@ public final class VpnProfileResponseInner implements JsonSerializable writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -505,7 +485,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VpnServerConfigurationInner 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 VpnServerConfigurationInner. */ public static VpnServerConfigurationInner fromJson(JsonReader jsonReader) throws IOException { @@ -515,8 +494,10 @@ public static VpnServerConfigurationInner fromJson(JsonReader jsonReader) throws String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { - deserializedVpnServerConfigurationInner.name = reader.getString(); + if ("id".equals(fieldName)) { + deserializedVpnServerConfigurationInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedVpnServerConfigurationInner.withName(reader.getString()); } else if ("type".equals(fieldName)) { deserializedVpnServerConfigurationInner.type = reader.getString(); } else if ("location".equals(fieldName)) { @@ -529,8 +510,6 @@ public static VpnServerConfigurationInner fromJson(JsonReader jsonReader) throws = VpnServerConfigurationProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVpnServerConfigurationInner.etag = reader.getString(); - } else if ("id".equals(fieldName)) { - deserializedVpnServerConfigurationInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java index 7fe494f697bc..1b9a2ed1316f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VpnServerConfigurationPolicyGroupMember; import java.io.IOException; import java.util.List; @@ -18,7 +19,7 @@ * VpnServerConfigurationPolicyGroup Resource. */ @Fluent -public final class VpnServerConfigurationPolicyGroupInner extends SubResource { +public final class VpnServerConfigurationPolicyGroupInner extends SubResourceModel { /* * Properties of the VpnServerConfigurationPolicyGroup. */ @@ -29,11 +30,6 @@ public final class VpnServerConfigurationPolicyGroupInner extends SubResource { */ private String etag; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * Resource type. */ @@ -63,33 +59,12 @@ public String etag() { return this.etag; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the VpnServerConfigurationPolicyGroupInner object itself. - */ - public VpnServerConfigurationPolicyGroupInner withName(String name) { - this.name = name; - return this; - } - /** * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -103,6 +78,15 @@ public VpnServerConfigurationPolicyGroupInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public VpnServerConfigurationPolicyGroupInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the isDefault property: Shows if this is a Default VpnServerConfigurationPolicyGroup or not. * @@ -187,7 +171,7 @@ public List p2SConnectionConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -196,6 +180,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -209,8 +194,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -232,15 +217,15 @@ public static VpnServerConfigurationPolicyGroupInner fromJson(JsonReader jsonRea if ("id".equals(fieldName)) { deserializedVpnServerConfigurationPolicyGroupInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedVpnServerConfigurationPolicyGroupInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedVpnServerConfigurationPolicyGroupInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedVpnServerConfigurationPolicyGroupInner.innerProperties = VpnServerConfigurationPolicyGroupProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVpnServerConfigurationPolicyGroupInner.etag = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedVpnServerConfigurationPolicyGroupInner.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedVpnServerConfigurationPolicyGroupInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java index bf620e2ebbc5..a419168ce7a6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VpnServerConfigurationPolicyGroupMember; import java.io.IOException; import java.util.List; @@ -44,7 +44,7 @@ public final class VpnServerConfigurationPolicyGroupProperties /* * The provisioning state of the VpnServerConfigurationPolicyGroup resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /** * Creates an instance of VpnServerConfigurationPolicyGroupProperties class. @@ -127,7 +127,7 @@ public List p2SConnectionConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -187,7 +187,7 @@ public static VpnServerConfigurationPolicyGroupProperties fromJson(JsonReader js = p2SConnectionConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedVpnServerConfigurationPolicyGroupProperties.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java index 08071035136d..2819265f779f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java index 96d469c2ec86..82565246b118 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * VpnServerConfigurations list associated with VirtualWan Response. */ -@Fluent +@Immutable public final class VpnServerConfigurationsResponseInner implements JsonSerializable { /* @@ -26,7 +26,7 @@ public final class VpnServerConfigurationsResponseInner /** * Creates an instance of VpnServerConfigurationsResponseInner class. */ - public VpnServerConfigurationsResponseInner() { + private VpnServerConfigurationsResponseInner() { } /** @@ -38,18 +38,6 @@ public List vpnServerConfigurationResourceIds() { return this.vpnServerConfigurationResourceIds; } - /** - * Set the vpnServerConfigurationResourceIds property: List of VpnServerConfigurations associated with VirtualWan. - * - * @param vpnServerConfigurationResourceIds the vpnServerConfigurationResourceIds value to set. - * @return the VpnServerConfigurationsResponseInner object itself. - */ - public VpnServerConfigurationsResponseInner - withVpnServerConfigurationResourceIds(List vpnServerConfigurationResourceIds) { - this.vpnServerConfigurationResourceIds = vpnServerConfigurationResourceIds; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java index 0da7ea6986f3..5ef609c43c0d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java @@ -1,20 +1,21 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.Resource; import com.azure.core.management.SubResource; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressSpace; import com.azure.resourcemanager.network.models.BgpSettings; import com.azure.resourcemanager.network.models.DeviceProperties; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.O365PolicyProperties; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; import java.io.IOException; import java.util.List; import java.util.Map; @@ -23,7 +24,7 @@ * VpnSite Resource. */ @Fluent -public final class VpnSiteInner extends Resource { +public final class VpnSiteInner extends ResourceWithRequiredLocation { /* * Properties of the VPN site. */ @@ -35,17 +36,12 @@ public final class VpnSiteInner extends Resource { private String etag; /* - * Resource ID. - */ - private String id; - - /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; @@ -74,27 +70,7 @@ public String etag() { } /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the VpnSiteInner object itself. - */ - public VpnSiteInner withId(String id) { - this.id = id; - return this; - } - - /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -104,7 +80,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -113,6 +89,15 @@ public String name() { return this.name; } + /** + * {@inheritDoc} + */ + @Override + public VpnSiteInner withId(String id) { + super.withId(id); + return this; + } + /** * {@inheritDoc} */ @@ -274,7 +259,7 @@ public VpnSiteInner withBgpProperties(BgpSettings bgpProperties) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -352,12 +337,19 @@ public VpnSiteInner withO365Policy(O365PolicyProperties o365Policy) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property location in model VpnSiteInner")); + } } + private static final ClientLogger LOGGER = new ClientLogger(VpnSiteInner.class); + /** * {@inheritDoc} */ @@ -365,9 +357,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); + jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -387,12 +379,14 @@ public static VpnSiteInner fromJson(JsonReader jsonReader) throws IOException { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { + if ("location".equals(fieldName)) { + deserializedVpnSiteInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { + deserializedVpnSiteInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { deserializedVpnSiteInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedVpnSiteInner.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedVpnSiteInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedVpnSiteInner.withTags(tags); @@ -400,8 +394,6 @@ public static VpnSiteInner fromJson(JsonReader jsonReader) throws IOException { deserializedVpnSiteInner.innerProperties = VpnSiteProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVpnSiteInner.etag = reader.getString(); - } else if ("id".equals(fieldName)) { - deserializedVpnSiteInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java index 8972252e91c6..32fd7bebd45a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -11,7 +11,8 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; import com.azure.resourcemanager.network.models.VpnConnectionStatus; import com.azure.resourcemanager.network.models.VpnLinkConnectionMode; @@ -22,17 +23,12 @@ * VpnSiteLinkConnection Resource. */ @Fluent -public final class VpnSiteLinkConnectionInner extends SubResource { +public final class VpnSiteLinkConnectionInner extends SubResourceModel { /* * Properties of the VPN site link connection. */ private VpnSiteLinkConnectionProperties innerProperties; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * A unique read-only string that changes whenever the resource is updated. */ @@ -58,28 +54,6 @@ private VpnSiteLinkConnectionProperties innerProperties() { return this.innerProperties; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the VpnSiteLinkConnectionInner object itself. - */ - public VpnSiteLinkConnectionInner withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -94,6 +68,7 @@ public String etag() { * * @return the type value. */ + @Override public String type() { return this.type; } @@ -107,6 +82,15 @@ public VpnSiteLinkConnectionInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public VpnSiteLinkConnectionInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the vpnSiteLink property: Id of the connected vpn site link. * @@ -421,7 +405,7 @@ public VpnSiteLinkConnectionInner withUseLocalAzureIpAddress(Boolean useLocalAzu * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -499,6 +483,7 @@ public VpnSiteLinkConnectionInner withDpdTimeoutSeconds(Integer dpdTimeoutSecond * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -512,8 +497,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -534,15 +519,15 @@ public static VpnSiteLinkConnectionInner fromJson(JsonReader jsonReader) throws if ("id".equals(fieldName)) { deserializedVpnSiteLinkConnectionInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedVpnSiteLinkConnectionInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedVpnSiteLinkConnectionInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedVpnSiteLinkConnectionInner.innerProperties = VpnSiteLinkConnectionProperties.fromJson(reader); - } else if ("name".equals(fieldName)) { - deserializedVpnSiteLinkConnectionInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedVpnSiteLinkConnectionInner.etag = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedVpnSiteLinkConnectionInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java index 835ac2105b76..046e8330d012 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; import com.azure.resourcemanager.network.models.VpnConnectionStatus; import com.azure.resourcemanager.network.models.VpnLinkConnectionMode; @@ -104,7 +104,7 @@ public final class VpnSiteLinkConnectionProperties implements JsonSerializable ingressNatRules = reader.readArray(reader1 -> SubResource.fromJson(reader1)); deserializedVpnSiteLinkConnectionProperties.ingressNatRules = ingressNatRules; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java index b91a3e42ba79..b2da38bd5081 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VpnLinkBgpSettings; import com.azure.resourcemanager.network.models.VpnLinkProviderProperties; import java.io.IOException; @@ -18,7 +18,7 @@ * VpnSiteLink Resource. */ @Fluent -public final class VpnSiteLinkInner extends SubResource { +public final class VpnSiteLinkInner extends SubResourceModel { /* * Properties of the VPN site link. */ @@ -29,11 +29,6 @@ public final class VpnSiteLinkInner extends SubResource { */ private String etag; - /* - * The name of the resource that is unique within a resource group. This name can be used to access the resource. - */ - private String name; - /* * Resource type. */ @@ -63,33 +58,12 @@ public String etag() { return this.etag; } - /** - * Get the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the VpnSiteLinkInner object itself. - */ - public VpnSiteLinkInner withName(String name) { - this.name = name; - return this; - } - /** * Get the type property: Resource type. * * @return the type value. */ + @Override public String type() { return this.type; } @@ -103,6 +77,15 @@ public VpnSiteLinkInner withId(String id) { return this; } + /** + * {@inheritDoc} + */ + @Override + public VpnSiteLinkInner withName(String name) { + super.withName(name); + return this; + } + /** * Get the linkProperties property: The link provider properties. * @@ -200,7 +183,7 @@ public VpnSiteLinkInner withBgpProperties(VpnLinkBgpSettings bgpProperties) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -209,6 +192,7 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ + @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -222,8 +206,8 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("id", id()); + jsonWriter.writeStringField("name", name()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -244,14 +228,14 @@ public static VpnSiteLinkInner fromJson(JsonReader jsonReader) throws IOExceptio if ("id".equals(fieldName)) { deserializedVpnSiteLinkInner.withId(reader.getString()); + } else if ("name".equals(fieldName)) { + deserializedVpnSiteLinkInner.withName(reader.getString()); + } else if ("type".equals(fieldName)) { + deserializedVpnSiteLinkInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedVpnSiteLinkInner.innerProperties = VpnSiteLinkProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVpnSiteLinkInner.etag = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedVpnSiteLinkInner.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedVpnSiteLinkInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java index ca6c9117e929..b813ce575219 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.VpnLinkBgpSettings; import com.azure.resourcemanager.network.models.VpnLinkProviderProperties; import java.io.IOException; @@ -42,7 +42,7 @@ public final class VpnSiteLinkProperties implements JsonSerializable applicationGateways() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java index 16668c6e5f06..df1628400cdc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.fluent.models; @@ -13,8 +13,8 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayForContainersReferenceDefinition; import com.azure.resourcemanager.network.models.ManagedRulesDefinition; +import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PolicySettings; -import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.WebApplicationFirewallCustomRule; import com.azure.resourcemanager.network.models.WebApplicationFirewallPolicyResourceState; import java.io.IOException; @@ -44,7 +44,7 @@ public final class WebApplicationFirewallPolicyPropertiesFormat /* * The provisioning state of the web application firewall policy resource. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Resource status of the policy. @@ -132,7 +132,7 @@ public List applicationGateways() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -267,7 +267,7 @@ public static WebApplicationFirewallPolicyPropertiesFormat fromJson(JsonReader j deserializedWebApplicationFirewallPolicyPropertiesFormat.applicationGateways = applicationGateways; } else if ("provisioningState".equals(fieldName)) { deserializedWebApplicationFirewallPolicyPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else if ("resourceState".equals(fieldName)) { deserializedWebApplicationFirewallPolicyPropertiesFormat.resourceState = WebApplicationFirewallPolicyResourceState.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java index dfcdb99178bd..509fd535d720 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. /** - * Package containing the inner data models for NetworkManagementClient. - * Network Client. + * Package containing the inner data models for Network. + * APIs to manage web application firewall rules. */ package com.azure.resourcemanager.network.fluent.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/package-info.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/package-info.java index 6a646095a005..0379e5cc1274 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/package-info.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/package-info.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. /** - * Package containing the service clients for NetworkManagementClient. - * Network Client. + * Package containing the service clients for Network. + * APIs to manage web application firewall rules. */ package com.azure.resourcemanager.network.fluent; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java index a3a557174eed..50df62071094 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.AdminRuleCollectionsClient; import com.azure.resourcemanager.network.fluent.models.AdminRuleCollectionInner; -import com.azure.resourcemanager.network.models.AdminRuleCollectionListResult; +import com.azure.resourcemanager.network.implementation.models.AdminRuleCollectionListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,25 +67,14 @@ public final class AdminRuleCollectionsClientImpl implements AdminRuleCollection * The interface defining all the services for NetworkManagementClientAdminRuleCollections to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientAdminRuleCollections") public interface AdminRuleCollectionsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, - @PathParam("configurationName") String configurationName, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @@ -93,259 +82,54 @@ Mono> get(@HostParam("$host") String endpoint @PathParam("ruleCollectionName") String ruleCollectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, - @PathParam("ruleCollectionName") String ruleCollectionName, - @BodyParam("application/json") AdminRuleCollectionInner ruleCollection, - @HeaderParam("Accept") String accept, Context context); + @PathParam("ruleCollectionName") String ruleCollectionName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") AdminRuleCollectionInner ruleCollection, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("force") Boolean force, - @HeaderParam("Accept") String accept, Context context); + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, + @PathParam("configurationName") String configurationName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Lists all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security admin configuration rule collection list result along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, Integer top, String skipToken) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, top, skipToken, 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 all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security admin configuration rule collection list result along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, Integer top, String skipToken, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, top, skipToken, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security admin configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken) { - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @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 security admin configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName) { - final Integer top = null; - final String skipToken = null; - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security admin configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, - skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @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 security admin configuration rule collection list result as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName) { - final Integer top = null; - final String skipToken = null; - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken)); - } - - /** - * Lists all the rule collections in a security admin configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security admin configuration rule collection list result as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken, Context context) { - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken, context)); - } - /** * Gets a network manager security admin configuration rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -393,7 +177,7 @@ public Mono> getWithResponseAsync(String reso /** * Gets a network manager security admin configuration rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -441,7 +225,7 @@ private Mono> getWithResponseAsync(String res /** * Gets a network manager security admin configuration rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -460,7 +244,7 @@ public Mono getAsync(String resourceGroupName, String /** * Gets a network manager security admin configuration rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -480,7 +264,7 @@ public Response getWithResponse(String resourceGroupNa /** * Gets a network manager security admin configuration rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -499,7 +283,7 @@ public AdminRuleCollectionInner get(String resourceGroupName, String networkMana /** * Creates or updates an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -543,18 +327,19 @@ public Mono> createOrUpdateWithResponseAsync( ruleCollection.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, ruleCollection, accept, context)) + ruleCollectionName, contentType, accept, ruleCollection, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -599,17 +384,18 @@ private Mono> createOrUpdateWithResponseAsync ruleCollection.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, ruleCollectionName, ruleCollection, accept, - context); + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, contentType, accept, + ruleCollection, context); } /** * Creates or updates an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -629,7 +415,7 @@ public Mono createOrUpdateAsync(String resourceGroupNa /** * Creates or updates an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -651,7 +437,7 @@ public Response createOrUpdateWithResponse(String reso /** * Creates or updates an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -671,7 +457,7 @@ public AdminRuleCollectionInner createOrUpdate(String resourceGroupName, String /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -710,18 +496,17 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, force, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -762,16 +547,15 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, ruleCollectionName, force, accept, context); + networkManagerName, configurationName, ruleCollectionName, force, context); } /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -794,7 +578,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -816,7 +600,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -841,7 +625,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -862,7 +646,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -886,7 +670,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -908,7 +692,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -929,7 +713,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -951,7 +735,7 @@ private Mono deleteAsync(String resourceGroupName, String networkManagerNa /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -969,7 +753,7 @@ public void delete(String resourceGroupName, String networkManagerName, String c /** * Deletes an admin rule collection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -987,6 +771,219 @@ public void delete(String resourceGroupName, String networkManagerName, String c .block(); } + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 AdminRuleCollection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, Integer top, String skipToken) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, configurationName, top, skipToken, 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 all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 AdminRuleCollection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, Integer top, String skipToken, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, configurationName, top, skipToken, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 AdminRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken) { + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @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 AdminRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName) { + final Integer top = null; + final String skipToken = null; + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 AdminRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, + skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @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 AdminRuleCollection list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName) { + final Integer top = null; + final String skipToken = null; + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken)); + } + + /** + * Lists all the rule collections in a security admin configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 AdminRuleCollection list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken, Context context) { + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken, context)); + } + /** * Get the next page of items. * @@ -994,7 +991,7 @@ public void delete(String resourceGroupName, String networkManagerName, String c * @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 security admin configuration rule collection list result along with {@link PagedResponse} on successful + * @return the response of a AdminRuleCollection list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -1021,7 +1018,7 @@ private Mono> listNextSinglePageAsync(St * @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 security admin configuration rule collection list result along with {@link PagedResponse} on successful + * @return the response of a AdminRuleCollection list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java index 380605f2189c..123cbfc758ba 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.AdminRulesClient; import com.azure.resourcemanager.network.fluent.models.BaseAdminRuleInner; -import com.azure.resourcemanager.network.models.AdminRuleListResult; +import com.azure.resourcemanager.network.implementation.models.AdminRuleListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,26 +67,14 @@ public final class AdminRulesClientImpl implements AdminRulesClient { * The interface defining all the services for NetworkManagementClientAdminRules to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientAdminRules") public interface AdminRulesService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, - @PathParam("configurationName") String configurationName, - @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @@ -94,272 +82,54 @@ Mono> get(@HostParam("$host") String endpoint, @PathParam("ruleCollectionName") String ruleCollectionName, @PathParam("ruleName") String ruleName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @PathParam("ruleCollectionName") String ruleCollectionName, @PathParam("ruleName") String ruleName, - @BodyParam("application/json") BaseAdminRuleInner adminRule, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BaseAdminRuleInner adminRule, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @PathParam("ruleCollectionName") String ruleCollectionName, @PathParam("ruleName") String ruleName, - @QueryParam("force") Boolean force, @HeaderParam("Accept") String accept, Context context); + @QueryParam("force") Boolean force, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, + @PathParam("configurationName") String configurationName, + @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security configuration admin rule list result along with {@link PagedResponse} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - if (ruleCollectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken, 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())); - } - - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security configuration admin rule list result along with {@link PagedResponse} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - if (ruleCollectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, ruleCollectionName, top, skipToken, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security configuration admin rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @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 security configuration admin rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName) { - final Integer top = null; - final String skipToken = null; - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security configuration admin rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @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 security configuration admin rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName) { - final Integer top = null; - final String skipToken = null; - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken)); - } - - /** - * List all network manager security configuration admin rules. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security configuration admin rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken, context)); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets a network manager security configuration admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -412,7 +182,7 @@ public Mono> getWithResponseAsync(String resourceGr /** * Gets a network manager security configuration admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -464,7 +234,7 @@ private Mono> getWithResponseAsync(String resourceG /** * Gets a network manager security configuration admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -484,7 +254,7 @@ public Mono getAsync(String resourceGroupName, String networ /** * Gets a network manager security configuration admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -505,7 +275,7 @@ public Response getWithResponse(String resourceGroupName, St /** * Gets a network manager security configuration admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -525,7 +295,7 @@ public BaseAdminRuleInner get(String resourceGroupName, String networkManagerNam /** * Creates or updates an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -573,18 +343,19 @@ public Mono> createOrUpdateWithResponseAsync(String adminRule.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, ruleName, adminRule, accept, context)) + ruleCollectionName, ruleName, contentType, accept, adminRule, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -633,17 +404,18 @@ private Mono> createOrUpdateWithResponseAsync(Strin adminRule.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, ruleCollectionName, ruleName, adminRule, accept, - context); + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, ruleName, contentType, accept, + adminRule, context); } /** * Creates or updates an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -664,7 +436,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates or updates an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -687,7 +459,7 @@ public Response createOrUpdateWithResponse(String resourceGr /** * Creates or updates an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -708,7 +480,7 @@ public BaseAdminRuleInner createOrUpdate(String resourceGroupName, String networ /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -751,18 +523,17 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, ruleName, force, accept, context)) + ruleCollectionName, ruleName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -807,16 +578,15 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, ruleCollectionName, ruleName, force, accept, context); + networkManagerName, configurationName, ruleCollectionName, ruleName, force, context); } /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -840,7 +610,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -863,7 +633,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -889,7 +659,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -912,7 +682,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -937,7 +707,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -959,7 +729,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -980,7 +750,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -1003,7 +773,7 @@ private Mono deleteAsync(String resourceGroupName, String networkManagerNa /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -1023,7 +793,7 @@ public void delete(String resourceGroupName, String networkManagerName, String c /** * Deletes an admin rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param ruleCollectionName The name of the network manager security Configuration rule collection. @@ -1042,6 +812,235 @@ public void delete(String resourceGroupName, String networkManagerName, String c context).block(); } + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 paged collection of BaseAdminRule items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + if (ruleCollectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken, 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())); + } + + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 paged collection of BaseAdminRule items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + if (ruleCollectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, configurationName, ruleCollectionName, top, skipToken, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 paged collection of BaseAdminRule items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @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 paged collection of BaseAdminRule items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName) { + final Integer top = null; + final String skipToken = null; + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 paged collection of BaseAdminRule items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @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 paged collection of BaseAdminRule items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName) { + final Integer top = null; + final String skipToken = null; + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken)); + } + + /** + * List all network manager security configuration admin rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 paged collection of BaseAdminRule items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken, context)); + } + /** * Get the next page of items. * @@ -1049,8 +1048,8 @@ public void delete(String resourceGroupName, String networkManagerName, String c * @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 security configuration admin rule list result along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return paged collection of BaseAdminRule items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1076,8 +1075,8 @@ private Mono> listNextSinglePageAsync(String n * @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 security configuration admin rule list result along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return paged collection of BaseAdminRule items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java index 66f6af8cca8c..207ab6e1f4ed 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ApplicationGatewayPrivateEndpointConnectionsClient; import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayPrivateEndpointConnectionInner; -import com.azure.resourcemanager.network.models.ApplicationGatewayPrivateEndpointConnectionListResult; +import com.azure.resourcemanager.network.implementation.models.ApplicationGatewayPrivateEndpointConnectionListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -69,78 +69,84 @@ public final class ApplicationGatewayPrivateEndpointConnectionsClientImpl * The interface defining all the services for NetworkManagementClientApplicationGatewayPrivateEndpointConnections * to be used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientApplicationGatewayPrivateEndpointConnections") public interface ApplicationGatewayPrivateEndpointConnectionsService { @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}") - @ExpectedResponses({ 200, 202, 204 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("applicationGatewayName") String applicationGatewayName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> update(@HostParam("$host") String endpoint, + Mono>> update(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("applicationGatewayName") String applicationGatewayName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, + @PathParam("connectionName") String connectionName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") ApplicationGatewayPrivateEndpointConnectionInner parameters, - @HeaderParam("Accept") String accept, Context context); + Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}") + @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("applicationGatewayName") String applicationGatewayName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("applicationGatewayName") String applicationGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("applicationGatewayName") String applicationGatewayName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified private endpoint connection on application gateway. + * Gets the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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}. + * @return the specified private endpoint connection on application gateway along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String applicationGatewayName, String connectionName) { + public Mono> + getWithResponseAsync(String resourceGroupName, String applicationGatewayName, String connectionName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -152,37 +158,38 @@ public Mono>> deleteWithResponseAsync(String resourceG if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, - connectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationGatewayName, connectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified private endpoint connection on application gateway. + * Gets the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 Response} on successful completion of {@link Mono}. + * @return the specified private endpoint connection on application gateway along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String applicationGatewayName, String connectionName, Context context) { + private Mono> getWithResponseAsync( + String resourceGroupName, String applicationGatewayName, String connectionName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -194,169 +201,73 @@ private Mono>> deleteWithResponseAsync(String resource if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, connectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified private endpoint connection on application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationGatewayName, - String connectionName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, applicationGatewayName, connectionName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + applicationGatewayName, connectionName, accept, context); } /** - * Deletes the specified private endpoint connection on application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationGatewayName, - String connectionName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, applicationGatewayName, connectionName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified private endpoint connection on application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. - * @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 applicationGatewayName, - String connectionName) { - return this.beginDeleteAsync(resourceGroupName, applicationGatewayName, connectionName).getSyncPoller(); - } - - /** - * Deletes the specified private endpoint connection on application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. - * @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 applicationGatewayName, - String connectionName, Context context) { - return this.beginDeleteAsync(resourceGroupName, applicationGatewayName, connectionName, context) - .getSyncPoller(); - } - - /** - * Deletes the specified private endpoint connection on application gateway. + * Gets the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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. + * @return the specified private endpoint connection on application gateway on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String applicationGatewayName, String connectionName) { - return beginDeleteAsync(resourceGroupName, applicationGatewayName, connectionName).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono getAsync(String resourceGroupName, + String applicationGatewayName, String connectionName) { + return getWithResponseAsync(resourceGroupName, applicationGatewayName, connectionName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Deletes the specified private endpoint connection on application gateway. + * Gets the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String applicationGatewayName, String connectionName, - Context context) { - return beginDeleteAsync(resourceGroupName, applicationGatewayName, connectionName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified private endpoint connection on application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. - * @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 private endpoint connection on application gateway along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String applicationGatewayName, String connectionName) { - deleteAsync(resourceGroupName, applicationGatewayName, connectionName).block(); + public Response getWithResponse(String resourceGroupName, + String applicationGatewayName, String connectionName, Context context) { + return getWithResponseAsync(resourceGroupName, applicationGatewayName, connectionName, context).block(); } /** - * Deletes the specified private endpoint connection on application gateway. + * Gets the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. - * @param context The context to associate with this operation. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String applicationGatewayName, String connectionName, - Context context) { - deleteAsync(resourceGroupName, applicationGatewayName, connectionName, context).block(); + public ApplicationGatewayPrivateEndpointConnectionInner get(String resourceGroupName, String applicationGatewayName, + String connectionName) { + return getWithResponse(resourceGroupName, applicationGatewayName, connectionName, Context.NONE).getValue(); } /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -372,6 +283,10 @@ public Mono>> updateWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -383,29 +298,27 @@ public Mono>> updateWithResponseAsync(String resourceG if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.update(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, - connectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.update(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationGatewayName, connectionName, contentType, + accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -422,6 +335,10 @@ private Mono>> updateWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -433,28 +350,25 @@ private Mono>> updateWithResponseAsync(String resource if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.update(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, connectionName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.update(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + applicationGatewayName, connectionName, contentType, accept, parameters, context); } /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -477,9 +391,9 @@ private Mono>> updateWithResponseAsync(String resource /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -504,9 +418,9 @@ private Mono>> updateWithResponseAsync(String resource /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -525,9 +439,9 @@ private Mono>> updateWithResponseAsync(String resource /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -547,9 +461,9 @@ private Mono>> updateWithResponseAsync(String resource /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -567,9 +481,9 @@ public Mono updateAsync(String /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -588,9 +502,9 @@ private Mono updateAsync(Strin /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -607,9 +521,9 @@ public ApplicationGatewayPrivateEndpointConnectionInner update(String resourceGr /** * Updates the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @param parameters Parameters supplied to update application gateway private endpoint connection operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -625,24 +539,27 @@ public ApplicationGatewayPrivateEndpointConnectionInner update(String resourceGr } /** - * Gets the specified private endpoint connection on application gateway. + * Deletes the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway along with {@link Response} on - * successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - getWithResponseAsync(String resourceGroupName, String applicationGatewayName, String connectionName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String applicationGatewayName, String connectionName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -654,38 +571,36 @@ public ApplicationGatewayPrivateEndpointConnectionInner update(String resourceGr if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, - connectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationGatewayName, connectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the specified private endpoint connection on application gateway. + * Deletes the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway along with {@link Response} on - * successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync( - String resourceGroupName, String applicationGatewayName, String connectionName, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String applicationGatewayName, String connectionName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -697,80 +612,167 @@ private Mono> getWith if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, connectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + applicationGatewayName, connectionName, context); } /** - * Gets the specified private endpoint connection on application gateway. + * Deletes the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway on successful completion of - * {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationGatewayName, + String connectionName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, applicationGatewayName, connectionName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified private endpoint connection on application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName Name of the private endpoint connection on an application gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationGatewayName, + String connectionName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, applicationGatewayName, connectionName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified private endpoint connection on application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName Name of the private endpoint connection on an application gateway. + * @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 applicationGatewayName, + String connectionName) { + return this.beginDeleteAsync(resourceGroupName, applicationGatewayName, connectionName).getSyncPoller(); + } + + /** + * Deletes the specified private endpoint connection on application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName Name of the private endpoint connection on an application gateway. + * @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 applicationGatewayName, + String connectionName, Context context) { + return this.beginDeleteAsync(resourceGroupName, applicationGatewayName, connectionName, context) + .getSyncPoller(); + } + + /** + * Deletes the specified private endpoint connection on application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName Name of the private endpoint connection on an application gateway. + * @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) - public Mono getAsync(String resourceGroupName, - String applicationGatewayName, String connectionName) { - return getWithResponseAsync(resourceGroupName, applicationGatewayName, connectionName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono deleteAsync(String resourceGroupName, String applicationGatewayName, String connectionName) { + return beginDeleteAsync(resourceGroupName, applicationGatewayName, connectionName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified private endpoint connection on application gateway. + * Deletes the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway along with {@link Response}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, - String applicationGatewayName, String connectionName, Context context) { - return getWithResponseAsync(resourceGroupName, applicationGatewayName, connectionName, context).block(); + private Mono deleteAsync(String resourceGroupName, String applicationGatewayName, String connectionName, + Context context) { + return beginDeleteAsync(resourceGroupName, applicationGatewayName, connectionName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified private endpoint connection on application gateway. + * Deletes the specified private endpoint connection on application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param connectionName The name of the application gateway private endpoint connection. + * @param connectionName Name of the private endpoint connection on an application gateway. * @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 private endpoint connection on application gateway. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ApplicationGatewayPrivateEndpointConnectionInner get(String resourceGroupName, String applicationGatewayName, - String connectionName) { - return getWithResponse(resourceGroupName, applicationGatewayName, connectionName, Context.NONE).getValue(); + public void delete(String resourceGroupName, String applicationGatewayName, String connectionName) { + deleteAsync(resourceGroupName, applicationGatewayName, connectionName).block(); + } + + /** + * Deletes the specified private endpoint connection on application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName Name of the private endpoint connection on an application gateway. + * @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 applicationGatewayName, String connectionName, + Context context) { + deleteAsync(resourceGroupName, applicationGatewayName, connectionName, context).block(); } /** * Lists all private endpoint connections on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call along with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation along with * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -780,6 +782,10 @@ public ApplicationGatewayPrivateEndpointConnectionInner get(String resourceGroup return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -788,15 +794,11 @@ public ApplicationGatewayPrivateEndpointConnectionInner get(String resourceGroup return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationGatewayName, accept, context)) .>map( res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -806,13 +808,13 @@ public ApplicationGatewayPrivateEndpointConnectionInner get(String resourceGroup /** * Lists all private endpoint connections on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call along with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation along with * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -822,6 +824,10 @@ public ApplicationGatewayPrivateEndpointConnectionInner get(String resourceGroup return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -830,16 +836,12 @@ public ApplicationGatewayPrivateEndpointConnectionInner get(String resourceGroup return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + applicationGatewayName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -847,12 +849,12 @@ public ApplicationGatewayPrivateEndpointConnectionInner get(String resourceGroup /** * Lists all private endpoint connections on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation as paginated response with * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -865,13 +867,13 @@ public PagedFlux listAsync(Str /** * Lists all private endpoint connections on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation as paginated response with * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -884,12 +886,12 @@ private PagedFlux listAsync(St /** * Lists all private endpoint connections on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -901,13 +903,13 @@ public PagedIterable list(Stri /** * Lists all private endpoint connections on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -923,7 +925,7 @@ public PagedIterable list(Stri * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call along with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation along with * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -952,7 +954,7 @@ public PagedIterable list(Stri * @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 response for ListApplicationGatewayPrivateEndpointConnection API service call along with + * @return the response of a ApplicationGatewayPrivateEndpointConnection list operation along with * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java index ea64d21eab6c..e5acc6e6f4db 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.ApplicationGatewayPrivateLinkResourcesClient; import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayPrivateLinkResourceInner; -import com.azure.resourcemanager.network.models.ApplicationGatewayPrivateLinkResourceListResult; +import com.azure.resourcemanager.network.implementation.models.ApplicationGatewayPrivateLinkResourceListResult; import reactor.core.publisher.Mono; /** @@ -61,37 +61,37 @@ public final class ApplicationGatewayPrivateLinkResourcesClientImpl * The interface defining all the services for NetworkManagementClientApplicationGatewayPrivateLinkResources to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientApplicationGatewayPrivateLinkResources") public interface ApplicationGatewayPrivateLinkResourcesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateLinkResources") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("applicationGatewayName") String applicationGatewayName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("applicationGatewayName") String applicationGatewayName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Lists all private link resources on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateLinkResources API service call along with {@link PagedResponse} + * @return the response of a ApplicationGatewayPrivateLinkResource list operation along with {@link PagedResponse} * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -101,6 +101,10 @@ Mono> listNext( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -109,15 +113,11 @@ Mono> listNext( return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationGatewayName, accept, context)) .>map( res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -127,13 +127,13 @@ Mono> listNext( /** * Lists all private link resources on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateLinkResources API service call along with {@link PagedResponse} + * @return the response of a ApplicationGatewayPrivateLinkResource list operation along with {@link PagedResponse} * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -143,6 +143,10 @@ Mono> listNext( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -151,16 +155,12 @@ Mono> listNext( return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + applicationGatewayName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -168,12 +168,12 @@ Mono> listNext( /** * Lists all private link resources on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateLinkResources API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateLinkResource list operation as paginated response with * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -186,13 +186,13 @@ public PagedFlux listAsync(String re /** * Lists all private link resources on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateLinkResources API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateLinkResource list operation as paginated response with * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -205,12 +205,12 @@ private PagedFlux listAsync(String r /** * Lists all private link resources on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateLinkResources API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateLinkResource list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -222,13 +222,13 @@ public PagedIterable list(String res /** * Lists all private link resources on an application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 response for ListApplicationGatewayPrivateLinkResources API service call as paginated response with + * @return the response of a ApplicationGatewayPrivateLinkResource list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -244,7 +244,7 @@ public PagedIterable list(String res * @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 response for ListApplicationGatewayPrivateLinkResources API service call along with {@link PagedResponse} + * @return the response of a ApplicationGatewayPrivateLinkResource list operation along with {@link PagedResponse} * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -272,7 +272,7 @@ private Mono> listNext * @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 response for ListApplicationGatewayPrivateLinkResources API service call along with {@link PagedResponse} + * @return the response of a ApplicationGatewayPrivateLinkResource list operation along with {@link PagedResponse} * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java index d5f0aed43676..067fb12fa969 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.ApplicationGatewayWafDynamicManifestsClient; import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayWafDynamicManifestResultInner; -import com.azure.resourcemanager.network.models.ApplicationGatewayWafDynamicManifestResultList; +import com.azure.resourcemanager.network.implementation.models.ApplicationGatewayWafDynamicManifestResultList; import reactor.core.publisher.Mono; /** @@ -61,30 +61,30 @@ public final class ApplicationGatewayWafDynamicManifestsClientImpl * The interface defining all the services for NetworkManagementClientApplicationGatewayWafDynamicManifests to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientApplicationGatewayWafDynamicManifests") public interface ApplicationGatewayWafDynamicManifestsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -97,18 +97,18 @@ private Mono> get return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, accept, context)) .>map( res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -118,7 +118,7 @@ private Mono> get /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -133,18 +133,18 @@ private Mono> get return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .get(this.client.getEndpoint(), location, apiVersion, this.client.getSubscriptionId(), accept, context) + .get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -152,7 +152,7 @@ private Mono> get /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -166,7 +166,7 @@ public PagedFlux getAsync(Strin /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -182,7 +182,7 @@ private PagedFlux getAsync(Stri /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -196,7 +196,7 @@ public PagedIterable get(String /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java index e85191d78dd2..969c2288d051 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -56,22 +56,22 @@ public final class ApplicationGatewayWafDynamicManifestsDefaultsClientImpl * The interface defining all the services for NetworkManagementClientApplicationGatewayWafDynamicManifestsDefaults * to be used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientApplicationGatewayWafDynamicManifestsDefaults") public interface ApplicationGatewayWafDynamicManifestsDefaultsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests/dafault") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); } /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -84,25 +84,25 @@ public Mono> getWithRe return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -117,24 +117,24 @@ private Mono> getWithR return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), location, apiVersion, this.client.getSubscriptionId(), accept, + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, accept, context); } /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -148,7 +148,7 @@ public Mono getAsync(String loc /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. @@ -163,7 +163,7 @@ public Response getWithResponse /** * Gets the regional application gateway waf manifest. * - * @param location The region where the nrp are located at. + * @param location The location for which the WAF dynamic manifest is requested. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java index a5fb0055af5d..abb516661e26 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -40,10 +40,12 @@ import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayBackendHealthOnDemandInner; import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayInner; import com.azure.resourcemanager.network.fluent.models.ApplicationGatewaySslPredefinedPolicyInner; -import com.azure.resourcemanager.network.models.ApplicationGatewayAvailableSslPredefinedPolicies; -import com.azure.resourcemanager.network.models.ApplicationGatewayListResult; +import com.azure.resourcemanager.network.implementation.models.ApplicationGatewayAvailableSslPredefinedPolicies; +import com.azure.resourcemanager.network.implementation.models.ApplicationGatewayListResult; import com.azure.resourcemanager.network.models.ApplicationGatewayOnDemandProbe; import com.azure.resourcemanager.network.models.ErrorException; +import com.azure.resourcemanager.network.models.StartFinalResult; +import com.azure.resourcemanager.network.models.StopFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -83,114 +85,134 @@ public final class ApplicationGatewaysClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("applicationGatewayName") String applicationGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("applicationGatewayName") String applicationGatewayName, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("applicationGatewayName") String applicationGatewayName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("applicationGatewayName") String applicationGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ApplicationGatewayInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ApplicationGatewayInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("applicationGatewayName") String applicationGatewayName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("applicationGatewayName") String applicationGatewayName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/applicationGateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + 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" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> start(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("applicationGatewayName") String applicationGatewayName, + Mono>> start(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("applicationGatewayName") String applicationGatewayName, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> stop(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("applicationGatewayName") String applicationGatewayName, + Mono>> stop(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("applicationGatewayName") String applicationGatewayName, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> backendHealth(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("applicationGatewayName") String applicationGatewayName, + Mono>> backendHealth(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("applicationGatewayName") String applicationGatewayName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> backendHealthOnDemand(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("applicationGatewayName") String applicationGatewayName, + Mono>> backendHealthOnDemand(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("$expand") String expand, - @BodyParam("application/json") ApplicationGatewayOnDemandProbe probeRequest, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("applicationGatewayName") String applicationGatewayName, @QueryParam("$expand") String expand, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ApplicationGatewayOnDemandProbe probeRequest, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listAvailableSslOptions( + @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.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listAvailableSslPredefinedPolicies( + @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.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getSslPredefinedPolicy( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("predefinedPolicyName") String predefinedPolicyName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> listAvailableServerVariables(@HostParam("$host") String endpoint, + Mono>> listAvailableServerVariables(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -198,7 +220,7 @@ Mono>> listAvailableServerVariables(@HostParam("$host") St @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> listAvailableRequestHeaders(@HostParam("$host") String endpoint, + Mono>> listAvailableRequestHeaders(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -206,7 +228,7 @@ Mono>> listAvailableRequestHeaders(@HostParam("$host") Str @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> listAvailableResponseHeaders(@HostParam("$host") String endpoint, + Mono>> listAvailableResponseHeaders(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -215,41 +237,15 @@ Mono>> listAvailableResponseHeaders(@HostParam("$host") St @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAvailableWafRuleSets( - @HostParam("$host") 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.Network/applicationGatewayAvailableSslOptions/default") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAvailableSslOptions( - @HostParam("$host") 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.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAvailableSslPredefinedPolicies( - @HostParam("$host") String endpoint, @QueryParam("api-version") String apiVersion, + @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.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getSslPredefinedPolicy( - @HostParam("$host") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("predefinedPolicyName") String predefinedPolicyName, @HeaderParam("Accept") String accept, - Context context); - @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -257,7 +253,7 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -265,65 +261,31 @@ Mono> listAllNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAvailableSslPredefinedPoliciesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified application gateway. + * Gets the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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}. + * @return the specified application gateway along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String applicationGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (applicationGatewayName == null) { - return Mono.error( - new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String applicationGatewayName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -332,191 +294,18 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String applicationGatewayName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, applicationGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationGatewayName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, applicationGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 applicationGatewayName) { - return this.beginDeleteAsync(resourceGroupName, applicationGatewayName).getSyncPoller(); - } - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 applicationGatewayName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, applicationGatewayName, context).getSyncPoller(); - } - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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) - public Mono deleteAsync(String resourceGroupName, String applicationGatewayName) { - return beginDeleteAsync(resourceGroupName, applicationGatewayName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String applicationGatewayName, Context context) { - return beginDeleteAsync(resourceGroupName, applicationGatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 applicationGatewayName) { - deleteAsync(resourceGroupName, applicationGatewayName).block(); - } - - /** - * Deletes the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 applicationGatewayName, Context context) { - deleteAsync(resourceGroupName, applicationGatewayName, context).block(); - } - - /** - * Gets the specified application gateway. - * - * @param resourceGroupName The name of the resource group. - * @param applicationGatewayName The name of the application gateway. - * @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 application gateway along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String applicationGatewayName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (applicationGatewayName == null) { - return Mono.error( - new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - applicationGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationGatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -531,6 +320,10 @@ private Mono> getByResourceGroupWithResponseAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -539,21 +332,17 @@ private Mono> getByResourceGroupWithResponseAs return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationGatewayName, accept, context); } /** * Gets the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -570,7 +359,7 @@ public Mono getByResourceGroupAsync(String resourceGrou /** * Gets the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -587,7 +376,7 @@ public Response getByResourceGroupWithResponse(String r /** * Gets the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -602,7 +391,7 @@ public ApplicationGatewayInner getByResourceGroup(String resourceGroupName, Stri /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -617,6 +406,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -625,27 +418,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - applicationGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationGatewayName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @param context The context to associate with this operation. @@ -661,6 +452,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -669,26 +464,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationGatewayName, contentType, accept, parameters, context); } /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -709,7 +501,7 @@ public PollerFlux, ApplicationGatewayInner> /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @param context The context to associate with this operation. @@ -731,7 +523,7 @@ private PollerFlux, ApplicationGatewayInner> /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -748,7 +540,7 @@ public SyncPoller, ApplicationGatewayInner> /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @param context The context to associate with this operation. @@ -767,7 +559,7 @@ public SyncPoller, ApplicationGatewayInner> /** * Creates or updates the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param parameters Parameters supplied to the create or update application gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -783,77 +575,222 @@ public Mono createOrUpdateAsync(String resourceGroupNam } /** - * Creates or updates the specified application gateway. + * Creates or updates the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param parameters Parameters supplied to the create or update application gateway operation. + * @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 application gateway resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono createOrUpdateAsync(String resourceGroupName, String applicationGatewayName, + ApplicationGatewayInner parameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, applicationGatewayName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Creates or updates the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param parameters Parameters supplied to the create or update application gateway 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 application gateway resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ApplicationGatewayInner createOrUpdate(String resourceGroupName, String applicationGatewayName, + ApplicationGatewayInner parameters) { + return createOrUpdateAsync(resourceGroupName, applicationGatewayName, parameters).block(); + } + + /** + * Creates or updates the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param parameters Parameters supplied to the create or update application gateway operation. + * @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 application gateway resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ApplicationGatewayInner createOrUpdate(String resourceGroupName, String applicationGatewayName, + ApplicationGatewayInner parameters, Context context) { + return createOrUpdateAsync(resourceGroupName, applicationGatewayName, parameters, context).block(); + } + + /** + * Updates the specified application gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param parameters Parameters supplied to update application gateway tags. + * @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 application gateway resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> updateTagsWithResponseAsync(String resourceGroupName, + String applicationGatewayName, TagsObject parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (applicationGatewayName == null) { + return Mono.error( + new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationGatewayName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Updates the specified application gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @param parameters Parameters supplied to update application gateway tags. + * @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 application gateway resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String applicationGatewayName, TagsObject parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (applicationGatewayName == null) { + return Mono.error( + new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationGatewayName, contentType, accept, parameters, context); + } + + /** + * Updates the specified application gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param parameters Parameters supplied to the create or update application gateway operation. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to update application gateway tags. * @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 application gateway resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String applicationGatewayName, - ApplicationGatewayInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, applicationGatewayName, parameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono updateTagsAsync(String resourceGroupName, String applicationGatewayName, + TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, applicationGatewayName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Creates or updates the specified application gateway. + * Updates the specified application gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param parameters Parameters supplied to the create or update application gateway operation. + * @param parameters Parameters supplied to update application gateway tags. + * @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 application gateway resource. + * @return application gateway resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ApplicationGatewayInner createOrUpdate(String resourceGroupName, String applicationGatewayName, - ApplicationGatewayInner parameters) { - return createOrUpdateAsync(resourceGroupName, applicationGatewayName, parameters).block(); + public Response updateTagsWithResponse(String resourceGroupName, + String applicationGatewayName, TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, applicationGatewayName, parameters, context).block(); } /** - * Creates or updates the specified application gateway. + * Updates the specified application gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param parameters Parameters supplied to the create or update application gateway operation. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to update application gateway tags. * @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 application gateway resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ApplicationGatewayInner createOrUpdate(String resourceGroupName, String applicationGatewayName, - ApplicationGatewayInner parameters, Context context) { - return createOrUpdateAsync(resourceGroupName, applicationGatewayName, parameters, context).block(); + public ApplicationGatewayInner updateTags(String resourceGroupName, String applicationGatewayName, + TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, applicationGatewayName, parameters, Context.NONE).getValue(); } /** - * Updates the specified application gateway tags. + * Deletes the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param parameters Parameters supplied to update application gateway tags. * @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 application gateway resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateTagsWithResponseAsync(String resourceGroupName, - String applicationGatewayName, TagsObject parameters) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String applicationGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -862,42 +799,35 @@ public Mono> updateTagsWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - applicationGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Updates the specified application gateway tags. + * Deletes the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param parameters Parameters supplied to update application gateway tags. * @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 application gateway resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String applicationGatewayName, TagsObject parameters, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String applicationGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -906,83 +836,153 @@ private Mono> updateTagsWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + applicationGatewayName, context); } /** - * Updates the specified application gateway tags. + * Deletes the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param parameters Parameters supplied to update application gateway tags. * @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 application gateway resource on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String applicationGatewayName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, applicationGatewayName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String applicationGatewayName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, applicationGatewayName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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 applicationGatewayName) { + return this.beginDeleteAsync(resourceGroupName, applicationGatewayName).getSyncPoller(); + } + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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 applicationGatewayName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, applicationGatewayName, context).getSyncPoller(); + } + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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) - public Mono updateTagsAsync(String resourceGroupName, String applicationGatewayName, - TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, applicationGatewayName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono deleteAsync(String resourceGroupName, String applicationGatewayName) { + return beginDeleteAsync(resourceGroupName, applicationGatewayName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates the specified application gateway tags. + * Deletes the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param parameters Parameters supplied to update application gateway tags. * @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 application gateway resource along with {@link Response}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, - String applicationGatewayName, TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, applicationGatewayName, parameters, context).block(); + private Mono deleteAsync(String resourceGroupName, String applicationGatewayName, Context context) { + return beginDeleteAsync(resourceGroupName, applicationGatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates the specified application gateway tags. + * Deletes the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. - * @param parameters Parameters supplied to update application gateway tags. * @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 application gateway resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ApplicationGatewayInner updateTags(String resourceGroupName, String applicationGatewayName, - TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, applicationGatewayName, parameters, Context.NONE).getValue(); + public void delete(String resourceGroupName, String applicationGatewayName) { + deleteAsync(resourceGroupName, applicationGatewayName).block(); + } + + /** + * Deletes the specified application gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationGatewayName The name of the application gateway. + * @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 applicationGatewayName, Context context) { + deleteAsync(resourceGroupName, applicationGatewayName, context).block(); } /** * Lists all application gateways in a resource group. * - * @param resourceGroupName The name of the 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 response for ListApplicationGateways API service call along with {@link PagedResponse} on successful + * @return the response of a ApplicationGateway list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -991,19 +991,19 @@ private Mono> listByResourceGroupSinglePa return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -1012,12 +1012,12 @@ private Mono> listByResourceGroupSinglePa /** * Lists all application gateways in a resource group. * - * @param resourceGroupName The name of the 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 response for ListApplicationGateways API service call along with {@link PagedResponse} on successful + * @return the response of a ApplicationGateway list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -1027,20 +1027,20 @@ private Mono> listByResourceGroupSinglePa return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1048,11 +1048,11 @@ private Mono> listByResourceGroupSinglePa /** * Lists all application gateways in a resource group. * - * @param resourceGroupName The name of the 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 response for ListApplicationGateways API service call as paginated response with {@link PagedFlux}. + * @return the response of a ApplicationGateway list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listByResourceGroupAsync(String resourceGroupName) { @@ -1063,12 +1063,12 @@ public PagedFlux listByResourceGroupAsync(String resour /** * Lists all application gateways in a resource group. * - * @param resourceGroupName The name of the 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 response for ListApplicationGateways API service call as paginated response with {@link PagedFlux}. + * @return the response of a ApplicationGateway list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { @@ -1079,11 +1079,11 @@ private PagedFlux listByResourceGroupAsync(String resou /** * Lists all application gateways in a resource group. * - * @param resourceGroupName The name of the 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 response for ListApplicationGateways API service call as paginated response with {@link PagedIterable}. + * @return the response of a ApplicationGateway list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByResourceGroup(String resourceGroupName) { @@ -1093,12 +1093,12 @@ public PagedIterable listByResourceGroup(String resourc /** * Lists all application gateways in a resource group. * - * @param resourceGroupName The name of the 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 response for ListApplicationGateways API service call as paginated response with {@link PagedIterable}. + * @return the response of a ApplicationGateway list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { @@ -1217,7 +1217,7 @@ public PagedIterable list(Context context) { /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1231,6 +1231,10 @@ public Mono>> startWithResponseAsync(String resourceGr return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1239,22 +1243,17 @@ public Mono>> startWithResponseAsync(String resourceGr return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.start(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.start(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1269,6 +1268,10 @@ private Mono>> startWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1277,21 +1280,16 @@ private Mono>> startWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.start(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.start(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + applicationGatewayName, context); } /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1299,16 +1297,17 @@ private Mono>> startWithResponseAsync(String resourceG * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginStartAsync(String resourceGroupName, String applicationGatewayName) { + public PollerFlux, StartFinalResult> beginStartAsync(String resourceGroupName, + String applicationGatewayName) { Mono>> mono = startWithResponseAsync(resourceGroupName, applicationGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + StartFinalResult.class, StartFinalResult.class, this.client.getContext()); } /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1317,19 +1316,19 @@ public PollerFlux, Void> beginStartAsync(String resourceGroupNa * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginStartAsync(String resourceGroupName, String applicationGatewayName, - Context context) { + private PollerFlux, StartFinalResult> beginStartAsync(String resourceGroupName, + String applicationGatewayName, Context context) { context = this.client.mergeContext(context); Mono>> mono = startWithResponseAsync(resourceGroupName, applicationGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + StartFinalResult.class, StartFinalResult.class, context); } /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1337,14 +1336,15 @@ private PollerFlux, Void> beginStartAsync(String resourceGroupN * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginStart(String resourceGroupName, String applicationGatewayName) { + public SyncPoller, StartFinalResult> beginStart(String resourceGroupName, + String applicationGatewayName) { return this.beginStartAsync(resourceGroupName, applicationGatewayName).getSyncPoller(); } /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1353,23 +1353,23 @@ public SyncPoller, Void> beginStart(String resourceGroupName, S * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginStart(String resourceGroupName, String applicationGatewayName, - Context context) { + public SyncPoller, StartFinalResult> beginStart(String resourceGroupName, + String applicationGatewayName, Context context) { return this.beginStartAsync(resourceGroupName, applicationGatewayName, context).getSyncPoller(); } /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startAsync(String resourceGroupName, String applicationGatewayName) { + public Mono startAsync(String resourceGroupName, String applicationGatewayName) { return beginStartAsync(resourceGroupName, applicationGatewayName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1377,16 +1377,17 @@ public Mono startAsync(String resourceGroupName, String applicationGateway /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startAsync(String resourceGroupName, String applicationGatewayName, Context context) { + private Mono startAsync(String resourceGroupName, String applicationGatewayName, + Context context) { return beginStartAsync(resourceGroupName, applicationGatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1394,36 +1395,38 @@ private Mono startAsync(String resourceGroupName, String applicationGatewa /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void start(String resourceGroupName, String applicationGatewayName) { - startAsync(resourceGroupName, applicationGatewayName).block(); + public StartFinalResult start(String resourceGroupName, String applicationGatewayName) { + return startAsync(resourceGroupName, applicationGatewayName).block(); } /** * Starts the specified application gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void start(String resourceGroupName, String applicationGatewayName, Context context) { - startAsync(resourceGroupName, applicationGatewayName, context).block(); + public StartFinalResult start(String resourceGroupName, String applicationGatewayName, Context context) { + return startAsync(resourceGroupName, applicationGatewayName, context).block(); } /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1437,6 +1440,10 @@ public Mono>> stopWithResponseAsync(String resourceGro return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1445,22 +1452,17 @@ public Mono>> stopWithResponseAsync(String resourceGro return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.stop(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.stop(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1475,6 +1477,10 @@ private Mono>> stopWithResponseAsync(String resourceGr return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1483,21 +1489,16 @@ private Mono>> stopWithResponseAsync(String resourceGr return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.stop(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.stop(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + applicationGatewayName, context); } /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1505,16 +1506,17 @@ private Mono>> stopWithResponseAsync(String resourceGr * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginStopAsync(String resourceGroupName, String applicationGatewayName) { + public PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, + String applicationGatewayName) { Mono>> mono = stopWithResponseAsync(resourceGroupName, applicationGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + StopFinalResult.class, StopFinalResult.class, this.client.getContext()); } /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1523,19 +1525,19 @@ public PollerFlux, Void> beginStopAsync(String resourceGroupNam * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginStopAsync(String resourceGroupName, String applicationGatewayName, - Context context) { + private PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, + String applicationGatewayName, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopWithResponseAsync(resourceGroupName, applicationGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + StopFinalResult.class, StopFinalResult.class, context); } /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1543,14 +1545,15 @@ private PollerFlux, Void> beginStopAsync(String resourceGroupNa * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginStop(String resourceGroupName, String applicationGatewayName) { + public SyncPoller, StopFinalResult> beginStop(String resourceGroupName, + String applicationGatewayName) { return this.beginStopAsync(resourceGroupName, applicationGatewayName).getSyncPoller(); } /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1559,23 +1562,23 @@ public SyncPoller, Void> beginStop(String resourceGroupName, St * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginStop(String resourceGroupName, String applicationGatewayName, - Context context) { + public SyncPoller, StopFinalResult> beginStop(String resourceGroupName, + String applicationGatewayName, Context context) { return this.beginStopAsync(resourceGroupName, applicationGatewayName, context).getSyncPoller(); } /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopAsync(String resourceGroupName, String applicationGatewayName) { + public Mono stopAsync(String resourceGroupName, String applicationGatewayName) { return beginStopAsync(resourceGroupName, applicationGatewayName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1583,16 +1586,16 @@ public Mono stopAsync(String resourceGroupName, String applicationGatewayN /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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 A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopAsync(String resourceGroupName, String applicationGatewayName, Context context) { + private Mono stopAsync(String resourceGroupName, String applicationGatewayName, Context context) { return beginStopAsync(resourceGroupName, applicationGatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1600,36 +1603,38 @@ private Mono stopAsync(String resourceGroupName, String applicationGateway /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void stop(String resourceGroupName, String applicationGatewayName) { - stopAsync(resourceGroupName, applicationGatewayName).block(); + public StopFinalResult stop(String resourceGroupName, String applicationGatewayName) { + return stopAsync(resourceGroupName, applicationGatewayName).block(); } /** * Stops the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void stop(String resourceGroupName, String applicationGatewayName, Context context) { - stopAsync(resourceGroupName, applicationGatewayName, context).block(); + public StopFinalResult stop(String resourceGroupName, String applicationGatewayName, Context context) { + return stopAsync(resourceGroupName, applicationGatewayName, context).block(); } /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1645,6 +1650,10 @@ public Mono>> backendHealthWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1653,22 +1662,18 @@ public Mono>> backendHealthWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.backendHealth(this.client.getEndpoint(), resourceGroupName, - applicationGatewayName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.backendHealth(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationGatewayName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @param context The context to associate with this operation. @@ -1685,6 +1690,10 @@ private Mono>> backendHealthWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1693,21 +1702,17 @@ private Mono>> backendHealthWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.backendHealth(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.backendHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationGatewayName, expand, accept, context); } /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1729,7 +1734,7 @@ private Mono>> backendHealthWithResponseAsync(String r /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1751,7 +1756,7 @@ private Mono>> backendHealthWithResponseAsync(String r /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @param context The context to associate with this operation. @@ -1776,7 +1781,7 @@ private Mono>> backendHealthWithResponseAsync(String r /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1794,7 +1799,7 @@ private Mono>> backendHealthWithResponseAsync(String r /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @param context The context to associate with this operation. @@ -1813,7 +1818,7 @@ private Mono>> backendHealthWithResponseAsync(String r /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1832,7 +1837,7 @@ public Mono backendHealthAsync(String reso /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1851,7 +1856,7 @@ public Mono backendHealthAsync(String reso /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @param context The context to associate with this operation. @@ -1871,7 +1876,7 @@ private Mono backendHealthAsync(String res /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1887,7 +1892,7 @@ public ApplicationGatewayBackendHealthInner backendHealth(String resourceGroupNa /** * Gets the backend health of the specified application gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. * @param context The context to associate with this operation. @@ -1906,7 +1911,7 @@ public ApplicationGatewayBackendHealthInner backendHealth(String resourceGroupNa * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -1923,6 +1928,10 @@ public Mono>> backendHealthOnDemandWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1931,21 +1940,18 @@ public Mono>> backendHealthOnDemandWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (probeRequest == null) { return Mono.error(new IllegalArgumentException("Parameter probeRequest is required and cannot be null.")); } else { probeRequest.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.backendHealthOnDemand(this.client.getEndpoint(), resourceGroupName, - applicationGatewayName, apiVersion, this.client.getSubscriptionId(), expand, probeRequest, accept, - context)) + .withContext(context -> service.backendHealthOnDemand(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationGatewayName, expand, contentType, accept, + probeRequest, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1953,7 +1959,7 @@ public Mono>> backendHealthOnDemandWithResponseAsync(S * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -1971,6 +1977,10 @@ private Mono>> backendHealthOnDemandWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1979,27 +1989,24 @@ private Mono>> backendHealthOnDemandWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter applicationGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (probeRequest == null) { return Mono.error(new IllegalArgumentException("Parameter probeRequest is required and cannot be null.")); } else { probeRequest.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.backendHealthOnDemand(this.client.getEndpoint(), resourceGroupName, applicationGatewayName, - apiVersion, this.client.getSubscriptionId(), expand, probeRequest, accept, context); + return service.backendHealthOnDemand(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationGatewayName, expand, contentType, accept, probeRequest, context); } /** * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -2026,7 +2033,7 @@ private Mono>> backendHealthOnDemandWithResponseAsync( * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2053,7 +2060,7 @@ private Mono>> backendHealthOnDemandWithResponseAsync( * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -2082,7 +2089,7 @@ private Mono>> backendHealthOnDemandWithResponseAsync( * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2105,7 +2112,7 @@ private Mono>> backendHealthOnDemandWithResponseAsync( * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -2130,7 +2137,7 @@ private Mono>> backendHealthOnDemandWithResponseAsync( * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -2151,7 +2158,7 @@ public Mono backendHealthOnDemandA * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2172,7 +2179,7 @@ public Mono backendHealthOnDemandA * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -2195,7 +2202,7 @@ private Mono backendHealthOnDemand * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2215,7 +2222,7 @@ public ApplicationGatewayBackendHealthOnDemandInner backendHealthOnDemand(String * Gets the backend health for given combination of backend pool and http setting of the specified application * gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationGatewayName The name of the application gateway. * @param probeRequest Request body for on-demand test probe operation. * @param expand Expands BackendAddressPool and BackendHttpSettings referenced in backend health. @@ -2234,15 +2241,15 @@ public ApplicationGatewayBackendHealthOnDemandInner backendHealthOnDemand(String } /** - * Lists all available server variables. + * Lists available Ssl options for configuring Ssl policy. * - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableServerVariables API service call along with {@link Response} on + * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link Response} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> listAvailableServerVariablesWithResponseAsync() { + public Mono> listAvailableSslOptionsWithResponseAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2254,23 +2261,24 @@ public Mono>> listAvailableServerVariablesWithResponseAsyn final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAvailableServerVariables(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.listAvailableSslOptions(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Lists all available server variables. + * Lists available Ssl options for configuring Ssl policy. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableServerVariables API service call along with {@link Response} on + * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link Response} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> listAvailableServerVariablesWithResponseAsync(Context context) { + private Mono> + listAvailableSslOptionsWithResponseAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2282,59 +2290,60 @@ private Mono>> listAvailableServerVariablesWithResponseAsy final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAvailableServerVariables(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.listAvailableSslOptions(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + accept, context); } /** - * Lists all available server variables. + * Lists available Ssl options for configuring Ssl policy. * - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableServerVariables API service call on successful completion of + * @return response for ApplicationGatewayAvailableSslOptions API service call on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listAvailableServerVariablesAsync() { - return listAvailableServerVariablesWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono listAvailableSslOptionsAsync() { + return listAvailableSslOptionsWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Lists all available server variables. + * Lists available Ssl options for configuring Ssl policy. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableServerVariables API service call along with {@link Response}. + * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response> listAvailableServerVariablesWithResponse(Context context) { - return listAvailableServerVariablesWithResponseAsync(context).block(); + public Response listAvailableSslOptionsWithResponse(Context context) { + return listAvailableSslOptionsWithResponseAsync(context).block(); } /** - * Lists all available server variables. + * Lists available Ssl options for configuring Ssl policy. * - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableServerVariables API service call. + * @return response for ApplicationGatewayAvailableSslOptions API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) - public List listAvailableServerVariables() { - return listAvailableServerVariablesWithResponse(Context.NONE).getValue(); + public ApplicationGatewayAvailableSslOptionsInner listAvailableSslOptions() { + return listAvailableSslOptionsWithResponse(Context.NONE).getValue(); } /** - * Lists all available request headers. + * Lists all SSL predefined policies for configuring Ssl policy. * - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableRequestHeaders API service call along with {@link Response} on + * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> listAvailableRequestHeadersWithResponseAsync() { + private Mono> + listAvailableSslPredefinedPoliciesSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2346,23 +2355,27 @@ public Mono>> listAvailableRequestHeadersWithResponseAsync final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAvailableRequestHeaders(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.listAvailableSslPredefinedPolicies(this.client.getEndpoint(), apiVersion, 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 all available request headers. + * Lists all SSL predefined policies for configuring Ssl policy. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableRequestHeaders API service call along with {@link Response} on + * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> listAvailableRequestHeadersWithResponseAsync(Context context) { + private Mono> + listAvailableSslPredefinedPoliciesSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2374,59 +2387,86 @@ private Mono>> listAvailableRequestHeadersWithResponseAsyn final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAvailableRequestHeaders(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), accept, context); + return service + .listAvailableSslPredefinedPolicies(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Lists all available request headers. + * Lists all SSL predefined policies for configuring Ssl policy. * - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableRequestHeaders API service call on successful completion of - * {@link Mono}. + * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listAvailableRequestHeadersAsync() { - return listAvailableRequestHeadersWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAvailableSslPredefinedPoliciesAsync() { + return new PagedFlux<>(() -> listAvailableSslPredefinedPoliciesSinglePageAsync(), + nextLink -> listAvailableSslPredefinedPoliciesNextSinglePageAsync(nextLink)); } /** - * Lists all available request headers. + * Lists all SSL predefined policies for configuring Ssl policy. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableRequestHeaders API service call along with {@link Response}. + * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response> listAvailableRequestHeadersWithResponse(Context context) { - return listAvailableRequestHeadersWithResponseAsync(context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux + listAvailableSslPredefinedPoliciesAsync(Context context) { + return new PagedFlux<>(() -> listAvailableSslPredefinedPoliciesSinglePageAsync(context), + nextLink -> listAvailableSslPredefinedPoliciesNextSinglePageAsync(nextLink, context)); } /** - * Lists all available request headers. + * Lists all SSL predefined policies for configuring Ssl policy. * - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableRequestHeaders API service call. + * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public List listAvailableRequestHeaders() { - return listAvailableRequestHeadersWithResponse(Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listAvailableSslPredefinedPolicies() { + return new PagedIterable<>(listAvailableSslPredefinedPoliciesAsync()); } /** - * Lists all available response headers. + * Lists all SSL predefined policies for configuring Ssl policy. * - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableResponseHeaders API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable + listAvailableSslPredefinedPolicies(Context context) { + return new PagedIterable<>(listAvailableSslPredefinedPoliciesAsync(context)); + } + + /** + * Gets Ssl predefined policy with the specified policy name. + * + * @param predefinedPolicyName The name of the ssl predefined policy. + * @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 ssl predefined policy with the specified policy name along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> listAvailableResponseHeadersWithResponseAsync() { + public Mono> + getSslPredefinedPolicyWithResponseAsync(String predefinedPolicyName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2435,26 +2475,32 @@ public Mono>> listAvailableResponseHeadersWithResponseAsyn return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (predefinedPolicyName == null) { + return Mono + .error(new IllegalArgumentException("Parameter predefinedPolicyName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAvailableResponseHeaders(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getSslPredefinedPolicy(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), predefinedPolicyName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Lists all available response headers. + * Gets Ssl predefined policy with the specified policy name. * + * @param predefinedPolicyName The name of the ssl predefined policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableResponseHeaders API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return ssl predefined policy with the specified policy name along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> listAvailableResponseHeadersWithResponseAsync(Context context) { + private Mono> + getSslPredefinedPolicyWithResponseAsync(String predefinedPolicyName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2463,63 +2509,71 @@ private Mono>> listAvailableResponseHeadersWithResponseAsy return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (predefinedPolicyName == null) { + return Mono + .error(new IllegalArgumentException("Parameter predefinedPolicyName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAvailableResponseHeaders(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.getSslPredefinedPolicy(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + predefinedPolicyName, accept, context); } /** - * Lists all available response headers. + * Gets Ssl predefined policy with the specified policy name. * - * @throws ErrorException thrown if the request is rejected by server. + * @param predefinedPolicyName The name of the ssl predefined policy. + * @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 response for ApplicationGatewayAvailableResponseHeaders API service call on successful completion of - * {@link Mono}. + * @return ssl predefined policy with the specified policy name on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listAvailableResponseHeadersAsync() { - return listAvailableResponseHeadersWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono getSslPredefinedPolicyAsync(String predefinedPolicyName) { + return getSslPredefinedPolicyWithResponseAsync(predefinedPolicyName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Lists all available response headers. + * Gets Ssl predefined policy with the specified policy name. * + * @param predefinedPolicyName The name of the ssl predefined policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 response for ApplicationGatewayAvailableResponseHeaders API service call along with {@link Response}. + * @return ssl predefined policy with the specified policy name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response> listAvailableResponseHeadersWithResponse(Context context) { - return listAvailableResponseHeadersWithResponseAsync(context).block(); + public Response + getSslPredefinedPolicyWithResponse(String predefinedPolicyName, Context context) { + return getSslPredefinedPolicyWithResponseAsync(predefinedPolicyName, context).block(); } /** - * Lists all available response headers. + * Gets Ssl predefined policy with the specified policy name. * - * @throws ErrorException thrown if the request is rejected by server. + * @param predefinedPolicyName The name of the ssl predefined policy. + * @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 response for ApplicationGatewayAvailableResponseHeaders API service call. + * @return ssl predefined policy with the specified policy name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public List listAvailableResponseHeaders() { - return listAvailableResponseHeadersWithResponse(Context.NONE).getValue(); + public ApplicationGatewaySslPredefinedPolicyInner getSslPredefinedPolicy(String predefinedPolicyName) { + return getSslPredefinedPolicyWithResponse(predefinedPolicyName, Context.NONE).getValue(); } /** - * Lists all available web application firewall rule sets. + * Lists all available server variables. * - * @throws ManagementException thrown if the request is rejected by server. + * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableWafRuleSets API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - listAvailableWafRuleSetsWithResponseAsync() { + public Mono>> listAvailableServerVariablesWithResponseAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2531,24 +2585,22 @@ public List listAvailableResponseHeaders() { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAvailableWafRuleSets(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.listAvailableServerVariables(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Lists all available web application firewall rule sets. + * Lists all available server variables. * * @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 ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableWafRuleSets API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listAvailableWafRuleSetsWithResponseAsync(Context context) { + private Mono>> listAvailableServerVariablesWithResponseAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2560,60 +2612,57 @@ public List listAvailableResponseHeaders() { final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAvailableWafRuleSets(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context); + return service.listAvailableServerVariables(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), accept, context); } /** - * Lists all available web application firewall rule sets. + * Lists all available server variables. * - * @throws ManagementException thrown if the request is rejected by server. + * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableWafRuleSets API service call on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listAvailableWafRuleSetsAsync() { - return listAvailableWafRuleSetsWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono> listAvailableServerVariablesAsync() { + return listAvailableServerVariablesWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Lists all available web application firewall rule sets. + * Lists all available server variables. * * @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 ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableWafRuleSets API service call along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response - listAvailableWafRuleSetsWithResponse(Context context) { - return listAvailableWafRuleSetsWithResponseAsync(context).block(); + public Response> listAvailableServerVariablesWithResponse(Context context) { + return listAvailableServerVariablesWithResponseAsync(context).block(); } /** - * Lists all available web application firewall rule sets. + * Lists all available server variables. * - * @throws ManagementException thrown if the request is rejected by server. + * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableWafRuleSets API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ApplicationGatewayAvailableWafRuleSetsResultInner listAvailableWafRuleSets() { - return listAvailableWafRuleSetsWithResponse(Context.NONE).getValue(); + public List listAvailableServerVariables() { + return listAvailableServerVariablesWithResponse(Context.NONE).getValue(); } /** - * Lists available Ssl options for configuring Ssl policy. + * Lists all available request headers. * - * @throws ManagementException thrown if the request is rejected by server. + * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listAvailableSslOptionsWithResponseAsync() { + public Mono>> listAvailableRequestHeadersWithResponseAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2625,24 +2674,22 @@ public Mono> listAvailableS final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAvailableSslOptions(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.listAvailableRequestHeaders(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Lists available Ssl options for configuring Ssl policy. + * Lists all available request headers. * * @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 ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listAvailableSslOptionsWithResponseAsync(Context context) { + private Mono>> listAvailableRequestHeadersWithResponseAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2654,60 +2701,57 @@ public Mono> listAvailableS final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAvailableSslOptions(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context); + return service.listAvailableRequestHeaders(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), accept, context); } /** - * Lists available Ssl options for configuring Ssl policy. + * Lists all available request headers. * - * @throws ManagementException thrown if the request is rejected by server. + * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listAvailableSslOptionsAsync() { - return listAvailableSslOptionsWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono> listAvailableRequestHeadersAsync() { + return listAvailableRequestHeadersWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Lists available Ssl options for configuring Ssl policy. + * Lists all available request headers. * * @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 ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listAvailableSslOptionsWithResponse(Context context) { - return listAvailableSslOptionsWithResponseAsync(context).block(); + public Response> listAvailableRequestHeadersWithResponse(Context context) { + return listAvailableRequestHeadersWithResponseAsync(context).block(); } /** - * Lists available Ssl options for configuring Ssl policy. + * Lists all available request headers. * - * @throws ManagementException thrown if the request is rejected by server. + * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ApplicationGatewayAvailableSslOptionsInner listAvailableSslOptions() { - return listAvailableSslOptionsWithResponse(Context.NONE).getValue(); + public List listAvailableRequestHeaders() { + return listAvailableRequestHeadersWithResponse(Context.NONE).getValue(); } /** - * Lists all SSL predefined policies for configuring Ssl policy. + * Lists all available response headers. * - * @throws ManagementException thrown if the request is rejected by server. + * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listAvailableSslPredefinedPoliciesSinglePageAsync() { + public Mono>> listAvailableResponseHeadersWithResponseAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2719,27 +2763,22 @@ public ApplicationGatewayAvailableSslOptionsInner listAvailableSslOptions() { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAvailableSslPredefinedPolicies(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.listAvailableResponseHeaders(this.client.getEndpoint(), apiVersion, 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 all SSL predefined policies for configuring Ssl policy. + * Lists all available response headers. * * @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 ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listAvailableSslPredefinedPoliciesSinglePageAsync(Context context) { + private Mono>> listAvailableResponseHeadersWithResponseAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2751,86 +2790,59 @@ public ApplicationGatewayAvailableSslOptionsInner listAvailableSslOptions() { final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listAvailableSslPredefinedPolicies(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.listAvailableResponseHeaders(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), accept, context); } /** - * Lists all SSL predefined policies for configuring Ssl policy. + * Lists all available response headers. * - * @throws ManagementException thrown if the request is rejected by server. + * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with - * {@link PagedFlux}. + * @return the response body on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAvailableSslPredefinedPoliciesAsync() { - return new PagedFlux<>(() -> listAvailableSslPredefinedPoliciesSinglePageAsync(), - nextLink -> listAvailableSslPredefinedPoliciesNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> listAvailableResponseHeadersAsync() { + return listAvailableResponseHeadersWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Lists all SSL predefined policies for configuring Ssl policy. + * Lists all available response headers. * * @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 response for ApplicationGatewayAvailableSslOptions API service call as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux - listAvailableSslPredefinedPoliciesAsync(Context context) { - return new PagedFlux<>(() -> listAvailableSslPredefinedPoliciesSinglePageAsync(context), - nextLink -> listAvailableSslPredefinedPoliciesNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all SSL predefined policies for configuring Ssl policy. - * - * @throws ManagementException thrown if the request is rejected by server. + * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with - * {@link PagedIterable}. + * @return the response body along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listAvailableSslPredefinedPolicies() { - return new PagedIterable<>(listAvailableSslPredefinedPoliciesAsync()); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response> listAvailableResponseHeadersWithResponse(Context context) { + return listAvailableResponseHeadersWithResponseAsync(context).block(); } /** - * Lists all SSL predefined policies for configuring Ssl policy. + * Lists all available response headers. * - * @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 ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ApplicationGatewayAvailableSslOptions API service call as paginated response with - * {@link PagedIterable}. + * @return the response. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable - listAvailableSslPredefinedPolicies(Context context) { - return new PagedIterable<>(listAvailableSslPredefinedPoliciesAsync(context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public List listAvailableResponseHeaders() { + return listAvailableResponseHeadersWithResponse(Context.NONE).getValue(); } /** - * Gets Ssl predefined policy with the specified policy name. + * Lists all available web application firewall rule sets. * - * @param predefinedPolicyName Name of Ssl predefined policy. - * @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 ssl predefined policy with the specified policy name along with {@link Response} on successful completion - * of {@link Mono}. + * @return response for ApplicationGatewayAvailableWafRuleSets API service call along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - getSslPredefinedPolicyWithResponseAsync(String predefinedPolicyName) { + public Mono> + listAvailableWafRuleSetsWithResponseAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2839,32 +2851,27 @@ public PagedIterable listAvailableSs return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (predefinedPolicyName == null) { - return Mono - .error(new IllegalArgumentException("Parameter predefinedPolicyName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getSslPredefinedPolicy(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), predefinedPolicyName, accept, context)) + .withContext(context -> service.listAvailableWafRuleSets(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets Ssl predefined policy with the specified policy name. + * Lists all available web application firewall rule sets. * - * @param predefinedPolicyName Name of Ssl predefined policy. * @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 ssl predefined policy with the specified policy name along with {@link Response} on successful completion - * of {@link Mono}. + * @return response for ApplicationGatewayAvailableWafRuleSets API service call along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - getSslPredefinedPolicyWithResponseAsync(String predefinedPolicyName, Context context) { + private Mono> + listAvailableWafRuleSetsWithResponseAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2873,60 +2880,51 @@ public PagedIterable listAvailableSs return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (predefinedPolicyName == null) { - return Mono - .error(new IllegalArgumentException("Parameter predefinedPolicyName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getSslPredefinedPolicy(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - predefinedPolicyName, accept, context); + return service.listAvailableWafRuleSets(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + accept, context); } /** - * Gets Ssl predefined policy with the specified policy name. + * Lists all available web application firewall rule sets. * - * @param predefinedPolicyName Name of Ssl predefined policy. - * @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 ssl predefined policy with the specified policy name on successful completion of {@link Mono}. + * @return response for ApplicationGatewayAvailableWafRuleSets API service call on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSslPredefinedPolicyAsync(String predefinedPolicyName) { - return getSslPredefinedPolicyWithResponseAsync(predefinedPolicyName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono listAvailableWafRuleSetsAsync() { + return listAvailableWafRuleSetsWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets Ssl predefined policy with the specified policy name. + * Lists all available web application firewall rule sets. * - * @param predefinedPolicyName Name of Ssl predefined policy. * @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 ssl predefined policy with the specified policy name along with {@link Response}. + * @return response for ApplicationGatewayAvailableWafRuleSets API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response - getSslPredefinedPolicyWithResponse(String predefinedPolicyName, Context context) { - return getSslPredefinedPolicyWithResponseAsync(predefinedPolicyName, context).block(); + public Response + listAvailableWafRuleSetsWithResponse(Context context) { + return listAvailableWafRuleSetsWithResponseAsync(context).block(); } /** - * Gets Ssl predefined policy with the specified policy name. + * Lists all available web application firewall rule sets. * - * @param predefinedPolicyName Name of Ssl predefined policy. - * @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 ssl predefined policy with the specified policy name. + * @return response for ApplicationGatewayAvailableWafRuleSets API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ApplicationGatewaySslPredefinedPolicyInner getSslPredefinedPolicy(String predefinedPolicyName) { - return getSslPredefinedPolicyWithResponse(predefinedPolicyName, Context.NONE).getValue(); + public ApplicationGatewayAvailableWafRuleSetsResultInner listAvailableWafRuleSets() { + return listAvailableWafRuleSetsWithResponse(Context.NONE).getValue(); } /** @@ -2936,7 +2934,7 @@ public ApplicationGatewaySslPredefinedPolicyInner getSslPredefinedPolicy(String * @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 response for ListApplicationGateways API service call along with {@link PagedResponse} on successful + * @return the response of a ApplicationGateway list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -2963,7 +2961,7 @@ private Mono> listNextSinglePageAsync(Str * @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 response for ListApplicationGateways API service call along with {@link PagedResponse} on successful + * @return the response of a ApplicationGateway list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java index 031ea29fc60a..2b9f1a4db18d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ApplicationSecurityGroupsClient; import com.azure.resourcemanager.network.fluent.models.ApplicationSecurityGroupInner; -import com.azure.resourcemanager.network.models.ApplicationSecurityGroupListResult; +import com.azure.resourcemanager.network.implementation.models.ApplicationSecurityGroupListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,297 +73,86 @@ public final class ApplicationSecurityGroupsClientImpl implements InnerSupportsG * The interface defining all the services for NetworkManagementClientApplicationSecurityGroups to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientApplicationSecurityGroups") public interface ApplicationSecurityGroupsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("applicationSecurityGroupName") String applicationSecurityGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("applicationSecurityGroupName") String applicationSecurityGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("applicationSecurityGroupName") String applicationSecurityGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ApplicationSecurityGroupInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ApplicationSecurityGroupInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("applicationSecurityGroupName") String applicationSecurityGroupName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("applicationSecurityGroupName") String applicationSecurityGroupName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @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> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String applicationSecurityGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (applicationSecurityGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - applicationSecurityGroupName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String applicationSecurityGroupName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (applicationSecurityGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, applicationSecurityGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String applicationSecurityGroupName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, applicationSecurityGroupName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String applicationSecurityGroupName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, applicationSecurityGroupName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 applicationSecurityGroupName) { - return this.beginDeleteAsync(resourceGroupName, applicationSecurityGroupName).getSyncPoller(); - } - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 applicationSecurityGroupName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, applicationSecurityGroupName, context).getSyncPoller(); - } - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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) - public Mono deleteAsync(String resourceGroupName, String applicationSecurityGroupName) { - return beginDeleteAsync(resourceGroupName, applicationSecurityGroupName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String applicationSecurityGroupName, Context context) { - return beginDeleteAsync(resourceGroupName, applicationSecurityGroupName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 applicationSecurityGroupName) { - deleteAsync(resourceGroupName, applicationSecurityGroupName).block(); - } - - /** - * Deletes the specified application security group. - * - * @param resourceGroupName The name of the resource group. - * @param applicationSecurityGroupName The name of the application security group. - * @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 applicationSecurityGroupName, Context context) { - deleteAsync(resourceGroupName, applicationSecurityGroupName, context).block(); - } - /** * Gets information about the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -378,6 +167,10 @@ public Mono> getByResourceGroupWithRespo return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -386,22 +179,18 @@ public Mono> getByResourceGroupWithRespo return Mono.error( new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - applicationSecurityGroupName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationSecurityGroupName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets information about the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -417,6 +206,10 @@ private Mono> getByResourceGroupWithResp return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -425,21 +218,17 @@ private Mono> getByResourceGroupWithResp return Mono.error( new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, applicationSecurityGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationSecurityGroupName, accept, context); } /** * Gets information about the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -456,7 +245,7 @@ public Mono getByResourceGroupAsync(String resour /** * Gets information about the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -473,7 +262,7 @@ public Response getByResourceGroupWithResponse(St /** * Gets information about the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -489,7 +278,7 @@ public ApplicationSecurityGroupInner getByResourceGroup(String resourceGroupName /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -505,6 +294,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -513,27 +306,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - applicationSecurityGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationSecurityGroupName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @param context The context to associate with this operation. @@ -550,6 +341,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -558,26 +353,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, applicationSecurityGroupName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationSecurityGroupName, contentType, accept, parameters, context); } /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -599,7 +391,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @param context The context to associate with this operation. @@ -623,7 +415,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -641,7 +433,7 @@ public SyncPoller, ApplicationSecurity /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @param context The context to associate with this operation. @@ -661,7 +453,7 @@ public SyncPoller, ApplicationSecurity /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -679,7 +471,7 @@ public Mono createOrUpdateAsync(String resourceGr /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @param context The context to associate with this operation. @@ -698,7 +490,7 @@ private Mono createOrUpdateAsync(String resourceG /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -715,7 +507,7 @@ public ApplicationSecurityGroupInner createOrUpdate(String resourceGroupName, St /** * Creates or updates an application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to the create or update ApplicationSecurityGroup operation. * @param context The context to associate with this operation. @@ -733,7 +525,7 @@ public ApplicationSecurityGroupInner createOrUpdate(String resourceGroupName, St /** * Updates an application security group's tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. * @param parameters Parameters supplied to update application security group tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -749,6 +541,10 @@ public Mono> updateTagsWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -757,132 +553,341 @@ public Mono> updateTagsWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationSecurityGroupName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Updates an application security group's tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @param parameters Parameters supplied to update application security group tags. + * @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 an application security group in a resource group along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String applicationSecurityGroupName, TagsObject parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (applicationSecurityGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); + } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, applicationSecurityGroupName, contentType, accept, parameters, context); + } + + /** + * Updates an application security group's tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @param parameters Parameters supplied to update application security group tags. + * @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 an application security group in a resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateTagsAsync(String resourceGroupName, + String applicationSecurityGroupName, TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, applicationSecurityGroupName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Updates an application security group's tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @param parameters Parameters supplied to update application security group tags. + * @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 an application security group in a resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateTagsWithResponse(String resourceGroupName, + String applicationSecurityGroupName, TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, applicationSecurityGroupName, parameters, context) + .block(); + } + + /** + * Updates an application security group's tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @param parameters Parameters supplied to update application security group tags. + * @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 an application security group in a resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ApplicationSecurityGroupInner updateTags(String resourceGroupName, String applicationSecurityGroupName, + TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, applicationSecurityGroupName, parameters, Context.NONE) + .getValue(); + } + + /** + * Deletes the specified application security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String applicationSecurityGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (applicationSecurityGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - applicationSecurityGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, applicationSecurityGroupName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Updates an application security group's tags. + * Deletes the specified application security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String applicationSecurityGroupName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (applicationSecurityGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + applicationSecurityGroupName, context); + } + + /** + * Deletes the specified application security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String applicationSecurityGroupName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, applicationSecurityGroupName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified application security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String applicationSecurityGroupName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, applicationSecurityGroupName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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 applicationSecurityGroupName) { + return this.beginDeleteAsync(resourceGroupName, applicationSecurityGroupName).getSyncPoller(); + } + + /** + * Deletes the specified application security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. - * @param parameters Parameters supplied to update application security group tags. * @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 an application security group in a resource group along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String applicationSecurityGroupName, TagsObject parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (applicationSecurityGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter applicationSecurityGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, applicationSecurityGroupName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String applicationSecurityGroupName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, applicationSecurityGroupName, context).getSyncPoller(); } /** - * Updates an application security group's tags. + * Deletes the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. - * @param parameters Parameters supplied to update application security group tags. * @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 an application security group in a resource group on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, - String applicationSecurityGroupName, TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, applicationSecurityGroupName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono deleteAsync(String resourceGroupName, String applicationSecurityGroupName) { + return beginDeleteAsync(resourceGroupName, applicationSecurityGroupName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates an application security group's tags. + * Deletes the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. - * @param parameters Parameters supplied to update application security group tags. * @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 an application security group in a resource group along with {@link Response}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, - String applicationSecurityGroupName, TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, applicationSecurityGroupName, parameters, context) - .block(); + private Mono deleteAsync(String resourceGroupName, String applicationSecurityGroupName, Context context) { + return beginDeleteAsync(resourceGroupName, applicationSecurityGroupName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates an application security group's tags. + * Deletes the specified application security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param applicationSecurityGroupName The name of the application security group. - * @param parameters Parameters supplied to update application security group tags. * @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 an application security group in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ApplicationSecurityGroupInner updateTags(String resourceGroupName, String applicationSecurityGroupName, - TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, applicationSecurityGroupName, parameters, Context.NONE) - .getValue(); + public void delete(String resourceGroupName, String applicationSecurityGroupName) { + deleteAsync(resourceGroupName, applicationSecurityGroupName).block(); } /** - * Gets all application security groups in a subscription. + * Deletes the specified application security group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param applicationSecurityGroupName The name of the application security group. + * @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 all application security groups in a subscription along with {@link PagedResponse} on successful + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String applicationSecurityGroupName, Context context) { + deleteAsync(resourceGroupName, applicationSecurityGroupName, context).block(); + } + + /** + * Gets all the application security groups in a 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 all the application security groups in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -891,28 +896,34 @@ private Mono> listSinglePageAsync() return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Gets all application security groups in a subscription. + * Gets all the application security groups in a 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 all application security groups in a subscription along with {@link PagedResponse} on successful + * @return all the application security groups in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -921,88 +932,95 @@ private Mono> listSinglePageAsync(C return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all application security groups in a subscription. + * Gets all the application security groups in a 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 all application security groups in a subscription as paginated response with {@link PagedFlux}. + * @return all the application security groups in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets all application security groups in a subscription. + * Gets all the application security groups in a 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 all application security groups in a subscription as paginated response with {@link PagedFlux}. + * @return all the application security groups in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, + Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets all application security groups in a subscription. + * Gets all the application security groups in a 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 all application security groups in a subscription as paginated response with {@link PagedIterable}. + * @return all the application security groups in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Gets all application security groups in a subscription. + * Gets all the application security groups in a 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 all application security groups in a subscription as paginated response with {@link PagedIterable}. + * @return all the application security groups in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Gets all the application security groups in a resource group. + * Gets all application security groups in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the application security groups in a resource group along with {@link PagedResponse} on successful + * @return all application security groups in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1010,35 +1028,29 @@ public PagedIterable list(Context context) { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Gets all the application security groups in a resource group. + * Gets all application security groups in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all the application security groups in a resource group along with {@link PagedResponse} on successful + * @return all application security groups in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1046,72 +1058,62 @@ public PagedIterable list(Context context) { final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all the application security groups in a resource group. + * Gets all application security groups in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the application security groups in a resource group as paginated response with {@link PagedFlux}. + * @return all application security groups in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); } /** - * Gets all the application security groups in a resource group. + * Gets all application security groups in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all the application security groups in a resource group as paginated response with {@link PagedFlux}. + * @return all application security groups in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, - Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); } /** - * Gets all the application security groups in a resource group. + * Gets all application security groups in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the application security groups in a resource group as paginated response with {@link PagedIterable}. + * @return all application security groups in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + public PagedIterable list() { + return new PagedIterable<>(listAsync()); } /** - * Gets all the application security groups in a resource group. + * Gets all application security groups in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all the application security groups in a resource group as paginated response with {@link PagedIterable}. + * @return all application security groups in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** @@ -1121,11 +1123,11 @@ public PagedIterable listByResourceGroup(String r * @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 all application security groups in a subscription along with {@link PagedResponse} on successful + * @return all the application security groups in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1134,8 +1136,7 @@ private Mono> listAllNextSinglePage new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1149,11 +1150,11 @@ private Mono> listAllNextSinglePage * @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 all application security groups in a subscription along with {@link PagedResponse} on successful + * @return all the application security groups in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1164,7 +1165,7 @@ private Mono> listAllNextSinglePage } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1176,11 +1177,11 @@ private Mono> listAllNextSinglePage * @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 all the application security groups in a resource group along with {@link PagedResponse} on successful + * @return all application security groups in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1189,7 +1190,8 @@ private Mono> listNextSinglePageAsy new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -1203,11 +1205,11 @@ private Mono> listNextSinglePageAsy * @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 all the application security groups in a resource group along with {@link PagedResponse} on successful + * @return all application security groups in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1218,7 +1220,7 @@ private Mono> listNextSinglePageAsy } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java index 3edb61a0b015..53bc506e2d26 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.AvailableDelegationsClient; import com.azure.resourcemanager.network.fluent.models.AvailableDelegationInner; -import com.azure.resourcemanager.network.models.AvailableDelegationsResult; +import com.azure.resourcemanager.network.implementation.models.AvailableDelegationsResult; import reactor.core.publisher.Mono; /** @@ -59,30 +59,30 @@ public final class AvailableDelegationsClientImpl implements AvailableDelegation * The interface defining all the services for NetworkManagementClientAvailableDelegations to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientAvailableDelegations") public interface AvailableDelegationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets all of the available subnet delegations for this subscription in this region. * - * @param location The location of the subnet. + * @param location The location name. * @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. @@ -95,18 +95,18 @@ private Mono> listSinglePageAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, 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())); @@ -115,7 +115,7 @@ private Mono> listSinglePageAsync(String /** * Gets all of the available subnet delegations for this subscription in this region. * - * @param location The location of the subnet. + * @param location The location name. * @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. @@ -129,18 +129,18 @@ private Mono> listSinglePageAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), location, apiVersion, this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -148,7 +148,7 @@ private Mono> listSinglePageAsync(String /** * Gets all of the available subnet delegations for this subscription in this region. * - * @param location The location of the subnet. + * @param location The location name. * @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. @@ -163,7 +163,7 @@ public PagedFlux listAsync(String location) { /** * Gets all of the available subnet delegations for this subscription in this region. * - * @param location The location of the subnet. + * @param location The location name. * @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. @@ -180,7 +180,7 @@ private PagedFlux listAsync(String location, Context c /** * Gets all of the available subnet delegations for this subscription in this region. * - * @param location The location of the subnet. + * @param location The location name. * @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. @@ -195,7 +195,7 @@ public PagedIterable list(String location) { /** * Gets all of the available subnet delegations for this subscription in this region. * - * @param location The location of the subnet. + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java index d72646b9d332..321a317bf7f3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.AvailableEndpointServicesClient; import com.azure.resourcemanager.network.fluent.models.EndpointServiceResultInner; -import com.azure.resourcemanager.network.models.EndpointServicesListResult; +import com.azure.resourcemanager.network.implementation.models.EndpointServicesListResult; import reactor.core.publisher.Mono; /** @@ -59,35 +59,35 @@ public final class AvailableEndpointServicesClientImpl implements AvailableEndpo * The interface defining all the services for NetworkManagementClientAvailableEndpointServices to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientAvailableEndpointServices") public interface AvailableEndpointServicesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * List what values of endpoint services are available for use. * - * @param location The location to check available endpoint services. + * @param location The location name. * @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 response for the ListAvailableEndpointServices API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return paged collection of EndpointServiceResult items along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String location) { @@ -95,18 +95,18 @@ private Mono> listSinglePageAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, 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())); @@ -115,13 +115,13 @@ private Mono> listSinglePageAsync(Stri /** * List what values of endpoint services are available for use. * - * @param location The location to check available endpoint services. + * @param location The location name. * @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 response for the ListAvailableEndpointServices API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return paged collection of EndpointServiceResult items along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String location, Context context) { @@ -129,18 +129,18 @@ private Mono> listSinglePageAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), location, apiVersion, this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -148,12 +148,11 @@ private Mono> listSinglePageAsync(Stri /** * List what values of endpoint services are available for use. * - * @param location The location to check available endpoint services. + * @param location The location name. * @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 response for the ListAvailableEndpointServices API service call as paginated response with - * {@link PagedFlux}. + * @return paged collection of EndpointServiceResult items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String location) { @@ -163,13 +162,12 @@ public PagedFlux listAsync(String location) { /** * List what values of endpoint services are available for use. * - * @param location The location to check available endpoint services. + * @param location The location name. * @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 response for the ListAvailableEndpointServices API service call as paginated response with - * {@link PagedFlux}. + * @return paged collection of EndpointServiceResult items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String location, Context context) { @@ -180,12 +178,11 @@ private PagedFlux listAsync(String location, Context /** * List what values of endpoint services are available for use. * - * @param location The location to check available endpoint services. + * @param location The location name. * @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 response for the ListAvailableEndpointServices API service call as paginated response with - * {@link PagedIterable}. + * @return paged collection of EndpointServiceResult items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String location) { @@ -195,13 +192,12 @@ public PagedIterable list(String location) { /** * List what values of endpoint services are available for use. * - * @param location The location to check available endpoint services. + * @param location The location name. * @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 response for the ListAvailableEndpointServices API service call as paginated response with - * {@link PagedIterable}. + * @return paged collection of EndpointServiceResult items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String location, Context context) { @@ -215,8 +211,8 @@ public PagedIterable list(String location, Context c * @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 response for the ListAvailableEndpointServices API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return paged collection of EndpointServiceResult items along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -242,8 +238,8 @@ private Mono> listNextSinglePageAsync( * @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 response for the ListAvailableEndpointServices API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return paged collection of EndpointServiceResult items along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java index 36724d086fa9..0b8738551b5d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.AvailablePrivateEndpointTypesClient; import com.azure.resourcemanager.network.fluent.models.AvailablePrivateEndpointTypeInner; -import com.azure.resourcemanager.network.models.AvailablePrivateEndpointTypesResult; +import com.azure.resourcemanager.network.implementation.models.AvailablePrivateEndpointTypesResult; import reactor.core.publisher.Mono; /** @@ -59,24 +59,24 @@ public final class AvailablePrivateEndpointTypesClientImpl implements AvailableP * The interface defining all the services for NetworkManagementClientAvailablePrivateEndpointTypes to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientAvailablePrivateEndpointTypes") public interface AvailablePrivateEndpointTypesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("location") String location, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -84,7 +84,7 @@ Mono> listByResourceGroup(@HostPar @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -92,14 +92,14 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -112,18 +112,18 @@ private Mono> listSinglePageAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, 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())); @@ -132,7 +132,7 @@ private Mono> listSinglePageAsy /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -147,18 +147,18 @@ private Mono> listSinglePageAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), location, apiVersion, this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -166,7 +166,7 @@ private Mono> listSinglePageAsy /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -180,7 +180,7 @@ public PagedFlux listAsync(String location) { /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -196,7 +196,7 @@ private PagedFlux listAsync(String location, /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -210,7 +210,7 @@ public PagedIterable list(String location) { /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -225,8 +225,8 @@ public PagedIterable list(String location, Co /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -234,28 +234,28 @@ public PagedIterable list(String location, Co * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String location, - String resourceGroupName) { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName, String location) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), location, resourceGroupName, - this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, location, 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())); @@ -264,8 +264,8 @@ private Mono> listByResourceGro /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -274,29 +274,29 @@ private Mono> listByResourceGro * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String location, - String resourceGroupName, Context context) { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName, String location, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), location, resourceGroupName, - this.client.getSubscriptionId(), apiVersion, accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -304,25 +304,25 @@ private Mono> listByResourceGro /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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 an array of available PrivateEndpoint types as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String location, - String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(location, resourceGroupName), + public PagedFlux listByResourceGroupAsync(String resourceGroupName, + String location) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, location), nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); } /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -330,33 +330,33 @@ public PagedFlux listByResourceGroupAsync(Str * @return an array of available PrivateEndpoint types as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String location, - String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(location, resourceGroupName, context), + private PagedFlux listByResourceGroupAsync(String resourceGroupName, + String location, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, location, context), nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); } /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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 an array of available PrivateEndpoint types as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String location, - String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(location, resourceGroupName)); + public PagedIterable listByResourceGroup(String resourceGroupName, + String location) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, location)); } /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -364,9 +364,9 @@ public PagedIterable listByResourceGroup(Stri * @return an array of available PrivateEndpoint types as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String location, - String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(location, resourceGroupName, context)); + public PagedIterable listByResourceGroup(String resourceGroupName, + String location, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, location, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java index 590bc0b5ba91..b541a75a9865 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.AvailableResourceGroupDelegationsClient; import com.azure.resourcemanager.network.fluent.models.AvailableDelegationInner; -import com.azure.resourcemanager.network.models.AvailableDelegationsResult; +import com.azure.resourcemanager.network.implementation.models.AvailableDelegationsResult; import reactor.core.publisher.Mono; /** @@ -59,16 +59,16 @@ public final class AvailableResourceGroupDelegationsClientImpl implements Availa * The interface defining all the services for NetworkManagementClientAvailableResourceGroupDelegations to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientAvailableResourceGroupDelegations") public interface AvailableResourceGroupDelegationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("location") String location, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -76,15 +76,15 @@ Mono> list(@HostParam("$host") String endpo @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -92,28 +92,28 @@ Mono> listNext( * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String location, - String resourceGroupName) { + private Mono> listSinglePageAsync(String resourceGroupName, + String location) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), location, resourceGroupName, - this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, location, 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())); @@ -122,8 +122,8 @@ private Mono> listSinglePageAsync(String /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -132,28 +132,28 @@ private Mono> listSinglePageAsync(String * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String location, String resourceGroupName, + private Mono> listSinglePageAsync(String resourceGroupName, String location, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), location, resourceGroupName, this.client.getSubscriptionId(), apiVersion, + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); @@ -162,8 +162,8 @@ private Mono> listSinglePageAsync(String /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -171,16 +171,16 @@ private Mono> listSinglePageAsync(String * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String location, String resourceGroupName) { - return new PagedFlux<>(() -> listSinglePageAsync(location, resourceGroupName), + public PagedFlux listAsync(String resourceGroupName, String location) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, location), nextLink -> listNextSinglePageAsync(nextLink)); } /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -189,16 +189,16 @@ public PagedFlux listAsync(String location, String res * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String location, String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(location, resourceGroupName, context), + private PagedFlux listAsync(String resourceGroupName, String location, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, location, context), nextLink -> listNextSinglePageAsync(nextLink, context)); } /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -206,15 +206,15 @@ private PagedFlux listAsync(String location, String re * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String location, String resourceGroupName) { - return new PagedIterable<>(listAsync(location, resourceGroupName)); + public PagedIterable list(String resourceGroupName, String location) { + return new PagedIterable<>(listAsync(resourceGroupName, location)); } /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -223,8 +223,8 @@ public PagedIterable list(String location, String reso * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String location, String resourceGroupName, Context context) { - return new PagedIterable<>(listAsync(location, resourceGroupName, context)); + public PagedIterable list(String resourceGroupName, String location, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, location, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java index becb3c04f82a..10a58b77481a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.AvailableServiceAliasesClient; import com.azure.resourcemanager.network.fluent.models.AvailableServiceAliasInner; -import com.azure.resourcemanager.network.models.AvailableServiceAliasesResult; +import com.azure.resourcemanager.network.implementation.models.AvailableServiceAliasesResult; import reactor.core.publisher.Mono; /** @@ -59,24 +59,24 @@ public final class AvailableServiceAliasesClientImpl implements AvailableService * The interface defining all the services for NetworkManagementClientAvailableServiceAliases to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientAvailableServiceAliases") public interface AvailableServiceAliasesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("location") String location, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("location") String location, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -84,7 +84,7 @@ Mono> listByResourceGroup(@HostParam("$h @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -92,14 +92,14 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets all available service aliases for this subscription in this region. * - * @param location The location. + * @param location The location name. * @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. @@ -112,18 +112,18 @@ private Mono> listSinglePageAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), location, this.client.getSubscriptionId(), - apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, 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())); @@ -132,7 +132,7 @@ private Mono> listSinglePageAsync(Stri /** * Gets all available service aliases for this subscription in this region. * - * @param location The location. + * @param location The location name. * @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. @@ -146,18 +146,18 @@ private Mono> listSinglePageAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), location, this.client.getSubscriptionId(), apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -165,7 +165,7 @@ private Mono> listSinglePageAsync(Stri /** * Gets all available service aliases for this subscription in this region. * - * @param location The location. + * @param location The location name. * @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. @@ -180,7 +180,7 @@ public PagedFlux listAsync(String location) { /** * Gets all available service aliases for this subscription in this region. * - * @param location The location. + * @param location The location name. * @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. @@ -197,7 +197,7 @@ private PagedFlux listAsync(String location, Context /** * Gets all available service aliases for this subscription in this region. * - * @param location The location. + * @param location The location name. * @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. @@ -212,7 +212,7 @@ public PagedIterable list(String location) { /** * Gets all available service aliases for this subscription in this region. * - * @param location The location. + * @param location The location name. * @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. @@ -228,8 +228,8 @@ public PagedIterable list(String location, Context c /** * Gets all available service aliases for this resource group in this region. * - * @param resourceGroupName The name of the resource group. - * @param location The location. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -243,6 +243,10 @@ private Mono> listByResourceGroupSingl return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -250,15 +254,11 @@ private Mono> listByResourceGroupSingl if (location == null) { return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, location, - this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, location, 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())); @@ -267,8 +267,8 @@ private Mono> listByResourceGroupSingl /** * Gets all available service aliases for this resource group in this region. * - * @param resourceGroupName The name of the resource group. - * @param location The location. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -283,6 +283,10 @@ private Mono> listByResourceGroupSingl return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -290,16 +294,12 @@ private Mono> listByResourceGroupSingl if (location == null) { return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, location, - this.client.getSubscriptionId(), apiVersion, accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -307,8 +307,8 @@ private Mono> listByResourceGroupSingl /** * Gets all available service aliases for this resource group in this region. * - * @param resourceGroupName The name of the resource group. - * @param location The location. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -324,8 +324,8 @@ public PagedFlux listByResourceGroupAsync(String res /** * Gets all available service aliases for this resource group in this region. * - * @param resourceGroupName The name of the resource group. - * @param location The location. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -343,8 +343,8 @@ private PagedFlux listByResourceGroupAsync(String re /** * Gets all available service aliases for this resource group in this region. * - * @param resourceGroupName The name of the resource group. - * @param location The location. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -359,8 +359,8 @@ public PagedIterable listByResourceGroup(String reso /** * Gets all available service aliases for this resource group in this region. * - * @param resourceGroupName The name of the resource group. - * @param location The location. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java index 48b01faaf102..d8c5ca399bc3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.AzureFirewallFqdnTagsClient; import com.azure.resourcemanager.network.fluent.models.AzureFirewallFqdnTagInner; -import com.azure.resourcemanager.network.models.AzureFirewallFqdnTagListResult; +import com.azure.resourcemanager.network.implementation.models.AzureFirewallFqdnTagListResult; import reactor.core.publisher.Mono; /** @@ -59,14 +59,14 @@ public final class AzureFirewallFqdnTagsClientImpl implements AzureFirewallFqdnT * The interface defining all the services for NetworkManagementClientAzureFirewallFqdnTags to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientAzureFirewallFqdnTags") public interface AzureFirewallFqdnTagsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -75,7 +75,7 @@ Mono> list(@HostParam("$host") String e @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java index 4af9862df4ef..4bf5b65683f9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -36,8 +36,8 @@ import com.azure.resourcemanager.network.fluent.AzureFirewallsClient; import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; import com.azure.resourcemanager.network.fluent.models.AzureFirewallPacketCaptureResponseInner; -import com.azure.resourcemanager.network.fluent.models.IpPrefixesListInner; -import com.azure.resourcemanager.network.models.AzureFirewallListResult; +import com.azure.resourcemanager.network.fluent.models.IPPrefixesListInner; +import com.azure.resourcemanager.network.implementation.models.AzureFirewallListResult; import com.azure.resourcemanager.network.models.FirewallPacketCaptureParameters; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; @@ -77,61 +77,62 @@ public final class AzureFirewallsClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("azureFirewallName") String azureFirewallName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("azureFirewallName") String azureFirewallName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("azureFirewallName") String azureFirewallName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("azureFirewallName") String azureFirewallName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") AzureFirewallInner parameters, @HeaderParam("Accept") String accept, + @PathParam("azureFirewallName") String azureFirewallName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") AzureFirewallInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateTags(@HostParam("$host") String endpoint, + Mono>> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("azureFirewallName") String azureFirewallName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("azureFirewallName") String azureFirewallName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}") + @ExpectedResponses({ 200, 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("azureFirewallName") String azureFirewallName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/azureFirewalls") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -139,66 +140,69 @@ Mono> list(@HostParam("$host") String endpoint @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/learnedIPPrefixes") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listLearnedPrefixes(@HostParam("$host") String endpoint, + Mono>> listLearnedPrefixes(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("azureFirewallName") String azureFirewallName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("azureFirewallName") String azureFirewallName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/packetCapture") @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> packetCapture(@HostParam("$host") String endpoint, + Mono>> packetCapture(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("azureFirewallName") String azureFirewallName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") FirewallPacketCaptureParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("azureFirewallName") String azureFirewallName, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") FirewallPacketCaptureParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/packetCaptureOperation") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> packetCaptureOperation(@HostParam("$host") String endpoint, + Mono>> packetCaptureOperation(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("azureFirewallName") String azureFirewallName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") FirewallPacketCaptureParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("azureFirewallName") String azureFirewallName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") FirewallPacketCaptureParameters parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified Azure Firewall. + * Gets the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @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}. + * @return the specified Azure Firewall along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String azureFirewallName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -207,36 +211,36 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, azureFirewallName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, azureFirewallName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified Azure Firewall. + * Gets the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @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 Response} on successful completion of {@link Mono}. + * @return the specified Azure Firewall along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String azureFirewallName, - Context context) { + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String azureFirewallName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -245,288 +249,321 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, azureFirewallName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, azureFirewallName, accept, context); } /** - * Deletes the specified Azure Firewall. + * Gets the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @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. + * @return the specified Azure Firewall on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String azureFirewallName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, azureFirewallName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, String azureFirewallName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, azureFirewallName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Deletes the specified Azure Firewall. + * Gets the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @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 PollerFlux} for polling of long-running operation. + * @return the specified Azure Firewall along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String azureFirewallName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, azureFirewallName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, + String azureFirewallName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, azureFirewallName, context).block(); } /** - * Deletes the specified Azure Firewall. + * Gets the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @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. + * @return the specified Azure Firewall. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String azureFirewallName) { - return this.beginDeleteAsync(resourceGroupName, azureFirewallName).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + public AzureFirewallInner getByResourceGroup(String resourceGroupName, String azureFirewallName) { + return getByResourceGroupWithResponse(resourceGroupName, azureFirewallName, Context.NONE).getValue(); } /** - * Deletes the specified Azure Firewall. + * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update Azure Firewall 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. + * @return azure Firewall resource along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String azureFirewallName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, azureFirewallName, context).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String azureFirewallName, AzureFirewallInner parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (azureFirewallName == null) { + return Mono + .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, azureFirewallName, contentType, accept, parameters, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified Azure Firewall. + * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. + * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @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 A {@link Mono} that completes when a successful response is received. + * @return azure Firewall resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String azureFirewallName) { - return beginDeleteAsync(resourceGroupName, azureFirewallName).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String azureFirewallName, AzureFirewallInner parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (azureFirewallName == null) { + return Mono + .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, azureFirewallName, contentType, accept, parameters, context); } /** - * Deletes the specified Azure Firewall. + * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update Azure Firewall 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 A {@link Mono} that completes when a successful response is received. + * @return the {@link PollerFlux} for polling of azure Firewall resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String azureFirewallName, Context context) { - return beginDeleteAsync(resourceGroupName, azureFirewallName, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, AzureFirewallInner> + beginCreateOrUpdateAsync(String resourceGroupName, String azureFirewallName, AzureFirewallInner parameters) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, azureFirewallName, parameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + AzureFirewallInner.class, AzureFirewallInner.class, this.client.getContext()); } /** - * Deletes the specified Azure Firewall. + * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. + * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @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 PollerFlux} for polling of azure Firewall resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String azureFirewallName) { - deleteAsync(resourceGroupName, azureFirewallName).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, AzureFirewallInner> beginCreateOrUpdateAsync( + String resourceGroupName, String azureFirewallName, AzureFirewallInner parameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, azureFirewallName, parameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + AzureFirewallInner.class, AzureFirewallInner.class, context); } /** - * Deletes the specified Azure Firewall. + * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update Azure Firewall 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 azure Firewall resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String azureFirewallName, Context context) { - deleteAsync(resourceGroupName, azureFirewallName, context).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, AzureFirewallInner> beginCreateOrUpdate(String resourceGroupName, + String azureFirewallName, AzureFirewallInner parameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, azureFirewallName, parameters).getSyncPoller(); } /** - * Gets the specified Azure Firewall. + * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. + * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @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 Azure Firewall along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link SyncPoller} for polling of azure Firewall resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String azureFirewallName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (azureFirewallName == null) { - return Mono - .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - azureFirewallName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, AzureFirewallInner> beginCreateOrUpdate(String resourceGroupName, + String azureFirewallName, AzureFirewallInner parameters, Context context) { + return this.beginCreateOrUpdateAsync(resourceGroupName, azureFirewallName, parameters, context).getSyncPoller(); } /** - * Gets the specified Azure Firewall. + * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update Azure Firewall 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 Azure Firewall along with {@link Response} on successful completion of {@link Mono}. + * @return azure Firewall resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String azureFirewallName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (azureFirewallName == null) { - return Mono - .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, azureFirewallName, apiVersion, - this.client.getSubscriptionId(), accept, context); + public Mono createOrUpdateAsync(String resourceGroupName, String azureFirewallName, + AzureFirewallInner parameters) { + return beginCreateOrUpdateAsync(resourceGroupName, azureFirewallName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified Azure Firewall. + * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. + * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @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 Azure Firewall on successful completion of {@link Mono}. + * @return azure Firewall resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String azureFirewallName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, azureFirewallName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + private Mono createOrUpdateAsync(String resourceGroupName, String azureFirewallName, + AzureFirewallInner parameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, azureFirewallName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified Azure Firewall. + * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update Azure Firewall 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 Azure Firewall along with {@link Response}. + * @return azure Firewall resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String azureFirewallName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, azureFirewallName, context).block(); + public AzureFirewallInner createOrUpdate(String resourceGroupName, String azureFirewallName, + AzureFirewallInner parameters) { + return createOrUpdateAsync(resourceGroupName, azureFirewallName, parameters).block(); } /** - * Gets the specified Azure Firewall. + * Creates or updates the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. + * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @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 Azure Firewall. + * @return azure Firewall resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public AzureFirewallInner getByResourceGroup(String resourceGroupName, String azureFirewallName) { - return getByResourceGroupWithResponse(resourceGroupName, azureFirewallName, Context.NONE).getValue(); + public AzureFirewallInner createOrUpdate(String resourceGroupName, String azureFirewallName, + AzureFirewallInner parameters, Context context) { + return createOrUpdateAsync(resourceGroupName, azureFirewallName, parameters, context).block(); } /** - * Creates or updates the specified Azure Firewall. + * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String azureFirewallName, AzureFirewallInner parameters) { + public Mono>> updateTagsWithResponseAsync(String resourceGroupName, + String azureFirewallName, TagsObject parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -535,29 +572,27 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - azureFirewallName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, azureFirewallName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Creates or updates the specified Azure Firewall. + * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param parameters Parameters supplied to update azure firewall tags. * @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. @@ -565,12 +600,16 @@ public Mono>> createOrUpdateWithResponseAsync(String r * @return azure Firewall resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String azureFirewallName, AzureFirewallInner parameters, Context context) { + private Mono>> updateTagsWithResponseAsync(String resourceGroupName, + String azureFirewallName, TagsObject parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -579,48 +618,45 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, azureFirewallName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, azureFirewallName, contentType, accept, parameters, context); } /** - * Creates or updates the specified Azure Firewall. + * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, AzureFirewallInner> - beginCreateOrUpdateAsync(String resourceGroupName, String azureFirewallName, AzureFirewallInner parameters) { + public PollerFlux, AzureFirewallInner> beginUpdateTagsAsync(String resourceGroupName, + String azureFirewallName, TagsObject parameters) { Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, azureFirewallName, parameters); + = updateTagsWithResponseAsync(resourceGroupName, azureFirewallName, parameters); return this.client.getLroResult(mono, this.client.getHttpPipeline(), AzureFirewallInner.class, AzureFirewallInner.class, this.client.getContext()); } /** - * Creates or updates the specified Azure Firewall. + * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param parameters Parameters supplied to update azure firewall tags. * @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. @@ -628,38 +664,38 @@ private Mono>> createOrUpdateWithResponseAsync(String * @return the {@link PollerFlux} for polling of azure Firewall resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, AzureFirewallInner> beginCreateOrUpdateAsync( - String resourceGroupName, String azureFirewallName, AzureFirewallInner parameters, Context context) { + private PollerFlux, AzureFirewallInner> beginUpdateTagsAsync( + String resourceGroupName, String azureFirewallName, TagsObject parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, azureFirewallName, parameters, context); + = updateTagsWithResponseAsync(resourceGroupName, azureFirewallName, parameters, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), AzureFirewallInner.class, AzureFirewallInner.class, context); } /** - * Creates or updates the specified Azure Firewall. + * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, AzureFirewallInner> beginCreateOrUpdate(String resourceGroupName, - String azureFirewallName, AzureFirewallInner parameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, azureFirewallName, parameters).getSyncPoller(); + public SyncPoller, AzureFirewallInner> beginUpdateTags(String resourceGroupName, + String azureFirewallName, TagsObject parameters) { + return this.beginUpdateTagsAsync(resourceGroupName, azureFirewallName, parameters).getSyncPoller(); } /** - * Creates or updates the specified Azure Firewall. + * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param parameters Parameters supplied to update azure firewall tags. * @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. @@ -667,35 +703,35 @@ public SyncPoller, AzureFirewallInner> beginCreat * @return the {@link SyncPoller} for polling of azure Firewall resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, AzureFirewallInner> beginCreateOrUpdate(String resourceGroupName, - String azureFirewallName, AzureFirewallInner parameters, Context context) { - return this.beginCreateOrUpdateAsync(resourceGroupName, azureFirewallName, parameters, context).getSyncPoller(); + public SyncPoller, AzureFirewallInner> beginUpdateTags(String resourceGroupName, + String azureFirewallName, TagsObject parameters, Context context) { + return this.beginUpdateTagsAsync(resourceGroupName, azureFirewallName, parameters, context).getSyncPoller(); } /** - * Creates or updates the specified Azure Firewall. + * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String azureFirewallName, - AzureFirewallInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, azureFirewallName, parameters).last() + public Mono updateTagsAsync(String resourceGroupName, String azureFirewallName, + TagsObject parameters) { + return beginUpdateTagsAsync(resourceGroupName, azureFirewallName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Creates or updates the specified Azure Firewall. + * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param parameters Parameters supplied to update azure firewall tags. * @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. @@ -703,35 +739,34 @@ public Mono createOrUpdateAsync(String resourceGroupName, St * @return azure Firewall resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String azureFirewallName, - AzureFirewallInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, azureFirewallName, parameters, context).last() + private Mono updateTagsAsync(String resourceGroupName, String azureFirewallName, + TagsObject parameters, Context context) { + return beginUpdateTagsAsync(resourceGroupName, azureFirewallName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Creates or updates the specified Azure Firewall. + * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public AzureFirewallInner createOrUpdate(String resourceGroupName, String azureFirewallName, - AzureFirewallInner parameters) { - return createOrUpdateAsync(resourceGroupName, azureFirewallName, parameters).block(); + public AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName, TagsObject parameters) { + return updateTagsAsync(resourceGroupName, azureFirewallName, parameters).block(); } /** - * Creates or updates the specified Azure Firewall. + * Updates tags of an Azure Firewall resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param parameters Parameters supplied to update azure firewall tags. * @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. @@ -739,29 +774,32 @@ public AzureFirewallInner createOrUpdate(String resourceGroupName, String azureF * @return azure Firewall resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public AzureFirewallInner createOrUpdate(String resourceGroupName, String azureFirewallName, - AzureFirewallInner parameters, Context context) { - return createOrUpdateAsync(resourceGroupName, azureFirewallName, parameters, context).block(); + public AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName, TagsObject parameters, + Context context) { + return updateTagsAsync(resourceGroupName, azureFirewallName, parameters, context).block(); } /** - * Updates tags of an Azure Firewall resource. + * Deletes the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> updateTagsWithResponseAsync(String resourceGroupName, - String azureFirewallName, TagsObject parameters) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String azureFirewallName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -770,42 +808,35 @@ public Mono>> updateTagsWithResponseAsync(String resou return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, azureFirewallName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, azureFirewallName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Updates tags of an Azure Firewall resource. + * Deletes the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> updateTagsWithResponseAsync(String resourceGroupName, - String azureFirewallName, TagsObject parameters, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, String azureFirewallName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -814,179 +845,152 @@ private Mono>> updateTagsWithResponseAsync(String reso return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, azureFirewallName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + azureFirewallName, context); } /** - * Updates tags of an Azure Firewall resource. + * Deletes the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, AzureFirewallInner> beginUpdateTagsAsync(String resourceGroupName, - String azureFirewallName, TagsObject parameters) { - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, azureFirewallName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - AzureFirewallInner.class, AzureFirewallInner.class, this.client.getContext()); + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String azureFirewallName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, azureFirewallName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Updates tags of an Azure Firewall resource. + * Deletes the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. * @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 PollerFlux} for polling of azure Firewall resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, AzureFirewallInner> beginUpdateTagsAsync( - String resourceGroupName, String azureFirewallName, TagsObject parameters, Context context) { + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String azureFirewallName, + Context context) { context = this.client.mergeContext(context); - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, azureFirewallName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - AzureFirewallInner.class, AzureFirewallInner.class, context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, azureFirewallName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Updates tags of an Azure Firewall resource. + * Deletes the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, AzureFirewallInner> beginUpdateTags(String resourceGroupName, - String azureFirewallName, TagsObject parameters) { - return this.beginUpdateTagsAsync(resourceGroupName, azureFirewallName, parameters).getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String azureFirewallName) { + return this.beginDeleteAsync(resourceGroupName, azureFirewallName).getSyncPoller(); } /** - * Updates tags of an Azure Firewall resource. + * Deletes the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, AzureFirewallInner> beginUpdateTags(String resourceGroupName, - String azureFirewallName, TagsObject parameters, Context context) { - return this.beginUpdateTagsAsync(resourceGroupName, azureFirewallName, parameters, context).getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String azureFirewallName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, azureFirewallName, context).getSyncPoller(); } /** - * Updates tags of an Azure Firewall resource. + * Deletes the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String azureFirewallName, - TagsObject parameters) { - return beginUpdateTagsAsync(resourceGroupName, azureFirewallName, parameters).last() + public Mono deleteAsync(String resourceGroupName, String azureFirewallName) { + return beginDeleteAsync(resourceGroupName, azureFirewallName).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates tags of an Azure Firewall resource. + * Deletes the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono updateTagsAsync(String resourceGroupName, String azureFirewallName, - TagsObject parameters, Context context) { - return beginUpdateTagsAsync(resourceGroupName, azureFirewallName, parameters, context).last() + private Mono deleteAsync(String resourceGroupName, String azureFirewallName, Context context) { + return beginDeleteAsync(resourceGroupName, azureFirewallName, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates tags of an Azure Firewall resource. + * Deletes the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName, TagsObject parameters) { - return updateTagsAsync(resourceGroupName, azureFirewallName, parameters).block(); + public void delete(String resourceGroupName, String azureFirewallName) { + deleteAsync(resourceGroupName, azureFirewallName).block(); } /** - * Updates tags of an Azure Firewall resource. + * Deletes the specified Azure Firewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. * @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 azure Firewall resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public AzureFirewallInner updateTags(String resourceGroupName, String azureFirewallName, TagsObject parameters, - Context context) { - return updateTagsAsync(resourceGroupName, azureFirewallName, parameters, context).block(); + public void delete(String resourceGroupName, String azureFirewallName, Context context) { + deleteAsync(resourceGroupName, azureFirewallName, context).block(); } /** * Lists all Azure Firewalls in a resource group. * - * @param resourceGroupName The name of the 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 response for ListAzureFirewalls API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a AzureFirewall list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { @@ -994,19 +998,19 @@ private Mono> listByResourceGroupSinglePageAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -1015,13 +1019,13 @@ private Mono> listByResourceGroupSinglePageAsy /** * Lists all Azure Firewalls in a resource group. * - * @param resourceGroupName The name of the 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 response for ListAzureFirewalls API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a AzureFirewall list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, @@ -1030,20 +1034,20 @@ private Mono> listByResourceGroupSinglePageAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1051,11 +1055,11 @@ private Mono> listByResourceGroupSinglePageAsy /** * Lists all Azure Firewalls in a resource group. * - * @param resourceGroupName The name of the 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 response for ListAzureFirewalls API service call as paginated response with {@link PagedFlux}. + * @return the response of a AzureFirewall list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listByResourceGroupAsync(String resourceGroupName) { @@ -1066,12 +1070,12 @@ public PagedFlux listByResourceGroupAsync(String resourceGro /** * Lists all Azure Firewalls in a resource group. * - * @param resourceGroupName The name of the 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 response for ListAzureFirewalls API service call as paginated response with {@link PagedFlux}. + * @return the response of a AzureFirewall list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { @@ -1082,11 +1086,11 @@ private PagedFlux listByResourceGroupAsync(String resourceGr /** * Lists all Azure Firewalls in a resource group. * - * @param resourceGroupName The name of the 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 response for ListAzureFirewalls API service call as paginated response with {@link PagedIterable}. + * @return the response of a AzureFirewall list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByResourceGroup(String resourceGroupName) { @@ -1096,12 +1100,12 @@ public PagedIterable listByResourceGroup(String resourceGrou /** * Lists all Azure Firewalls in a resource group. * - * @param resourceGroupName The name of the 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 response for ListAzureFirewalls API service call as paginated response with {@link PagedIterable}. + * @return the response of a AzureFirewall list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { @@ -1220,13 +1224,12 @@ public PagedIterable list(Context context) { /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> listLearnedPrefixesWithResponseAsync(String resourceGroupName, @@ -1235,6 +1238,10 @@ public Mono>> listLearnedPrefixesWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1243,29 +1250,24 @@ public Mono>> listLearnedPrefixesWithResponseAsync(Str return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listLearnedPrefixes(this.client.getEndpoint(), resourceGroupName, - azureFirewallName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listLearnedPrefixes(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, azureFirewallName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> listLearnedPrefixesWithResponseAsync(String resourceGroupName, @@ -1274,6 +1276,10 @@ private Mono>> listLearnedPrefixesWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1282,69 +1288,65 @@ private Mono>> listLearnedPrefixesWithResponseAsync(St return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listLearnedPrefixes(this.client.getEndpoint(), resourceGroupName, azureFirewallName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.listLearnedPrefixes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, azureFirewallName, accept, context); } /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, IpPrefixesListInner> + public PollerFlux, IPPrefixesListInner> beginListLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName) { Mono>> mono = listLearnedPrefixesWithResponseAsync(resourceGroupName, azureFirewallName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - IpPrefixesListInner.class, IpPrefixesListInner.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + IPPrefixesListInner.class, IPPrefixesListInner.class, this.client.getContext()); } /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 PollerFlux} for polling of list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, IpPrefixesListInner> + private PollerFlux, IPPrefixesListInner> beginListLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName, Context context) { context = this.client.mergeContext(context); Mono>> mono = listLearnedPrefixesWithResponseAsync(resourceGroupName, azureFirewallName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - IpPrefixesListInner.class, IpPrefixesListInner.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + IPPrefixesListInner.class, IPPrefixesListInner.class, context); } /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, IpPrefixesListInner> + public SyncPoller, IPPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, String azureFirewallName) { return this.beginListLearnedPrefixesAsync(resourceGroupName, azureFirewallName).getSyncPoller(); } @@ -1352,16 +1354,16 @@ private Mono>> listLearnedPrefixesWithResponseAsync(St /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, IpPrefixesListInner> + public SyncPoller, IPPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, String azureFirewallName, Context context) { return this.beginListLearnedPrefixesAsync(resourceGroupName, azureFirewallName, context).getSyncPoller(); } @@ -1369,15 +1371,15 @@ private Mono>> listLearnedPrefixesWithResponseAsync(St /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName) { + public Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName) { return beginListLearnedPrefixesAsync(resourceGroupName, azureFirewallName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1385,16 +1387,16 @@ public Mono listLearnedPrefixesAsync(String resourceGroupNa /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName, + private Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName, Context context) { return beginListLearnedPrefixesAsync(resourceGroupName, azureFirewallName, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1403,31 +1405,31 @@ private Mono listLearnedPrefixesAsync(String resourceGroupN /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName) { + public IPPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName) { return listLearnedPrefixesAsync(resourceGroupName, azureFirewallName).block(); } /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @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 list of SNAT IP Prefixes learnt by firewall to not SNAT. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName, + public IPPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName, Context context) { return listLearnedPrefixesAsync(resourceGroupName, azureFirewallName, context).block(); } @@ -1435,7 +1437,7 @@ public IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1450,6 +1452,10 @@ public Mono>> packetCaptureWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1458,27 +1464,24 @@ public Mono>> packetCaptureWithResponseAsync(String re return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; return FluxUtil - .withContext(context -> service.packetCapture(this.client.getEndpoint(), resourceGroupName, - azureFirewallName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.packetCapture(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, azureFirewallName, contentType, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @param context The context to associate with this operation. @@ -1494,6 +1497,10 @@ private Mono>> packetCaptureWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1502,26 +1509,22 @@ private Mono>> packetCaptureWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.packetCapture(this.client.getEndpoint(), resourceGroupName, azureFirewallName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.packetCapture(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, azureFirewallName, contentType, parameters, context); } /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1541,7 +1544,7 @@ public PollerFlux, Void> beginPacketCaptureAsync(String resourc /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @param context The context to associate with this operation. @@ -1563,7 +1566,7 @@ private PollerFlux, Void> beginPacketCaptureAsync(String resour /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1580,7 +1583,7 @@ public SyncPoller, Void> beginPacketCapture(String resourceGrou /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @param context The context to associate with this operation. @@ -1598,7 +1601,7 @@ public SyncPoller, Void> beginPacketCapture(String resourceGrou /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1616,7 +1619,7 @@ public Mono packetCaptureAsync(String resourceGroupName, String azureFirew /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @param context The context to associate with this operation. @@ -1635,7 +1638,7 @@ private Mono packetCaptureAsync(String resourceGroupName, String azureFire /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1651,7 +1654,7 @@ public void packetCapture(String resourceGroupName, String azureFirewallName, /** * Runs a packet capture on AzureFirewall. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @param context The context to associate with this operation. @@ -1668,14 +1671,13 @@ public void packetCapture(String resourceGroupName, String azureFirewallName, /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> packetCaptureOperationWithResponseAsync(String resourceGroupName, @@ -1684,6 +1686,10 @@ public Mono>> packetCaptureOperationWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1692,35 +1698,32 @@ public Mono>> packetCaptureOperationWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.packetCaptureOperation(this.client.getEndpoint(), resourceGroupName, - azureFirewallName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.packetCaptureOperation(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, azureFirewallName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> packetCaptureOperationWithResponseAsync(String resourceGroupName, @@ -1729,6 +1732,10 @@ private Mono>> packetCaptureOperationWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1737,32 +1744,29 @@ private Mono>> packetCaptureOperationWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter azureFirewallName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.packetCaptureOperation(this.client.getEndpoint(), resourceGroupName, azureFirewallName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.packetCaptureOperation(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, azureFirewallName, contentType, accept, parameters, context); } /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, AzureFirewallPacketCaptureResponseInner> @@ -1779,14 +1783,14 @@ private Mono>> packetCaptureOperationWithResponseAsync /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 PollerFlux} for polling of response of an Azure Firewall Packet Capture Operation. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, AzureFirewallPacketCaptureResponseInner> @@ -1804,13 +1808,13 @@ private Mono>> packetCaptureOperationWithResponseAsync /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, AzureFirewallPacketCaptureResponseInner> @@ -1822,14 +1826,14 @@ private Mono>> packetCaptureOperationWithResponseAsync /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, AzureFirewallPacketCaptureResponseInner> @@ -1842,13 +1846,13 @@ private Mono>> packetCaptureOperationWithResponseAsync /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono packetCaptureOperationAsync(String resourceGroupName, @@ -1860,14 +1864,14 @@ public Mono packetCaptureOperationAsync /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono packetCaptureOperationAsync(String resourceGroupName, @@ -1879,13 +1883,13 @@ private Mono packetCaptureOperationAsyn /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public AzureFirewallPacketCaptureResponseInner packetCaptureOperation(String resourceGroupName, @@ -1896,14 +1900,14 @@ public AzureFirewallPacketCaptureResponseInner packetCaptureOperation(String res /** * Runs a packet capture operation on AzureFirewall. * - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the azure firewall. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param azureFirewallName The name of the Azure Firewall. * @param parameters Parameters supplied to run packet capture on azure firewall. * @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 response of an Azure Firewall Packet Capture Operation. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public AzureFirewallPacketCaptureResponseInner packetCaptureOperation(String resourceGroupName, @@ -1918,8 +1922,8 @@ public AzureFirewallPacketCaptureResponseInner packetCaptureOperation(String res * @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 response for ListAzureFirewalls API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a AzureFirewall list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1945,8 +1949,8 @@ private Mono> listNextSinglePageAsync(String n * @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 response for ListAzureFirewalls API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a AzureFirewall list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java index 7d88034858ba..0696d42e4785 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -14,6 +14,7 @@ import com.azure.core.annotation.HostParam; import com.azure.core.annotation.Patch; import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; import com.azure.core.annotation.Put; import com.azure.core.annotation.QueryParam; import com.azure.core.annotation.ReturnType; @@ -33,8 +34,18 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.BastionHostsClient; +import com.azure.resourcemanager.network.fluent.models.BastionActiveSessionInner; import com.azure.resourcemanager.network.fluent.models.BastionHostInner; -import com.azure.resourcemanager.network.models.BastionHostListResult; +import com.azure.resourcemanager.network.fluent.models.BastionSessionStateInner; +import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; +import com.azure.resourcemanager.network.implementation.models.BastionActiveSessionListResult; +import com.azure.resourcemanager.network.implementation.models.BastionHostListResult; +import com.azure.resourcemanager.network.implementation.models.BastionSessionDeleteResult; +import com.azure.resourcemanager.network.implementation.models.BastionShareableLinkListResult; +import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; +import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; +import com.azure.resourcemanager.network.models.DeleteBastionShareableLinkFinalResult; +import com.azure.resourcemanager.network.models.SessionIds; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,656 +84,1897 @@ public final class BastionHostsClientImpl implements InnerSupportsGet> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, + Context context); + + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BastionHostInner parameters, + Context context); + + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostname, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("bastionHostName") String bastionHostName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + 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}/providers/Microsoft.Network/bastionHosts") + @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" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> putBastionShareableLink(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, Context context); + + @Headers({ "Accept: application/json;q=0.9" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> deleteBastionShareableLink(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, Context context); + + @Headers({ "Accept: application/json;q=0.9" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinksByToken") + @ExpectedResponses({ 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> deleteBastionShareableLinkByToken(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostname, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BastionShareableLinkTokenListRequest bslTokenRequest, Context context); @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}") - @ExpectedResponses({ 200, 201 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono> getBastionShareableLink(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostname, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") BastionHostInner parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, Context context); @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}") + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateTags(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> getActiveSessions(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostname, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts") + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> disconnectActiveSessions(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") SessionIds sessionIds, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts") + @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> putBastionShareableLinkNext( + @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> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> getBastionShareableLinkNext( + @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, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getActiveSessionsNext( + @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> disconnectActiveSessionsNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified Bastion Host. + * Gets the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @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}. + * @return the specified Bastion Host along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String bastionHostname) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String bastionHostName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (bastionHostname == null) { + if (bastionHostName == null) { return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, bastionHostName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 Bastion Host along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String bastionHostName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, bastionHostname, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + context = this.client.mergeContext(context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, bastionHostName, accept, context); } /** - * Deletes the specified Bastion Host. + * Gets the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 Bastion Host on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, String bastionHostName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, bastionHostName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @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 Response} on successful completion of {@link Mono}. + * @return the specified Bastion Host along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String bastionHostname, + public Response getByResourceGroupWithResponse(String resourceGroupName, String bastionHostName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, bastionHostName, context).block(); + } + + /** + * Gets the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 Bastion Host. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public BastionHostInner getByResourceGroup(String resourceGroupName, String bastionHostName) { + return getByResourceGroupWithResponse(resourceGroupName, bastionHostName, Context.NONE).getValue(); + } + + /** + * Creates or updates the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to the create or update Bastion Host 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 bastion Host resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionHostInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (bastionHostname == null) { + if (bastionHostName == null) { return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, accept, parameters, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Creates or updates the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @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 bastion Host resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionHostInner parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, bastionHostname, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, bastionHostName, contentType, accept, parameters, context); } /** - * Deletes the specified Bastion Host. + * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to the create or update Bastion Host 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 PollerFlux} for polling of long-running operation. + * @return the {@link PollerFlux} for polling of bastion Host resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String bastionHostname) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, bastionHostname); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + public PollerFlux, BastionHostInner> beginCreateOrUpdateAsync(String resourceGroupName, + String bastionHostName, BastionHostInner parameters) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, bastionHostName, parameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + BastionHostInner.class, BastionHostInner.class, this.client.getContext()); } /** - * Deletes the specified Bastion Host. + * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to the create or update Bastion Host operation. * @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 PollerFlux} for polling of long-running operation. + * @return the {@link PollerFlux} for polling of bastion Host resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String bastionHostname, - Context context) { + private PollerFlux, BastionHostInner> beginCreateOrUpdateAsync( + String resourceGroupName, String bastionHostName, BastionHostInner parameters, Context context) { context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, bastionHostname, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, bastionHostName, parameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + BastionHostInner.class, BastionHostInner.class, context); } /** - * Deletes the specified Bastion Host. + * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to the create or update Bastion Host 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. + * @return the {@link SyncPoller} for polling of bastion Host resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String bastionHostname) { - return this.beginDeleteAsync(resourceGroupName, bastionHostname).getSyncPoller(); + public SyncPoller, BastionHostInner> beginCreateOrUpdate(String resourceGroupName, + String bastionHostName, BastionHostInner parameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, bastionHostName, parameters).getSyncPoller(); } /** - * Deletes the specified Bastion Host. + * Creates or updates the specified Bastion Host. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to the create or update Bastion Host operation. * @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. + * @return the {@link SyncPoller} for polling of bastion Host resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String bastionHostname, - Context context) { - return this.beginDeleteAsync(resourceGroupName, bastionHostname, context).getSyncPoller(); + public SyncPoller, BastionHostInner> beginCreateOrUpdate(String resourceGroupName, + String bastionHostName, BastionHostInner parameters, Context context) { + return this.beginCreateOrUpdateAsync(resourceGroupName, bastionHostName, parameters, context).getSyncPoller(); + } + + /** + * Creates or updates the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to the create or update Bastion Host 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 bastion Host resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createOrUpdateAsync(String resourceGroupName, String bastionHostName, + BastionHostInner parameters) { + return beginCreateOrUpdateAsync(resourceGroupName, bastionHostName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Creates or updates the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @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 bastion Host resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono createOrUpdateAsync(String resourceGroupName, String bastionHostName, + BastionHostInner parameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, bastionHostName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Creates or updates the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to the create or update Bastion Host 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 bastion Host resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostName, + BastionHostInner parameters) { + return createOrUpdateAsync(resourceGroupName, bastionHostName, parameters).block(); + } + + /** + * Creates or updates the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @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 bastion Host resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostName, + BastionHostInner parameters, Context context) { + return createOrUpdateAsync(resourceGroupName, bastionHostName, parameters, context).block(); + } + + /** + * Updates Tags for BastionHost resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to update BastionHost tags. + * @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 bastion Host resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> updateTagsWithResponseAsync(String resourceGroupName, + String bastionHostName, TagsObject parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, bastionHostName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Updates Tags for BastionHost resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to update BastionHost tags. + * @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 bastion Host resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> updateTagsWithResponseAsync(String resourceGroupName, + String bastionHostName, TagsObject parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, bastionHostName, contentType, accept, parameters, context); + } + + /** + * Updates Tags for BastionHost resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to update BastionHost tags. + * @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 bastion Host resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, BastionHostInner> beginUpdateTagsAsync(String resourceGroupName, + String bastionHostName, TagsObject parameters) { + Mono>> mono + = updateTagsWithResponseAsync(resourceGroupName, bastionHostName, parameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + BastionHostInner.class, BastionHostInner.class, this.client.getContext()); + } + + /** + * Updates Tags for BastionHost resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to update BastionHost tags. + * @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 PollerFlux} for polling of bastion Host resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, BastionHostInner> beginUpdateTagsAsync(String resourceGroupName, + String bastionHostName, TagsObject parameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = updateTagsWithResponseAsync(resourceGroupName, bastionHostName, parameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + BastionHostInner.class, BastionHostInner.class, context); + } + + /** + * Updates Tags for BastionHost resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to update BastionHost tags. + * @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 bastion Host resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, BastionHostInner> beginUpdateTags(String resourceGroupName, + String bastionHostName, TagsObject parameters) { + return this.beginUpdateTagsAsync(resourceGroupName, bastionHostName, parameters).getSyncPoller(); + } + + /** + * Updates Tags for BastionHost resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to update BastionHost tags. + * @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 bastion Host resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, BastionHostInner> beginUpdateTags(String resourceGroupName, + String bastionHostName, TagsObject parameters, Context context) { + return this.beginUpdateTagsAsync(resourceGroupName, bastionHostName, parameters, context).getSyncPoller(); + } + + /** + * Updates Tags for BastionHost resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to update BastionHost tags. + * @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 bastion Host resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateTagsAsync(String resourceGroupName, String bastionHostName, + TagsObject parameters) { + return beginUpdateTagsAsync(resourceGroupName, bastionHostName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Updates Tags for BastionHost resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to update BastionHost tags. + * @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 bastion Host resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono updateTagsAsync(String resourceGroupName, String bastionHostName, + TagsObject parameters, Context context) { + return beginUpdateTagsAsync(resourceGroupName, bastionHostName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Updates Tags for BastionHost resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to update BastionHost tags. + * @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 bastion Host resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public BastionHostInner updateTags(String resourceGroupName, String bastionHostName, TagsObject parameters) { + return updateTagsAsync(resourceGroupName, bastionHostName, parameters).block(); + } + + /** + * Updates Tags for BastionHost resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param parameters Parameters supplied to update BastionHost tags. + * @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 bastion Host resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public BastionHostInner updateTags(String resourceGroupName, String bastionHostName, TagsObject parameters, + Context context) { + return updateTagsAsync(resourceGroupName, bastionHostName, parameters, context).block(); + } + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, String bastionHostName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, bastionHostName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String bastionHostName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + bastionHostName, context); + } + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String bastionHostName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, bastionHostName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String bastionHostName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, bastionHostName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 bastionHostName) { + return this.beginDeleteAsync(resourceGroupName, bastionHostName).getSyncPoller(); + } + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 bastionHostName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, bastionHostName, context).getSyncPoller(); + } + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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) + public Mono deleteAsync(String resourceGroupName, String bastionHostName) { + return beginDeleteAsync(resourceGroupName, bastionHostName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String bastionHostName, Context context) { + return beginDeleteAsync(resourceGroupName, bastionHostName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 bastionHostName) { + deleteAsync(resourceGroupName, bastionHostName).block(); + } + + /** + * Deletes the specified Bastion Host. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 bastionHostName, Context context) { + deleteAsync(resourceGroupName, bastionHostName, context).block(); + } + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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 all Bastion Hosts in a 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 BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + } + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + } + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + } + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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 all Bastion Hosts in a 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 BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Lists all Bastion Hosts in a 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 BastionHost list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> putBastionShareableLinkSinglePageAsync( + String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); + } else { + bslRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> { + Mono>> mono = service + .putBastionShareableLink(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, bastionHostName, accept, bslRequest, context) + .cache(); + return Mono.zip(mono, + this.client + .getLroResult(mono, + this.client.getHttpPipeline(), BastionShareableLinkListResult.class, + BastionShareableLinkListResult.class, this.client.getContext()) + .last() + .flatMap(this.client::getLroFinalResultOrError)); + }) + .>map( + res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> putBastionShareableLinkSinglePageAsync( + String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); + } else { + bslRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + Mono>> mono + = service + .putBastionShareableLink(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, bastionHostName, accept, bslRequest, context) + .cache(); + return Mono + .zip(mono, + this.client + .getLroResult(mono, + this.client.getHttpPipeline(), BastionShareableLinkListResult.class, + BastionShareableLinkListResult.class, context) + .last() + .flatMap(this.client::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux putBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return new PagedFlux<>( + () -> putBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest), + nextLink -> putBastionShareableLinkNextSinglePageAsync(nextLink)); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux putBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return new PagedFlux<>( + () -> putBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest, context), + nextLink -> putBastionShareableLinkNextSinglePageAsync(nextLink, context)); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable putBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return new PagedIterable<>(putBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest)); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable putBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return new PagedIterable<>( + putBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context)); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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) + public Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); + } else { + bslRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + return FluxUtil + .withContext(context -> service.deleteBastionShareableLink(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, bslRequest, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); + } else { + bslRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + context = this.client.mergeContext(context); + return service.deleteBastionShareableLink(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, bslRequest, context); } /** - * Deletes the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String bastionHostname) { - return beginDeleteAsync(resourceGroupName, bastionHostname).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, DeleteBastionShareableLinkFinalResult> + beginDeleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest) { + Mono>> mono + = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostName, bslRequest); + return this.client.getLroResult( + mono, this.client.getHttpPipeline(), DeleteBastionShareableLinkFinalResult.class, + DeleteBastionShareableLinkFinalResult.class, this.client.getContext()); } /** - * Deletes the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 A {@link Mono} that completes when a successful response is received. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String bastionHostname, Context context) { - return beginDeleteAsync(resourceGroupName, bastionHostname, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, DeleteBastionShareableLinkFinalResult> + beginDeleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostName, bslRequest, context); + return this.client.getLroResult( + mono, this.client.getHttpPipeline(), DeleteBastionShareableLinkFinalResult.class, + DeleteBastionShareableLinkFinalResult.class, context); } /** - * Deletes the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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.SINGLE) - public void delete(String resourceGroupName, String bastionHostname) { - deleteAsync(resourceGroupName, bastionHostname).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, DeleteBastionShareableLinkFinalResult> + beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest) { + return this.beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest) + .getSyncPoller(); } /** - * Deletes the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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.SINGLE) - public void delete(String resourceGroupName, String bastionHostname, Context context) { - deleteAsync(resourceGroupName, bastionHostname, context).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, DeleteBastionShareableLinkFinalResult> + beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context) { + return this.beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context) + .getSyncPoller(); } /** - * Gets the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 Bastion Host along with {@link Response} on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String bastionHostname) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - bastionHostname, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + public Mono deleteBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 Bastion Host along with {@link Response} on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String bastionHostname, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, bastionHostname, apiVersion, - this.client.getSubscriptionId(), accept, context); + private Mono deleteBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 Bastion Host on successful completion of {@link Mono}. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String bastionHostname) { - return getByResourceGroupWithResponseAsync(resourceGroupName, bastionHostname) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public DeleteBastionShareableLinkFinalResult deleteBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return deleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest).block(); } /** - * Gets the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 Bastion Host along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, String bastionHostname, - Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, bastionHostname, context).block(); - } - - /** - * Gets the specified Bastion Host. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 Bastion Host. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public BastionHostInner getByResourceGroup(String resourceGroupName, String bastionHostname) { - return getByResourceGroupWithResponse(resourceGroupName, bastionHostname, Context.NONE).getValue(); + public DeleteBastionShareableLinkFinalResult deleteBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return deleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context).block(); } /** - * Creates or updates the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the tokens specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. * @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 bastion Host resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String bastionHostname, BastionHostInner parameters) { + public Mono>> deleteBastionShareableLinkByTokenWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (bastionHostname == null) { + if (bastionHostName == null) { return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + if (bslTokenRequest == null) { + return Mono + .error(new IllegalArgumentException("Parameter bslTokenRequest is required and cannot be null.")); } else { - parameters.validate(); + bslTokenRequest.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - bastionHostname, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.deleteBastionShareableLinkByToken(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, bslTokenRequest, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Creates or updates the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the tokens specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. * @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 bastion Host resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String bastionHostname, BastionHostInner parameters, Context context) { + private Mono>> deleteBastionShareableLinkByTokenWithResponseAsync( + String resourceGroupName, String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (bastionHostname == null) { + if (bastionHostName == null) { return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + if (bslTokenRequest == null) { + return Mono + .error(new IllegalArgumentException("Parameter bslTokenRequest is required and cannot be null.")); } else { - parameters.validate(); + bslTokenRequest.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, bastionHostname, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.deleteBastionShareableLinkByToken(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, bslTokenRequest, context); } /** - * Creates or updates the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the tokens specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. * @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 bastion Host resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, BastionHostInner> beginCreateOrUpdateAsync(String resourceGroupName, - String bastionHostname, BastionHostInner parameters) { + public PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest) { Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, bastionHostname, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - BastionHostInner.class, BastionHostInner.class, this.client.getContext()); + = deleteBastionShareableLinkByTokenWithResponseAsync(resourceGroupName, bastionHostName, bslTokenRequest); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Creates or updates the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the tokens specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. * @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 PollerFlux} for polling of bastion Host resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, BastionHostInner> beginCreateOrUpdateAsync( - String resourceGroupName, String bastionHostname, BastionHostInner parameters, Context context) { + private PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { context = this.client.mergeContext(context); - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, bastionHostname, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - BastionHostInner.class, BastionHostInner.class, context); + Mono>> mono = deleteBastionShareableLinkByTokenWithResponseAsync(resourceGroupName, + bastionHostName, bslTokenRequest, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Creates or updates the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the tokens specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. * @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 bastion Host resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, BastionHostInner> beginCreateOrUpdate(String resourceGroupName, - String bastionHostname, BastionHostInner parameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, bastionHostname, parameters).getSyncPoller(); + public SyncPoller, Void> beginDeleteBastionShareableLinkByToken(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest) { + return this.beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest) + .getSyncPoller(); } /** - * Creates or updates the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the tokens specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. * @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 bastion Host resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, BastionHostInner> beginCreateOrUpdate(String resourceGroupName, - String bastionHostname, BastionHostInner parameters, Context context) { - return this.beginCreateOrUpdateAsync(resourceGroupName, bastionHostname, parameters, context).getSyncPoller(); + public SyncPoller, Void> beginDeleteBastionShareableLinkByToken(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { + return this + .beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest, context) + .getSyncPoller(); } /** - * Creates or updates the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the tokens specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. * @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 bastion Host resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String bastionHostname, - BastionHostInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, bastionHostname, parameters).last() + public Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest) { + return beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Creates or updates the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the tokens specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. * @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 bastion Host resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String bastionHostname, - BastionHostInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, bastionHostname, parameters, context).last() + private Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { + return beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest, context) + .last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Creates or updates the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the tokens specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. * @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 bastion Host resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname, - BastionHostInner parameters) { - return createOrUpdateAsync(resourceGroupName, bastionHostname, parameters).block(); + public void deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest) { + deleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest).block(); } /** - * Creates or updates the specified Bastion Host. + * Deletes the Bastion Shareable Links for all the tokens specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to the create or update Bastion Host operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. * @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 bastion Host resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public BastionHostInner createOrUpdate(String resourceGroupName, String bastionHostname, - BastionHostInner parameters, Context context) { - return createOrUpdateAsync(resourceGroupName, bastionHostname, parameters, context).block(); + public void deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { + deleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest, context).block(); } /** - * Updates Tags for BastionHost resource. + * Return the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to update BastionHost tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 bastion Host resource along with {@link Response} on successful completion of {@link Mono}. + * @return response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> updateTagsWithResponseAsync(String resourceGroupName, - String bastionHostname, TagsObject parameters) { + private Mono> getBastionShareableLinkSinglePageAsync( + String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -735,38 +1987,41 @@ public Mono>> updateTagsWithResponseAsync(String resou return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (bastionHostname == null) { + if (bastionHostName == null) { return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); } else { - parameters.validate(); + bslRequest.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, bastionHostname, apiVersion, parameters, accept, context)) + .withContext(context -> service.getBastionShareableLink(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, bastionHostName, accept, bslRequest, 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())); } /** - * Updates Tags for BastionHost resource. + * Return the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to update BastionHost tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 bastion Host resource along with {@link Response} on successful completion of {@link Mono}. + * @return response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> updateTagsWithResponseAsync(String resourceGroupName, - String bastionHostname, TagsObject parameters, Context context) { + private Mono> getBastionShareableLinkSinglePageAsync( + String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -779,180 +2034,284 @@ private Mono>> updateTagsWithResponseAsync(String reso return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (bastionHostname == null) { + if (bastionHostName == null) { return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); } else { - parameters.validate(); + bslRequest.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - bastionHostname, apiVersion, parameters, accept, context); + return service + .getBastionShareableLink(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, bastionHostName, accept, bslRequest, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Updates Tags for BastionHost resource. + * Return the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to update BastionHost tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 bastion Host resource. + * @return response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, BastionHostInner> beginUpdateTagsAsync(String resourceGroupName, - String bastionHostname, TagsObject parameters) { - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, bastionHostname, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - BastionHostInner.class, BastionHostInner.class, this.client.getContext()); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return new PagedFlux<>( + () -> getBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest), + nextLink -> getBastionShareableLinkNextSinglePageAsync(nextLink)); } /** - * Updates Tags for BastionHost resource. + * Return the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to update BastionHost tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 PollerFlux} for polling of bastion Host resource. + * @return response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, BastionHostInner> beginUpdateTagsAsync(String resourceGroupName, - String bastionHostname, TagsObject parameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, bastionHostname, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - BastionHostInner.class, BastionHostInner.class, context); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return new PagedFlux<>( + () -> getBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest, context), + nextLink -> getBastionShareableLinkNextSinglePageAsync(nextLink, context)); } /** - * Updates Tags for BastionHost resource. + * Return the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to update BastionHost tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 bastion Host resource. + * @return response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, BastionHostInner> beginUpdateTags(String resourceGroupName, - String bastionHostname, TagsObject parameters) { - return this.beginUpdateTagsAsync(resourceGroupName, bastionHostname, parameters).getSyncPoller(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return new PagedIterable<>(getBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest)); } /** - * Updates Tags for BastionHost resource. + * Return the Bastion Shareable Links for all the VMs specified in the request. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to update BastionHost tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. * @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 bastion Host resource. + * @return response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, BastionHostInner> beginUpdateTags(String resourceGroupName, - String bastionHostname, TagsObject parameters, Context context) { - return this.beginUpdateTagsAsync(resourceGroupName, bastionHostname, parameters, context).getSyncPoller(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return new PagedIterable<>( + getBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getActiveSessionsSinglePageAsync(String resourceGroupName, + String bastionHostName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> { + Mono>> mono + = service + .getActiveSessions(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, bastionHostName, accept, context) + .cache(); + return Mono.zip(mono, + this.client + .getLroResult(mono, + this.client.getHttpPipeline(), BastionActiveSessionListResult.class, + BastionActiveSessionListResult.class, this.client.getContext()) + .last() + .flatMap(this.client::getLroFinalResultOrError)); + }) + .>map( + res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getActiveSessionsSinglePageAsync(String resourceGroupName, + String bastionHostName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + Mono>> mono + = service + .getActiveSessions(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, bastionHostName, accept, context) + .cache(); + return Mono + .zip(mono, + this.client + .getLroResult(mono, + this.client.getHttpPipeline(), BastionActiveSessionListResult.class, + BastionActiveSessionListResult.class, context) + .last() + .flatMap(this.client::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)); } /** - * Updates Tags for BastionHost resource. + * Returns the list of currently active sessions on the Bastion. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to update BastionHost tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @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 bastion Host resource on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String bastionHostname, - TagsObject parameters) { - return beginUpdateTagsAsync(resourceGroupName, bastionHostname, parameters).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getActiveSessionsAsync(String resourceGroupName, + String bastionHostName) { + return new PagedFlux<>(() -> getActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName), + nextLink -> getActiveSessionsNextSinglePageAsync(nextLink)); } /** - * Updates Tags for BastionHost resource. + * Returns the list of currently active sessions on the Bastion. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to update BastionHost tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @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 bastion Host resource on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono updateTagsAsync(String resourceGroupName, String bastionHostname, - TagsObject parameters, Context context) { - return beginUpdateTagsAsync(resourceGroupName, bastionHostname, parameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getActiveSessionsAsync(String resourceGroupName, + String bastionHostName, Context context) { + return new PagedFlux<>(() -> getActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName, context), + nextLink -> getActiveSessionsNextSinglePageAsync(nextLink, context)); } /** - * Updates Tags for BastionHost resource. + * Returns the list of currently active sessions on the Bastion. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to update BastionHost tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @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 bastion Host resource. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public BastionHostInner updateTags(String resourceGroupName, String bastionHostname, TagsObject parameters) { - return updateTagsAsync(resourceGroupName, bastionHostname, parameters).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getActiveSessions(String resourceGroupName, + String bastionHostName) { + return new PagedIterable<>(getActiveSessionsAsync(resourceGroupName, bastionHostName)); } /** - * Updates Tags for BastionHost resource. + * Returns the list of currently active sessions on the Bastion. * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param parameters Parameters supplied to update BastionHost tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. * @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 bastion Host resource. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public BastionHostInner updateTags(String resourceGroupName, String bastionHostname, TagsObject parameters, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getActiveSessions(String resourceGroupName, String bastionHostName, Context context) { - return updateTagsAsync(resourceGroupName, bastionHostname, parameters, context).block(); + return new PagedIterable<>(getActiveSessionsAsync(resourceGroupName, bastionHostName, context)); } /** - * Lists all Bastion Hosts in a subscription. + * Returns the list of currently active sessions on the Bastion. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for ListBastionHosts API service call along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> disconnectActiveSessionsSinglePageAsync( + String resourceGroupName, String bastionHostName, SessionIds sessionIds) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -961,28 +2320,45 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (sessionIds == null) { + return Mono.error(new IllegalArgumentException("Parameter sessionIds is required and cannot be null.")); + } else { + sessionIds.validate(); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.disconnectActiveSessions(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, bastionHostName, accept, sessionIds, 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 all Bastion Hosts in a subscription. + * Returns the list of currently active sessions on the Bastion. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. * @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 response for ListBastionHosts API service call along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> disconnectActiveSessionsSinglePageAsync( + String resourceGroupName, String bastionHostName, SessionIds sessionIds, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -991,195 +2367,321 @@ private Mono> listSinglePageAsync(Context contex return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (sessionIds == null) { + return Mono.error(new IllegalArgumentException("Parameter sessionIds is required and cannot be null.")); + } else { + sessionIds.validate(); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .disconnectActiveSessions(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, bastionHostName, accept, sessionIds, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Lists all Bastion Hosts in a subscription. + * Returns the list of currently active sessions on the Bastion. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for ListBastionHosts API service call as paginated response with {@link PagedFlux}. + * @return response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, + String bastionHostName, SessionIds sessionIds) { + return new PagedFlux<>( + () -> disconnectActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName, sessionIds), + nextLink -> disconnectActiveSessionsNextSinglePageAsync(nextLink)); } /** - * Lists all Bastion Hosts in a subscription. + * Returns the list of currently active sessions on the Bastion. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. * @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 response for ListBastionHosts API service call as paginated response with {@link PagedFlux}. + * @return response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, + String bastionHostName, SessionIds sessionIds, Context context) { + return new PagedFlux<>( + () -> disconnectActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName, sessionIds, context), + nextLink -> disconnectActiveSessionsNextSinglePageAsync(nextLink, context)); } /** - * Lists all Bastion Hosts in a subscription. + * Returns the list of currently active sessions on the Bastion. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for ListBastionHosts API service call as paginated response with {@link PagedIterable}. + * @return response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable disconnectActiveSessions(String resourceGroupName, + String bastionHostName, SessionIds sessionIds) { + return new PagedIterable<>(disconnectActiveSessionsAsync(resourceGroupName, bastionHostName, sessionIds)); } /** - * Lists all Bastion Hosts in a subscription. + * Returns the list of currently active sessions on the Bastion. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. * @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 response for ListBastionHosts API service call as paginated response with {@link PagedIterable}. + * @return response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable disconnectActiveSessions(String resourceGroupName, + String bastionHostName, SessionIds sessionIds, Context context) { + return new PagedIterable<>( + disconnectActiveSessionsAsync(resourceGroupName, bastionHostName, sessionIds, context)); } /** - * Lists all Bastion Hosts in a resource group. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group. + * @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 response for ListBastionHosts API service call along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return the response of a BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .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())); } /** - * Lists all Bastion Hosts in a resource group. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group. + * @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 response for ListBastionHosts API service call along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return the response of a BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + final String accept = "application/json"; + context = this.client.mergeContext(context); + return 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)); + } + + /** + * 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 BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.listNext(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. + * @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 BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Lists all Bastion Hosts in a resource group. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group. + * @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 response for ListBastionHosts API service call as paginated response with {@link PagedFlux}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> putBastionShareableLinkNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.putBastionShareableLinkNext(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())); } /** - * Lists all Bastion Hosts in a resource group. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group. + * @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 response for ListBastionHosts API service call as paginated response with {@link PagedFlux}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> putBastionShareableLinkNextSinglePageAsync(String nextLink, + Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.putBastionShareableLinkNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Lists all Bastion Hosts in a resource group. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group. + * @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 response for ListBastionHosts API service call as paginated response with {@link PagedIterable}. + * @return response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getBastionShareableLinkNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.getBastionShareableLinkNext(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())); } /** - * Lists all Bastion Hosts in a resource group. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group. + * @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 response for ListBastionHosts API service call as paginated response with {@link PagedIterable}. + * @return response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getBastionShareableLinkNextSinglePageAsync(String nextLink, + Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getBastionShareableLinkNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** @@ -1189,11 +2691,10 @@ public PagedIterable listByResourceGroup(String resourceGroupN * @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 response for ListBastionHosts API service call along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> getActiveSessionsNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1202,9 +2703,10 @@ private Mono> listNextSinglePageAsync(String nex new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + return FluxUtil + .withContext(context -> service.getActiveSessionsNext(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())); } @@ -1216,11 +2718,11 @@ private Mono> listNextSinglePageAsync(String nex * @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 response for ListBastionHosts API service call along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> getActiveSessionsNextSinglePageAsync(String nextLink, + Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1230,7 +2732,7 @@ private Mono> listNextSinglePageAsync(String nex } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.getActiveSessionsNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1242,11 +2744,11 @@ private Mono> listNextSinglePageAsync(String nex * @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 response for ListBastionHosts API service call along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + private Mono> disconnectActiveSessionsNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1257,9 +2759,9 @@ private Mono> listByResourceGroupNextSinglePageA 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)) + context -> service.disconnectActiveSessionsNext(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())); } @@ -1271,11 +2773,11 @@ private Mono> listByResourceGroupNextSinglePageA * @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 response for ListBastionHosts API service call along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, + private Mono> disconnectActiveSessionsNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1286,7 +2788,7 @@ private Mono> listByResourceGroupNextSinglePageA } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context) + return service.disconnectActiveSessionsNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java index 6eef9008032b..3cfa56595278 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.BgpServiceCommunitiesClient; import com.azure.resourcemanager.network.fluent.models.BgpServiceCommunityInner; -import com.azure.resourcemanager.network.models.BgpServiceCommunityListResult; +import com.azure.resourcemanager.network.implementation.models.BgpServiceCommunityListResult; import reactor.core.publisher.Mono; /** @@ -59,14 +59,14 @@ public final class BgpServiceCommunitiesClientImpl implements BgpServiceCommunit * The interface defining all the services for NetworkManagementClientBgpServiceCommunities to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientBgpServiceCommunities") public interface BgpServiceCommunitiesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -75,7 +75,7 @@ Mono> list(@HostParam("$host") String en @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java new file mode 100644 index 000000000000..03332ecf1804 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java @@ -0,0 +1,196 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.implementation; + +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.PathParam; +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.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.network.fluent.CheckDnsNameAvailabilitiesClient; +import com.azure.resourcemanager.network.fluent.models.DnsNameAvailabilityResultInner; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in CheckDnsNameAvailabilitiesClient. + */ +public final class CheckDnsNameAvailabilitiesClientImpl implements CheckDnsNameAvailabilitiesClient { + /** + * The proxy service used to perform REST calls. + */ + private final CheckDnsNameAvailabilitiesService service; + + /** + * The service client containing this operation class. + */ + private final NetworkManagementClientImpl client; + + /** + * Initializes an instance of CheckDnsNameAvailabilitiesClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + CheckDnsNameAvailabilitiesClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(CheckDnsNameAvailabilitiesService.class, client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for NetworkManagementClientCheckDnsNameAvailabilities to be used by the + * proxy service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClientCheckDnsNameAvailabilities") + public interface CheckDnsNameAvailabilitiesService { + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkDnsNameAvailability") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> checkDnsNameAvailability(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @QueryParam("domainNameLabel") String domainNameLabel, + @HeaderParam("Accept") String accept, Context context); + } + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> checkDnsNameAvailabilityWithResponseAsync(String location, + String domainNameLabel) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (domainNameLabel == null) { + return Mono + .error(new IllegalArgumentException("Parameter domainNameLabel is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.checkDnsNameAvailability(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), location, domainNameLabel, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> checkDnsNameAvailabilityWithResponseAsync(String location, + String domainNameLabel, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (domainNameLabel == null) { + return Mono + .error(new IllegalArgumentException("Parameter domainNameLabel is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.checkDnsNameAvailability(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, domainNameLabel, accept, context); + } + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono checkDnsNameAvailabilityAsync(String location, String domainNameLabel) { + return checkDnsNameAvailabilityWithResponseAsync(location, domainNameLabel) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response checkDnsNameAvailabilityWithResponse(String location, + String domainNameLabel, Context context) { + return checkDnsNameAvailabilityWithResponseAsync(location, domainNameLabel, context).block(); + } + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public DnsNameAvailabilityResultInner checkDnsNameAvailability(String location, String domainNameLabel) { + return checkDnsNameAvailabilityWithResponse(location, domainNameLabel, Context.NONE).getValue(); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java index 87b7516aeda1..3b7623a46df3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ConfigurationPolicyGroupsClient; import com.azure.resourcemanager.network.fluent.models.VpnServerConfigurationPolicyGroupInner; -import com.azure.resourcemanager.network.models.ListVpnServerConfigurationPolicyGroupsResult; +import com.azure.resourcemanager.network.implementation.models.ListVpnServerConfigurationPolicyGroupsResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,69 +67,221 @@ public final class ConfigurationPolicyGroupsClientImpl implements ConfigurationP * The interface defining all the services for NetworkManagementClientConfigurationPolicyGroups to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientConfigurationPolicyGroups") public interface ConfigurationPolicyGroupsService { @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}") - @ExpectedResponses({ 200, 201 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnServerConfigurationName") String vpnServerConfigurationName, @PathParam("configurationPolicyGroupName") String configurationPolicyGroupName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}") - @ExpectedResponses({ 200, 202, 204 }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnServerConfigurationName") String vpnServerConfigurationName, @PathParam("configurationPolicyGroupName") String configurationPolicyGroupName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnServerConfigurationPolicyGroupInner vpnServerConfigurationPolicyGroupParameters, + Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}") + @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnServerConfigurationName") String vpnServerConfigurationName, - @PathParam("configurationPolicyGroupName") String configurationPolicyGroupName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @PathParam("configurationPolicyGroupName") String configurationPolicyGroupName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByVpnServerConfiguration( - @HostParam("$host") String endpoint, @PathParam("subscriptionId") String subscriptionId, + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnServerConfigurationName") String vpnServerConfigurationName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByVpnServerConfigurationNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } + /** + * Retrieves the details of a ConfigurationPolicyGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. + * @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 vpnServerConfigurationPolicyGroup Resource along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getWithResponseAsync(String resourceGroupName, + String vpnServerConfigurationName, String configurationPolicyGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (vpnServerConfigurationName == null) { + return Mono.error( + new IllegalArgumentException("Parameter vpnServerConfigurationName is required and cannot be null.")); + } + if (configurationPolicyGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter configurationPolicyGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Retrieves the details of a ConfigurationPolicyGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. + * @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 vpnServerConfigurationPolicyGroup Resource along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync(String resourceGroupName, + String vpnServerConfigurationName, String configurationPolicyGroupName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (vpnServerConfigurationName == null) { + return Mono.error( + new IllegalArgumentException("Parameter vpnServerConfigurationName is required and cannot be null.")); + } + if (configurationPolicyGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter configurationPolicyGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + vpnServerConfigurationName, configurationPolicyGroupName, accept, context); + } + + /** + * Retrieves the details of a ConfigurationPolicyGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. + * @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 vpnServerConfigurationPolicyGroup Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, + String vpnServerConfigurationName, String configurationPolicyGroupName) { + return getWithResponseAsync(resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Retrieves the details of a ConfigurationPolicyGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. + * @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 vpnServerConfigurationPolicyGroup Resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, + String vpnServerConfigurationName, String configurationPolicyGroupName, Context context) { + return getWithResponseAsync(resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName, + context).block(); + } + + /** + * Retrieves the details of a ConfigurationPolicyGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. + * @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 vpnServerConfigurationPolicyGroup Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnServerConfigurationPolicyGroupInner get(String resourceGroupName, String vpnServerConfigurationName, + String configurationPolicyGroupName) { + return getWithResponse(resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName, + Context.NONE).getValue(); + } + /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -169,20 +321,22 @@ public Mono>> createOrUpdateWithResponseAsync(String r vpnServerConfigurationPolicyGroupParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName, apiVersion, - vpnServerConfigurationPolicyGroupParameters, accept, context)) + return FluxUtil.withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnServerConfigurationName, + configurationPolicyGroupName, contentType, accept, vpnServerConfigurationPolicyGroupParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @param context The context to associate with this operation. @@ -223,19 +377,22 @@ private Mono>> createOrUpdateWithResponseAsync(String vpnServerConfigurationPolicyGroupParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnServerConfigurationName, configurationPolicyGroupName, apiVersion, - vpnServerConfigurationPolicyGroupParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName, contentType, accept, + vpnServerConfigurationPolicyGroupParameters, context); } /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -258,9 +415,11 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @param context The context to associate with this operation. @@ -286,9 +445,11 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -310,9 +471,11 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @param context The context to associate with this operation. @@ -335,9 +498,11 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -356,9 +521,11 @@ public Mono createOrUpdateAsync(String r /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @param context The context to associate with this operation. @@ -378,9 +545,11 @@ private Mono createOrUpdateAsync(String /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -399,9 +568,11 @@ public VpnServerConfigurationPolicyGroupInner createOrUpdate(String resourceGrou /** * Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @param vpnServerConfigurationPolicyGroupParameters Parameters supplied to create or update a * VpnServerConfiguration PolicyGroup. * @param context The context to associate with this operation. @@ -421,9 +592,11 @@ public VpnServerConfigurationPolicyGroupInner createOrUpdate(String resourceGrou /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @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. @@ -453,20 +626,21 @@ public Mono>> deleteWithResponseAsync(String resourceG new IllegalArgumentException("Parameter configurationPolicyGroupName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext( - context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnServerConfigurationName, configurationPolicyGroupName, apiVersion, accept, context)) + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @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. @@ -497,18 +671,19 @@ private Mono>> deleteWithResponseAsync(String resource new IllegalArgumentException("Parameter configurationPolicyGroupName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnServerConfigurationName, configurationPolicyGroupName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + vpnServerConfigurationName, configurationPolicyGroupName, context); } /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @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. @@ -526,9 +701,11 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @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. @@ -548,9 +725,11 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @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. @@ -566,9 +745,11 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @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. @@ -586,9 +767,11 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @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. @@ -604,9 +787,11 @@ public Mono deleteAsync(String resourceGroupName, String vpnServerConfigur /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @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. @@ -624,9 +809,11 @@ private Mono deleteAsync(String resourceGroupName, String vpnServerConfigu /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @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. @@ -640,9 +827,11 @@ public void delete(String resourceGroupName, String vpnServerConfigurationName, /** * Deletes a ConfigurationPolicyGroup. * - * @param resourceGroupName The resource group name of the ConfigurationPolicyGroup. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. + * @param configurationPolicyGroupName The name of the resource that is unique within a resource group. This name + * can be used to access the resource. * @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. @@ -654,153 +843,12 @@ public void delete(String resourceGroupName, String vpnServerConfigurationName, deleteAsync(resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName, context).block(); } - /** - * Retrieves the details of a ConfigurationPolicyGroup. - * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup being retrieved. - * @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 vpnServerConfigurationPolicyGroup Resource along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String vpnServerConfigurationName, String configurationPolicyGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (vpnServerConfigurationName == null) { - return Mono.error( - new IllegalArgumentException("Parameter vpnServerConfigurationName is required and cannot be null.")); - } - if (configurationPolicyGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter configurationPolicyGroupName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnServerConfigurationName, configurationPolicyGroupName, apiVersion, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Retrieves the details of a ConfigurationPolicyGroup. - * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup being retrieved. - * @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 vpnServerConfigurationPolicyGroup Resource along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String vpnServerConfigurationName, String configurationPolicyGroupName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (vpnServerConfigurationName == null) { - return Mono.error( - new IllegalArgumentException("Parameter vpnServerConfigurationName is required and cannot be null.")); - } - if (configurationPolicyGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter configurationPolicyGroupName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnServerConfigurationName, configurationPolicyGroupName, apiVersion, accept, context); - } - - /** - * Retrieves the details of a ConfigurationPolicyGroup. - * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup being retrieved. - * @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 vpnServerConfigurationPolicyGroup Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, - String vpnServerConfigurationName, String configurationPolicyGroupName) { - return getWithResponseAsync(resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Retrieves the details of a ConfigurationPolicyGroup. - * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup being retrieved. - * @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 vpnServerConfigurationPolicyGroup Resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, - String vpnServerConfigurationName, String configurationPolicyGroupName, Context context) { - return getWithResponseAsync(resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName, - context).block(); - } - - /** - * Retrieves the details of a ConfigurationPolicyGroup. - * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. - * @param configurationPolicyGroupName The name of the ConfigurationPolicyGroup being retrieved. - * @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 vpnServerConfigurationPolicyGroup Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnServerConfigurationPolicyGroupInner get(String resourceGroupName, String vpnServerConfigurationName, - String configurationPolicyGroupName) { - return getWithResponse(resourceGroupName, vpnServerConfigurationName, configurationPolicyGroupName, - Context.NONE).getValue(); - } - /** * Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -829,9 +877,8 @@ public VpnServerConfigurationPolicyGroupInner get(String resourceGroupName, Stri final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByVpnServerConfiguration(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, vpnServerConfigurationName, apiVersion, accept, - context)) + .withContext(context -> service.listByVpnServerConfiguration(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnServerConfigurationName, 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())); @@ -840,8 +887,9 @@ public VpnServerConfigurationPolicyGroupInner get(String resourceGroupName, Stri /** * Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -872,8 +920,8 @@ private Mono> listByVpnSer final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByVpnServerConfiguration(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnServerConfigurationName, apiVersion, accept, context) + .listByVpnServerConfiguration(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnServerConfigurationName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -881,8 +929,9 @@ private Mono> listByVpnSer /** * Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -900,8 +949,9 @@ public PagedFlux listByVpnServerConfigur /** * Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -920,8 +970,9 @@ private PagedFlux listByVpnServerConfigu /** * Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -937,8 +988,9 @@ public PagedIterable listByVpnServerConf /** * Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java index 92d31f13cfa1..2baaea682c0b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -36,7 +36,8 @@ import com.azure.resourcemanager.network.fluent.ConnectionMonitorsClient; import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorInner; import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorResultInner; -import com.azure.resourcemanager.network.models.ConnectionMonitorListResult; +import com.azure.resourcemanager.network.implementation.models.ConnectionMonitorListResult; +import com.azure.resourcemanager.network.models.StopFinalResult1; import com.azure.resourcemanager.network.models.TagsObject; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -71,81 +72,223 @@ public final class ConnectionMonitorsClientImpl implements ConnectionMonitorsCli * The interface defining all the services for NetworkManagementClientConnectionMonitors to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientConnectionMonitors") public interface ConnectionMonitorsService { @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkWatcherName") String networkWatcherName, + @PathParam("connectionMonitorName") String connectionMonitorName, @HeaderParam("Accept") String accept, + Context context); + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, - @PathParam("connectionMonitorName") String connectionMonitorName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("migrate") String migrate, @BodyParam("application/json") ConnectionMonitorInner parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionMonitorName") String connectionMonitorName, @QueryParam("migrate") String migrate, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ConnectionMonitorInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}") + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, @PathParam("connectionMonitorName") String connectionMonitorName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, - @PathParam("connectionMonitorName") String connectionMonitorName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionMonitorName") String connectionMonitorName, Context context); @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, - @PathParam("connectionMonitorName") String connectionMonitorName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> stop(@HostParam("$host") String endpoint, + Mono>> stop(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, - @PathParam("connectionMonitorName") String connectionMonitorName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionMonitorName") String connectionMonitorName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors") + @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono> listNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + } + + /** + * Gets a connection monitor by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param connectionMonitorName The name of the connection monitor. + * @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 connection monitor by name along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getWithResponseAsync(String resourceGroupName, + String networkWatcherName, String connectionMonitorName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkWatcherName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); + } + if (connectionMonitorName == null) { + return Mono + .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, connectionMonitorName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets a connection monitor by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param connectionMonitorName The name of the connection monitor. + * @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 a connection monitor by name along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync(String resourceGroupName, + String networkWatcherName, String connectionMonitorName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkWatcherName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); + } + if (connectionMonitorName == null) { + return Mono + .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, connectionMonitorName, accept, context); + } + + /** + * Gets a connection monitor by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param connectionMonitorName The name of the connection monitor. + * @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 connection monitor by name on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String networkWatcherName, + String connectionMonitorName) { + return getWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets a connection monitor by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param connectionMonitorName The name of the connection monitor. + * @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 a connection monitor by name along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, Context context) { + return getWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context).block(); + } + + /** + * Gets a connection monitor by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param connectionMonitorName The name of the connection monitor. + * @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 connection monitor by name. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ConnectionMonitorResultInner get(String resourceGroupName, String networkWatcherName, + String connectionMonitorName) { + return getWithResponse(resourceGroupName, networkWatcherName, connectionMonitorName, Context.NONE).getValue(); } /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -162,6 +305,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -174,29 +321,26 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, connectionMonitorName, apiVersion, this.client.getSubscriptionId(), migrate, - parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, connectionMonitorName, migrate, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -215,6 +359,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -227,27 +375,25 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - connectionMonitorName, apiVersion, this.client.getSubscriptionId(), migrate, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, connectionMonitorName, migrate, contentType, accept, parameters, + context); } /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -270,8 +416,8 @@ public PollerFlux, ConnectionMonitorRes /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -294,8 +440,8 @@ public PollerFlux, ConnectionMonitorRes /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -320,8 +466,8 @@ private PollerFlux, ConnectionMonitorRe /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -342,8 +488,8 @@ public SyncPoller, ConnectionMonitorRes /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -366,8 +512,8 @@ public SyncPoller, ConnectionMonitorRes /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -386,8 +532,8 @@ public Mono createOrUpdateAsync(String resourceGro /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -406,8 +552,8 @@ public Mono createOrUpdateAsync(String resourceGro /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -427,8 +573,8 @@ private Mono createOrUpdateAsync(String resourceGr /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -447,8 +593,8 @@ public ConnectionMonitorResultInner createOrUpdate(String resourceGroupName, Str /** * Create or update a connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param parameters Parameters that define the operation to create a connection monitor. * @param migrate Value indicating whether connection monitor V1 should be migrated to V2 format. @@ -466,23 +612,29 @@ public ConnectionMonitorResultInner createOrUpdate(String resourceGroupName, Str } /** - * Gets a connection monitor by name. + * Update tags of the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. + * @param parameters Parameters supplied to update connection monitor tags. * @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 connection monitor by name along with {@link Response} on successful completion of {@link Mono}. + * @return information about the connection monitor along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String networkWatcherName, String connectionMonitorName) { + public Mono> updateTagsWithResponseAsync(String resourceGroupName, + String networkWatcherName, String connectionMonitorName, TagsObject parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -495,37 +647,46 @@ public Mono> getWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - connectionMonitorName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.updateTags(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, connectionMonitorName, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets a connection monitor by name. + * Update tags of the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. + * @param parameters Parameters supplied to update connection monitor tags. * @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 a connection monitor by name along with {@link Response} on successful completion of {@link Mono}. + * @return information about the connection monitor along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String networkWatcherName, String connectionMonitorName, Context context) { + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String networkWatcherName, String connectionMonitorName, TagsObject parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -538,75 +699,82 @@ private Mono> getWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, networkWatcherName, connectionMonitorName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, connectionMonitorName, contentType, accept, parameters, context); } /** - * Gets a connection monitor by name. + * Update tags of the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. + * @param parameters Parameters supplied to update connection monitor tags. * @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 connection monitor by name on successful completion of {@link Mono}. + * @return information about the connection monitor on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String networkWatcherName, - String connectionMonitorName) { - return getWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName) + public Mono updateTagsAsync(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets a connection monitor by name. + * Update tags of the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. + * @param parameters Parameters supplied to update connection monitor tags. * @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 a connection monitor by name along with {@link Response}. + * @return information about the connection monitor along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, Context context) { - return getWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context).block(); + public Response updateTagsWithResponse(String resourceGroupName, + String networkWatcherName, String connectionMonitorName, TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, + context).block(); } /** - * Gets a connection monitor by name. + * Update tags of the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. + * @param parameters Parameters supplied to update connection monitor tags. * @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 connection monitor by name. + * @return information about the connection monitor. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ConnectionMonitorResultInner get(String resourceGroupName, String networkWatcherName, - String connectionMonitorName) { - return getWithResponse(resourceGroupName, networkWatcherName, connectionMonitorName, Context.NONE).getValue(); + public ConnectionMonitorResultInner updateTags(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, + Context.NONE).getValue(); } /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -620,6 +788,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -632,23 +804,18 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - connectionMonitorName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, connectionMonitorName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -663,6 +830,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -675,22 +846,17 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkWatcherName, connectionMonitorName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, connectionMonitorName, context); } /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -709,8 +875,8 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -731,8 +897,8 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -748,8 +914,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -767,8 +933,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -784,8 +950,8 @@ public Mono deleteAsync(String resourceGroupName, String networkWatcherNam /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -803,8 +969,8 @@ private Mono deleteAsync(String resourceGroupName, String networkWatcherNa /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -818,8 +984,8 @@ public void delete(String resourceGroupName, String networkWatcherName, String c /** * Deletes the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -833,25 +999,26 @@ public void delete(String resourceGroupName, String networkWatcherName, String c } /** - * Update tags of the specified connection monitor. + * Lists all connection monitors for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param connectionMonitorName The name of the connection monitor. - * @param parameters Parameters supplied to update connection monitor tags. * @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 information about the connection monitor along with {@link Response} on successful completion of - * {@link Mono}. + * @return list of connection monitors along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateTagsWithResponseAsync(String resourceGroupName, - String networkWatcherName, String connectionMonitorName, TagsObject parameters) { + private Mono> listSinglePageAsync(String resourceGroupName, + String networkWatcherName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -860,48 +1027,38 @@ public Mono> updateTagsWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (connectionMonitorName == null) { - return Mono - .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - connectionMonitorName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, 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())); } /** - * Update tags of the specified connection monitor. + * Lists all connection monitors for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param connectionMonitorName The name of the connection monitor. - * @param parameters Parameters supplied to update connection monitor tags. * @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 information about the connection monitor along with {@link Response} on successful completion of - * {@link Mono}. + * @return list of connection monitors along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String networkWatcherName, String connectionMonitorName, TagsObject parameters, Context context) { + private Mono> listSinglePageAsync(String resourceGroupName, + String networkWatcherName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -910,89 +1067,87 @@ private Mono> updateTagsWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (connectionMonitorName == null) { - return Mono - .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - connectionMonitorName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Update tags of the specified connection monitor. + * Lists all connection monitors for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param connectionMonitorName The name of the connection monitor. - * @param parameters Parameters supplied to update connection monitor tags. * @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 information about the connection monitor on successful completion of {@link Mono}. + * @return list of connection monitors as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkWatcherName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkWatcherName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Update tags of the specified connection monitor. + * Lists all connection monitors for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param connectionMonitorName The name of the connection monitor. - * @param parameters Parameters supplied to update connection monitor tags. * @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 information about the connection monitor along with {@link Response}. + * @return list of connection monitors as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, - String networkWatcherName, String connectionMonitorName, TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, - context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkWatcherName, + Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkWatcherName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Update tags of the specified connection monitor. + * Lists all connection monitors for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param connectionMonitorName The name of the connection monitor. - * @param parameters Parameters supplied to update connection monitor tags. * @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 information about the connection monitor. + * @return list of connection monitors as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ConnectionMonitorResultInner updateTags(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, networkWatcherName, connectionMonitorName, parameters, - Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkWatcherName) { + return new PagedIterable<>(listAsync(resourceGroupName, networkWatcherName)); + } + + /** + * Lists all connection monitors for the specified Network Watcher. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @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 list of connection monitors as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkWatcherName, + Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkWatcherName, context)); } /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1006,6 +1161,10 @@ public Mono>> stopWithResponseAsync(String resourceGro return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1018,23 +1177,18 @@ public Mono>> stopWithResponseAsync(String resourceGro return Mono .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.stop(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - connectionMonitorName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.stop(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, connectionMonitorName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1049,6 +1203,10 @@ private Mono>> stopWithResponseAsync(String resourceGr return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1061,22 +1219,17 @@ private Mono>> stopWithResponseAsync(String resourceGr return Mono .error(new IllegalArgumentException("Parameter connectionMonitorName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.stop(this.client.getEndpoint(), resourceGroupName, networkWatcherName, connectionMonitorName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.stop(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, connectionMonitorName, context); } /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1084,19 +1237,19 @@ private Mono>> stopWithResponseAsync(String resourceGr * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginStopAsync(String resourceGroupName, String networkWatcherName, - String connectionMonitorName) { + public PollerFlux, StopFinalResult1> beginStopAsync(String resourceGroupName, + String networkWatcherName, String connectionMonitorName) { Mono>> mono = stopWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + StopFinalResult1.class, StopFinalResult1.class, this.client.getContext()); } /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1105,20 +1258,20 @@ public PollerFlux, Void> beginStopAsync(String resourceGroupNam * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginStopAsync(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, Context context) { + private PollerFlux, StopFinalResult1> beginStopAsync(String resourceGroupName, + String networkWatcherName, String connectionMonitorName, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + StopFinalResult1.class, StopFinalResult1.class, context); } /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1126,16 +1279,16 @@ private PollerFlux, Void> beginStopAsync(String resourceGroupNa * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginStop(String resourceGroupName, String networkWatcherName, - String connectionMonitorName) { + public SyncPoller, StopFinalResult1> beginStop(String resourceGroupName, + String networkWatcherName, String connectionMonitorName) { return this.beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).getSyncPoller(); } /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1144,8 +1297,8 @@ public SyncPoller, Void> beginStop(String resourceGroupName, St * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginStop(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, Context context) { + public SyncPoller, StopFinalResult1> beginStop(String resourceGroupName, + String networkWatcherName, String connectionMonitorName, Context context) { return this.beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context) .getSyncPoller(); } @@ -1153,16 +1306,17 @@ public SyncPoller, Void> beginStop(String resourceGroupName, St /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { + public Mono stopAsync(String resourceGroupName, String networkWatcherName, + String connectionMonitorName) { return beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1170,18 +1324,18 @@ public Mono stopAsync(String resourceGroupName, String networkWatcherName, /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @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 A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, - Context context) { + private Mono stopAsync(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, Context context) { return beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1189,79 +1343,66 @@ private Mono stopAsync(String resourceGroupName, String networkWatcherName /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { - stopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).block(); + public StopFinalResult1 stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { + return stopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).block(); } /** * Stops the specified connection monitor. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param connectionMonitorName The name of the connection monitor. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, + public StopFinalResult1 stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context) { - stopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context).block(); + return stopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context).block(); } /** - * Lists all connection monitors for the specified Network Watcher. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @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 list of connection monitors along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkWatcherName) { + private Mono> listNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkWatcherName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Lists all connection monitors for the specified Network Watcher. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @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. @@ -1269,95 +1410,19 @@ private Mono> listSinglePageAsync(St * @return list of connection monitors along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkWatcherName, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, + Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkWatcherName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); - } - - /** - * Lists all connection monitors for the specified Network Watcher. - * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. - * @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 list of connection monitors as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkWatcherName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkWatcherName)); - } - - /** - * Lists all connection monitors for the specified Network Watcher. - * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. - * @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 list of connection monitors as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkWatcherName, - Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkWatcherName, context)); - } - - /** - * Lists all connection monitors for the specified Network Watcher. - * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. - * @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 list of connection monitors as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkWatcherName) { - return new PagedIterable<>(listAsync(resourceGroupName, networkWatcherName)); - } - - /** - * Lists all connection monitors for the specified Network Watcher. - * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. - * @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 list of connection monitors as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkWatcherName, - Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkWatcherName, context)); + res.getValue().value(), res.getValue().nextLink(), null)); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java index 1072ef2129bc..27a533d62142 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ConnectivityConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.ConnectivityConfigurationInner; -import com.azure.resourcemanager.network.models.ConnectivityConfigurationListResult; +import com.azure.resourcemanager.network.implementation.models.ConnectivityConfigurationListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,48 +67,47 @@ public final class ConnectivityConfigurationsClientImpl implements ConnectivityC * The interface defining all the services for NetworkManagementClientConnectivityConfigurations to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientConnectivityConfigurations") public interface ConnectivityConfigurationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("configurationName") String configurationName, - @BodyParam("application/json") ConnectivityConfigurationInner connectivityConfiguration, - @HeaderParam("Accept") String accept, Context context); + @PathParam("configurationName") String configurationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") ConnectivityConfigurationInner connectivityConfiguration, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @QueryParam("force") Boolean force, - @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, @@ -119,7 +118,7 @@ Mono> list(@HostParam("$host") Str @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } @@ -127,7 +126,7 @@ Mono> listNext( * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and * connectivity Configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -171,7 +170,7 @@ public Mono> getWithResponseAsync(Strin * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and * connectivity Configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param context The context to associate with this operation. @@ -215,7 +214,7 @@ private Mono> getWithResponseAsync(Stri * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and * connectivity Configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -235,7 +234,7 @@ public Mono getAsync(String resourceGroupName, S * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and * connectivity Configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param context The context to associate with this operation. @@ -255,7 +254,7 @@ public Response getWithResponse(String resourceG * Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and * connectivity Configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -273,7 +272,7 @@ public ConnectivityConfigurationInner get(String resourceGroupName, String netwo /** * Creates/Updates a new network manager connectivity configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity @@ -314,18 +313,19 @@ public Mono> createOrUpdateWithResponse connectivityConfiguration.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - connectivityConfiguration, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, contentType, + accept, connectivityConfiguration, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates/Updates a new network manager connectivity configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity @@ -368,16 +368,18 @@ private Mono> createOrUpdateWithRespons connectivityConfiguration.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, connectivityConfiguration, accept, context); + resourceGroupName, networkManagerName, configurationName, contentType, accept, connectivityConfiguration, + context); } /** * Creates/Updates a new network manager connectivity configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity @@ -397,7 +399,7 @@ public Mono createOrUpdateAsync(String resourceG /** * Creates/Updates a new network manager connectivity configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity @@ -419,7 +421,7 @@ public Response createOrUpdateWithResponse(Strin /** * Creates/Updates a new network manager connectivity configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param connectivityConfiguration Parameters supplied to create/update a network manager connectivity @@ -440,7 +442,7 @@ public ConnectivityConfigurationInner createOrUpdate(String resourceGroupName, S * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -474,11 +476,10 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext( context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, force, accept, context)) + resourceGroupName, networkManagerName, configurationName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -486,7 +487,7 @@ public Mono>> deleteWithResponseAsync(String resourceG * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -521,17 +522,16 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, force, accept, context); + networkManagerName, configurationName, force, context); } /** * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -554,7 +554,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -576,7 +576,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -601,7 +601,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -620,7 +620,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -642,7 +642,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -663,7 +663,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -682,7 +682,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -704,7 +704,7 @@ private Mono deleteAsync(String resourceGroupName, String networkManagerNa * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -721,7 +721,7 @@ public void delete(String resourceGroupName, String networkManagerName, String c * Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and * connectivity configuration name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager connectivity configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -740,7 +740,7 @@ public void delete(String resourceGroupName, String networkManagerName, String c /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -750,8 +750,8 @@ public void delete(String resourceGroupName, String networkManagerName, String c * @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 result of the request to list network manager connectivity configurations along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a ConnectivityConfiguration list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -785,7 +785,7 @@ private Mono> listSinglePageAsync( /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -796,8 +796,8 @@ private Mono> listSinglePageAsync( * @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 result of the request to list network manager connectivity configurations along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a ConnectivityConfiguration list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -831,7 +831,7 @@ private Mono> listSinglePageAsync( /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -841,8 +841,7 @@ private Mono> listSinglePageAsync( * @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 result of the request to list network manager connectivity configurations as paginated response with - * {@link PagedFlux}. + * @return the response of a ConnectivityConfiguration list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkManagerName, @@ -854,13 +853,12 @@ public PagedFlux listAsync(String resourceGroupN /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @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 result of the request to list network manager connectivity configurations as paginated response with - * {@link PagedFlux}. + * @return the response of a ConnectivityConfiguration list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { @@ -873,7 +871,7 @@ public PagedFlux listAsync(String resourceGroupN /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -884,8 +882,7 @@ public PagedFlux listAsync(String resourceGroupN * @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 result of the request to list network manager connectivity configurations as paginated response with - * {@link PagedFlux}. + * @return the response of a ConnectivityConfiguration list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkManagerName, @@ -898,12 +895,12 @@ private PagedFlux listAsync(String resourceGroup /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @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 result of the request to list network manager connectivity configurations as paginated response with + * @return the response of a ConnectivityConfiguration list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -916,7 +913,7 @@ public PagedIterable list(String resourceGroupNa /** * Lists all the network manager connectivity configuration in a specified network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -927,7 +924,7 @@ public PagedIterable list(String resourceGroupNa * @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 result of the request to list network manager connectivity configurations as paginated response with + * @return the response of a ConnectivityConfiguration list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -943,8 +940,8 @@ public PagedIterable list(String resourceGroupNa * @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 result of the request to list network manager connectivity configurations along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a ConnectivityConfiguration list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -970,8 +967,8 @@ private Mono> listNextSinglePageAs * @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 result of the request to list network manager connectivity configurations along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a ConnectivityConfiguration list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java index a2d49be7a53c..ee7ae08e1174 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -32,9 +32,9 @@ import com.azure.core.util.FluxUtil; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.CustomIpPrefixesClient; +import com.azure.resourcemanager.network.fluent.CustomIPPrefixesClient; import com.azure.resourcemanager.network.fluent.models.CustomIpPrefixInner; -import com.azure.resourcemanager.network.models.CustomIpPrefixListResult; +import com.azure.resourcemanager.network.implementation.models.CustomIpPrefixListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -44,14 +44,14 @@ import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in CustomIpPrefixesClient. + * An instance of this class provides access to all the operations defined in CustomIPPrefixesClient. */ -public final class CustomIpPrefixesClientImpl implements InnerSupportsGet, - InnerSupportsListing, InnerSupportsDelete, CustomIpPrefixesClient { +public final class CustomIPPrefixesClientImpl implements InnerSupportsGet, + InnerSupportsListing, InnerSupportsDelete, CustomIPPrefixesClient { /** * The proxy service used to perform REST calls. */ - private final CustomIpPrefixesService service; + private final CustomIPPrefixesService service; /** * The service client containing this operation class. @@ -59,85 +59,77 @@ public final class CustomIpPrefixesClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("customIpPrefixName") String customIpPrefixName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClientCustomIPPrefixes") + public interface CustomIPPrefixesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("customIpPrefixName") String customIpPrefixName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("customIpPrefixName") String customIpPrefixName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("customIpPrefixName") String customIpPrefixName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") CustomIpPrefixInner parameters, @HeaderParam("Accept") String accept, + @PathParam("customIpPrefixName") String customIpPrefixName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") CustomIpPrefixInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("customIpPrefixName") String customIpPrefixName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("customIpPrefixName") String customIpPrefixName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}") + @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("customIpPrefixName") String customIpPrefixName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + 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" }) @@ -145,219 +137,22 @@ Mono> listAllNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String customIpPrefixName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (customIpPrefixName == null) { - return Mono - .error(new IllegalArgumentException("Parameter customIpPrefixName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, customIpPrefixName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String customIpPrefixName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (customIpPrefixName == null) { - return Mono - .error(new IllegalArgumentException("Parameter customIpPrefixName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, customIpPrefixName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String customIpPrefixName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, customIpPrefixName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String customIpPrefixName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, customIpPrefixName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 customIpPrefixName) { - return this.beginDeleteAsync(resourceGroupName, customIpPrefixName).getSyncPoller(); - } - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 customIpPrefixName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, customIpPrefixName, context).getSyncPoller(); - } - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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) - public Mono deleteAsync(String resourceGroupName, String customIpPrefixName) { - return beginDeleteAsync(resourceGroupName, customIpPrefixName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String customIpPrefixName, Context context) { - return beginDeleteAsync(resourceGroupName, customIpPrefixName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 customIpPrefixName) { - deleteAsync(resourceGroupName, customIpPrefixName).block(); - } - /** - * Deletes the specified custom IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param customIpPrefixName The name of the CustomIpPrefix. - * @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 customIpPrefixName, Context context) { - deleteAsync(resourceGroupName, customIpPrefixName, context).block(); + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified custom IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -373,6 +168,10 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -381,22 +180,18 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono .error(new IllegalArgumentException("Parameter customIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - customIpPrefixName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, customIpPrefixName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified custom IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -413,6 +208,10 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -421,21 +220,17 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter customIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, customIpPrefixName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, customIpPrefixName, expand, accept, context); } /** * Gets the specified custom IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -452,7 +247,7 @@ public Mono getByResourceGroupAsync(String resourceGroupNam /** * Gets the specified custom IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -470,7 +265,7 @@ public Response getByResourceGroupWithResponse(String resou /** * Gets the specified custom IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -486,7 +281,7 @@ public CustomIpPrefixInner getByResourceGroup(String resourceGroupName, String c /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -501,6 +296,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -509,27 +308,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter customIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - customIpPrefixName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, customIpPrefixName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @param context The context to associate with this operation. @@ -545,6 +342,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -553,26 +354,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter customIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, customIpPrefixName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, customIpPrefixName, contentType, accept, parameters, context); } /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -592,7 +390,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @param context The context to associate with this operation. @@ -614,7 +412,7 @@ private PollerFlux, CustomIpPrefixInner> beginCr /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -631,7 +429,7 @@ private PollerFlux, CustomIpPrefixInner> beginCr /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @param context The context to associate with this operation. @@ -650,7 +448,7 @@ public SyncPoller, CustomIpPrefixInner> beginCre /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -668,7 +466,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @param context The context to associate with this operation. @@ -687,7 +485,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -704,7 +502,7 @@ public CustomIpPrefixInner createOrUpdate(String resourceGroupName, String custo /** * Creates or updates a custom IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to the create or update custom IP prefix operation. * @param context The context to associate with this operation. @@ -722,7 +520,7 @@ public CustomIpPrefixInner createOrUpdate(String resourceGroupName, String custo /** * Updates custom IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to update custom IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -737,6 +535,10 @@ public Mono> updateTagsWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -745,27 +547,25 @@ public Mono> updateTagsWithResponseAsync(String re return Mono .error(new IllegalArgumentException("Parameter customIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, customIpPrefixName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, customIpPrefixName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates custom IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to update custom IP prefix tags. * @param context The context to associate with this operation. @@ -781,6 +581,10 @@ private Mono> updateTagsWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -789,26 +593,23 @@ private Mono> updateTagsWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter customIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, customIpPrefixName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, customIpPrefixName, contentType, accept, parameters, context); } /** * Updates custom IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to update custom IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -826,7 +627,7 @@ public Mono updateTagsAsync(String resourceGroupName, Strin /** * Updates custom IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to update custom IP prefix tags. * @param context The context to associate with this operation. @@ -844,7 +645,7 @@ public Response updateTagsWithResponse(String resourceGroup /** * Updates custom IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param customIpPrefixName The name of the custom IP prefix. * @param parameters Parameters supplied to update custom IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -858,15 +659,18 @@ public CustomIpPrefixInner updateTags(String resourceGroupName, String customIpP } /** - * Gets all the custom IP prefixes in a subscription. + * Deletes the specified custom IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 all the custom IP prefixes in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String customIpPrefixName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -875,28 +679,35 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (customIpPrefixName == null) { + return Mono + .error(new IllegalArgumentException("Parameter customIpPrefixName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, customIpPrefixName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the custom IP prefixes in a subscription. + * Deletes the specified custom IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. * @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 all the custom IP prefixes in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String customIpPrefixName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -905,71 +716,155 @@ private Mono> listSinglePageAsync(Context con return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (customIpPrefixName == null) { + return Mono + .error(new IllegalArgumentException("Parameter customIpPrefixName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + customIpPrefixName, context); } /** - * Gets all the custom IP prefixes in a subscription. + * Deletes the specified custom IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 all the custom IP prefixes in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String customIpPrefixName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, customIpPrefixName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Gets all the custom IP prefixes in a subscription. + * Deletes the specified custom IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. * @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 all the custom IP prefixes in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String customIpPrefixName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, customIpPrefixName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Gets all the custom IP prefixes in a subscription. + * Deletes the specified custom IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 all the custom IP prefixes in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String customIpPrefixName) { + return this.beginDeleteAsync(resourceGroupName, customIpPrefixName).getSyncPoller(); } /** - * Gets all the custom IP prefixes in a subscription. + * Deletes the specified custom IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. * @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 all the custom IP prefixes in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String customIpPrefixName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, customIpPrefixName, context).getSyncPoller(); + } + + /** + * Deletes the specified custom IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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) + public Mono deleteAsync(String resourceGroupName, String customIpPrefixName) { + return beginDeleteAsync(resourceGroupName, customIpPrefixName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified custom IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String customIpPrefixName, Context context) { + return beginDeleteAsync(resourceGroupName, customIpPrefixName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified custom IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 customIpPrefixName) { + deleteAsync(resourceGroupName, customIpPrefixName).block(); + } + + /** + * Deletes the specified custom IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param customIpPrefixName The name of the custom IP prefix. + * @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 customIpPrefixName, Context context) { + deleteAsync(resourceGroupName, customIpPrefixName, context).block(); } /** * Gets all custom IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -982,19 +877,19 @@ private Mono> listByResourceGroupSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -1003,7 +898,7 @@ private Mono> listByResourceGroupSinglePageAs /** * Gets all custom IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1018,20 +913,20 @@ private Mono> listByResourceGroupSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1039,7 +934,7 @@ private Mono> listByResourceGroupSinglePageAs /** * Gets all custom IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1054,7 +949,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGr /** * Gets all custom IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1070,7 +965,7 @@ private PagedFlux listByResourceGroupAsync(String resourceG /** * Gets all custom IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1084,7 +979,7 @@ public PagedIterable listByResourceGroup(String resourceGro /** * Gets all custom IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1096,6 +991,115 @@ public PagedIterable listByResourceGroup(String resourceGro return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } + /** + * Gets all the custom IP prefixes in a 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 all the custom IP prefixes in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); + } + + /** + * Gets all the custom IP prefixes in a 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 all the custom IP prefixes in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets all the custom IP prefixes in a 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 all the custom IP prefixes in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + } + + /** + * Gets all the custom IP prefixes in a 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 all the custom IP prefixes in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets all the custom IP prefixes in a 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 all the custom IP prefixes in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Gets all the custom IP prefixes in a 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 all the custom IP prefixes in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); + } + /** * Get the next page of items. * @@ -1103,11 +1107,11 @@ public PagedIterable listByResourceGroup(String resourceGro * @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 all the custom IP prefixes in a subscription along with {@link PagedResponse} on successful completion of + * @return all custom IP prefixes in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1116,8 +1120,7 @@ private Mono> listAllNextSinglePageAsync(Stri new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1131,11 +1134,11 @@ private Mono> listAllNextSinglePageAsync(Stri * @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 all the custom IP prefixes in a subscription along with {@link PagedResponse} on successful completion of + * @return all custom IP prefixes in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1145,7 +1148,7 @@ private Mono> listAllNextSinglePageAsync(Stri } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1157,11 +1160,11 @@ private Mono> listAllNextSinglePageAsync(Stri * @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 all custom IP prefixes in a resource group along with {@link PagedResponse} on successful completion of + * @return all the custom IP prefixes in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1170,7 +1173,8 @@ private Mono> listNextSinglePageAsync(String new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -1184,11 +1188,11 @@ private Mono> listNextSinglePageAsync(String * @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 all custom IP prefixes in a resource group along with {@link PagedResponse} on successful completion of + * @return all the custom IP prefixes in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1198,7 +1202,7 @@ private Mono> listNextSinglePageAsync(String } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java index 50662cb832fa..5cf7401a79a4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -67,262 +67,53 @@ public final class DdosCustomPoliciesClientImpl * The interface defining all the services for NetworkManagementClientDdosCustomPolicies to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientDdosCustomPolicies") public interface DdosCustomPoliciesService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("ddosCustomPolicyName") String ddosCustomPolicyName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("ddosCustomPolicyName") String ddosCustomPolicyName, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("ddosCustomPolicyName") String ddosCustomPolicyName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ddosCustomPolicyName") String ddosCustomPolicyName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") DdosCustomPolicyInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") DdosCustomPolicyInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ddosCustomPolicyName") String ddosCustomPolicyName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); - } - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String ddosCustomPolicyName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (ddosCustomPolicyName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ddosCustomPolicyName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, ddosCustomPolicyName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String ddosCustomPolicyName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (ddosCustomPolicyName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ddosCustomPolicyName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, ddosCustomPolicyName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ddosCustomPolicyName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, ddosCustomPolicyName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ddosCustomPolicyName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, ddosCustomPolicyName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 ddosCustomPolicyName) { - return this.beginDeleteAsync(resourceGroupName, ddosCustomPolicyName).getSyncPoller(); - } - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 ddosCustomPolicyName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, ddosCustomPolicyName, context).getSyncPoller(); - } - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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) - public Mono deleteAsync(String resourceGroupName, String ddosCustomPolicyName) { - return beginDeleteAsync(resourceGroupName, ddosCustomPolicyName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String ddosCustomPolicyName, Context context) { - return beginDeleteAsync(resourceGroupName, ddosCustomPolicyName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 ddosCustomPolicyName) { - deleteAsync(resourceGroupName, ddosCustomPolicyName).block(); - } - - /** - * Deletes the specified DDoS custom policy. - * - * @param resourceGroupName The name of the resource group. - * @param ddosCustomPolicyName The name of the DDoS custom policy. - * @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 ddosCustomPolicyName, Context context) { - deleteAsync(resourceGroupName, ddosCustomPolicyName, context).block(); + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}") + @ExpectedResponses({ 200, 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("ddosCustomPolicyName") String ddosCustomPolicyName, Context context); } /** * Gets information about the specified DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -337,6 +128,10 @@ public Mono> getByResourceGroupWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -345,22 +140,18 @@ public Mono> getByResourceGroupWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter ddosCustomPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - ddosCustomPolicyName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ddosCustomPolicyName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets information about the specified DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -376,6 +167,10 @@ private Mono> getByResourceGroupWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -384,21 +179,17 @@ private Mono> getByResourceGroupWithResponseAsyn return Mono .error(new IllegalArgumentException("Parameter ddosCustomPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, ddosCustomPolicyName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ddosCustomPolicyName, accept, context); } /** * Gets information about the specified DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -414,7 +205,7 @@ public Mono getByResourceGroupAsync(String resourceGroupN /** * Gets information about the specified DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -431,7 +222,7 @@ public Response getByResourceGroupWithResponse(String res /** * Gets information about the specified DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -446,7 +237,7 @@ public DdosCustomPolicyInner getByResourceGroup(String resourceGroupName, String /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -462,6 +253,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -470,27 +265,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter ddosCustomPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - ddosCustomPolicyName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ddosCustomPolicyName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -507,6 +300,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -515,26 +312,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter ddosCustomPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, ddosCustomPolicyName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ddosCustomPolicyName, contentType, accept, parameters, context); } /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -555,7 +349,7 @@ public PollerFlux, DdosCustomPolicyInner> begi /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -577,7 +371,7 @@ private PollerFlux, DdosCustomPolicyInner> beg /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -594,7 +388,7 @@ private PollerFlux, DdosCustomPolicyInner> beg /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -613,7 +407,7 @@ public SyncPoller, DdosCustomPolicyInner> begi /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -631,7 +425,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -650,7 +444,7 @@ private Mono createOrUpdateAsync(String resourceGroupName /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -667,7 +461,7 @@ public DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddo /** * Creates or updates a DDoS custom policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -685,7 +479,7 @@ public DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddo /** * Update a DDoS custom policy tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to update DDoS custom policy resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -701,6 +495,10 @@ public Mono> updateTagsWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -709,27 +507,25 @@ public Mono> updateTagsWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter ddosCustomPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - ddosCustomPolicyName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ddosCustomPolicyName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Update a DDoS custom policy tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to update DDoS custom policy resource tags. * @param context The context to associate with this operation. @@ -746,6 +542,10 @@ private Mono> updateTagsWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -754,26 +554,23 @@ private Mono> updateTagsWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter ddosCustomPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, ddosCustomPolicyName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ddosCustomPolicyName, contentType, accept, parameters, context); } /** * Update a DDoS custom policy tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to update DDoS custom policy resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -791,7 +588,7 @@ public Mono updateTagsAsync(String resourceGroupName, Str /** * Update a DDoS custom policy tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to update DDoS custom policy resource tags. * @param context The context to associate with this operation. @@ -809,7 +606,7 @@ public Response updateTagsWithResponse(String resourceGro /** * Update a DDoS custom policy tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosCustomPolicyName The name of the DDoS custom policy. * @param parameters Parameters supplied to update DDoS custom policy resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -822,4 +619,208 @@ public DdosCustomPolicyInner updateTags(String resourceGroupName, String ddosCus TagsObject parameters) { return updateTagsWithResponse(resourceGroupName, ddosCustomPolicyName, parameters, Context.NONE).getValue(); } + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String ddosCustomPolicyName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (ddosCustomPolicyName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ddosCustomPolicyName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ddosCustomPolicyName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String ddosCustomPolicyName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (ddosCustomPolicyName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ddosCustomPolicyName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + ddosCustomPolicyName, context); + } + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ddosCustomPolicyName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, ddosCustomPolicyName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ddosCustomPolicyName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, ddosCustomPolicyName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 ddosCustomPolicyName) { + return this.beginDeleteAsync(resourceGroupName, ddosCustomPolicyName).getSyncPoller(); + } + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 ddosCustomPolicyName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, ddosCustomPolicyName, context).getSyncPoller(); + } + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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) + public Mono deleteAsync(String resourceGroupName, String ddosCustomPolicyName) { + return beginDeleteAsync(resourceGroupName, ddosCustomPolicyName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String ddosCustomPolicyName, Context context) { + return beginDeleteAsync(resourceGroupName, ddosCustomPolicyName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 ddosCustomPolicyName) { + deleteAsync(resourceGroupName, ddosCustomPolicyName).block(); + } + + /** + * Deletes the specified DDoS custom policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosCustomPolicyName The name of the DDoS custom policy. + * @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 ddosCustomPolicyName, Context context) { + deleteAsync(resourceGroupName, ddosCustomPolicyName, context).block(); + } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java index 3f2bd9e3c534..160b5375f7eb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.DdosProtectionPlansClient; import com.azure.resourcemanager.network.fluent.models.DdosProtectionPlanInner; -import com.azure.resourcemanager.network.models.DdosProtectionPlanListResult; +import com.azure.resourcemanager.network.implementation.models.DdosProtectionPlanListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,139 +73,104 @@ public final class DdosProtectionPlansClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("ddosProtectionPlanName") String ddosProtectionPlanName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("ddosProtectionPlanName") String ddosProtectionPlanName, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("ddosProtectionPlanName") String ddosProtectionPlanName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ddosProtectionPlanName") String ddosProtectionPlanName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") DdosProtectionPlanInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") DdosProtectionPlanInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ddosProtectionPlanName") String ddosProtectionPlanName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("ddosProtectionPlanName") String ddosProtectionPlanName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + 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) - Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified DDoS protection plan. + * Gets information about the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @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}. + * @return information about the specified DDoS protection plan along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (ddosProtectionPlanName == null) { - return Mono.error( - new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, ddosProtectionPlanName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String ddosProtectionPlanName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -214,192 +179,18 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, ddosProtectionPlanName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String ddosProtectionPlanName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, ddosProtectionPlanName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ddosProtectionPlanName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, ddosProtectionPlanName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 ddosProtectionPlanName) { - return this.beginDeleteAsync(resourceGroupName, ddosProtectionPlanName).getSyncPoller(); - } - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 ddosProtectionPlanName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, ddosProtectionPlanName, context).getSyncPoller(); - } - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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) - public Mono deleteAsync(String resourceGroupName, String ddosProtectionPlanName) { - return beginDeleteAsync(resourceGroupName, ddosProtectionPlanName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String ddosProtectionPlanName, Context context) { - return beginDeleteAsync(resourceGroupName, ddosProtectionPlanName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 ddosProtectionPlanName) { - deleteAsync(resourceGroupName, ddosProtectionPlanName).block(); - } - - /** - * Deletes the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 ddosProtectionPlanName, Context context) { - deleteAsync(resourceGroupName, ddosProtectionPlanName, context).block(); - } - - /** - * Gets information about the specified DDoS protection plan. - * - * @param resourceGroupName The name of the resource group. - * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @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 information about the specified DDoS protection plan along with {@link Response} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String ddosProtectionPlanName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (ddosProtectionPlanName == null) { - return Mono.error( - new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - ddosProtectionPlanName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ddosProtectionPlanName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets information about the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -415,6 +206,10 @@ private Mono> getByResourceGroupWithResponseAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -423,21 +218,17 @@ private Mono> getByResourceGroupWithResponseAs return Mono.error( new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, ddosProtectionPlanName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ddosProtectionPlanName, accept, context); } /** * Gets information about the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -454,7 +245,7 @@ public Mono getByResourceGroupAsync(String resourceGrou /** * Gets information about the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -471,7 +262,7 @@ public Response getByResourceGroupWithResponse(String r /** * Gets information about the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -486,7 +277,7 @@ public DdosProtectionPlanInner getByResourceGroup(String resourceGroupName, Stri /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -502,6 +293,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -510,27 +305,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - ddosProtectionPlanName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ddosProtectionPlanName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -547,6 +340,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -555,26 +352,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, ddosProtectionPlanName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ddosProtectionPlanName, contentType, accept, parameters, context); } /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -595,7 +389,7 @@ public PollerFlux, DdosProtectionPlanInner> /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -617,7 +411,7 @@ private PollerFlux, DdosProtectionPlanInner> /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -634,7 +428,7 @@ public SyncPoller, DdosProtectionPlanInner> /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -653,7 +447,7 @@ public SyncPoller, DdosProtectionPlanInner> /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -671,7 +465,7 @@ public Mono createOrUpdateAsync(String resourceGroupNam /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -690,7 +484,7 @@ private Mono createOrUpdateAsync(String resourceGroupNa /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -707,7 +501,7 @@ public DdosProtectionPlanInner createOrUpdate(String resourceGroupName, String d /** * Creates or updates a DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the create or update operation. * @param context The context to associate with this operation. @@ -725,7 +519,7 @@ public DdosProtectionPlanInner createOrUpdate(String resourceGroupName, String d /** * Update a DDoS protection plan tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. * @param parameters Parameters supplied to the update DDoS protection plan resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -741,6 +535,10 @@ public Mono> updateTagsWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -749,130 +547,336 @@ public Mono> updateTagsWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ddosProtectionPlanName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Update a DDoS protection plan tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @param parameters Parameters supplied to the update DDoS protection plan resource tags. + * @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 a DDoS protection plan in a resource group along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String ddosProtectionPlanName, TagsObject parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (ddosProtectionPlanName == null) { + return Mono.error( + new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); + } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ddosProtectionPlanName, contentType, accept, parameters, context); + } + + /** + * Update a DDoS protection plan tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @param parameters Parameters supplied to the update DDoS protection plan resource tags. + * @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 DDoS protection plan in a resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateTagsAsync(String resourceGroupName, String ddosProtectionPlanName, + TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, ddosProtectionPlanName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Update a DDoS protection plan tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @param parameters Parameters supplied to the update DDoS protection plan resource tags. + * @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 a DDoS protection plan in a resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateTagsWithResponse(String resourceGroupName, + String ddosProtectionPlanName, TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, ddosProtectionPlanName, parameters, context).block(); + } + + /** + * Update a DDoS protection plan tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @param parameters Parameters supplied to the update DDoS protection plan resource tags. + * @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 DDoS protection plan in a resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public DdosProtectionPlanInner updateTags(String resourceGroupName, String ddosProtectionPlanName, + TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, ddosProtectionPlanName, parameters, Context.NONE).getValue(); + } + + /** + * Deletes the specified DDoS protection plan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String ddosProtectionPlanName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (ddosProtectionPlanName == null) { + return Mono.error( + new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - ddosProtectionPlanName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ddosProtectionPlanName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Update a DDoS protection plan tags. + * Deletes the specified DDoS protection plan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String ddosProtectionPlanName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (ddosProtectionPlanName == null) { + return Mono.error( + new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + ddosProtectionPlanName, context); + } + + /** + * Deletes the specified DDoS protection plan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String ddosProtectionPlanName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, ddosProtectionPlanName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified DDoS protection plan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ddosProtectionPlanName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, ddosProtectionPlanName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified DDoS protection plan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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 ddosProtectionPlanName) { + return this.beginDeleteAsync(resourceGroupName, ddosProtectionPlanName).getSyncPoller(); + } + + /** + * Deletes the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @param parameters Parameters supplied to the update DDoS protection plan resource tags. * @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 a DDoS protection plan in a resource group along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String ddosProtectionPlanName, TagsObject parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (ddosProtectionPlanName == null) { - return Mono.error( - new IllegalArgumentException("Parameter ddosProtectionPlanName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, ddosProtectionPlanName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String ddosProtectionPlanName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, ddosProtectionPlanName, context).getSyncPoller(); } /** - * Update a DDoS protection plan tags. + * Deletes the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @param parameters Parameters supplied to the update DDoS protection plan resource tags. * @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 DDoS protection plan in a resource group on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String ddosProtectionPlanName, - TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, ddosProtectionPlanName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono deleteAsync(String resourceGroupName, String ddosProtectionPlanName) { + return beginDeleteAsync(resourceGroupName, ddosProtectionPlanName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Update a DDoS protection plan tags. + * Deletes the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @param parameters Parameters supplied to the update DDoS protection plan resource tags. * @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 a DDoS protection plan in a resource group along with {@link Response}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, - String ddosProtectionPlanName, TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, ddosProtectionPlanName, parameters, context).block(); + private Mono deleteAsync(String resourceGroupName, String ddosProtectionPlanName, Context context) { + return beginDeleteAsync(resourceGroupName, ddosProtectionPlanName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Update a DDoS protection plan tags. + * Deletes the specified DDoS protection plan. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ddosProtectionPlanName The name of the DDoS protection plan. - * @param parameters Parameters supplied to the update DDoS protection plan resource tags. * @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 DDoS protection plan in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DdosProtectionPlanInner updateTags(String resourceGroupName, String ddosProtectionPlanName, - TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, ddosProtectionPlanName, parameters, Context.NONE).getValue(); + public void delete(String resourceGroupName, String ddosProtectionPlanName) { + deleteAsync(resourceGroupName, ddosProtectionPlanName).block(); } /** - * Gets all DDoS protection plans in a subscription. + * Deletes the specified DDoS protection plan. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ddosProtectionPlanName The name of the DDoS protection plan. + * @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 all DDoS protection plans in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public void delete(String resourceGroupName, String ddosProtectionPlanName, Context context) { + deleteAsync(resourceGroupName, ddosProtectionPlanName, context).block(); + } + + /** + * Gets all the DDoS protection plans in a 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 all the DDoS protection plans in a resource group along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -881,28 +885,34 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Gets all DDoS protection plans in a subscription. + * Gets all the DDoS protection plans in a 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 all DDoS protection plans in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return all the DDoS protection plans in a resource group along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -911,87 +921,94 @@ private Mono> listSinglePageAsync(Context return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all DDoS protection plans in a subscription. + * Gets all the DDoS protection plans in a 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 all DDoS protection plans in a subscription as paginated response with {@link PagedFlux}. + * @return all the DDoS protection plans in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); } /** - * Gets all DDoS protection plans in a subscription. + * Gets all the DDoS protection plans in a 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 all DDoS protection plans in a subscription as paginated response with {@link PagedFlux}. + * @return all the DDoS protection plans in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); } /** - * Gets all DDoS protection plans in a subscription. + * Gets all the DDoS protection plans in a 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 all DDoS protection plans in a subscription as paginated response with {@link PagedIterable}. + * @return all the DDoS protection plans in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Gets all DDoS protection plans in a subscription. + * Gets all the DDoS protection plans in a 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 all DDoS protection plans in a subscription as paginated response with {@link PagedIterable}. + * @return all the DDoS protection plans in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Gets all the DDoS protection plans in a resource group. + * Gets all DDoS protection plans in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the DDoS protection plans in a resource group along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return all DDoS protection plans in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -999,35 +1016,29 @@ private Mono> listByResourceGroupSinglePa final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Gets all the DDoS protection plans in a resource group. + * Gets all DDoS protection plans in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all the DDoS protection plans in a resource group along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return all DDoS protection plans in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1035,71 +1046,62 @@ private Mono> listByResourceGroupSinglePa final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all the DDoS protection plans in a resource group. + * Gets all DDoS protection plans in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the DDoS protection plans in a resource group as paginated response with {@link PagedFlux}. + * @return all DDoS protection plans in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets all the DDoS protection plans in a resource group. + * Gets all DDoS protection plans in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all the DDoS protection plans in a resource group as paginated response with {@link PagedFlux}. + * @return all DDoS protection plans in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets all the DDoS protection plans in a resource group. + * Gets all DDoS protection plans in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the DDoS protection plans in a resource group as paginated response with {@link PagedIterable}. + * @return all DDoS protection plans in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + public PagedIterable list() { + return new PagedIterable<>(listAsync()); } /** - * Gets all the DDoS protection plans in a resource group. + * Gets all DDoS protection plans in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all the DDoS protection plans in a resource group as paginated response with {@link PagedIterable}. + * @return all DDoS protection plans in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** @@ -1109,11 +1111,11 @@ public PagedIterable listByResourceGroup(String resourc * @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 all DDoS protection plans in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return all the DDoS protection plans in a resource group along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1122,7 +1124,9 @@ private Mono> listNextSinglePageAsync(Str new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + 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())); @@ -1136,11 +1140,12 @@ private Mono> listNextSinglePageAsync(Str * @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 all DDoS protection plans in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return all the DDoS protection plans in a resource group along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, + Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1150,7 +1155,7 @@ private Mono> listNextSinglePageAsync(Str } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return 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)); } @@ -1162,11 +1167,11 @@ private Mono> listNextSinglePageAsync(Str * @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 all the DDoS protection plans in a resource group along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return all DDoS protection plans in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1175,9 +1180,7 @@ private Mono> listByResourceGroupNextSing new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1191,12 +1194,11 @@ private Mono> listByResourceGroupNextSing * @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 all the DDoS protection plans in a resource group along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return all DDoS protection plans in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, - Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1206,7 +1208,7 @@ private Mono> listByResourceGroupNextSing } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java index d5ba9c65029a..01f9939d0599 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.DefaultSecurityRulesClient; import com.azure.resourcemanager.network.fluent.models.SecurityRuleInner; -import com.azure.resourcemanager.network.models.SecurityRuleListResult; +import com.azure.resourcemanager.network.implementation.models.SecurityRuleListResult; import reactor.core.publisher.Mono; /** @@ -59,28 +59,28 @@ public final class DefaultSecurityRulesClientImpl implements DefaultSecurityRule * The interface defining all the services for NetworkManagementClientDefaultSecurityRules to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientDefaultSecurityRules") public interface DefaultSecurityRulesService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityGroupName") String networkSecurityGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("defaultSecurityRuleName") String defaultSecurityRuleName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityGroupName") String networkSecurityGroupName, - @PathParam("defaultSecurityRuleName") String defaultSecurityRuleName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -88,27 +88,32 @@ Mono> get(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Gets all default security rules in a network security group. + * Get the specified default network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. + * @param defaultSecurityRuleName The name of the default security rule. * @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 all default security rules in a network security group along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the specified default network security rule along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkSecurityGroupName) { + public Mono> getWithResponseAsync(String resourceGroupName, + String networkSecurityGroupName, String defaultSecurityRuleName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -117,39 +122,42 @@ private Mono> listSinglePageAsync(String resour return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (defaultSecurityRuleName == null) { + return Mono.error( + new IllegalArgumentException("Parameter defaultSecurityRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityGroupName, defaultSecurityRuleName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all default security rules in a network security group. + * Get the specified default network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. + * @param defaultSecurityRuleName The name of the default security rule. * @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 all default security rules in a network security group along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the specified default network security rule along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkSecurityGroupName, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, + String networkSecurityGroupName, String defaultSecurityRuleName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -158,105 +166,94 @@ private Mono> listSinglePageAsync(String resour return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (defaultSecurityRuleName == null) { + return Mono.error( + new IllegalArgumentException("Parameter defaultSecurityRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityGroupName, defaultSecurityRuleName, accept, context); } /** - * Gets all default security rules in a network security group. + * Get the specified default network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. + * @param defaultSecurityRuleName The name of the default security rule. * @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 all default security rules in a network security group as paginated response with {@link PagedFlux}. + * @return the specified default network security rule on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkSecurityGroupName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkSecurityGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String networkSecurityGroupName, + String defaultSecurityRuleName) { + return getWithResponseAsync(resourceGroupName, networkSecurityGroupName, defaultSecurityRuleName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets all default security rules in a network security group. + * Get the specified default network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. + * @param defaultSecurityRuleName The name of the default security rule. * @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 all default security rules in a network security group as paginated response with {@link PagedFlux}. + * @return the specified default network security rule along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkSecurityGroupName, - Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkSecurityGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String networkSecurityGroupName, + String defaultSecurityRuleName, Context context) { + return getWithResponseAsync(resourceGroupName, networkSecurityGroupName, defaultSecurityRuleName, context) + .block(); } /** - * Gets all default security rules in a network security group. + * Get the specified default network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. + * @param defaultSecurityRuleName The name of the default security rule. * @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 all default security rules in a network security group as paginated response with {@link PagedIterable}. + * @return the specified default network security rule. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkSecurityGroupName) { - return new PagedIterable<>(listAsync(resourceGroupName, networkSecurityGroupName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public SecurityRuleInner get(String resourceGroupName, String networkSecurityGroupName, + String defaultSecurityRuleName) { + return getWithResponse(resourceGroupName, networkSecurityGroupName, defaultSecurityRuleName, Context.NONE) + .getValue(); } /** * Gets all default security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @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 all default security rules in a network security group as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkSecurityGroupName, - Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkSecurityGroupName, context)); - } - - /** - * Get the specified default network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param defaultSecurityRuleName The name of the default security rule. - * @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 default network security rule along with {@link Response} on successful completion of - * {@link Mono}. + * @return all default security rules in a network security group along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String networkSecurityGroupName, String defaultSecurityRuleName) { + private Mono> listSinglePageAsync(String resourceGroupName, + String networkSecurityGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -265,42 +262,39 @@ public Mono> getWithResponseAsync(String resourceGro return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } - if (defaultSecurityRuleName == null) { - return Mono.error( - new IllegalArgumentException("Parameter defaultSecurityRuleName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, - defaultSecurityRuleName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityGroupName, 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 specified default network security rule. + * Gets all default security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param defaultSecurityRuleName The name of the default security rule. * @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 default network security rule along with {@link Response} on successful completion of - * {@link Mono}. + * @return all default security rules in a network security group along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String networkSecurityGroupName, String defaultSecurityRuleName, Context context) { + private Mono> listSinglePageAsync(String resourceGroupName, + String networkSecurityGroupName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -309,74 +303,80 @@ private Mono> getWithResponseAsync(String resourceGr return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } - if (defaultSecurityRuleName == null) { - return Mono.error( - new IllegalArgumentException("Parameter defaultSecurityRuleName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, - defaultSecurityRuleName, apiVersion, this.client.getSubscriptionId(), accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Get the specified default network security rule. + * Gets all default security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param defaultSecurityRuleName The name of the default security rule. * @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 default network security rule on successful completion of {@link Mono}. + * @return all default security rules in a network security group as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String networkSecurityGroupName, - String defaultSecurityRuleName) { - return getWithResponseAsync(resourceGroupName, networkSecurityGroupName, defaultSecurityRuleName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkSecurityGroupName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkSecurityGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Get the specified default network security rule. + * Gets all default security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param defaultSecurityRuleName The name of the default security rule. * @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 default network security rule along with {@link Response}. + * @return all default security rules in a network security group as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String networkSecurityGroupName, - String defaultSecurityRuleName, Context context) { - return getWithResponseAsync(resourceGroupName, networkSecurityGroupName, defaultSecurityRuleName, context) - .block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkSecurityGroupName, + Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkSecurityGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Get the specified default network security rule. + * Gets all default security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param defaultSecurityRuleName The name of the default security rule. * @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 default network security rule. + * @return all default security rules in a network security group as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public SecurityRuleInner get(String resourceGroupName, String networkSecurityGroupName, - String defaultSecurityRuleName) { - return getWithResponse(resourceGroupName, networkSecurityGroupName, defaultSecurityRuleName, Context.NONE) - .getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkSecurityGroupName) { + return new PagedIterable<>(listAsync(resourceGroupName, networkSecurityGroupName)); + } + + /** + * Gets all default security rules in a network security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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 all default security rules in a network security group as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkSecurityGroupName, + Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkSecurityGroupName, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java index 6db88ca8797f..39de94bda0a4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.DscpConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.DscpConfigurationInner; -import com.azure.resourcemanager.network.models.DscpConfigurationListResult; +import com.azure.resourcemanager.network.implementation.models.DscpConfigurationListResult; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -71,53 +71,52 @@ public final class DscpConfigurationsClientImpl implements InnerSupportsGet> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("dscpConfigurationName") String dscpConfigurationName, @HeaderParam("Accept") String accept, + Context context); + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("dscpConfigurationName") String dscpConfigurationName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") DscpConfigurationInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") DscpConfigurationInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("dscpConfigurationName") String dscpConfigurationName, + Mono>> delete(@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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("dscpConfigurationName") String dscpConfigurationName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("dscpConfigurationName") String dscpConfigurationName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/dscpConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -126,7 +125,7 @@ Mono> list(@HostParam("$host") String endp @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -134,16 +133,139 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } + /** + * Gets a DSCP Configuration. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dscpConfigurationName The name of the resource. + * @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 DSCP Configuration along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String dscpConfigurationName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (dscpConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter dscpConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, dscpConfigurationName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets a DSCP Configuration. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dscpConfigurationName The name of the resource. + * @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 a DSCP Configuration along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String dscpConfigurationName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (dscpConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter dscpConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, dscpConfigurationName, accept, context); + } + + /** + * Gets a DSCP Configuration. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dscpConfigurationName The name of the resource. + * @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 DSCP Configuration on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, + String dscpConfigurationName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, dscpConfigurationName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets a DSCP Configuration. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dscpConfigurationName The name of the resource. + * @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 a DSCP Configuration along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, + String dscpConfigurationName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, dscpConfigurationName, context).block(); + } + + /** + * Gets a DSCP Configuration. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dscpConfigurationName The name of the resource. + * @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 DSCP Configuration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public DscpConfigurationInner getByResourceGroup(String resourceGroupName, String dscpConfigurationName) { + return getByResourceGroupWithResponse(resourceGroupName, dscpConfigurationName, Context.NONE).getValue(); + } + /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration 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. @@ -157,6 +279,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -165,29 +291,27 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter dscpConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - dscpConfigurationName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, dscpConfigurationName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration operation. * @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. @@ -202,6 +326,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -210,28 +338,25 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter dscpConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, dscpConfigurationName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, dscpConfigurationName, contentType, accept, parameters, context); } /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration 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. @@ -251,9 +376,9 @@ public PollerFlux, DscpConfigurationInner> be /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration operation. * @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. @@ -274,9 +399,9 @@ private PollerFlux, DscpConfigurationInner> b /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration 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. @@ -292,9 +417,9 @@ private PollerFlux, DscpConfigurationInner> b /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration operation. * @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. @@ -312,9 +437,9 @@ public SyncPoller, DscpConfigurationInner> be /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration 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. @@ -331,9 +456,9 @@ public Mono createOrUpdateAsync(String resourceGroupName /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration operation. * @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. @@ -351,9 +476,9 @@ private Mono createOrUpdateAsync(String resourceGroupNam /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration 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. @@ -368,9 +493,9 @@ public DscpConfigurationInner createOrUpdate(String resourceGroupName, String ds /** * Creates or updates a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. - * @param parameters Parameters supplied to the create or update dscp configuration operation. + * @param parameters Parameters supplied to the create or update DscpConfiguration operation. * @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. @@ -386,7 +511,7 @@ public DscpConfigurationInner createOrUpdate(String resourceGroupName, String ds /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -400,6 +525,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -408,22 +537,17 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter dscpConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, dscpConfigurationName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, dscpConfigurationName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -438,6 +562,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -446,21 +574,16 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter dscpConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, dscpConfigurationName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + dscpConfigurationName, context); } /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -477,7 +600,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -498,7 +621,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -513,7 +636,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -530,7 +653,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -546,7 +669,7 @@ public Mono deleteAsync(String resourceGroupName, String dscpConfiguration /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -563,7 +686,7 @@ private Mono deleteAsync(String resourceGroupName, String dscpConfiguratio /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -577,7 +700,7 @@ public void delete(String resourceGroupName, String dscpConfigurationName) { /** * Deletes a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param dscpConfigurationName The name of the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -592,154 +715,31 @@ public void delete(String resourceGroupName, String dscpConfigurationName, Conte /** * Gets a DSCP Configuration. * - * @param resourceGroupName The name of the resource group. - * @param dscpConfigurationName The name of the resource. + * @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 a DSCP Configuration along with {@link Response} on successful completion of {@link Mono}. + * @return a DSCP Configuration along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String dscpConfigurationName) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (dscpConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter dscpConfigurationName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - dscpConfigurationName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Gets a DSCP Configuration. - * - * @param resourceGroupName The name of the resource group. - * @param dscpConfigurationName The name of the resource. - * @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 a DSCP Configuration along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String dscpConfigurationName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (dscpConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter dscpConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, dscpConfigurationName, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Gets a DSCP Configuration. - * - * @param resourceGroupName The name of the resource group. - * @param dscpConfigurationName The name of the resource. - * @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 DSCP Configuration on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, - String dscpConfigurationName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, dscpConfigurationName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Gets a DSCP Configuration. - * - * @param resourceGroupName The name of the resource group. - * @param dscpConfigurationName The name of the resource. - * @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 a DSCP Configuration along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String dscpConfigurationName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, dscpConfigurationName, context).block(); - } - - /** - * Gets a DSCP Configuration. - * - * @param resourceGroupName The name of the resource group. - * @param dscpConfigurationName The name of the resource. - * @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 DSCP Configuration. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public DscpConfigurationInner getByResourceGroup(String resourceGroupName, String dscpConfigurationName) { - return getByResourceGroupWithResponse(resourceGroupName, dscpConfigurationName, Context.NONE).getValue(); - } - - /** - * Gets a DSCP Configuration. - * - * @param resourceGroupName The name of the resource group. - * @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 DSCP Configuration along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -748,7 +748,7 @@ private Mono> listByResourceGroupSinglePag /** * Gets a DSCP Configuration. * - * @param resourceGroupName The name of the 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. @@ -762,20 +762,20 @@ private Mono> listByResourceGroupSinglePag return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -783,7 +783,7 @@ private Mono> listByResourceGroupSinglePag /** * Gets a DSCP Configuration. * - * @param resourceGroupName The name of the 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. @@ -798,7 +798,7 @@ public PagedFlux listByResourceGroupAsync(String resourc /** * Gets a DSCP Configuration. * - * @param resourceGroupName The name of the 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. @@ -814,7 +814,7 @@ private PagedFlux listByResourceGroupAsync(String resour /** * Gets a DSCP Configuration. * - * @param resourceGroupName The name of the 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. @@ -828,7 +828,7 @@ public PagedIterable listByResourceGroup(String resource /** * Gets a DSCP Configuration. * - * @param resourceGroupName The name of the 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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java new file mode 100644 index 000000000000..46f3e69b420f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java @@ -0,0 +1,507 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.implementation; + +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.ExpectedResponses; +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.PathParam; +import com.azure.core.annotation.Post; +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.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.network.fluent.EffectiveConfigurationsClient; +import com.azure.resourcemanager.network.fluent.models.EffectiveBaseSecurityAdminRuleInner; +import com.azure.resourcemanager.network.fluent.models.EffectiveConnectivityConfigurationInner; +import com.azure.resourcemanager.network.implementation.models.NetworkManagerEffectiveConnectivityConfigurationListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkManagerEffectiveSecurityAdminRulesListResult; +import com.azure.resourcemanager.network.models.QueryRequestOptions; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in EffectiveConfigurationsClient. + */ +public final class EffectiveConfigurationsClientImpl implements EffectiveConfigurationsClient { + /** + * The proxy service used to perform REST calls. + */ + private final EffectiveConfigurationsService service; + + /** + * The service client containing this operation class. + */ + private final NetworkManagementClientImpl client; + + /** + * Initializes an instance of EffectiveConfigurationsClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + EffectiveConfigurationsClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(EffectiveConfigurationsService.class, client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for NetworkManagementClientEffectiveConfigurations to be used by the + * proxy service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClientEffectiveConfigurations") + public interface EffectiveConfigurationsService { + @Headers({ "Content-Type: application/json" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> + listNetworkManagerEffectiveConnectivityConfigurations(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("$top") Integer top, + @HeaderParam("Accept") String accept, @BodyParam("application/json") QueryRequestOptions parameters, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> + listNetworkManagerEffectiveSecurityAdminRules(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("$top") Integer top, + @HeaderParam("Accept") String accept, @BodyParam("application/json") QueryRequestOptions parameters, + Context context); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listNetworkManagerEffectiveConnectivityConfigurationsSinglePageAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listNetworkManagerEffectiveConnectivityConfigurations( + this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, top, accept, parameters, context)) + .>map(res -> new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listNetworkManagerEffectiveConnectivityConfigurationsSinglePageAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.listNetworkManagerEffectiveConnectivityConfigurations(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, accept, parameters, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), null, null)); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux + listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters, Integer top) { + return new PagedFlux<>(() -> listNetworkManagerEffectiveConnectivityConfigurationsSinglePageAsync( + resourceGroupName, virtualNetworkName, parameters, top)); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux + listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters) { + final Integer top = null; + return new PagedFlux<>(() -> listNetworkManagerEffectiveConnectivityConfigurationsSinglePageAsync( + resourceGroupName, virtualNetworkName, parameters, top)); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux + listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters, Integer top, Context context) { + return new PagedFlux<>(() -> listNetworkManagerEffectiveConnectivityConfigurationsSinglePageAsync( + resourceGroupName, virtualNetworkName, parameters, top, context)); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listNetworkManagerEffectiveConnectivityConfigurations( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters) { + final Integer top = null; + return new PagedIterable<>(listNetworkManagerEffectiveConnectivityConfigurationsAsync(resourceGroupName, + virtualNetworkName, parameters, top)); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listNetworkManagerEffectiveConnectivityConfigurations( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, + Context context) { + return new PagedIterable<>(listNetworkManagerEffectiveConnectivityConfigurationsAsync(resourceGroupName, + virtualNetworkName, parameters, top, context)); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link PagedResponse} + * on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listNetworkManagerEffectiveSecurityAdminRulesSinglePageAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listNetworkManagerEffectiveSecurityAdminRules(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, accept, + parameters, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link PagedResponse} + * on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listNetworkManagerEffectiveSecurityAdminRulesSinglePageAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.listNetworkManagerEffectiveSecurityAdminRules(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, accept, parameters, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), null, null)); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listNetworkManagerEffectiveSecurityAdminRulesAsync( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top) { + return new PagedFlux<>(() -> listNetworkManagerEffectiveSecurityAdminRulesSinglePageAsync(resourceGroupName, + virtualNetworkName, parameters, top)); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listNetworkManagerEffectiveSecurityAdminRulesAsync( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters) { + final Integer top = null; + return new PagedFlux<>(() -> listNetworkManagerEffectiveSecurityAdminRulesSinglePageAsync(resourceGroupName, + virtualNetworkName, parameters, top)); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listNetworkManagerEffectiveSecurityAdminRulesAsync( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, + Context context) { + return new PagedFlux<>(() -> listNetworkManagerEffectiveSecurityAdminRulesSinglePageAsync(resourceGroupName, + virtualNetworkName, parameters, top, context)); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listNetworkManagerEffectiveSecurityAdminRules( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters) { + final Integer top = null; + return new PagedIterable<>( + listNetworkManagerEffectiveSecurityAdminRulesAsync(resourceGroupName, virtualNetworkName, parameters, top)); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listNetworkManagerEffectiveSecurityAdminRules( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, + Context context) { + return new PagedIterable<>(listNetworkManagerEffectiveSecurityAdminRulesAsync(resourceGroupName, + virtualNetworkName, parameters, top, context)); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java index 85c3c135ab3a..39cc8f0d4893 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ExpressRouteCircuitAuthorizationsClient; import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitAuthorizationInner; -import com.azure.resourcemanager.network.models.AuthorizationListResult; +import com.azure.resourcemanager.network.implementation.models.AuthorizationListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,45 +67,46 @@ public final class ExpressRouteCircuitAuthorizationsClientImpl implements Expres * The interface defining all the services for NetworkManagementClientExpressRouteCircuitAuthorizations to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRouteCircuitAuthorizations") public interface ExpressRouteCircuitAuthorizationsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("authorizationName") String authorizationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("authorizationName") String authorizationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("authorizationName") String authorizationName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("authorizationName") String authorizationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, + @PathParam("authorizationName") String authorizationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") ExpressRouteCircuitAuthorizationInner authorizationParameters, - @HeaderParam("Accept") String accept, Context context); + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}") + @ExpectedResponses({ 200, 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("circuitName") String circuitName, + @PathParam("authorizationName") String authorizationName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -113,240 +114,14 @@ Mono> list(@HostParam("$host") String endpoint @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, - String authorizationName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (authorizationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, circuitName, - authorizationName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, - String authorizationName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (authorizationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, circuitName, authorizationName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, - String authorizationName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, circuitName, authorizationName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, - String authorizationName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, circuitName, authorizationName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 circuitName, - String authorizationName) { - return this.beginDeleteAsync(resourceGroupName, circuitName, authorizationName).getSyncPoller(); - } - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 circuitName, - String authorizationName, Context context) { - return this.beginDeleteAsync(resourceGroupName, circuitName, authorizationName, context).getSyncPoller(); - } - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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) - public Mono deleteAsync(String resourceGroupName, String circuitName, String authorizationName) { - return beginDeleteAsync(resourceGroupName, circuitName, authorizationName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String circuitName, String authorizationName, - Context context) { - return beginDeleteAsync(resourceGroupName, circuitName, authorizationName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 circuitName, String authorizationName) { - deleteAsync(resourceGroupName, circuitName, authorizationName).block(); - } - - /** - * Deletes the specified authorization from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param authorizationName The name of the authorization. - * @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 circuitName, String authorizationName, Context context) { - deleteAsync(resourceGroupName, circuitName, authorizationName, context).block(); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified authorization from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -361,6 +136,10 @@ public Mono> getWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -372,23 +151,19 @@ public Mono> getWithResponseAsyn return Mono .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, circuitName, - authorizationName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, authorizationName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified authorization from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -404,6 +179,10 @@ private Mono> getWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -415,22 +194,18 @@ private Mono> getWithResponseAsy return Mono .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, circuitName, authorizationName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, authorizationName, accept, context); } /** * Gets the specified authorization from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -448,8 +223,8 @@ public Mono getAsync(String resourceGroup /** * Gets the specified authorization from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -466,8 +241,8 @@ public Response getWithResponse(String re /** * Gets the specified authorization from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -483,8 +258,8 @@ public ExpressRouteCircuitAuthorizationInner get(String resourceGroupName, Strin /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -501,6 +276,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -512,10 +291,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (authorizationParameters == null) { return Mono.error( new IllegalArgumentException("Parameter authorizationParameters is required and cannot be null.")); @@ -523,19 +298,20 @@ public Mono>> createOrUpdateWithResponseAsync(String r authorizationParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, circuitName, - authorizationName, apiVersion, this.client.getSubscriptionId(), authorizationParameters, accept, - context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, authorizationName, contentType, accept, + authorizationParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -554,6 +330,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -565,10 +345,6 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (authorizationParameters == null) { return Mono.error( new IllegalArgumentException("Parameter authorizationParameters is required and cannot be null.")); @@ -576,17 +352,18 @@ private Mono>> createOrUpdateWithResponseAsync(String authorizationParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, circuitName, authorizationName, - apiVersion, this.client.getSubscriptionId(), authorizationParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, authorizationName, contentType, accept, authorizationParameters, context); } /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -609,8 +386,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -635,8 +412,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -656,8 +433,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -680,8 +457,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -701,8 +478,8 @@ public Mono createOrUpdateAsync(String re /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -723,8 +500,8 @@ private Mono createOrUpdateAsync(String r /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -742,8 +519,8 @@ public ExpressRouteCircuitAuthorizationInner createOrUpdate(String resourceGroup /** * Creates or updates an authorization in the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route circuit authorization * operation. @@ -760,11 +537,235 @@ public ExpressRouteCircuitAuthorizationInner createOrUpdate(String resourceGroup .block(); } + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + String authorizationName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + if (authorizationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, authorizationName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + String authorizationName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + if (authorizationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, authorizationName, context); + } + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, + String authorizationName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, circuitName, authorizationName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, + String authorizationName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, circuitName, authorizationName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 circuitName, + String authorizationName) { + return this.beginDeleteAsync(resourceGroupName, circuitName, authorizationName).getSyncPoller(); + } + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 circuitName, + String authorizationName, Context context) { + return this.beginDeleteAsync(resourceGroupName, circuitName, authorizationName, context).getSyncPoller(); + } + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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) + public Mono deleteAsync(String resourceGroupName, String circuitName, String authorizationName) { + return beginDeleteAsync(resourceGroupName, circuitName, authorizationName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String circuitName, String authorizationName, + Context context) { + return beginDeleteAsync(resourceGroupName, circuitName, authorizationName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 circuitName, String authorizationName) { + deleteAsync(resourceGroupName, circuitName, authorizationName).block(); + } + + /** + * Deletes the specified authorization from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param authorizationName The name of the authorization. + * @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 circuitName, String authorizationName, Context context) { + deleteAsync(resourceGroupName, circuitName, authorizationName, context).block(); + } + /** * Gets all authorizations in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -778,6 +779,10 @@ private Mono> listSinglePag return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -785,15 +790,11 @@ private Mono> listSinglePag if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, circuitName, apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, 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())); @@ -802,8 +803,8 @@ private Mono> listSinglePag /** * Gets all authorizations in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -818,6 +819,10 @@ private Mono> listSinglePag return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -825,16 +830,12 @@ private Mono> listSinglePag if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, circuitName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -842,8 +843,8 @@ private Mono> listSinglePag /** * Gets all authorizations in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -858,8 +859,8 @@ public PagedFlux listAsync(String resourc /** * Gets all authorizations in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -876,8 +877,8 @@ private PagedFlux listAsync(String resour /** * Gets all authorizations in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -891,8 +892,8 @@ public PagedIterable list(String resource /** * Gets all authorizations in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java index e716f40fcffe..e9efc7c2136e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ExpressRouteCircuitConnectionsClient; import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitConnectionInner; -import com.azure.resourcemanager.network.models.ExpressRouteCircuitConnectionListResult; +import com.azure.resourcemanager.network.implementation.models.ExpressRouteCircuitConnectionListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,306 +67,63 @@ public final class ExpressRouteCircuitConnectionsClientImpl implements ExpressRo * The interface defining all the services for NetworkManagementClientExpressRouteCircuitConnections to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRouteCircuitConnections") public interface ExpressRouteCircuitConnectionsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("peeringName") String peeringName, @PathParam("connectionName") String connectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, @PathParam("peeringName") String peeringName, @PathParam("connectionName") String connectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, @PathParam("peeringName") String peeringName, @PathParam("connectionName") String connectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") ExpressRouteCircuitConnectionInner expressRouteCircuitConnectionParameters, - @HeaderParam("Accept") String accept, Context context); + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}") + @ExpectedResponses({ 200, 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("circuitName") String circuitName, + @PathParam("peeringName") String peeringName, @PathParam("connectionName") String connectionName, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("peeringName") String peeringName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("peeringName") String peeringName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, - String peeringName, String connectionName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (connectionName == null) { - return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, circuitName, - peeringName, connectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, - String peeringName, String connectionName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (connectionName == null) { - return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, connectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, - String peeringName, String connectionName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, circuitName, peeringName, connectionName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, - String peeringName, String connectionName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, circuitName, peeringName, connectionName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 circuitName, - String peeringName, String connectionName) { - return this.beginDeleteAsync(resourceGroupName, circuitName, peeringName, connectionName).getSyncPoller(); - } - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 circuitName, - String peeringName, String connectionName, Context context) { - return this.beginDeleteAsync(resourceGroupName, circuitName, peeringName, connectionName, context) - .getSyncPoller(); - } - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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) - public Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName, - String connectionName) { - return beginDeleteAsync(resourceGroupName, circuitName, peeringName, connectionName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName, - String connectionName, Context context) { - return beginDeleteAsync(resourceGroupName, circuitName, peeringName, connectionName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 circuitName, String peeringName, String connectionName) { - deleteAsync(resourceGroupName, circuitName, peeringName, connectionName).block(); - } - - /** - * Deletes the specified Express Route Circuit Connection from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param connectionName The name of the express route circuit connection. - * @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 circuitName, String peeringName, String connectionName, - Context context) { - deleteAsync(resourceGroupName, circuitName, peeringName, connectionName, context).block(); - } - /** * Gets the specified Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -382,6 +139,10 @@ public Mono> getWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -395,23 +156,19 @@ public Mono> getWithResponseAsync(S if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, - connectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, connectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param context The context to associate with this operation. @@ -428,6 +185,10 @@ private Mono> getWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -441,22 +202,18 @@ private Mono> getWithResponseAsync( if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, connectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, peeringName, connectionName, accept, context); } /** * Gets the specified Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -475,8 +232,8 @@ public Mono getAsync(String resourceGroupNam /** * Gets the specified Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param context The context to associate with this operation. @@ -495,8 +252,8 @@ public Response getWithResponse(String resou /** * Gets the specified Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -513,8 +270,8 @@ public ExpressRouteCircuitConnectionInner get(String resourceGroupName, String c /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -533,6 +290,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -546,10 +307,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (expressRouteCircuitConnectionParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter expressRouteCircuitConnectionParameters is required and cannot be null.")); @@ -557,19 +314,20 @@ public Mono>> createOrUpdateWithResponseAsync(String r expressRouteCircuitConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, circuitName, - peeringName, connectionName, apiVersion, this.client.getSubscriptionId(), - expressRouteCircuitConnectionParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, peeringName, connectionName, + contentType, accept, expressRouteCircuitConnectionParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -589,6 +347,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -602,10 +364,6 @@ private Mono>> createOrUpdateWithResponseAsync(String if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (expressRouteCircuitConnectionParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter expressRouteCircuitConnectionParameters is required and cannot be null.")); @@ -613,18 +371,19 @@ private Mono>> createOrUpdateWithResponseAsync(String expressRouteCircuitConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, - connectionName, apiVersion, this.client.getSubscriptionId(), expressRouteCircuitConnectionParameters, - accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, connectionName, contentType, accept, + expressRouteCircuitConnectionParameters, context); } /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -649,8 +408,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -678,8 +437,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -703,8 +462,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -729,8 +488,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -752,8 +511,8 @@ public Mono createOrUpdateAsync(String resou /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -776,8 +535,8 @@ private Mono createOrUpdateAsync(String reso /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -798,8 +557,8 @@ public ExpressRouteCircuitConnectionInner createOrUpdate(String resourceGroupNam /** * Creates or updates a Express Route Circuit Connection in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param connectionName The name of the express route circuit connection. * @param expressRouteCircuitConnectionParameters Parameters supplied to the create or update express route circuit @@ -818,11 +577,252 @@ public ExpressRouteCircuitConnectionInner createOrUpdate(String resourceGroupNam expressRouteCircuitConnectionParameters, context).block(); } + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + String peeringName, String connectionName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } + if (connectionName == null) { + return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, peeringName, connectionName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + String peeringName, String connectionName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } + if (connectionName == null) { + return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, peeringName, connectionName, context); + } + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, + String peeringName, String connectionName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, circuitName, peeringName, connectionName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, + String peeringName, String connectionName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, circuitName, peeringName, connectionName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 circuitName, + String peeringName, String connectionName) { + return this.beginDeleteAsync(resourceGroupName, circuitName, peeringName, connectionName).getSyncPoller(); + } + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 circuitName, + String peeringName, String connectionName, Context context) { + return this.beginDeleteAsync(resourceGroupName, circuitName, peeringName, connectionName, context) + .getSyncPoller(); + } + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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) + public Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName, + String connectionName) { + return beginDeleteAsync(resourceGroupName, circuitName, peeringName, connectionName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName, + String connectionName, Context context) { + return beginDeleteAsync(resourceGroupName, circuitName, peeringName, connectionName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 circuitName, String peeringName, String connectionName) { + deleteAsync(resourceGroupName, circuitName, peeringName, connectionName).block(); + } + + /** + * Deletes the specified Express Route Circuit Connection from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @param connectionName The name of the express route circuit connection. + * @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 circuitName, String peeringName, String connectionName, + Context context) { + deleteAsync(resourceGroupName, circuitName, peeringName, connectionName, context).block(); + } + /** * Gets all global reach connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -837,6 +837,10 @@ private Mono> listSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -847,15 +851,11 @@ private Mono> listSinglePageAs if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, 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())); @@ -864,8 +864,8 @@ private Mono> listSinglePageAs /** * Gets all global reach connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -881,6 +881,10 @@ private Mono> listSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -891,16 +895,12 @@ private Mono> listSinglePageAs if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, peeringName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -908,8 +908,8 @@ private Mono> listSinglePageAs /** * Gets all global reach connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -927,8 +927,8 @@ public PagedFlux listAsync(String resourceGr /** * Gets all global reach connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -947,8 +947,8 @@ private PagedFlux listAsync(String resourceG /** * Gets all global reach connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -965,8 +965,8 @@ public PagedIterable list(String resourceGro /** * Gets all global reach connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java index 850867a4d788..ed6babce52e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ExpressRouteCircuitPeeringsClient; import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitPeeringInner; -import com.azure.resourcemanager.network.models.ExpressRouteCircuitPeeringListResult; +import com.azure.resourcemanager.network.implementation.models.ExpressRouteCircuitPeeringListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,45 +67,44 @@ public final class ExpressRouteCircuitPeeringsClientImpl implements ExpressRoute * The interface defining all the services for NetworkManagementClientExpressRouteCircuitPeerings to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRouteCircuitPeerings") public interface ExpressRouteCircuitPeeringsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("peeringName") String peeringName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("peeringName") String peeringName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("peeringName") String peeringName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("peeringName") String peeringName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ExpressRouteCircuitPeeringInner peeringParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("peeringName") String peeringName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") ExpressRouteCircuitPeeringInner peeringParameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}") + @ExpectedResponses({ 200, 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("circuitName") String circuitName, + @PathParam("peeringName") String peeringName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -113,237 +112,15 @@ Mono> list(@HostParam("$host") St @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified peering from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, - String peeringName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, circuitName, - peeringName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified peering from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, - String peeringName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified peering from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, - String peeringName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, circuitName, peeringName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified peering from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, - String peeringName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, circuitName, peeringName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified peering from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @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 circuitName, - String peeringName) { - return this.beginDeleteAsync(resourceGroupName, circuitName, peeringName).getSyncPoller(); - } - - /** - * Deletes the specified peering from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @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 circuitName, - String peeringName, Context context) { - return this.beginDeleteAsync(resourceGroupName, circuitName, peeringName, context).getSyncPoller(); - } - - /** - * Deletes the specified peering from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @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) - public Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName) { - return beginDeleteAsync(resourceGroupName, circuitName, peeringName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified peering from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName, Context context) { - return beginDeleteAsync(resourceGroupName, circuitName, peeringName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified peering from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @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 circuitName, String peeringName) { - deleteAsync(resourceGroupName, circuitName, peeringName).block(); - } - - /** - * Deletes the specified peering from the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @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 circuitName, String peeringName, Context context) { - deleteAsync(resourceGroupName, circuitName, peeringName, context).block(); - } - /** * Gets the specified peering for the express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -358,6 +135,10 @@ public Mono> getWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -368,23 +149,19 @@ public Mono> getWithResponseAsync(Stri if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified peering for the express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -400,6 +177,10 @@ private Mono> getWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -410,22 +191,18 @@ private Mono> getWithResponseAsync(Str if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, peeringName, accept, context); } /** * Gets the specified peering for the express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -442,8 +219,8 @@ public Mono getAsync(String resourceGroupName, /** * Gets the specified peering for the express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -460,8 +237,8 @@ public Response getWithResponse(String resource /** * Gets the specified peering for the express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -476,8 +253,8 @@ public ExpressRouteCircuitPeeringInner get(String resourceGroupName, String circ /** * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -493,6 +270,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -503,10 +284,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (peeringParameters == null) { return Mono .error(new IllegalArgumentException("Parameter peeringParameters is required and cannot be null.")); @@ -514,18 +291,20 @@ public Mono>> createOrUpdateWithResponseAsync(String r peeringParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, circuitName, - peeringName, apiVersion, this.client.getSubscriptionId(), peeringParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, peeringName, contentType, accept, + peeringParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @param context The context to associate with this operation. @@ -542,6 +321,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -552,10 +335,6 @@ private Mono>> createOrUpdateWithResponseAsync(String if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (peeringParameters == null) { return Mono .error(new IllegalArgumentException("Parameter peeringParameters is required and cannot be null.")); @@ -563,17 +342,18 @@ private Mono>> createOrUpdateWithResponseAsync(String peeringParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, - apiVersion, this.client.getSubscriptionId(), peeringParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, contentType, accept, peeringParameters, context); } /** * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -595,8 +375,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @param context The context to associate with this operation. @@ -620,8 +400,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -640,8 +420,8 @@ public SyncPoller, ExpressRouteCircu /** * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @param context The context to associate with this operation. @@ -661,8 +441,8 @@ public SyncPoller, ExpressRouteCircu /** * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -680,8 +460,8 @@ public Mono createOrUpdateAsync(String resource /** * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @param context The context to associate with this operation. @@ -700,8 +480,8 @@ private Mono createOrUpdateAsync(String resourc /** * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -718,8 +498,8 @@ public ExpressRouteCircuitPeeringInner createOrUpdate(String resourceGroupName, /** * Creates or updates a peering in the specified express route circuits. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update express route circuit peering operation. * @param context The context to associate with this operation. @@ -734,11 +514,231 @@ public ExpressRouteCircuitPeeringInner createOrUpdate(String resourceGroupName, return createOrUpdateAsync(resourceGroupName, circuitName, peeringName, peeringParameters, context).block(); } + /** + * Deletes the specified peering from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + String peeringName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, peeringName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified peering from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + String peeringName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, peeringName, context); + } + + /** + * Deletes the specified peering from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, + String peeringName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, circuitName, peeringName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified peering from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, + String peeringName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, circuitName, peeringName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified peering from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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 circuitName, + String peeringName) { + return this.beginDeleteAsync(resourceGroupName, circuitName, peeringName).getSyncPoller(); + } + + /** + * Deletes the specified peering from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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 circuitName, + String peeringName, Context context) { + return this.beginDeleteAsync(resourceGroupName, circuitName, peeringName, context).getSyncPoller(); + } + + /** + * Deletes the specified peering from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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) + public Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName) { + return beginDeleteAsync(resourceGroupName, circuitName, peeringName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified peering from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String circuitName, String peeringName, Context context) { + return beginDeleteAsync(resourceGroupName, circuitName, peeringName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified peering from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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 circuitName, String peeringName) { + deleteAsync(resourceGroupName, circuitName, peeringName).block(); + } + + /** + * Deletes the specified peering from the specified express route circuit. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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 circuitName, String peeringName, Context context) { + deleteAsync(resourceGroupName, circuitName, peeringName, context).block(); + } + /** * Gets all peerings in a specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -752,6 +752,10 @@ private Mono> listSinglePageAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -759,15 +763,11 @@ private Mono> listSinglePageAsync if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, circuitName, apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, 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())); @@ -776,8 +776,8 @@ private Mono> listSinglePageAsync /** * Gets all peerings in a specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -792,6 +792,10 @@ private Mono> listSinglePageAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -799,16 +803,12 @@ private Mono> listSinglePageAsync if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, circuitName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -816,8 +816,8 @@ private Mono> listSinglePageAsync /** * Gets all peerings in a specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -832,8 +832,8 @@ public PagedFlux listAsync(String resourceGroup /** * Gets all peerings in a specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -850,8 +850,8 @@ private PagedFlux listAsync(String resourceGrou /** * Gets all peerings in a specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. @@ -865,8 +865,8 @@ public PagedIterable list(String resourceGroupN /** * Gets all peerings in a specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java index 1971d909aa6e..48100dd89dc2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -39,7 +39,7 @@ import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitsArpTableListResultInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitsRoutesTableListResultInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitsRoutesTableSummaryListResultInner; -import com.azure.resourcemanager.network.models.ExpressRouteCircuitListResult; +import com.azure.resourcemanager.network.implementation.models.ExpressRouteCircuitListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -78,117 +78,116 @@ public final class ExpressRouteCircuitsClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ExpressRouteCircuitInner parameters, Context context); + + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ExpressRouteCircuitInner parameters, @HeaderParam("Accept") String accept, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, Context context); @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}") - @ExpectedResponses({ 200, 202 }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listArpTable(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("peeringName") String peeringName, @PathParam("devicePath") String devicePath, + 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" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}") - @ExpectedResponses({ 200, 202 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listRoutesTable(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("peeringName") String peeringName, @PathParam("devicePath") String devicePath, + Mono> getStats(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}") + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listRoutesTableSummary(@HostParam("$host") String endpoint, + Mono>> listArpTable(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, @PathParam("peeringName") String peeringName, @PathParam("devicePath") String devicePath, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats") - @ExpectedResponses({ 200 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}") + @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getStats(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, + Mono>> listRoutesTable(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, + @PathParam("peeringName") String peeringName, @PathParam("devicePath") String devicePath, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats") - @ExpectedResponses({ 200 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}") + @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getPeeringStats(@HostParam("$host") String endpoint, + Mono>> listRoutesTableSummary(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("peeringName") String peeringName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("peeringName") String peeringName, @PathParam("devicePath") String devicePath, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> getPeeringStats(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, + @PathParam("peeringName") String peeringName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -196,26 +195,32 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified express route circuit. + * Gets information about the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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}. + * @return information about the specified express route circuit along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String circuitName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -223,36 +228,37 @@ public Mono>> deleteWithResponseAsync(String resourceG if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, circuitName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified express route circuit. + * Gets information about the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 Response} on successful completion of {@link Mono}. + * @return information about the specified express route circuit along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, - Context context) { + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String circuitName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -260,165 +266,83 @@ private Mono>> deleteWithResponseAsync(String resource if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, circuitName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, circuitName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, circuitName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 circuitName) { - return this.beginDeleteAsync(resourceGroupName, circuitName).getSyncPoller(); - } - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 circuitName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, circuitName, context).getSyncPoller(); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, accept, context); } /** - * Deletes the specified express route circuit. + * Gets information about the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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. + * @return information about the specified express route circuit on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String circuitName) { - return beginDeleteAsync(resourceGroupName, circuitName).last().flatMap(this.client::getLroFinalResultOrError); + public Mono getByResourceGroupAsync(String resourceGroupName, String circuitName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, circuitName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Deletes the specified express route circuit. + * Gets information about the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String circuitName, Context context) { - return beginDeleteAsync(resourceGroupName, circuitName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @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 information about the specified express route circuit along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String circuitName) { - deleteAsync(resourceGroupName, circuitName).block(); + public Response getByResourceGroupWithResponse(String resourceGroupName, + String circuitName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, circuitName, context).block(); } /** - * Deletes the specified express route circuit. + * Gets information about the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 information about the specified express route circuit. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String circuitName, Context context) { - deleteAsync(resourceGroupName, circuitName, context).block(); + public ExpressRouteCircuitInner getByResourceGroup(String resourceGroupName, String circuitName) { + return getByResourceGroupWithResponse(resourceGroupName, circuitName, Context.NONE).getValue(); } /** - * Gets information about the specified express route circuit. + * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param circuitName The name of express route circuit. + * @param parameters Parameters supplied to the create or update express route circuit 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 information about the specified express route circuit along with {@link Response} on successful - * completion of {@link Mono}. + * @return expressRouteCircuit resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String circuitName) { + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String circuitName, ExpressRouteCircuitInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -426,37 +350,42 @@ public Mono> getByResourceGroupWithResponseAs if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - circuitName, apiVersion, this.client.getSubscriptionId(), accept, context)) + return FluxUtil.withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets information about the specified express route circuit. + * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param circuitName The name of express route circuit. + * @param parameters Parameters supplied to the create or update express route circuit operation. * @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 information about the specified express route circuit along with {@link Response} on successful - * completion of {@link Mono}. + * @return expressRouteCircuit resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String circuitName, Context context) { + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String circuitName, ExpressRouteCircuitInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -464,159 +393,29 @@ private Mono> getByResourceGroupWithResponseA if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, circuitName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, contentType, accept, parameters, context); } /** - * Gets information about the specified express route circuit. + * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param circuitName The name of express route circuit. + * @param parameters Parameters supplied to the create or update express route circuit 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 information about the specified express route circuit on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String circuitName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, circuitName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Gets information about the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of express route circuit. - * @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 information about the specified express route circuit along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String circuitName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, circuitName, context).block(); - } - - /** - * Gets information about the specified express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of express route circuit. - * @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 information about the specified express route circuit. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCircuitInner getByResourceGroup(String resourceGroupName, String circuitName) { - return getByResourceGroupWithResponse(resourceGroupName, circuitName, Context.NONE).getValue(); - } - - /** - * Creates or updates an express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. - * @param parameters Parameters supplied to the create or update express route circuit 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 expressRouteCircuit resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String circuitName, ExpressRouteCircuitInner parameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, circuitName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Creates or updates an express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. - * @param parameters Parameters supplied to the create or update express route circuit operation. - * @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 expressRouteCircuit resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String circuitName, ExpressRouteCircuitInner parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, circuitName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); - } - - /** - * Creates or updates an express route circuit. - * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. - * @param parameters Parameters supplied to the create or update express route circuit 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 PollerFlux} for polling of expressRouteCircuit resource. + * @return the {@link PollerFlux} for polling of expressRouteCircuit resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, ExpressRouteCircuitInner> @@ -631,8 +430,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -653,8 +452,8 @@ private PollerFlux, ExpressRouteCircuitInne /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -670,8 +469,8 @@ private PollerFlux, ExpressRouteCircuitInne /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -688,8 +487,8 @@ public SyncPoller, ExpressRouteCircuitInner /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -706,8 +505,8 @@ public Mono createOrUpdateAsync(String resourceGroupNa /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -725,8 +524,8 @@ private Mono createOrUpdateAsync(String resourceGroupN /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -742,8 +541,8 @@ public ExpressRouteCircuitInner createOrUpdate(String resourceGroupName, String /** * Creates or updates an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to the create or update express route circuit operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -760,8 +559,8 @@ public ExpressRouteCircuitInner createOrUpdate(String resourceGroupName, String /** * Updates an express route circuit tags. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to update express route circuit tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -775,6 +574,10 @@ public Mono> updateTagsWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -782,28 +585,26 @@ public Mono> updateTagsWithResponseAsync(Stri if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, circuitName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates an express route circuit tags. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to update express route circuit tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -818,6 +619,10 @@ private Mono> updateTagsWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -825,27 +630,24 @@ private Mono> updateTagsWithResponseAsync(Str if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, circuitName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, contentType, accept, parameters, context); } /** * Updates an express route circuit tags. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to update express route circuit tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -862,8 +664,8 @@ public Mono updateTagsAsync(String resourceGroupName, /** * Updates an express route circuit tags. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to update express route circuit tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -880,8 +682,8 @@ public Response updateTagsWithResponse(String resource /** * Updates an express route circuit tags. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param parameters Parameters supplied to update express route circuit tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -894,25 +696,25 @@ public ExpressRouteCircuitInner updateTags(String resourceGroupName, String circ } /** - * Gets the currently advertised ARP table associated with the express route circuit in a resource group. + * Deletes the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 currently advertised ARP table associated with the express route circuit in a resource group along - * with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> listArpTableWithResponseAsync(String resourceGroupName, String circuitName, - String peeringName, String devicePath) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -920,45 +722,35 @@ public Mono>> listArpTableWithResponseAsync(String res if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (devicePath == null) { - return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listArpTable(this.client.getEndpoint(), resourceGroupName, circuitName, - peeringName, devicePath, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the currently advertised ARP table associated with the express route circuit in a resource group. + * Deletes the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 currently advertised ARP table associated with the express route circuit in a resource group along - * with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> listArpTableWithResponseAsync(String resourceGroupName, String circuitName, - String peeringName, String devicePath, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, String circuitName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -966,481 +758,527 @@ private Mono>> listArpTableWithResponseAsync(String re if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (devicePath == null) { - return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listArpTable(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, devicePath, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, context); } /** - * Gets the currently advertised ARP table associated with the express route circuit in a resource group. + * Deletes the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 currently advertised ARP table associated with the express - * route circuit in a resource group. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - PollerFlux, ExpressRouteCircuitsArpTableListResultInner> - beginListArpTableAsync(String resourceGroupName, String circuitName, String peeringName, String devicePath) { - Mono>> mono - = listArpTableWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), ExpressRouteCircuitsArpTableListResultInner.class, - ExpressRouteCircuitsArpTableListResultInner.class, this.client.getContext()); + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, circuitName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Gets the currently advertised ARP table associated with the express route circuit in a resource group. + * Deletes the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 PollerFlux} for polling of the currently advertised ARP table associated with the express - * route circuit in a resource group. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private - PollerFlux, ExpressRouteCircuitsArpTableListResultInner> - beginListArpTableAsync(String resourceGroupName, String circuitName, String peeringName, String devicePath, - Context context) { + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String circuitName, + Context context) { context = this.client.mergeContext(context); - Mono>> mono - = listArpTableWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath, context); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), ExpressRouteCircuitsArpTableListResultInner.class, - ExpressRouteCircuitsArpTableListResultInner.class, context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, circuitName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Gets the currently advertised ARP table associated with the express route circuit in a resource group. + * Deletes the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 currently advertised ARP table associated with the express - * route circuit in a resource group. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, ExpressRouteCircuitsArpTableListResultInner> - beginListArpTable(String resourceGroupName, String circuitName, String peeringName, String devicePath) { - return this.beginListArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath).getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String circuitName) { + return this.beginDeleteAsync(resourceGroupName, circuitName).getSyncPoller(); } /** - * Gets the currently advertised ARP table associated with the express route circuit in a resource group. + * Deletes the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 the currently advertised ARP table associated with the express - * route circuit in a resource group. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, ExpressRouteCircuitsArpTableListResultInner> - beginListArpTable(String resourceGroupName, String circuitName, String peeringName, String devicePath, - Context context) { - return this.beginListArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context) - .getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String circuitName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, circuitName, context).getSyncPoller(); } /** - * Gets the currently advertised ARP table associated with the express route circuit in a resource group. + * Deletes the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 currently advertised ARP table associated with the express route circuit in a resource group on - * successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listArpTableAsync(String resourceGroupName, - String circuitName, String peeringName, String devicePath) { - return beginListArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono deleteAsync(String resourceGroupName, String circuitName) { + return beginDeleteAsync(resourceGroupName, circuitName).last().flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the currently advertised ARP table associated with the express route circuit in a resource group. + * Deletes the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 currently advertised ARP table associated with the express route circuit in a resource group on - * successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono listArpTableAsync(String resourceGroupName, - String circuitName, String peeringName, String devicePath, Context context) { - return beginListArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context).last() + private Mono deleteAsync(String resourceGroupName, String circuitName, Context context) { + return beginDeleteAsync(resourceGroupName, circuitName, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the currently advertised ARP table associated with the express route circuit in a resource group. + * Deletes the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 currently advertised ARP table associated with the express route circuit in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCircuitsArpTableListResultInner listArpTable(String resourceGroupName, String circuitName, - String peeringName, String devicePath) { - return listArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath).block(); + public void delete(String resourceGroupName, String circuitName) { + deleteAsync(resourceGroupName, circuitName).block(); } /** - * Gets the currently advertised ARP table associated with the express route circuit in a resource group. + * Deletes the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @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 currently advertised ARP table associated with the express route circuit in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCircuitsArpTableListResultInner listArpTable(String resourceGroupName, String circuitName, - String peeringName, String devicePath, Context context) { - return listArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context).block(); + public void delete(String resourceGroupName, String circuitName, Context context) { + deleteAsync(resourceGroupName, circuitName, context).block(); } /** - * Gets the currently advertised routes table associated with the express route circuit in a resource group. + * Gets all the express route circuits in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @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 currently advertised routes table associated with the express route circuit in a resource group along - * with {@link Response} on successful completion of {@link Mono}. + * @return all the express route circuits in a resource group along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> listRoutesTableWithResponseAsync(String resourceGroupName, - String circuitName, String peeringName, String devicePath) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (devicePath == null) { - return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listRoutesTable(this.client.getEndpoint(), resourceGroupName, circuitName, - peeringName, devicePath, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Gets the currently advertised routes table associated with the express route circuit in a resource group. + * Gets all the express route circuits in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @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 currently advertised routes table associated with the express route circuit in a resource group along - * with {@link Response} on successful completion of {@link Mono}. + * @return all the express route circuits in a resource group along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> listRoutesTableWithResponseAsync(String resourceGroupName, - String circuitName, String peeringName, String devicePath, Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (devicePath == null) { - return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listRoutesTable(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, - devicePath, apiVersion, this.client.getSubscriptionId(), accept, context); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets the currently advertised routes table associated with the express route circuit in a resource group. + * Gets all the express route circuits in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @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 {@link PollerFlux} for polling of the currently advertised routes table associated with the express - * route circuit in a resource group. + * @return all the express route circuits in a resource group as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - PollerFlux, ExpressRouteCircuitsRoutesTableListResultInner> - beginListRoutesTableAsync(String resourceGroupName, String circuitName, String peeringName, String devicePath) { - Mono>> mono - = listRoutesTableWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableListResultInner.class, - ExpressRouteCircuitsRoutesTableListResultInner.class, this.client.getContext()); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets the currently advertised routes table associated with the express route circuit in a resource group. + * Gets all the express route circuits in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @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 {@link PollerFlux} for polling of the currently advertised routes table associated with the express - * route circuit in a resource group. + * @return all the express route circuits in a resource group as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private - PollerFlux, ExpressRouteCircuitsRoutesTableListResultInner> - beginListRoutesTableAsync(String resourceGroupName, String circuitName, String peeringName, String devicePath, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = listRoutesTableWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath, context); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableListResultInner.class, - ExpressRouteCircuitsRoutesTableListResultInner.class, context); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets the currently advertised routes table associated with the express route circuit in a resource group. + * Gets all the express route circuits in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @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 {@link SyncPoller} for polling of the currently advertised routes table associated with the express - * route circuit in a resource group. + * @return all the express route circuits in a resource group as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, ExpressRouteCircuitsRoutesTableListResultInner> - beginListRoutesTable(String resourceGroupName, String circuitName, String peeringName, String devicePath) { - return this.beginListRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath).getSyncPoller(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Gets the currently advertised routes table associated with the express route circuit in a resource group. + * Gets all the express route circuits in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @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 {@link SyncPoller} for polling of the currently advertised routes table associated with the express - * route circuit in a resource group. + * @return all the express route circuits in a resource group as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, ExpressRouteCircuitsRoutesTableListResultInner> - beginListRoutesTable(String resourceGroupName, String circuitName, String peeringName, String devicePath, - Context context) { - return this.beginListRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context) - .getSyncPoller(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Gets the currently advertised routes table associated with the express route circuit in a resource group. + * Gets all the express route circuits in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. - * @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 currently advertised routes table associated with the express route circuit in a resource group on - * successful completion of {@link Mono}. + * @return all the express route circuits in a subscription along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listRoutesTableAsync(String resourceGroupName, - String circuitName, String peeringName, String devicePath) { - return beginListRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Gets the currently advertised routes table associated with the express route circuit in a resource group. + * Gets all the express route circuits in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. * @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 currently advertised routes table associated with the express route circuit in a resource group on - * successful completion of {@link Mono}. + * @return all the express route circuits in a subscription along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono listRoutesTableAsync(String resourceGroupName, - String circuitName, String peeringName, String devicePath, Context context) { - return beginListRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets the currently advertised routes table associated with the express route circuit in a resource group. + * Gets all the express route circuits in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. - * @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 currently advertised routes table associated with the express route circuit in a resource group. + * @return all the express route circuits in a subscription as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCircuitsRoutesTableListResultInner listRoutesTable(String resourceGroupName, String circuitName, - String peeringName, String devicePath) { - return listRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); } /** - * Gets the currently advertised routes table associated with the express route circuit in a resource group. + * Gets all the express route circuits in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. - * @param peeringName The name of the peering. - * @param devicePath The path of the device. * @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 currently advertised routes table associated with the express route circuit in a resource group. + * @return all the express route circuits in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets all the express route circuits in a 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 all the express route circuits in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Gets all the express route circuits in a 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 all the express route circuits in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); + } + + /** + * Gets all the stats from an express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 all the stats from an express route circuit in a resource group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCircuitsRoutesTableListResultInner listRoutesTable(String resourceGroupName, String circuitName, - String peeringName, String devicePath, Context context) { - return listRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context).block(); + public Mono> getStatsWithResponseAsync(String resourceGroupName, + String circuitName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getStats(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * Gets all the stats from an express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 all the stats from an express route circuit in a resource group along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getStatsWithResponseAsync(String resourceGroupName, + String circuitName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getStats(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, accept, context); + } + + /** + * Gets all the stats from an express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 all the stats from an express route circuit in a resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getStatsAsync(String resourceGroupName, String circuitName) { + return getStatsWithResponseAsync(resourceGroupName, circuitName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets all the stats from an express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 all the stats from an express route circuit in a resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getStatsWithResponse(String resourceGroupName, String circuitName, + Context context) { + return getStatsWithResponseAsync(resourceGroupName, circuitName, context).block(); + } + + /** + * Gets all the stats from an express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @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 all the stats from an express route circuit in a resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteCircuitStatsInner getStats(String resourceGroupName, String circuitName) { + return getStatsWithResponse(resourceGroupName, circuitName, Context.NONE).getValue(); + } + + /** + * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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 currently advertised routes table summary associated with the express route circuit in a resource - * group along with {@link Response} on successful completion of {@link Mono}. + * @return the currently advertised ARP table associated with the express route circuit in a resource group along + * with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> listRoutesTableSummaryWithResponseAsync(String resourceGroupName, - String circuitName, String peeringName, String devicePath) { + public Mono>> listArpTableWithResponseAsync(String resourceGroupName, String circuitName, + String peeringName, String devicePath) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1454,39 +1292,40 @@ public Mono>> listRoutesTableSummaryWithResponseAsync( if (devicePath == null) { return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listRoutesTableSummary(this.client.getEndpoint(), resourceGroupName, - circuitName, peeringName, devicePath, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext( + context -> service.listArpTable(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, devicePath, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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 currently advertised routes table summary associated with the express route circuit in a resource - * group along with {@link Response} on successful completion of {@link Mono}. + * @return the currently advertised ARP table associated with the express route circuit in a resource group along + * with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> listRoutesTableSummaryWithResponseAsync(String resourceGroupName, - String circuitName, String peeringName, String devicePath, Context context) { + private Mono>> listArpTableWithResponseAsync(String resourceGroupName, String circuitName, + String peeringName, String devicePath, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1500,214 +1339,211 @@ private Mono>> listRoutesTableSummaryWithResponseAsync if (devicePath == null) { return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listRoutesTableSummary(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, - devicePath, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.listArpTable(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, devicePath, accept, context); } /** - * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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 currently advertised routes table summary associated with the - * express route circuit in a resource group. + * @return the {@link PollerFlux} for polling of the currently advertised ARP table associated with the express + * route circuit in a resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public - PollerFlux, ExpressRouteCircuitsRoutesTableSummaryListResultInner> - beginListRoutesTableSummaryAsync(String resourceGroupName, String circuitName, String peeringName, - String devicePath) { + PollerFlux, ExpressRouteCircuitsArpTableListResultInner> + beginListArpTableAsync(String resourceGroupName, String circuitName, String peeringName, String devicePath) { Mono>> mono - = listRoutesTableSummaryWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath); + = listArpTableWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath); return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableSummaryListResultInner.class, - ExpressRouteCircuitsRoutesTableSummaryListResultInner.class, this.client.getContext()); + .getLroResult( + mono, this.client.getHttpPipeline(), ExpressRouteCircuitsArpTableListResultInner.class, + ExpressRouteCircuitsArpTableListResultInner.class, this.client.getContext()); } /** - * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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 PollerFlux} for polling of the currently advertised routes table summary associated with the - * express route circuit in a resource group. + * @return the {@link PollerFlux} for polling of the currently advertised ARP table associated with the express + * route circuit in a resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private - PollerFlux, ExpressRouteCircuitsRoutesTableSummaryListResultInner> - beginListRoutesTableSummaryAsync(String resourceGroupName, String circuitName, String peeringName, - String devicePath, Context context) { + PollerFlux, ExpressRouteCircuitsArpTableListResultInner> + beginListArpTableAsync(String resourceGroupName, String circuitName, String peeringName, String devicePath, + Context context) { context = this.client.mergeContext(context); Mono>> mono - = listRoutesTableSummaryWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath, context); + = listArpTableWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath, context); return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableSummaryListResultInner.class, - ExpressRouteCircuitsRoutesTableSummaryListResultInner.class, context); + .getLroResult( + mono, this.client.getHttpPipeline(), ExpressRouteCircuitsArpTableListResultInner.class, + ExpressRouteCircuitsArpTableListResultInner.class, context); } /** - * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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 currently advertised routes table summary associated with the - * express route circuit in a resource group. + * @return the {@link SyncPoller} for polling of the currently advertised ARP table associated with the express + * route circuit in a resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public - SyncPoller, ExpressRouteCircuitsRoutesTableSummaryListResultInner> - beginListRoutesTableSummary(String resourceGroupName, String circuitName, String peeringName, - String devicePath) { - return this.beginListRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath) - .getSyncPoller(); + SyncPoller, ExpressRouteCircuitsArpTableListResultInner> + beginListArpTable(String resourceGroupName, String circuitName, String peeringName, String devicePath) { + return this.beginListArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath).getSyncPoller(); } /** - * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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 the currently advertised routes table summary associated with the - * express route circuit in a resource group. + * @return the {@link SyncPoller} for polling of the currently advertised ARP table associated with the express + * route circuit in a resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public - SyncPoller, ExpressRouteCircuitsRoutesTableSummaryListResultInner> - beginListRoutesTableSummary(String resourceGroupName, String circuitName, String peeringName, String devicePath, + SyncPoller, ExpressRouteCircuitsArpTableListResultInner> + beginListArpTable(String resourceGroupName, String circuitName, String peeringName, String devicePath, Context context) { - return this.beginListRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath, context) + return this.beginListArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context) .getSyncPoller(); } /** - * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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 currently advertised routes table summary associated with the express route circuit in a resource - * group on successful completion of {@link Mono}. - */ + * @return the currently advertised ARP table associated with the express route circuit in a resource group on + * successful completion of {@link Mono}. + */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listRoutesTableSummaryAsync( - String resourceGroupName, String circuitName, String peeringName, String devicePath) { - return beginListRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath).last() + public Mono listArpTableAsync(String resourceGroupName, + String circuitName, String peeringName, String devicePath) { + return beginListArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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 currently advertised routes table summary associated with the express route circuit in a resource - * group on successful completion of {@link Mono}. + * @return the currently advertised ARP table associated with the express route circuit in a resource group on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono listRoutesTableSummaryAsync( - String resourceGroupName, String circuitName, String peeringName, String devicePath, Context context) { - return beginListRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath, context).last() + private Mono listArpTableAsync(String resourceGroupName, + String circuitName, String peeringName, String devicePath, Context context) { + return beginListArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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 currently advertised routes table summary associated with the express route circuit in a resource - * group. + * @return the currently advertised ARP table associated with the express route circuit in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCircuitsRoutesTableSummaryListResultInner listRoutesTableSummary(String resourceGroupName, - String circuitName, String peeringName, String devicePath) { - return listRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath).block(); + public ExpressRouteCircuitsArpTableListResultInner listArpTable(String resourceGroupName, String circuitName, + String peeringName, String devicePath) { + return listArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath).block(); } /** - * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * Gets the currently advertised ARP table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param devicePath The path of the device. + * @param devicePath The name of the arpTables. * @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 currently advertised routes table summary associated with the express route circuit in a resource - * group. + * @return the currently advertised ARP table associated with the express route circuit in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCircuitsRoutesTableSummaryListResultInner listRoutesTableSummary(String resourceGroupName, - String circuitName, String peeringName, String devicePath, Context context) { - return listRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath, context).block(); + public ExpressRouteCircuitsArpTableListResultInner listArpTable(String resourceGroupName, String circuitName, + String peeringName, String devicePath, Context context) { + return listArpTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context).block(); } /** - * Gets all the stats from an express route circuit in a resource group. + * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTables. * @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 all the stats from an express route circuit in a resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return the currently advertised routes table associated with the express route circuit in a resource group along + * with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getStatsWithResponseAsync(String resourceGroupName, - String circuitName) { + public Mono>> listRoutesTableWithResponseAsync(String resourceGroupName, + String circuitName, String peeringName, String devicePath) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1715,37 +1551,44 @@ public Mono> getStatsWithResponseAsync(S if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } + if (devicePath == null) { + return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getStats(this.client.getEndpoint(), resourceGroupName, circuitName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + return FluxUtil.withContext(context -> service.listRoutesTable(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, peeringName, devicePath, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the stats from an express route circuit in a resource group. + * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTables. * @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 all the stats from an express route circuit in a resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return the currently advertised routes table associated with the express route circuit in a resource group along + * with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getStatsWithResponseAsync(String resourceGroupName, - String circuitName, Context context) { + private Mono>> listRoutesTableWithResponseAsync(String resourceGroupName, + String circuitName, String peeringName, String devicePath, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1753,340 +1596,476 @@ private Mono> getStatsWithResponseAsync( if (circuitName == null) { return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } + if (devicePath == null) { + return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getStats(this.client.getEndpoint(), resourceGroupName, circuitName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.listRoutesTable(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, devicePath, accept, context); } /** - * Gets all the stats from an express route circuit in a resource group. + * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTables. * @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 all the stats from an express route circuit in a resource group on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of the currently advertised routes table associated with the express + * route circuit in a resource group. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getStatsAsync(String resourceGroupName, String circuitName) { - return getStatsWithResponseAsync(resourceGroupName, circuitName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public + PollerFlux, ExpressRouteCircuitsRoutesTableListResultInner> + beginListRoutesTableAsync(String resourceGroupName, String circuitName, String peeringName, String devicePath) { + Mono>> mono + = listRoutesTableWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableListResultInner.class, + ExpressRouteCircuitsRoutesTableListResultInner.class, this.client.getContext()); } /** - * Gets all the stats from an express route circuit in a resource group. + * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTables. * @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 all the stats from an express route circuit in a resource group along with {@link Response}. + * @return the {@link PollerFlux} for polling of the currently advertised routes table associated with the express + * route circuit in a resource group. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getStatsWithResponse(String resourceGroupName, String circuitName, - Context context) { - return getStatsWithResponseAsync(resourceGroupName, circuitName, context).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private + PollerFlux, ExpressRouteCircuitsRoutesTableListResultInner> + beginListRoutesTableAsync(String resourceGroupName, String circuitName, String peeringName, String devicePath, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = listRoutesTableWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath, context); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableListResultInner.class, + ExpressRouteCircuitsRoutesTableListResultInner.class, context); } /** - * Gets all the stats from an express route circuit in a resource group. + * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTables. * @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 all the stats from an express route circuit in a resource group. + * @return the {@link SyncPoller} for polling of the currently advertised routes table associated with the express + * route circuit in a resource group. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCircuitStatsInner getStats(String resourceGroupName, String circuitName) { - return getStatsWithResponse(resourceGroupName, circuitName, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public + SyncPoller, ExpressRouteCircuitsRoutesTableListResultInner> + beginListRoutesTable(String resourceGroupName, String circuitName, String peeringName, String devicePath) { + return this.beginListRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath).getSyncPoller(); } /** - * Gets all stats from an express route circuit in a resource group. + * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. + * @param devicePath The name of the routeTables. + * @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 all stats from an express route circuit in a resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return the {@link SyncPoller} for polling of the currently advertised routes table associated with the express + * route circuit in a resource group. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPeeringStatsWithResponseAsync(String resourceGroupName, - String circuitName, String peeringName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getPeeringStats(this.client.getEndpoint(), resourceGroupName, circuitName, - peeringName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public + SyncPoller, ExpressRouteCircuitsRoutesTableListResultInner> + beginListRoutesTable(String resourceGroupName, String circuitName, String peeringName, String devicePath, + Context context) { + return this.beginListRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context) + .getSyncPoller(); } /** - * Gets all stats from an express route circuit in a resource group. + * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param context The context to associate with this operation. + * @param devicePath The name of the routeTables. * @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 all stats from an express route circuit in a resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return the currently advertised routes table associated with the express route circuit in a resource group on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getPeeringStatsWithResponseAsync(String resourceGroupName, - String circuitName, String peeringName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (circuitName == null) { - return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); - } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getPeeringStats(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, - apiVersion, this.client.getSubscriptionId(), accept, context); + public Mono listRoutesTableAsync(String resourceGroupName, + String circuitName, String peeringName, String devicePath) { + return beginListRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets all stats from an express route circuit in a resource group. + * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. + * @param devicePath The name of the routeTables. + * @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 all stats from an express route circuit in a resource group on successful completion of {@link Mono}. + * @return the currently advertised routes table associated with the express route circuit in a resource group on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getPeeringStatsAsync(String resourceGroupName, String circuitName, - String peeringName) { - return getPeeringStatsWithResponseAsync(resourceGroupName, circuitName, peeringName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + private Mono listRoutesTableAsync(String resourceGroupName, + String circuitName, String peeringName, String devicePath, Context context) { + return beginListRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets all stats from an express route circuit in a resource group. + * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. - * @param context The context to associate with this operation. + * @param devicePath The name of the routeTables. * @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 all stats from an express route circuit in a resource group along with {@link Response}. + * @return the currently advertised routes table associated with the express route circuit in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPeeringStatsWithResponse(String resourceGroupName, - String circuitName, String peeringName, Context context) { - return getPeeringStatsWithResponseAsync(resourceGroupName, circuitName, peeringName, context).block(); + public ExpressRouteCircuitsRoutesTableListResultInner listRoutesTable(String resourceGroupName, String circuitName, + String peeringName, String devicePath) { + return listRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath).block(); } /** - * Gets all stats from an express route circuit in a resource group. + * Gets the currently advertised routes table associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. * @param peeringName The name of the peering. + * @param devicePath The name of the routeTables. + * @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 all stats from an express route circuit in a resource group. + * @return the currently advertised routes table associated with the express route circuit in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCircuitStatsInner getPeeringStats(String resourceGroupName, String circuitName, - String peeringName) { - return getPeeringStatsWithResponse(resourceGroupName, circuitName, peeringName, Context.NONE).getValue(); + public ExpressRouteCircuitsRoutesTableListResultInner listRoutesTable(String resourceGroupName, String circuitName, + String peeringName, String devicePath, Context context) { + return listRoutesTableAsync(resourceGroupName, circuitName, peeringName, devicePath, context).block(); } /** - * Gets all the express route circuits in a resource group. + * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTablesSummary. * @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 all the express route circuits in a resource group along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the currently advertised routes table summary associated with the express route circuit in a resource + * group along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + public Mono>> listRoutesTableSummaryWithResponseAsync(String resourceGroupName, + String circuitName, String peeringName, String devicePath) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } + if (devicePath == null) { + return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + return FluxUtil.withContext(context -> service.listRoutesTableSummary(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, peeringName, devicePath, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the express route circuits in a resource group. + * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTablesSummary. * @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 all the express route circuits in a resource group along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the currently advertised routes table summary associated with the express route circuit in a resource + * group along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { + private Mono>> listRoutesTableSummaryWithResponseAsync(String resourceGroupName, + String circuitName, String peeringName, String devicePath, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } + if (devicePath == null) { + return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.listRoutesTableSummary(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, devicePath, accept, context); } /** - * Gets all the express route circuits in a resource group. + * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTablesSummary. * @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 all the express route circuits in a resource group as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of the currently advertised routes table summary associated with the + * express route circuit in a resource group. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public + PollerFlux, ExpressRouteCircuitsRoutesTableSummaryListResultInner> + beginListRoutesTableSummaryAsync(String resourceGroupName, String circuitName, String peeringName, + String devicePath) { + Mono>> mono + = listRoutesTableSummaryWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableSummaryListResultInner.class, + ExpressRouteCircuitsRoutesTableSummaryListResultInner.class, this.client.getContext()); } /** - * Gets all the express route circuits in a resource group. + * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTablesSummary. * @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 all the express route circuits in a resource group as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of the currently advertised routes table summary associated with the + * express route circuit in a resource group. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private + PollerFlux, ExpressRouteCircuitsRoutesTableSummaryListResultInner> + beginListRoutesTableSummaryAsync(String resourceGroupName, String circuitName, String peeringName, + String devicePath, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = listRoutesTableSummaryWithResponseAsync(resourceGroupName, circuitName, peeringName, devicePath, context); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), ExpressRouteCircuitsRoutesTableSummaryListResultInner.class, + ExpressRouteCircuitsRoutesTableSummaryListResultInner.class, context); } /** - * Gets all the express route circuits in a resource group. + * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTablesSummary. * @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 all the express route circuits in a resource group as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of the currently advertised routes table summary associated with the + * express route circuit in a resource group. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public + SyncPoller, ExpressRouteCircuitsRoutesTableSummaryListResultInner> + beginListRoutesTableSummary(String resourceGroupName, String circuitName, String peeringName, + String devicePath) { + return this.beginListRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath) + .getSyncPoller(); } /** - * Gets all the express route circuits in a resource group. + * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTablesSummary. * @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 all the express route circuits in a resource group as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of the currently advertised routes table summary associated with the + * express route circuit in a resource group. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public + SyncPoller, ExpressRouteCircuitsRoutesTableSummaryListResultInner> + beginListRoutesTableSummary(String resourceGroupName, String circuitName, String peeringName, String devicePath, + Context context) { + return this.beginListRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath, context) + .getSyncPoller(); } /** - * Gets all the express route circuits in a subscription. + * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTablesSummary. + * @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 all the express route circuits in a subscription along with {@link PagedResponse} on successful + * @return the currently advertised routes table summary associated with the express route circuit in a resource + * group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listRoutesTableSummaryAsync( + String resourceGroupName, String circuitName, String peeringName, String devicePath) { + return beginListRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTablesSummary. + * @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 currently advertised routes table summary associated with the express route circuit in a resource + * group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono listRoutesTableSummaryAsync( + String resourceGroupName, String circuitName, String peeringName, String devicePath, Context context) { + return beginListRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTablesSummary. + * @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 currently advertised routes table summary associated with the express route circuit in a resource + * group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteCircuitsRoutesTableSummaryListResultInner listRoutesTableSummary(String resourceGroupName, + String circuitName, String peeringName, String devicePath) { + return listRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath).block(); + } + + /** + * Gets the currently advertised routes table summary associated with the express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of the express route port. + * @param peeringName The name of the peering. + * @param devicePath The name of the routeTablesSummary. + * @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 currently advertised routes table summary associated with the express route circuit in a resource + * group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteCircuitsRoutesTableSummaryListResultInner listRoutesTableSummary(String resourceGroupName, + String circuitName, String peeringName, String devicePath, Context context) { + return listRoutesTableSummaryAsync(resourceGroupName, circuitName, peeringName, devicePath, context).block(); + } + + /** + * Gets all stats from an express route circuit in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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 all stats from an express route circuit in a resource group along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public Mono> getPeeringStatsWithResponseAsync(String resourceGroupName, + String circuitName, String peeringName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2095,28 +2074,40 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.getPeeringStats(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, circuitName, peeringName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the express route circuits in a subscription. + * Gets all stats from an express route circuit in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. * @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 all the express route circuits in a subscription along with {@link PagedResponse} on successful + * @return all stats from an express route circuit in a resource group along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> getPeeringStatsWithResponseAsync(String resourceGroupName, + String circuitName, String peeringName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2125,65 +2116,74 @@ private Mono> listSinglePageAsync(Contex return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (circuitName == null) { + return Mono.error(new IllegalArgumentException("Parameter circuitName is required and cannot be null.")); + } + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.getPeeringStats(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, accept, context); } /** - * Gets all the express route circuits in a subscription. + * Gets all stats from an express route circuit in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. + * @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 all the express route circuits in a subscription as paginated response with {@link PagedFlux}. + * @return all stats from an express route circuit in a resource group on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getPeeringStatsAsync(String resourceGroupName, String circuitName, + String peeringName) { + return getPeeringStatsWithResponseAsync(resourceGroupName, circuitName, peeringName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets all the express route circuits in a subscription. + * Gets all stats from an express route circuit in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. * @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 all the express route circuits in a subscription as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets all the express route circuits in a 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 all the express route circuits in a subscription as paginated response with {@link PagedIterable}. + * @return all stats from an express route circuit in a resource group along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getPeeringStatsWithResponse(String resourceGroupName, + String circuitName, String peeringName, Context context) { + return getPeeringStatsWithResponseAsync(resourceGroupName, circuitName, peeringName, context).block(); } /** - * Gets all the express route circuits in a subscription. + * Gets all stats from an express route circuit in a resource group. * - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. + * @param peeringName The name of the peering. * @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 all the express route circuits in a subscription as paginated response with {@link PagedIterable}. + * @return all stats from an express route circuit in a resource group. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteCircuitStatsInner getPeeringStats(String resourceGroupName, String circuitName, + String peeringName) { + return getPeeringStatsWithResponse(resourceGroupName, circuitName, peeringName, Context.NONE).getValue(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java index 5edde51e1540..3a00ea8fd1fe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -19,6 +19,10 @@ 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; @@ -29,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ExpressRouteConnectionsClient; import com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionInner; -import com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionListInner; +import com.azure.resourcemanager.network.implementation.models.ExpressRouteConnectionList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -63,58 +67,58 @@ public final class ExpressRouteConnectionsClientImpl implements ExpressRouteConn * The interface defining all the services for NetworkManagementClientExpressRouteConnections to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRouteConnections") public interface ExpressRouteConnectionsService { - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRouteGatewayName") String expressRouteGatewayName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, + @PathParam("connectionName") String connectionName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") ExpressRouteConnectionInner putExpressRouteConnectionParameters, - @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRouteGatewayName") String expressRouteGatewayName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRouteGatewayName") String expressRouteGatewayName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("expressRouteGatewayName") String expressRouteGatewayName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("expressRouteGatewayName") String expressRouteGatewayName, @HeaderParam("Accept") String accept, + Context context); } /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -129,6 +133,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -140,10 +148,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (putExpressRouteConnectionParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter putExpressRouteConnectionParameters is required and cannot be null.")); @@ -151,20 +155,21 @@ public Mono>> createOrUpdateWithResponseAsync(String r putExpressRouteConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - expressRouteGatewayName, connectionName, apiVersion, this.client.getSubscriptionId(), - putExpressRouteConnectionParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRouteGatewayName, connectionName, + contentType, accept, putExpressRouteConnectionParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -180,6 +185,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -191,10 +200,6 @@ private Mono>> createOrUpdateWithResponseAsync(String if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (putExpressRouteConnectionParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter putExpressRouteConnectionParameters is required and cannot be null.")); @@ -202,19 +207,20 @@ private Mono>> createOrUpdateWithResponseAsync(String putExpressRouteConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, expressRouteGatewayName, - connectionName, apiVersion, this.client.getSubscriptionId(), putExpressRouteConnectionParameters, accept, - context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRouteGatewayName, connectionName, contentType, accept, + putExpressRouteConnectionParameters, context); } /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -235,9 +241,9 @@ public PollerFlux, ExpressRouteConnectio /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -260,9 +266,9 @@ private PollerFlux, ExpressRouteConnecti /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -282,9 +288,9 @@ public SyncPoller, ExpressRouteConnectio /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -305,9 +311,9 @@ public SyncPoller, ExpressRouteConnectio /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -325,9 +331,9 @@ public Mono createOrUpdateAsync(String resourceGrou /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -346,9 +352,9 @@ private Mono createOrUpdateAsync(String resourceGro /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -365,9 +371,9 @@ public ExpressRouteConnectionInner createOrUpdate(String resourceGroupName, Stri /** * Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @param putExpressRouteConnectionParameters Parameters required in an ExpressRouteConnection PUT operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -385,9 +391,9 @@ public ExpressRouteConnectionInner createOrUpdate(String resourceGroupName, Stri /** * Gets the specified ExpressRouteConnection. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the ExpressRoute connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -401,6 +407,10 @@ public Mono> getWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -412,24 +422,20 @@ public Mono> getWithResponseAsync(String r if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, expressRouteGatewayName, - connectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRouteGatewayName, connectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified ExpressRouteConnection. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the ExpressRoute connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -444,6 +450,10 @@ private Mono> getWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -455,23 +465,19 @@ private Mono> getWithResponseAsync(String if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, expressRouteGatewayName, connectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + expressRouteGatewayName, connectionName, accept, context); } /** * Gets the specified ExpressRouteConnection. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the ExpressRoute connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -487,9 +493,9 @@ public Mono getAsync(String resourceGroupName, Stri /** * Gets the specified ExpressRouteConnection. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the ExpressRoute connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -505,9 +511,9 @@ public Response getWithResponse(String resourceGrou /** * Gets the specified ExpressRouteConnection. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the ExpressRoute connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -522,9 +528,9 @@ public ExpressRouteConnectionInner get(String resourceGroupName, String expressR /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -537,6 +543,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -548,24 +558,19 @@ public Mono>> deleteWithResponseAsync(String resourceG if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - expressRouteGatewayName, connectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRouteGatewayName, connectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -579,6 +584,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -590,23 +599,18 @@ private Mono>> deleteWithResponseAsync(String resource if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, expressRouteGatewayName, connectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + expressRouteGatewayName, connectionName, context); } /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -624,9 +628,9 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -646,9 +650,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -663,9 +667,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -682,9 +686,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -699,9 +703,9 @@ public Mono deleteAsync(String resourceGroupName, String expressRouteGatew /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -718,9 +722,9 @@ private Mono deleteAsync(String resourceGroupName, String expressRouteGate /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -733,9 +737,9 @@ public void delete(String resourceGroupName, String expressRouteGatewayName, Str /** * Deletes a connection to a ExpressRoute circuit. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @param connectionName The name of the connection subresource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the express route gateway. + * @param connectionName The name of the express route connection. * @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. @@ -750,20 +754,24 @@ public void delete(String resourceGroupName, String expressRouteGatewayName, Str /** * Lists ExpressRouteConnections. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRouteConnection list along with {@link Response} on successful completion of {@link Mono}. + * @return expressRouteConnection list along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listWithResponseAsync(String resourceGroupName, + private Mono> listSinglePageAsync(String resourceGroupName, String expressRouteGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -772,36 +780,38 @@ public Mono> listWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter expressRouteGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, expressRouteGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRouteGatewayName, accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Lists ExpressRouteConnections. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRouteConnection list along with {@link Response} on successful completion of {@link Mono}. + * @return expressRouteConnection list along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listWithResponseAsync(String resourceGroupName, + private Mono> listSinglePageAsync(String resourceGroupName, String expressRouteGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -810,62 +820,77 @@ private Mono> listWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter expressRouteGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), resourceGroupName, expressRouteGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + expressRouteGatewayName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), null, null)); } /** * Lists ExpressRouteConnections. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRouteConnection list on successful completion of {@link Mono}. + * @return expressRouteConnection list as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listAsync(String resourceGroupName, String expressRouteGatewayName) { - return listWithResponseAsync(resourceGroupName, expressRouteGatewayName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String expressRouteGatewayName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, expressRouteGatewayName)); } /** * Lists ExpressRouteConnections. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRouteConnection list along with {@link Response}. + * @return expressRouteConnection list as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listWithResponse(String resourceGroupName, - String expressRouteGatewayName, Context context) { - return listWithResponseAsync(resourceGroupName, expressRouteGatewayName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String expressRouteGatewayName, + Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, expressRouteGatewayName, context)); } /** * Lists ExpressRouteConnections. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRouteConnection list. + * @return expressRouteConnection list as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteConnectionListInner list(String resourceGroupName, String expressRouteGatewayName) { - return listWithResponse(resourceGroupName, expressRouteGatewayName, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String expressRouteGatewayName) { + return new PagedIterable<>(listAsync(resourceGroupName, expressRouteGatewayName)); + } + + /** + * Lists ExpressRouteConnections. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 expressRouteConnection list as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String expressRouteGatewayName, + Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, expressRouteGatewayName, context)); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java index fe6f6f432b5a..f753dc110d4c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ExpressRouteCrossConnectionPeeringsClient; import com.azure.resourcemanager.network.fluent.models.ExpressRouteCrossConnectionPeeringInner; -import com.azure.resourcemanager.network.models.ExpressRouteCrossConnectionPeeringList; +import com.azure.resourcemanager.network.implementation.models.ExpressRouteCrossConnectionPeeringList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,63 +67,63 @@ public final class ExpressRouteCrossConnectionPeeringsClientImpl implements Expr * The interface defining all the services for NetworkManagementClientExpressRouteCrossConnectionPeerings to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRouteCrossConnectionPeerings") public interface ExpressRouteCrossConnectionPeeringsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("crossConnectionName") String crossConnectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("crossConnectionName") String crossConnectionName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("crossConnectionName") String crossConnectionName, @PathParam("peeringName") String peeringName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("crossConnectionName") String crossConnectionName, @PathParam("peeringName") String peeringName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("crossConnectionName") String crossConnectionName, @PathParam("peeringName") String peeringName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ExpressRouteCrossConnectionPeeringInner peeringParameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ExpressRouteCrossConnectionPeeringInner peeringParameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets all peerings in a specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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. @@ -137,6 +137,10 @@ private Mono> listSingleP return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -145,15 +149,11 @@ private Mono> listSingleP return Mono .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, crossConnectionName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, accept, context)) .>map( res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -163,8 +163,8 @@ private Mono> listSingleP /** * Gets all peerings in a specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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. @@ -179,6 +179,10 @@ private Mono> listSingleP return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -187,16 +191,12 @@ private Mono> listSingleP return Mono .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, crossConnectionName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + crossConnectionName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -204,8 +204,8 @@ private Mono> listSingleP /** * Gets all peerings in a specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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. @@ -221,8 +221,8 @@ public PagedFlux listAsync(String resou /** * Gets all peerings in a specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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. @@ -239,8 +239,8 @@ private PagedFlux listAsync(String reso /** * Gets all peerings in a specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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. @@ -255,8 +255,8 @@ public PagedIterable list(String resour /** * Gets all peerings in a specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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. @@ -272,8 +272,8 @@ public PagedIterable list(String resour /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -287,6 +287,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -298,23 +302,18 @@ public Mono>> deleteWithResponseAsync(String resourceG if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, crossConnectionName, - peeringName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, crossConnectionName, peeringName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -329,6 +328,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -340,22 +343,17 @@ private Mono>> deleteWithResponseAsync(String resource if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, crossConnectionName, peeringName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + crossConnectionName, peeringName, context); } /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -374,8 +372,8 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -396,8 +394,8 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -413,8 +411,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -431,8 +429,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -448,8 +446,8 @@ public Mono deleteAsync(String resourceGroupName, String crossConnectionNa /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -467,8 +465,8 @@ private Mono deleteAsync(String resourceGroupName, String crossConnectionN /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -482,8 +480,8 @@ public void delete(String resourceGroupName, String crossConnectionName, String /** * Deletes the specified peering from the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -498,8 +496,8 @@ public void delete(String resourceGroupName, String crossConnectionName, String /** * Gets the specified peering for the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -514,6 +512,10 @@ public Mono> getWithResponseAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -525,23 +527,19 @@ public Mono> getWithResponseAs if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, crossConnectionName, - peeringName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, peeringName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified peering for the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -557,6 +555,10 @@ private Mono> getWithResponseA return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -568,22 +570,18 @@ private Mono> getWithResponseA if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, crossConnectionName, peeringName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + crossConnectionName, peeringName, accept, context); } /** * Gets the specified peering for the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -600,8 +598,8 @@ public Mono getAsync(String resourceGro /** * Gets the specified peering for the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -618,8 +616,8 @@ public Response getWithResponse(String /** * Gets the specified peering for the ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -635,8 +633,8 @@ public ExpressRouteCrossConnectionPeeringInner get(String resourceGroupName, Str /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -653,6 +651,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -664,10 +666,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (peeringParameters == null) { return Mono .error(new IllegalArgumentException("Parameter peeringParameters is required and cannot be null.")); @@ -675,19 +673,20 @@ public Mono>> createOrUpdateWithResponseAsync(String r peeringParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, crossConnectionName, - peeringName, apiVersion, this.client.getSubscriptionId(), peeringParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, crossConnectionName, peeringName, contentType, + accept, peeringParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -706,6 +705,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -717,10 +720,6 @@ private Mono>> createOrUpdateWithResponseAsync(String if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (peeringParameters == null) { return Mono .error(new IllegalArgumentException("Parameter peeringParameters is required and cannot be null.")); @@ -728,17 +727,18 @@ private Mono>> createOrUpdateWithResponseAsync(String peeringParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, crossConnectionName, peeringName, - apiVersion, this.client.getSubscriptionId(), peeringParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, peeringName, contentType, accept, peeringParameters, context); } /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -762,8 +762,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -789,8 +789,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -810,8 +810,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -833,8 +833,8 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -853,8 +853,8 @@ public Mono createOrUpdateAsync(String /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -876,8 +876,8 @@ private Mono createOrUpdateAsync(String /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. @@ -895,8 +895,8 @@ public ExpressRouteCrossConnectionPeeringInner createOrUpdate(String resourceGro /** * Creates or updates a peering in the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName Name for the express route cross connection. * @param peeringName The name of the peering. * @param peeringParameters Parameters supplied to the create or update ExpressRouteCrossConnection peering * operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java index cd96bf677a83..08ca2439e732 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -37,7 +37,7 @@ import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitsRoutesTableListResultInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteCrossConnectionInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner; -import com.azure.resourcemanager.network.models.ExpressRouteCrossConnectionListResult; +import com.azure.resourcemanager.network.implementation.models.ExpressRouteCrossConnectionListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -75,116 +75,118 @@ public final class ExpressRouteCrossConnectionsClientImpl implements InnerSuppor * The interface defining all the services for NetworkManagementClientExpressRouteCrossConnections to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRouteCrossConnections") public interface ExpressRouteCrossConnectionsService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("$filter") String filter, @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("crossConnectionName") String crossConnectionName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections") + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("crossConnectionName") String crossConnectionName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ExpressRouteCrossConnectionInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}") + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("crossConnectionName") String crossConnectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("crossConnectionName") String crossConnectionName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject crossConnectionParameters, Context context); @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("crossConnectionName") String crossConnectionName, @QueryParam("api-version") String apiVersion, + Mono> listByResourceGroup( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ExpressRouteCrossConnectionInner parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("crossConnectionName") String crossConnectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject crossConnectionParameters, @HeaderParam("Accept") String accept, - Context context); + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @QueryParam("$filter") String filter, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listArpTable(@HostParam("$host") String endpoint, + Mono>> listArpTable(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("crossConnectionName") String crossConnectionName, @PathParam("peeringName") String peeringName, - @PathParam("devicePath") String devicePath, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("devicePath") String devicePath, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listRoutesTableSummary(@HostParam("$host") String endpoint, + Mono>> listRoutesTableSummary(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("crossConnectionName") String crossConnectionName, @PathParam("peeringName") String peeringName, - @PathParam("devicePath") String devicePath, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("devicePath") String devicePath, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listRoutesTable(@HostParam("$host") String endpoint, + Mono>> listRoutesTable(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("crossConnectionName") String crossConnectionName, @PathParam("peeringName") String peeringName, - @PathParam("devicePath") String devicePath, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("devicePath") String devicePath, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + 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) - Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Retrieves all the ExpressRouteCrossConnections in a subscription. + * Gets details about the specified ExpressRouteCrossConnection. * - * @param filter The filter to apply on the operation. For example, you can use $filter=name eq - * '{circuitServiceKey}'. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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 response for ListExpressRouteCrossConnection API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return details about the specified ExpressRouteCrossConnection along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String filter) { + public Mono> + getByResourceGroupWithResponseAsync(String resourceGroupName, String crossConnectionName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -193,30 +195,37 @@ private Mono> listSinglePageAsyn return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (crossConnectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - filter, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, crossConnectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Retrieves all the ExpressRouteCrossConnections in a subscription. + * Gets details about the specified ExpressRouteCrossConnection. * - * @param filter The filter to apply on the operation. For example, you can use $filter=name eq - * '{circuitServiceKey}'. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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 response for ListExpressRouteCrossConnection API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return details about the specified ExpressRouteCrossConnection along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String filter, Context context) { + private Mono> + getByResourceGroupWithResponseAsync(String resourceGroupName, String crossConnectionName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -225,362 +234,323 @@ private Mono> listSinglePageAsyn return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (crossConnectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), filter, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, accept, context); } /** - * Retrieves all the ExpressRouteCrossConnections in a subscription. + * Gets details about the specified ExpressRouteCrossConnection. * - * @param filter The filter to apply on the operation. For example, you can use $filter=name eq - * '{circuitServiceKey}'. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String filter) { - return new PagedFlux<>(() -> listSinglePageAsync(filter), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Retrieves all the ExpressRouteCrossConnections in a 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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedFlux}. + * @return details about the specified ExpressRouteCrossConnection on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - final String filter = null; - return new PagedFlux<>(() -> listSinglePageAsync(filter), nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, + String crossConnectionName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, crossConnectionName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Retrieves all the ExpressRouteCrossConnections in a subscription. + * Gets details about the specified ExpressRouteCrossConnection. * - * @param filter The filter to apply on the operation. For example, you can use $filter=name eq - * '{circuitServiceKey}'. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String filter, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(filter, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Retrieves all the ExpressRouteCrossConnections in a 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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedIterable}. + * @return details about the specified ExpressRouteCrossConnection along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - final String filter = null; - return new PagedIterable<>(listAsync(filter)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, + String crossConnectionName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, crossConnectionName, context).block(); } /** - * Retrieves all the ExpressRouteCrossConnections in a subscription. + * Gets details about the specified ExpressRouteCrossConnection. * - * @param filter The filter to apply on the operation. For example, you can use $filter=name eq - * '{circuitServiceKey}'. - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedIterable}. + * @return details about the specified ExpressRouteCrossConnection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String filter, Context context) { - return new PagedIterable<>(listAsync(filter, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteCrossConnectionInner getByResourceGroup(String resourceGroupName, String crossConnectionName) { + return getByResourceGroupWithResponse(resourceGroupName, crossConnectionName, Context.NONE).getValue(); } /** - * Retrieves all the ExpressRouteCrossConnections in a resource group. + * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param parameters Parameters supplied to the update express route crossConnection 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 response for ListExpressRouteCrossConnection API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return expressRouteCrossConnection resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName) { + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String crossConnectionName, ExpressRouteCrossConnectionInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (crossConnectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, crossConnectionName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Retrieves all the ExpressRouteCrossConnections in a resource group. + * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param parameters Parameters supplied to the update express route crossConnection operation. * @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 response for ListExpressRouteCrossConnection API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return expressRouteCrossConnection resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String crossConnectionName, ExpressRouteCrossConnectionInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (crossConnectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, contentType, accept, parameters, context); } /** - * Retrieves all the ExpressRouteCrossConnections in a resource group. + * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param parameters Parameters supplied to the update express route crossConnection 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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of expressRouteCrossConnection resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, ExpressRouteCrossConnectionInner> + beginCreateOrUpdateAsync(String resourceGroupName, String crossConnectionName, + ExpressRouteCrossConnectionInner parameters) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, crossConnectionName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ExpressRouteCrossConnectionInner.class, + ExpressRouteCrossConnectionInner.class, this.client.getContext()); } /** - * Retrieves all the ExpressRouteCrossConnections in a resource group. + * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param parameters Parameters supplied to the update express route crossConnection operation. * @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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of expressRouteCrossConnection resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, - Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, ExpressRouteCrossConnectionInner> + beginCreateOrUpdateAsync(String resourceGroupName, String crossConnectionName, + ExpressRouteCrossConnectionInner parameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, crossConnectionName, parameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ExpressRouteCrossConnectionInner.class, + ExpressRouteCrossConnectionInner.class, context); } /** - * Retrieves all the ExpressRouteCrossConnections in a resource group. + * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param parameters Parameters supplied to the update express route crossConnection 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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of expressRouteCrossConnection resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); - } + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, ExpressRouteCrossConnectionInner> + beginCreateOrUpdate(String resourceGroupName, String crossConnectionName, + ExpressRouteCrossConnectionInner parameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, crossConnectionName, parameters).getSyncPoller(); + } /** - * Retrieves all the ExpressRouteCrossConnections in a resource group. + * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param parameters Parameters supplied to the update express route crossConnection operation. * @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 response for ListExpressRouteCrossConnection API service call as paginated response with - * {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of expressRouteCrossConnection resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, - Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, ExpressRouteCrossConnectionInner> + beginCreateOrUpdate(String resourceGroupName, String crossConnectionName, + ExpressRouteCrossConnectionInner parameters, Context context) { + return this.beginCreateOrUpdateAsync(resourceGroupName, crossConnectionName, parameters, context) + .getSyncPoller(); } /** - * Gets details about the specified ExpressRouteCrossConnection. + * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group (peering location of the circuit). + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param parameters Parameters supplied to the update express route crossConnection 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 details about the specified ExpressRouteCrossConnection along with {@link Response} on successful - * completion of {@link Mono}. + * @return expressRouteCrossConnection resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - getByResourceGroupWithResponseAsync(String resourceGroupName, String crossConnectionName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (crossConnectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - crossConnectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + public Mono createOrUpdateAsync(String resourceGroupName, + String crossConnectionName, ExpressRouteCrossConnectionInner parameters) { + return beginCreateOrUpdateAsync(resourceGroupName, crossConnectionName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets details about the specified ExpressRouteCrossConnection. + * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group (peering location of the circuit). + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param parameters Parameters supplied to the update express route crossConnection operation. * @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 details about the specified ExpressRouteCrossConnection along with {@link Response} on successful - * completion of {@link Mono}. + * @return expressRouteCrossConnection resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - getByResourceGroupWithResponseAsync(String resourceGroupName, String crossConnectionName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (crossConnectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, crossConnectionName, apiVersion, - this.client.getSubscriptionId(), accept, context); + private Mono createOrUpdateAsync(String resourceGroupName, + String crossConnectionName, ExpressRouteCrossConnectionInner parameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, crossConnectionName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets details about the specified ExpressRouteCrossConnection. + * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group (peering location of the circuit). + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param parameters Parameters supplied to the update express route crossConnection 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 details about the specified ExpressRouteCrossConnection on successful completion of {@link Mono}. + * @return expressRouteCrossConnection resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, - String crossConnectionName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, crossConnectionName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public ExpressRouteCrossConnectionInner createOrUpdate(String resourceGroupName, String crossConnectionName, + ExpressRouteCrossConnectionInner parameters) { + return createOrUpdateAsync(resourceGroupName, crossConnectionName, parameters).block(); } /** - * Gets details about the specified ExpressRouteCrossConnection. + * Update the specified ExpressRouteCrossConnection. * - * @param resourceGroupName The name of the resource group (peering location of the circuit). + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param parameters Parameters supplied to the update express route crossConnection operation. * @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 details about the specified ExpressRouteCrossConnection along with {@link Response}. + * @return expressRouteCrossConnection resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String crossConnectionName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, crossConnectionName, context).block(); + public ExpressRouteCrossConnectionInner createOrUpdate(String resourceGroupName, String crossConnectionName, + ExpressRouteCrossConnectionInner parameters, Context context) { + return createOrUpdateAsync(resourceGroupName, crossConnectionName, parameters, context).block(); } /** - * Gets details about the specified ExpressRouteCrossConnection. + * Updates an express route cross connection tags. * - * @param resourceGroupName The name of the resource group (peering location of the circuit). + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). - * @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 details about the specified ExpressRouteCrossConnection. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCrossConnectionInner getByResourceGroup(String resourceGroupName, String crossConnectionName) { - return getByResourceGroupWithResponse(resourceGroupName, crossConnectionName, Context.NONE).getValue(); - } - - /** - * Update the specified ExpressRouteCrossConnection. - * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. - * @param parameters Parameters supplied to the update express route crossConnection operation. + * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. * @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. @@ -588,12 +558,16 @@ public ExpressRouteCrossConnectionInner getByResourceGroup(String resourceGroupN * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String crossConnectionName, ExpressRouteCrossConnectionInner parameters) { + public Mono> updateTagsWithResponseAsync(String resourceGroupName, + String crossConnectionName, TagsObject crossConnectionParameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -602,29 +576,28 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + if (crossConnectionParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter crossConnectionParameters is required and cannot be null.")); } else { - parameters.validate(); + crossConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - crossConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, contentType, accept, crossConnectionParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Update the specified ExpressRouteCrossConnection. + * Updates an express route cross connection tags. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. - * @param parameters Parameters supplied to the update express route crossConnection operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. * @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. @@ -633,12 +606,16 @@ public Mono>> createOrUpdateWithResponseAsync(String r * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String crossConnectionName, ExpressRouteCrossConnectionInner parameters, Context context) { + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String crossConnectionName, TagsObject crossConnectionParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -647,329 +624,358 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + if (crossConnectionParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter crossConnectionParameters is required and cannot be null.")); } else { - parameters.validate(); + crossConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, crossConnectionName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, contentType, accept, crossConnectionParameters, context); } /** - * Update the specified ExpressRouteCrossConnection. + * Updates an express route cross connection tags. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. - * @param parameters Parameters supplied to the update express route crossConnection operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. * @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 expressRouteCrossConnection resource. + * @return expressRouteCrossConnection resource on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ExpressRouteCrossConnectionInner> - beginCreateOrUpdateAsync(String resourceGroupName, String crossConnectionName, - ExpressRouteCrossConnectionInner parameters) { - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, crossConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ExpressRouteCrossConnectionInner.class, - ExpressRouteCrossConnectionInner.class, this.client.getContext()); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateTagsAsync(String resourceGroupName, String crossConnectionName, + TagsObject crossConnectionParameters) { + return updateTagsWithResponseAsync(resourceGroupName, crossConnectionName, crossConnectionParameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Update the specified ExpressRouteCrossConnection. + * Updates an express route cross connection tags. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. - * @param parameters Parameters supplied to the update express route crossConnection operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. * @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 PollerFlux} for polling of expressRouteCrossConnection resource. + * @return expressRouteCrossConnection resource along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ExpressRouteCrossConnectionInner> - beginCreateOrUpdateAsync(String resourceGroupName, String crossConnectionName, - ExpressRouteCrossConnectionInner parameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, crossConnectionName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ExpressRouteCrossConnectionInner.class, - ExpressRouteCrossConnectionInner.class, context); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateTagsWithResponse(String resourceGroupName, + String crossConnectionName, TagsObject crossConnectionParameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, crossConnectionName, crossConnectionParameters, context) + .block(); } /** - * Update the specified ExpressRouteCrossConnection. + * Updates an express route cross connection tags. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. - * @param parameters Parameters supplied to the update express route crossConnection operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). + * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. * @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 expressRouteCrossConnection resource. + * @return expressRouteCrossConnection resource. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ExpressRouteCrossConnectionInner> - beginCreateOrUpdate(String resourceGroupName, String crossConnectionName, - ExpressRouteCrossConnectionInner parameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, crossConnectionName, parameters).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteCrossConnectionInner updateTags(String resourceGroupName, String crossConnectionName, + TagsObject crossConnectionParameters) { + return updateTagsWithResponse(resourceGroupName, crossConnectionName, crossConnectionParameters, Context.NONE) + .getValue(); } /** - * Update the specified ExpressRouteCrossConnection. + * Retrieves all the ExpressRouteCrossConnections in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. - * @param parameters Parameters supplied to the update express route crossConnection operation. - * @param context The context to associate with this operation. + * @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 {@link SyncPoller} for polling of expressRouteCrossConnection resource. + * @return the response of a ExpressRouteCrossConnection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ExpressRouteCrossConnectionInner> - beginCreateOrUpdate(String resourceGroupName, String crossConnectionName, - ExpressRouteCrossConnectionInner parameters, Context context) { - return this.beginCreateOrUpdateAsync(resourceGroupName, crossConnectionName, parameters, context) - .getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Update the specified ExpressRouteCrossConnection. + * Retrieves all the ExpressRouteCrossConnections in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. - * @param parameters Parameters supplied to the update express route crossConnection operation. + * @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 expressRouteCrossConnection resource on successful completion of {@link Mono}. + * @return the response of a ExpressRouteCrossConnection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, - String crossConnectionName, ExpressRouteCrossConnectionInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, crossConnectionName, parameters).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Update the specified ExpressRouteCrossConnection. + * Retrieves all the ExpressRouteCrossConnections in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. - * @param parameters Parameters supplied to the update express route crossConnection operation. - * @param context The context to associate with this operation. + * @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 expressRouteCrossConnection resource on successful completion of {@link Mono}. + * @return the response of a ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, - String crossConnectionName, ExpressRouteCrossConnectionInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, crossConnectionName, parameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); } /** - * Update the specified ExpressRouteCrossConnection. + * Retrieves all the ExpressRouteCrossConnections in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. - * @param parameters Parameters supplied to the update express route crossConnection operation. + * @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 expressRouteCrossConnection resource. + * @return the response of a ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCrossConnectionInner createOrUpdate(String resourceGroupName, String crossConnectionName, - ExpressRouteCrossConnectionInner parameters) { - return createOrUpdateAsync(resourceGroupName, crossConnectionName, parameters).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, + Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); + } + + /** + * Retrieves all the ExpressRouteCrossConnections in a 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 ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Update the specified ExpressRouteCrossConnection. + * Retrieves all the ExpressRouteCrossConnections in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. - * @param parameters Parameters supplied to the update express route crossConnection operation. + * @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 expressRouteCrossConnection resource. + * @return the response of a ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCrossConnectionInner createOrUpdate(String resourceGroupName, String crossConnectionName, - ExpressRouteCrossConnectionInner parameters, Context context) { - return createOrUpdateAsync(resourceGroupName, crossConnectionName, parameters, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, + Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Updates an express route cross connection tags. + * Retrieves all the ExpressRouteCrossConnections in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the cross connection. - * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. + * @param filter The filter to apply on the operation. For example, you can use $filter=name eq + * '{circuitServiceKey}'. * @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 expressRouteCrossConnection resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response of a ExpressRouteCrossConnection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateTagsWithResponseAsync(String resourceGroupName, - String crossConnectionName, TagsObject crossConnectionParameters) { + private Mono> listSinglePageAsync(String filter) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (crossConnectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (crossConnectionParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter crossConnectionParameters is required and cannot be null.")); - } else { - crossConnectionParameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, crossConnectionName, - apiVersion, this.client.getSubscriptionId(), crossConnectionParameters, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + filter, 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())); } /** - * Updates an express route cross connection tags. + * Retrieves all the ExpressRouteCrossConnections in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the cross connection. - * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. + * @param filter The filter to apply on the operation. For example, you can use $filter=name eq + * '{circuitServiceKey}'. * @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 expressRouteCrossConnection resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response of a ExpressRouteCrossConnection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String crossConnectionName, TagsObject crossConnectionParameters, Context context) { + private Mono> listSinglePageAsync(String filter, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (crossConnectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter crossConnectionName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (crossConnectionParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter crossConnectionParameters is required and cannot be null.")); - } else { - crossConnectionParameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, crossConnectionName, apiVersion, - this.client.getSubscriptionId(), crossConnectionParameters, accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), filter, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Updates an express route cross connection tags. + * Retrieves all the ExpressRouteCrossConnections in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the cross connection. - * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. + * @param filter The filter to apply on the operation. For example, you can use $filter=name eq + * '{circuitServiceKey}'. * @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 expressRouteCrossConnection resource on successful completion of {@link Mono}. + * @return the response of a ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String crossConnectionName, - TagsObject crossConnectionParameters) { - return updateTagsWithResponseAsync(resourceGroupName, crossConnectionName, crossConnectionParameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String filter) { + return new PagedFlux<>(() -> listSinglePageAsync(filter), nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Updates an express route cross connection tags. + * Retrieves all the ExpressRouteCrossConnections in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the cross connection. - * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. + * @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 ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + final String filter = null; + return new PagedFlux<>(() -> listSinglePageAsync(filter), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Retrieves all the ExpressRouteCrossConnections in a subscription. + * + * @param filter The filter to apply on the operation. For example, you can use $filter=name eq + * '{circuitServiceKey}'. * @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 expressRouteCrossConnection resource along with {@link Response}. + * @return the response of a ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, - String crossConnectionName, TagsObject crossConnectionParameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, crossConnectionName, crossConnectionParameters, context) - .block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String filter, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(filter, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Updates an express route cross connection tags. + * Retrieves all the ExpressRouteCrossConnections in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the cross connection. - * @param crossConnectionParameters Parameters supplied to update express route cross connection tags. + * @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 ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + final String filter = null; + return new PagedIterable<>(listAsync(filter)); + } + + /** + * Retrieves all the ExpressRouteCrossConnections in a subscription. + * + * @param filter The filter to apply on the operation. For example, you can use $filter=name eq + * '{circuitServiceKey}'. + * @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 expressRouteCrossConnection resource. + * @return the response of a ExpressRouteCrossConnection list operation as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteCrossConnectionInner updateTags(String resourceGroupName, String crossConnectionName, - TagsObject crossConnectionParameters) { - return updateTagsWithResponse(resourceGroupName, crossConnectionName, crossConnectionParameters, Context.NONE) - .getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String filter, Context context) { + return new PagedIterable<>(listAsync(filter, context)); } /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -985,6 +991,10 @@ public Mono>> listArpTableWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -999,24 +1009,20 @@ public Mono>> listArpTableWithResponseAsync(String res if (devicePath == null) { return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil .withContext( - context -> service.listArpTable(this.client.getEndpoint(), resourceGroupName, crossConnectionName, - peeringName, devicePath, apiVersion, this.client.getSubscriptionId(), accept, context)) + context -> service.listArpTable(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, peeringName, devicePath, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1033,6 +1039,10 @@ private Mono>> listArpTableWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1047,22 +1057,18 @@ private Mono>> listArpTableWithResponseAsync(String re if (devicePath == null) { return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listArpTable(this.client.getEndpoint(), resourceGroupName, crossConnectionName, peeringName, - devicePath, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.listArpTable(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, peeringName, devicePath, accept, context); } /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1087,8 +1093,8 @@ private Mono>> listArpTableWithResponseAsync(String re /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1115,8 +1121,8 @@ private Mono>> listArpTableWithResponseAsync(String re /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1136,8 +1142,8 @@ private Mono>> listArpTableWithResponseAsync(String re /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1159,8 +1165,8 @@ private Mono>> listArpTableWithResponseAsync(String re /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1179,8 +1185,8 @@ public Mono listArpTableAsync(Strin /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1200,8 +1206,8 @@ private Mono listArpTableAsync(Stri /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1219,8 +1225,8 @@ public ExpressRouteCircuitsArpTableListResultInner listArpTable(String resourceG /** * Gets the currently advertised ARP table associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1239,8 +1245,8 @@ public ExpressRouteCircuitsArpTableListResultInner listArpTable(String resourceG /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1256,6 +1262,10 @@ public Mono>> listRoutesTableSummaryWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1270,24 +1280,20 @@ public Mono>> listRoutesTableSummaryWithResponseAsync( if (devicePath == null) { return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listRoutesTableSummary(this.client.getEndpoint(), resourceGroupName, - crossConnectionName, peeringName, devicePath, apiVersion, this.client.getSubscriptionId(), accept, - context)) + .withContext(context -> service.listRoutesTableSummary(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, crossConnectionName, peeringName, devicePath, + accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1304,6 +1310,10 @@ private Mono>> listRoutesTableSummaryWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1318,22 +1328,18 @@ private Mono>> listRoutesTableSummaryWithResponseAsync if (devicePath == null) { return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listRoutesTableSummary(this.client.getEndpoint(), resourceGroupName, crossConnectionName, - peeringName, devicePath, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.listRoutesTableSummary(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, peeringName, devicePath, accept, context); } /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1359,8 +1365,8 @@ private Mono>> listRoutesTableSummaryWithResponseAsync /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1388,8 +1394,8 @@ private Mono>> listRoutesTableSummaryWithResponseAsync /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1410,8 +1416,8 @@ private Mono>> listRoutesTableSummaryWithResponseAsync /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1434,8 +1440,8 @@ private Mono>> listRoutesTableSummaryWithResponseAsync /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1454,8 +1460,8 @@ public Mono listR /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1475,8 +1481,8 @@ private Mono list /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1493,8 +1499,8 @@ public ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner listRoutesT /** * Gets the route table summary associated with the express route cross connection in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1514,8 +1520,8 @@ public ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner listRoutesT * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1531,6 +1537,10 @@ public Mono>> listRoutesTableWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1545,16 +1555,12 @@ public Mono>> listRoutesTableWithResponseAsync(String if (devicePath == null) { return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.listRoutesTable(this.client.getEndpoint(), resourceGroupName, crossConnectionName, - peeringName, devicePath, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listRoutesTable(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, crossConnectionName, peeringName, devicePath, + accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1562,8 +1568,8 @@ public Mono>> listRoutesTableWithResponseAsync(String * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1580,6 +1586,10 @@ private Mono>> listRoutesTableWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1594,23 +1604,19 @@ private Mono>> listRoutesTableWithResponseAsync(String if (devicePath == null) { return Mono.error(new IllegalArgumentException("Parameter devicePath is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listRoutesTable(this.client.getEndpoint(), resourceGroupName, crossConnectionName, peeringName, - devicePath, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.listRoutesTable(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, crossConnectionName, peeringName, devicePath, accept, context); } /** * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1636,8 +1642,8 @@ private Mono>> listRoutesTableWithResponseAsync(String * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1665,8 +1671,8 @@ private Mono>> listRoutesTableWithResponseAsync(String * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1688,8 +1694,8 @@ private Mono>> listRoutesTableWithResponseAsync(String * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1712,8 +1718,8 @@ private Mono>> listRoutesTableWithResponseAsync(String * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1733,8 +1739,8 @@ public Mono listRoutesTableAsync * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1756,8 +1762,8 @@ private Mono listRoutesTableAsyn * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1776,8 +1782,8 @@ public ExpressRouteCircuitsRoutesTableListResultInner listRoutesTable(String res * Gets the currently advertised routes table associated with the express route cross connection in a resource * group. * - * @param resourceGroupName The name of the resource group. - * @param crossConnectionName The name of the ExpressRouteCrossConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param crossConnectionName The name of the ExpressRouteCrossConnection (service key of the circuit). * @param peeringName The name of the peering. * @param devicePath The path of the device. * @param context The context to associate with this operation. @@ -1800,11 +1806,12 @@ public ExpressRouteCircuitsRoutesTableListResultInner listRoutesTable(String res * @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 response for ListExpressRouteCrossConnection API service call along with {@link PagedResponse} on + * @return the response of a ExpressRouteCrossConnection list operation along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> + listByResourceGroupNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1813,7 +1820,9 @@ private Mono> listNextSinglePage new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + 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())); @@ -1827,12 +1836,12 @@ private Mono> listNextSinglePage * @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 response for ListExpressRouteCrossConnection API service call along with {@link PagedResponse} on + * @return the response of a ExpressRouteCrossConnection list operation along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, - Context context) { + private Mono> + listByResourceGroupNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1842,7 +1851,7 @@ private Mono> listNextSinglePage } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return 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)); } @@ -1854,12 +1863,11 @@ private Mono> listNextSinglePage * @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 response for ListExpressRouteCrossConnection API service call along with {@link PagedResponse} on + * @return the response of a ExpressRouteCrossConnection list operation along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1868,9 +1876,7 @@ private Mono> listNextSinglePage new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1884,12 +1890,12 @@ private Mono> listNextSinglePage * @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 response for ListExpressRouteCrossConnection API service call along with {@link PagedResponse} on + * @return the response of a ExpressRouteCrossConnection list operation along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, + Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1899,7 +1905,7 @@ private Mono> listNextSinglePage } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java index ede546c66f0c..d4c391a7c870 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -20,6 +20,10 @@ 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; @@ -30,10 +34,11 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ExpressRouteGatewaysClient; import com.azure.resourcemanager.network.fluent.models.ExpressRouteGatewayInner; -import com.azure.resourcemanager.network.fluent.models.ExpressRouteGatewayListInner; +import com.azure.resourcemanager.network.implementation.models.ExpressRouteGatewayList; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -41,8 +46,8 @@ /** * An instance of this class provides access to all the operations defined in ExpressRouteGatewaysClient. */ -public final class ExpressRouteGatewaysClientImpl - implements InnerSupportsGet, InnerSupportsDelete, ExpressRouteGatewaysClient { +public final class ExpressRouteGatewaysClientImpl implements InnerSupportsGet, + InnerSupportsListing, InnerSupportsDelete, ExpressRouteGatewaysClient { /** * The proxy service used to perform REST calls. */ @@ -68,105 +73,79 @@ public final class ExpressRouteGatewaysClientImpl * The interface defining all the services for NetworkManagementClientExpressRouteGateways to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRouteGateways") public interface ExpressRouteGatewaysService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listBySubscription(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("expressRouteGatewayName") String expressRouteGatewayName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRouteGatewayName") String expressRouteGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ExpressRouteGatewayInner putExpressRouteGatewayParameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ExpressRouteGatewayInner putExpressRouteGatewayParameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateTags(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRouteGatewayName") String expressRouteGatewayName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") TagsObject expressRouteGatewayParameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject expressRouteGatewayParameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}") + @ExpectedResponses({ 200, 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("expressRouteGatewayName") String expressRouteGatewayName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("expressRouteGatewayName") String expressRouteGatewayName, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}") - @ExpectedResponses({ 200, 202, 204 }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("expressRouteGatewayName") String expressRouteGatewayName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); } /** - * Lists ExpressRoute gateways under a given 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 list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listBySubscriptionWithResponseAsync() { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listBySubscription(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Lists ExpressRoute gateways under a given subscription. + * Fetches the details of a ExpressRoute gateway in a resource group. * - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. + * @return expressRoute gateway resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listBySubscriptionWithResponseAsync(Context context) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String expressRouteGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -175,162 +154,112 @@ private Mono> listBySubscriptionWithRespo return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.listBySubscription(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context); - } - - /** - * Lists ExpressRoute gateways under a given 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 list of ExpressRoute gateways on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listBySubscriptionAsync() { - return listBySubscriptionWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Lists ExpressRoute gateways under a given 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 list of ExpressRoute gateways along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listBySubscriptionWithResponse(Context context) { - return listBySubscriptionWithResponseAsync(context).block(); - } - - /** - * Lists ExpressRoute gateways under a given 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 list of ExpressRoute gateways. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteGatewayListInner listBySubscription() { - return listBySubscriptionWithResponse(Context.NONE).getValue(); - } - - /** - * Lists ExpressRoute gateways in a given resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listByResourceGroupWithResponseAsync(String resourceGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (expressRouteGatewayName == null) { + return Mono.error( + new IllegalArgumentException("Parameter expressRouteGatewayName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRouteGatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Lists ExpressRoute gateways in a given resource group. + * Fetches the details of a ExpressRoute gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. + * @return expressRoute gateway resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupWithResponseAsync(String resourceGroupName, - Context context) { + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String expressRouteGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (expressRouteGatewayName == null) { + return Mono.error( + new IllegalArgumentException("Parameter expressRouteGatewayName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRouteGatewayName, accept, context); } /** - * Lists ExpressRoute gateways in a given resource group. + * Fetches the details of a ExpressRoute gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 list of ExpressRoute gateways on successful completion of {@link Mono}. + * @return expressRoute gateway resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listByResourceGroupAsync(String resourceGroupName) { - return listByResourceGroupWithResponseAsync(resourceGroupName).flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono getByResourceGroupAsync(String resourceGroupName, + String expressRouteGatewayName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, expressRouteGatewayName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Lists ExpressRoute gateways in a given resource group. + * Fetches the details of a ExpressRoute gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 list of ExpressRoute gateways along with {@link Response}. + * @return expressRoute gateway resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listByResourceGroupWithResponse(String resourceGroupName, - Context context) { - return listByResourceGroupWithResponseAsync(resourceGroupName, context).block(); + public Response getByResourceGroupWithResponse(String resourceGroupName, + String expressRouteGatewayName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, expressRouteGatewayName, context).block(); } /** - * Lists ExpressRoute gateways in a given resource group. + * Fetches the details of a ExpressRoute gateway in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 list of ExpressRoute gateways. + * @return expressRoute gateway resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteGatewayListInner listByResourceGroup(String resourceGroupName) { - return listByResourceGroupWithResponse(resourceGroupName, Context.NONE).getValue(); + public ExpressRouteGatewayInner getByResourceGroup(String resourceGroupName, String expressRouteGatewayName) { + return getByResourceGroupWithResponse(resourceGroupName, expressRouteGatewayName, Context.NONE).getValue(); } /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -345,6 +274,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -353,10 +286,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter expressRouteGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (putExpressRouteGatewayParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter putExpressRouteGatewayParameters is required and cannot be null.")); @@ -364,18 +293,19 @@ public Mono>> createOrUpdateWithResponseAsync(String r putExpressRouteGatewayParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, expressRouteGatewayName, - apiVersion, this.client.getSubscriptionId(), putExpressRouteGatewayParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRouteGatewayName, contentType, accept, + putExpressRouteGatewayParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @param context The context to associate with this operation. @@ -391,6 +321,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -399,10 +333,6 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter expressRouteGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (putExpressRouteGatewayParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter putExpressRouteGatewayParameters is required and cannot be null.")); @@ -410,16 +340,17 @@ private Mono>> createOrUpdateWithResponseAsync(String putExpressRouteGatewayParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, expressRouteGatewayName, apiVersion, - this.client.getSubscriptionId(), putExpressRouteGatewayParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRouteGatewayName, contentType, accept, putExpressRouteGatewayParameters, context); } /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -441,7 +372,7 @@ public PollerFlux, ExpressRouteGatewayInner /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @param context The context to associate with this operation. @@ -464,7 +395,7 @@ private PollerFlux, ExpressRouteGatewayInne /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -484,7 +415,7 @@ public SyncPoller, ExpressRouteGatewayInner /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @param context The context to associate with this operation. @@ -506,7 +437,7 @@ public SyncPoller, ExpressRouteGatewayInner /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -525,7 +456,7 @@ public Mono createOrUpdateAsync(String resourceGroupNa /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @param context The context to associate with this operation. @@ -544,7 +475,7 @@ private Mono createOrUpdateAsync(String resourceGroupN /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -562,7 +493,7 @@ public ExpressRouteGatewayInner createOrUpdate(String resourceGroupName, String /** * Creates or updates a ExpressRoute gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param putExpressRouteGatewayParameters Parameters required in an ExpressRoute gateway PUT operation. * @param context The context to associate with this operation. @@ -581,8 +512,8 @@ public ExpressRouteGatewayInner createOrUpdate(String resourceGroupName, String /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -615,18 +546,20 @@ public Mono>> updateTagsWithResponseAsync(String resou expressRouteGatewayParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, expressRouteGatewayName, apiVersion, expressRouteGatewayParameters, accept, context)) + .withContext(context -> service.updateTags(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRouteGatewayName, contentType, accept, + expressRouteGatewayParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -660,17 +593,18 @@ private Mono>> updateTagsWithResponseAsync(String reso expressRouteGatewayParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - expressRouteGatewayName, apiVersion, expressRouteGatewayParameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRouteGatewayName, contentType, accept, expressRouteGatewayParameters, context); } /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -690,8 +624,8 @@ public PollerFlux, ExpressRouteGatewayInner /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -713,8 +647,8 @@ private PollerFlux, ExpressRouteGatewayInne /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -731,8 +665,8 @@ public SyncPoller, ExpressRouteGatewayInner /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -752,8 +686,8 @@ public SyncPoller, ExpressRouteGatewayInner /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -770,8 +704,8 @@ public Mono updateTagsAsync(String resourceGroupName, /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -790,8 +724,8 @@ private Mono updateTagsAsync(String resourceGroupName, /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -807,8 +741,8 @@ public ExpressRouteGatewayInner updateTags(String resourceGroupName, String expr /** * Updates express route gateway tags. * - * @param resourceGroupName The resource group name of the ExpressRouteGateway. - * @param expressRouteGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route gateway tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -824,22 +758,27 @@ public ExpressRouteGatewayInner updateTags(String resourceGroupName, String expr } /** - * Fetches the details of a ExpressRoute gateway in a resource group. + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRoute gateway resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + public Mono>> deleteWithResponseAsync(String resourceGroupName, String expressRouteGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -848,36 +787,36 @@ public Mono> getByResourceGroupWithResponseAs return Mono.error( new IllegalArgumentException("Parameter expressRouteGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - expressRouteGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRouteGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Fetches the details of a ExpressRoute gateway in a resource group. + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRoute gateway resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + private Mono>> deleteWithResponseAsync(String resourceGroupName, String expressRouteGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -886,280 +825,382 @@ private Mono> getByResourceGroupWithResponseA return Mono.error( new IllegalArgumentException("Parameter expressRouteGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, expressRouteGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + expressRouteGatewayName, context); } /** - * Fetches the details of a ExpressRoute gateway in a resource group. + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRoute gateway resource on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRouteGatewayName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, expressRouteGatewayName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, expressRouteGatewayName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Fetches the details of a ExpressRoute gateway in a resource group. + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRoute gateway resource along with {@link Response}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRouteGatewayName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, expressRouteGatewayName, context).block(); + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, expressRouteGatewayName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Fetches the details of a ExpressRoute gateway in a resource group. + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 expressRoute gateway resource. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String expressRouteGatewayName) { + return this.beginDeleteAsync(resourceGroupName, expressRouteGatewayName).getSyncPoller(); + } + + /** + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 expressRouteGatewayName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, expressRouteGatewayName, context).getSyncPoller(); + } + + /** + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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) - public ExpressRouteGatewayInner getByResourceGroup(String resourceGroupName, String expressRouteGatewayName) { - return getByResourceGroupWithResponse(resourceGroupName, expressRouteGatewayName, Context.NONE).getValue(); + public Mono deleteAsync(String resourceGroupName, String expressRouteGatewayName) { + return beginDeleteAsync(resourceGroupName, expressRouteGatewayName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be * deleted when there are no connection subresources. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 Response} on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String expressRouteGatewayName) { + private Mono deleteAsync(String resourceGroupName, String expressRouteGatewayName, Context context) { + return beginDeleteAsync(resourceGroupName, expressRouteGatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 expressRouteGatewayName) { + deleteAsync(resourceGroupName, expressRouteGatewayName).block(); + } + + /** + * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be + * deleted when there are no connection subresources. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 expressRouteGatewayName, Context context) { + deleteAsync(resourceGroupName, expressRouteGatewayName, context).block(); + } + + /** + * Lists ExpressRoute gateways in a given 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 list of ExpressRoute gateways along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (expressRouteGatewayName == null) { - return Mono.error( - new IllegalArgumentException("Parameter expressRouteGatewayName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - expressRouteGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways in a given resource group. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 {@link Response} on successful completion of {@link Mono}. + * @return list of ExpressRoute gateways along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String expressRouteGatewayName, Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (expressRouteGatewayName == null) { - return Mono.error( - new IllegalArgumentException("Parameter expressRouteGatewayName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, expressRouteGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), null, null)); } /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways in a given resource group. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 {@link PollerFlux} for polling of long-running operation. + * @return list of ExpressRoute gateways as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String expressRouteGatewayName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, expressRouteGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName)); } /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways in a given resource group. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 {@link PollerFlux} for polling of long-running operation. + * @return list of ExpressRoute gateways as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String expressRouteGatewayName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, expressRouteGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context)); } /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways in a given resource group. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 {@link SyncPoller} for polling of long-running operation. + * @return list of ExpressRoute gateways as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String expressRouteGatewayName) { - return this.beginDeleteAsync(resourceGroupName, expressRouteGatewayName).getSyncPoller(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways in a given resource group. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 {@link SyncPoller} for polling of long-running operation. + * @return list of ExpressRoute gateways as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String expressRouteGatewayName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, expressRouteGatewayName, context).getSyncPoller(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways under a given subscription. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @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. + * @return list of ExpressRoute gateways along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String expressRouteGatewayName) { - return beginDeleteAsync(resourceGroupName, expressRouteGatewayName).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways under a given subscription. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 A {@link Mono} that completes when a successful response is received. + * @return list of ExpressRoute gateways along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String expressRouteGatewayName, Context context) { - return beginDeleteAsync(resourceGroupName, expressRouteGatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), null, null)); } /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways under a given subscription. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 list of ExpressRoute gateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync()); + } + + /** + * Lists ExpressRoute gateways under a given 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 list of ExpressRoute gateways as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String expressRouteGatewayName) { - deleteAsync(resourceGroupName, expressRouteGatewayName).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context)); } /** - * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be - * deleted when there are no connection subresources. + * Lists ExpressRoute gateways under a given 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 list of ExpressRoute gateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Lists ExpressRoute gateways under a given subscription. * - * @param resourceGroupName The name of the resource group. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. * @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 list of ExpressRoute gateways as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String expressRouteGatewayName, Context context) { - deleteAsync(resourceGroupName, expressRouteGatewayName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java index 364d7db124ce..9931b705f391 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.ExpressRouteLinksClient; import com.azure.resourcemanager.network.fluent.models.ExpressRouteLinkInner; -import com.azure.resourcemanager.network.models.ExpressRouteLinkListResult; +import com.azure.resourcemanager.network.implementation.models.ExpressRouteLinkListResult; import reactor.core.publisher.Mono; /** @@ -59,15 +59,15 @@ public final class ExpressRouteLinksClientImpl implements ExpressRouteLinksClien * The interface defining all the services for NetworkManagementClientExpressRouteLinks to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRouteLinks") public interface ExpressRouteLinksService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, @PathParam("linkName") String linkName, @HeaderParam("Accept") String accept, Context context); @@ -76,8 +76,8 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, @HeaderParam("Accept") String accept, Context context); @@ -87,16 +87,16 @@ Mono> list(@HostParam("$host") String endpo @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the specified ExpressRouteLink resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param linkName The name of the ExpressRouteLink resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param linkName The name of the express route link. * @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. @@ -127,7 +127,7 @@ public Mono> getWithResponseAsync(String resourc final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, linkName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -135,9 +135,9 @@ public Mono> getWithResponseAsync(String resourc /** * Retrieves the specified ExpressRouteLink resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param linkName The name of the ExpressRouteLink resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param linkName The name of the express route link. * @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. @@ -169,16 +169,16 @@ private Mono> getWithResponseAsync(String resour final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, resourceGroupName, + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, linkName, accept, context); } /** * Retrieves the specified ExpressRouteLink resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param linkName The name of the ExpressRouteLink resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param linkName The name of the express route link. * @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. @@ -194,9 +194,9 @@ public Mono getAsync(String resourceGroupName, String exp /** * Retrieves the specified ExpressRouteLink resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param linkName The name of the ExpressRouteLink resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param linkName The name of the express route link. * @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. @@ -212,9 +212,9 @@ public Response getWithResponse(String resourceGroupName, /** * Retrieves the specified ExpressRouteLink resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @param linkName The name of the ExpressRouteLink resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param linkName The name of the express route link. * @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. @@ -228,8 +228,8 @@ public ExpressRouteLinkInner get(String resourceGroupName, String expressRoutePo /** * Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @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. @@ -257,7 +257,7 @@ private Mono> listSinglePageAsync(String re final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -267,8 +267,8 @@ private Mono> listSinglePageAsync(String re /** * Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @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. @@ -298,7 +298,7 @@ private Mono> listSinglePageAsync(String re final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, resourceGroupName, + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); @@ -307,8 +307,8 @@ private Mono> listSinglePageAsync(String re /** * Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @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. @@ -323,8 +323,8 @@ public PagedFlux listAsync(String resourceGroupName, Stri /** * Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @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. @@ -341,8 +341,8 @@ private PagedFlux listAsync(String resourceGroupName, Str /** * Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @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. @@ -356,8 +356,8 @@ public PagedIterable list(String resourceGroupName, Strin /** * Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java index f29a30dbc4fc..95cf3b4b9dc4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ExpressRoutePortAuthorizationsClient; import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortAuthorizationInner; -import com.azure.resourcemanager.network.models.ExpressRoutePortAuthorizationListResult; +import com.azure.resourcemanager.network.implementation.models.ExpressRoutePortAuthorizationListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,294 +67,64 @@ public final class ExpressRoutePortAuthorizationsClientImpl implements ExpressRo * The interface defining all the services for NetworkManagementClientExpressRoutePortAuthorizations to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRoutePortAuthorizations") public interface ExpressRoutePortAuthorizationsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("expressRoutePortName") String expressRoutePortName, - @PathParam("authorizationName") String authorizationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, - @PathParam("authorizationName") String authorizationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("authorizationName") String authorizationName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, - @PathParam("authorizationName") String authorizationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ExpressRoutePortAuthorizationInner authorizationParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("authorizationName") String authorizationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") ExpressRoutePortAuthorizationInner authorizationParameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}") + @ExpectedResponses({ 200, 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("expressRoutePortName") String expressRoutePortName, + @PathParam("authorizationName") String authorizationName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("expressRoutePortName") String expressRoutePortName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("expressRoutePortName") String expressRoutePortName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String expressRoutePortName, String authorizationName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (expressRoutePortName == null) { - return Mono - .error(new IllegalArgumentException("Parameter expressRoutePortName is required and cannot be null.")); - } - if (authorizationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, expressRoutePortName, - authorizationName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String expressRoutePortName, String authorizationName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (expressRoutePortName == null) { - return Mono - .error(new IllegalArgumentException("Parameter expressRoutePortName is required and cannot be null.")); - } - if (authorizationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, expressRoutePortName, authorizationName, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName, - String authorizationName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, expressRoutePortName, authorizationName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName, - String authorizationName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, expressRoutePortName, authorizationName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 expressRoutePortName, - String authorizationName) { - return this.beginDeleteAsync(resourceGroupName, expressRoutePortName, authorizationName).getSyncPoller(); - } - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 expressRoutePortName, - String authorizationName, Context context) { - return this.beginDeleteAsync(resourceGroupName, expressRoutePortName, authorizationName, context) - .getSyncPoller(); - } - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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) - public Mono deleteAsync(String resourceGroupName, String expressRoutePortName, String authorizationName) { - return beginDeleteAsync(resourceGroupName, expressRoutePortName, authorizationName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String expressRoutePortName, String authorizationName, - Context context) { - return beginDeleteAsync(resourceGroupName, expressRoutePortName, authorizationName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 expressRoutePortName, String authorizationName) { - deleteAsync(resourceGroupName, expressRoutePortName, authorizationName).block(); - } - - /** - * Deletes the specified authorization from the specified express route port. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the express route port. - * @param authorizationName The name of the authorization. - * @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 expressRoutePortName, String authorizationName, - Context context) { - deleteAsync(resourceGroupName, expressRoutePortName, authorizationName, context).block(); - } - /** * Gets the specified authorization from the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -370,6 +140,10 @@ public Mono> getWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -382,22 +156,18 @@ public Mono> getWithResponseAsync(S return Mono .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, expressRoutePortName, - authorizationName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRoutePortName, authorizationName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified authorization from the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param context The context to associate with this operation. @@ -414,6 +184,10 @@ private Mono> getWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -426,21 +200,17 @@ private Mono> getWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, expressRoutePortName, authorizationName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + expressRoutePortName, authorizationName, accept, context); } /** * Gets the specified authorization from the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -459,7 +229,7 @@ public Mono getAsync(String resourceGroupNam /** * Gets the specified authorization from the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param context The context to associate with this operation. @@ -477,7 +247,7 @@ public Response getWithResponse(String resou /** * Gets the specified authorization from the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -494,7 +264,7 @@ public ExpressRoutePortAuthorizationInner get(String resourceGroupName, String e /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -512,6 +282,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -524,10 +298,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (authorizationParameters == null) { return Mono.error( new IllegalArgumentException("Parameter authorizationParameters is required and cannot be null.")); @@ -535,18 +305,19 @@ public Mono>> createOrUpdateWithResponseAsync(String r authorizationParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - expressRoutePortName, authorizationName, apiVersion, this.client.getSubscriptionId(), - authorizationParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, authorizationName, + contentType, accept, authorizationParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -565,6 +336,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -577,10 +352,6 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (authorizationParameters == null) { return Mono.error( new IllegalArgumentException("Parameter authorizationParameters is required and cannot be null.")); @@ -588,16 +359,18 @@ private Mono>> createOrUpdateWithResponseAsync(String authorizationParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, expressRoutePortName, - authorizationName, apiVersion, this.client.getSubscriptionId(), authorizationParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRoutePortName, authorizationName, contentType, accept, authorizationParameters, + context); } /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -621,7 +394,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -647,7 +420,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -670,7 +443,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -694,7 +467,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -715,7 +488,7 @@ public Mono createOrUpdateAsync(String resou /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -737,7 +510,7 @@ private Mono createOrUpdateAsync(String reso /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -757,7 +530,7 @@ public ExpressRoutePortAuthorizationInner createOrUpdate(String resourceGroupNam /** * Creates or updates an authorization in the specified express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param authorizationName The name of the authorization. * @param authorizationParameters Parameters supplied to the create or update express route port authorization @@ -775,10 +548,238 @@ public ExpressRoutePortAuthorizationInner createOrUpdate(String resourceGroupNam context).block(); } + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String expressRoutePortName, String authorizationName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (expressRoutePortName == null) { + return Mono + .error(new IllegalArgumentException("Parameter expressRoutePortName is required and cannot be null.")); + } + if (authorizationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, authorizationName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String expressRoutePortName, String authorizationName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (expressRoutePortName == null) { + return Mono + .error(new IllegalArgumentException("Parameter expressRoutePortName is required and cannot be null.")); + } + if (authorizationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter authorizationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + expressRoutePortName, authorizationName, context); + } + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName, + String authorizationName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, expressRoutePortName, authorizationName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName, + String authorizationName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, expressRoutePortName, authorizationName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 expressRoutePortName, + String authorizationName) { + return this.beginDeleteAsync(resourceGroupName, expressRoutePortName, authorizationName).getSyncPoller(); + } + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 expressRoutePortName, + String authorizationName, Context context) { + return this.beginDeleteAsync(resourceGroupName, expressRoutePortName, authorizationName, context) + .getSyncPoller(); + } + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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) + public Mono deleteAsync(String resourceGroupName, String expressRoutePortName, String authorizationName) { + return beginDeleteAsync(resourceGroupName, expressRoutePortName, authorizationName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String expressRoutePortName, String authorizationName, + Context context) { + return beginDeleteAsync(resourceGroupName, expressRoutePortName, authorizationName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 expressRoutePortName, String authorizationName) { + deleteAsync(resourceGroupName, expressRoutePortName, authorizationName).block(); + } + + /** + * Deletes the specified authorization from the specified express route port. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @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 expressRoutePortName, String authorizationName, + Context context) { + deleteAsync(resourceGroupName, expressRoutePortName, authorizationName, context).block(); + } + /** * Gets all authorizations in an express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -793,6 +794,10 @@ private Mono> listSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -801,15 +806,11 @@ private Mono> listSinglePageAs return Mono .error(new IllegalArgumentException("Parameter expressRoutePortName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, expressRoutePortName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRoutePortName, 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())); @@ -818,7 +819,7 @@ private Mono> listSinglePageAs /** * Gets all authorizations in an express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -834,6 +835,10 @@ private Mono> listSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -842,16 +847,12 @@ private Mono> listSinglePageAs return Mono .error(new IllegalArgumentException("Parameter expressRoutePortName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, expressRoutePortName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + expressRoutePortName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -859,7 +860,7 @@ private Mono> listSinglePageAs /** * Gets all authorizations in an express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -876,7 +877,7 @@ public PagedFlux listAsync(String resourceGr /** * Gets all authorizations in an express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -894,7 +895,7 @@ private PagedFlux listAsync(String resourceG /** * Gets all authorizations in an express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -910,7 +911,7 @@ public PagedIterable list(String resourceGro /** * Gets all authorizations in an express route port. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of the express route port. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java index 7d5d53336148..cdf1cb59d826 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -35,9 +35,9 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ExpressRoutePortsClient; import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortInner; -import com.azure.resourcemanager.network.fluent.models.GenerateExpressRoutePortsLoaResultInner; -import com.azure.resourcemanager.network.models.ExpressRoutePortListResult; -import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLoaRequest; +import com.azure.resourcemanager.network.fluent.models.GenerateExpressRoutePortsLOAResultInner; +import com.azure.resourcemanager.network.implementation.models.ExpressRoutePortListResult; +import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLOARequest; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -76,57 +76,54 @@ public final class ExpressRoutePortsClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("expressRoutePortName") String expressRoutePortName, @HeaderParam("Accept") String accept, - Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, - @BodyParam("application/json") ExpressRoutePortInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ExpressRoutePortInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}") + @ExpectedResponses({ 200, 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("expressRoutePortName") String expressRoutePortName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + 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); @@ -134,27 +131,26 @@ Mono> listByResourceGroup(@HostParam("$host @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + 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" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/generateLoa") + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/generateLoa") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> generateLoa(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Mono> generateLOA(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, - @BodyParam("application/json") GenerateExpressRoutePortsLoaRequest request, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") GenerateExpressRoutePortsLOARequest request, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -162,220 +158,14 @@ Mono> listByResourceGroupNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String expressRoutePortName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (expressRoutePortName == null) { - return Mono - .error(new IllegalArgumentException("Parameter expressRoutePortName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - apiVersion, resourceGroupName, expressRoutePortName, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String expressRoutePortName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (expressRoutePortName == null) { - return Mono - .error(new IllegalArgumentException("Parameter expressRoutePortName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, resourceGroupName, - expressRoutePortName, accept, context); - } - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, expressRoutePortName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, expressRoutePortName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @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 expressRoutePortName) { - return this.beginDeleteAsync(resourceGroupName, expressRoutePortName).getSyncPoller(); - } - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @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 expressRoutePortName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, expressRoutePortName, context).getSyncPoller(); - } - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @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) - public Mono deleteAsync(String resourceGroupName, String expressRoutePortName) { - return beginDeleteAsync(resourceGroupName, expressRoutePortName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String expressRoutePortName, Context context) { - return beginDeleteAsync(resourceGroupName, expressRoutePortName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @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 expressRoutePortName) { - deleteAsync(resourceGroupName, expressRoutePortName).block(); - } - - /** - * Deletes the specified ExpressRoutePort resource. - * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. - * @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 expressRoutePortName, Context context) { - deleteAsync(resourceGroupName, expressRoutePortName, context).block(); - } - /** * Retrieves the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -404,15 +194,15 @@ public Mono> getByResourceGroupWithResponseAsync final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), apiVersion, resourceGroupName, expressRoutePortName, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -442,14 +232,14 @@ private Mono> getByResourceGroupWithResponseAsyn final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, accept, context); } /** * Retrieves the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -465,7 +255,7 @@ public Mono getByResourceGroupAsync(String resourceGroupN /** * Retrieves the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -482,7 +272,7 @@ public Response getByResourceGroupWithResponse(String res /** * Retrieves the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -497,8 +287,8 @@ public ExpressRoutePortInner getByResourceGroup(String resourceGroupName, String /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -530,18 +320,20 @@ public Mono>> createOrUpdateWithResponseAsync(String r parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - apiVersion, resourceGroupName, expressRoutePortName, parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -574,17 +366,18 @@ private Mono>> createOrUpdateWithResponseAsync(String parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - resourceGroupName, expressRoutePortName, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRoutePortName, contentType, accept, parameters, context); } /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -604,8 +397,8 @@ public PollerFlux, ExpressRoutePortInner> begi /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -626,8 +419,8 @@ private PollerFlux, ExpressRoutePortInner> beg /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -643,8 +436,8 @@ private PollerFlux, ExpressRoutePortInner> beg /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -662,8 +455,8 @@ public SyncPoller, ExpressRoutePortInner> begi /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -680,8 +473,8 @@ public Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -699,8 +492,8 @@ private Mono createOrUpdateAsync(String resourceGroupName /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -716,8 +509,8 @@ public ExpressRoutePortInner createOrUpdate(String resourceGroupName, String exp /** * Creates or updates the specified ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to the create ExpressRoutePort operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -734,8 +527,8 @@ public ExpressRoutePortInner createOrUpdate(String resourceGroupName, String exp /** * Update ExpressRoutePort tags. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to update ExpressRoutePort resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -767,18 +560,20 @@ public Mono> updateTagsWithResponseAsync(String parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), - apiVersion, resourceGroupName, expressRoutePortName, parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRoutePortName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Update ExpressRoutePort tags. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to update ExpressRoutePort resource tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -811,17 +606,18 @@ private Mono> updateTagsWithResponseAsync(String parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - resourceGroupName, expressRoutePortName, parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRoutePortName, contentType, accept, parameters, context); } /** * Update ExpressRoutePort tags. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to update ExpressRoutePort resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -838,8 +634,8 @@ public Mono updateTagsAsync(String resourceGroupName, Str /** * Update ExpressRoutePort tags. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to update ExpressRoutePort resource tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -856,8 +652,8 @@ public Response updateTagsWithResponse(String resourceGro /** * Update ExpressRoutePort tags. * - * @param resourceGroupName The name of the resource group. - * @param expressRoutePortName The name of the ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. * @param parameters Parameters supplied to update ExpressRoutePort resource tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -870,10 +666,214 @@ public ExpressRoutePortInner updateTags(String resourceGroupName, String express return updateTagsWithResponse(resourceGroupName, expressRoutePortName, parameters, Context.NONE).getValue(); } + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String expressRoutePortName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (expressRoutePortName == null) { + return Mono + .error(new IllegalArgumentException("Parameter expressRoutePortName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String expressRoutePortName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (expressRoutePortName == null) { + return Mono + .error(new IllegalArgumentException("Parameter expressRoutePortName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + expressRoutePortName, context); + } + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, expressRoutePortName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String expressRoutePortName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, expressRoutePortName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 expressRoutePortName) { + return this.beginDeleteAsync(resourceGroupName, expressRoutePortName).getSyncPoller(); + } + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 expressRoutePortName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, expressRoutePortName, context).getSyncPoller(); + } + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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) + public Mono deleteAsync(String resourceGroupName, String expressRoutePortName) { + return beginDeleteAsync(resourceGroupName, expressRoutePortName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String expressRoutePortName, Context context) { + return beginDeleteAsync(resourceGroupName, expressRoutePortName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 expressRoutePortName) { + deleteAsync(resourceGroupName, expressRoutePortName).block(); + } + + /** + * Deletes the specified ExpressRoutePort resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRoutePortName The name of ExpressRoutePort. + * @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 expressRoutePortName, Context context) { + deleteAsync(resourceGroupName, expressRoutePortName, context).block(); + } + /** * List all the ExpressRoutePort resources in the specified resource group. * - * @param resourceGroupName The name of the 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. @@ -896,8 +896,8 @@ private Mono> listByResourceGroupSinglePage final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), apiVersion, resourceGroupName, accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -906,7 +906,7 @@ private Mono> listByResourceGroupSinglePage /** * List all the ExpressRoutePort resources in the specified resource group. * - * @param resourceGroupName The name of the 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. @@ -932,7 +932,7 @@ private Mono> listByResourceGroupSinglePage final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); @@ -941,7 +941,7 @@ private Mono> listByResourceGroupSinglePage /** * List all the ExpressRoutePort resources in the specified resource group. * - * @param resourceGroupName The name of the 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. @@ -956,7 +956,7 @@ public PagedFlux listByResourceGroupAsync(String resource /** * List all the ExpressRoutePort resources in the specified resource group. * - * @param resourceGroupName The name of the 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. @@ -972,7 +972,7 @@ private PagedFlux listByResourceGroupAsync(String resourc /** * List all the ExpressRoutePort resources in the specified resource group. * - * @param resourceGroupName The name of the 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. @@ -986,7 +986,7 @@ public PagedIterable listByResourceGroup(String resourceG /** * List all the ExpressRoutePort resources in the specified resource group. * - * @param resourceGroupName The name of the 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. @@ -1018,7 +1018,7 @@ private Mono> listSinglePageAsync() { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -1047,7 +1047,7 @@ private Mono> listSinglePageAsync(Context c final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1108,7 +1108,7 @@ public PagedIterable list(Context context) { /** * Generate a letter of authorization for the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param request Request parameters supplied to generate a letter of authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1118,8 +1118,8 @@ public PagedIterable list(Context context) { * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> generateLoaWithResponseAsync( - String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request) { + public Mono> generateLOAWithResponseAsync( + String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLOARequest request) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1142,17 +1142,19 @@ public Mono> generateLoaWithRe request.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.generateLoa(this.client.getEndpoint(), this.client.getSubscriptionId(), - apiVersion, resourceGroupName, expressRoutePortName, request, accept, context)) + .withContext( + context -> service.generateLOA(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRoutePortName, contentType, accept, request, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Generate a letter of authorization for the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param request Request parameters supplied to generate a letter of authorization. * @param context The context to associate with this operation. @@ -1163,8 +1165,8 @@ public Mono> generateLoaWithRe * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> generateLoaWithResponseAsync( - String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, + private Mono> generateLOAWithResponseAsync( + String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLOARequest request, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1188,16 +1190,17 @@ private Mono> generateLoaWithR request.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.generateLoa(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - resourceGroupName, expressRoutePortName, request, accept, context); + return service.generateLOA(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, expressRoutePortName, contentType, accept, request, context); } /** * Generate a letter of authorization for the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param request Request parameters supplied to generate a letter of authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1206,16 +1209,16 @@ private Mono> generateLoaWithR * @return response for GenerateExpressRoutePortsLOA API service call on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generateLoaAsync(String resourceGroupName, - String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request) { - return generateLoaWithResponseAsync(resourceGroupName, expressRoutePortName, request) + public Mono generateLOAAsync(String resourceGroupName, + String expressRoutePortName, GenerateExpressRoutePortsLOARequest request) { + return generateLOAWithResponseAsync(resourceGroupName, expressRoutePortName, request) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** * Generate a letter of authorization for the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param request Request parameters supplied to generate a letter of authorization. * @param context The context to associate with this operation. @@ -1225,15 +1228,15 @@ public Mono generateLoaAsync(String res * @return response for GenerateExpressRoutePortsLOA API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response generateLoaWithResponse(String resourceGroupName, - String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context) { - return generateLoaWithResponseAsync(resourceGroupName, expressRoutePortName, request, context).block(); + public Response generateLOAWithResponse(String resourceGroupName, + String expressRoutePortName, GenerateExpressRoutePortsLOARequest request, Context context) { + return generateLOAWithResponseAsync(resourceGroupName, expressRoutePortName, request, context).block(); } /** * Generate a letter of authorization for the requested ExpressRoutePort resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRoutePortName The name of ExpressRoutePort. * @param request Request parameters supplied to generate a letter of authorization. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1242,9 +1245,9 @@ public Response generateLoaWithResponse * @return response for GenerateExpressRoutePortsLOA API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GenerateExpressRoutePortsLoaResultInner generateLoa(String resourceGroupName, String expressRoutePortName, - GenerateExpressRoutePortsLoaRequest request) { - return generateLoaWithResponse(resourceGroupName, expressRoutePortName, request, Context.NONE).getValue(); + public GenerateExpressRoutePortsLOAResultInner generateLOA(String resourceGroupName, String expressRoutePortName, + GenerateExpressRoutePortsLOARequest request) { + return generateLOAWithResponse(resourceGroupName, expressRoutePortName, request, Context.NONE).getValue(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java index 926e79a64153..84e1306e7928 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.ExpressRoutePortsLocationsClient; import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortsLocationInner; -import com.azure.resourcemanager.network.models.ExpressRoutePortsLocationListResult; +import com.azure.resourcemanager.network.implementation.models.ExpressRoutePortsLocationListResult; import reactor.core.publisher.Mono; /** @@ -59,45 +59,46 @@ public final class ExpressRoutePortsLocationsClientImpl implements ExpressRouteP * The interface defining all the services for NetworkManagementClientExpressRoutePortsLocations to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRoutePortsLocations") public interface ExpressRoutePortsLocationsService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("locationName") String locationName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @PathParam("locationName") String locationName, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. - * Available bandwidths can only be obtained when retrieving a specific peering location. + * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at + * said peering location. * + * @param locationName Name of the requested ExpressRoutePort peering location. + * @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 expressRoutePorts Location List Result along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return expressRoutePorts Peering Location along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public Mono> getWithResponseAsync(String locationName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -106,29 +107,30 @@ private Mono> listSinglePageAsync( return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (locationName == null) { + return Mono.error(new IllegalArgumentException("Parameter locationName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + locationName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. - * Available bandwidths can only be obtained when retrieving a specific peering location. + * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at + * said peering location. * + * @param locationName Name of the requested ExpressRoutePort peering location. * @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 expressRoutePorts Location List Result along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return expressRoutePorts Peering Location along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> getWithResponseAsync(String locationName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -137,83 +139,73 @@ private Mono> listSinglePageAsync( return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (locationName == null) { + return Mono.error(new IllegalArgumentException("Parameter locationName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), locationName, accept, + context); } /** - * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. - * Available bandwidths can only be obtained when retrieving a specific peering location. + * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at + * said peering location. * + * @param locationName Name of the requested ExpressRoutePort peering location. + * @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 expressRoutePorts Location List Result as paginated response with {@link PagedFlux}. + * @return expressRoutePorts Peering Location on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String locationName) { + return getWithResponseAsync(locationName).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. - * Available bandwidths can only be obtained when retrieving a specific peering location. + * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at + * said peering location. * + * @param locationName Name of the requested ExpressRoutePort peering location. * @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 expressRoutePorts Location List Result as paginated response with {@link PagedFlux}. + * @return expressRoutePorts Peering Location along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String locationName, Context context) { + return getWithResponseAsync(locationName, context).block(); } /** - * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. - * Available bandwidths can only be obtained when retrieving a specific peering location. + * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at + * said peering location. * + * @param locationName Name of the requested ExpressRoutePort peering location. + * @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 expressRoutePorts Location List Result as paginated response with {@link PagedIterable}. + * @return expressRoutePorts Peering Location. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRoutePortsLocationInner get(String locationName) { + return getWithResponse(locationName, Context.NONE).getValue(); } /** * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. * Available bandwidths can only be obtained when retrieving a specific peering location. * - * @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 expressRoutePorts Location List Result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); - } - - /** - * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at - * said peering location. - * - * @param locationName Name of the requested ExpressRoutePort peering location. - * @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 expressRoutePorts Peering Location along with {@link Response} on successful completion of {@link Mono}. + * @return expressRoutePorts Location List Result along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String locationName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -222,30 +214,29 @@ public Mono> getWithResponseAsync(Strin return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (locationName == null) { - return Mono.error(new IllegalArgumentException("Parameter locationName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - locationName, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at - * said peering location. + * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. + * Available bandwidths can only be obtained when retrieving a specific peering location. * - * @param locationName Name of the requested ExpressRoutePort peering location. * @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 expressRoutePorts Peering Location along with {@link Response} on successful completion of {@link Mono}. + * @return expressRoutePorts Location List Result along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String locationName, Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -254,60 +245,69 @@ private Mono> getWithResponseAsync(Stri return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (locationName == null) { - return Mono.error(new IllegalArgumentException("Parameter locationName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, locationName, accept, - context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at - * said peering location. + * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. + * Available bandwidths can only be obtained when retrieving a specific peering location. * - * @param locationName Name of the requested ExpressRoutePort peering location. - * @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 expressRoutePorts Peering Location on successful completion of {@link Mono}. + * @return expressRoutePorts Location List Result as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String locationName) { - return getWithResponseAsync(locationName).flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at - * said peering location. + * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. + * Available bandwidths can only be obtained when retrieving a specific peering location. * - * @param locationName Name of the requested ExpressRoutePort peering location. * @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 expressRoutePorts Peering Location along with {@link Response}. + * @return expressRoutePorts Location List Result as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String locationName, Context context) { - return getWithResponseAsync(locationName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at - * said peering location. + * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. + * Available bandwidths can only be obtained when retrieving a specific peering location. * - * @param locationName Name of the requested ExpressRoutePort peering location. + * @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 expressRoutePorts Location List Result as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. + * Available bandwidths can only be obtained when retrieving a specific peering location. + * + * @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 expressRoutePorts Peering Location. + * @return expressRoutePorts Location List Result as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRoutePortsLocationInner get(String locationName) { - return getWithResponse(locationName, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java new file mode 100644 index 000000000000..1a83be8aa74a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java @@ -0,0 +1,174 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.implementation; + +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.PathParam; +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.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.network.fluent.ExpressRouteProviderPortsClient; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteProviderPortInner; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in ExpressRouteProviderPortsClient. + */ +public final class ExpressRouteProviderPortsClientImpl implements ExpressRouteProviderPortsClient { + /** + * The proxy service used to perform REST calls. + */ + private final ExpressRouteProviderPortsService service; + + /** + * The service client containing this operation class. + */ + private final NetworkManagementClientImpl client; + + /** + * Initializes an instance of ExpressRouteProviderPortsClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + ExpressRouteProviderPortsClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(ExpressRouteProviderPortsService.class, client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for NetworkManagementClientExpressRouteProviderPorts to be used by the + * proxy service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClientExpressRouteProviderPorts") + public interface ExpressRouteProviderPortsService { + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> expressRouteProviderPort(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("providerport") String providerport, @HeaderParam("Accept") String accept, Context context); + } + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> + expressRouteProviderPortWithResponseAsync(String providerport) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (providerport == null) { + return Mono.error(new IllegalArgumentException("Parameter providerport is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.expressRouteProviderPort(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), providerport, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> expressRouteProviderPortWithResponseAsync(String providerport, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (providerport == null) { + return Mono.error(new IllegalArgumentException("Parameter providerport is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.expressRouteProviderPort(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + providerport, accept, context); + } + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono expressRouteProviderPortAsync(String providerport) { + return expressRouteProviderPortWithResponseAsync(providerport).flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response expressRouteProviderPortWithResponse(String providerport, + Context context) { + return expressRouteProviderPortWithResponseAsync(providerport, context).block(); + } + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteProviderPortInner expressRouteProviderPort(String providerport) { + return expressRouteProviderPortWithResponse(providerport, Context.NONE).getValue(); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java index c47653731dcc..ad5bc38687e3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -54,14 +54,14 @@ public final class ExpressRouteProviderPortsLocationsClientImpl implements Expre * The interface defining all the services for NetworkManagementClientExpressRouteProviderPortsLocations to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRouteProviderPortsLocations") public interface ExpressRouteProviderPortsLocationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @QueryParam("$filter") String filter, @HeaderParam("Accept") String accept, Context context); } @@ -73,7 +73,7 @@ Mono> list(@HostParam("$host") * @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 response for ListExpressRouteProviderPort API service call along with {@link Response} on successful + * @return the response of a ExpressRouteProviderPort list operation along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -102,7 +102,7 @@ public Mono> listWithResponseA * @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 response for ListExpressRouteProviderPort API service call along with {@link Response} on successful + * @return the response of a ExpressRouteProviderPort list operation along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -128,7 +128,7 @@ private Mono> listWithResponse * * @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 response for ListExpressRouteProviderPort API service call on successful completion of {@link Mono}. + * @return the response of a ExpressRouteProviderPort list operation on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listAsync() { @@ -144,7 +144,7 @@ public Mono listAsync() { * @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 response for ListExpressRouteProviderPort API service call along with {@link Response}. + * @return the response of a ExpressRouteProviderPort list operation along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listWithResponse(String filter, Context context) { @@ -156,7 +156,7 @@ public Response listWithResponse(String * * @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 response for ListExpressRouteProviderPort API service call. + * @return the response of a ExpressRouteProviderPort list operation. */ @ServiceMethod(returns = ReturnType.SINGLE) public ExpressRouteProviderPortListResultInner list() { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java index 638a917495ed..a0dd3dd8c40a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.ExpressRouteServiceProvidersClient; import com.azure.resourcemanager.network.fluent.models.ExpressRouteServiceProviderInner; -import com.azure.resourcemanager.network.models.ExpressRouteServiceProviderListResult; +import com.azure.resourcemanager.network.implementation.models.ExpressRouteServiceProviderListResult; import reactor.core.publisher.Mono; /** @@ -59,14 +59,14 @@ public final class ExpressRouteServiceProvidersClientImpl implements ExpressRout * The interface defining all the services for NetworkManagementClientExpressRouteServiceProviders to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientExpressRouteServiceProviders") public interface ExpressRouteServiceProvidersService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -75,7 +75,7 @@ Mono> list(@HostParam("$host") S @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java index 79ea98bfb57b..68112b198041 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.FirewallPoliciesClient; import com.azure.resourcemanager.network.fluent.models.FirewallPolicyInner; -import com.azure.resourcemanager.network.models.FirewallPolicyListResult; +import com.azure.resourcemanager.network.implementation.models.FirewallPolicyListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,62 +73,62 @@ public final class FirewallPoliciesClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("firewallPolicyName") String firewallPolicyName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") FirewallPolicyInner parameters, @HeaderParam("Accept") String accept, + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") FirewallPolicyInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}") + @ExpectedResponses({ 200, 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("firewallPolicyName") String firewallPolicyName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/firewallPolicies") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -137,7 +137,7 @@ Mono> list(@HostParam("$host") String endpoin @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -145,219 +145,14 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String firewallPolicyName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (firewallPolicyName == null) { - return Mono - .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String firewallPolicyName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (firewallPolicyName == null) { - return Mono - .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, firewallPolicyName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, firewallPolicyName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 firewallPolicyName) { - return this.beginDeleteAsync(resourceGroupName, firewallPolicyName).getSyncPoller(); - } - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 firewallPolicyName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, firewallPolicyName, context).getSyncPoller(); - } - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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) - public Mono deleteAsync(String resourceGroupName, String firewallPolicyName) { - return beginDeleteAsync(resourceGroupName, firewallPolicyName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String firewallPolicyName, Context context) { - return beginDeleteAsync(resourceGroupName, firewallPolicyName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 firewallPolicyName) { - deleteAsync(resourceGroupName, firewallPolicyName).block(); - } - - /** - * Deletes the specified Firewall Policy. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 firewallPolicyName, Context context) { - deleteAsync(resourceGroupName, firewallPolicyName, context).block(); - } - /** * Gets the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -372,6 +167,10 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -380,22 +179,18 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - firewallPolicyName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, firewallPolicyName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -411,6 +206,10 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -419,21 +218,17 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, expand, accept, context); } /** * Gets the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -450,7 +245,7 @@ public Mono getByResourceGroupAsync(String resourceGroupNam /** * Gets the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -468,7 +263,7 @@ public Response getByResourceGroupWithResponse(String resou /** * Gets the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -484,7 +279,7 @@ public FirewallPolicyInner getByResourceGroup(String resourceGroupName, String f /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -499,6 +294,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -507,27 +306,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - firewallPolicyName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, firewallPolicyName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @param context The context to associate with this operation. @@ -543,6 +340,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -551,26 +352,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, contentType, accept, parameters, context); } /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -590,7 +388,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @param context The context to associate with this operation. @@ -612,7 +410,7 @@ private PollerFlux, FirewallPolicyInner> beginCr /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -629,7 +427,7 @@ private PollerFlux, FirewallPolicyInner> beginCr /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @param context The context to associate with this operation. @@ -648,7 +446,7 @@ public SyncPoller, FirewallPolicyInner> beginCre /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -666,7 +464,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @param context The context to associate with this operation. @@ -685,7 +483,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -702,7 +500,7 @@ public FirewallPolicyInner createOrUpdate(String resourceGroupName, String firew /** * Creates or updates the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to the create or update Firewall Policy operation. * @param context The context to associate with this operation. @@ -720,7 +518,7 @@ public FirewallPolicyInner createOrUpdate(String resourceGroupName, String firew /** * Updates tags of a Azure Firewall Policy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to update Azure Firewall Policy tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -735,6 +533,10 @@ public Mono> updateTagsWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -743,27 +545,25 @@ public Mono> updateTagsWithResponseAsync(String re return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates tags of a Azure Firewall Policy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to update Azure Firewall Policy tags. * @param context The context to associate with this operation. @@ -779,6 +579,10 @@ private Mono> updateTagsWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -787,26 +591,23 @@ private Mono> updateTagsWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, contentType, accept, parameters, context); } /** * Updates tags of a Azure Firewall Policy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to update Azure Firewall Policy tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -824,7 +625,7 @@ public Mono updateTagsAsync(String resourceGroupName, Strin /** * Updates tags of a Azure Firewall Policy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to update Azure Firewall Policy tags. * @param context The context to associate with this operation. @@ -842,7 +643,7 @@ public Response updateTagsWithResponse(String resourceGroup /** * Updates tags of a Azure Firewall Policy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Parameters supplied to update Azure Firewall Policy tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -856,34 +657,237 @@ public FirewallPolicyInner updateTags(String resourceGroupName, String firewallP } /** - * Lists all Firewall Policies in a resource group. + * Deletes the specified Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. * @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 response for ListFirewallPolicies API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String firewallPolicyName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } + if (firewallPolicyName == null) { + return Mono + .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, firewallPolicyName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String firewallPolicyName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (firewallPolicyName == null) { + return Mono + .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, context); + } + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, firewallPolicyName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, firewallPolicyName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 firewallPolicyName) { + return this.beginDeleteAsync(resourceGroupName, firewallPolicyName).getSyncPoller(); + } + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 firewallPolicyName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, firewallPolicyName, context).getSyncPoller(); + } + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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) + public Mono deleteAsync(String resourceGroupName, String firewallPolicyName) { + return beginDeleteAsync(resourceGroupName, firewallPolicyName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String firewallPolicyName, Context context) { + return beginDeleteAsync(resourceGroupName, firewallPolicyName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 firewallPolicyName) { + deleteAsync(resourceGroupName, firewallPolicyName).block(); + } + + /** + * Deletes the specified Firewall Policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 firewallPolicyName, Context context) { + deleteAsync(resourceGroupName, firewallPolicyName, context).block(); + } + + /** + * Lists all Firewall Policies in a 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 FirewallPolicy list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -892,13 +896,13 @@ private Mono> listByResourceGroupSinglePageAs /** * Lists all Firewall Policies in a resource group. * - * @param resourceGroupName The name of the 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 response for ListFirewallPolicies API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a FirewallPolicy list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, @@ -907,20 +911,20 @@ private Mono> listByResourceGroupSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -928,11 +932,11 @@ private Mono> listByResourceGroupSinglePageAs /** * Lists all Firewall Policies in a resource group. * - * @param resourceGroupName The name of the 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 response for ListFirewallPolicies API service call as paginated response with {@link PagedFlux}. + * @return the response of a FirewallPolicy list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listByResourceGroupAsync(String resourceGroupName) { @@ -943,12 +947,12 @@ public PagedFlux listByResourceGroupAsync(String resourceGr /** * Lists all Firewall Policies in a resource group. * - * @param resourceGroupName The name of the 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 response for ListFirewallPolicies API service call as paginated response with {@link PagedFlux}. + * @return the response of a FirewallPolicy list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { @@ -959,11 +963,11 @@ private PagedFlux listByResourceGroupAsync(String resourceG /** * Lists all Firewall Policies in a resource group. * - * @param resourceGroupName The name of the 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 response for ListFirewallPolicies API service call as paginated response with {@link PagedIterable}. + * @return the response of a FirewallPolicy list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByResourceGroup(String resourceGroupName) { @@ -973,12 +977,12 @@ public PagedIterable listByResourceGroup(String resourceGro /** * Lists all Firewall Policies in a resource group. * - * @param resourceGroupName The name of the 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 response for ListFirewallPolicies API service call as paginated response with {@link PagedIterable}. + * @return the response of a FirewallPolicy list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { @@ -1101,8 +1105,8 @@ public PagedIterable list(Context context) { * @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 response for ListFirewallPolicies API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a FirewallPolicy list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1128,8 +1132,8 @@ private Mono> listNextSinglePageAsync(String * @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 response for ListFirewallPolicies API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a FirewallPolicy list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java index 08e3cec33e52..afa4cdcba78b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java @@ -1,11 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; import com.azure.core.annotation.ExpectedResponses; -import com.azure.core.annotation.HeaderParam; import com.azure.core.annotation.Headers; import com.azure.core.annotation.Host; import com.azure.core.annotation.HostParam; @@ -58,24 +57,23 @@ public final class FirewallPolicyDeploymentsClientImpl implements FirewallPolicy * The interface defining all the services for NetworkManagementClientFirewallPolicyDeployments to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientFirewallPolicyDeployments") public interface FirewallPolicyDeploymentsService { - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/deploy") @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deploy(@HostParam("$host") String endpoint, + Mono>> deploy(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("firewallPolicyName") String firewallPolicyName, Context context); } /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -89,6 +87,10 @@ public Mono>> deployWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -97,22 +99,17 @@ public Mono>> deployWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.deploy(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext(context -> service.deploy(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, firewallPolicyName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -127,6 +124,10 @@ private Mono>> deployWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -135,21 +136,16 @@ private Mono>> deployWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.deploy(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, accept, context); + return service.deploy(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, context); } /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -166,7 +162,7 @@ public PollerFlux, Void> beginDeployAsync(String resourceGroupN /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -186,7 +182,7 @@ private PollerFlux, Void> beginDeployAsync(String resourceGroup /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -201,7 +197,7 @@ public SyncPoller, Void> beginDeploy(String resourceGroupName, /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -218,7 +214,7 @@ public SyncPoller, Void> beginDeploy(String resourceGroupName, /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -234,7 +230,7 @@ public Mono deployAsync(String resourceGroupName, String firewallPolicyNam /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -251,7 +247,7 @@ private Mono deployAsync(String resourceGroupName, String firewallPolicyNa /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -265,7 +261,7 @@ public void deploy(String resourceGroupName, String firewallPolicyName) { /** * Deploys the firewall policy draft and child rule collection group drafts. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java index 9be84903bb16..390fdeda775e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -58,59 +58,60 @@ public final class FirewallPolicyDraftsClientImpl implements InnerSupportsDelete * The interface defining all the services for NetworkManagementClientFirewallPolicyDrafts to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientFirewallPolicyDrafts") public interface FirewallPolicyDraftsService { @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Accept") String accept, + Context context); + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") FirewallPolicyDraftInner parameters, @HeaderParam("Accept") String accept, + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") FirewallPolicyDraftInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("firewallPolicyName") String firewallPolicyName, Context context); } /** - * Create or update a draft Firewall Policy. + * Get a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 firewallPolicy Resource along with {@link Response} on successful completion of {@link Mono}. + * @return a draft Firewall Policy along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createOrUpdateWithResponseAsync(String resourceGroupName, - String firewallPolicyName, FirewallPolicyDraftInner parameters) { + public Mono> getWithResponseAsync(String resourceGroupName, + String firewallPolicyName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -119,42 +120,36 @@ public Mono> createOrUpdateWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - firewallPolicyName, this.client.getSubscriptionId(), apiVersion, parameters, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Create or update a draft Firewall Policy. + * Get a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Parameters supplied to the create or update Firewall Policy Draft operation. * @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 firewallPolicy Resource along with {@link Response} on successful completion of {@link Mono}. + * @return a draft Firewall Policy along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> createOrUpdateWithResponseAsync(String resourceGroupName, - String firewallPolicyName, FirewallPolicyDraftInner parameters, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, + String firewallPolicyName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -163,91 +158,83 @@ private Mono> createOrUpdateWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, accept, context); } /** - * Create or update a draft Firewall Policy. + * Get a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 firewallPolicy Resource on successful completion of {@link Mono}. + * @return a draft Firewall Policy on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, - FirewallPolicyDraftInner parameters) { - return createOrUpdateWithResponseAsync(resourceGroupName, firewallPolicyName, parameters) + public Mono getAsync(String resourceGroupName, String firewallPolicyName) { + return getWithResponseAsync(resourceGroupName, firewallPolicyName) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Create or update a draft Firewall Policy. + * Get a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Parameters supplied to the create or update Firewall Policy Draft operation. * @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 firewallPolicy Resource along with {@link Response}. + * @return a draft Firewall Policy along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createOrUpdateWithResponse(String resourceGroupName, - String firewallPolicyName, FirewallPolicyDraftInner parameters, Context context) { - return createOrUpdateWithResponseAsync(resourceGroupName, firewallPolicyName, parameters, context).block(); + public Response getWithResponse(String resourceGroupName, String firewallPolicyName, + Context context) { + return getWithResponseAsync(resourceGroupName, firewallPolicyName, context).block(); } /** - * Create or update a draft Firewall Policy. + * Get a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 firewallPolicy Resource. + * @return a draft Firewall Policy. */ @ServiceMethod(returns = ReturnType.SINGLE) - public FirewallPolicyDraftInner createOrUpdate(String resourceGroupName, String firewallPolicyName, - FirewallPolicyDraftInner parameters) { - return createOrUpdateWithResponse(resourceGroupName, firewallPolicyName, parameters, Context.NONE).getValue(); + public FirewallPolicyDraftInner get(String resourceGroupName, String firewallPolicyName) { + return getWithResponse(resourceGroupName, firewallPolicyName, Context.NONE).getValue(); } /** - * Delete a draft policy. + * Create or update a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 Response} on successful completion of {@link Mono}. + * @return firewallPolicy Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName) { + public Mono> createOrUpdateWithResponseAsync(String resourceGroupName, + String firewallPolicyName, FirewallPolicyDraftInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -256,36 +243,44 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, firewallPolicyName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Delete a draft policy. + * Create or update a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy Draft operation. * @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 Response} on successful completion of {@link Mono}. + * @return firewallPolicy Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, - Context context) { + private Mono> createOrUpdateWithResponseAsync(String resourceGroupName, + String firewallPolicyName, FirewallPolicyDraftInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -294,79 +289,92 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, contentType, accept, parameters, context); } /** - * Delete a draft policy. + * Create or update a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 A {@link Mono} that completes when a successful response is received. + * @return firewallPolicy Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String firewallPolicyName) { - return deleteWithResponseAsync(resourceGroupName, firewallPolicyName).flatMap(ignored -> Mono.empty()); + public Mono createOrUpdateAsync(String resourceGroupName, String firewallPolicyName, + FirewallPolicyDraftInner parameters) { + return createOrUpdateWithResponseAsync(resourceGroupName, firewallPolicyName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Delete a draft policy. + * Create or update a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy Draft operation. * @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 Response}. + * @return firewallPolicy Resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteWithResponse(String resourceGroupName, String firewallPolicyName, Context context) { - return deleteWithResponseAsync(resourceGroupName, firewallPolicyName, context).block(); + public Response createOrUpdateWithResponse(String resourceGroupName, + String firewallPolicyName, FirewallPolicyDraftInner parameters, Context context) { + return createOrUpdateWithResponseAsync(resourceGroupName, firewallPolicyName, parameters, context).block(); } /** - * Delete a draft policy. + * Create or update a draft Firewall Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy Draft 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 firewallPolicy Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String firewallPolicyName) { - deleteWithResponse(resourceGroupName, firewallPolicyName, Context.NONE); + public FirewallPolicyDraftInner createOrUpdate(String resourceGroupName, String firewallPolicyName, + FirewallPolicyDraftInner parameters) { + return createOrUpdateWithResponse(resourceGroupName, firewallPolicyName, parameters, Context.NONE).getValue(); } /** - * Get a draft Firewall Policy. + * Delete a draft policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 draft Firewall Policy along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String firewallPolicyName) { + public Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -375,36 +383,35 @@ public Mono> getWithResponseAsync(String reso return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, firewallPolicyName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Get a draft Firewall Policy. + * Delete a draft policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 a draft Firewall Policy along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String firewallPolicyName, Context context) { + private Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -413,62 +420,54 @@ private Mono> getWithResponseAsync(String res return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, context); } /** - * Get a draft Firewall Policy. + * Delete a draft policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 draft Firewall Policy on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String firewallPolicyName) { - return getWithResponseAsync(resourceGroupName, firewallPolicyName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono deleteAsync(String resourceGroupName, String firewallPolicyName) { + return deleteWithResponseAsync(resourceGroupName, firewallPolicyName).flatMap(ignored -> Mono.empty()); } /** - * Get a draft Firewall Policy. + * Delete a draft policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 a draft Firewall Policy along with {@link Response}. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String firewallPolicyName, - Context context) { - return getWithResponseAsync(resourceGroupName, firewallPolicyName, context).block(); + public Response deleteWithResponse(String resourceGroupName, String firewallPolicyName, Context context) { + return deleteWithResponseAsync(resourceGroupName, firewallPolicyName, context).block(); } /** - * Get a draft Firewall Policy. + * Delete a draft policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 draft Firewall Policy. */ @ServiceMethod(returns = ReturnType.SINGLE) - public FirewallPolicyDraftInner get(String resourceGroupName, String firewallPolicyName) { - return getWithResponse(resourceGroupName, firewallPolicyName, Context.NONE).getValue(); + public void delete(String resourceGroupName, String firewallPolicyName) { + deleteWithResponse(resourceGroupName, firewallPolicyName, Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java index c0bb7f6324d5..c6362f949ba1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java @@ -1,13 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.ExpectedResponses; 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.PathParam; @@ -24,7 +23,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.FirewallPolicyIdpsSignaturesClient; import com.azure.resourcemanager.network.fluent.models.QueryResultsInner; -import com.azure.resourcemanager.network.models.IdpsQueryObject; +import com.azure.resourcemanager.network.models.IDPSQueryObject; import reactor.core.publisher.Mono; /** @@ -56,18 +55,17 @@ public final class FirewallPolicyIdpsSignaturesClientImpl implements FirewallPol * The interface defining all the services for NetworkManagementClientFirewallPolicyIdpsSignatures to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientFirewallPolicyIdpsSignatures") public interface FirewallPolicyIdpsSignaturesService { - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/listIdpsSignatures") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") IdpsQueryObject parameters, @HeaderParam("Accept") String accept, + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") IDPSQueryObject parameters, Context context); } @@ -75,7 +73,7 @@ Mono> list(@HostParam("$host") String endpoint, * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is * 1000. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -85,11 +83,15 @@ Mono> list(@HostParam("$host") String endpoint, */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> listWithResponseAsync(String resourceGroupName, String firewallPolicyName, - IdpsQueryObject parameters) { + IDPSQueryObject parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -98,20 +100,17 @@ public Mono> listWithResponseAsync(String resourceGr return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -119,7 +118,7 @@ public Mono> listWithResponseAsync(String resourceGr * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is * 1000. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @param context The context to associate with this operation. @@ -130,11 +129,15 @@ public Mono> listWithResponseAsync(String resourceGr */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listWithResponseAsync(String resourceGroupName, String firewallPolicyName, - IdpsQueryObject parameters, Context context) { + IDPSQueryObject parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -143,27 +146,24 @@ private Mono> listWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, contentType, accept, parameters, context); } /** * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is * 1000. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -173,7 +173,7 @@ private Mono> listWithResponseAsync(String resourceG */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listAsync(String resourceGroupName, String firewallPolicyName, - IdpsQueryObject parameters) { + IDPSQueryObject parameters) { return listWithResponseAsync(resourceGroupName, firewallPolicyName, parameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } @@ -182,7 +182,7 @@ public Mono listAsync(String resourceGroupName, String firewa * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is * 1000. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @param context The context to associate with this operation. @@ -193,7 +193,7 @@ public Mono listAsync(String resourceGroupName, String firewa */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listWithResponse(String resourceGroupName, String firewallPolicyName, - IdpsQueryObject parameters, Context context) { + IDPSQueryObject parameters, Context context) { return listWithResponseAsync(resourceGroupName, firewallPolicyName, parameters, context).block(); } @@ -201,7 +201,7 @@ public Response listWithResponse(String resourceGroupName, St * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is * 1000. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -210,7 +210,7 @@ public Response listWithResponse(String resourceGroupName, St * @return query result. */ @ServiceMethod(returns = ReturnType.SINGLE) - public QueryResultsInner list(String resourceGroupName, String firewallPolicyName, IdpsQueryObject parameters) { + public QueryResultsInner list(String resourceGroupName, String firewallPolicyName, IDPSQueryObject parameters) { return listWithResponse(resourceGroupName, firewallPolicyName, parameters, Context.NONE).getValue(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java index ade1e3915ee9..337bed181671 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java @@ -1,13 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.ExpectedResponses; 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.PathParam; @@ -58,25 +57,24 @@ public final class FirewallPolicyIdpsSignaturesFilterValuesClientImpl * The interface defining all the services for NetworkManagementClientFirewallPolicyIdpsSignaturesFilterValues to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientFirewallPolicyIdpsSignaturesFilterValues") public interface FirewallPolicyIdpsSignaturesFilterValuesService { - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/listIdpsFilterOptions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") SignatureOverridesFilterValuesQuery parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") SignatureOverridesFilterValuesQuery parameters, Context context); } /** * Retrieves the current filter values for the signatures overrides. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -92,6 +90,10 @@ public Mono> listWithRespo return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -100,27 +102,24 @@ public Mono> listWithRespo return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the current filter values for the signatures overrides. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @param context The context to associate with this operation. @@ -137,6 +136,10 @@ private Mono> listWithResp return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -145,26 +148,23 @@ private Mono> listWithResp return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, contentType, accept, parameters, context); } /** * Retrieves the current filter values for the signatures overrides. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -183,7 +183,7 @@ public Mono listAsync(String resour /** * Retrieves the current filter values for the signatures overrides. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @param context The context to associate with this operation. @@ -201,7 +201,7 @@ public Response listWithResponse(St /** * Retrieves the current filter values for the signatures overrides. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters The parameters parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java index 61ff83125a61..55be8b94ca1c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -19,6 +19,10 @@ 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; @@ -26,7 +30,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.FirewallPolicyIdpsSignaturesOverridesClient; import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesInner; -import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesListInner; +import com.azure.resourcemanager.network.implementation.models.SignaturesOverridesList; import reactor.core.publisher.Mono; /** @@ -60,58 +64,55 @@ public final class FirewallPolicyIdpsSignaturesOverridesClientImpl * The interface defining all the services for NetworkManagementClientFirewallPolicyIdpsSignaturesOverrides to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientFirewallPolicyIdpsSignaturesOverrides") public interface FirewallPolicyIdpsSignaturesOverridesService { @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> patch(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") SignaturesOverridesInner parameters, @HeaderParam("Accept") String accept, + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> put(@HostParam("$host") String endpoint, + Mono> put(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") SignaturesOverridesInner parameters, @HeaderParam("Accept") String accept, + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") SignaturesOverridesInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default") + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> patch(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") SignaturesOverridesInner parameters, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Accept") String accept, + Context context); } /** - * Will update the status of policy's signature overrides for IDPS. + * Returns all signatures overrides for a specific policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Will contain all properties of the object to put. * @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. @@ -119,12 +120,16 @@ Mono> list(@HostParam("$host") String end * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> patchWithResponseAsync(String resourceGroupName, - String firewallPolicyName, SignaturesOverridesInner parameters) { + public Mono> getWithResponseAsync(String resourceGroupName, + String firewallPolicyName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -133,29 +138,19 @@ public Mono> patchWithResponseAsync(String re return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.patch(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Will update the status of policy's signature overrides for IDPS. + * Returns all signatures overrides for a specific policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Will contain all properties of the object to put. * @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. @@ -164,12 +159,16 @@ public Mono> patchWithResponseAsync(String re * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> patchWithResponseAsync(String resourceGroupName, - String firewallPolicyName, SignaturesOverridesInner parameters, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, + String firewallPolicyName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -178,46 +177,34 @@ private Mono> patchWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.patch(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, accept, context); } /** - * Will update the status of policy's signature overrides for IDPS. + * Returns all signatures overrides for a specific policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Will contain all properties of the object to put. * @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 contains all specific policy signatures overrides for the IDPS on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono patchAsync(String resourceGroupName, String firewallPolicyName, - SignaturesOverridesInner parameters) { - return patchWithResponseAsync(resourceGroupName, firewallPolicyName, parameters) + public Mono getAsync(String resourceGroupName, String firewallPolicyName) { + return getWithResponseAsync(resourceGroupName, firewallPolicyName) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Will update the status of policy's signature overrides for IDPS. + * Returns all signatures overrides for a specific policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Will contain all properties of the object to put. * @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. @@ -225,32 +212,30 @@ public Mono patchAsync(String resourceGroupName, Strin * @return contains all specific policy signatures overrides for the IDPS along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response patchWithResponse(String resourceGroupName, String firewallPolicyName, - SignaturesOverridesInner parameters, Context context) { - return patchWithResponseAsync(resourceGroupName, firewallPolicyName, parameters, context).block(); + public Response getWithResponse(String resourceGroupName, String firewallPolicyName, + Context context) { + return getWithResponseAsync(resourceGroupName, firewallPolicyName, context).block(); } /** - * Will update the status of policy's signature overrides for IDPS. + * Returns all signatures overrides for a specific policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param parameters Will contain all properties of the object to put. * @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 contains all specific policy signatures overrides for the IDPS. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SignaturesOverridesInner patch(String resourceGroupName, String firewallPolicyName, - SignaturesOverridesInner parameters) { - return patchWithResponse(resourceGroupName, firewallPolicyName, parameters, Context.NONE).getValue(); + public SignaturesOverridesInner get(String resourceGroupName, String firewallPolicyName) { + return getWithResponse(resourceGroupName, firewallPolicyName, Context.NONE).getValue(); } /** * Will override/create a new signature overrides for the policy's IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Will contain all properties of the object to put. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -266,6 +251,10 @@ public Mono> putWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -274,27 +263,24 @@ public Mono> putWithResponseAsync(String reso return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.put(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context)) + .withContext(context -> service.put(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Will override/create a new signature overrides for the policy's IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Will contain all properties of the object to put. * @param context The context to associate with this operation. @@ -311,6 +297,10 @@ private Mono> putWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -319,26 +309,23 @@ private Mono> putWithResponseAsync(String res return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.put(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context); + return service.put(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, contentType, accept, parameters, context); } /** * Will override/create a new signature overrides for the policy's IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Will contain all properties of the object to put. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -356,7 +343,7 @@ public Mono putAsync(String resourceGroupName, String /** * Will override/create a new signature overrides for the policy's IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Will contain all properties of the object to put. * @param context The context to associate with this operation. @@ -374,7 +361,7 @@ public Response putWithResponse(String resourceGroupNa /** * Will override/create a new signature overrides for the policy's IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @param parameters Will contain all properties of the object to put. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -389,10 +376,11 @@ public SignaturesOverridesInner put(String resourceGroupName, String firewallPol } /** - * Returns all signatures overrides for a specific policy. + * Will update the status of policy's signature overrides for IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Will contain all properties of the object to put. * @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. @@ -400,12 +388,16 @@ public SignaturesOverridesInner put(String resourceGroupName, String firewallPol * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String firewallPolicyName) { + public Mono> patchWithResponseAsync(String resourceGroupName, + String firewallPolicyName, SignaturesOverridesInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -414,23 +406,27 @@ public Mono> getWithResponseAsync(String reso return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext( + context -> service.patch(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Returns all signatures overrides for a specific policy. + * Will update the status of policy's signature overrides for IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Will contain all properties of the object to put. * @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. @@ -439,12 +435,16 @@ public Mono> getWithResponseAsync(String reso * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String firewallPolicyName, Context context) { + private Mono> patchWithResponseAsync(String resourceGroupName, + String firewallPolicyName, SignaturesOverridesInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -453,38 +453,43 @@ private Mono> getWithResponseAsync(String res return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, accept, context); + return service.patch(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, contentType, accept, parameters, context); } /** - * Returns all signatures overrides for a specific policy. + * Will update the status of policy's signature overrides for IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Will contain all properties of the object to put. * @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 contains all specific policy signatures overrides for the IDPS on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String firewallPolicyName) { - return getWithResponseAsync(resourceGroupName, firewallPolicyName) + public Mono patchAsync(String resourceGroupName, String firewallPolicyName, + SignaturesOverridesInner parameters) { + return patchWithResponseAsync(resourceGroupName, firewallPolicyName, parameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Returns all signatures overrides for a specific policy. + * Will update the status of policy's signature overrides for IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Will contain all properties of the object to put. * @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. @@ -492,44 +497,50 @@ public Mono getAsync(String resourceGroupName, String * @return contains all specific policy signatures overrides for the IDPS along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String firewallPolicyName, - Context context) { - return getWithResponseAsync(resourceGroupName, firewallPolicyName, context).block(); + public Response patchWithResponse(String resourceGroupName, String firewallPolicyName, + SignaturesOverridesInner parameters, Context context) { + return patchWithResponseAsync(resourceGroupName, firewallPolicyName, parameters, context).block(); } /** - * Returns all signatures overrides for a specific policy. + * Will update the status of policy's signature overrides for IDPS. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Will contain all properties of the object to put. * @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 contains all specific policy signatures overrides for the IDPS. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SignaturesOverridesInner get(String resourceGroupName, String firewallPolicyName) { - return getWithResponse(resourceGroupName, firewallPolicyName, Context.NONE).getValue(); + public SignaturesOverridesInner patch(String resourceGroupName, String firewallPolicyName, + SignaturesOverridesInner parameters) { + return patchWithResponse(resourceGroupName, firewallPolicyName, parameters, Context.NONE).getValue(); } /** * Returns all signatures overrides objects for a specific policy as a list containing a single value. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 describes an object containing an array with a single item along with {@link Response} on successful + * @return describes an object containing an array with a single item along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listWithResponseAsync(String resourceGroupName, + private Mono> listSinglePageAsync(String resourceGroupName, String firewallPolicyName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -538,37 +549,39 @@ public Mono> listWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Returns all signatures overrides objects for a specific policy as a list containing a single value. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 describes an object containing an array with a single item along with {@link Response} on successful + * @return describes an object containing an array with a single item along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listWithResponseAsync(String resourceGroupName, + private Mono> listSinglePageAsync(String resourceGroupName, String firewallPolicyName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -577,62 +590,79 @@ private Mono> listWithResponseAsync(Strin return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - this.client.getSubscriptionId(), apiVersion, accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), null, null)); } /** * Returns all signatures overrides objects for a specific policy as a list containing a single value. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 describes an object containing an array with a single item on successful completion of {@link Mono}. + * @return describes an object containing an array with a single item as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listAsync(String resourceGroupName, String firewallPolicyName) { - return listWithResponseAsync(resourceGroupName, firewallPolicyName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String firewallPolicyName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, firewallPolicyName)); } /** * Returns all signatures overrides objects for a specific policy as a list containing a single value. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 describes an object containing an array with a single item along with {@link Response}. + * @return describes an object containing an array with a single item as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listWithResponse(String resourceGroupName, String firewallPolicyName, + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String firewallPolicyName, Context context) { - return listWithResponseAsync(resourceGroupName, firewallPolicyName, context).block(); + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, firewallPolicyName, context)); } /** * Returns all signatures overrides objects for a specific policy as a list containing a single value. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 describes an object containing an array with a single item. + * @return describes an object containing an array with a single item as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public SignaturesOverridesListInner list(String resourceGroupName, String firewallPolicyName) { - return listWithResponse(resourceGroupName, firewallPolicyName, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String firewallPolicyName) { + return new PagedIterable<>(listAsync(resourceGroupName, firewallPolicyName)); + } + + /** + * Returns all signatures overrides objects for a specific policy as a list containing a single value. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 describes an object containing an array with a single item as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String firewallPolicyName, + Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, firewallPolicyName, context)); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java index aa33d709c957..316f2b2d48ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -59,62 +59,66 @@ public final class FirewallPolicyRuleCollectionGroupDraftsClientImpl * The interface defining all the services for NetworkManagementClientFirewallPolicyRuleCollectionGroupDrafts to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientFirewallPolicyRuleCollectionGroupDrafts") public interface FirewallPolicyRuleCollectionGroupDraftsService { @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default") - @ExpectedResponses({ 200, 204 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("ruleCollectionGroupName") String ruleCollectionGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("ruleCollectionGroupName") String ruleCollectionGroupName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("firewallPolicyName") String firewallPolicyName, @PathParam("ruleCollectionGroupName") String ruleCollectionGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") FirewallPolicyRuleCollectionGroupDraftInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") FirewallPolicyRuleCollectionGroupDraftInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default") + @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("ruleCollectionGroupName") String ruleCollectionGroupName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("ruleCollectionGroupName") String ruleCollectionGroupName, Context context); } /** - * Delete Rule Collection Group Draft. + * Get Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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}. + * @return rule Collection Group Draft along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName) { + public Mono> getWithResponseAsync(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -127,37 +131,38 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St return Mono.error( new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - ruleCollectionGroupName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, ruleCollectionGroupName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Delete Rule Collection Group Draft. + * Get Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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 Response} on successful completion of {@link Mono}. + * @return rule Collection Group Draft along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -170,73 +175,76 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S return Mono.error( new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, ruleCollectionGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, ruleCollectionGroupName, accept, context); } /** - * Delete Rule Collection Group Draft. + * Get Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. + * @return rule Collection Group Draft on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName) { - return deleteWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName) - .flatMap(ignored -> Mono.empty()); + public Mono getAsync(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName) { + return getWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Delete Rule Collection Group Draft. + * Get Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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 Response}. + * @return rule Collection Group Draft along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteWithResponse(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName, Context context) { - return deleteWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context).block(); + public Response getWithResponse(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName, Context context) { + return getWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context).block(); } /** - * Delete Rule Collection Group Draft. + * Get Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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 rule Collection Group Draft. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName) { - deleteWithResponse(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, Context.NONE); + public FirewallPolicyRuleCollectionGroupDraftInner get(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName) { + return getWithResponse(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, Context.NONE).getValue(); } /** * Create or Update Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -251,6 +259,10 @@ public Mono> createOrUpdat return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -263,30 +275,28 @@ public Mono> createOrUpdat return Mono.error( new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - ruleCollectionGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, firewallPolicyName, ruleCollectionGroupName, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Create or Update Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -302,6 +312,10 @@ private Mono> createOrUpda return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -314,28 +328,26 @@ private Mono> createOrUpda return Mono.error( new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - ruleCollectionGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, ruleCollectionGroupName, contentType, accept, parameters, context); } /** * Create or Update Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -353,9 +365,10 @@ public Mono createOrUpdateAsync(Str /** * Create or Update Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -374,9 +387,10 @@ public Response createOrUpdateWithR /** * Create or Update Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -392,23 +406,28 @@ public FirewallPolicyRuleCollectionGroupDraftInner createOrUpdate(String resourc } /** - * Get Rule Collection Group Draft. + * Delete Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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 rule Collection Group Draft along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName) { + public Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -421,37 +440,38 @@ public Mono> getWithRespon return Mono.error( new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - ruleCollectionGroupName, this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Get Rule Collection Group Draft. + * Delete Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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 rule Collection Group Draft along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName, Context context) { + private Mono> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -464,67 +484,62 @@ private Mono> getWithRespo return Mono.error( new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, ruleCollectionGroupName, - this.client.getSubscriptionId(), apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, ruleCollectionGroupName, context); } /** - * Get Rule Collection Group Draft. + * Delete Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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 rule Collection Group Draft on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName) { - return getWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName) { + return deleteWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName) + .flatMap(ignored -> Mono.empty()); } /** - * Get Rule Collection Group Draft. + * Delete Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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 rule Collection Group Draft along with {@link Response}. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName, Context context) { - return getWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context).block(); + public Response deleteWithResponse(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName, Context context) { + return deleteWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context).block(); } /** - * Get Rule Collection Group Draft. + * Delete Rule Collection Group Draft. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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 rule Collection Group Draft. */ @ServiceMethod(returns = ReturnType.SINGLE) - public FirewallPolicyRuleCollectionGroupDraftInner get(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName) { - return getWithResponse(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, Context.NONE).getValue(); + public void delete(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName) { + deleteWithResponse(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java index d04d3543c9fb..287eb713ce7d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.FirewallPolicyRuleCollectionGroupsClient; import com.azure.resourcemanager.network.fluent.models.FirewallPolicyRuleCollectionGroupInner; -import com.azure.resourcemanager.network.models.FirewallPolicyRuleCollectionGroupListResult; +import com.azure.resourcemanager.network.implementation.models.FirewallPolicyRuleCollectionGroupListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,297 +67,67 @@ public final class FirewallPolicyRuleCollectionGroupsClientImpl implements Firew * The interface defining all the services for NetworkManagementClientFirewallPolicyRuleCollectionGroups to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientFirewallPolicyRuleCollectionGroups") public interface FirewallPolicyRuleCollectionGroupsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("ruleCollectionGroupName") String ruleCollectionGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("firewallPolicyName") String firewallPolicyName, - @PathParam("ruleCollectionGroupName") String ruleCollectionGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("ruleCollectionGroupName") String ruleCollectionGroupName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("firewallPolicyName") String firewallPolicyName, @PathParam("ruleCollectionGroupName") String ruleCollectionGroupName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") FirewallPolicyRuleCollectionGroupInner parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") FirewallPolicyRuleCollectionGroupInner parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("firewallPolicyName") String firewallPolicyName, + @PathParam("ruleCollectionGroupName") String ruleCollectionGroupName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("firewallPolicyName") String firewallPolicyName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (firewallPolicyName == null) { - return Mono - .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); - } - if (ruleCollectionGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - ruleCollectionGroupName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String firewallPolicyName, String ruleCollectionGroupName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (firewallPolicyName == null) { - return Mono - .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); - } - if (ruleCollectionGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, ruleCollectionGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName, - String ruleCollectionGroupName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @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 firewallPolicyName, - String ruleCollectionGroupName) { - return this.beginDeleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName).getSyncPoller(); - } - - /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @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 firewallPolicyName, - String ruleCollectionGroupName, Context context) { - return this.beginDeleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context) - .getSyncPoller(); - } - - /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @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) - public Mono deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName) { - return beginDeleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, - Context context) { - return beginDeleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @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 firewallPolicyName, String ruleCollectionGroupName) { - deleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName).block(); - } - - /** - * Deletes the specified FirewallPolicyRuleCollectionGroup. - * - * @param resourceGroupName The name of the resource group. - * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. - * @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 firewallPolicyName, String ruleCollectionGroupName, - Context context) { - deleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context).block(); - } - /** * Gets the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. @@ -371,6 +141,10 @@ public Mono> getWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -383,24 +157,21 @@ public Mono> getWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - ruleCollectionGroupName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, ruleCollectionGroupName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. @@ -415,6 +186,10 @@ private Mono> getWithResponseAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -427,23 +202,20 @@ private Mono> getWithResponseAs return Mono.error( new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, ruleCollectionGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, ruleCollectionGroupName, accept, context); } /** * Gets the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. @@ -459,9 +231,10 @@ public Mono getAsync(String resourceGrou /** * Gets the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. @@ -477,9 +250,10 @@ public Response getWithResponse(String r /** * Gets the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. @@ -494,9 +268,10 @@ public FirewallPolicyRuleCollectionGroupInner get(String resourceGroupName, Stri /** * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -510,6 +285,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -522,30 +301,28 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - ruleCollectionGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, firewallPolicyName, ruleCollectionGroupName, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -561,6 +338,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -573,28 +354,26 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - ruleCollectionGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, ruleCollectionGroupName, contentType, accept, parameters, context); } /** * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -615,9 +394,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -640,9 +420,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -660,9 +441,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -683,9 +465,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -703,9 +486,10 @@ public Mono createOrUpdateAsync(String r /** * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -724,9 +508,10 @@ private Mono createOrUpdateAsync(String /** * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -742,9 +527,10 @@ public FirewallPolicyRuleCollectionGroupInner createOrUpdate(String resourceGrou /** * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -760,23 +546,28 @@ public FirewallPolicyRuleCollectionGroupInner createOrUpdate(String resourceGrou } /** - * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. + * Deletes the specified FirewallPolicyRuleCollectionGroup. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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 response for ListFirewallPolicyRuleCollectionGroups API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String firewallPolicyName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -785,15 +576,249 @@ private Mono> listSinglePa return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } + if (ruleCollectionGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified FirewallPolicyRuleCollectionGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String firewallPolicyName, String ruleCollectionGroupName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (firewallPolicyName == null) { + return Mono + .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); + } + if (ruleCollectionGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter ruleCollectionGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, ruleCollectionGroupName, context); + } + + /** + * Deletes the specified FirewallPolicyRuleCollectionGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified FirewallPolicyRuleCollectionGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String firewallPolicyName, + String ruleCollectionGroupName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified FirewallPolicyRuleCollectionGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 firewallPolicyName, + String ruleCollectionGroupName) { + return this.beginDeleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName).getSyncPoller(); + } + + /** + * Deletes the specified FirewallPolicyRuleCollectionGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 firewallPolicyName, + String ruleCollectionGroupName, Context context) { + return this.beginDeleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context) + .getSyncPoller(); + } + + /** + * Deletes the specified FirewallPolicyRuleCollectionGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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) + public Mono deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName) { + return beginDeleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified FirewallPolicyRuleCollectionGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String firewallPolicyName, String ruleCollectionGroupName, + Context context) { + return beginDeleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified FirewallPolicyRuleCollectionGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 firewallPolicyName, String ruleCollectionGroupName) { + deleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName).block(); + } + + /** + * Deletes the specified FirewallPolicyRuleCollectionGroup. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleCollectionGroupName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 firewallPolicyName, String ruleCollectionGroupName, + Context context) { + deleteAsync(resourceGroupName, firewallPolicyName, ruleCollectionGroupName, context).block(); + } + + /** + * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 FirewallPolicyRuleCollectionGroup list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String firewallPolicyName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (firewallPolicyName == null) { + return Mono + .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, firewallPolicyName, 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())); @@ -802,13 +827,13 @@ private Mono> listSinglePa /** * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 response for ListFirewallPolicyRuleCollectionGroups API service call along with {@link PagedResponse} on + * @return the response of a FirewallPolicyRuleCollectionGroup list operation along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -818,6 +843,10 @@ private Mono> listSinglePa return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -826,16 +855,12 @@ private Mono> listSinglePa return Mono .error(new IllegalArgumentException("Parameter firewallPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, firewallPolicyName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -843,12 +868,12 @@ private Mono> listSinglePa /** * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 response for ListFirewallPolicyRuleCollectionGroups API service call as paginated response with + * @return the response of a FirewallPolicyRuleCollectionGroup list operation as paginated response with * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -861,13 +886,13 @@ public PagedFlux listAsync(String resour /** * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 response for ListFirewallPolicyRuleCollectionGroups API service call as paginated response with + * @return the response of a FirewallPolicyRuleCollectionGroup list operation as paginated response with * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -880,12 +905,12 @@ private PagedFlux listAsync(String resou /** * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 response for ListFirewallPolicyRuleCollectionGroups API service call as paginated response with + * @return the response of a FirewallPolicyRuleCollectionGroup list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -897,13 +922,13 @@ public PagedIterable list(String resourc /** * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. * @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 response for ListFirewallPolicyRuleCollectionGroups API service call as paginated response with + * @return the response of a FirewallPolicyRuleCollectionGroup list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -919,7 +944,7 @@ public PagedIterable list(String resourc * @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 response for ListFirewallPolicyRuleCollectionGroups API service call along with {@link PagedResponse} on + * @return the response of a FirewallPolicyRuleCollectionGroup list operation along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -946,7 +971,7 @@ private Mono> listNextSing * @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 response for ListFirewallPolicyRuleCollectionGroups API service call along with {@link PagedResponse} on + * @return the response of a FirewallPolicyRuleCollectionGroup list operation along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java index 4c84a79547bd..4595e46d615f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.FlowLogsClient; import com.azure.resourcemanager.network.fluent.models.FlowLogInner; -import com.azure.resourcemanager.network.models.FlowLogListResult; +import com.azure.resourcemanager.network.implementation.models.FlowLogListResult; import com.azure.resourcemanager.network.models.TagsObject; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -68,74 +68,206 @@ public final class FlowLogsClientImpl implements FlowLogsClient { * The interface defining all the services for NetworkManagementClientFlowLogs to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientFlowLogs") public interface FlowLogsService { @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}") - @ExpectedResponses({ 200, 201 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, @PathParam("flowLogName") String flowLogName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") FlowLogInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}") - @ExpectedResponses({ 200 }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, @PathParam("flowLogName") String flowLogName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") FlowLogInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}") + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, @PathParam("flowLogName") String flowLogName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, @PathParam("flowLogName") String flowLogName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); + } + + /** + * Gets a flow log resource by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log resource. + * @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 flow log resource by name along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getWithResponseAsync(String resourceGroupName, String networkWatcherName, + String flowLogName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkWatcherName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); + } + if (flowLogName == null) { + return Mono.error(new IllegalArgumentException("Parameter flowLogName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, flowLogName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets a flow log resource by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log resource. + * @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 a flow log resource by name along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync(String resourceGroupName, String networkWatcherName, + String flowLogName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkWatcherName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); + } + if (flowLogName == null) { + return Mono.error(new IllegalArgumentException("Parameter flowLogName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, flowLogName, accept, context); + } + + /** + * Gets a flow log resource by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log resource. + * @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 flow log resource by name on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String networkWatcherName, String flowLogName) { + return getWithResponseAsync(resourceGroupName, networkWatcherName, flowLogName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets a flow log resource by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log resource. + * @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 a flow log resource by name along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String networkWatcherName, + String flowLogName, Context context) { + return getWithResponseAsync(resourceGroupName, networkWatcherName, flowLogName, context).block(); + } + + /** + * Gets a flow log resource by name. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log resource. + * @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 flow log resource by name. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public FlowLogInner get(String resourceGroupName, String networkWatcherName, String flowLogName) { + return getWithResponse(resourceGroupName, networkWatcherName, flowLogName, Context.NONE).getValue(); } /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -149,6 +281,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -160,30 +296,27 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (flowLogName == null) { return Mono.error(new IllegalArgumentException("Parameter flowLogName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - flowLogName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, flowLogName, contentType, + accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -198,6 +331,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -209,28 +346,25 @@ private Mono>> createOrUpdateWithResponseAsync(String if (flowLogName == null) { return Mono.error(new IllegalArgumentException("Parameter flowLogName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkWatcherName, flowLogName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, flowLogName, contentType, accept, parameters, context); } /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -249,9 +383,9 @@ public PollerFlux, FlowLogInner> beginCreateOrUpdateAsy /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -272,9 +406,9 @@ private PollerFlux, FlowLogInner> beginCreateOrUpdateAs /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -291,9 +425,9 @@ public SyncPoller, FlowLogInner> beginCreateOrUpdate(St /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -311,9 +445,9 @@ public SyncPoller, FlowLogInner> beginCreateOrUpdate(St /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -330,9 +464,9 @@ public Mono createOrUpdateAsync(String resourceGroupName, String n /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -350,9 +484,9 @@ private Mono createOrUpdateAsync(String resourceGroupName, String /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -368,9 +502,9 @@ public FlowLogInner createOrUpdate(String resourceGroupName, String networkWatch /** * Create or update a flow log for the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters that define the create or update flow log resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -387,9 +521,9 @@ public FlowLogInner createOrUpdate(String resourceGroupName, String networkWatch /** * Update tags of the specified flow log. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters supplied to update flow log tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -403,6 +537,10 @@ public Mono> updateTagsWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -414,29 +552,27 @@ public Mono> updateTagsWithResponseAsync(String resourceG if (flowLogName == null) { return Mono.error(new IllegalArgumentException("Parameter flowLogName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - flowLogName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, flowLogName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Update tags of the specified flow log. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters supplied to update flow log tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -451,6 +587,10 @@ private Mono> updateTagsWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -462,28 +602,25 @@ private Mono> updateTagsWithResponseAsync(String resource if (flowLogName == null) { return Mono.error(new IllegalArgumentException("Parameter flowLogName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, networkWatcherName, flowLogName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, flowLogName, contentType, accept, parameters, context); } /** * Update tags of the specified flow log. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters supplied to update flow log tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -500,9 +637,9 @@ public Mono updateTagsAsync(String resourceGroupName, String netwo /** * Update tags of the specified flow log. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters supplied to update flow log tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -520,9 +657,9 @@ public Response updateTagsWithResponse(String resourceGroupName, S /** * Update tags of the specified flow log. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log. + * @param flowLogName The name of the flow log resource. * @param parameters Parameters supplied to update flow log tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -537,156 +674,27 @@ public FlowLogInner updateTags(String resourceGroupName, String networkWatcherNa } /** - * Gets a flow log resource by name. + * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @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 flow log resource by name along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, String networkWatcherName, + public Mono>> deleteWithResponseAsync(String resourceGroupName, String networkWatcherName, String flowLogName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkWatcherName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); - } - if (flowLogName == null) { - return Mono.error(new IllegalArgumentException("Parameter flowLogName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - flowLogName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Gets a flow log resource by name. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log resource. - * @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 a flow log resource by name along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, String networkWatcherName, - String flowLogName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkWatcherName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); - } - if (flowLogName == null) { - return Mono.error(new IllegalArgumentException("Parameter flowLogName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, networkWatcherName, flowLogName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Gets a flow log resource by name. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log resource. - * @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 flow log resource by name on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String networkWatcherName, String flowLogName) { - return getWithResponseAsync(resourceGroupName, networkWatcherName, flowLogName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Gets a flow log resource by name. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log resource. - * @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 a flow log resource by name along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String networkWatcherName, - String flowLogName, Context context) { - return getWithResponseAsync(resourceGroupName, networkWatcherName, flowLogName, context).block(); - } - - /** - * Gets a flow log resource by name. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log resource. - * @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 flow log resource by name. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public FlowLogInner get(String resourceGroupName, String networkWatcherName, String flowLogName) { - return getWithResponse(resourceGroupName, networkWatcherName, flowLogName, Context.NONE).getValue(); - } - - /** - * Deletes the specified flow log resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param flowLogName The name of the flow log resource. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String networkWatcherName, - String flowLogName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -698,22 +706,17 @@ public Mono>> deleteWithResponseAsync(String resourceG if (flowLogName == null) { return Mono.error(new IllegalArgumentException("Parameter flowLogName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - flowLogName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, flowLogName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @param context The context to associate with this operation. @@ -729,6 +732,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -740,21 +747,16 @@ private Mono>> deleteWithResponseAsync(String resource if (flowLogName == null) { return Mono.error(new IllegalArgumentException("Parameter flowLogName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkWatcherName, flowLogName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, flowLogName, context); } /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -774,7 +776,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @param context The context to associate with this operation. @@ -796,7 +798,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -813,7 +815,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @param context The context to associate with this operation. @@ -831,7 +833,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -848,7 +850,7 @@ public Mono deleteAsync(String resourceGroupName, String networkWatcherNam /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @param context The context to associate with this operation. @@ -867,7 +869,7 @@ private Mono deleteAsync(String resourceGroupName, String networkWatcherNa /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -882,7 +884,7 @@ public void delete(String resourceGroupName, String networkWatcherName, String f /** * Deletes the specified flow log resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param flowLogName The name of the flow log resource. * @param context The context to associate with this operation. @@ -898,12 +900,13 @@ public void delete(String resourceGroupName, String networkWatcherName, String f /** * Lists all flow log resources for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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 list of flow logs along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a FlowLog list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, String networkWatcherName) { @@ -911,6 +914,10 @@ private Mono> listSinglePageAsync(String resourceGro return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -919,15 +926,11 @@ private Mono> listSinglePageAsync(String resourceGro return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, 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())); @@ -936,13 +939,14 @@ private Mono> listSinglePageAsync(String resourceGro /** * Lists all flow log resources for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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 list of flow logs along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a FlowLog list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, String networkWatcherName, @@ -951,6 +955,10 @@ private Mono> listSinglePageAsync(String resourceGro return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -959,16 +967,12 @@ private Mono> listSinglePageAsync(String resourceGro return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -976,12 +980,12 @@ private Mono> listSinglePageAsync(String resourceGro /** * Lists all flow log resources for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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 list of flow logs as paginated response with {@link PagedFlux}. + * @return the response of a FlowLog list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkWatcherName) { @@ -992,13 +996,13 @@ public PagedFlux listAsync(String resourceGroupName, String networ /** * Lists all flow log resources for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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 list of flow logs as paginated response with {@link PagedFlux}. + * @return the response of a FlowLog list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkWatcherName, Context context) { @@ -1009,12 +1013,12 @@ private PagedFlux listAsync(String resourceGroupName, String netwo /** * Lists all flow log resources for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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 list of flow logs as paginated response with {@link PagedIterable}. + * @return the response of a FlowLog list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkWatcherName) { @@ -1024,13 +1028,13 @@ public PagedIterable list(String resourceGroupName, String network /** * Lists all flow log resources for the specified Network Watcher. * - * @param resourceGroupName The name of the resource group containing Network Watcher. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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 list of flow logs as paginated response with {@link PagedIterable}. + * @return the response of a FlowLog list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkWatcherName, Context context) { @@ -1044,7 +1048,8 @@ public PagedIterable list(String resourceGroupName, String network * @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 list of flow logs along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a FlowLog list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1070,7 +1075,8 @@ private Mono> listNextSinglePageAsync(String nextLin * @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 list of flow logs along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a FlowLog list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java index 16522f7a6667..9e8ce4e8a0b4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.HubRouteTablesClient; import com.azure.resourcemanager.network.fluent.models.HubRouteTableInner; -import com.azure.resourcemanager.network.models.ListHubRouteTablesResult; +import com.azure.resourcemanager.network.implementation.models.ListHubRouteTablesResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,66 +67,202 @@ public final class HubRouteTablesClientImpl implements HubRouteTablesClient { * The interface defining all the services for NetworkManagementClientHubRouteTables to be used by the proxy service * to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientHubRouteTables") public interface HubRouteTablesService { @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}") - @ExpectedResponses({ 200, 201 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("routeTableName") String routeTableName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") HubRouteTableInner routeTableParameters, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}") - @ExpectedResponses({ 200 }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("routeTableName") String routeTableName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") HubRouteTableInner routeTableParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("routeTableName") String routeTableName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } + /** + * Retrieves the details of a RouteTable. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @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 routeTable resource in a virtual hub along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, + String routeTableName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualHubName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.")); + } + if (routeTableName == null) { + return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, routeTableName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Retrieves the details of a RouteTable. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @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 routeTable resource in a virtual hub along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, + String routeTableName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualHubName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.")); + } + if (routeTableName == null) { + return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, routeTableName, accept, context); + } + + /** + * Retrieves the details of a RouteTable. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @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 routeTable resource in a virtual hub on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String virtualHubName, String routeTableName) { + return getWithResponseAsync(resourceGroupName, virtualHubName, routeTableName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Retrieves the details of a RouteTable. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @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 routeTable resource in a virtual hub along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String virtualHubName, + String routeTableName, Context context) { + return getWithResponseAsync(resourceGroupName, virtualHubName, routeTableName, context).block(); + } + + /** + * Retrieves the details of a RouteTable. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @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 routeTable resource in a virtual hub. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public HubRouteTableInner get(String resourceGroupName, String virtualHubName, String routeTableName) { + return getWithResponse(resourceGroupName, virtualHubName, routeTableName, Context.NONE).getValue(); + } + /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -162,19 +298,22 @@ public Mono>> createOrUpdateWithResponseAsync(String r routeTableParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routeTableName, apiVersion, routeTableParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, routeTableName, contentType, accept, + routeTableParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -211,18 +350,20 @@ private Mono>> createOrUpdateWithResponseAsync(String routeTableParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routeTableName, apiVersion, routeTableParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, routeTableName, contentType, accept, routeTableParameters, context); } /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -242,9 +383,10 @@ public PollerFlux, HubRouteTableInner> beginCreat /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -266,9 +408,10 @@ private PollerFlux, HubRouteTableInner> beginCrea /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -285,9 +428,10 @@ public SyncPoller, HubRouteTableInner> beginCreat /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -306,9 +450,10 @@ public SyncPoller, HubRouteTableInner> beginCreat /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -325,9 +470,10 @@ public Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -345,9 +491,10 @@ private Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -363,9 +510,10 @@ public HubRouteTableInner createOrUpdate(String resourceGroupName, String virtua /** * Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeTableParameters Parameters supplied to create or update RouteTable. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -380,145 +528,13 @@ public HubRouteTableInner createOrUpdate(String resourceGroupName, String virtua .block(); } - /** - * Retrieves the details of a RouteTable. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. - * @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 routeTable resource in a virtual hub along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, - String routeTableName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualHubName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.")); - } - if (routeTableName == null) { - return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routeTableName, apiVersion, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Retrieves the details of a RouteTable. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. - * @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 routeTable resource in a virtual hub along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, - String routeTableName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualHubName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.")); - } - if (routeTableName == null) { - return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routeTableName, apiVersion, accept, context); - } - - /** - * Retrieves the details of a RouteTable. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. - * @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 routeTable resource in a virtual hub on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String virtualHubName, String routeTableName) { - return getWithResponseAsync(resourceGroupName, virtualHubName, routeTableName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Retrieves the details of a RouteTable. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. - * @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 routeTable resource in a virtual hub along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String virtualHubName, - String routeTableName, Context context) { - return getWithResponseAsync(resourceGroupName, virtualHubName, routeTableName, context).block(); - } - - /** - * Retrieves the details of a RouteTable. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. - * @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 routeTable resource in a virtual hub. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public HubRouteTableInner get(String resourceGroupName, String virtualHubName, String routeTableName) { - return getWithResponse(resourceGroupName, virtualHubName, routeTableName, Context.NONE).getValue(); - } - /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -546,19 +562,19 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routeTableName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, routeTableName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -587,18 +603,18 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routeTableName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, routeTableName, context); } /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -616,9 +632,10 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -638,9 +655,10 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -655,9 +673,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -673,9 +692,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -690,9 +710,10 @@ public Mono deleteAsync(String resourceGroupName, String virtualHubName, S /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -709,9 +730,10 @@ private Mono deleteAsync(String resourceGroupName, String virtualHubName, /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -724,9 +746,10 @@ public void delete(String resourceGroupName, String virtualHubName, String route /** * Deletes a RouteTable. * - * @param resourceGroupName The resource group name of the RouteTable. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routeTableName The name of the RouteTable. + * @param routeTableName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -740,7 +763,7 @@ public void delete(String resourceGroupName, String virtualHubName, String route /** * Retrieves the details of all RouteTables. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -769,8 +792,8 @@ private Mono> listSinglePageAsync(String resou final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, 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())); @@ -779,7 +802,7 @@ private Mono> listSinglePageAsync(String resou /** * Retrieves the details of all RouteTables. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -810,8 +833,8 @@ private Mono> listSinglePageAsync(String resou final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, virtualHubName, - apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -819,7 +842,7 @@ private Mono> listSinglePageAsync(String resou /** * Retrieves the details of all RouteTables. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -836,7 +859,7 @@ public PagedFlux listAsync(String resourceGroupName, String /** * Retrieves the details of all RouteTables. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -854,7 +877,7 @@ private PagedFlux listAsync(String resourceGroupName, String /** * Retrieves the details of all RouteTables. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -870,7 +893,7 @@ public PagedIterable list(String resourceGroupName, String v /** * Retrieves the details of all RouteTables. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java index e60c3b2bf466..930a06c1181b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.HubVirtualNetworkConnectionsClient; import com.azure.resourcemanager.network.fluent.models.HubVirtualNetworkConnectionInner; -import com.azure.resourcemanager.network.models.ListHubVirtualNetworkConnectionsResult; +import com.azure.resourcemanager.network.implementation.models.ListHubVirtualNetworkConnectionsResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,66 +67,64 @@ public final class HubVirtualNetworkConnectionsClientImpl implements HubVirtualN * The interface defining all the services for NetworkManagementClientHubVirtualNetworkConnections to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientHubVirtualNetworkConnections") public interface HubVirtualNetworkConnectionsService { - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("connectionName") String connectionName, - @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters, - @HeaderParam("Accept") String accept, Context context); + Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("connectionName") String connectionName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("connectionName") String connectionName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -164,20 +162,21 @@ public Mono>> createOrUpdateWithResponseAsync(String r hubVirtualNetworkConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, connectionName, apiVersion, hubVirtualNetworkConnectionParameters, - accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, connectionName, contentType, accept, + hubVirtualNetworkConnectionParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @param context The context to associate with this operation. @@ -216,18 +215,20 @@ private Mono>> createOrUpdateWithResponseAsync(String hubVirtualNetworkConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, connectionName, apiVersion, hubVirtualNetworkConnectionParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, connectionName, contentType, accept, + hubVirtualNetworkConnectionParameters, context); } /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -249,9 +250,9 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @param context The context to associate with this operation. @@ -275,9 +276,9 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -298,9 +299,9 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @param context The context to associate with this operation. @@ -322,9 +323,9 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -342,9 +343,9 @@ public Mono createOrUpdateAsync(String resourc /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @param context The context to associate with this operation. @@ -364,9 +365,9 @@ private Mono createOrUpdateAsync(String resour /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -384,9 +385,9 @@ public HubVirtualNetworkConnectionInner createOrUpdate(String resourceGroupName, /** * Creates a hub virtual network connection if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub virtual network * connection. * @param context The context to associate with this operation. @@ -406,9 +407,9 @@ public HubVirtualNetworkConnectionInner createOrUpdate(String resourceGroupName, /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -436,19 +437,18 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, connectionName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, connectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -477,18 +477,17 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, connectionName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, connectionName, context); } /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -506,9 +505,9 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -528,9 +527,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -545,9 +544,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -563,9 +562,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -580,9 +579,9 @@ public Mono deleteAsync(String resourceGroupName, String virtualHubName, S /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -599,9 +598,9 @@ private Mono deleteAsync(String resourceGroupName, String virtualHubName, /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -614,9 +613,9 @@ public void delete(String resourceGroupName, String virtualHubName, String conne /** * Deletes a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the HubVirtualNetworkConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -630,9 +629,9 @@ public void delete(String resourceGroupName, String virtualHubName, String conne /** * Retrieves the details of a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the vpn connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -663,17 +662,17 @@ public Mono> getWithResponseAsync(Str final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, connectionName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, connectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the vpn connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -705,16 +704,16 @@ private Mono> getWithResponseAsync(St final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, connectionName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, connectionName, accept, context); } /** * Retrieves the details of a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the vpn connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -730,9 +729,9 @@ public Mono getAsync(String resourceGroupName, /** * Retrieves the details of a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the vpn connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -748,9 +747,9 @@ public Response getWithResponse(String resourc /** * Retrieves the details of a HubVirtualNetworkConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param connectionName The name of the vpn connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. + * @param connectionName The connectionName parameter. * @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. @@ -765,7 +764,7 @@ public HubVirtualNetworkConnectionInner get(String resourceGroupName, String vir /** * Retrieves the details of all HubVirtualNetworkConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -794,8 +793,8 @@ private Mono> listSinglePageAsyn final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, 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())); @@ -804,7 +803,7 @@ private Mono> listSinglePageAsyn /** * Retrieves the details of all HubVirtualNetworkConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -835,8 +834,8 @@ private Mono> listSinglePageAsyn final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, virtualHubName, - apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -844,7 +843,7 @@ private Mono> listSinglePageAsyn /** * Retrieves the details of all HubVirtualNetworkConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -861,7 +860,7 @@ public PagedFlux listAsync(String resourceGrou /** * Retrieves the details of all HubVirtualNetworkConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -880,7 +879,7 @@ private PagedFlux listAsync(String resourceGro /** * Retrieves the details of all HubVirtualNetworkConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -896,7 +895,7 @@ public PagedIterable list(String resourceGroup /** * Retrieves the details of all HubVirtualNetworkConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java index ca25bfc48da3..ac379de35889 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.InboundNatRulesClient; import com.azure.resourcemanager.network.fluent.models.InboundNatRuleInner; -import com.azure.resourcemanager.network.models.InboundNatRuleListResult; +import com.azure.resourcemanager.network.implementation.models.InboundNatRuleListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,78 +67,84 @@ public final class InboundNatRulesClientImpl implements InboundNatRulesClient { * The interface defining all the services for NetworkManagementClientInboundNatRules to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientInboundNatRules") public interface InboundNatRulesService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("loadBalancerName") String loadBalancerName, + @PathParam("inboundNatRuleName") String inboundNatRuleName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}") - @ExpectedResponses({ 200, 202, 204 }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("loadBalancerName") String loadBalancerName, - @PathParam("inboundNatRuleName") String inboundNatRuleName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("inboundNatRuleName") String inboundNatRuleName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") InboundNatRuleInner inboundNatRuleParameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}") + @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("loadBalancerName") String loadBalancerName, - @PathParam("inboundNatRuleName") String inboundNatRuleName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, - @HeaderParam("Accept") String accept, Context context); + @PathParam("inboundNatRuleName") String inboundNatRuleName, Context context); @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}") - @ExpectedResponses({ 200, 201 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, - @PathParam("inboundNatRuleName") String inboundNatRuleName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") InboundNatRuleInner inboundNatRuleParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("loadBalancerName") String loadBalancerName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Gets all the inbound NAT rules in a load balancer. + * Gets the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param inboundNatRuleName The name of the inbound NAT rule. + * @param expand Expands referenced resources. * @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 all the inbound NAT rules in a load balancer along with {@link PagedResponse} on successful completion of + * @return the specified load balancer inbound NAT rule along with {@link Response} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String loadBalancerName) { + public Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, String expand) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -147,39 +153,43 @@ private Mono> listSinglePageAsync(String reso return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (inboundNatRuleName == null) { + return Mono + .error(new IllegalArgumentException("Parameter inboundNatRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, inboundNatRuleName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the inbound NAT rules in a load balancer. + * Gets the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param inboundNatRuleName The name of the inbound NAT rule. + * @param expand Expands referenced resources. * @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 all the inbound NAT rules in a load balancer along with {@link PagedResponse} on successful completion of + * @return the specified load balancer inbound NAT rule along with {@link Response} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String loadBalancerName, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, String expand, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -188,103 +198,97 @@ private Mono> listSinglePageAsync(String reso return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (inboundNatRuleName == null) { + return Mono + .error(new IllegalArgumentException("Parameter inboundNatRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, inboundNatRuleName, expand, accept, context); } /** - * Gets all the inbound NAT rules in a load balancer. + * Gets the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param inboundNatRuleName The name of the inbound NAT rule. * @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 all the inbound NAT rules in a load balancer as paginated response with {@link PagedFlux}. + * @return the specified load balancer inbound NAT rule on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), - nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName) { + final String expand = null; + return getWithResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets all the inbound NAT rules in a load balancer. + * Gets the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param inboundNatRuleName The name of the inbound NAT rule. + * @param expand Expands referenced resources. * @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 all the inbound NAT rules in a load balancer as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, - Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets all the inbound NAT rules in a load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the inbound NAT rules in a load balancer as paginated response with {@link PagedIterable}. + * @return the specified load balancer inbound NAT rule along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, String expand, Context context) { + return getWithResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, expand, context).block(); } /** - * Gets all the inbound NAT rules in a load balancer. + * Gets the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param context The context to associate with this operation. + * @param inboundNatRuleName The name of the inbound NAT rule. * @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 all the inbound NAT rules in a load balancer as paginated response with {@link PagedIterable}. + * @return the specified load balancer inbound NAT rule. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public InboundNatRuleInner get(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) { + final String expand = null; + return getWithResponse(resourceGroupName, loadBalancerName, inboundNatRuleName, expand, Context.NONE) + .getValue(); } /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 Response} on successful completion of {@link Mono}. + * @return inbound NAT rule of the load balancer along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName) { + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -297,37 +301,48 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter inboundNatRuleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (inboundNatRuleParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter inboundNatRuleParameters is required and cannot be null.")); + } else { + inboundNatRuleParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - inboundNatRuleName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, loadBalancerName, inboundNatRuleName, contentType, + accept, inboundNatRuleParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 Response} on successful completion of {@link Mono}. + * @return inbound NAT rule of the load balancer along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, Context context) { + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -340,181 +355,211 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter inboundNatRuleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (inboundNatRuleParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter inboundNatRuleParameters is required and cannot be null.")); + } else { + inboundNatRuleParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, loadBalancerName, inboundNatRuleName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, inboundNatRuleName, contentType, accept, inboundNatRuleParameters, + context); } /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 PollerFlux} for polling of long-running operation. + * @return the {@link PollerFlux} for polling of inbound NAT rule of the load balancer. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + public PollerFlux, InboundNatRuleInner> beginCreateOrUpdateAsync( + String resourceGroupName, String loadBalancerName, String inboundNatRuleName, + InboundNatRuleInner inboundNatRuleParameters) { + Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, loadBalancerName, + inboundNatRuleName, inboundNatRuleParameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + InboundNatRuleInner.class, InboundNatRuleInner.class, this.client.getContext()); } /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 PollerFlux} for polling of long-running operation. + * @return the {@link PollerFlux} for polling of inbound NAT rule of the load balancer. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, Context context) { + private PollerFlux, InboundNatRuleInner> beginCreateOrUpdateAsync( + String resourceGroupName, String loadBalancerName, String inboundNatRuleName, + InboundNatRuleInner inboundNatRuleParameters, Context context) { context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, loadBalancerName, + inboundNatRuleName, inboundNatRuleParameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + InboundNatRuleInner.class, InboundNatRuleInner.class, context); } /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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. + * @return the {@link SyncPoller} for polling of inbound NAT rule of the load balancer. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName) { - return this.beginDeleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName).getSyncPoller(); + public SyncPoller, InboundNatRuleInner> beginCreateOrUpdate( + String resourceGroupName, String loadBalancerName, String inboundNatRuleName, + InboundNatRuleInner inboundNatRuleParameters) { + return this + .beginCreateOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, inboundNatRuleParameters) + .getSyncPoller(); } /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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. + * @return the {@link SyncPoller} for polling of inbound NAT rule of the load balancer. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, Context context) { - return this.beginDeleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, context).getSyncPoller(); + public SyncPoller, InboundNatRuleInner> beginCreateOrUpdate( + String resourceGroupName, String loadBalancerName, String inboundNatRuleName, + InboundNatRuleInner inboundNatRuleParameters, Context context) { + return this + .beginCreateOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, inboundNatRuleParameters, + context) + .getSyncPoller(); } /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 A {@link Mono} that completes when a successful response is received. + * @return inbound NAT rule of the load balancer on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) { - return beginDeleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono createOrUpdateAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) { + return beginCreateOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, + inboundNatRuleParameters).last().flatMap(this.client::getLroFinalResultOrError); } /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 A {@link Mono} that completes when a successful response is received. + * @return inbound NAT rule of the load balancer on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, - Context context) { - return beginDeleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, context).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono createOrUpdateAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, + inboundNatRuleParameters, context).last().flatMap(this.client::getLroFinalResultOrError); } /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 inbound NAT rule of the load balancer. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) { - deleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName).block(); + public InboundNatRuleInner createOrUpdate(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) { + return createOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, inboundNatRuleParameters) + .block(); } /** - * Deletes the specified load balancer inbound NAT rule. + * Creates or updates a load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. + * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 inbound NAT rule of the load balancer. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, Context context) { - deleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, context).block(); + public InboundNatRuleInner createOrUpdate(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, Context context) { + return createOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, inboundNatRuleParameters, + context).block(); } /** - * Gets the specified load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param expand Expands referenced resources. * @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 load balancer inbound NAT rule along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, String expand) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -527,39 +572,36 @@ public Mono> getWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter inboundNatRuleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - inboundNatRuleName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, loadBalancerName, inboundNatRuleName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the specified load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param expand Expands referenced resources. * @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 load balancer inbound NAT rule along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, String expand, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -572,341 +614,300 @@ private Mono> getWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter inboundNatRuleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, inboundNatRuleName, - apiVersion, this.client.getSubscriptionId(), expand, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, inboundNatRuleName, context); } /** - * Gets the specified load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. * @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 load balancer inbound NAT rule on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String loadBalancerName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) { - final String expand = null; - return getWithResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, expand) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Gets the specified load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param expand Expands referenced resources. * @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 load balancer inbound NAT rule along with {@link Response}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, String expand, Context context) { - return getWithResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, expand, context).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Gets the specified load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. * @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 load balancer inbound NAT rule. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public InboundNatRuleInner get(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) { - final String expand = null; - return getWithResponse(resourceGroupName, loadBalancerName, inboundNatRuleName, expand, Context.NONE) - .getValue(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName) { + return this.beginDeleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName).getSyncPoller(); } /** - * Creates or updates a load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. + * @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 inbound NAT rule of the load balancer along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String loadBalancerName, + String inboundNatRuleName, Context context) { + return this.beginDeleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, context).getSyncPoller(); + } + + /** + * Deletes the specified load balancer inbound NAT rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @param inboundNatRuleName The name of the inbound NAT rule. + * @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) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (loadBalancerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); - } - if (inboundNatRuleName == null) { - return Mono - .error(new IllegalArgumentException("Parameter inboundNatRuleName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (inboundNatRuleParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter inboundNatRuleParameters is required and cannot be null.")); - } else { - inboundNatRuleParameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - loadBalancerName, inboundNatRuleName, apiVersion, this.client.getSubscriptionId(), - inboundNatRuleParameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + public Mono deleteAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) { + return beginDeleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Creates or updates a load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 inbound NAT rule of the load balancer along with {@link Response} on successful completion of - * {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, + private Mono deleteAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (loadBalancerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); - } - if (inboundNatRuleName == null) { - return Mono - .error(new IllegalArgumentException("Parameter inboundNatRuleName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (inboundNatRuleParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter inboundNatRuleParameters is required and cannot be null.")); - } else { - inboundNatRuleParameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - inboundNatRuleName, apiVersion, this.client.getSubscriptionId(), inboundNatRuleParameters, accept, context); + return beginDeleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Creates or updates a load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 PollerFlux} for polling of inbound NAT rule of the load balancer. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, InboundNatRuleInner> beginCreateOrUpdateAsync( - String resourceGroupName, String loadBalancerName, String inboundNatRuleName, - InboundNatRuleInner inboundNatRuleParameters) { - Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, loadBalancerName, - inboundNatRuleName, inboundNatRuleParameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - InboundNatRuleInner.class, InboundNatRuleInner.class, this.client.getContext()); + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName) { + deleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName).block(); } /** - * Creates or updates a load balancer inbound NAT rule. + * Deletes the specified load balancer inbound NAT rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 PollerFlux} for polling of inbound NAT rule of the load balancer. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, InboundNatRuleInner> beginCreateOrUpdateAsync( - String resourceGroupName, String loadBalancerName, String inboundNatRuleName, - InboundNatRuleInner inboundNatRuleParameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, loadBalancerName, - inboundNatRuleName, inboundNatRuleParameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - InboundNatRuleInner.class, InboundNatRuleInner.class, context); + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, Context context) { + deleteAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, context).block(); } /** - * Creates or updates a load balancer inbound NAT rule. + * Gets all the inbound NAT rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 inbound NAT rule of the load balancer. + * @return all the inbound NAT rules in a load balancer along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, InboundNatRuleInner> beginCreateOrUpdate( - String resourceGroupName, String loadBalancerName, String inboundNatRuleName, - InboundNatRuleInner inboundNatRuleParameters) { - return this - .beginCreateOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, inboundNatRuleParameters) - .getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String loadBalancerName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (loadBalancerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, 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())); } /** - * Creates or updates a load balancer inbound NAT rule. + * Gets all the inbound NAT rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 inbound NAT rule of the load balancer. + * @return all the inbound NAT rules in a load balancer along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, InboundNatRuleInner> beginCreateOrUpdate( - String resourceGroupName, String loadBalancerName, String inboundNatRuleName, - InboundNatRuleInner inboundNatRuleParameters, Context context) { - return this - .beginCreateOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, inboundNatRuleParameters, - context) - .getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String loadBalancerName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (loadBalancerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Creates or updates a load balancer inbound NAT rule. + * Gets all the inbound NAT rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 inbound NAT rule of the load balancer on successful completion of {@link Mono}. + * @return all the inbound NAT rules in a load balancer as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) { - return beginCreateOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, - inboundNatRuleParameters).last().flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Creates or updates a load balancer inbound NAT rule. + * Gets all the inbound NAT rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 inbound NAT rule of the load balancer on successful completion of {@link Mono}. + * @return all the inbound NAT rules in a load balancer as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, - inboundNatRuleParameters, context).last().flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, + Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Creates or updates a load balancer inbound NAT rule. + * Gets all the inbound NAT rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule 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 inbound NAT rule of the load balancer. + * @return all the inbound NAT rules in a load balancer as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public InboundNatRuleInner createOrUpdate(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) { - return createOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, inboundNatRuleParameters) - .block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); } /** - * Creates or updates a load balancer inbound NAT rule. + * Gets all the inbound NAT rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param inboundNatRuleName The name of the inbound NAT rule. - * @param inboundNatRuleParameters Parameters supplied to the create or update inbound NAT rule operation. * @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 inbound NAT rule of the load balancer. + * @return all the inbound NAT rules in a load balancer as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public InboundNatRuleInner createOrUpdate(String resourceGroupName, String loadBalancerName, - String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters, Context context) { - return createOrUpdateAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, inboundNatRuleParameters, - context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java index ca03d0d94fa0..a65634f3419a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -61,38 +61,183 @@ public final class InboundSecurityRuleOperationsClientImpl implements InboundSec * The interface defining all the services for NetworkManagementClientInboundSecurityRuleOperations to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientInboundSecurityRuleOperations") public interface InboundSecurityRuleOperationsService { @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}") - @ExpectedResponses({ 200, 201 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") InboundSecurityRuleInner parameters, @HeaderParam("Accept") String accept, + @PathParam("ruleCollectionName") String ruleCollectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}") - @ExpectedResponses({ 200 }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("ruleCollectionName") String ruleCollectionName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") InboundSecurityRuleInner parameters, + Context context); + } + + /** + * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @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 nVA Inbound Security Rule resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, String ruleCollectionName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkVirtualApplianceName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); + } + if (ruleCollectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, ruleCollectionName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @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 nVA Inbound Security Rule resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, String ruleCollectionName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkVirtualApplianceName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); + } + if (ruleCollectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkVirtualApplianceName, ruleCollectionName, accept, context); + } + + /** + * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @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 nVA Inbound Security Rule resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String networkVirtualApplianceName, + String ruleCollectionName) { + return getWithResponseAsync(resourceGroupName, networkVirtualApplianceName, ruleCollectionName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @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 nVA Inbound Security Rule resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, + String networkVirtualApplianceName, String ruleCollectionName, Context context) { + return getWithResponseAsync(resourceGroupName, networkVirtualApplianceName, ruleCollectionName, context) + .block(); + } + + /** + * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @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 nVA Inbound Security Rule resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public InboundSecurityRuleInner get(String resourceGroupName, String networkVirtualApplianceName, + String ruleCollectionName) { + return getWithResponse(resourceGroupName, networkVirtualApplianceName, ruleCollectionName, Context.NONE) + .getValue(); } /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -107,6 +252,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -119,30 +268,28 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - networkVirtualApplianceName, ruleCollectionName, apiVersion, this.client.getSubscriptionId(), - parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkVirtualApplianceName, ruleCollectionName, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @param context The context to associate with this operation. @@ -159,6 +306,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -171,28 +322,27 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, - ruleCollectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, ruleCollectionName, contentType, accept, parameters, + context); } /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -214,9 +364,10 @@ public PollerFlux, InboundSecurityRuleInner /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @param context The context to associate with this operation. @@ -239,9 +390,10 @@ private PollerFlux, InboundSecurityRuleInne /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -261,9 +413,10 @@ public SyncPoller, InboundSecurityRuleInner /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @param context The context to associate with this operation. @@ -285,9 +438,10 @@ public SyncPoller, InboundSecurityRuleInner /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -306,9 +460,10 @@ public Mono createOrUpdateAsync(String resourceGroupNa /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @param context The context to associate with this operation. @@ -328,9 +483,10 @@ private Mono createOrUpdateAsync(String resourceGroupN /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -348,9 +504,10 @@ public InboundSecurityRuleInner createOrUpdate(String resourceGroupName, String /** * Creates or updates the specified Network Virtual Appliance Inbound Security Rules. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param ruleCollectionName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules * operation. * @param context The context to associate with this operation. @@ -365,144 +522,4 @@ public InboundSecurityRuleInner createOrUpdate(String resourceGroupName, String return createOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, ruleCollectionName, parameters, context).block(); } - - /** - * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. - * @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 nVA Inbound Security Rule resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, String ruleCollectionName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkVirtualApplianceName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); - } - if (ruleCollectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.get(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, - ruleCollectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. - * @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 nVA Inbound Security Rule resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, String ruleCollectionName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkVirtualApplianceName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); - } - if (ruleCollectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, - ruleCollectionName, apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. - * @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 nVA Inbound Security Rule resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String networkVirtualApplianceName, - String ruleCollectionName) { - return getWithResponseAsync(resourceGroupName, networkVirtualApplianceName, ruleCollectionName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. - * @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 nVA Inbound Security Rule resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, - String networkVirtualApplianceName, String ruleCollectionName, Context context) { - return getWithResponseAsync(resourceGroupName, networkVirtualApplianceName, ruleCollectionName, context) - .block(); - } - - /** - * Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param ruleCollectionName The name of security rule collection. - * @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 nVA Inbound Security Rule resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public InboundSecurityRuleInner get(String resourceGroupName, String networkVirtualApplianceName, - String ruleCollectionName) { - return getWithResponse(resourceGroupName, networkVirtualApplianceName, ruleCollectionName, Context.NONE) - .getValue(); - } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java index 6020c3a700d7..8668a88d4d12 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.IpAllocationsClient; import com.azure.resourcemanager.network.fluent.models.IpAllocationInner; -import com.azure.resourcemanager.network.models.IpAllocationListResult; +import com.azure.resourcemanager.network.implementation.models.IpAllocationListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,289 +73,85 @@ public final class IpAllocationsClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("ipAllocationName") String ipAllocationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("ipAllocationName") String ipAllocationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("ipAllocationName") String ipAllocationName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("ipAllocationName") String ipAllocationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") IpAllocationInner parameters, @HeaderParam("Accept") String accept, + @PathParam("ipAllocationName") String ipAllocationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") IpAllocationInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("ipAllocationName") String ipAllocationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("ipAllocationName") String ipAllocationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}") + @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("ipAllocationName") String ipAllocationName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String ipAllocationName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (ipAllocationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipAllocationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, ipAllocationName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String ipAllocationName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (ipAllocationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipAllocationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, ipAllocationName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ipAllocationName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, ipAllocationName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ipAllocationName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, ipAllocationName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 ipAllocationName) { - return this.beginDeleteAsync(resourceGroupName, ipAllocationName).getSyncPoller(); - } - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 ipAllocationName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, ipAllocationName, context).getSyncPoller(); - } - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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) - public Mono deleteAsync(String resourceGroupName, String ipAllocationName) { - return beginDeleteAsync(resourceGroupName, ipAllocationName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String ipAllocationName, Context context) { - return beginDeleteAsync(resourceGroupName, ipAllocationName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 ipAllocationName) { - deleteAsync(resourceGroupName, ipAllocationName).block(); - } - /** - * Deletes the specified IpAllocation. - * - * @param resourceGroupName The name of the resource group. - * @param ipAllocationName The name of the IpAllocation. - * @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 ipAllocationName, Context context) { - deleteAsync(resourceGroupName, ipAllocationName, context).block(); + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified IpAllocation by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -371,6 +167,10 @@ public Mono> getByResourceGroupWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -379,22 +179,18 @@ public Mono> getByResourceGroupWithResponseAsync(Str return Mono .error(new IllegalArgumentException("Parameter ipAllocationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - ipAllocationName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ipAllocationName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified IpAllocation by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -411,6 +207,10 @@ private Mono> getByResourceGroupWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -419,21 +219,17 @@ private Mono> getByResourceGroupWithResponseAsync(St return Mono .error(new IllegalArgumentException("Parameter ipAllocationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, ipAllocationName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ipAllocationName, expand, accept, context); } /** * Gets the specified IpAllocation by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -450,7 +246,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName, /** * Gets the specified IpAllocation by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -468,7 +264,7 @@ public Response getByResourceGroupWithResponse(String resourc /** * Gets the specified IpAllocation by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -484,7 +280,7 @@ public IpAllocationInner getByResourceGroup(String resourceGroupName, String ipA /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -499,6 +295,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -507,27 +307,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter ipAllocationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - ipAllocationName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ipAllocationName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -543,6 +341,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -551,26 +353,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter ipAllocationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, ipAllocationName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ipAllocationName, contentType, accept, parameters, context); } /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -590,7 +389,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -612,7 +411,7 @@ private PollerFlux, IpAllocationInner> beginCreate /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -629,7 +428,7 @@ public SyncPoller, IpAllocationInner> beginCreateO /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -647,7 +446,7 @@ public SyncPoller, IpAllocationInner> beginCreateO /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -665,7 +464,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -684,7 +483,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -701,7 +500,7 @@ public IpAllocationInner createOrUpdate(String resourceGroupName, String ipAlloc /** * Creates or updates an IpAllocation in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -719,7 +518,7 @@ public IpAllocationInner createOrUpdate(String resourceGroupName, String ipAlloc /** * Updates a IpAllocation tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to update IpAllocation tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -734,35 +533,37 @@ public Mono> updateTagsWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } if (ipAllocationName == null) { return Mono .error(new IllegalArgumentException("Parameter ipAllocationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, ipAllocationName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ipAllocationName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates a IpAllocation tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to update IpAllocation tags. * @param context The context to associate with this operation. @@ -778,6 +579,10 @@ private Mono> updateTagsWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -786,26 +591,23 @@ private Mono> updateTagsWithResponseAsync(String res return Mono .error(new IllegalArgumentException("Parameter ipAllocationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, ipAllocationName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ipAllocationName, contentType, accept, parameters, context); } /** * Updates a IpAllocation tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to update IpAllocation tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -823,7 +625,7 @@ public Mono updateTagsAsync(String resourceGroupName, String /** * Updates a IpAllocation tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to update IpAllocation tags. * @param context The context to associate with this operation. @@ -841,7 +643,7 @@ public Response updateTagsWithResponse(String resourceGroupNa /** * Updates a IpAllocation tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipAllocationName The name of the IpAllocation. * @param parameters Parameters supplied to update IpAllocation tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -855,15 +657,17 @@ public IpAllocationInner updateTags(String resourceGroupName, String ipAllocatio } /** - * Gets all IpAllocations in a subscription. + * Deletes the specified IpAllocation. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 all IpAllocations in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String ipAllocationName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -872,28 +676,35 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (ipAllocationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipAllocationName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ipAllocationName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all IpAllocations in a subscription. + * Deletes the specified IpAllocation. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. * @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 all IpAllocations in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, String ipAllocationName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -902,71 +713,155 @@ private Mono> listSinglePageAsync(Context conte return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (ipAllocationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipAllocationName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + ipAllocationName, context); } /** - * Gets all IpAllocations in a subscription. + * Deletes the specified IpAllocation. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 all IpAllocations in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ipAllocationName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, ipAllocationName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Gets all IpAllocations in a subscription. + * Deletes the specified IpAllocation. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. * @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 all IpAllocations in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String ipAllocationName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, ipAllocationName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Gets all IpAllocations in a subscription. + * Deletes the specified IpAllocation. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 all IpAllocations in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String ipAllocationName) { + return this.beginDeleteAsync(resourceGroupName, ipAllocationName).getSyncPoller(); } /** - * Gets all IpAllocations in a subscription. + * Deletes the specified IpAllocation. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. * @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 all IpAllocations in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String ipAllocationName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, ipAllocationName, context).getSyncPoller(); + } + + /** + * Deletes the specified IpAllocation. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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) + public Mono deleteAsync(String resourceGroupName, String ipAllocationName) { + return beginDeleteAsync(resourceGroupName, ipAllocationName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified IpAllocation. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String ipAllocationName, Context context) { + return beginDeleteAsync(resourceGroupName, ipAllocationName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified IpAllocation. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 ipAllocationName) { + deleteAsync(resourceGroupName, ipAllocationName).block(); + } + + /** + * Deletes the specified IpAllocation. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param ipAllocationName The name of the IpAllocation. + * @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 ipAllocationName, Context context) { + deleteAsync(resourceGroupName, ipAllocationName, context).block(); } /** * Gets all IpAllocations in a resource group. * - * @param resourceGroupName The name of the 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. @@ -979,19 +874,19 @@ private Mono> listByResourceGroupSinglePageAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -1000,7 +895,7 @@ private Mono> listByResourceGroupSinglePageAsyn /** * Gets all IpAllocations in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1015,20 +910,20 @@ private Mono> listByResourceGroupSinglePageAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1036,7 +931,7 @@ private Mono> listByResourceGroupSinglePageAsyn /** * Gets all IpAllocations in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1051,7 +946,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGrou /** * Gets all IpAllocations in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1067,7 +962,7 @@ private PagedFlux listByResourceGroupAsync(String resourceGro /** * Gets all IpAllocations in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1081,7 +976,7 @@ public PagedIterable listByResourceGroup(String resourceGroup /** * Gets all IpAllocations in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1094,35 +989,36 @@ public PagedIterable listByResourceGroup(String resourceGroup } /** - * Get the next page of items. + * Gets all IpAllocations in a subscription. * - * @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 all IpAllocations in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Get the next page of items. + * Gets all IpAllocations in a subscription. * - * @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. @@ -1131,21 +1027,76 @@ private Mono> listNextSinglePageAsync(String ne * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } + /** + * Gets all IpAllocations in a 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 all IpAllocations in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets all IpAllocations in a 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 all IpAllocations in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets all IpAllocations in a 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 all IpAllocations in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Gets all IpAllocations in a 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 all IpAllocations in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); + } + /** * Get the next page of items. * @@ -1201,4 +1152,57 @@ private Mono> listByResourceGroupNextSinglePage .map(res -> 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 all IpAllocations in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.listNext(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. + * @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 all IpAllocations in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java index 30e33091b9e4..60f37fbb7ffc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,8 +33,8 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.IpGroupsClient; import com.azure.resourcemanager.network.fluent.models.IpGroupInner; +import com.azure.resourcemanager.network.implementation.models.IpGroupListResult; import com.azure.resourcemanager.network.models.ErrorException; -import com.azure.resourcemanager.network.models.IpGroupListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -72,60 +72,59 @@ public final class IpGroupsClientImpl implements InnerSupportsGet, * The interface defining all the services for NetworkManagementClientIpGroups to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientIpGroups") public interface IpGroupsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ipGroupsName") String ipGroupsName, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ipGroupsName") String ipGroupsName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ipGroupsName") String ipGroupsName, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") IpGroupInner parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ipGroupsName") String ipGroupsName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") IpGroupInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> updateGroups(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ipGroupsName") String ipGroupsName, + Mono> updateGroups(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ipGroupsName") String ipGroupsName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ipGroupsName") String ipGroupsName, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("ipGroupsName") String ipGroupsName, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/ipGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -134,7 +133,7 @@ Mono> list(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -142,13 +141,13 @@ Mono> listByResourceGroupNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param expand Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups * resource. @@ -164,6 +163,10 @@ public Mono> getByResourceGroupWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -171,22 +174,18 @@ public Mono> getByResourceGroupWithResponseAsync(String r if (ipGroupsName == null) { return Mono.error(new IllegalArgumentException("Parameter ipGroupsName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - ipGroupsName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ipGroupsName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param expand Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups * resource. @@ -203,6 +202,10 @@ private Mono> getByResourceGroupWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -210,21 +213,17 @@ private Mono> getByResourceGroupWithResponseAsync(String if (ipGroupsName == null) { return Mono.error(new IllegalArgumentException("Parameter ipGroupsName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, ipGroupsName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ipGroupsName, expand, accept, context); } /** * Gets the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -241,7 +240,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName, Stri /** * Gets the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param expand Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups * resource. @@ -260,7 +259,7 @@ public Response getByResourceGroupWithResponse(String resourceGrou /** * Gets the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -276,7 +275,7 @@ public IpGroupInner getByResourceGroup(String resourceGroupName, String ipGroups /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -291,6 +290,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -298,27 +301,23 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (ipGroupsName == null) { return Mono.error(new IllegalArgumentException("Parameter ipGroupsName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, ipGroupsName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + return FluxUtil.withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ipGroupsName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @param context The context to associate with this operation. @@ -334,6 +333,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -341,26 +344,23 @@ private Mono>> createOrUpdateWithResponseAsync(String if (ipGroupsName == null) { return Mono.error(new IllegalArgumentException("Parameter ipGroupsName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, ipGroupsName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ipGroupsName, contentType, accept, parameters, context); } /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -380,7 +380,7 @@ public PollerFlux, IpGroupInner> beginCreateOrUpdateAsy /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @param context The context to associate with this operation. @@ -402,7 +402,7 @@ private PollerFlux, IpGroupInner> beginCreateOrUpdateAs /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -419,7 +419,7 @@ public SyncPoller, IpGroupInner> beginCreateOrUpdate(St /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @param context The context to associate with this operation. @@ -437,7 +437,7 @@ public SyncPoller, IpGroupInner> beginCreateOrUpdate(St /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -455,7 +455,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, String i /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @param context The context to associate with this operation. @@ -474,7 +474,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, String /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -490,7 +490,7 @@ public IpGroupInner createOrUpdate(String resourceGroupName, String ipGroupsName /** * Creates or updates an ipGroups in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the create or update IpGroups operation. * @param context The context to associate with this operation. @@ -508,7 +508,7 @@ public IpGroupInner createOrUpdate(String resourceGroupName, String ipGroupsName /** * Updates tags of an IpGroups resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the update ipGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -523,6 +523,10 @@ public Mono> updateGroupsWithResponseAsync(String resourc return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -530,27 +534,25 @@ public Mono> updateGroupsWithResponseAsync(String resourc if (ipGroupsName == null) { return Mono.error(new IllegalArgumentException("Parameter ipGroupsName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateGroups(this.client.getEndpoint(), resourceGroupName, ipGroupsName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateGroups(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ipGroupsName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates tags of an IpGroups resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the update ipGroups operation. * @param context The context to associate with this operation. @@ -566,6 +568,10 @@ private Mono> updateGroupsWithResponseAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -573,26 +579,23 @@ private Mono> updateGroupsWithResponseAsync(String resour if (ipGroupsName == null) { return Mono.error(new IllegalArgumentException("Parameter ipGroupsName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateGroups(this.client.getEndpoint(), resourceGroupName, ipGroupsName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateGroups(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, ipGroupsName, contentType, accept, parameters, context); } /** * Updates tags of an IpGroups resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the update ipGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -609,7 +612,7 @@ public Mono updateGroupsAsync(String resourceGroupName, String ipG /** * Updates tags of an IpGroups resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the update ipGroups operation. * @param context The context to associate with this operation. @@ -627,7 +630,7 @@ public Response updateGroupsWithResponse(String resourceGroupName, /** * Updates tags of an IpGroups resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param parameters Parameters supplied to the update ipGroups operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -643,7 +646,7 @@ public IpGroupInner updateGroups(String resourceGroupName, String ipGroupsName, /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -656,6 +659,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -663,22 +670,17 @@ public Mono>> deleteWithResponseAsync(String resourceG if (ipGroupsName == null) { return Mono.error(new IllegalArgumentException("Parameter ipGroupsName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, ipGroupsName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, ipGroupsName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -693,6 +695,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -700,21 +706,16 @@ private Mono>> deleteWithResponseAsync(String resource if (ipGroupsName == null) { return Mono.error(new IllegalArgumentException("Parameter ipGroupsName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, ipGroupsName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + ipGroupsName, context); } /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -731,7 +732,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -751,7 +752,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -766,7 +767,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -783,7 +784,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -798,7 +799,7 @@ public Mono deleteAsync(String resourceGroupName, String ipGroupsName) { /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -815,7 +816,7 @@ private Mono deleteAsync(String resourceGroupName, String ipGroupsName, Co /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -829,7 +830,7 @@ public void delete(String resourceGroupName, String ipGroupsName) { /** * Deletes the specified ipGroups. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param ipGroupsName The name of the ipGroups. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -844,7 +845,7 @@ public void delete(String resourceGroupName, String ipGroupsName, Context contex /** * Gets all IpGroups in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -857,19 +858,19 @@ private Mono> listByResourceGroupSinglePageAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -878,7 +879,7 @@ private Mono> listByResourceGroupSinglePageAsync(Str /** * Gets all IpGroups in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. @@ -893,20 +894,20 @@ private Mono> listByResourceGroupSinglePageAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -914,7 +915,7 @@ private Mono> listByResourceGroupSinglePageAsync(Str /** * Gets all IpGroups in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -929,7 +930,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGroupName /** * Gets all IpGroups in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. @@ -945,7 +946,7 @@ private PagedFlux listByResourceGroupAsync(String resourceGroupNam /** * Gets all IpGroups in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -959,7 +960,7 @@ public PagedIterable listByResourceGroup(String resourceGroupName) /** * Gets all IpGroups in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java index 9943842571a7..332e009306a2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -37,9 +37,9 @@ import com.azure.resourcemanager.network.fluent.models.IpamPoolInner; import com.azure.resourcemanager.network.fluent.models.PoolAssociationInner; import com.azure.resourcemanager.network.fluent.models.PoolUsageInner; -import com.azure.resourcemanager.network.models.IpamPoolList; +import com.azure.resourcemanager.network.implementation.models.IpamPoolList; +import com.azure.resourcemanager.network.implementation.models.PoolAssociationList; import com.azure.resourcemanager.network.models.IpamPoolUpdate; -import com.azure.resourcemanager.network.models.PoolAssociationList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -73,119 +73,111 @@ public final class IpamPoolsClientImpl implements IpamPoolsClient { * The interface defining all the services for NetworkManagementClientIpamPools to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientIpamPools") public interface IpamPoolsService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("skipToken") String skipToken, - @QueryParam("skip") Integer skip, @QueryParam("top") Integer top, @QueryParam("sortKey") String sortKey, - @QueryParam("sortValue") String sortValue, @QueryParam("api-version") String apiVersion, + @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> create(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> create(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, - @QueryParam("api-version") String apiVersion, @HeaderParam("If-Match") String ifMatch, - @BodyParam("application/json") IpamPoolInner body, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("If-Match") String ifMatch, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") IpamPoolInner body, Context context); @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> update(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> update(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, - @QueryParam("api-version") String apiVersion, @HeaderParam("If-Match") String ifMatch, - @BodyParam("application/json") IpamPoolUpdate body, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("If-Match") String ifMatch, @HeaderParam("Accept") String accept, + @BodyParam("application/json") IpamPoolUpdate body, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}") + @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("If-Match") String ifMatch, Context context); @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}") - @ExpectedResponses({ 202, 204 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, - @QueryParam("api-version") String apiVersion, @HeaderParam("If-Match") String ifMatch, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkManagerName") String networkManagerName, @QueryParam("skipToken") String skipToken, + @QueryParam("skip") Integer skip, @QueryParam("top") Integer top, @QueryParam("sortKey") String sortKey, + @QueryParam("sortValue") String sortValue, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/getPoolUsage") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getPoolUsage(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> getPoolUsage(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/listAssociatedResources") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAssociatedResources(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> listAssociatedResources(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAssociatedResourcesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Gets list of Pool resources at Network Manager level. + * Gets the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. + * @param poolName Pool resource name. * @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 list of Pool resources at Network Manager level along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return the specific Pool resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, String networkManagerName, - String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { + public Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, + String poolName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -202,37 +194,32 @@ private Mono> listSinglePageAsync(String resourceGr return Mono .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); } + if (poolName == null) { + return Mono.error(new IllegalArgumentException("Parameter poolName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, skipToken, skip, top, sortKey, sortValue, apiVersion, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, poolName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets list of Pool resources at Network Manager level. + * Gets the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. + * @param poolName Pool resource name. * @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 list of Pool resources at Network Manager level along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return the specific Pool resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, String networkManagerName, - String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, + String poolName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -249,134 +236,73 @@ private Mono> listSinglePageAsync(String resourceGr return Mono .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); } + if (poolName == null) { + return Mono.error(new IllegalArgumentException("Parameter poolName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, networkManagerName, - skipToken, skip, top, sortKey, sortValue, apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, poolName, accept, context); } /** - * Gets list of Pool resources at Network Manager level. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Pool resources at Network Manager level as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, String skipToken, - Integer skip, Integer top, String sortKey, String sortValue) { - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets list of Pool resources at Network Manager level. + * Gets the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. + * @param poolName Pool resource name. * @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 list of Pool resources at Network Manager level as paginated response with {@link PagedFlux}. + * @return the specific Pool resource on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { - final String skipToken = null; - final Integer skip = null; - final Integer top = null; - final String sortKey = null; - final String sortValue = null; - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue), - nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String networkManagerName, String poolName) { + return getWithResponseAsync(resourceGroupName, networkManagerName, poolName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets list of Pool resources at Network Manager level. + * Gets the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. + * @param poolName Pool resource name. * @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 list of Pool resources at Network Manager level as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, String skipToken, - Integer skip, Integer top, String sortKey, String sortValue, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, - sortKey, sortValue, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets list of Pool resources at Network Manager level. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @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 list of Pool resources at Network Manager level as paginated response with {@link PagedIterable}. + * @return the specific Pool resource along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName) { - final String skipToken = null; - final Integer skip = null; - final Integer top = null; - final String sortKey = null; - final String sortValue = null; - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String networkManagerName, String poolName, + Context context) { + return getWithResponseAsync(resourceGroupName, networkManagerName, poolName, context).block(); } /** - * Gets list of Pool resources at Network Manager level. + * Gets the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @param context The context to associate with this operation. + * @param poolName Pool resource name. * @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 list of Pool resources at Network Manager level as paginated response with {@link PagedIterable}. + * @return the specific Pool resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, String skipToken, - Integer skip, Integer top, String sortKey, String sortValue, Context context) { - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public IpamPoolInner get(String resourceGroupName, String networkManagerName, String poolName) { + return getWithResponse(resourceGroupName, networkManagerName, poolName, Context.NONE).getValue(); } /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -413,19 +339,21 @@ public Mono>> createWithResponseAsync(String resourceG body.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.create(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, poolName, apiVersion, ifMatch, body, accept, context)) + .withContext( + context -> service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, poolName, ifMatch, contentType, accept, body, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -463,18 +391,19 @@ private Mono>> createWithResponseAsync(String resource body.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.create(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, poolName, apiVersion, ifMatch, body, accept, context); + return service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, poolName, ifMatch, contentType, accept, body, context); } /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -495,9 +424,9 @@ public PollerFlux, IpamPoolInner> beginCreateAsync(Str /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -517,9 +446,9 @@ public PollerFlux, IpamPoolInner> beginCreateAsync(Str /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -542,9 +471,9 @@ private PollerFlux, IpamPoolInner> beginCreateAsync(St /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -561,9 +490,9 @@ public SyncPoller, IpamPoolInner> beginCreate(String r /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -583,9 +512,9 @@ public SyncPoller, IpamPoolInner> beginCreate(String r /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -604,9 +533,9 @@ public Mono createAsync(String resourceGroupName, String networkM /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -624,9 +553,9 @@ public Mono createAsync(String resourceGroupName, String networkM /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -646,9 +575,9 @@ private Mono createAsync(String resourceGroupName, String network /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -665,9 +594,9 @@ public IpamPoolInner create(String resourceGroupName, String networkManagerName, /** * Creates/Updates the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param body Pool resource object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -686,9 +615,9 @@ public IpamPoolInner create(String resourceGroupName, String networkManagerName, /** * Updates the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param body Pool resource object to update partially. @@ -725,17 +654,18 @@ public Mono> updateWithResponseAsync(String resourceGrou final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.update(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, poolName, apiVersion, ifMatch, body, accept, context)) + .withContext( + context -> service.update(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, poolName, ifMatch, accept, body, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param body Pool resource object to update partially. @@ -773,16 +703,16 @@ private Mono> updateWithResponseAsync(String resourceGro final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.update(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, poolName, apiVersion, ifMatch, body, accept, context); + return service.update(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, poolName, ifMatch, accept, body, context); } /** * Updates the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @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. @@ -799,9 +729,9 @@ public Mono updateAsync(String resourceGroupName, String networkM /** * Updates the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param body Pool resource object to update partially. @@ -820,9 +750,9 @@ public Response updateWithResponse(String resourceGroupName, Stri /** * Updates the specific Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. + * @param poolName Pool resource name. * @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. @@ -836,143 +766,10 @@ public IpamPoolInner update(String resourceGroupName, String networkManagerName, .getValue(); } - /** - * Gets the specific Pool resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @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 specific Pool resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, - String poolName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (poolName == null) { - return Mono.error(new IllegalArgumentException("Parameter poolName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, poolName, apiVersion, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Gets the specific Pool resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @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 specific Pool resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, - String poolName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (poolName == null) { - return Mono.error(new IllegalArgumentException("Parameter poolName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, poolName, apiVersion, accept, context); - } - - /** - * Gets the specific Pool resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @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 specific Pool resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String networkManagerName, String poolName) { - return getWithResponseAsync(resourceGroupName, networkManagerName, poolName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Gets the specific Pool resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @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 specific Pool resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String networkManagerName, String poolName, - Context context) { - return getWithResponseAsync(resourceGroupName, networkManagerName, poolName, context).block(); - } - - /** - * Gets the specific Pool resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @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 specific Pool resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public IpamPoolInner get(String resourceGroupName, String networkManagerName, String poolName) { - return getWithResponse(resourceGroupName, networkManagerName, poolName, Context.NONE).getValue(); - } - /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -1005,17 +802,16 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter poolName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, poolName, apiVersion, ifMatch, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, poolName, ifMatch, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -1049,16 +845,15 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter poolName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, poolName, apiVersion, ifMatch, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, poolName, ifMatch, context); } /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -1080,7 +875,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1101,7 +896,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -1125,7 +920,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1143,7 +938,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -1163,7 +958,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -1183,7 +978,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1201,7 +996,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -1222,7 +1017,7 @@ private Mono deleteAsync(String resourceGroupName, String networkManagerNa /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1238,7 +1033,7 @@ public void delete(String resourceGroupName, String networkManagerName, String p /** * Delete the Pool resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to @@ -1254,10 +1049,213 @@ public void delete(String resourceGroupName, String networkManagerName, String p deleteAsync(resourceGroupName, networkManagerName, poolName, ifMatch, context).block(); } + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Pool resources at Network Manager level along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, String networkManagerName, + String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue, 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())); + } + + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Pool resources at Network Manager level along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, String networkManagerName, + String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, skipToken, skip, top, sortKey, sortValue, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Pool resources at Network Manager level as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, String skipToken, + Integer skip, Integer top, String sortKey, String sortValue) { + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 list of Pool resources at Network Manager level as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { + final String skipToken = null; + final Integer skip = null; + final Integer top = null; + final String sortKey = null; + final String sortValue = null; + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Pool resources at Network Manager level as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, String skipToken, + Integer skip, Integer top, String sortKey, String sortValue, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, + sortKey, sortValue, context), nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 list of Pool resources at Network Manager level as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName) { + final String skipToken = null; + final Integer skip = null; + final Integer top = null; + final String sortKey = null; + final String sortValue = null; + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue)); + } + + /** + * Gets list of Pool resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Pool resources at Network Manager level as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, String skipToken, + Integer skip, Integer top, String sortKey, String sortValue, Context context) { + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue, context)); + } + /** * Get the Pool Usage. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1290,15 +1288,15 @@ public Mono> getPoolUsageWithResponseAsync(String resou final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getPoolUsage(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, poolName, apiVersion, accept, context)) + .withContext(context -> service.getPoolUsage(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, poolName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Get the Pool Usage. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param context The context to associate with this operation. @@ -1332,14 +1330,14 @@ private Mono> getPoolUsageWithResponseAsync(String reso final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getPoolUsage(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, poolName, apiVersion, accept, context); + return service.getPoolUsage(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, poolName, accept, context); } /** * Get the Pool Usage. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1357,7 +1355,7 @@ public Mono getPoolUsageAsync(String resourceGroupName, String n /** * Get the Pool Usage. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param context The context to associate with this operation. @@ -1375,7 +1373,7 @@ public Response getPoolUsageWithResponse(String resourceGroupNam /** * Get the Pool Usage. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1391,7 +1389,7 @@ public PoolUsageInner getPoolUsage(String resourceGroupName, String networkManag /** * List Associated Resource in the Pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1424,9 +1422,8 @@ private Mono> listAssociatedResourcesSingleP final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.listAssociatedResources(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, poolName, apiVersion, accept, context)) + .withContext(context -> service.listAssociatedResources(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, poolName, 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())); @@ -1435,7 +1432,7 @@ private Mono> listAssociatedResourcesSingleP /** * List Associated Resource in the Pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param context The context to associate with this operation. @@ -1470,8 +1467,8 @@ private Mono> listAssociatedResourcesSingleP final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listAssociatedResources(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, poolName, apiVersion, accept, context) + .listAssociatedResources(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, poolName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1479,7 +1476,7 @@ private Mono> listAssociatedResourcesSingleP /** * List Associated Resource in the Pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1498,7 +1495,7 @@ public PagedFlux listAssociatedResourcesAsync(String resou /** * List Associated Resource in the Pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param context The context to associate with this operation. @@ -1518,7 +1515,7 @@ private PagedFlux listAssociatedResourcesAsync(String reso /** * List Associated Resource in the Pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1535,7 +1532,7 @@ public PagedIterable listAssociatedResources(String resour /** * List Associated Resource in the Pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param context The context to associate with this operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java index fc01663b18a0..4fed0747c28c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.LoadBalancerBackendAddressPoolsClient; import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; -import com.azure.resourcemanager.network.models.LoadBalancerBackendAddressPoolListResult; +import com.azure.resourcemanager.network.implementation.models.LoadBalancerBackendAddressPoolListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,212 +67,64 @@ public final class LoadBalancerBackendAddressPoolsClientImpl implements LoadBala * The interface defining all the services for NetworkManagementClientLoadBalancerBackendAddressPools to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientLoadBalancerBackendAddressPools") public interface LoadBalancerBackendAddressPoolsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("loadBalancerName") String loadBalancerName, - @PathParam("backendAddressPoolName") String backendAddressPoolName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("backendAddressPoolName") String backendAddressPoolName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("loadBalancerName") String loadBalancerName, @PathParam("backendAddressPoolName") String backendAddressPoolName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") BackendAddressPoolInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BackendAddressPoolInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("loadBalancerName") String loadBalancerName, - @PathParam("backendAddressPoolName") String backendAddressPoolName, + @PathParam("backendAddressPoolName") String backendAddressPoolName, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools") + @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); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("loadBalancerName") String loadBalancerName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Gets all the load balancer backed address pools. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer backed address pools along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String loadBalancerName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (loadBalancerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - apiVersion, 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())); - } - - /** - * Gets all the load balancer backed address pools. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer backed address pools along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String loadBalancerName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (loadBalancerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets all the load balancer backed address pools. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer backed address pools as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets all the load balancer backed address pools. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer backed address pools as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, - Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets all the load balancer backed address pools. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer backed address pools as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); - } - - /** - * Gets all the load balancer backed address pools. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer backed address pools as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName, - Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); - } - /** * Gets load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -287,6 +139,10 @@ public Mono> getWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -299,22 +155,18 @@ public Mono> getWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter backendAddressPoolName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - backendAddressPoolName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, backendAddressPoolName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param context The context to associate with this operation. @@ -330,6 +182,10 @@ private Mono> getWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -342,21 +198,17 @@ private Mono> getWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter backendAddressPoolName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, backendAddressPoolName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, backendAddressPoolName, accept, context); } /** * Gets load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -374,7 +226,7 @@ public Mono getAsync(String resourceGroupName, String l /** * Gets load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param context The context to associate with this operation. @@ -392,7 +244,7 @@ public Response getWithResponse(String resourceGroupNam /** * Gets load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -409,7 +261,7 @@ public BackendAddressPoolInner get(String resourceGroupName, String loadBalancer /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -425,6 +277,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -437,28 +293,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter backendAddressPoolName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - backendAddressPoolName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, loadBalancerName, backendAddressPoolName, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -475,6 +328,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -487,26 +344,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter backendAddressPoolName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - backendAddressPoolName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, backendAddressPoolName, contentType, accept, parameters, context); } /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -529,7 +383,7 @@ public PollerFlux, BackendAddressPoolInner> /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -553,7 +407,7 @@ private PollerFlux, BackendAddressPoolInner> /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -573,7 +427,7 @@ public SyncPoller, BackendAddressPoolInner> /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -595,7 +449,7 @@ public SyncPoller, BackendAddressPoolInner> /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -614,7 +468,7 @@ public Mono createOrUpdateAsync(String resourceGroupNam /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -634,7 +488,7 @@ private Mono createOrUpdateAsync(String resourceGroupNa /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -652,7 +506,7 @@ public BackendAddressPoolInner createOrUpdate(String resourceGroupName, String l /** * Creates or updates a load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param parameters Parameters supplied to the create or update load balancer backend address pool operation. @@ -672,7 +526,7 @@ public BackendAddressPoolInner createOrUpdate(String resourceGroupName, String l /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -687,6 +541,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -699,22 +557,17 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter backendAddressPoolName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - backendAddressPoolName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, loadBalancerName, backendAddressPoolName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param context The context to associate with this operation. @@ -730,6 +583,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -742,21 +599,16 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter backendAddressPoolName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, loadBalancerName, backendAddressPoolName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, backendAddressPoolName, context); } /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -776,7 +628,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param context The context to associate with this operation. @@ -798,7 +650,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -815,7 +667,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param context The context to associate with this operation. @@ -834,7 +686,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -851,7 +703,7 @@ public Mono deleteAsync(String resourceGroupName, String loadBalancerName, /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param context The context to associate with this operation. @@ -870,7 +722,7 @@ private Mono deleteAsync(String resourceGroupName, String loadBalancerName /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -885,7 +737,7 @@ public void delete(String resourceGroupName, String loadBalancerName, String bac /** * Deletes the specified load balancer backend address pool. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param backendAddressPoolName The name of the backend address pool. * @param context The context to associate with this operation. @@ -899,6 +751,153 @@ public void delete(String resourceGroupName, String loadBalancerName, String bac deleteAsync(resourceGroupName, loadBalancerName, backendAddressPoolName, context).block(); } + /** + * Gets all the load balancer backed address pools. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer backed address pools along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String loadBalancerName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (loadBalancerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, 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())); + } + + /** + * Gets all the load balancer backed address pools. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer backed address pools along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String loadBalancerName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (loadBalancerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets all the load balancer backed address pools. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer backed address pools as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets all the load balancer backed address pools. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer backed address pools as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, + Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets all the load balancer backed address pools. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer backed address pools as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); + } + + /** + * Gets all the load balancer backed address pools. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer backed address pools as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName, + Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); + } + /** * Get the next page of items. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java index 86e9b68ac689..35e6fad11799 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -25,21 +25,21 @@ import com.azure.core.management.exception.ManagementException; import com.azure.core.util.Context; import com.azure.core.util.FluxUtil; -import com.azure.resourcemanager.network.fluent.LoadBalancerFrontendIpConfigurationsClient; +import com.azure.resourcemanager.network.fluent.LoadBalancerFrontendIPConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; -import com.azure.resourcemanager.network.models.LoadBalancerFrontendIpConfigurationListResult; +import com.azure.resourcemanager.network.implementation.models.LoadBalancerFrontendIPConfigurationListResult; import reactor.core.publisher.Mono; /** * An instance of this class provides access to all the operations defined in - * LoadBalancerFrontendIpConfigurationsClient. + * LoadBalancerFrontendIPConfigurationsClient. */ -public final class LoadBalancerFrontendIpConfigurationsClientImpl - implements LoadBalancerFrontendIpConfigurationsClient { +public final class LoadBalancerFrontendIPConfigurationsClientImpl + implements LoadBalancerFrontendIPConfigurationsClient { /** * The proxy service used to perform REST calls. */ - private final LoadBalancerFrontendIpConfigurationsService service; + private final LoadBalancerFrontendIPConfigurationsService service; /** * The service client containing this operation class. @@ -47,70 +47,77 @@ public final class LoadBalancerFrontendIpConfigurationsClientImpl private final NetworkManagementClientImpl client; /** - * Initializes an instance of LoadBalancerFrontendIpConfigurationsClientImpl. + * Initializes an instance of LoadBalancerFrontendIPConfigurationsClientImpl. * * @param client the instance of the service client containing this operation class. */ - LoadBalancerFrontendIpConfigurationsClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(LoadBalancerFrontendIpConfigurationsService.class, client.getHttpPipeline(), + LoadBalancerFrontendIPConfigurationsClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(LoadBalancerFrontendIPConfigurationsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); this.client = client; } /** - * The interface defining all the services for NetworkManagementClientLoadBalancerFrontendIpConfigurations to be + * The interface defining all the services for NetworkManagementClientLoadBalancerFrontendIPConfigurations to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") - @ServiceInterface(name = "NetworkManagementClientLoadBalancerFrontendIpConfigurations") - public interface LoadBalancerFrontendIpConfigurationsService { + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClientLoadBalancerFrontendIPConfigurations") + public interface LoadBalancerFrontendIPConfigurationsService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("loadBalancerName") String loadBalancerName, + @PathParam("frontendIPConfigurationName") String frontendIPConfigurationName, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, - @PathParam("frontendIPConfigurationName") String frontendIpConfigurationName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("loadBalancerName") String loadBalancerName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Gets all the load balancer frontend IP configurations. + * Gets load balancer frontend IP configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param frontendIPConfigurationName The name of the resource that is unique within the set of frontend IP + * configurations used by the load balancer. This name can be used to access the resource. * @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 all the load balancer frontend IP configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return load balancer frontend IP configuration along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String loadBalancerName) { + public Mono> getWithResponseAsync(String resourceGroupName, + String loadBalancerName, String frontendIPConfigurationName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -119,39 +126,43 @@ private Mono> listSinglePageAsync(St return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (frontendIPConfigurationName == null) { + return Mono.error( + new IllegalArgumentException("Parameter frontendIPConfigurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, frontendIPConfigurationName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the load balancer frontend IP configurations. + * Gets load balancer frontend IP configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param frontendIPConfigurationName The name of the resource that is unique within the set of frontend IP + * configurations used by the load balancer. This name can be used to access the resource. * @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 all the load balancer frontend IP configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return load balancer frontend IP configuration along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String loadBalancerName, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, + String loadBalancerName, String frontendIPConfigurationName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -160,105 +171,96 @@ private Mono> listSinglePageAsync(St return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (frontendIPConfigurationName == null) { + return Mono.error( + new IllegalArgumentException("Parameter frontendIPConfigurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, frontendIPConfigurationName, accept, context); } /** - * Gets all the load balancer frontend IP configurations. + * Gets load balancer frontend IP configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param frontendIPConfigurationName The name of the resource that is unique within the set of frontend IP + * configurations used by the load balancer. This name can be used to access the resource. * @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 all the load balancer frontend IP configurations as paginated response with {@link PagedFlux}. + * @return load balancer frontend IP configuration on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), - nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String loadBalancerName, + String frontendIPConfigurationName) { + return getWithResponseAsync(resourceGroupName, loadBalancerName, frontendIPConfigurationName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets all the load balancer frontend IP configurations. + * Gets load balancer frontend IP configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param frontendIPConfigurationName The name of the resource that is unique within the set of frontend IP + * configurations used by the load balancer. This name can be used to access the resource. * @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 all the load balancer frontend IP configurations as paginated response with {@link PagedFlux}. + * @return load balancer frontend IP configuration along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, - Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String loadBalancerName, + String frontendIPConfigurationName, Context context) { + return getWithResponseAsync(resourceGroupName, loadBalancerName, frontendIPConfigurationName, context).block(); } /** - * Gets all the load balancer frontend IP configurations. + * Gets load balancer frontend IP configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param frontendIPConfigurationName The name of the resource that is unique within the set of frontend IP + * configurations used by the load balancer. This name can be used to access the resource. * @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 all the load balancer frontend IP configurations as paginated response with {@link PagedIterable}. + * @return load balancer frontend IP configuration. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public FrontendIpConfigurationInner get(String resourceGroupName, String loadBalancerName, + String frontendIPConfigurationName) { + return getWithResponse(resourceGroupName, loadBalancerName, frontendIPConfigurationName, Context.NONE) + .getValue(); } /** * Gets all the load balancer frontend IP configurations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer frontend IP configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName, - Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); - } - - /** - * Gets load balancer frontend IP configuration. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @param frontendIpConfigurationName The name of the frontend IP configuration. - * @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 load balancer frontend IP configuration along with {@link Response} on successful completion of - * {@link Mono}. + * @return all the load balancer frontend IP configurations along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String loadBalancerName, String frontendIpConfigurationName) { + private Mono> listSinglePageAsync(String resourceGroupName, + String loadBalancerName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -267,42 +269,39 @@ public Mono> getWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (frontendIpConfigurationName == null) { - return Mono.error( - new IllegalArgumentException("Parameter frontendIpConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - frontendIpConfigurationName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, 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())); } /** - * Gets load balancer frontend IP configuration. + * Gets all the load balancer frontend IP configurations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param frontendIpConfigurationName The name of the frontend IP configuration. * @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 load balancer frontend IP configuration along with {@link Response} on successful completion of - * {@link Mono}. + * @return all the load balancer frontend IP configurations along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String loadBalancerName, String frontendIpConfigurationName, Context context) { + private Mono> listSinglePageAsync(String resourceGroupName, + String loadBalancerName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -311,73 +310,80 @@ private Mono> getWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (frontendIpConfigurationName == null) { - return Mono.error( - new IllegalArgumentException("Parameter frontendIpConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, frontendIpConfigurationName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets load balancer frontend IP configuration. + * Gets all the load balancer frontend IP configurations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param frontendIpConfigurationName The name of the frontend IP configuration. * @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 load balancer frontend IP configuration on successful completion of {@link Mono}. + * @return all the load balancer frontend IP configurations as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String loadBalancerName, - String frontendIpConfigurationName) { - return getWithResponseAsync(resourceGroupName, loadBalancerName, frontendIpConfigurationName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets load balancer frontend IP configuration. + * Gets all the load balancer frontend IP configurations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param frontendIpConfigurationName The name of the frontend IP configuration. * @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 load balancer frontend IP configuration along with {@link Response}. + * @return all the load balancer frontend IP configurations as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String loadBalancerName, - String frontendIpConfigurationName, Context context) { - return getWithResponseAsync(resourceGroupName, loadBalancerName, frontendIpConfigurationName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, + Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets load balancer frontend IP configuration. + * Gets all the load balancer frontend IP configurations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param frontendIpConfigurationName The name of the frontend IP configuration. * @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 load balancer frontend IP configuration. + * @return all the load balancer frontend IP configurations as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public FrontendIpConfigurationInner get(String resourceGroupName, String loadBalancerName, - String frontendIpConfigurationName) { - return getWithResponse(resourceGroupName, loadBalancerName, frontendIpConfigurationName, Context.NONE) - .getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); + } + + /** + * Gets all the load balancer frontend IP configurations. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer frontend IP configurations as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName, + Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java index b186c4bab42a..886ab074ff8f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -32,7 +32,7 @@ import com.azure.resourcemanager.network.fluent.LoadBalancerLoadBalancingRulesClient; import com.azure.resourcemanager.network.fluent.models.LoadBalancerHealthPerRuleInner; import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner; -import com.azure.resourcemanager.network.models.LoadBalancerLoadBalancingRuleListResult; +import com.azure.resourcemanager.network.implementation.models.LoadBalancerLoadBalancingRuleListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -66,66 +66,72 @@ public final class LoadBalancerLoadBalancingRulesClientImpl implements LoadBalan * The interface defining all the services for NetworkManagementClientLoadBalancerLoadBalancingRules to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientLoadBalancerLoadBalancingRules") public interface LoadBalancerLoadBalancingRulesService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("loadBalancerName") String loadBalancerName, + @PathParam("loadBalancingRuleName") String loadBalancingRuleName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, - @PathParam("loadBalancingRuleName") String loadBalancingRuleName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("loadBalancerName") String loadBalancerName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}/health") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> health(@HostParam("$host") String endpoint, - @PathParam("groupName") String groupName, @PathParam("loadBalancerName") String loadBalancerName, - @PathParam("loadBalancingRuleName") String loadBalancingRuleName, + Mono>> health(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("groupName") String groupName, @PathParam("loadBalancerName") String loadBalancerName, + @PathParam("loadBalancingRuleName") String loadBalancingRuleName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Gets all the load balancing rules in a load balancer. + * Gets the specified load balancer load balancing rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param loadBalancingRuleName The name of the load balancing rule. * @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 all the load balancing rules in a load balancer along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return the specified load balancer load balancing rule along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String loadBalancerName) { + public Mono> getWithResponseAsync(String resourceGroupName, + String loadBalancerName, String loadBalancingRuleName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -134,39 +140,42 @@ private Mono> listSinglePageAsync(String r return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (loadBalancingRuleName == null) { + return Mono + .error(new IllegalArgumentException("Parameter loadBalancingRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, loadBalancingRuleName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the load balancing rules in a load balancer. + * Gets the specified load balancer load balancing rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param loadBalancingRuleName The name of the load balancing rule. * @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 all the load balancing rules in a load balancer along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return the specified load balancer load balancing rule along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String loadBalancerName, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, + String loadBalancerName, String loadBalancingRuleName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -175,105 +184,91 @@ private Mono> listSinglePageAsync(String r return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (loadBalancingRuleName == null) { + return Mono + .error(new IllegalArgumentException("Parameter loadBalancingRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, loadBalancingRuleName, accept, context); } /** - * Gets all the load balancing rules in a load balancer. + * Gets the specified load balancer load balancing rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param loadBalancingRuleName The name of the load balancing rule. * @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 all the load balancing rules in a load balancer as paginated response with {@link PagedFlux}. + * @return the specified load balancer load balancing rule on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), - nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String loadBalancerName, + String loadBalancingRuleName) { + return getWithResponseAsync(resourceGroupName, loadBalancerName, loadBalancingRuleName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets all the load balancing rules in a load balancer. + * Gets the specified load balancer load balancing rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param loadBalancingRuleName The name of the load balancing rule. * @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 all the load balancing rules in a load balancer as paginated response with {@link PagedFlux}. + * @return the specified load balancer load balancing rule along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, - Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String loadBalancerName, + String loadBalancingRuleName, Context context) { + return getWithResponseAsync(resourceGroupName, loadBalancerName, loadBalancingRuleName, context).block(); } /** - * Gets all the load balancing rules in a load balancer. + * Gets the specified load balancer load balancing rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param loadBalancingRuleName The name of the load balancing rule. * @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 all the load balancing rules in a load balancer as paginated response with {@link PagedIterable}. + * @return the specified load balancer load balancing rule. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public LoadBalancingRuleInner get(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName) { + return getWithResponse(resourceGroupName, loadBalancerName, loadBalancingRuleName, Context.NONE).getValue(); } /** * Gets all the load balancing rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @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 all the load balancing rules in a load balancer as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName, - Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); - } - - /** - * Gets the specified load balancer load balancing rule. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @param loadBalancingRuleName The name of the load balancing rule. - * @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 load balancer load balancing rule along with {@link Response} on successful completion of - * {@link Mono}. + * @return all the load balancing rules in a load balancer along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String loadBalancerName, String loadBalancingRuleName) { + private Mono> listSinglePageAsync(String resourceGroupName, + String loadBalancerName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -282,42 +277,39 @@ public Mono> getWithResponseAsync(String resour return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (loadBalancingRuleName == null) { - return Mono - .error(new IllegalArgumentException("Parameter loadBalancingRuleName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - loadBalancingRuleName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, 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())); } /** - * Gets the specified load balancer load balancing rule. + * Gets all the load balancing rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param loadBalancingRuleName The name of the load balancing rule. * @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 load balancer load balancing rule along with {@link Response} on successful completion of - * {@link Mono}. + * @return all the load balancing rules in a load balancer along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String loadBalancerName, String loadBalancingRuleName, Context context) { + private Mono> listSinglePageAsync(String resourceGroupName, + String loadBalancerName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -326,77 +318,86 @@ private Mono> getWithResponseAsync(String resou return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (loadBalancingRuleName == null) { - return Mono - .error(new IllegalArgumentException("Parameter loadBalancingRuleName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, loadBalancingRuleName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets the specified load balancer load balancing rule. + * Gets all the load balancing rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param loadBalancingRuleName The name of the load balancing rule. * @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 load balancer load balancing rule on successful completion of {@link Mono}. + * @return all the load balancing rules in a load balancer as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String loadBalancerName, - String loadBalancingRuleName) { - return getWithResponseAsync(resourceGroupName, loadBalancerName, loadBalancingRuleName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets the specified load balancer load balancing rule. + * Gets all the load balancing rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param loadBalancingRuleName The name of the load balancing rule. * @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 load balancer load balancing rule along with {@link Response}. + * @return all the load balancing rules in a load balancer as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String loadBalancerName, - String loadBalancingRuleName, Context context) { - return getWithResponseAsync(resourceGroupName, loadBalancerName, loadBalancingRuleName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, + Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets the specified load balancer load balancing rule. + * Gets all the load balancing rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param loadBalancingRuleName The name of the load balancing rule. * @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 load balancer load balancing rule. + * @return all the load balancing rules in a load balancer as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public LoadBalancingRuleInner get(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName) { - return getWithResponse(resourceGroupName, loadBalancerName, loadBalancingRuleName, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); + } + + /** + * Gets all the load balancing rules in a load balancer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancing rules in a load balancer as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName, + Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); } /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -412,6 +413,10 @@ public Mono>> healthWithResponseAsync(String groupName return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (groupName == null) { return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); } @@ -423,22 +428,18 @@ public Mono>> healthWithResponseAsync(String groupName return Mono .error(new IllegalArgumentException("Parameter loadBalancingRuleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.health(this.client.getEndpoint(), groupName, loadBalancerName, - loadBalancingRuleName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.health(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), groupName, loadBalancerName, loadBalancingRuleName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @param context The context to associate with this operation. @@ -455,6 +456,10 @@ private Mono>> healthWithResponseAsync(String groupNam return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (groupName == null) { return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); } @@ -466,21 +471,17 @@ private Mono>> healthWithResponseAsync(String groupNam return Mono .error(new IllegalArgumentException("Parameter loadBalancingRuleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.health(this.client.getEndpoint(), groupName, loadBalancerName, loadBalancingRuleName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.health(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), groupName, + loadBalancerName, loadBalancingRuleName, accept, context); } /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -501,7 +502,7 @@ private Mono>> healthWithResponseAsync(String groupNam /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @param context The context to associate with this operation. @@ -524,7 +525,7 @@ private Mono>> healthWithResponseAsync(String groupNam /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -541,7 +542,7 @@ private Mono>> healthWithResponseAsync(String groupNam /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @param context The context to associate with this operation. @@ -559,7 +560,7 @@ private Mono>> healthWithResponseAsync(String groupNam /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -577,7 +578,7 @@ public Mono healthAsync(String groupName, String /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @param context The context to associate with this operation. @@ -596,7 +597,7 @@ private Mono healthAsync(String groupName, Strin /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -613,7 +614,7 @@ public LoadBalancerHealthPerRuleInner health(String groupName, String loadBalanc /** * Get health details of a load balancing rule. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. * @param loadBalancingRuleName The name of the load balancing rule. * @param context The context to associate with this operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java index aede4b8756d4..814041483b2f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.LoadBalancerNetworkInterfacesClient; import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceInner; -import com.azure.resourcemanager.network.models.NetworkInterfaceListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkInterfaceListResult; import reactor.core.publisher.Mono; /** @@ -59,31 +59,32 @@ public final class LoadBalancerNetworkInterfacesClientImpl implements LoadBalanc * The interface defining all the services for NetworkManagementClientLoadBalancerNetworkInterfaces to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientLoadBalancerNetworkInterfaces") public interface LoadBalancerNetworkInterfacesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("loadBalancerName") String loadBalancerName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets associated load balancer network interfaces. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -98,6 +99,10 @@ private Mono> listSinglePageAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -106,15 +111,11 @@ private Mono> listSinglePageAsync(String re return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, 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())); @@ -123,7 +124,7 @@ private Mono> listSinglePageAsync(String re /** * Gets associated load balancer network interfaces. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -139,6 +140,10 @@ private Mono> listSinglePageAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -147,16 +152,12 @@ private Mono> listSinglePageAsync(String re return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -164,7 +165,7 @@ private Mono> listSinglePageAsync(String re /** * Gets associated load balancer network interfaces. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -180,7 +181,7 @@ public PagedFlux listAsync(String resourceGroupName, Stri /** * Gets associated load balancer network interfaces. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -198,7 +199,7 @@ private PagedFlux listAsync(String resourceGroupName, Str /** * Gets associated load balancer network interfaces. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -213,7 +214,7 @@ public PagedIterable list(String resourceGroupName, Strin /** * Gets associated load balancer network interfaces. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java index 860c9e97f613..f25c7f69460e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.LoadBalancerOutboundRulesClient; import com.azure.resourcemanager.network.fluent.models.OutboundRuleInner; -import com.azure.resourcemanager.network.models.LoadBalancerOutboundRuleListResult; +import com.azure.resourcemanager.network.implementation.models.LoadBalancerOutboundRuleListResult; import reactor.core.publisher.Mono; /** @@ -59,55 +59,62 @@ public final class LoadBalancerOutboundRulesClientImpl implements LoadBalancerOu * The interface defining all the services for NetworkManagementClientLoadBalancerOutboundRules to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientLoadBalancerOutboundRules") public interface LoadBalancerOutboundRulesService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("loadBalancerName") String loadBalancerName, + @PathParam("outboundRuleName") String outboundRuleName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, - @PathParam("outboundRuleName") String outboundRuleName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("loadBalancerName") String loadBalancerName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Gets all the outbound rules in a load balancer. + * Gets the specified load balancer outbound rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param outboundRuleName The name of the outbound rule. * @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 all the outbound rules in a load balancer along with {@link PagedResponse} on successful completion of + * @return the specified load balancer outbound rule along with {@link Response} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String loadBalancerName) { + public Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String outboundRuleName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -116,39 +123,42 @@ private Mono> listSinglePageAsync(String resour return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (outboundRuleName == null) { + return Mono + .error(new IllegalArgumentException("Parameter outboundRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, outboundRuleName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the outbound rules in a load balancer. + * Gets the specified load balancer outbound rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param outboundRuleName The name of the outbound rule. * @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 all the outbound rules in a load balancer along with {@link PagedResponse} on successful completion of + * @return the specified load balancer outbound rule along with {@link Response} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String loadBalancerName, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String outboundRuleName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -157,103 +167,91 @@ private Mono> listSinglePageAsync(String resour return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (outboundRuleName == null) { + return Mono + .error(new IllegalArgumentException("Parameter outboundRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, outboundRuleName, accept, context); } /** - * Gets all the outbound rules in a load balancer. + * Gets the specified load balancer outbound rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param outboundRuleName The name of the outbound rule. * @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 all the outbound rules in a load balancer as paginated response with {@link PagedFlux}. + * @return the specified load balancer outbound rule on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), - nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String loadBalancerName, + String outboundRuleName) { + return getWithResponseAsync(resourceGroupName, loadBalancerName, outboundRuleName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets all the outbound rules in a load balancer. + * Gets the specified load balancer outbound rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param outboundRuleName The name of the outbound rule. * @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 all the outbound rules in a load balancer as paginated response with {@link PagedFlux}. + * @return the specified load balancer outbound rule along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String loadBalancerName, + String outboundRuleName, Context context) { + return getWithResponseAsync(resourceGroupName, loadBalancerName, outboundRuleName, context).block(); } /** - * Gets all the outbound rules in a load balancer. + * Gets the specified load balancer outbound rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param outboundRuleName The name of the outbound rule. * @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 all the outbound rules in a load balancer as paginated response with {@link PagedIterable}. + * @return the specified load balancer outbound rule. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public OutboundRuleInner get(String resourceGroupName, String loadBalancerName, String outboundRuleName) { + return getWithResponse(resourceGroupName, loadBalancerName, outboundRuleName, Context.NONE).getValue(); } /** * Gets all the outbound rules in a load balancer. * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 all the outbound rules in a load balancer as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); - } - - /** - * Gets the specified load balancer outbound rule. - * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param outboundRuleName The name of the outbound rule. * @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 load balancer outbound rule along with {@link Response} on successful completion of + * @return all the outbound rules in a load balancer along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String outboundRuleName) { + private Mono> listSinglePageAsync(String resourceGroupName, + String loadBalancerName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -262,42 +260,39 @@ public Mono> getWithResponseAsync(String resourceGro return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (outboundRuleName == null) { - return Mono - .error(new IllegalArgumentException("Parameter outboundRuleName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - outboundRuleName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, 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())); } /** - * Gets the specified load balancer outbound rule. + * Gets all the outbound rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param outboundRuleName The name of the outbound rule. * @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 load balancer outbound rule along with {@link Response} on successful completion of + * @return all the outbound rules in a load balancer along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String outboundRuleName, Context context) { + private Mono> listSinglePageAsync(String resourceGroupName, + String loadBalancerName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -306,71 +301,78 @@ private Mono> getWithResponseAsync(String resourceGr return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (outboundRuleName == null) { - return Mono - .error(new IllegalArgumentException("Parameter outboundRuleName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, outboundRuleName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets the specified load balancer outbound rule. + * Gets all the outbound rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param outboundRuleName The name of the outbound rule. * @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 load balancer outbound rule on successful completion of {@link Mono}. + * @return all the outbound rules in a load balancer as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String loadBalancerName, - String outboundRuleName) { - return getWithResponseAsync(resourceGroupName, loadBalancerName, outboundRuleName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets the specified load balancer outbound rule. + * Gets all the outbound rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param outboundRuleName The name of the outbound rule. * @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 load balancer outbound rule along with {@link Response}. + * @return all the outbound rules in a load balancer as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String loadBalancerName, - String outboundRuleName, Context context) { - return getWithResponseAsync(resourceGroupName, loadBalancerName, outboundRuleName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets the specified load balancer outbound rule. + * Gets all the outbound rules in a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param outboundRuleName The name of the outbound rule. * @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 load balancer outbound rule. + * @return all the outbound rules in a load balancer as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public OutboundRuleInner get(String resourceGroupName, String loadBalancerName, String outboundRuleName) { - return getWithResponse(resourceGroupName, loadBalancerName, outboundRuleName, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); + } + + /** + * Gets all the outbound rules in a load balancer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the outbound rules in a load balancer as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java index 04b9954ff697..f29caeba8a83 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.LoadBalancerProbesClient; import com.azure.resourcemanager.network.fluent.models.ProbeInner; -import com.azure.resourcemanager.network.models.LoadBalancerProbeListResult; +import com.azure.resourcemanager.network.implementation.models.LoadBalancerProbeListResult; import reactor.core.publisher.Mono; /** @@ -59,53 +59,60 @@ public final class LoadBalancerProbesClientImpl implements LoadBalancerProbesCli * The interface defining all the services for NetworkManagementClientLoadBalancerProbes to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientLoadBalancerProbes") public interface LoadBalancerProbesService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("loadBalancerName") String loadBalancerName, @PathParam("probeName") String probeName, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @PathParam("probeName") String probeName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("loadBalancerName") String loadBalancerName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Gets all the load balancer probes. + * Gets load balancer probe. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param probeName The name of the probe. * @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 all the load balancer probes along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return load balancer probe along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, String loadBalancerName) { + public Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String probeName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -114,38 +121,40 @@ private Mono> listSinglePageAsync(String resourceGroup return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (probeName == null) { + return Mono.error(new IllegalArgumentException("Parameter probeName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, probeName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the load balancer probes. + * Gets load balancer probe. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param probeName The name of the probe. * @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 all the load balancer probes along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return load balancer probe along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, String loadBalancerName, - Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, + String probeName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -154,102 +163,87 @@ private Mono> listSinglePageAsync(String resourceGroup return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (probeName == null) { + return Mono.error(new IllegalArgumentException("Parameter probeName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, probeName, accept, context); } /** - * Gets all the load balancer probes. + * Gets load balancer probe. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param probeName The name of the probe. * @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 all the load balancer probes as paginated response with {@link PagedFlux}. + * @return load balancer probe on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), - nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String loadBalancerName, String probeName) { + return getWithResponseAsync(resourceGroupName, loadBalancerName, probeName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets all the load balancer probes. + * Gets load balancer probe. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param probeName The name of the probe. * @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 all the load balancer probes as paginated response with {@link PagedFlux}. + * @return load balancer probe along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String loadBalancerName, String probeName, + Context context) { + return getWithResponseAsync(resourceGroupName, loadBalancerName, probeName, context).block(); } /** - * Gets all the load balancer probes. + * Gets load balancer probe. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. + * @param probeName The name of the probe. * @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 all the load balancer probes as paginated response with {@link PagedIterable}. + * @return load balancer probe. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public ProbeInner get(String resourceGroupName, String loadBalancerName, String probeName) { + return getWithResponse(resourceGroupName, loadBalancerName, probeName, Context.NONE).getValue(); } /** * Gets all the load balancer probes. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @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 all the load balancer probes as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String loadBalancerName, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); - } - - /** - * Gets load balancer probe. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @param probeName The name of the probe. - * @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 load balancer probe along with {@link Response} on successful completion of {@link Mono}. + * @return all the load balancer probes along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String probeName) { + private Mono> listSinglePageAsync(String resourceGroupName, String loadBalancerName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -258,40 +252,38 @@ public Mono> getWithResponseAsync(String resourceGroupName, return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (probeName == null) { - return Mono.error(new IllegalArgumentException("Parameter probeName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - probeName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, 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())); } /** - * Gets load balancer probe. + * Gets all the load balancer probes. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param probeName The name of the probe. * @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 load balancer probe along with {@link Response} on successful completion of {@link Mono}. + * @return all the load balancer probes along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, String loadBalancerName, - String probeName, Context context) { + private Mono> listSinglePageAsync(String resourceGroupName, String loadBalancerName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -300,69 +292,78 @@ private Mono> getWithResponseAsync(String resourceGroupName return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (probeName == null) { - return Mono.error(new IllegalArgumentException("Parameter probeName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, loadBalancerName, probeName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets load balancer probe. + * Gets all the load balancer probes. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param probeName The name of the probe. * @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 load balancer probe on successful completion of {@link Mono}. + * @return all the load balancer probes as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String loadBalancerName, String probeName) { - return getWithResponseAsync(resourceGroupName, loadBalancerName, probeName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String loadBalancerName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets load balancer probe. + * Gets all the load balancer probes. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param probeName The name of the probe. * @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 load balancer probe along with {@link Response}. + * @return all the load balancer probes as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String loadBalancerName, String probeName, - Context context) { - return getWithResponseAsync(resourceGroupName, loadBalancerName, probeName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String loadBalancerName, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, loadBalancerName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets load balancer probe. + * Gets all the load balancer probes. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. - * @param probeName The name of the probe. * @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 load balancer probe. + * @return all the load balancer probes as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ProbeInner get(String resourceGroupName, String loadBalancerName, String probeName) { - return getWithResponse(resourceGroupName, loadBalancerName, probeName, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName)); + } + + /** + * Gets all the load balancer probes. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancer probes as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String loadBalancerName, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, loadBalancerName, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java index fc9b46f6e39f..b0f21fac72af 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -37,7 +37,7 @@ import com.azure.resourcemanager.network.fluent.models.BackendAddressInboundNatRulePortMappingsInner; import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; import com.azure.resourcemanager.network.fluent.models.MigratedPoolsInner; -import com.azure.resourcemanager.network.models.LoadBalancerListResult; +import com.azure.resourcemanager.network.implementation.models.LoadBalancerListResult; import com.azure.resourcemanager.network.models.LoadBalancerVipSwapRequest; import com.azure.resourcemanager.network.models.MigrateLoadBalancerToIpBasedRequest; import com.azure.resourcemanager.network.models.QueryInboundNatRulePortMappingRequest; @@ -79,320 +79,114 @@ public final class LoadBalancersClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") LoadBalancerInner parameters, @HeaderParam("Accept") String accept, + @PathParam("loadBalancerName") String loadBalancerName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") LoadBalancerInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("loadBalancerName") String loadBalancerName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("loadBalancerName") String loadBalancerName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}") + @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("loadBalancerName") String loadBalancerName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> swapPublicIpAddresses(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") LoadBalancerVipSwapRequest parameters, @HeaderParam("Accept") String accept, + 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" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendPoolName}/queryInboundNatRulePortMapping") - @ExpectedResponses({ 200, 202 }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listInboundNatRulePortMappings(@HostParam("$host") String endpoint, - @PathParam("groupName") String groupName, @PathParam("loadBalancerName") String loadBalancerName, - @PathParam("backendPoolName") String backendPoolName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") QueryInboundNatRulePortMappingRequest parameters, + 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" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/migrateToIpBased") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> migrateToIpBased(@HostParam("$host") String endpoint, + Mono> migrateToIpBased(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("groupName") String groupName, @PathParam("loadBalancerName") String loadBalancerName, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") MigrateLoadBalancerToIpBasedRequest parameters, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendPoolName}/queryInboundNatRulePortMapping") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> listInboundNatRulePortMappings(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("groupName") String groupName, @PathParam("loadBalancerName") String loadBalancerName, + @PathParam("backendPoolName") String backendPoolName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") QueryInboundNatRulePortMappingRequest parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9" }) + @Post("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> swapPublicIpAddresses(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") MigrateLoadBalancerToIpBasedRequest parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("location") String location, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") LoadBalancerVipSwapRequest parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); + Mono> listNext(@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> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (loadBalancerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (loadBalancerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, loadBalancerName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, loadBalancerName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 loadBalancerName) { - return this.beginDeleteAsync(resourceGroupName, loadBalancerName).getSyncPoller(); - } - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 loadBalancerName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, loadBalancerName, context).getSyncPoller(); - } - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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) - public Mono deleteAsync(String resourceGroupName, String loadBalancerName) { - return beginDeleteAsync(resourceGroupName, loadBalancerName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String loadBalancerName, Context context) { - return beginDeleteAsync(resourceGroupName, loadBalancerName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 loadBalancerName) { - deleteAsync(resourceGroupName, loadBalancerName).block(); - } - - /** - * Deletes the specified load balancer. - * - * @param resourceGroupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @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 loadBalancerName, Context context) { - deleteAsync(resourceGroupName, loadBalancerName, context).block(); + Mono> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -407,6 +201,10 @@ public Mono> getByResourceGroupWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -415,22 +213,18 @@ public Mono> getByResourceGroupWithResponseAsync(Str return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - loadBalancerName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, loadBalancerName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -446,6 +240,10 @@ private Mono> getByResourceGroupWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -454,21 +252,17 @@ private Mono> getByResourceGroupWithResponseAsync(St return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, expand, accept, context); } /** * Gets the specified load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -485,7 +279,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName, /** * Gets the specified load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -503,7 +297,7 @@ public Response getByResourceGroupWithResponse(String resourc /** * Gets the specified load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -519,7 +313,7 @@ public LoadBalancerInner getByResourceGroup(String resourceGroupName, String loa /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -534,6 +328,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -542,27 +340,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - loadBalancerName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, loadBalancerName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @param context The context to associate with this operation. @@ -578,6 +374,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -586,26 +386,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, contentType, accept, parameters, context); } /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -625,7 +422,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @param context The context to associate with this operation. @@ -647,7 +444,7 @@ private PollerFlux, LoadBalancerInner> beginCreate /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -664,7 +461,7 @@ public SyncPoller, LoadBalancerInner> beginCreateO /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @param context The context to associate with this operation. @@ -682,7 +479,7 @@ public SyncPoller, LoadBalancerInner> beginCreateO /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -700,7 +497,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @param context The context to associate with this operation. @@ -719,7 +516,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -736,7 +533,7 @@ public LoadBalancerInner createOrUpdate(String resourceGroupName, String loadBal /** * Creates or updates a load balancer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to the create or update load balancer operation. * @param context The context to associate with this operation. @@ -754,7 +551,7 @@ public LoadBalancerInner createOrUpdate(String resourceGroupName, String loadBal /** * Updates a load balancer tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to update load balancer tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -769,6 +566,10 @@ public Mono> updateTagsWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -777,27 +578,25 @@ public Mono> updateTagsWithResponseAsync(String reso return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, loadBalancerName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates a load balancer tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to update load balancer tags. * @param context The context to associate with this operation. @@ -813,6 +612,10 @@ private Mono> updateTagsWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -821,26 +624,23 @@ private Mono> updateTagsWithResponseAsync(String res return Mono .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, loadBalancerName, contentType, accept, parameters, context); } /** * Updates a load balancer tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to update load balancer tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -858,7 +658,7 @@ public Mono updateTagsAsync(String resourceGroupName, String /** * Updates a load balancer tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to update load balancer tags. * @param context The context to associate with this operation. @@ -876,7 +676,7 @@ public Response updateTagsWithResponse(String resourceGroupNa /** * Updates a load balancer tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param loadBalancerName The name of the load balancer. * @param parameters Parameters supplied to update load balancer tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -890,15 +690,17 @@ public LoadBalancerInner updateTags(String resourceGroupName, String loadBalance } /** - * Gets all the load balancers in a subscription. + * Deletes the specified load balancer. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancers in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -907,101 +709,192 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (loadBalancerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, loadBalancerName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the load balancers in a subscription. + * Deletes the specified load balancer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (loadBalancerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + loadBalancerName, context); + } + + /** + * Deletes the specified load balancer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, loadBalancerName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified load balancer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String loadBalancerName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, loadBalancerName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified load balancer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 loadBalancerName) { + return this.beginDeleteAsync(resourceGroupName, loadBalancerName).getSyncPoller(); + } + + /** + * Deletes the specified load balancer. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. * @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 all the load balancers in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String loadBalancerName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, loadBalancerName, context).getSyncPoller(); } /** - * Gets all the load balancers in a subscription. + * Deletes the specified load balancer. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancers in a subscription as paginated response with {@link PagedFlux}. + * @return A {@link Mono} that completes when a successful response is received. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteAsync(String resourceGroupName, String loadBalancerName) { + return beginDeleteAsync(resourceGroupName, loadBalancerName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets all the load balancers in a subscription. + * Deletes the specified load balancer. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. * @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 all the load balancers in a subscription as paginated response with {@link PagedFlux}. + * @return A {@link Mono} that completes when a successful response is received. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String loadBalancerName, Context context) { + return beginDeleteAsync(resourceGroupName, loadBalancerName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets all the load balancers in a subscription. + * Deletes the specified load balancer. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. + * @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 all the load balancers in a subscription as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String loadBalancerName) { + deleteAsync(resourceGroupName, loadBalancerName).block(); } /** - * Gets all the load balancers in a subscription. + * Deletes the specified load balancer. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param loadBalancerName The name of the load balancer. * @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 all the load balancers in a subscription as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String loadBalancerName, Context context) { + deleteAsync(resourceGroupName, loadBalancerName, context).block(); } /** * Gets all the load balancers in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1014,19 +907,19 @@ private Mono> listByResourceGroupSinglePageAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -1035,7 +928,7 @@ private Mono> listByResourceGroupSinglePageAsyn /** * Gets all the load balancers in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1050,20 +943,20 @@ private Mono> listByResourceGroupSinglePageAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1071,7 +964,7 @@ private Mono> listByResourceGroupSinglePageAsyn /** * Gets all the load balancers in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1086,7 +979,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGrou /** * Gets all the load balancers in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1102,7 +995,7 @@ private PagedFlux listByResourceGroupAsync(String resourceGro /** * Gets all the load balancers in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1116,7 +1009,7 @@ public PagedIterable listByResourceGroup(String resourceGroup /** * Gets all the load balancers in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1129,219 +1022,253 @@ public PagedIterable listByResourceGroup(String resourceGroup } /** - * Swaps VIPs between two load balancers. + * Gets all the load balancers in a subscription. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. - * @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}. + * @return all the load balancers in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> swapPublicIpAddressesWithResponseAsync(String location, - LoadBalancerVipSwapRequest parameters) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.swapPublicIpAddresses(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Swaps VIPs between two load balancers. + * Gets all the load balancers in a subscription. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. * @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 Response} on successful completion of {@link Mono}. + * @return all the load balancers in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> swapPublicIpAddressesWithResponseAsync(String location, - LoadBalancerVipSwapRequest parameters, Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.swapPublicIpAddresses(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Swaps VIPs between two load balancers. + * Gets all the load balancers in a 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 all the load balancers in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + } + + /** + * Gets all the load balancers in a subscription. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. + * @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 PollerFlux} for polling of long-running operation. + * @return all the load balancers in a subscription as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginSwapPublicIpAddressesAsync(String location, - LoadBalancerVipSwapRequest parameters) { - Mono>> mono = swapPublicIpAddressesWithResponseAsync(location, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); } /** - * Swaps VIPs between two load balancers. + * Gets all the load balancers in a 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 all the load balancers in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Gets all the load balancers in a subscription. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. * @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 PollerFlux} for polling of long-running operation. + * @return all the load balancers in a subscription as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginSwapPublicIpAddressesAsync(String location, - LoadBalancerVipSwapRequest parameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono = swapPublicIpAddressesWithResponseAsync(location, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** - * Swaps VIPs between two load balancers. + * Migrate load balancer to IP Based. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. + * @param groupName The groupName parameter. + * @param loadBalancerName The name of the load balancer. + * @param parameters Parameters supplied to the migrateToIpBased Api. * @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. + * @return the response for a migrateToIpBased API along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginSwapPublicIpAddresses(String location, - LoadBalancerVipSwapRequest parameters) { - return this.beginSwapPublicIpAddressesAsync(location, parameters).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> migrateToIpBasedWithResponseAsync(String groupName, + String loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (groupName == null) { + return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); + } + if (loadBalancerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); + } + if (parameters != null) { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.migrateToIpBased(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), groupName, loadBalancerName, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Swaps VIPs between two load balancers. + * Migrate load balancer to IP Based. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. + * @param groupName The groupName parameter. + * @param loadBalancerName The name of the load balancer. + * @param parameters Parameters supplied to the migrateToIpBased Api. * @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. + * @return the response for a migrateToIpBased API along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginSwapPublicIpAddresses(String location, - LoadBalancerVipSwapRequest parameters, Context context) { - return this.beginSwapPublicIpAddressesAsync(location, parameters, context).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> migrateToIpBasedWithResponseAsync(String groupName, + String loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (groupName == null) { + return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); + } + if (loadBalancerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); + } + if (parameters != null) { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.migrateToIpBased(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + groupName, loadBalancerName, accept, parameters, context); } /** - * Swaps VIPs between two load balancers. + * Migrate load balancer to IP Based. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. + * @param groupName The groupName parameter. + * @param loadBalancerName The name of the load balancer. * @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. + * @return the response for a migrateToIpBased API on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono swapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters) { - return beginSwapPublicIpAddressesAsync(location, parameters).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono migrateToIpBasedAsync(String groupName, String loadBalancerName) { + final MigrateLoadBalancerToIpBasedRequest parameters = null; + return migrateToIpBasedWithResponseAsync(groupName, loadBalancerName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Swaps VIPs between two load balancers. + * Migrate load balancer to IP Based. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. + * @param groupName The groupName parameter. + * @param loadBalancerName The name of the load balancer. + * @param parameters Parameters supplied to the migrateToIpBased Api. * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono swapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters, - Context context) { - return beginSwapPublicIpAddressesAsync(location, parameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Swaps VIPs between two load balancers. - * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. - * @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 for a migrateToIpBased API along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters) { - swapPublicIpAddressesAsync(location, parameters).block(); + public Response migrateToIpBasedWithResponse(String groupName, String loadBalancerName, + MigrateLoadBalancerToIpBasedRequest parameters, Context context) { + return migrateToIpBasedWithResponseAsync(groupName, loadBalancerName, parameters, context).block(); } /** - * Swaps VIPs between two load balancers. + * Migrate load balancer to IP Based. * - * @param location The region where load balancers are located at. - * @param parameters Parameters that define which VIPs should be swapped. - * @param context The context to associate with this operation. + * @param groupName The groupName parameter. + * @param loadBalancerName The name of the load balancer. * @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 for a migrateToIpBased API. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters, Context context) { - swapPublicIpAddressesAsync(location, parameters, context).block(); + public MigratedPoolsInner migrateToIpBased(String groupName, String loadBalancerName) { + final MigrateLoadBalancerToIpBasedRequest parameters = null; + return migrateToIpBasedWithResponse(groupName, loadBalancerName, parameters, Context.NONE).getValue(); } /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1356,6 +1283,10 @@ public Mono>> listInboundNatRulePortMappingsWithRespon return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (groupName == null) { return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); } @@ -1367,30 +1298,27 @@ public Mono>> listInboundNatRulePortMappingsWithRespon return Mono .error(new IllegalArgumentException("Parameter backendPoolName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listInboundNatRulePortMappings(this.client.getEndpoint(), groupName, - loadBalancerName, backendPoolName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context)) + .withContext(context -> service.listInboundNatRulePortMappings(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), groupName, loadBalancerName, backendPoolName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1407,6 +1335,10 @@ private Mono>> listInboundNatRulePortMappingsWithRespo return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (groupName == null) { return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); } @@ -1418,28 +1350,26 @@ private Mono>> listInboundNatRulePortMappingsWithRespo return Mono .error(new IllegalArgumentException("Parameter backendPoolName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listInboundNatRulePortMappings(this.client.getEndpoint(), groupName, loadBalancerName, - backendPoolName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.listInboundNatRulePortMappings(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), groupName, loadBalancerName, backendPoolName, contentType, accept, + parameters, context); } /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1462,9 +1392,9 @@ private Mono>> listInboundNatRulePortMappingsWithRespo /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1489,9 +1419,9 @@ private Mono>> listInboundNatRulePortMappingsWithRespo /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1510,9 +1440,9 @@ private Mono>> listInboundNatRulePortMappingsWithRespo /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1533,9 +1463,9 @@ private Mono>> listInboundNatRulePortMappingsWithRespo /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1552,9 +1482,9 @@ public Mono listInboundNatRulePor /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1573,9 +1503,9 @@ private Mono listInboundNatRulePo /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1591,9 +1521,9 @@ public BackendAddressInboundNatRulePortMappingsInner listInboundNatRulePortMappi /** * List of inbound NAT rule port mappings. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param loadBalancerName The name of the load balancer. - * @param backendPoolName The name of the load balancer backend address pool. + * @param backendPoolName The name of the backend address pool. * @param parameters Query inbound NAT rule port mapping request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1610,136 +1540,211 @@ public BackendAddressInboundNatRulePortMappingsInner listInboundNatRulePortMappi } /** - * Migrate load balancer to IP Based. + * Swaps VIPs between two load balancers. * - * @param groupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @param parameters Parameters supplied to the migrateToIpBased Api. + * @param location The name of the Azure region. + * @param parameters The parameters parameter. * @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 for a migrateToIpBased API along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> migrateToIpBasedWithResponseAsync(String groupName, - String loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters) { + public Mono>> swapPublicIpAddressesWithResponseAsync(String location, + LoadBalancerVipSwapRequest parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (groupName == null) { - return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); - } - if (loadBalancerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (parameters != null) { + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { parameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; return FluxUtil - .withContext(context -> service.migrateToIpBased(this.client.getEndpoint(), groupName, loadBalancerName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.swapPublicIpAddresses(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), location, contentType, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Migrate load balancer to IP Based. + * Swaps VIPs between two load balancers. * - * @param groupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @param parameters Parameters supplied to the migrateToIpBased Api. + * @param location The name of the Azure region. + * @param parameters The parameters parameter. * @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 for a migrateToIpBased API along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> migrateToIpBasedWithResponseAsync(String groupName, - String loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters, Context context) { + private Mono>> swapPublicIpAddressesWithResponseAsync(String location, + LoadBalancerVipSwapRequest parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (groupName == null) { - return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); - } - if (loadBalancerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter loadBalancerName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (parameters != null) { + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { parameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.migrateToIpBased(this.client.getEndpoint(), groupName, loadBalancerName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.swapPublicIpAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, contentType, parameters, context); } /** - * Migrate load balancer to IP Based. + * Swaps VIPs between two load balancers. * - * @param groupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. + * @param location The name of the Azure region. + * @param parameters The parameters parameter. * @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 for a migrateToIpBased API on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginSwapPublicIpAddressesAsync(String location, + LoadBalancerVipSwapRequest parameters) { + Mono>> mono = swapPublicIpAddressesWithResponseAsync(location, parameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Swaps VIPs between two load balancers. + * + * @param location The name of the Azure region. + * @param parameters The parameters parameter. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginSwapPublicIpAddressesAsync(String location, + LoadBalancerVipSwapRequest parameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = swapPublicIpAddressesWithResponseAsync(location, parameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Swaps VIPs between two load balancers. + * + * @param location The name of the Azure region. + * @param parameters The parameters parameter. + * @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> beginSwapPublicIpAddresses(String location, + LoadBalancerVipSwapRequest parameters) { + return this.beginSwapPublicIpAddressesAsync(location, parameters).getSyncPoller(); + } + + /** + * Swaps VIPs between two load balancers. + * + * @param location The name of the Azure region. + * @param parameters The parameters parameter. + * @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> beginSwapPublicIpAddresses(String location, + LoadBalancerVipSwapRequest parameters, Context context) { + return this.beginSwapPublicIpAddressesAsync(location, parameters, context).getSyncPoller(); + } + + /** + * Swaps VIPs between two load balancers. + * + * @param location The name of the Azure region. + * @param parameters The parameters parameter. + * @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) - public Mono migrateToIpBasedAsync(String groupName, String loadBalancerName) { - final MigrateLoadBalancerToIpBasedRequest parameters = null; - return migrateToIpBasedWithResponseAsync(groupName, loadBalancerName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono swapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters) { + return beginSwapPublicIpAddressesAsync(location, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Migrate load balancer to IP Based. + * Swaps VIPs between two load balancers. * - * @param groupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. - * @param parameters Parameters supplied to the migrateToIpBased Api. + * @param location The name of the Azure region. + * @param parameters The parameters parameter. * @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 for a migrateToIpBased API along with {@link Response}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response migrateToIpBasedWithResponse(String groupName, String loadBalancerName, - MigrateLoadBalancerToIpBasedRequest parameters, Context context) { - return migrateToIpBasedWithResponseAsync(groupName, loadBalancerName, parameters, context).block(); + private Mono swapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters, + Context context) { + return beginSwapPublicIpAddressesAsync(location, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Migrate load balancer to IP Based. + * Swaps VIPs between two load balancers. * - * @param groupName The name of the resource group. - * @param loadBalancerName The name of the load balancer. + * @param location The name of the Azure region. + * @param parameters The parameters parameter. * @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 for a migrateToIpBased API. */ @ServiceMethod(returns = ReturnType.SINGLE) - public MigratedPoolsInner migrateToIpBased(String groupName, String loadBalancerName) { - final MigrateLoadBalancerToIpBasedRequest parameters = null; - return migrateToIpBasedWithResponse(groupName, loadBalancerName, parameters, Context.NONE).getValue(); + public void swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters) { + swapPublicIpAddressesAsync(location, parameters).block(); + } + + /** + * Swaps VIPs between two load balancers. + * + * @param location The name of the Azure region. + * @param parameters The parameters parameter. + * @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 swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters, Context context) { + swapPublicIpAddressesAsync(location, parameters, context).block(); } /** @@ -1749,11 +1754,11 @@ public MigratedPoolsInner migrateToIpBased(String groupName, String loadBalancer * @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 all the load balancers in a subscription along with {@link PagedResponse} on successful completion of + * @return all the load balancers in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1762,8 +1767,7 @@ private Mono> listAllNextSinglePageAsync(String new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1777,11 +1781,11 @@ private Mono> listAllNextSinglePageAsync(String * @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 all the load balancers in a subscription along with {@link PagedResponse} on successful completion of + * @return all the load balancers in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1791,7 +1795,7 @@ private Mono> listAllNextSinglePageAsync(String } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1803,11 +1807,11 @@ private Mono> listAllNextSinglePageAsync(String * @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 all the load balancers in a resource group along with {@link PagedResponse} on successful completion of + * @return all the load balancers in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1816,7 +1820,8 @@ private Mono> listNextSinglePageAsync(String ne new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -1830,11 +1835,11 @@ private Mono> listNextSinglePageAsync(String ne * @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 all the load balancers in a resource group along with {@link PagedResponse} on successful completion of + * @return all the load balancers in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1844,7 +1849,7 @@ private Mono> listNextSinglePageAsync(String ne } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java index 1a5449022843..2400bb53cf81 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.LocalNetworkGatewaysClient; import com.azure.resourcemanager.network.fluent.models.LocalNetworkGatewayInner; -import com.azure.resourcemanager.network.models.LocalNetworkGatewayListResult; +import com.azure.resourcemanager.network.implementation.models.LocalNetworkGatewayListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -72,72 +72,195 @@ public final class LocalNetworkGatewaysClientImpl * The interface defining all the services for NetworkManagementClientLocalNetworkGateways to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientLocalNetworkGateways") public interface LocalNetworkGatewaysService { @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}") + @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("localNetworkGatewayName") String localNetworkGatewayName, @HeaderParam("Accept") String accept, + Context context); + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("localNetworkGatewayName") String localNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") LocalNetworkGatewayInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") LocalNetworkGatewayInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}") + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("localNetworkGatewayName") String localNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("localNetworkGatewayName") String localNetworkGatewayName, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("localNetworkGatewayName") String localNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("localNetworkGatewayName") String localNetworkGatewayName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } + /** + * Gets the specified local network gateway in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param localNetworkGatewayName The name of the local network gateway. + * @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 local network gateway in a resource group along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String localNetworkGatewayName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (localNetworkGatewayName == null) { + return Mono.error( + new IllegalArgumentException("Parameter localNetworkGatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, localNetworkGatewayName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the specified local network gateway in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param localNetworkGatewayName The name of the local network gateway. + * @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 local network gateway in a resource group along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String localNetworkGatewayName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (localNetworkGatewayName == null) { + return Mono.error( + new IllegalArgumentException("Parameter localNetworkGatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, localNetworkGatewayName, accept, context); + } + + /** + * Gets the specified local network gateway in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param localNetworkGatewayName The name of the local network gateway. + * @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 local network gateway in a resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, + String localNetworkGatewayName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, localNetworkGatewayName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets the specified local network gateway in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param localNetworkGatewayName The name of the local network gateway. + * @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 local network gateway in a resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, + String localNetworkGatewayName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, localNetworkGatewayName, context).block(); + } + + /** + * Gets the specified local network gateway in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param localNetworkGatewayName The name of the local network gateway. + * @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 local network gateway in a resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public LocalNetworkGatewayInner getByResourceGroup(String resourceGroupName, String localNetworkGatewayName) { + return getByResourceGroupWithResponse(resourceGroupName, localNetworkGatewayName, Context.NONE).getValue(); + } + /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -153,6 +276,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -161,27 +288,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter localNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - localNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, localNetworkGatewayName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @param context The context to associate with this operation. @@ -198,6 +323,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -206,26 +335,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter localNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, localNetworkGatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, localNetworkGatewayName, contentType, accept, parameters, context); } /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -246,7 +372,7 @@ public PollerFlux, LocalNetworkGatewayInner /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @param context The context to associate with this operation. @@ -269,7 +395,7 @@ private PollerFlux, LocalNetworkGatewayInne /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -286,7 +412,7 @@ public SyncPoller, LocalNetworkGatewayInner /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @param context The context to associate with this operation. @@ -306,7 +432,7 @@ public SyncPoller, LocalNetworkGatewayInner /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -324,7 +450,7 @@ public Mono createOrUpdateAsync(String resourceGroupNa /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @param context The context to associate with this operation. @@ -343,7 +469,7 @@ private Mono createOrUpdateAsync(String resourceGroupN /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -360,7 +486,7 @@ public LocalNetworkGatewayInner createOrUpdate(String resourceGroupName, String /** * Creates or updates a local network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param parameters Parameters supplied to the create or update local network gateway operation. * @param context The context to associate with this operation. @@ -376,23 +502,28 @@ public LocalNetworkGatewayInner createOrUpdate(String resourceGroupName, String } /** - * Gets the specified local network gateway in a resource group. + * Updates a local network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. + * @param parameters Parameters supplied to update local network gateway tags. * @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 local network gateway in a resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return a common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String localNetworkGatewayName) { + public Mono> updateTagsWithResponseAsync(String resourceGroupName, + String localNetworkGatewayName, TagsObject parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -401,37 +532,45 @@ public Mono> getByResourceGroupWithResponseAs return Mono.error( new IllegalArgumentException("Parameter localNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - localNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, localNetworkGatewayName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the specified local network gateway in a resource group. + * Updates a local network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. + * @param parameters Parameters supplied to update local network gateway tags. * @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 local network gateway in a resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return a common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String localNetworkGatewayName, Context context) { + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String localNetworkGatewayName, TagsObject parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -440,70 +579,76 @@ private Mono> getByResourceGroupWithResponseA return Mono.error( new IllegalArgumentException("Parameter localNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, localNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, localNetworkGatewayName, contentType, accept, parameters, context); } /** - * Gets the specified local network gateway in a resource group. + * Updates a local network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. + * @param parameters Parameters supplied to update local network gateway tags. * @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 local network gateway in a resource group on successful completion of {@link Mono}. + * @return a common class for general resource information on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, - String localNetworkGatewayName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, localNetworkGatewayName) + public Mono updateTagsAsync(String resourceGroupName, String localNetworkGatewayName, + TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, localNetworkGatewayName, parameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets the specified local network gateway in a resource group. + * Updates a local network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. + * @param parameters Parameters supplied to update local network gateway tags. * @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 local network gateway in a resource group along with {@link Response}. + * @return a common class for general resource information along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String localNetworkGatewayName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, localNetworkGatewayName, context).block(); + public Response updateTagsWithResponse(String resourceGroupName, + String localNetworkGatewayName, TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, localNetworkGatewayName, parameters, context).block(); } /** - * Gets the specified local network gateway in a resource group. + * Updates a local network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. + * @param parameters Parameters supplied to update local network gateway tags. * @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 local network gateway in a resource group. + * @return a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - public LocalNetworkGatewayInner getByResourceGroup(String resourceGroupName, String localNetworkGatewayName) { - return getByResourceGroupWithResponse(resourceGroupName, localNetworkGatewayName, Context.NONE).getValue(); + public LocalNetworkGatewayInner updateTags(String resourceGroupName, String localNetworkGatewayName, + TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, localNetworkGatewayName, parameters, Context.NONE).getValue(); } /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -517,6 +662,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -525,22 +674,17 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter localNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - localNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, localNetworkGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -555,6 +699,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -563,21 +711,16 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter localNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, localNetworkGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + localNetworkGatewayName, context); } /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -595,7 +738,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -616,7 +759,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -631,7 +774,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -648,7 +791,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -664,7 +807,7 @@ public Mono deleteAsync(String resourceGroupName, String localNetworkGatew /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -681,7 +824,7 @@ private Mono deleteAsync(String resourceGroupName, String localNetworkGate /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -695,7 +838,7 @@ public void delete(String resourceGroupName, String localNetworkGatewayName) { /** * Deletes the specified local network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param localNetworkGatewayName The name of the local network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -707,151 +850,10 @@ public void delete(String resourceGroupName, String localNetworkGatewayName, Con deleteAsync(resourceGroupName, localNetworkGatewayName, context).block(); } - /** - * Updates a local network gateway tags. - * - * @param resourceGroupName The name of the resource group. - * @param localNetworkGatewayName The name of the local network gateway. - * @param parameters Parameters supplied to update local network gateway tags. - * @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 common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateTagsWithResponseAsync(String resourceGroupName, - String localNetworkGatewayName, TagsObject parameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (localNetworkGatewayName == null) { - return Mono.error( - new IllegalArgumentException("Parameter localNetworkGatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - localNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Updates a local network gateway tags. - * - * @param resourceGroupName The name of the resource group. - * @param localNetworkGatewayName The name of the local network gateway. - * @param parameters Parameters supplied to update local network gateway tags. - * @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 a common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String localNetworkGatewayName, TagsObject parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (localNetworkGatewayName == null) { - return Mono.error( - new IllegalArgumentException("Parameter localNetworkGatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, localNetworkGatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); - } - - /** - * Updates a local network gateway tags. - * - * @param resourceGroupName The name of the resource group. - * @param localNetworkGatewayName The name of the local network gateway. - * @param parameters Parameters supplied to update local network gateway tags. - * @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 common class for general resource information on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String localNetworkGatewayName, - TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, localNetworkGatewayName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Updates a local network gateway tags. - * - * @param resourceGroupName The name of the resource group. - * @param localNetworkGatewayName The name of the local network gateway. - * @param parameters Parameters supplied to update local network gateway tags. - * @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 a common class for general resource information along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, - String localNetworkGatewayName, TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, localNetworkGatewayName, parameters, context).block(); - } - - /** - * Updates a local network gateway tags. - * - * @param resourceGroupName The name of the resource group. - * @param localNetworkGatewayName The name of the local network gateway. - * @param parameters Parameters supplied to update local network gateway tags. - * @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 common class for general resource information. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public LocalNetworkGatewayInner updateTags(String resourceGroupName, String localNetworkGatewayName, - TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, localNetworkGatewayName, parameters, Context.NONE).getValue(); - } - /** * Gets all the local network gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -864,19 +866,19 @@ private Mono> listByResourceGroupSingleP return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -885,7 +887,7 @@ private Mono> listByResourceGroupSingleP /** * Gets all the local network gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -900,20 +902,20 @@ private Mono> listByResourceGroupSingleP return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -921,7 +923,7 @@ private Mono> listByResourceGroupSingleP /** * Gets all the local network gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -936,7 +938,7 @@ public PagedFlux listByResourceGroupAsync(String resou /** * Gets all the local network gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -952,7 +954,7 @@ private PagedFlux listByResourceGroupAsync(String reso /** * Gets all the local network gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -966,7 +968,7 @@ public PagedIterable listByResourceGroup(String resour /** * Gets all the local network gateways in a resource group. * - * @param resourceGroupName The name of the 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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java index acbfea2a9c70..d89b15731460 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -30,7 +30,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.ManagementGroupNetworkManagerConnectionsClient; import com.azure.resourcemanager.network.fluent.models.NetworkManagerConnectionInner; -import com.azure.resourcemanager.network.models.NetworkManagerConnectionListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkManagerConnectionListResult; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import reactor.core.publisher.Mono; @@ -65,44 +65,41 @@ public final class ManagementGroupNetworkManagerConnectionsClientImpl * The interface defining all the services for NetworkManagementClientManagementGroupNetworkManagerConnections to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientManagementGroupNetworkManagerConnections") public interface ManagementGroupNetworkManagerConnectionsService { @Headers({ "Content-Type: application/json" }) - @Put("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}") - @ExpectedResponses({ 200, 201 }) + @Get("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("managementGroupId") String managementGroupId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("managementGroupId") String managementGroupId, @PathParam("networkManagerConnectionName") String networkManagerConnectionName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") NetworkManagerConnectionInner parameters, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}") - @ExpectedResponses({ 200 }) + @Put("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("managementGroupId") String managementGroupId, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("managementGroupId") String managementGroupId, @PathParam("networkManagerConnectionName") String networkManagerConnectionName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") NetworkManagerConnectionInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, - @PathParam("managementGroupId") String managementGroupId, - @PathParam("networkManagerConnectionName") String networkManagerConnectionName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("managementGroupId") String managementGroupId, + @PathParam("networkManagerConnectionName") String networkManagerConnectionName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("managementGroupId") String managementGroupId, @QueryParam("api-version") String apiVersion, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("managementGroupId") String managementGroupId, @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @@ -111,25 +108,24 @@ Mono> list(@HostParam("$host") Stri @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Create a network manager connection on this management group. + * Get a specified connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return a specified connection created by this management group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createOrUpdateWithResponseAsync(String managementGroupId, - String networkManagerConnectionName, NetworkManagerConnectionInner parameters) { + public Mono> getWithResponseAsync(String managementGroupId, + String networkManagerConnectionName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -142,35 +138,29 @@ public Mono> createOrUpdateWithResponseA return Mono.error( new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), managementGroupId, - networkManagerConnectionName, apiVersion, parameters, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, managementGroupId, + networkManagerConnectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Create a network manager connection on this management group. + * Get a specified connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return a specified connection created by this management group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> createOrUpdateWithResponseAsync(String managementGroupId, - String networkManagerConnectionName, NetworkManagerConnectionInner parameters, Context context) { + private Mono> getWithResponseAsync(String managementGroupId, + String networkManagerConnectionName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -183,87 +173,76 @@ private Mono> createOrUpdateWithResponse return Mono.error( new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), managementGroupId, networkManagerConnectionName, - apiVersion, parameters, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, managementGroupId, networkManagerConnectionName, + accept, context); } /** - * Create a network manager connection on this management group. + * Get a specified connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource on successful completion of {@link Mono}. + * @return a specified connection created by this management group on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String managementGroupId, - String networkManagerConnectionName, NetworkManagerConnectionInner parameters) { - return createOrUpdateWithResponseAsync(managementGroupId, networkManagerConnectionName, parameters) + public Mono getAsync(String managementGroupId, String networkManagerConnectionName) { + return getWithResponseAsync(managementGroupId, networkManagerConnectionName) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Create a network manager connection on this management group. + * Get a specified connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource along with {@link Response}. + * @return a specified connection created by this management group along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createOrUpdateWithResponse(String managementGroupId, - String networkManagerConnectionName, NetworkManagerConnectionInner parameters, Context context) { - return createOrUpdateWithResponseAsync(managementGroupId, networkManagerConnectionName, parameters, context) - .block(); + public Response getWithResponse(String managementGroupId, + String networkManagerConnectionName, Context context) { + return getWithResponseAsync(managementGroupId, networkManagerConnectionName, context).block(); } /** - * Create a network manager connection on this management group. + * Get a specified connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource. + * @return a specified connection created by this management group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkManagerConnectionInner createOrUpdate(String managementGroupId, String networkManagerConnectionName, - NetworkManagerConnectionInner parameters) { - return createOrUpdateWithResponse(managementGroupId, networkManagerConnectionName, parameters, Context.NONE) - .getValue(); + public NetworkManagerConnectionInner get(String managementGroupId, String networkManagerConnectionName) { + return getWithResponse(managementGroupId, networkManagerConnectionName, Context.NONE).getValue(); } /** - * Get a specified connection created by this management group. + * Create a network manager connection on this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @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 specified connection created by this management group along with {@link Response} on successful - * completion of {@link Mono}. + * @return the Network Manager Connection resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String managementGroupId, - String networkManagerConnectionName) { + public Mono> createOrUpdateWithResponseAsync(String managementGroupId, + String networkManagerConnectionName, NetworkManagerConnectionInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -276,29 +255,36 @@ public Mono> getWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), managementGroupId, - networkManagerConnectionName, apiVersion, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, managementGroupId, + networkManagerConnectionName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Get a specified connection created by this management group. + * Create a network manager connection on this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @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 a specified connection created by this management group along with {@link Response} on successful - * completion of {@link Mono}. + * @return the Network Manager Connection resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String managementGroupId, - String networkManagerConnectionName, Context context) { + private Mono> createOrUpdateWithResponseAsync(String managementGroupId, + String networkManagerConnectionName, NetworkManagerConnectionInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -311,65 +297,78 @@ private Mono> getWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), managementGroupId, networkManagerConnectionName, apiVersion, - accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, managementGroupId, + networkManagerConnectionName, contentType, accept, parameters, context); } /** - * Get a specified connection created by this management group. + * Create a network manager connection on this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @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 specified connection created by this management group on successful completion of {@link Mono}. + * @return the Network Manager Connection resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String managementGroupId, String networkManagerConnectionName) { - return getWithResponseAsync(managementGroupId, networkManagerConnectionName) + public Mono createOrUpdateAsync(String managementGroupId, + String networkManagerConnectionName, NetworkManagerConnectionInner parameters) { + return createOrUpdateWithResponseAsync(managementGroupId, networkManagerConnectionName, parameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a specified connection created by this management group. + * Create a network manager connection on this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @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 a specified connection created by this management group along with {@link Response}. + * @return the Network Manager Connection resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String managementGroupId, - String networkManagerConnectionName, Context context) { - return getWithResponseAsync(managementGroupId, networkManagerConnectionName, context).block(); + public Response createOrUpdateWithResponse(String managementGroupId, + String networkManagerConnectionName, NetworkManagerConnectionInner parameters, Context context) { + return createOrUpdateWithResponseAsync(managementGroupId, networkManagerConnectionName, parameters, context) + .block(); } /** - * Get a specified connection created by this management group. + * Create a network manager connection on this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @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 specified connection created by this management group. + * @return the Network Manager Connection resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkManagerConnectionInner get(String managementGroupId, String networkManagerConnectionName) { - return getWithResponse(managementGroupId, networkManagerConnectionName, Context.NONE).getValue(); + public NetworkManagerConnectionInner createOrUpdate(String managementGroupId, String networkManagerConnectionName, + NetworkManagerConnectionInner parameters) { + return createOrUpdateWithResponse(managementGroupId, networkManagerConnectionName, parameters, Context.NONE) + .getValue(); } /** * Delete specified pending connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -391,17 +390,16 @@ public Mono> deleteWithResponseAsync(String managementGroupId, St new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), managementGroupId, - networkManagerConnectionName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, managementGroupId, + networkManagerConnectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Delete specified pending connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -425,16 +423,15 @@ private Mono> deleteWithResponseAsync(String managementGroupId, S new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), managementGroupId, networkManagerConnectionName, apiVersion, - accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, managementGroupId, networkManagerConnectionName, + context); } /** * Delete specified pending connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -450,7 +447,7 @@ public Mono deleteAsync(String managementGroupId, String networkManagerCon /** * Delete specified pending connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -467,7 +464,7 @@ public Response deleteWithResponse(String managementGroupId, String networ /** * Delete specified pending connection created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param networkManagerConnectionName Name for the network manager connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -481,7 +478,7 @@ public void delete(String managementGroupId, String networkManagerConnectionName /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -490,8 +487,8 @@ public void delete(String managementGroupId, String networkManagerConnectionName * @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 list of network manager connections along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManagerConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String managementGroupId, @@ -507,7 +504,7 @@ private Mono> listSinglePageAsync(S final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), managementGroupId, apiVersion, top, + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, managementGroupId, top, skipToken, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -517,7 +514,7 @@ private Mono> listSinglePageAsync(S /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -527,8 +524,8 @@ private Mono> listSinglePageAsync(S * @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 list of network manager connections along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManagerConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String managementGroupId, @@ -544,7 +541,7 @@ private Mono> listSinglePageAsync(S final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), managementGroupId, apiVersion, top, skipToken, accept, context) + return service.list(this.client.getEndpoint(), apiVersion, managementGroupId, top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -552,7 +549,7 @@ private Mono> listSinglePageAsync(S /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -561,7 +558,7 @@ private Mono> listSinglePageAsync(S * @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 list of network manager connections as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManagerConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String managementGroupId, Integer top, String skipToken) { @@ -572,11 +569,11 @@ public PagedFlux listAsync(String managementGroup /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @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 list of network manager connections as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManagerConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String managementGroupId) { @@ -589,7 +586,7 @@ public PagedFlux listAsync(String managementGroup /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -599,7 +596,7 @@ public PagedFlux listAsync(String managementGroup * @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 list of network manager connections as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManagerConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String managementGroupId, Integer top, String skipToken, @@ -611,11 +608,12 @@ private PagedFlux listAsync(String managementGrou /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @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 list of network manager connections as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManagerConnection list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String managementGroupId) { @@ -627,7 +625,7 @@ public PagedIterable list(String managementGroupI /** * List all network manager connections created by this management group. * - * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group. + * @param managementGroupId The management group ID. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -637,7 +635,8 @@ public PagedIterable list(String managementGroupI * @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 list of network manager connections as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManagerConnection list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String managementGroupId, Integer top, String skipToken, @@ -652,8 +651,8 @@ public PagedIterable list(String managementGroupI * @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 list of network manager connections along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManagerConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -679,8 +678,8 @@ private Mono> listNextSinglePageAsy * @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 list of network manager connections along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManagerConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java index c9ebdd80dccb..3e020f7cc5fd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NatGatewaysClient; import com.azure.resourcemanager.network.fluent.models.NatGatewayInner; -import com.azure.resourcemanager.network.models.NatGatewayListResult; +import com.azure.resourcemanager.network.implementation.models.NatGatewayListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,286 +73,84 @@ public final class NatGatewaysClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("natGatewayName") String natGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("natGatewayName") String natGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("natGatewayName") String natGatewayName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}") @ExpectedResponses({ 200, 201, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("natGatewayName") String natGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") NatGatewayInner parameters, @HeaderParam("Accept") String accept, + @PathParam("natGatewayName") String natGatewayName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NatGatewayInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("natGatewayName") String natGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("natGatewayName") String natGatewayName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}") + @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("natGatewayName") String natGatewayName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String natGatewayName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (natGatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter natGatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, natGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String natGatewayName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (natGatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter natGatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, natGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String natGatewayName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, natGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String natGatewayName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, natGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 natGatewayName) { - return this.beginDeleteAsync(resourceGroupName, natGatewayName).getSyncPoller(); - } - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 natGatewayName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, natGatewayName, context).getSyncPoller(); - } - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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) - public Mono deleteAsync(String resourceGroupName, String natGatewayName) { - return beginDeleteAsync(resourceGroupName, natGatewayName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String natGatewayName, Context context) { - return beginDeleteAsync(resourceGroupName, natGatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 natGatewayName) { - deleteAsync(resourceGroupName, natGatewayName).block(); - } - - /** - * Deletes the specified nat gateway. - * - * @param resourceGroupName The name of the resource group. - * @param natGatewayName The name of the nat gateway. - * @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 natGatewayName, Context context) { - deleteAsync(resourceGroupName, natGatewayName, context).block(); + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listAllNext(@PathParam(value = "nextLink", encoded = true) String nextLink, + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified nat gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -368,6 +166,10 @@ public Mono> getByResourceGroupWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -375,22 +177,18 @@ public Mono> getByResourceGroupWithResponseAsync(Strin if (natGatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter natGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - natGatewayName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, natGatewayName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified nat gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -407,6 +205,10 @@ private Mono> getByResourceGroupWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -414,21 +216,17 @@ private Mono> getByResourceGroupWithResponseAsync(Stri if (natGatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter natGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, natGatewayName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, natGatewayName, expand, accept, context); } /** * Gets the specified nat gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -445,7 +243,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName, S /** * Gets the specified nat gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -463,7 +261,7 @@ public Response getByResourceGroupWithResponse(String resourceG /** * Gets the specified nat gateway in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -479,7 +277,7 @@ public NatGatewayInner getByResourceGroup(String resourceGroupName, String natGa /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -494,6 +292,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -501,27 +303,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (natGatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter natGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, natGatewayName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, natGatewayName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @param context The context to associate with this operation. @@ -537,6 +337,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -544,26 +348,23 @@ private Mono>> createOrUpdateWithResponseAsync(String if (natGatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter natGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, natGatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, natGatewayName, contentType, accept, parameters, context); } /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -583,7 +384,7 @@ public PollerFlux, NatGatewayInner> beginCreateOrUpd /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @param context The context to associate with this operation. @@ -605,7 +406,7 @@ private PollerFlux, NatGatewayInner> beginCreateOrUp /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -622,7 +423,7 @@ public SyncPoller, NatGatewayInner> beginCreateOrUpd /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @param context The context to associate with this operation. @@ -640,7 +441,7 @@ public SyncPoller, NatGatewayInner> beginCreateOrUpd /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -658,7 +459,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Strin /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @param context The context to associate with this operation. @@ -677,7 +478,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, Stri /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -693,7 +494,7 @@ public NatGatewayInner createOrUpdate(String resourceGroupName, String natGatewa /** * Creates or updates a nat gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to the create or update nat gateway operation. * @param context The context to associate with this operation. @@ -711,7 +512,7 @@ public NatGatewayInner createOrUpdate(String resourceGroupName, String natGatewa /** * Updates nat gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to update nat gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -726,6 +527,10 @@ public Mono> updateTagsWithResponseAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -733,27 +538,25 @@ public Mono> updateTagsWithResponseAsync(String resour if (natGatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter natGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, natGatewayName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, natGatewayName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates nat gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to update nat gateway tags. * @param context The context to associate with this operation. @@ -769,6 +572,10 @@ private Mono> updateTagsWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -776,26 +583,23 @@ private Mono> updateTagsWithResponseAsync(String resou if (natGatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter natGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, natGatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, natGatewayName, contentType, accept, parameters, context); } /** * Updates nat gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to update nat gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -813,7 +617,7 @@ public Mono updateTagsAsync(String resourceGroupName, String na /** * Updates nat gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to update nat gateway tags. * @param context The context to associate with this operation. @@ -831,7 +635,7 @@ public Response updateTagsWithResponse(String resourceGroupName /** * Updates nat gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param natGatewayName The name of the nat gateway. * @param parameters Parameters supplied to update nat gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -845,15 +649,17 @@ public NatGatewayInner updateTags(String resourceGroupName, String natGatewayNam } /** - * Gets all the Nat Gateways in a subscription. + * Deletes the specified nat gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 all the Nat Gateways in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String natGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -862,28 +668,34 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (natGatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter natGatewayName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, natGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the Nat Gateways in a subscription. + * Deletes the specified nat gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. * @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 all the Nat Gateways in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, String natGatewayName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -892,71 +704,154 @@ private Mono> listSinglePageAsync(Context context return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (natGatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter natGatewayName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + natGatewayName, context); } /** - * Gets all the Nat Gateways in a subscription. + * Deletes the specified nat gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 all the Nat Gateways in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String natGatewayName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, natGatewayName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Gets all the Nat Gateways in a subscription. + * Deletes the specified nat gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. * @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 all the Nat Gateways in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String natGatewayName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, natGatewayName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Gets all the Nat Gateways in a subscription. + * Deletes the specified nat gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 all the Nat Gateways in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String natGatewayName) { + return this.beginDeleteAsync(resourceGroupName, natGatewayName).getSyncPoller(); } /** - * Gets all the Nat Gateways in a subscription. + * Deletes the specified nat gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. * @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 all the Nat Gateways in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String natGatewayName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, natGatewayName, context).getSyncPoller(); + } + + /** + * Deletes the specified nat gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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) + public Mono deleteAsync(String resourceGroupName, String natGatewayName) { + return beginDeleteAsync(resourceGroupName, natGatewayName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified nat gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String natGatewayName, Context context) { + return beginDeleteAsync(resourceGroupName, natGatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified nat gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 natGatewayName) { + deleteAsync(resourceGroupName, natGatewayName).block(); + } + + /** + * Deletes the specified nat gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param natGatewayName The name of the nat gateway. + * @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 natGatewayName, Context context) { + deleteAsync(resourceGroupName, natGatewayName, context).block(); } /** * Gets all nat gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -969,19 +864,19 @@ private Mono> listByResourceGroupSinglePageAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -990,7 +885,7 @@ private Mono> listByResourceGroupSinglePageAsync( /** * Gets all nat gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1005,20 +900,20 @@ private Mono> listByResourceGroupSinglePageAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1026,7 +921,7 @@ private Mono> listByResourceGroupSinglePageAsync( /** * Gets all nat gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1041,7 +936,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGroupN /** * Gets all nat gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1057,7 +952,7 @@ private PagedFlux listByResourceGroupAsync(String resourceGroup /** * Gets all nat gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1071,7 +966,7 @@ public PagedIterable listByResourceGroup(String resourceGroupNa /** * Gets all nat gateways in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1083,6 +978,115 @@ public PagedIterable listByResourceGroup(String resourceGroupNa return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } + /** + * Gets all the Nat Gateways in a 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 all the Nat Gateways in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); + } + + /** + * Gets all the Nat Gateways in a 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 all the Nat Gateways in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets all the Nat Gateways in a 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 all the Nat Gateways in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + } + + /** + * Gets all the Nat Gateways in a 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 all the Nat Gateways in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets all the Nat Gateways in a 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 all the Nat Gateways in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Gets all the Nat Gateways in a 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 all the Nat Gateways in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); + } + /** * Get the next page of items. * @@ -1090,11 +1094,11 @@ public PagedIterable listByResourceGroup(String resourceGroupNa * @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 all the Nat Gateways in a subscription along with {@link PagedResponse} on successful completion of + * @return all nat gateways in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1103,8 +1107,7 @@ private Mono> listAllNextSinglePageAsync(String n new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1118,11 +1121,11 @@ private Mono> listAllNextSinglePageAsync(String n * @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 all the Nat Gateways in a subscription along with {@link PagedResponse} on successful completion of + * @return all nat gateways in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1132,7 +1135,7 @@ private Mono> listAllNextSinglePageAsync(String n } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1144,11 +1147,11 @@ private Mono> listAllNextSinglePageAsync(String n * @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 all nat gateways in a resource group along with {@link PagedResponse} on successful completion of + * @return all the Nat Gateways in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1157,7 +1160,8 @@ private Mono> listNextSinglePageAsync(String next new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -1171,11 +1175,11 @@ private Mono> listNextSinglePageAsync(String next * @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 all nat gateways in a resource group along with {@link PagedResponse} on successful completion of + * @return all the Nat Gateways in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1185,7 +1189,7 @@ private Mono> listNextSinglePageAsync(String next } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java index cd292603c199..17e729fa7e6b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NatRulesClient; import com.azure.resourcemanager.network.fluent.models.VpnGatewayNatRuleInner; -import com.azure.resourcemanager.network.models.ListVpnGatewayNatRulesResult; +import com.azure.resourcemanager.network.implementation.models.ListVpnGatewayNatRulesResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -66,64 +66,62 @@ public final class NatRulesClientImpl implements NatRulesClient { * The interface defining all the services for NetworkManagementClientNatRules to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNatRules") public interface NatRulesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @PathParam("natRuleName") String natRuleName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("natRuleName") String natRuleName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @PathParam("natRuleName") String natRuleName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") VpnGatewayNatRuleInner natRuleParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("natRuleName") String natRuleName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnGatewayNatRuleInner natRuleParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @PathParam("natRuleName") String natRuleName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("natRuleName") String natRuleName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByVpnGateway(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> listByVpnGateway(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByVpnGatewayNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a nat ruleGet. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -153,17 +151,18 @@ public Mono> getWithResponseAsync(String resour final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, natRuleName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, natRuleName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a nat ruleGet. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -194,16 +193,17 @@ private Mono> getWithResponseAsync(String resou final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, gatewayName, - natRuleName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, natRuleName, accept, context); } /** * Retrieves the details of a nat ruleGet. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -218,9 +218,10 @@ public Mono getAsync(String resourceGroupName, String ga /** * Retrieves the details of a nat ruleGet. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -236,9 +237,10 @@ public Response getWithResponse(String resourceGroupName /** * Retrieves the details of a nat ruleGet. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -252,9 +254,10 @@ public VpnGatewayNatRuleInner get(String resourceGroupName, String gatewayName, /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -289,19 +292,22 @@ public Mono>> createOrUpdateWithResponseAsync(String r natRuleParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, natRuleName, apiVersion, natRuleParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, natRuleName, contentType, accept, + natRuleParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -337,18 +343,20 @@ private Mono>> createOrUpdateWithResponseAsync(String natRuleParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, natRuleName, apiVersion, natRuleParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, natRuleName, contentType, accept, natRuleParameters, context); } /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -368,9 +376,10 @@ public PollerFlux, VpnGatewayNatRuleInner> be /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -392,9 +401,10 @@ private PollerFlux, VpnGatewayNatRuleInner> b /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -411,9 +421,10 @@ public SyncPoller, VpnGatewayNatRuleInner> be /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -432,9 +443,10 @@ public SyncPoller, VpnGatewayNatRuleInner> be /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -451,9 +463,10 @@ public Mono createOrUpdateAsync(String resourceGroupName /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -471,9 +484,10 @@ private Mono createOrUpdateAsync(String resourceGroupNam /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -489,9 +503,10 @@ public VpnGatewayNatRuleInner createOrUpdate(String resourceGroupName, String ga /** * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -508,9 +523,10 @@ public VpnGatewayNatRuleInner createOrUpdate(String resourceGroupName, String ga /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -538,19 +554,19 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter natRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, natRuleName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, natRuleName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -579,18 +595,18 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter natRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, natRuleName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, natRuleName, context); } /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -607,9 +623,10 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -629,9 +646,10 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -646,9 +664,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -664,9 +683,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -681,9 +701,10 @@ public Mono deleteAsync(String resourceGroupName, String gatewayName, Stri /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -699,9 +720,10 @@ private Mono deleteAsync(String resourceGroupName, String gatewayName, Str /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -714,9 +736,10 @@ public void delete(String resourceGroupName, String gatewayName, String natRuleN /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -730,7 +753,7 @@ public void delete(String resourceGroupName, String gatewayName, String natRuleN /** * Retrieves all nat rules for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -759,8 +782,8 @@ private Mono> listByVpnGatewaySinglePageAs final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByVpnGateway(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, apiVersion, accept, context)) + .withContext(context -> service.listByVpnGateway(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, 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())); @@ -769,7 +792,7 @@ private Mono> listByVpnGatewaySinglePageAs /** * Retrieves all nat rules for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -800,8 +823,8 @@ private Mono> listByVpnGatewaySinglePageAs final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByVpnGateway(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, apiVersion, accept, context) + .listByVpnGateway(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -809,7 +832,7 @@ private Mono> listByVpnGatewaySinglePageAs /** * Retrieves all nat rules for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -826,7 +849,7 @@ public PagedFlux listByVpnGatewayAsync(String resourceGr /** * Retrieves all nat rules for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -845,7 +868,7 @@ private PagedFlux listByVpnGatewayAsync(String resourceG /** * Retrieves all nat rules for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -861,7 +884,7 @@ public PagedIterable listByVpnGateway(String resourceGro /** * Retrieves all nat rules for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java index 916f070736b9..563aa4c4aeb7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkGroupsClient; import com.azure.resourcemanager.network.fluent.models.NetworkGroupInner; -import com.azure.resourcemanager.network.models.NetworkGroupListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkGroupListResult; import com.azure.resourcemanager.network.models.NetworkGroupsCreateOrUpdateResponse; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -68,66 +68,64 @@ public final class NetworkGroupsClientImpl implements NetworkGroupsClient { * The interface defining all the services for NetworkManagementClientNetworkGroups to be used by the proxy service * to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkGroups") public interface NetworkGroupsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("networkGroupName") String networkGroupName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkGroupName") String networkGroupName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("networkGroupName") String networkGroupName, @QueryParam("api-version") String apiVersion, - @HeaderParam("If-Match") String ifMatch, @BodyParam("application/json") NetworkGroupInner parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkGroupName") String networkGroupName, @HeaderParam("If-Match") String ifMatch, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") NetworkGroupInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("networkGroupName") String networkGroupName, @QueryParam("api-version") String apiVersion, - @QueryParam("force") Boolean force, @HeaderParam("Accept") String accept, Context context); + @PathParam("networkGroupName") String networkGroupName, @QueryParam("force") Boolean force, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("api-version") String apiVersion, - @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -161,15 +159,15 @@ public Mono> getWithResponseAsync(String resourceGro final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, networkGroupName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, networkGroupName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param context The context to associate with this operation. @@ -204,14 +202,14 @@ private Mono> getWithResponseAsync(String resourceGr final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, networkGroupName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, networkGroupName, accept, context); } /** * Gets the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -229,7 +227,7 @@ public Mono getAsync(String resourceGroupName, String network /** * Gets the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param context The context to associate with this operation. @@ -247,7 +245,7 @@ public Response getWithResponse(String resourceGroupName, Str /** * Gets the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -263,7 +261,7 @@ public NetworkGroupInner get(String resourceGroupName, String networkManagerName /** * Creates or updates a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param parameters Parameters supplied to the specify which network group need to create. @@ -303,18 +301,19 @@ public Mono createOrUpdateWithResponseAsync parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, networkGroupName, apiVersion, ifMatch, parameters, accept, - context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, networkGroupName, ifMatch, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param parameters Parameters supplied to the specify which network group need to create. @@ -356,16 +355,17 @@ private Mono createOrUpdateWithResponseAsyn parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, networkGroupName, apiVersion, ifMatch, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, networkGroupName, ifMatch, contentType, accept, parameters, context); } /** * Creates or updates a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param parameters Parameters supplied to the specify which network group need to create. @@ -385,7 +385,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param parameters Parameters supplied to the specify which network group need to create. @@ -408,7 +408,7 @@ public NetworkGroupsCreateOrUpdateResponse createOrUpdateWithResponse(String res /** * Creates or updates a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param parameters Parameters supplied to the specify which network group need to create. @@ -428,7 +428,7 @@ public NetworkGroupInner createOrUpdate(String resourceGroupName, String network /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -462,17 +462,17 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter networkGroupName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, networkGroupName, apiVersion, force, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, networkGroupName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -507,16 +507,15 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter networkGroupName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, networkGroupName, apiVersion, force, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, networkGroupName, force, context); } /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -538,7 +537,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -559,7 +558,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -583,7 +582,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -601,7 +600,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -622,7 +621,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -642,7 +641,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -660,7 +659,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -681,7 +680,7 @@ private Mono deleteAsync(String resourceGroupName, String networkManagerNa /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -697,7 +696,7 @@ public void delete(String resourceGroupName, String networkManagerName, String n /** * Deletes a network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -716,7 +715,7 @@ public void delete(String resourceGroupName, String networkManagerName, String n /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -726,8 +725,8 @@ public void delete(String resourceGroupName, String networkManagerName, String n * @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 result of the request to list NetworkGroup along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkGroup list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -751,8 +750,8 @@ private Mono> listSinglePageAsync(String resour final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, apiVersion, top, skipToken, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, top, skipToken, 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())); @@ -761,7 +760,7 @@ private Mono> listSinglePageAsync(String resour /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -772,8 +771,8 @@ private Mono> listSinglePageAsync(String resour * @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 result of the request to list NetworkGroup along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkGroup list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -798,8 +797,8 @@ private Mono> listSinglePageAsync(String resour final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, networkManagerName, - apiVersion, top, skipToken, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -807,7 +806,7 @@ private Mono> listSinglePageAsync(String resour /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -817,7 +816,7 @@ private Mono> listSinglePageAsync(String resour * @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 result of the request to list NetworkGroup as paginated response with {@link PagedFlux}. + * @return the response of a NetworkGroup list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkManagerName, Integer top, @@ -829,12 +828,12 @@ public PagedFlux listAsync(String resourceGroupName, String n /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @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 result of the request to list NetworkGroup as paginated response with {@link PagedFlux}. + * @return the response of a NetworkGroup list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { @@ -847,7 +846,7 @@ public PagedFlux listAsync(String resourceGroupName, String n /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -858,7 +857,7 @@ public PagedFlux listAsync(String resourceGroupName, String n * @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 result of the request to list NetworkGroup as paginated response with {@link PagedFlux}. + * @return the response of a NetworkGroup list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkManagerName, Integer top, @@ -871,12 +870,12 @@ private PagedFlux listAsync(String resourceGroupName, String /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @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 result of the request to list NetworkGroup as paginated response with {@link PagedIterable}. + * @return the response of a NetworkGroup list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkManagerName) { @@ -888,7 +887,7 @@ public PagedIterable list(String resourceGroupName, String ne /** * Lists the specified network group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -899,7 +898,7 @@ public PagedIterable list(String resourceGroupName, String ne * @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 result of the request to list NetworkGroup as paginated response with {@link PagedIterable}. + * @return the response of a NetworkGroup list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkManagerName, Integer top, @@ -914,8 +913,8 @@ public PagedIterable list(String resourceGroupName, String ne * @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 result of the request to list NetworkGroup along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkGroup list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -941,8 +940,8 @@ private Mono> listNextSinglePageAsync(String ne * @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 result of the request to list NetworkGroup along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkGroup list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java index f1dac1ac0630..1f58de2e15ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -25,19 +25,19 @@ import com.azure.core.management.exception.ManagementException; import com.azure.core.util.Context; import com.azure.core.util.FluxUtil; -import com.azure.resourcemanager.network.fluent.NetworkInterfaceIpConfigurationsClient; +import com.azure.resourcemanager.network.fluent.NetworkInterfaceIPConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; -import com.azure.resourcemanager.network.models.NetworkInterfaceIpConfigurationListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkInterfaceIPConfigurationListResult; import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in NetworkInterfaceIpConfigurationsClient. + * An instance of this class provides access to all the operations defined in NetworkInterfaceIPConfigurationsClient. */ -public final class NetworkInterfaceIpConfigurationsClientImpl implements NetworkInterfaceIpConfigurationsClient { +public final class NetworkInterfaceIPConfigurationsClientImpl implements NetworkInterfaceIPConfigurationsClient { /** * The proxy service used to perform REST calls. */ - private final NetworkInterfaceIpConfigurationsService service; + private final NetworkInterfaceIPConfigurationsService service; /** * The service client containing this operation class. @@ -45,70 +45,76 @@ public final class NetworkInterfaceIpConfigurationsClientImpl implements Network private final NetworkManagementClientImpl client; /** - * Initializes an instance of NetworkInterfaceIpConfigurationsClientImpl. + * Initializes an instance of NetworkInterfaceIPConfigurationsClientImpl. * * @param client the instance of the service client containing this operation class. */ - NetworkInterfaceIpConfigurationsClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(NetworkInterfaceIpConfigurationsService.class, client.getHttpPipeline(), + NetworkInterfaceIPConfigurationsClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(NetworkInterfaceIPConfigurationsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); this.client = client; } /** - * The interface defining all the services for NetworkManagementClientNetworkInterfaceIpConfigurations to be used by + * The interface defining all the services for NetworkManagementClientNetworkInterfaceIPConfigurations to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") - @ServiceInterface(name = "NetworkManagementClientNetworkInterfaceIpConfigurations") - public interface NetworkInterfaceIpConfigurationsService { + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClientNetworkInterfaceIPConfigurations") + public interface NetworkInterfaceIPConfigurationsService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkInterfaceName") String networkInterfaceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("ipConfigurationName") String ipConfigurationName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("ipConfigurationName") String ipConfigurationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("networkInterfaceName") String networkInterfaceName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Get all ip configurations in a network interface. + * Gets the specified network interface ip configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the ip configuration. * @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 all ip configurations in a network interface along with {@link PagedResponse} on successful completion of + * @return the specified network interface ip configuration along with {@link Response} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkInterfaceName) { + public Mono> getWithResponseAsync(String resourceGroupName, + String networkInterfaceName, String ipConfigurationName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -117,39 +123,42 @@ private Mono> listSinglePage return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, ipConfigurationName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Get all ip configurations in a network interface. + * Gets the specified network interface ip configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the ip configuration. * @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 all ip configurations in a network interface along with {@link PagedResponse} on successful completion of + * @return the specified network interface ip configuration along with {@link Response} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkInterfaceName, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, + String networkInterfaceName, String ipConfigurationName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -158,107 +167,92 @@ private Mono> listSinglePage return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkInterfaceName, ipConfigurationName, accept, context); } /** - * Get all ip configurations in a network interface. + * Gets the specified network interface ip configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the ip configuration. * @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 all ip configurations in a network interface as paginated response with {@link PagedFlux}. + * @return the specified network interface ip configuration on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, - String networkInterfaceName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkInterfaceName), - nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String networkInterfaceName, + String ipConfigurationName) { + return getWithResponseAsync(resourceGroupName, networkInterfaceName, ipConfigurationName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get all ip configurations in a network interface. + * Gets the specified network interface ip configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the ip configuration. * @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 all ip configurations in a network interface as paginated response with {@link PagedFlux}. + * @return the specified network interface ip configuration along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, - String networkInterfaceName, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkInterfaceName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, + String networkInterfaceName, String ipConfigurationName, Context context) { + return getWithResponseAsync(resourceGroupName, networkInterfaceName, ipConfigurationName, context).block(); } /** - * Get all ip configurations in a network interface. + * Gets the specified network interface ip configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the ip configuration. * @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 all ip configurations in a network interface as paginated response with {@link PagedIterable}. + * @return the specified network interface ip configuration. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, - String networkInterfaceName) { - return new PagedIterable<>(listAsync(resourceGroupName, networkInterfaceName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkInterfaceIpConfigurationInner get(String resourceGroupName, String networkInterfaceName, + String ipConfigurationName) { + return getWithResponse(resourceGroupName, networkInterfaceName, ipConfigurationName, Context.NONE).getValue(); } /** * Get all ip configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @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 all ip configurations in a network interface as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, - String networkInterfaceName, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkInterfaceName, context)); - } - - /** - * Gets the specified network interface ip configuration. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration name. - * @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 network interface ip configuration along with {@link Response} on successful completion of + * @return all ip configurations in a network interface along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String networkInterfaceName, String ipConfigurationName) { + private Mono> listSinglePageAsync(String resourceGroupName, + String networkInterfaceName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -267,42 +261,39 @@ public Mono> getWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, - ipConfigurationName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, 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())); } /** - * Gets the specified network interface ip configuration. + * Get all ip configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration name. * @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 network interface ip configuration along with {@link Response} on successful completion of + * @return all ip configurations in a network interface along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String networkInterfaceName, String ipConfigurationName, Context context) { + private Mono> listSinglePageAsync(String resourceGroupName, + String networkInterfaceName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -311,72 +302,82 @@ private Mono> getWithResponseAsyn return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, ipConfigurationName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkInterfaceName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets the specified network interface ip configuration. + * Get all ip configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration name. * @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 network interface ip configuration on successful completion of {@link Mono}. + * @return all ip configurations in a network interface as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String networkInterfaceName, - String ipConfigurationName) { - return getWithResponseAsync(resourceGroupName, networkInterfaceName, ipConfigurationName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, + String networkInterfaceName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkInterfaceName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets the specified network interface ip configuration. + * Get all ip configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration name. * @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 network interface ip configuration along with {@link Response}. + * @return all ip configurations in a network interface as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, - String networkInterfaceName, String ipConfigurationName, Context context) { - return getWithResponseAsync(resourceGroupName, networkInterfaceName, ipConfigurationName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, + String networkInterfaceName, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkInterfaceName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets the specified network interface ip configuration. + * Get all ip configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration name. * @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 network interface ip configuration. + * @return all ip configurations in a network interface as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkInterfaceIpConfigurationInner get(String resourceGroupName, String networkInterfaceName, - String ipConfigurationName) { - return getWithResponse(resourceGroupName, networkInterfaceName, ipConfigurationName, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, + String networkInterfaceName) { + return new PagedIterable<>(listAsync(resourceGroupName, networkInterfaceName)); + } + + /** + * Get all ip configurations in a network interface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 all ip configurations in a network interface as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, + String networkInterfaceName, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkInterfaceName, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java index 7da7ddffa1e7..39f3b91a067a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.NetworkInterfaceLoadBalancersClient; import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; -import com.azure.resourcemanager.network.models.NetworkInterfaceLoadBalancerListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkInterfaceLoadBalancerListResult; import reactor.core.publisher.Mono; /** @@ -59,38 +59,38 @@ public final class NetworkInterfaceLoadBalancersClientImpl implements NetworkInt * The interface defining all the services for NetworkManagementClientNetworkInterfaceLoadBalancers to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkInterfaceLoadBalancers") public interface NetworkInterfaceLoadBalancersService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkInterfaceName") String networkInterfaceName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkInterfaceName") String networkInterfaceName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * List all load balancers in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @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 response for list ip configurations API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of LoadBalancer items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -99,6 +99,10 @@ private Mono> listSinglePageAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -107,15 +111,11 @@ private Mono> listSinglePageAsync(String resour return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, 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())); @@ -124,14 +124,14 @@ private Mono> listSinglePageAsync(String resour /** * List all load balancers in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @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 response for list ip configurations API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of LoadBalancer items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -140,6 +140,10 @@ private Mono> listSinglePageAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -148,16 +152,12 @@ private Mono> listSinglePageAsync(String resour return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkInterfaceName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -165,12 +165,12 @@ private Mono> listSinglePageAsync(String resour /** * List all load balancers in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @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 response for list ip configurations API service call as paginated response with {@link PagedFlux}. + * @return paged collection of LoadBalancer items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkInterfaceName) { @@ -181,13 +181,13 @@ public PagedFlux listAsync(String resourceGroupName, String n /** * List all load balancers in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @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 response for list ip configurations API service call as paginated response with {@link PagedFlux}. + * @return paged collection of LoadBalancer items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkInterfaceName, @@ -199,12 +199,12 @@ private PagedFlux listAsync(String resourceGroupName, String /** * List all load balancers in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @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 response for list ip configurations API service call as paginated response with {@link PagedIterable}. + * @return paged collection of LoadBalancer items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkInterfaceName) { @@ -214,13 +214,13 @@ public PagedIterable list(String resourceGroupName, String ne /** * List all load balancers in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @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 response for list ip configurations API service call as paginated response with {@link PagedIterable}. + * @return paged collection of LoadBalancer items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkInterfaceName, @@ -235,8 +235,8 @@ public PagedIterable list(String resourceGroupName, String ne * @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 response for list ip configurations API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of LoadBalancer items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -262,8 +262,8 @@ private Mono> listNextSinglePageAsync(String ne * @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 response for list ip configurations API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of LoadBalancer items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java index c678fed1115c..1de1fb51ae66 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkInterfaceTapConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceTapConfigurationInner; -import com.azure.resourcemanager.network.models.NetworkInterfaceTapConfigurationListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkInterfaceTapConfigurationListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,298 +67,68 @@ public final class NetworkInterfaceTapConfigurationsClientImpl implements Networ * The interface defining all the services for NetworkManagementClientNetworkInterfaceTapConfigurations to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkInterfaceTapConfigurations") public interface NetworkInterfaceTapConfigurationsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("tapConfigurationName") String tapConfigurationName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("tapConfigurationName") String tapConfigurationName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("tapConfigurationName") String tapConfigurationName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkInterfaceName") String networkInterfaceName, @PathParam("tapConfigurationName") String tapConfigurationName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") NetworkInterfaceTapConfigurationInner tapConfigurationParameters, - @HeaderParam("Accept") String accept, Context context); + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}") + @ExpectedResponses({ 200, 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("networkInterfaceName") String networkInterfaceName, + @PathParam("tapConfigurationName") String tapConfigurationName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkInterfaceName") String networkInterfaceName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkInterfaceName") String networkInterfaceName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkInterfaceName, String tapConfigurationName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (tapConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter tapConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, - tapConfigurationName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkInterfaceName, String tapConfigurationName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (tapConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter tapConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, tapConfigurationName, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName, - String tapConfigurationName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkInterfaceName, tapConfigurationName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName, - String tapConfigurationName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkInterfaceName, tapConfigurationName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 networkInterfaceName, - String tapConfigurationName) { - return this.beginDeleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName).getSyncPoller(); - } - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 networkInterfaceName, - String tapConfigurationName, Context context) { - return this.beginDeleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName, context) - .getSyncPoller(); - } - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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) - public Mono deleteAsync(String resourceGroupName, String networkInterfaceName, String tapConfigurationName) { - return beginDeleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String networkInterfaceName, String tapConfigurationName, - Context context) { - return beginDeleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 networkInterfaceName, String tapConfigurationName) { - deleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName).block(); - } - - /** - * Deletes the specified tap configuration from the NetworkInterface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. - * @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 networkInterfaceName, String tapConfigurationName, - Context context) { - deleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName, context).block(); - } - /** * Get the specified tap configuration on a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. @@ -372,6 +142,10 @@ public Mono> getWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -384,24 +158,21 @@ public Mono> getWithResponseAsyn return Mono .error(new IllegalArgumentException("Parameter tapConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, - tapConfigurationName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, tapConfigurationName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Get the specified tap configuration on a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. @@ -416,6 +187,10 @@ private Mono> getWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -428,23 +203,20 @@ private Mono> getWithResponseAsy return Mono .error(new IllegalArgumentException("Parameter tapConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, tapConfigurationName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkInterfaceName, tapConfigurationName, accept, context); } /** * Get the specified tap configuration on a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. @@ -460,9 +232,10 @@ public Mono getAsync(String resourceGroup /** * Get the specified tap configuration on a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. @@ -478,9 +251,10 @@ public Response getWithResponse(String re /** * Get the specified tap configuration on a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @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. @@ -495,9 +269,10 @@ public NetworkInterfaceTapConfigurationInner get(String resourceGroupName, Strin /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -513,6 +288,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -525,10 +304,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter tapConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (tapConfigurationParameters == null) { return Mono.error( new IllegalArgumentException("Parameter tapConfigurationParameters is required and cannot be null.")); @@ -536,20 +311,22 @@ public Mono>> createOrUpdateWithResponseAsync(String r tapConfigurationParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - networkInterfaceName, tapConfigurationName, apiVersion, this.client.getSubscriptionId(), - tapConfigurationParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkInterfaceName, tapConfigurationName, + contentType, accept, tapConfigurationParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -566,6 +343,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -578,10 +359,6 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter tapConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (tapConfigurationParameters == null) { return Mono.error( new IllegalArgumentException("Parameter tapConfigurationParameters is required and cannot be null.")); @@ -589,19 +366,21 @@ private Mono>> createOrUpdateWithResponseAsync(String tapConfigurationParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, - tapConfigurationName, apiVersion, this.client.getSubscriptionId(), tapConfigurationParameters, accept, - context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, tapConfigurationName, contentType, accept, + tapConfigurationParameters, context); } /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -622,9 +401,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -647,9 +427,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -669,9 +450,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -692,9 +474,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -712,9 +495,10 @@ public Mono createOrUpdateAsync(String re /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -733,9 +517,10 @@ private Mono createOrUpdateAsync(String r /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -752,9 +537,10 @@ public NetworkInterfaceTapConfigurationInner createOrUpdate(String resourceGroup /** * Creates or updates a Tap configuration in the specified NetworkInterface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. - * @param tapConfigurationName The name of the tap configuration. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. * @param tapConfigurationParameters Parameters supplied to the create or update tap configuration operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -770,10 +556,249 @@ public NetworkInterfaceTapConfigurationInner createOrUpdate(String resourceGroup tapConfigurationParameters, context).block(); } + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkInterfaceName, String tapConfigurationName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (tapConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter tapConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, tapConfigurationName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkInterfaceName, String tapConfigurationName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (tapConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter tapConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkInterfaceName, tapConfigurationName, context); + } + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName, + String tapConfigurationName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkInterfaceName, tapConfigurationName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName, + String tapConfigurationName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkInterfaceName, tapConfigurationName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 networkInterfaceName, + String tapConfigurationName) { + return this.beginDeleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName).getSyncPoller(); + } + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 networkInterfaceName, + String tapConfigurationName, Context context) { + return this.beginDeleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName, context) + .getSyncPoller(); + } + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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) + public Mono deleteAsync(String resourceGroupName, String networkInterfaceName, String tapConfigurationName) { + return beginDeleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String networkInterfaceName, String tapConfigurationName, + Context context) { + return beginDeleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 networkInterfaceName, String tapConfigurationName) { + deleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName).block(); + } + + /** + * Deletes the specified tap configuration from the NetworkInterface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @param tapConfigurationName The name of the resource that is unique within a resource group. This name can be + * used to access the resource. + * @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 networkInterfaceName, String tapConfigurationName, + Context context) { + deleteAsync(resourceGroupName, networkInterfaceName, tapConfigurationName, context).block(); + } + /** * Get all Tap configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -788,6 +813,10 @@ private Mono> listSinglePag return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -796,15 +825,11 @@ private Mono> listSinglePag return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, 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())); @@ -813,7 +838,7 @@ private Mono> listSinglePag /** * Get all Tap configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -829,6 +854,10 @@ private Mono> listSinglePag return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -837,16 +866,12 @@ private Mono> listSinglePag return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkInterfaceName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -854,7 +879,7 @@ private Mono> listSinglePag /** * Get all Tap configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -871,7 +896,7 @@ public PagedFlux listAsync(String resourc /** * Get all Tap configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -889,7 +914,7 @@ private PagedFlux listAsync(String resour /** * Get all Tap configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -905,7 +930,7 @@ public PagedIterable list(String resource /** * Get all Tap configurations in a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java index 542c63587cbf..d459796fba3f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -37,9 +37,7 @@ import com.azure.resourcemanager.network.fluent.models.EffectiveNetworkSecurityGroupListResultInner; import com.azure.resourcemanager.network.fluent.models.EffectiveRouteListResultInner; import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceInner; -import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; -import com.azure.resourcemanager.network.models.NetworkInterfaceIpConfigurationListResult; -import com.azure.resourcemanager.network.models.NetworkInterfaceListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkInterfaceListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -78,173 +76,154 @@ public final class NetworkInterfacesClientImpl implements InnerSupportsGet> listCloudServiceRoleInstanceNetworkInterfaces( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, + Mono> getCloudServiceNetworkInterface(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("cloudServiceName") String cloudServiceName, - @PathParam("roleInstanceName") String roleInstanceName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("roleInstanceName") String roleInstanceName, + @PathParam("networkInterfaceName") String networkInterfaceName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listCloudServiceNetworkInterfaces( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("cloudServiceName") String cloudServiceName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono> listCloudServiceRoleInstanceNetworkInterfaces( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("cloudServiceName") String cloudServiceName, + @PathParam("roleInstanceName") String roleInstanceName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getCloudServiceNetworkInterface(@HostParam("$host") String endpoint, + Mono> getVirtualMachineScaleSetNetworkInterface( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("cloudServiceName") String cloudServiceName, - @PathParam("roleInstanceName") String roleInstanceName, - @PathParam("networkInterfaceName") String networkInterfaceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @PathParam("virtualmachineIndex") String virtualmachineIndex, + @PathParam("networkInterfaceName") String networkInterfaceName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}") - @ExpectedResponses({ 200, 202, 204 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono> listVirtualMachineScaleSetVMNetworkInterfaces( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkInterfaceName") String networkInterfaceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @PathParam("virtualmachineIndex") String virtualmachineIndex, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkInterfaceName") String networkInterfaceName, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkInterfaceName") String networkInterfaceName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkInterfaceName") String networkInterfaceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") NetworkInterfaceInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") NetworkInterfaceInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkInterfaceName") String networkInterfaceName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkInterfaceName") String networkInterfaceName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getEffectiveRouteTable(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkInterfaceName") String networkInterfaceName, + Mono>> getEffectiveRouteTable(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkInterfaceName") String networkInterfaceName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listEffectiveNetworkSecurityGroups(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkInterfaceName") String networkInterfaceName, + Mono>> listEffectiveNetworkSecurityGroups(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkInterfaceName") String networkInterfaceName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetVMNetworkInterfaces( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @PathParam("virtualmachineIndex") String virtualmachineIndex, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono> listCloudServiceNetworkInterfaces( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("cloudServiceName") String cloudServiceName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listVirtualMachineScaleSetNetworkInterfaces( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getVirtualMachineScaleSetNetworkInterface( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @PathParam("virtualmachineIndex") String virtualmachineIndex, - @PathParam("networkInterfaceName") String networkInterfaceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetIpConfigurations( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @PathParam("virtualmachineIndex") String virtualmachineIndex, - @PathParam("networkInterfaceName") String networkInterfaceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getVirtualMachineScaleSetIpConfiguration( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @PathParam("virtualmachineIndex") String virtualmachineIndex, - @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("ipConfigurationName") String ipConfigurationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -252,23 +231,15 @@ Mono> getVirtualMachineScaleSetIp @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listCloudServiceRoleInstanceNetworkInterfacesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listCloudServiceNetworkInterfacesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @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> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listVirtualMachineScaleSetVMNetworkInterfacesNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -276,53 +247,60 @@ Mono> listAllNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @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> listVirtualMachineScaleSetVMNetworkInterfacesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listAllNext( + @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> listVirtualMachineScaleSetNetworkInterfacesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listCloudServiceNetworkInterfacesNext( + @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> listVirtualMachineScaleSetIpConfigurationsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listVirtualMachineScaleSetNetworkInterfacesNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Gets information about all network interfaces in a role instance in a cloud service. + * Get the specified network interface in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. + * @param networkInterfaceName The name of the network interface. + * @param expand Expands referenced resources. * @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 information about all network interfaces in a role instance in a cloud service along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the specified network interface in a cloud service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCloudServiceRoleInstanceNetworkInterfacesSinglePageAsync( - String resourceGroupName, String cloudServiceName, String roleInstanceName) { + public Mono> getCloudServiceNetworkInterfaceWithResponseAsync( + String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, + String expand) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -335,41 +313,46 @@ private Mono> listCloudServiceRoleInstanceN return Mono .error(new IllegalArgumentException("Parameter roleInstanceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listCloudServiceRoleInstanceNetworkInterfaces(this.client.getEndpoint(), - resourceGroupName, cloudServiceName, roleInstanceName, apiVersion, this.client.getSubscriptionId(), - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.getCloudServiceNetworkInterface(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets information about all network interfaces in a role instance in a cloud service. + * Get the specified network interface in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. + * @param networkInterfaceName The name of the network interface. + * @param expand Expands referenced resources. * @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 information about all network interfaces in a role instance in a cloud service along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the specified network interface in a cloud service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCloudServiceRoleInstanceNetworkInterfacesSinglePageAsync( - String resourceGroupName, String cloudServiceName, String roleInstanceName, Context context) { + private Mono> getCloudServiceNetworkInterfaceWithResponseAsync( + String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, + String expand, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -382,120 +365,102 @@ private Mono> listCloudServiceRoleInstanceN return Mono .error(new IllegalArgumentException("Parameter roleInstanceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listCloudServiceRoleInstanceNetworkInterfaces(this.client.getEndpoint(), resourceGroupName, - cloudServiceName, roleInstanceName, apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.getCloudServiceNetworkInterface(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, expand, accept, context); } /** - * Gets information about all network interfaces in a role instance in a cloud service. + * Get the specified network interface in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. + * @param networkInterfaceName The name of the network interface. * @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 information about all network interfaces in a role instance in a cloud service as paginated response with - * {@link PagedFlux}. + * @return the specified network interface in a cloud service on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listCloudServiceRoleInstanceNetworkInterfacesAsync(String resourceGroupName, - String cloudServiceName, String roleInstanceName) { - return new PagedFlux<>( - () -> listCloudServiceRoleInstanceNetworkInterfacesSinglePageAsync(resourceGroupName, cloudServiceName, - roleInstanceName), - nextLink -> listCloudServiceRoleInstanceNetworkInterfacesNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCloudServiceNetworkInterfaceAsync(String resourceGroupName, + String cloudServiceName, String roleInstanceName, String networkInterfaceName) { + final String expand = null; + return getCloudServiceNetworkInterfaceWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, expand).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets information about all network interfaces in a role instance in a cloud service. + * Get the specified network interface in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. + * @param networkInterfaceName The name of the network interface. + * @param expand Expands referenced resources. * @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 information about all network interfaces in a role instance in a cloud service as paginated response with - * {@link PagedFlux}. + * @return the specified network interface in a cloud service along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listCloudServiceRoleInstanceNetworkInterfacesAsync( - String resourceGroupName, String cloudServiceName, String roleInstanceName, Context context) { - return new PagedFlux<>( - () -> listCloudServiceRoleInstanceNetworkInterfacesSinglePageAsync(resourceGroupName, cloudServiceName, - roleInstanceName, context), - nextLink -> listCloudServiceRoleInstanceNetworkInterfacesNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCloudServiceNetworkInterfaceWithResponse(String resourceGroupName, + String cloudServiceName, String roleInstanceName, String networkInterfaceName, String expand, Context context) { + return getCloudServiceNetworkInterfaceWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, expand, context).block(); } /** - * Gets information about all network interfaces in a role instance in a cloud service. + * Get the specified network interface in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. + * @param networkInterfaceName The name of the network interface. * @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 information about all network interfaces in a role instance in a cloud service as paginated response with - * {@link PagedIterable}. + * @return the specified network interface in a cloud service. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServiceRoleInstanceNetworkInterfaces(String resourceGroupName, - String cloudServiceName, String roleInstanceName) { - return new PagedIterable<>( - listCloudServiceRoleInstanceNetworkInterfacesAsync(resourceGroupName, cloudServiceName, roleInstanceName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkInterfaceInner getCloudServiceNetworkInterface(String resourceGroupName, String cloudServiceName, + String roleInstanceName, String networkInterfaceName) { + final String expand = null; + return getCloudServiceNetworkInterfaceWithResponse(resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, expand, Context.NONE).getValue(); } /** * Gets information about all network interfaces in a role instance in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. - * @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 information about all network interfaces in a role instance in a cloud service as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServiceRoleInstanceNetworkInterfaces(String resourceGroupName, - String cloudServiceName, String roleInstanceName, Context context) { - return new PagedIterable<>(listCloudServiceRoleInstanceNetworkInterfacesAsync(resourceGroupName, - cloudServiceName, roleInstanceName, context)); - } - - /** - * Gets all network interfaces in a cloud service. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. * @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 all network interfaces in a cloud service along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return information about all network interfaces in a role instance in a cloud service along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listCloudServiceNetworkInterfacesSinglePageAsync(String resourceGroupName, String cloudServiceName) { + private Mono> listCloudServiceRoleInstanceNetworkInterfacesSinglePageAsync( + String resourceGroupName, String cloudServiceName, String roleInstanceName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -504,39 +469,45 @@ public PagedIterable listCloudServiceRoleInstanceNetworkI return Mono .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (roleInstanceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter roleInstanceName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listCloudServiceNetworkInterfaces(this.client.getEndpoint(), - resourceGroupName, cloudServiceName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listCloudServiceRoleInstanceNetworkInterfaces(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, + 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())); } /** - * Gets all network interfaces in a cloud service. + * Gets information about all network interfaces in a role instance in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The name of role instance. * @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 all network interfaces in a cloud service along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return information about all network interfaces in a role instance in a cloud service along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCloudServiceNetworkInterfacesSinglePageAsync( - String resourceGroupName, String cloudServiceName, Context context) { + private Mono> listCloudServiceRoleInstanceNetworkInterfacesSinglePageAsync( + String resourceGroupName, String cloudServiceName, String roleInstanceName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -545,464 +516,445 @@ private Mono> listCloudServiceNetworkInterf return Mono .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (roleInstanceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter roleInstanceName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listCloudServiceNetworkInterfaces(this.client.getEndpoint(), resourceGroupName, cloudServiceName, - apiVersion, this.client.getSubscriptionId(), accept, context) + .listCloudServiceRoleInstanceNetworkInterfaces(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all network interfaces in a cloud service. + * Gets information about all network interfaces in a role instance in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The name of role instance. * @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 all network interfaces in a cloud service as paginated response with {@link PagedFlux}. + * @return information about all network interfaces in a role instance in a cloud service as paginated response with + * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listCloudServiceNetworkInterfacesAsync(String resourceGroupName, - String cloudServiceName) { + public PagedFlux listCloudServiceRoleInstanceNetworkInterfacesAsync(String resourceGroupName, + String cloudServiceName, String roleInstanceName) { return new PagedFlux<>( - () -> listCloudServiceNetworkInterfacesSinglePageAsync(resourceGroupName, cloudServiceName), - nextLink -> listCloudServiceNetworkInterfacesNextSinglePageAsync(nextLink)); + () -> listCloudServiceRoleInstanceNetworkInterfacesSinglePageAsync(resourceGroupName, cloudServiceName, + roleInstanceName), + nextLink -> listCloudServiceRoleInstanceNetworkInterfacesNextSinglePageAsync(nextLink)); } /** - * Gets all network interfaces in a cloud service. + * Gets information about all network interfaces in a role instance in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The name of role instance. * @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 all network interfaces in a cloud service as paginated response with {@link PagedFlux}. + * @return information about all network interfaces in a role instance in a cloud service as paginated response with + * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listCloudServiceNetworkInterfacesAsync(String resourceGroupName, - String cloudServiceName, Context context) { + private PagedFlux listCloudServiceRoleInstanceNetworkInterfacesAsync( + String resourceGroupName, String cloudServiceName, String roleInstanceName, Context context) { return new PagedFlux<>( - () -> listCloudServiceNetworkInterfacesSinglePageAsync(resourceGroupName, cloudServiceName, context), - nextLink -> listCloudServiceNetworkInterfacesNextSinglePageAsync(nextLink, context)); + () -> listCloudServiceRoleInstanceNetworkInterfacesSinglePageAsync(resourceGroupName, cloudServiceName, + roleInstanceName, context), + nextLink -> listCloudServiceRoleInstanceNetworkInterfacesNextSinglePageAsync(nextLink, context)); } /** - * Gets all network interfaces in a cloud service. + * Gets information about all network interfaces in a role instance in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The name of role instance. * @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 all network interfaces in a cloud service as paginated response with {@link PagedIterable}. + * @return information about all network interfaces in a role instance in a cloud service as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServiceNetworkInterfaces(String resourceGroupName, - String cloudServiceName) { - return new PagedIterable<>(listCloudServiceNetworkInterfacesAsync(resourceGroupName, cloudServiceName)); + public PagedIterable listCloudServiceRoleInstanceNetworkInterfaces(String resourceGroupName, + String cloudServiceName, String roleInstanceName) { + return new PagedIterable<>( + listCloudServiceRoleInstanceNetworkInterfacesAsync(resourceGroupName, cloudServiceName, roleInstanceName)); } /** - * Gets all network interfaces in a cloud service. + * Gets information about all network interfaces in a role instance in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The name of role instance. * @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 all network interfaces in a cloud service as paginated response with {@link PagedIterable}. + * @return information about all network interfaces in a role instance in a cloud service as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServiceNetworkInterfaces(String resourceGroupName, - String cloudServiceName, Context context) { - return new PagedIterable<>( - listCloudServiceNetworkInterfacesAsync(resourceGroupName, cloudServiceName, context)); + public PagedIterable listCloudServiceRoleInstanceNetworkInterfaces(String resourceGroupName, + String cloudServiceName, String roleInstanceName, Context context) { + return new PagedIterable<>(listCloudServiceRoleInstanceNetworkInterfacesAsync(resourceGroupName, + cloudServiceName, roleInstanceName, context)); } /** - * Get the specified network interface in a cloud service. + * Get the specified network interface in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. * @param expand Expands referenced resources. * @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 network interface in a cloud service along with {@link Response} on successful completion - * of {@link Mono}. + * @return the specified network interface in a virtual machine scale set along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getCloudServiceNetworkInterfaceWithResponseAsync( - String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, - String expand) { + public Mono> getVirtualMachineScaleSetNetworkInterfaceWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (cloudServiceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); } - if (roleInstanceName == null) { + if (virtualmachineIndex == null) { return Mono - .error(new IllegalArgumentException("Parameter roleInstanceName is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); } if (networkInterfaceName == null) { return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; + final String apiVersion = "2018-10-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getCloudServiceNetworkInterface(this.client.getEndpoint(), - resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getVirtualMachineScaleSetNetworkInterface(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Get the specified network interface in a cloud service. + * Get the specified network interface in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. * @param expand Expands referenced resources. * @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 network interface in a cloud service along with {@link Response} on successful completion - * of {@link Mono}. + * @return the specified network interface in a virtual machine scale set along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getCloudServiceNetworkInterfaceWithResponseAsync( - String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, - String expand, Context context) { + private Mono> getVirtualMachineScaleSetNetworkInterfaceWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (cloudServiceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); } - if (roleInstanceName == null) { + if (virtualmachineIndex == null) { return Mono - .error(new IllegalArgumentException("Parameter roleInstanceName is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); } if (networkInterfaceName == null) { return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; + final String apiVersion = "2018-10-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getCloudServiceNetworkInterface(this.client.getEndpoint(), resourceGroupName, cloudServiceName, - roleInstanceName, networkInterfaceName, apiVersion, this.client.getSubscriptionId(), expand, accept, - context); + return service.getVirtualMachineScaleSetNetworkInterface(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, expand, accept, context); } /** - * Get the specified network interface in a cloud service. + * Get the specified network interface in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. * @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 network interface in a cloud service on successful completion of {@link Mono}. + * @return the specified network interface in a virtual machine scale set on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getCloudServiceNetworkInterfaceAsync(String resourceGroupName, - String cloudServiceName, String roleInstanceName, String networkInterfaceName) { + public Mono getVirtualMachineScaleSetNetworkInterfaceAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName) { final String expand = null; - return getCloudServiceNetworkInterfaceWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, - networkInterfaceName, expand).flatMap(res -> Mono.justOrEmpty(res.getValue())); + return getVirtualMachineScaleSetNetworkInterfaceWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, expand).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get the specified network interface in a cloud service. + * Get the specified network interface in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. * @param expand Expands referenced resources. * @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 network interface in a cloud service along with {@link Response}. + * @return the specified network interface in a virtual machine scale set along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCloudServiceNetworkInterfaceWithResponse(String resourceGroupName, - String cloudServiceName, String roleInstanceName, String networkInterfaceName, String expand, Context context) { - return getCloudServiceNetworkInterfaceWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, - networkInterfaceName, expand, context).block(); + public Response getVirtualMachineScaleSetNetworkInterfaceWithResponse( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand, Context context) { + return getVirtualMachineScaleSetNetworkInterfaceWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, expand, context).block(); } /** - * Get the specified network interface in a cloud service. + * Get the specified network interface in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. * @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 network interface in a cloud service. + * @return the specified network interface in a virtual machine scale set. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkInterfaceInner getCloudServiceNetworkInterface(String resourceGroupName, String cloudServiceName, - String roleInstanceName, String networkInterfaceName) { + public NetworkInterfaceInner getVirtualMachineScaleSetNetworkInterface(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName) { final String expand = null; - return getCloudServiceNetworkInterfaceWithResponse(resourceGroupName, cloudServiceName, roleInstanceName, - networkInterfaceName, expand, Context.NONE).getValue(); + return getVirtualMachineScaleSetNetworkInterfaceWithResponse(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, expand, Context.NONE).getValue(); } /** - * Deletes the specified network interface. + * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. * @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}. + * @return information about all network interfaces in a virtual machine in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkInterfaceName) { + private Mono> listVirtualMachineScaleSetVMNetworkInterfacesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; + final String apiVersion = "2018-10-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listVirtualMachineScaleSetVMNetworkInterfaces(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, 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())); } /** - * Deletes the specified network interface. + * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. * @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 Response} on successful completion of {@link Mono}. + * @return information about all network interfaces in a virtual machine in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkInterfaceName, Context context) { + private Mono> listVirtualMachineScaleSetVMNetworkInterfacesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; + final String apiVersion = "2018-10-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service + .listVirtualMachineScaleSetVMNetworkInterfaces(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Deletes the specified network interface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkInterfaceName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified network interface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkInterfaceName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified network interface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @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 networkInterfaceName) { - return this.beginDeleteAsync(resourceGroupName, networkInterfaceName).getSyncPoller(); - } - - /** - * Deletes the specified network interface. - * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. - * @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 networkInterfaceName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, networkInterfaceName, context).getSyncPoller(); - } - - /** - * Deletes the specified network interface. + * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. * @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. + * @return information about all network interfaces in a virtual machine in a virtual machine scale set as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String networkInterfaceName) { - return beginDeleteAsync(resourceGroupName, networkInterfaceName).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listVirtualMachineScaleSetVMNetworkInterfacesAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetVMNetworkInterfacesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex), + nextLink -> listVirtualMachineScaleSetVMNetworkInterfacesNextSinglePageAsync(nextLink)); } /** - * Deletes the specified network interface. + * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. * @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 A {@link Mono} that completes when a successful response is received. + * @return information about all network interfaces in a virtual machine in a virtual machine scale set as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String networkInterfaceName, Context context) { - return beginDeleteAsync(resourceGroupName, networkInterfaceName, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listVirtualMachineScaleSetVMNetworkInterfacesAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, Context context) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetVMNetworkInterfacesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, context), + nextLink -> listVirtualMachineScaleSetVMNetworkInterfacesNextSinglePageAsync(nextLink, context)); } /** - * Deletes the specified network interface. + * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String networkInterfaceName) { - deleteAsync(resourceGroupName, networkInterfaceName).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetVMNetworkInterfaces(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex) { + return new PagedIterable<>(listVirtualMachineScaleSetVMNetworkInterfacesAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex)); } /** - * Deletes the specified network interface. + * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String networkInterfaceName, Context context) { - deleteAsync(resourceGroupName, networkInterfaceName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetVMNetworkInterfaces(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, Context context) { + return new PagedIterable<>(listVirtualMachineScaleSetVMNetworkInterfacesAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, context)); } /** * Gets information about the specified network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1018,6 +970,10 @@ public Mono> getByResourceGroupWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1026,22 +982,18 @@ public Mono> getByResourceGroupWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - networkInterfaceName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkInterfaceName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets information about the specified network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -1058,6 +1010,10 @@ private Mono> getByResourceGroupWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1066,21 +1022,17 @@ private Mono> getByResourceGroupWithResponseAsyn return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, - apiVersion, this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, expand, accept, context); } /** * Gets information about the specified network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1097,7 +1049,7 @@ public Mono getByResourceGroupAsync(String resourceGroupN /** * Gets information about the specified network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -1115,7 +1067,7 @@ public Response getByResourceGroupWithResponse(String res /** * Gets information about the specified network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1131,7 +1083,7 @@ public NetworkInterfaceInner getByResourceGroup(String resourceGroupName, String /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1147,6 +1099,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1155,27 +1111,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - networkInterfaceName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkInterfaceName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @param context The context to associate with this operation. @@ -1192,6 +1146,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1200,26 +1158,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, contentType, accept, parameters, context); } /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1240,7 +1195,7 @@ public PollerFlux, NetworkInterfaceInner> begi /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @param context The context to associate with this operation. @@ -1262,7 +1217,7 @@ private PollerFlux, NetworkInterfaceInner> beg /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1279,7 +1234,7 @@ private PollerFlux, NetworkInterfaceInner> beg /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @param context The context to associate with this operation. @@ -1298,7 +1253,7 @@ public SyncPoller, NetworkInterfaceInner> begi /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1316,7 +1271,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @param context The context to associate with this operation. @@ -1335,7 +1290,7 @@ private Mono createOrUpdateAsync(String resourceGroupName /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1352,7 +1307,7 @@ public NetworkInterfaceInner createOrUpdate(String resourceGroupName, String net /** * Creates or updates a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to the create or update network interface operation. * @param context The context to associate with this operation. @@ -1370,7 +1325,7 @@ public NetworkInterfaceInner createOrUpdate(String resourceGroupName, String net /** * Updates a network interface tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to update network interface tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1386,6 +1341,10 @@ public Mono> updateTagsWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1394,27 +1353,25 @@ public Mono> updateTagsWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - networkInterfaceName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates a network interface tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to update network interface tags. * @param context The context to associate with this operation. @@ -1431,6 +1388,10 @@ private Mono> updateTagsWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1439,26 +1400,23 @@ private Mono> updateTagsWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, contentType, accept, parameters, context); } /** * Updates a network interface tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to update network interface tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1476,7 +1434,7 @@ public Mono updateTagsAsync(String resourceGroupName, Str /** * Updates a network interface tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to update network interface tags. * @param context The context to associate with this operation. @@ -1494,7 +1452,7 @@ public Response updateTagsWithResponse(String resourceGro /** * Updates a network interface tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param parameters Parameters supplied to update network interface tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1509,15 +1467,18 @@ public NetworkInterfaceInner updateTags(String resourceGroupName, String network } /** - * Gets all network interfaces in a subscription. + * Deletes the specified network interface. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 all network interfaces in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkInterfaceName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1526,28 +1487,35 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkInterfaceName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all network interfaces in a subscription. + * Deletes the specified network interface. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. * @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 all network interfaces in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkInterfaceName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1556,71 +1524,156 @@ private Mono> listSinglePageAsync(Context c return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkInterfaceName, context); } /** - * Gets all network interfaces in a subscription. + * Deletes the specified network interface. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 all network interfaces in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkInterfaceName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Gets all network interfaces in a subscription. + * Deletes the specified network interface. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. * @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 all network interfaces in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkInterfaceName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkInterfaceName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Gets all network interfaces in a subscription. + * Deletes the specified network interface. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 all network interfaces in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String networkInterfaceName) { + return this.beginDeleteAsync(resourceGroupName, networkInterfaceName).getSyncPoller(); } /** - * Gets all network interfaces in a subscription. + * Deletes the specified network interface. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. * @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 all network interfaces in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String networkInterfaceName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, networkInterfaceName, context).getSyncPoller(); + } + + /** + * Deletes the specified network interface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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) + public Mono deleteAsync(String resourceGroupName, String networkInterfaceName) { + return beginDeleteAsync(resourceGroupName, networkInterfaceName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified network interface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String networkInterfaceName, Context context) { + return beginDeleteAsync(resourceGroupName, networkInterfaceName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified network interface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 networkInterfaceName) { + deleteAsync(resourceGroupName, networkInterfaceName).block(); + } + + /** + * Deletes the specified network interface. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkInterfaceName The name of the network interface. + * @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 networkInterfaceName, Context context) { + deleteAsync(resourceGroupName, networkInterfaceName, context).block(); } /** * Gets all network interfaces in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1633,19 +1686,19 @@ private Mono> listByResourceGroupSinglePage return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -1654,7 +1707,7 @@ private Mono> listByResourceGroupSinglePage /** * Gets all network interfaces in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1669,20 +1722,20 @@ private Mono> listByResourceGroupSinglePage return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1690,7 +1743,7 @@ private Mono> listByResourceGroupSinglePage /** * Gets all network interfaces in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1705,7 +1758,7 @@ public PagedFlux listByResourceGroupAsync(String resource /** * Gets all network interfaces in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1721,7 +1774,7 @@ private PagedFlux listByResourceGroupAsync(String resourc /** * Gets all network interfaces in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1735,7 +1788,7 @@ public PagedIterable listByResourceGroup(String resourceG /** * Gets all network interfaces in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1747,10 +1800,119 @@ public PagedIterable listByResourceGroup(String resourceG return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } + /** + * Gets all network interfaces in a 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 all network interfaces in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); + } + + /** + * Gets all network interfaces in a 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 all network interfaces in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets all network interfaces in a 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 all network interfaces in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + } + + /** + * Gets all network interfaces in a 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 all network interfaces in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets all network interfaces in a 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 all network interfaces in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Gets all network interfaces in a 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 all network interfaces in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); + } + /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1765,6 +1927,10 @@ public Mono>> getEffectiveRouteTableWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1773,22 +1939,18 @@ public Mono>> getEffectiveRouteTableWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getEffectiveRouteTable(this.client.getEndpoint(), resourceGroupName, - networkInterfaceName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getEffectiveRouteTable(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkInterfaceName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1804,6 +1966,10 @@ private Mono>> getEffectiveRouteTableWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1812,21 +1978,17 @@ private Mono>> getEffectiveRouteTableWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getEffectiveRouteTable(this.client.getEndpoint(), resourceGroupName, networkInterfaceName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getEffectiveRouteTable(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkInterfaceName, accept, context); } /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1846,7 +2008,7 @@ private Mono>> getEffectiveRouteTableWithResponseAsync /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1868,7 +2030,7 @@ private Mono>> getEffectiveRouteTableWithResponseAsync /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1884,7 +2046,7 @@ private Mono>> getEffectiveRouteTableWithResponseAsync /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1901,7 +2063,7 @@ private Mono>> getEffectiveRouteTableWithResponseAsync /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1918,7 +2080,7 @@ public Mono getEffectiveRouteTableAsync(String re /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1936,7 +2098,7 @@ private Mono getEffectiveRouteTableAsync(String r /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1951,7 +2113,7 @@ public EffectiveRouteListResultInner getEffectiveRouteTable(String resourceGroup /** * Gets all route tables applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1968,7 +2130,7 @@ public EffectiveRouteListResultInner getEffectiveRouteTable(String resourceGroup /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1983,6 +2145,10 @@ public EffectiveRouteListResultInner getEffectiveRouteTable(String resourceGroup return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1991,22 +2157,18 @@ public EffectiveRouteListResultInner getEffectiveRouteTable(String resourceGroup return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listEffectiveNetworkSecurityGroups(this.client.getEndpoint(), - resourceGroupName, networkInterfaceName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listEffectiveNetworkSecurityGroups(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkInterfaceName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2022,6 +2184,10 @@ private Mono>> listEffectiveNetworkSecurityGroupsWithR return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2030,21 +2196,17 @@ private Mono>> listEffectiveNetworkSecurityGroupsWithR return Mono .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listEffectiveNetworkSecurityGroups(this.client.getEndpoint(), resourceGroupName, - networkInterfaceName, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.listEffectiveNetworkSecurityGroups(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkInterfaceName, accept, context); } /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2066,7 +2228,7 @@ private Mono>> listEffectiveNetworkSecurityGroupsWithR /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2091,7 +2253,7 @@ private Mono>> listEffectiveNetworkSecurityGroupsWithR /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2109,7 +2271,7 @@ private Mono>> listEffectiveNetworkSecurityGroupsWithR /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2129,7 +2291,7 @@ private Mono>> listEffectiveNetworkSecurityGroupsWithR /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2146,7 +2308,7 @@ private Mono>> listEffectiveNetworkSecurityGroupsWithR /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2164,7 +2326,7 @@ private Mono listEffectiveNetworkS /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2180,7 +2342,7 @@ public EffectiveNetworkSecurityGroupListResultInner listEffectiveNetworkSecurity /** * Gets all network security groups applied to a network interface. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkInterfaceName The name of the network interface. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2195,750 +2357,179 @@ public EffectiveNetworkSecurityGroupListResultInner listEffectiveNetworkSecurity } /** - * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. + * Gets all network interfaces in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 information about all network interfaces in a virtual machine in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return all network interfaces in a cloud service along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetVMNetworkInterfacesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex) { + private Mono> + listCloudServiceNetworkInterfacesSinglePageAsync(String resourceGroupName, String cloudServiceName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { + if (cloudServiceName == null) { return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetVMNetworkInterfaces(this.client.getEndpoint(), - resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, apiVersion, - 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())); - } - - /** - * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @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 information about all network interfaces in a virtual machine in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetVMNetworkInterfacesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetVMNetworkInterfaces(this.client.getEndpoint(), resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, apiVersion, this.client.getSubscriptionId(), accept, - context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated - * response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetVMNetworkInterfacesAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetVMNetworkInterfacesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex), - nextLink -> listVirtualMachineScaleSetVMNetworkInterfacesNextSinglePageAsync(nextLink)); - } - - /** - * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated - * response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listVirtualMachineScaleSetVMNetworkInterfacesAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, Context context) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetVMNetworkInterfacesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, context), - nextLink -> listVirtualMachineScaleSetVMNetworkInterfacesNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated - * response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetVMNetworkInterfaces(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex) { - return new PagedIterable<>(listVirtualMachineScaleSetVMNetworkInterfacesAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex)); - } - - /** - * Gets information about all network interfaces in a virtual machine in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @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 information about all network interfaces in a virtual machine in a virtual machine scale set as paginated - * response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetVMNetworkInterfaces(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, Context context) { - return new PagedIterable<>(listVirtualMachineScaleSetVMNetworkInterfacesAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, context)); - } - - /** - * Gets all network interfaces in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 all network interfaces in a virtual machine scale set along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetNetworkInterfacesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; + final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetNetworkInterfaces(this.client.getEndpoint(), - resourceGroupName, virtualMachineScaleSetName, apiVersion, this.client.getSubscriptionId(), accept, - context)) + .withContext(context -> service.listCloudServiceNetworkInterfaces(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, 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())); } /** - * Gets all network interfaces in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 all network interfaces in a virtual machine scale set along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetNetworkInterfacesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetNetworkInterfaces(this.client.getEndpoint(), resourceGroupName, - virtualMachineScaleSetName, apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets all network interfaces in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 all network interfaces in a virtual machine scale set as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetNetworkInterfacesAsync(String resourceGroupName, - String virtualMachineScaleSetName) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetNetworkInterfacesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName), - nextLink -> listVirtualMachineScaleSetNetworkInterfacesNextSinglePageAsync(nextLink)); - } - - /** - * Gets all network interfaces in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 all network interfaces in a virtual machine scale set as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listVirtualMachineScaleSetNetworkInterfacesAsync(String resourceGroupName, - String virtualMachineScaleSetName, Context context) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetNetworkInterfacesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, context), - nextLink -> listVirtualMachineScaleSetNetworkInterfacesNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets all network interfaces in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 all network interfaces in a virtual machine scale set as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetNetworkInterfaces(String resourceGroupName, - String virtualMachineScaleSetName) { - return new PagedIterable<>( - listVirtualMachineScaleSetNetworkInterfacesAsync(resourceGroupName, virtualMachineScaleSetName)); - } - - /** - * Gets all network interfaces in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 all network interfaces in a virtual machine scale set as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetNetworkInterfaces(String resourceGroupName, - String virtualMachineScaleSetName, Context context) { - return new PagedIterable<>( - listVirtualMachineScaleSetNetworkInterfacesAsync(resourceGroupName, virtualMachineScaleSetName, context)); - } - - /** - * Get the specified network interface in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. - * @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 network interface in a virtual machine scale set along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getVirtualMachineScaleSetNetworkInterfaceWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getVirtualMachineScaleSetNetworkInterface(this.client.getEndpoint(), - resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Get the specified network interface in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. - * @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 network interface in a virtual machine scale set along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getVirtualMachineScaleSetNetworkInterfaceWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getVirtualMachineScaleSetNetworkInterface(this.client.getEndpoint(), resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); - } - - /** - * Get the specified network interface in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @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 network interface in a virtual machine scale set on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getVirtualMachineScaleSetNetworkInterfaceAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName) { - final String expand = null; - return getVirtualMachineScaleSetNetworkInterfaceWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, expand).flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Get the specified network interface in a virtual machine scale set. + * Gets all network interfaces in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 network interface in a virtual machine scale set along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getVirtualMachineScaleSetNetworkInterfaceWithResponse( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand, Context context) { - return getVirtualMachineScaleSetNetworkInterfaceWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, expand, context).block(); - } - - /** - * Get the specified network interface in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @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 network interface in a virtual machine scale set. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkInterfaceInner getVirtualMachineScaleSetNetworkInterface(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName) { - final String expand = null; - return getVirtualMachineScaleSetNetworkInterfaceWithResponse(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, expand, Context.NONE).getValue(); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return all network interfaces in a cloud service along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand) { + private Mono> listCloudServiceNetworkInterfacesSinglePageAsync( + String resourceGroupName, String cloudServiceName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetIpConfigurations(this.client.getEndpoint(), - resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), expand, 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 specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { + if (cloudServiceName == null) { return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); } - final String apiVersion = "2018-10-01"; + final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listVirtualMachineScaleSetIpConfigurations(this.client.getEndpoint(), resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context) + .listCloudServiceNetworkInterfaces(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, cloudServiceName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand), - nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink)); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. + * Gets all network interfaces in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedFlux}. + * @return all network interfaces in a cloud service as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName) { - final String expand = null; + public PagedFlux listCloudServiceNetworkInterfacesAsync(String resourceGroupName, + String cloudServiceName) { return new PagedFlux<>( - () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand), - nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink)); + () -> listCloudServiceNetworkInterfacesSinglePageAsync(resourceGroupName, cloudServiceName), + nextLink -> listCloudServiceNetworkInterfacesNextSinglePageAsync(nextLink)); } /** - * Get the specified network interface ip configuration in a virtual machine scale set. + * Gets all network interfaces in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedFlux}. + * @return all network interfaces in a cloud service as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand, Context context) { + private PagedFlux listCloudServiceNetworkInterfacesAsync(String resourceGroupName, + String cloudServiceName, Context context) { return new PagedFlux<>( - () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand, context), - nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink, context)); + () -> listCloudServiceNetworkInterfacesSinglePageAsync(resourceGroupName, cloudServiceName, context), + nextLink -> listCloudServiceNetworkInterfacesNextSinglePageAsync(nextLink, context)); } /** - * Get the specified network interface ip configuration in a virtual machine scale set. + * Gets all network interfaces in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedIterable}. + * @return all network interfaces in a cloud service as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetIpConfigurations( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName) { - final String expand = null; - return new PagedIterable<>(listVirtualMachineScaleSetIpConfigurationsAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand)); + public PagedIterable listCloudServiceNetworkInterfaces(String resourceGroupName, + String cloudServiceName) { + return new PagedIterable<>(listCloudServiceNetworkInterfacesAsync(resourceGroupName, cloudServiceName)); } /** - * Get the specified network interface ip configuration in a virtual machine scale set. + * Gets all network interfaces in a cloud service. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param expand Expands referenced resources. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedIterable}. + * @return all network interfaces in a cloud service as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetIpConfigurations( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand, Context context) { - return new PagedIterable<>(listVirtualMachineScaleSetIpConfigurationsAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand, context)); + public PagedIterable listCloudServiceNetworkInterfaces(String resourceGroupName, + String cloudServiceName, Context context) { + return new PagedIterable<>( + listCloudServiceNetworkInterfacesAsync(resourceGroupName, cloudServiceName, context)); } /** - * Get the specified network interface ip configuration in a virtual machine scale set. + * Gets all network interfaces in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration. - * @param expand Expands referenced resources. * @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 network interface ip configuration in a virtual machine scale set along with - * {@link Response} on successful completion of {@link Mono}. + * @return all network interfaces in a virtual machine scale set along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - getVirtualMachineScaleSetIpConfigurationWithResponseAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String expand) { + private Mono> listVirtualMachineScaleSetNetworkInterfacesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2947,56 +2538,40 @@ public PagedIterable listVirtualMachineSca return Mono.error( new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2018-10-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getVirtualMachineScaleSetIpConfiguration(this.client.getEndpoint(), - resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, - ipConfigurationName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext( + context -> service.listVirtualMachineScaleSetNetworkInterfaces(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, 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 specified network interface ip configuration in a virtual machine scale set. + * Gets all network interfaces in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration. - * @param expand Expands referenced resources. * @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 network interface ip configuration in a virtual machine scale set along with - * {@link Response} on successful completion of {@link Mono}. + * @return all network interfaces in a virtual machine scale set along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - getVirtualMachineScaleSetIpConfigurationWithResponseAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String expand, Context context) { + private Mono> listVirtualMachineScaleSetNetworkInterfacesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3005,98 +2580,88 @@ public PagedIterable listVirtualMachineSca return Mono.error( new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2018-10-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getVirtualMachineScaleSetIpConfiguration(this.client.getEndpoint(), resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service + .listVirtualMachineScaleSetNetworkInterfaces(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Get the specified network interface ip configuration in a virtual machine scale set. + * Gets all network interfaces in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration. * @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 network interface ip configuration in a virtual machine scale set on successful completion - * of {@link Mono}. + * @return all network interfaces in a virtual machine scale set as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getVirtualMachineScaleSetIpConfigurationAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName) { - final String expand = null; - return getVirtualMachineScaleSetIpConfigurationWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listVirtualMachineScaleSetNetworkInterfacesAsync(String resourceGroupName, + String virtualMachineScaleSetName) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetNetworkInterfacesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName), + nextLink -> listVirtualMachineScaleSetNetworkInterfacesNextSinglePageAsync(nextLink)); } /** - * Get the specified network interface ip configuration in a virtual machine scale set. + * Gets all network interfaces in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration. - * @param expand Expands referenced resources. * @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 network interface ip configuration in a virtual machine scale set along with - * {@link Response}. + * @return all network interfaces in a virtual machine scale set as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getVirtualMachineScaleSetIpConfigurationWithResponse( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String expand, Context context) { - return getVirtualMachineScaleSetIpConfigurationWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listVirtualMachineScaleSetNetworkInterfacesAsync(String resourceGroupName, + String virtualMachineScaleSetName, Context context) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetNetworkInterfacesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, context), + nextLink -> listVirtualMachineScaleSetNetworkInterfacesNextSinglePageAsync(nextLink, context)); } /** - * Get the specified network interface ip configuration in a virtual machine scale set. + * Gets all network interfaces in a virtual machine scale set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the ip configuration. * @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 network interface ip configuration in a virtual machine scale set. + * @return all network interfaces in a virtual machine scale set as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfiguration(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName) { - final String expand = null; - return getVirtualMachineScaleSetIpConfigurationWithResponse(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetNetworkInterfaces(String resourceGroupName, + String virtualMachineScaleSetName) { + return new PagedIterable<>( + listVirtualMachineScaleSetNetworkInterfacesAsync(resourceGroupName, virtualMachineScaleSetName)); + } + + /** + * Gets all network interfaces in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 all network interfaces in a virtual machine scale set as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetNetworkInterfaces(String resourceGroupName, + String virtualMachineScaleSetName, Context context) { + return new PagedIterable<>( + listVirtualMachineScaleSetNetworkInterfacesAsync(resourceGroupName, virtualMachineScaleSetName, context)); } /** @@ -3164,12 +2729,12 @@ public NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfigura * @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 all network interfaces in a cloud service along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return information about all network interfaces in a virtual machine in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listCloudServiceNetworkInterfacesNextSinglePageAsync(String nextLink) { + listVirtualMachineScaleSetVMNetworkInterfacesNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3179,8 +2744,8 @@ public NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfigura } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listCloudServiceNetworkInterfacesNext(nextLink, this.client.getEndpoint(), - accept, context)) + .withContext(context -> service.listVirtualMachineScaleSetVMNetworkInterfacesNext(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())); @@ -3194,12 +2759,12 @@ public NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfigura * @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 all network interfaces in a cloud service along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return information about all network interfaces in a virtual machine in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listCloudServiceNetworkInterfacesNextSinglePageAsync(String nextLink, Context context) { + listVirtualMachineScaleSetVMNetworkInterfacesNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3209,7 +2774,8 @@ public NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfigura } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listCloudServiceNetworkInterfacesNext(nextLink, this.client.getEndpoint(), accept, context) + return service + .listVirtualMachineScaleSetVMNetworkInterfacesNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -3221,11 +2787,11 @@ public NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfigura * @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 all network interfaces in a subscription along with {@link PagedResponse} on successful completion of + * @return all network interfaces in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3234,8 +2800,7 @@ private Mono> listAllNextSinglePageAsync(St new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -3249,11 +2814,11 @@ private Mono> listAllNextSinglePageAsync(St * @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 all network interfaces in a subscription along with {@link PagedResponse} on successful completion of + * @return all network interfaces in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3263,7 +2828,7 @@ private Mono> listAllNextSinglePageAsync(St } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -3275,11 +2840,11 @@ private Mono> listAllNextSinglePageAsync(St * @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 all network interfaces in a resource group along with {@link PagedResponse} on successful completion of + * @return all network interfaces in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3288,7 +2853,8 @@ private Mono> listNextSinglePageAsync(Strin new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -3302,11 +2868,11 @@ private Mono> listNextSinglePageAsync(Strin * @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 all network interfaces in a resource group along with {@link PagedResponse} on successful completion of + * @return all network interfaces in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3316,7 +2882,7 @@ private Mono> listNextSinglePageAsync(Strin } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -3328,12 +2894,12 @@ private Mono> listNextSinglePageAsync(Strin * @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 information about all network interfaces in a virtual machine in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return all network interfaces in a cloud service along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listVirtualMachineScaleSetVMNetworkInterfacesNextSinglePageAsync(String nextLink) { + listCloudServiceNetworkInterfacesNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3343,8 +2909,8 @@ private Mono> listNextSinglePageAsync(Strin } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetVMNetworkInterfacesNext(nextLink, - this.client.getEndpoint(), accept, context)) + .withContext(context -> service.listCloudServiceNetworkInterfacesNext(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())); @@ -3358,12 +2924,12 @@ private Mono> listNextSinglePageAsync(Strin * @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 information about all network interfaces in a virtual machine in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return all network interfaces in a cloud service along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listVirtualMachineScaleSetVMNetworkInterfacesNextSinglePageAsync(String nextLink, Context context) { + listCloudServiceNetworkInterfacesNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3373,8 +2939,7 @@ private Mono> listNextSinglePageAsync(Strin } final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetVMNetworkInterfacesNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listCloudServiceNetworkInterfacesNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -3436,62 +3001,4 @@ private Mono> listNextSinglePageAsync(Strin .map(res -> 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 specified network interface ip configuration in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetIpConfigurationsNext(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. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(String nextLink, Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetIpConfigurationsNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java index 3133d2a81565..0fc6285456b4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -20,36 +20,34 @@ @ServiceClientBuilder(serviceClients = { NetworkManagementClientImpl.class }) public final class NetworkManagementClientBuilder { /* - * The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms - * part of the URI for every service call. + * Service host */ - private String subscriptionId; + private String endpoint; /** - * Sets The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID - * forms part of the URI for every service call. + * Sets Service host. * - * @param subscriptionId the subscriptionId value. + * @param endpoint the endpoint value. * @return the NetworkManagementClientBuilder. */ - public NetworkManagementClientBuilder subscriptionId(String subscriptionId) { - this.subscriptionId = subscriptionId; + public NetworkManagementClientBuilder endpoint(String endpoint) { + this.endpoint = endpoint; return this; } /* - * server parameter + * The ID of the target subscription. The value must be an UUID. */ - private String endpoint; + private String subscriptionId; /** - * Sets server parameter. + * Sets The ID of the target subscription. The value must be an UUID. * - * @param endpoint the endpoint value. + * @param subscriptionId the subscriptionId value. * @return the NetworkManagementClientBuilder. */ - public NetworkManagementClientBuilder endpoint(String endpoint) { - this.endpoint = endpoint; + public NetworkManagementClientBuilder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; return this; } @@ -134,7 +132,7 @@ public NetworkManagementClientImpl buildClient() { ? serializerAdapter : SerializerFactory.createDefaultManagementSerializerAdapter(); NetworkManagementClientImpl client = new NetworkManagementClientImpl(localPipeline, localSerializerAdapter, - localDefaultPollInterval, localEnvironment, this.subscriptionId, localEndpoint); + localDefaultPollInterval, localEnvironment, localEndpoint, this.subscriptionId); return client; } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java index 0e1264f651a5..12552388666b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java @@ -1,38 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; -import com.azure.core.annotation.BodyParam; -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.PathParam; -import com.azure.core.annotation.Post; -import com.azure.core.annotation.QueryParam; -import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; -import com.azure.core.annotation.ServiceInterface; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.annotation.UnexpectedResponseExceptionType; import com.azure.core.http.HttpPipeline; -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.AzureEnvironment; -import com.azure.core.management.exception.ManagementException; -import com.azure.core.management.polling.PollResult; -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.core.util.serializer.SerializerAdapter; import com.azure.resourcemanager.network.fluent.AdminRuleCollectionsClient; import com.azure.resourcemanager.network.fluent.AdminRulesClient; @@ -51,14 +25,16 @@ import com.azure.resourcemanager.network.fluent.AzureFirewallsClient; import com.azure.resourcemanager.network.fluent.BastionHostsClient; import com.azure.resourcemanager.network.fluent.BgpServiceCommunitiesClient; +import com.azure.resourcemanager.network.fluent.CheckDnsNameAvailabilitiesClient; import com.azure.resourcemanager.network.fluent.ConfigurationPolicyGroupsClient; import com.azure.resourcemanager.network.fluent.ConnectionMonitorsClient; import com.azure.resourcemanager.network.fluent.ConnectivityConfigurationsClient; -import com.azure.resourcemanager.network.fluent.CustomIpPrefixesClient; +import com.azure.resourcemanager.network.fluent.CustomIPPrefixesClient; import com.azure.resourcemanager.network.fluent.DdosCustomPoliciesClient; import com.azure.resourcemanager.network.fluent.DdosProtectionPlansClient; import com.azure.resourcemanager.network.fluent.DefaultSecurityRulesClient; import com.azure.resourcemanager.network.fluent.DscpConfigurationsClient; +import com.azure.resourcemanager.network.fluent.EffectiveConfigurationsClient; import com.azure.resourcemanager.network.fluent.ExpressRouteCircuitAuthorizationsClient; import com.azure.resourcemanager.network.fluent.ExpressRouteCircuitConnectionsClient; import com.azure.resourcemanager.network.fluent.ExpressRouteCircuitPeeringsClient; @@ -71,6 +47,7 @@ import com.azure.resourcemanager.network.fluent.ExpressRoutePortAuthorizationsClient; import com.azure.resourcemanager.network.fluent.ExpressRoutePortsClient; import com.azure.resourcemanager.network.fluent.ExpressRoutePortsLocationsClient; +import com.azure.resourcemanager.network.fluent.ExpressRouteProviderPortsClient; import com.azure.resourcemanager.network.fluent.ExpressRouteProviderPortsLocationsClient; import com.azure.resourcemanager.network.fluent.ExpressRouteServiceProvidersClient; import com.azure.resourcemanager.network.fluent.FirewallPoliciesClient; @@ -90,7 +67,7 @@ import com.azure.resourcemanager.network.fluent.IpGroupsClient; import com.azure.resourcemanager.network.fluent.IpamPoolsClient; import com.azure.resourcemanager.network.fluent.LoadBalancerBackendAddressPoolsClient; -import com.azure.resourcemanager.network.fluent.LoadBalancerFrontendIpConfigurationsClient; +import com.azure.resourcemanager.network.fluent.LoadBalancerFrontendIPConfigurationsClient; import com.azure.resourcemanager.network.fluent.LoadBalancerLoadBalancingRulesClient; import com.azure.resourcemanager.network.fluent.LoadBalancerNetworkInterfacesClient; import com.azure.resourcemanager.network.fluent.LoadBalancerOutboundRulesClient; @@ -101,7 +78,7 @@ import com.azure.resourcemanager.network.fluent.NatGatewaysClient; import com.azure.resourcemanager.network.fluent.NatRulesClient; import com.azure.resourcemanager.network.fluent.NetworkGroupsClient; -import com.azure.resourcemanager.network.fluent.NetworkInterfaceIpConfigurationsClient; +import com.azure.resourcemanager.network.fluent.NetworkInterfaceIPConfigurationsClient; import com.azure.resourcemanager.network.fluent.NetworkInterfaceLoadBalancersClient; import com.azure.resourcemanager.network.fluent.NetworkInterfaceTapConfigurationsClient; import com.azure.resourcemanager.network.fluent.NetworkInterfacesClient; @@ -127,11 +104,13 @@ import com.azure.resourcemanager.network.fluent.NetworkWatchersClient; import com.azure.resourcemanager.network.fluent.OperationsClient; import com.azure.resourcemanager.network.fluent.P2SVpnGatewaysClient; +import com.azure.resourcemanager.network.fluent.P2sVpnGatewaysOperationsClient; import com.azure.resourcemanager.network.fluent.PacketCapturesClient; import com.azure.resourcemanager.network.fluent.PeerExpressRouteCircuitConnectionsClient; import com.azure.resourcemanager.network.fluent.PrivateDnsZoneGroupsClient; import com.azure.resourcemanager.network.fluent.PrivateEndpointsClient; import com.azure.resourcemanager.network.fluent.PrivateLinkServicesClient; +import com.azure.resourcemanager.network.fluent.PublicIPAddressesOperationsClient; import com.azure.resourcemanager.network.fluent.PublicIpAddressesClient; import com.azure.resourcemanager.network.fluent.PublicIpPrefixesClient; import com.azure.resourcemanager.network.fluent.ReachabilityAnalysisIntentsClient; @@ -169,7 +148,7 @@ import com.azure.resourcemanager.network.fluent.VirtualApplianceSkusClient; import com.azure.resourcemanager.network.fluent.VirtualHubBgpConnectionsClient; import com.azure.resourcemanager.network.fluent.VirtualHubIpConfigurationsClient; -import com.azure.resourcemanager.network.fluent.VirtualHubRouteTableV2SClient; +import com.azure.resourcemanager.network.fluent.VirtualHubRouteTableV2sClient; import com.azure.resourcemanager.network.fluent.VirtualHubsClient; import com.azure.resourcemanager.network.fluent.VirtualNetworkAppliancesClient; import com.azure.resourcemanager.network.fluent.VirtualNetworkGatewayConnectionsClient; @@ -192,31 +171,8 @@ import com.azure.resourcemanager.network.fluent.VpnSitesConfigurationsClient; import com.azure.resourcemanager.network.fluent.WebApplicationFirewallPoliciesClient; import com.azure.resourcemanager.network.fluent.WebCategoriesClient; -import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationsListResultInner; -import com.azure.resourcemanager.network.fluent.models.ActiveSecurityAdminRulesListResultInner; -import com.azure.resourcemanager.network.fluent.models.BastionActiveSessionInner; -import com.azure.resourcemanager.network.fluent.models.BastionSessionStateInner; -import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; -import com.azure.resourcemanager.network.fluent.models.DnsNameAvailabilityResultInner; -import com.azure.resourcemanager.network.fluent.models.ExpressRouteProviderPortInner; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveConnectivityConfigurationListResultInner; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveSecurityAdminRulesListResultInner; -import com.azure.resourcemanager.network.fluent.models.VirtualWanSecurityProvidersInner; -import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; -import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; -import com.azure.resourcemanager.network.models.BastionActiveSessionListResult; -import com.azure.resourcemanager.network.models.BastionSessionDeleteResult; -import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; -import com.azure.resourcemanager.network.models.BastionShareableLinkListResult; -import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; -import com.azure.resourcemanager.network.models.QueryRequestOptions; -import com.azure.resourcemanager.network.models.SessionIds; -import com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters; import com.azure.resourcemanager.resources.fluentcore.AzureServiceClient; -import java.nio.ByteBuffer; import java.time.Duration; -import reactor.core.publisher.Flux; -import reactor.core.publisher.Mono; /** * Initializes a new instance of the NetworkManagementClientImpl type. @@ -224,38 +180,31 @@ @ServiceClient(builder = NetworkManagementClientBuilder.class) public final class NetworkManagementClientImpl extends AzureServiceClient implements NetworkManagementClient { /** - * The proxy service used to perform REST calls. + * Service host. */ - private final NetworkManagementClientService service; - - /** - * The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms - * part of the URI for every service call. - */ - private final String subscriptionId; + private final String endpoint; /** - * Gets The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID - * forms part of the URI for every service call. + * Gets Service host. * - * @return the subscriptionId value. + * @return the endpoint value. */ - public String getSubscriptionId() { - return this.subscriptionId; + public String getEndpoint() { + return this.endpoint; } /** - * server parameter. + * The ID of the target subscription. The value must be an UUID. */ - private final String endpoint; + private final String subscriptionId; /** - * Gets server parameter. + * Gets The ID of the target subscription. The value must be an UUID. * - * @return the endpoint value. + * @return the subscriptionId value. */ - public String getEndpoint() { - return this.endpoint; + public String getSubscriptionId() { + return this.subscriptionId; } /** @@ -301,31 +250,31 @@ public Duration getDefaultPollInterval() { } /** - * The ApplicationGatewaysClient object to access its operations. + * The OperationsClient object to access its operations. */ - private final ApplicationGatewaysClient applicationGateways; + private final OperationsClient operations; /** - * Gets the ApplicationGatewaysClient object to access its operations. + * Gets the OperationsClient object to access its operations. * - * @return the ApplicationGatewaysClient object. + * @return the OperationsClient object. */ - public ApplicationGatewaysClient getApplicationGateways() { - return this.applicationGateways; + public OperationsClient getOperations() { + return this.operations; } /** - * The ApplicationGatewayPrivateLinkResourcesClient object to access its operations. + * The ApplicationGatewaysClient object to access its operations. */ - private final ApplicationGatewayPrivateLinkResourcesClient applicationGatewayPrivateLinkResources; + private final ApplicationGatewaysClient applicationGateways; /** - * Gets the ApplicationGatewayPrivateLinkResourcesClient object to access its operations. + * Gets the ApplicationGatewaysClient object to access its operations. * - * @return the ApplicationGatewayPrivateLinkResourcesClient object. + * @return the ApplicationGatewaysClient object. */ - public ApplicationGatewayPrivateLinkResourcesClient getApplicationGatewayPrivateLinkResources() { - return this.applicationGatewayPrivateLinkResources; + public ApplicationGatewaysClient getApplicationGateways() { + return this.applicationGateways; } /** @@ -342,34 +291,6 @@ public ApplicationGatewayPrivateEndpointConnectionsClient getApplicationGatewayP return this.applicationGatewayPrivateEndpointConnections; } - /** - * The ApplicationGatewayWafDynamicManifestsDefaultsClient object to access its operations. - */ - private final ApplicationGatewayWafDynamicManifestsDefaultsClient applicationGatewayWafDynamicManifestsDefaults; - - /** - * Gets the ApplicationGatewayWafDynamicManifestsDefaultsClient object to access its operations. - * - * @return the ApplicationGatewayWafDynamicManifestsDefaultsClient object. - */ - public ApplicationGatewayWafDynamicManifestsDefaultsClient getApplicationGatewayWafDynamicManifestsDefaults() { - return this.applicationGatewayWafDynamicManifestsDefaults; - } - - /** - * The ApplicationGatewayWafDynamicManifestsClient object to access its operations. - */ - private final ApplicationGatewayWafDynamicManifestsClient applicationGatewayWafDynamicManifests; - - /** - * Gets the ApplicationGatewayWafDynamicManifestsClient object to access its operations. - * - * @return the ApplicationGatewayWafDynamicManifestsClient object. - */ - public ApplicationGatewayWafDynamicManifestsClient getApplicationGatewayWafDynamicManifests() { - return this.applicationGatewayWafDynamicManifests; - } - /** * The ApplicationSecurityGroupsClient object to access its operations. */ @@ -384,48 +305,6 @@ public ApplicationSecurityGroupsClient getApplicationSecurityGroups() { return this.applicationSecurityGroups; } - /** - * The AvailableDelegationsClient object to access its operations. - */ - private final AvailableDelegationsClient availableDelegations; - - /** - * Gets the AvailableDelegationsClient object to access its operations. - * - * @return the AvailableDelegationsClient object. - */ - public AvailableDelegationsClient getAvailableDelegations() { - return this.availableDelegations; - } - - /** - * The AvailableResourceGroupDelegationsClient object to access its operations. - */ - private final AvailableResourceGroupDelegationsClient availableResourceGroupDelegations; - - /** - * Gets the AvailableResourceGroupDelegationsClient object to access its operations. - * - * @return the AvailableResourceGroupDelegationsClient object. - */ - public AvailableResourceGroupDelegationsClient getAvailableResourceGroupDelegations() { - return this.availableResourceGroupDelegations; - } - - /** - * The AvailableServiceAliasesClient object to access its operations. - */ - private final AvailableServiceAliasesClient availableServiceAliases; - - /** - * Gets the AvailableServiceAliasesClient object to access its operations. - * - * @return the AvailableServiceAliasesClient object. - */ - public AvailableServiceAliasesClient getAvailableServiceAliases() { - return this.availableServiceAliases; - } - /** * The AzureFirewallsClient object to access its operations. */ @@ -441,45 +320,31 @@ public AzureFirewallsClient getAzureFirewalls() { } /** - * The AzureFirewallFqdnTagsClient object to access its operations. - */ - private final AzureFirewallFqdnTagsClient azureFirewallFqdnTags; - - /** - * Gets the AzureFirewallFqdnTagsClient object to access its operations. - * - * @return the AzureFirewallFqdnTagsClient object. - */ - public AzureFirewallFqdnTagsClient getAzureFirewallFqdnTags() { - return this.azureFirewallFqdnTags; - } - - /** - * The WebCategoriesClient object to access its operations. + * The BastionHostsClient object to access its operations. */ - private final WebCategoriesClient webCategories; + private final BastionHostsClient bastionHosts; /** - * Gets the WebCategoriesClient object to access its operations. + * Gets the BastionHostsClient object to access its operations. * - * @return the WebCategoriesClient object. + * @return the BastionHostsClient object. */ - public WebCategoriesClient getWebCategories() { - return this.webCategories; + public BastionHostsClient getBastionHosts() { + return this.bastionHosts; } /** - * The BastionHostsClient object to access its operations. + * The ExpressRouteProviderPortsClient object to access its operations. */ - private final BastionHostsClient bastionHosts; + private final ExpressRouteProviderPortsClient expressRouteProviderPorts; /** - * Gets the BastionHostsClient object to access its operations. + * Gets the ExpressRouteProviderPortsClient object to access its operations. * - * @return the BastionHostsClient object. + * @return the ExpressRouteProviderPortsClient object. */ - public BastionHostsClient getBastionHosts() { - return this.bastionHosts; + public ExpressRouteProviderPortsClient getExpressRouteProviderPorts() { + return this.expressRouteProviderPorts; } /** @@ -510,34 +375,6 @@ public PublicIpAddressesClient getPublicIpAddresses() { return this.publicIpAddresses; } - /** - * The VipSwapsClient object to access its operations. - */ - private final VipSwapsClient vipSwaps; - - /** - * Gets the VipSwapsClient object to access its operations. - * - * @return the VipSwapsClient object. - */ - public VipSwapsClient getVipSwaps() { - return this.vipSwaps; - } - - /** - * The CustomIpPrefixesClient object to access its operations. - */ - private final CustomIpPrefixesClient customIpPrefixes; - - /** - * Gets the CustomIpPrefixesClient object to access its operations. - * - * @return the CustomIpPrefixesClient object. - */ - public CustomIpPrefixesClient getCustomIpPrefixes() { - return this.customIpPrefixes; - } - /** * The DdosCustomPoliciesClient object to access its operations. */ @@ -567,45 +404,31 @@ public DdosProtectionPlansClient getDdosProtectionPlans() { } /** - * The DscpConfigurationsClient object to access its operations. - */ - private final DscpConfigurationsClient dscpConfigurations; - - /** - * Gets the DscpConfigurationsClient object to access its operations. - * - * @return the DscpConfigurationsClient object. - */ - public DscpConfigurationsClient getDscpConfigurations() { - return this.dscpConfigurations; - } - - /** - * The AvailableEndpointServicesClient object to access its operations. + * The ExpressRouteCircuitAuthorizationsClient object to access its operations. */ - private final AvailableEndpointServicesClient availableEndpointServices; + private final ExpressRouteCircuitAuthorizationsClient expressRouteCircuitAuthorizations; /** - * Gets the AvailableEndpointServicesClient object to access its operations. + * Gets the ExpressRouteCircuitAuthorizationsClient object to access its operations. * - * @return the AvailableEndpointServicesClient object. + * @return the ExpressRouteCircuitAuthorizationsClient object. */ - public AvailableEndpointServicesClient getAvailableEndpointServices() { - return this.availableEndpointServices; + public ExpressRouteCircuitAuthorizationsClient getExpressRouteCircuitAuthorizations() { + return this.expressRouteCircuitAuthorizations; } /** - * The ExpressRouteCircuitAuthorizationsClient object to access its operations. + * The ExpressRouteCircuitsClient object to access its operations. */ - private final ExpressRouteCircuitAuthorizationsClient expressRouteCircuitAuthorizations; + private final ExpressRouteCircuitsClient expressRouteCircuits; /** - * Gets the ExpressRouteCircuitAuthorizationsClient object to access its operations. + * Gets the ExpressRouteCircuitsClient object to access its operations. * - * @return the ExpressRouteCircuitAuthorizationsClient object. + * @return the ExpressRouteCircuitsClient object. */ - public ExpressRouteCircuitAuthorizationsClient getExpressRouteCircuitAuthorizations() { - return this.expressRouteCircuitAuthorizations; + public ExpressRouteCircuitsClient getExpressRouteCircuits() { + return this.expressRouteCircuits; } /** @@ -650,34 +473,6 @@ public PeerExpressRouteCircuitConnectionsClient getPeerExpressRouteCircuitConnec return this.peerExpressRouteCircuitConnections; } - /** - * The ExpressRouteCircuitsClient object to access its operations. - */ - private final ExpressRouteCircuitsClient expressRouteCircuits; - - /** - * Gets the ExpressRouteCircuitsClient object to access its operations. - * - * @return the ExpressRouteCircuitsClient object. - */ - public ExpressRouteCircuitsClient getExpressRouteCircuits() { - return this.expressRouteCircuits; - } - - /** - * The ExpressRouteServiceProvidersClient object to access its operations. - */ - private final ExpressRouteServiceProvidersClient expressRouteServiceProviders; - - /** - * Gets the ExpressRouteServiceProvidersClient object to access its operations. - * - * @return the ExpressRouteServiceProvidersClient object. - */ - public ExpressRouteServiceProvidersClient getExpressRouteServiceProviders() { - return this.expressRouteServiceProviders; - } - /** * The ExpressRouteCrossConnectionsClient object to access its operations. */ @@ -692,20 +487,6 @@ public ExpressRouteCrossConnectionsClient getExpressRouteCrossConnections() { return this.expressRouteCrossConnections; } - /** - * The ExpressRouteCrossConnectionPeeringsClient object to access its operations. - */ - private final ExpressRouteCrossConnectionPeeringsClient expressRouteCrossConnectionPeerings; - - /** - * Gets the ExpressRouteCrossConnectionPeeringsClient object to access its operations. - * - * @return the ExpressRouteCrossConnectionPeeringsClient object. - */ - public ExpressRouteCrossConnectionPeeringsClient getExpressRouteCrossConnectionPeerings() { - return this.expressRouteCrossConnectionPeerings; - } - /** * The ExpressRoutePortsLocationsClient object to access its operations. */ @@ -735,47 +516,19 @@ public ExpressRoutePortsClient getExpressRoutePorts() { } /** - * The ExpressRouteLinksClient object to access its operations. + * The ExpressRoutePortAuthorizationsClient object to access its operations. */ - private final ExpressRouteLinksClient expressRouteLinks; + private final ExpressRoutePortAuthorizationsClient expressRoutePortAuthorizations; /** - * Gets the ExpressRouteLinksClient object to access its operations. + * Gets the ExpressRoutePortAuthorizationsClient object to access its operations. * - * @return the ExpressRouteLinksClient object. - */ - public ExpressRouteLinksClient getExpressRouteLinks() { - return this.expressRouteLinks; - } - - /** - * The ExpressRoutePortAuthorizationsClient object to access its operations. - */ - private final ExpressRoutePortAuthorizationsClient expressRoutePortAuthorizations; - - /** - * Gets the ExpressRoutePortAuthorizationsClient object to access its operations. - * - * @return the ExpressRoutePortAuthorizationsClient object. + * @return the ExpressRoutePortAuthorizationsClient object. */ public ExpressRoutePortAuthorizationsClient getExpressRoutePortAuthorizations() { return this.expressRoutePortAuthorizations; } - /** - * The ExpressRouteProviderPortsLocationsClient object to access its operations. - */ - private final ExpressRouteProviderPortsLocationsClient expressRouteProviderPortsLocations; - - /** - * Gets the ExpressRouteProviderPortsLocationsClient object to access its operations. - * - * @return the ExpressRouteProviderPortsLocationsClient object. - */ - public ExpressRouteProviderPortsLocationsClient getExpressRouteProviderPortsLocations() { - return this.expressRouteProviderPortsLocations; - } - /** * The FirewallPoliciesClient object to access its operations. */ @@ -804,20 +557,6 @@ public FirewallPolicyRuleCollectionGroupsClient getFirewallPolicyRuleCollectionG return this.firewallPolicyRuleCollectionGroups; } - /** - * The FirewallPolicyIdpsSignaturesClient object to access its operations. - */ - private final FirewallPolicyIdpsSignaturesClient firewallPolicyIdpsSignatures; - - /** - * Gets the FirewallPolicyIdpsSignaturesClient object to access its operations. - * - * @return the FirewallPolicyIdpsSignaturesClient object. - */ - public FirewallPolicyIdpsSignaturesClient getFirewallPolicyIdpsSignatures() { - return this.firewallPolicyIdpsSignatures; - } - /** * The FirewallPolicyIdpsSignaturesOverridesClient object to access its operations. */ @@ -832,20 +571,6 @@ public FirewallPolicyIdpsSignaturesOverridesClient getFirewallPolicyIdpsSignatur return this.firewallPolicyIdpsSignaturesOverrides; } - /** - * The FirewallPolicyIdpsSignaturesFilterValuesClient object to access its operations. - */ - private final FirewallPolicyIdpsSignaturesFilterValuesClient firewallPolicyIdpsSignaturesFilterValues; - - /** - * Gets the FirewallPolicyIdpsSignaturesFilterValuesClient object to access its operations. - * - * @return the FirewallPolicyIdpsSignaturesFilterValuesClient object. - */ - public FirewallPolicyIdpsSignaturesFilterValuesClient getFirewallPolicyIdpsSignaturesFilterValues() { - return this.firewallPolicyIdpsSignaturesFilterValues; - } - /** * The FirewallPolicyDraftsClient object to access its operations. */ @@ -860,20 +585,6 @@ public FirewallPolicyDraftsClient getFirewallPolicyDrafts() { return this.firewallPolicyDrafts; } - /** - * The FirewallPolicyDeploymentsClient object to access its operations. - */ - private final FirewallPolicyDeploymentsClient firewallPolicyDeployments; - - /** - * Gets the FirewallPolicyDeploymentsClient object to access its operations. - * - * @return the FirewallPolicyDeploymentsClient object. - */ - public FirewallPolicyDeploymentsClient getFirewallPolicyDeployments() { - return this.firewallPolicyDeployments; - } - /** * The FirewallPolicyRuleCollectionGroupDraftsClient object to access its operations. */ @@ -902,6 +613,20 @@ public IpamPoolsClient getIpamPools() { return this.ipamPools; } + /** + * The NetworkManagersClient object to access its operations. + */ + private final NetworkManagersClient networkManagers; + + /** + * Gets the NetworkManagersClient object to access its operations. + * + * @return the NetworkManagersClient object. + */ + public NetworkManagersClient getNetworkManagers() { + return this.networkManagers; + } + /** * The StaticCidrsClient object to access its operations. */ @@ -958,34 +683,6 @@ public LoadBalancersClient getLoadBalancers() { return this.loadBalancers; } - /** - * The LoadBalancerBackendAddressPoolsClient object to access its operations. - */ - private final LoadBalancerBackendAddressPoolsClient loadBalancerBackendAddressPools; - - /** - * Gets the LoadBalancerBackendAddressPoolsClient object to access its operations. - * - * @return the LoadBalancerBackendAddressPoolsClient object. - */ - public LoadBalancerBackendAddressPoolsClient getLoadBalancerBackendAddressPools() { - return this.loadBalancerBackendAddressPools; - } - - /** - * The LoadBalancerFrontendIpConfigurationsClient object to access its operations. - */ - private final LoadBalancerFrontendIpConfigurationsClient loadBalancerFrontendIpConfigurations; - - /** - * Gets the LoadBalancerFrontendIpConfigurationsClient object to access its operations. - * - * @return the LoadBalancerFrontendIpConfigurationsClient object. - */ - public LoadBalancerFrontendIpConfigurationsClient getLoadBalancerFrontendIpConfigurations() { - return this.loadBalancerFrontendIpConfigurations; - } - /** * The InboundNatRulesClient object to access its operations. */ @@ -1000,62 +697,6 @@ public InboundNatRulesClient getInboundNatRules() { return this.inboundNatRules; } - /** - * The LoadBalancerLoadBalancingRulesClient object to access its operations. - */ - private final LoadBalancerLoadBalancingRulesClient loadBalancerLoadBalancingRules; - - /** - * Gets the LoadBalancerLoadBalancingRulesClient object to access its operations. - * - * @return the LoadBalancerLoadBalancingRulesClient object. - */ - public LoadBalancerLoadBalancingRulesClient getLoadBalancerLoadBalancingRules() { - return this.loadBalancerLoadBalancingRules; - } - - /** - * The LoadBalancerOutboundRulesClient object to access its operations. - */ - private final LoadBalancerOutboundRulesClient loadBalancerOutboundRules; - - /** - * Gets the LoadBalancerOutboundRulesClient object to access its operations. - * - * @return the LoadBalancerOutboundRulesClient object. - */ - public LoadBalancerOutboundRulesClient getLoadBalancerOutboundRules() { - return this.loadBalancerOutboundRules; - } - - /** - * The LoadBalancerNetworkInterfacesClient object to access its operations. - */ - private final LoadBalancerNetworkInterfacesClient loadBalancerNetworkInterfaces; - - /** - * Gets the LoadBalancerNetworkInterfacesClient object to access its operations. - * - * @return the LoadBalancerNetworkInterfacesClient object. - */ - public LoadBalancerNetworkInterfacesClient getLoadBalancerNetworkInterfaces() { - return this.loadBalancerNetworkInterfaces; - } - - /** - * The LoadBalancerProbesClient object to access its operations. - */ - private final LoadBalancerProbesClient loadBalancerProbes; - - /** - * Gets the LoadBalancerProbesClient object to access its operations. - * - * @return the LoadBalancerProbesClient object. - */ - public LoadBalancerProbesClient getLoadBalancerProbes() { - return this.loadBalancerProbes; - } - /** * The NatGatewaysClient object to access its operations. */ @@ -1071,31 +712,17 @@ public NatGatewaysClient getNatGateways() { } /** - * The NetworkInterfaceIpConfigurationsClient object to access its operations. - */ - private final NetworkInterfaceIpConfigurationsClient networkInterfaceIpConfigurations; - - /** - * Gets the NetworkInterfaceIpConfigurationsClient object to access its operations. - * - * @return the NetworkInterfaceIpConfigurationsClient object. - */ - public NetworkInterfaceIpConfigurationsClient getNetworkInterfaceIpConfigurations() { - return this.networkInterfaceIpConfigurations; - } - - /** - * The NetworkInterfaceLoadBalancersClient object to access its operations. + * The NetworkInterfaceIPConfigurationsClient object to access its operations. */ - private final NetworkInterfaceLoadBalancersClient networkInterfaceLoadBalancers; + private final NetworkInterfaceIPConfigurationsClient networkInterfaceIPConfigurations; /** - * Gets the NetworkInterfaceLoadBalancersClient object to access its operations. + * Gets the NetworkInterfaceIPConfigurationsClient object to access its operations. * - * @return the NetworkInterfaceLoadBalancersClient object. + * @return the NetworkInterfaceIPConfigurationsClient object. */ - public NetworkInterfaceLoadBalancersClient getNetworkInterfaceLoadBalancers() { - return this.networkInterfaceLoadBalancers; + public NetworkInterfaceIPConfigurationsClient getNetworkInterfaceIPConfigurations() { + return this.networkInterfaceIPConfigurations; } /** @@ -1112,62 +739,6 @@ public NetworkInterfaceTapConfigurationsClient getNetworkInterfaceTapConfigurati return this.networkInterfaceTapConfigurations; } - /** - * The NetworkManagersClient object to access its operations. - */ - private final NetworkManagersClient networkManagers; - - /** - * Gets the NetworkManagersClient object to access its operations. - * - * @return the NetworkManagersClient object. - */ - public NetworkManagersClient getNetworkManagers() { - return this.networkManagers; - } - - /** - * The NetworkManagerCommitsClient object to access its operations. - */ - private final NetworkManagerCommitsClient networkManagerCommits; - - /** - * Gets the NetworkManagerCommitsClient object to access its operations. - * - * @return the NetworkManagerCommitsClient object. - */ - public NetworkManagerCommitsClient getNetworkManagerCommits() { - return this.networkManagerCommits; - } - - /** - * The NetworkManagerDeploymentStatusOperationsClient object to access its operations. - */ - private final NetworkManagerDeploymentStatusOperationsClient networkManagerDeploymentStatusOperations; - - /** - * Gets the NetworkManagerDeploymentStatusOperationsClient object to access its operations. - * - * @return the NetworkManagerDeploymentStatusOperationsClient object. - */ - public NetworkManagerDeploymentStatusOperationsClient getNetworkManagerDeploymentStatusOperations() { - return this.networkManagerDeploymentStatusOperations; - } - - /** - * The SubscriptionNetworkManagerConnectionsClient object to access its operations. - */ - private final SubscriptionNetworkManagerConnectionsClient subscriptionNetworkManagerConnections; - - /** - * Gets the SubscriptionNetworkManagerConnectionsClient object to access its operations. - * - * @return the SubscriptionNetworkManagerConnectionsClient object. - */ - public SubscriptionNetworkManagerConnectionsClient getSubscriptionNetworkManagerConnections() { - return this.subscriptionNetworkManagerConnections; - } - /** * The ManagementGroupNetworkManagerConnectionsClient object to access its operations. */ @@ -1308,20 +879,6 @@ public AdminRuleCollectionsClient getAdminRuleCollections() { return this.adminRuleCollections; } - /** - * The AdminRulesClient object to access its operations. - */ - private final AdminRulesClient adminRules; - - /** - * Gets the AdminRulesClient object to access its operations. - * - * @return the AdminRulesClient object. - */ - public AdminRulesClient getAdminRules() { - return this.adminRules; - } - /** * The SecurityUserConfigurationsClient object to access its operations. */ @@ -1435,143 +992,31 @@ public NetworkSecurityPerimetersClient getNetworkSecurityPerimeters() { } /** - * The NetworkSecurityPerimeterProfilesClient object to access its operations. + * The ReachabilityAnalysisIntentsClient object to access its operations. */ - private final NetworkSecurityPerimeterProfilesClient networkSecurityPerimeterProfiles; + private final ReachabilityAnalysisIntentsClient reachabilityAnalysisIntents; /** - * Gets the NetworkSecurityPerimeterProfilesClient object to access its operations. + * Gets the ReachabilityAnalysisIntentsClient object to access its operations. * - * @return the NetworkSecurityPerimeterProfilesClient object. + * @return the ReachabilityAnalysisIntentsClient object. */ - public NetworkSecurityPerimeterProfilesClient getNetworkSecurityPerimeterProfiles() { - return this.networkSecurityPerimeterProfiles; - } - - /** - * The NetworkSecurityPerimeterAccessRulesClient object to access its operations. - */ - private final NetworkSecurityPerimeterAccessRulesClient networkSecurityPerimeterAccessRules; - - /** - * Gets the NetworkSecurityPerimeterAccessRulesClient object to access its operations. - * - * @return the NetworkSecurityPerimeterAccessRulesClient object. - */ - public NetworkSecurityPerimeterAccessRulesClient getNetworkSecurityPerimeterAccessRules() { - return this.networkSecurityPerimeterAccessRules; - } - - /** - * The NetworkSecurityPerimeterAssociationsClient object to access its operations. - */ - private final NetworkSecurityPerimeterAssociationsClient networkSecurityPerimeterAssociations; - - /** - * Gets the NetworkSecurityPerimeterAssociationsClient object to access its operations. - * - * @return the NetworkSecurityPerimeterAssociationsClient object. - */ - public NetworkSecurityPerimeterAssociationsClient getNetworkSecurityPerimeterAssociations() { - return this.networkSecurityPerimeterAssociations; - } - - /** - * The NetworkSecurityPerimeterAssociableResourceTypesClient object to access its operations. - */ - private final NetworkSecurityPerimeterAssociableResourceTypesClient networkSecurityPerimeterAssociableResourceTypes; - - /** - * Gets the NetworkSecurityPerimeterAssociableResourceTypesClient object to access its operations. - * - * @return the NetworkSecurityPerimeterAssociableResourceTypesClient object. - */ - public NetworkSecurityPerimeterAssociableResourceTypesClient getNetworkSecurityPerimeterAssociableResourceTypes() { - return this.networkSecurityPerimeterAssociableResourceTypes; - } - - /** - * The NetworkSecurityPerimeterLinksClient object to access its operations. - */ - private final NetworkSecurityPerimeterLinksClient networkSecurityPerimeterLinks; - - /** - * Gets the NetworkSecurityPerimeterLinksClient object to access its operations. - * - * @return the NetworkSecurityPerimeterLinksClient object. - */ - public NetworkSecurityPerimeterLinksClient getNetworkSecurityPerimeterLinks() { - return this.networkSecurityPerimeterLinks; - } - - /** - * The NetworkSecurityPerimeterLinkReferencesClient object to access its operations. - */ - private final NetworkSecurityPerimeterLinkReferencesClient networkSecurityPerimeterLinkReferences; - - /** - * Gets the NetworkSecurityPerimeterLinkReferencesClient object to access its operations. - * - * @return the NetworkSecurityPerimeterLinkReferencesClient object. - */ - public NetworkSecurityPerimeterLinkReferencesClient getNetworkSecurityPerimeterLinkReferences() { - return this.networkSecurityPerimeterLinkReferences; - } - - /** - * The NetworkSecurityPerimeterLoggingConfigurationsClient object to access its operations. - */ - private final NetworkSecurityPerimeterLoggingConfigurationsClient networkSecurityPerimeterLoggingConfigurations; - - /** - * Gets the NetworkSecurityPerimeterLoggingConfigurationsClient object to access its operations. - * - * @return the NetworkSecurityPerimeterLoggingConfigurationsClient object. - */ - public NetworkSecurityPerimeterLoggingConfigurationsClient getNetworkSecurityPerimeterLoggingConfigurations() { - return this.networkSecurityPerimeterLoggingConfigurations; - } - - /** - * The NetworkSecurityPerimeterOperationStatusesClient object to access its operations. - */ - private final NetworkSecurityPerimeterOperationStatusesClient networkSecurityPerimeterOperationStatuses; - - /** - * Gets the NetworkSecurityPerimeterOperationStatusesClient object to access its operations. - * - * @return the NetworkSecurityPerimeterOperationStatusesClient object. - */ - public NetworkSecurityPerimeterOperationStatusesClient getNetworkSecurityPerimeterOperationStatuses() { - return this.networkSecurityPerimeterOperationStatuses; - } - - /** - * The NetworkSecurityPerimeterServiceTagsClient object to access its operations. - */ - private final NetworkSecurityPerimeterServiceTagsClient networkSecurityPerimeterServiceTags; - - /** - * Gets the NetworkSecurityPerimeterServiceTagsClient object to access its operations. - * - * @return the NetworkSecurityPerimeterServiceTagsClient object. - */ - public NetworkSecurityPerimeterServiceTagsClient getNetworkSecurityPerimeterServiceTags() { - return this.networkSecurityPerimeterServiceTags; + public ReachabilityAnalysisIntentsClient getReachabilityAnalysisIntents() { + return this.reachabilityAnalysisIntents; } /** - * The ReachabilityAnalysisIntentsClient object to access its operations. + * The VerifierWorkspacesClient object to access its operations. */ - private final ReachabilityAnalysisIntentsClient reachabilityAnalysisIntents; + private final VerifierWorkspacesClient verifierWorkspaces; /** - * Gets the ReachabilityAnalysisIntentsClient object to access its operations. + * Gets the VerifierWorkspacesClient object to access its operations. * - * @return the ReachabilityAnalysisIntentsClient object. + * @return the VerifierWorkspacesClient object. */ - public ReachabilityAnalysisIntentsClient getReachabilityAnalysisIntents() { - return this.reachabilityAnalysisIntents; + public VerifierWorkspacesClient getVerifierWorkspaces() { + return this.verifierWorkspaces; } /** @@ -1589,17 +1034,17 @@ public ReachabilityAnalysisRunsClient getReachabilityAnalysisRuns() { } /** - * The VerifierWorkspacesClient object to access its operations. + * The NetworkVirtualApplianceConnectionsClient object to access its operations. */ - private final VerifierWorkspacesClient verifierWorkspaces; + private final NetworkVirtualApplianceConnectionsClient networkVirtualApplianceConnections; /** - * Gets the VerifierWorkspacesClient object to access its operations. + * Gets the NetworkVirtualApplianceConnectionsClient object to access its operations. * - * @return the VerifierWorkspacesClient object. + * @return the NetworkVirtualApplianceConnectionsClient object. */ - public VerifierWorkspacesClient getVerifierWorkspaces() { - return this.verifierWorkspaces; + public NetworkVirtualApplianceConnectionsClient getNetworkVirtualApplianceConnections() { + return this.networkVirtualApplianceConnections; } /** @@ -1630,34 +1075,6 @@ public VirtualApplianceSitesClient getVirtualApplianceSites() { return this.virtualApplianceSites; } - /** - * The VirtualApplianceSkusClient object to access its operations. - */ - private final VirtualApplianceSkusClient virtualApplianceSkus; - - /** - * Gets the VirtualApplianceSkusClient object to access its operations. - * - * @return the VirtualApplianceSkusClient object. - */ - public VirtualApplianceSkusClient getVirtualApplianceSkus() { - return this.virtualApplianceSkus; - } - - /** - * The InboundSecurityRuleOperationsClient object to access its operations. - */ - private final InboundSecurityRuleOperationsClient inboundSecurityRuleOperations; - - /** - * Gets the InboundSecurityRuleOperationsClient object to access its operations. - * - * @return the InboundSecurityRuleOperationsClient object. - */ - public InboundSecurityRuleOperationsClient getInboundSecurityRuleOperations() { - return this.inboundSecurityRuleOperations; - } - /** * The NetworkWatchersClient object to access its operations. */ @@ -1672,34 +1089,6 @@ public NetworkWatchersClient getNetworkWatchers() { return this.networkWatchers; } - /** - * The PacketCapturesClient object to access its operations. - */ - private final PacketCapturesClient packetCaptures; - - /** - * Gets the PacketCapturesClient object to access its operations. - * - * @return the PacketCapturesClient object. - */ - public PacketCapturesClient getPacketCaptures() { - return this.packetCaptures; - } - - /** - * The ConnectionMonitorsClient object to access its operations. - */ - private final ConnectionMonitorsClient connectionMonitors; - - /** - * Gets the ConnectionMonitorsClient object to access its operations. - * - * @return the ConnectionMonitorsClient object. - */ - public ConnectionMonitorsClient getConnectionMonitors() { - return this.connectionMonitors; - } - /** * The FlowLogsClient object to access its operations. */ @@ -1714,20 +1103,6 @@ public FlowLogsClient getFlowLogs() { return this.flowLogs; } - /** - * The OperationsClient object to access its operations. - */ - private final OperationsClient operations; - - /** - * Gets the OperationsClient object to access its operations. - * - * @return the OperationsClient object. - */ - public OperationsClient getOperations() { - return this.operations; - } - /** * The PrivateEndpointsClient object to access its operations. */ @@ -1742,34 +1117,6 @@ public PrivateEndpointsClient getPrivateEndpoints() { return this.privateEndpoints; } - /** - * The AvailablePrivateEndpointTypesClient object to access its operations. - */ - private final AvailablePrivateEndpointTypesClient availablePrivateEndpointTypes; - - /** - * Gets the AvailablePrivateEndpointTypesClient object to access its operations. - * - * @return the AvailablePrivateEndpointTypesClient object. - */ - public AvailablePrivateEndpointTypesClient getAvailablePrivateEndpointTypes() { - return this.availablePrivateEndpointTypes; - } - - /** - * The PrivateDnsZoneGroupsClient object to access its operations. - */ - private final PrivateDnsZoneGroupsClient privateDnsZoneGroups; - - /** - * Gets the PrivateDnsZoneGroupsClient object to access its operations. - * - * @return the PrivateDnsZoneGroupsClient object. - */ - public PrivateDnsZoneGroupsClient getPrivateDnsZoneGroups() { - return this.privateDnsZoneGroups; - } - /** * The PrivateLinkServicesClient object to access its operations. */ @@ -1812,20 +1159,6 @@ public RouteFiltersClient getRouteFilters() { return this.routeFilters; } - /** - * The RouteFilterRulesClient object to access its operations. - */ - private final RouteFilterRulesClient routeFilterRules; - - /** - * Gets the RouteFilterRulesClient object to access its operations. - * - * @return the RouteFilterRulesClient object. - */ - public RouteFilterRulesClient getRouteFilterRules() { - return this.routeFilterRules; - } - /** * The RouteTablesClient object to access its operations. */ @@ -1869,26 +1202,12 @@ public SecurityPartnerProvidersClient getSecurityPartnerProviders() { } /** - * The BgpServiceCommunitiesClient object to access its operations. + * The ServiceEndpointPoliciesClient object to access its operations. */ - private final BgpServiceCommunitiesClient bgpServiceCommunities; + private final ServiceEndpointPoliciesClient serviceEndpointPolicies; /** - * Gets the BgpServiceCommunitiesClient object to access its operations. - * - * @return the BgpServiceCommunitiesClient object. - */ - public BgpServiceCommunitiesClient getBgpServiceCommunities() { - return this.bgpServiceCommunities; - } - - /** - * The ServiceEndpointPoliciesClient object to access its operations. - */ - private final ServiceEndpointPoliciesClient serviceEndpointPolicies; - - /** - * Gets the ServiceEndpointPoliciesClient object to access its operations. + * Gets the ServiceEndpointPoliciesClient object to access its operations. * * @return the ServiceEndpointPoliciesClient object. */ @@ -1910,62 +1229,6 @@ public ServiceEndpointPolicyDefinitionsClient getServiceEndpointPolicyDefinition return this.serviceEndpointPolicyDefinitions; } - /** - * The ServiceGatewaysClient object to access its operations. - */ - private final ServiceGatewaysClient serviceGateways; - - /** - * Gets the ServiceGatewaysClient object to access its operations. - * - * @return the ServiceGatewaysClient object. - */ - public ServiceGatewaysClient getServiceGateways() { - return this.serviceGateways; - } - - /** - * The ServiceTagsClient object to access its operations. - */ - private final ServiceTagsClient serviceTags; - - /** - * Gets the ServiceTagsClient object to access its operations. - * - * @return the ServiceTagsClient object. - */ - public ServiceTagsClient getServiceTags() { - return this.serviceTags; - } - - /** - * The ServiceTagInformationsClient object to access its operations. - */ - private final ServiceTagInformationsClient serviceTagInformations; - - /** - * Gets the ServiceTagInformationsClient object to access its operations. - * - * @return the ServiceTagInformationsClient object. - */ - public ServiceTagInformationsClient getServiceTagInformations() { - return this.serviceTagInformations; - } - - /** - * The UsagesClient object to access its operations. - */ - private final UsagesClient usages; - - /** - * Gets the UsagesClient object to access its operations. - * - * @return the UsagesClient object. - */ - public UsagesClient getUsages() { - return this.usages; - } - /** * The VirtualNetworksClient object to access its operations. */ @@ -1981,45 +1244,31 @@ public VirtualNetworksClient getVirtualNetworks() { } /** - * The SubnetsClient object to access its operations. - */ - private final SubnetsClient subnets; - - /** - * Gets the SubnetsClient object to access its operations. - * - * @return the SubnetsClient object. - */ - public SubnetsClient getSubnets() { - return this.subnets; - } - - /** - * The ResourceNavigationLinksClient object to access its operations. + * The EffectiveConfigurationsClient object to access its operations. */ - private final ResourceNavigationLinksClient resourceNavigationLinks; + private final EffectiveConfigurationsClient effectiveConfigurations; /** - * Gets the ResourceNavigationLinksClient object to access its operations. + * Gets the EffectiveConfigurationsClient object to access its operations. * - * @return the ResourceNavigationLinksClient object. + * @return the EffectiveConfigurationsClient object. */ - public ResourceNavigationLinksClient getResourceNavigationLinks() { - return this.resourceNavigationLinks; + public EffectiveConfigurationsClient getEffectiveConfigurations() { + return this.effectiveConfigurations; } /** - * The ServiceAssociationLinksClient object to access its operations. + * The SubnetsClient object to access its operations. */ - private final ServiceAssociationLinksClient serviceAssociationLinks; + private final SubnetsClient subnets; /** - * Gets the ServiceAssociationLinksClient object to access its operations. + * Gets the SubnetsClient object to access its operations. * - * @return the ServiceAssociationLinksClient object. + * @return the SubnetsClient object. */ - public ServiceAssociationLinksClient getServiceAssociationLinks() { - return this.serviceAssociationLinks; + public SubnetsClient getSubnets() { + return this.subnets; } /** @@ -2036,20 +1285,6 @@ public VirtualNetworkPeeringsClient getVirtualNetworkPeerings() { return this.virtualNetworkPeerings; } - /** - * The VirtualNetworkAppliancesClient object to access its operations. - */ - private final VirtualNetworkAppliancesClient virtualNetworkAppliances; - - /** - * Gets the VirtualNetworkAppliancesClient object to access its operations. - * - * @return the VirtualNetworkAppliancesClient object. - */ - public VirtualNetworkAppliancesClient getVirtualNetworkAppliances() { - return this.virtualNetworkAppliances; - } - /** * The VirtualNetworkGatewaysClient object to access its operations. */ @@ -2190,20 +1425,6 @@ public VpnSiteLinksClient getVpnSiteLinks() { return this.vpnSiteLinks; } - /** - * The VpnSitesConfigurationsClient object to access its operations. - */ - private final VpnSitesConfigurationsClient vpnSitesConfigurations; - - /** - * Gets the VpnSitesConfigurationsClient object to access its operations. - * - * @return the VpnSitesConfigurationsClient object. - */ - public VpnSitesConfigurationsClient getVpnSitesConfigurations() { - return this.vpnSitesConfigurations; - } - /** * The VpnServerConfigurationsClient object to access its operations. */ @@ -2218,20 +1439,6 @@ public VpnServerConfigurationsClient getVpnServerConfigurations() { return this.vpnServerConfigurations; } - /** - * The ConfigurationPolicyGroupsClient object to access its operations. - */ - private final ConfigurationPolicyGroupsClient configurationPolicyGroups; - - /** - * Gets the ConfigurationPolicyGroupsClient object to access its operations. - * - * @return the ConfigurationPolicyGroupsClient object. - */ - public ConfigurationPolicyGroupsClient getConfigurationPolicyGroups() { - return this.configurationPolicyGroups; - } - /** * The VirtualHubsClient object to access its operations. */ @@ -2260,20 +1467,6 @@ public RouteMapsClient getRouteMaps() { return this.routeMaps; } - /** - * The HubVirtualNetworkConnectionsClient object to access its operations. - */ - private final HubVirtualNetworkConnectionsClient hubVirtualNetworkConnections; - - /** - * Gets the HubVirtualNetworkConnectionsClient object to access its operations. - * - * @return the HubVirtualNetworkConnectionsClient object. - */ - public HubVirtualNetworkConnectionsClient getHubVirtualNetworkConnections() { - return this.hubVirtualNetworkConnections; - } - /** * The VpnGatewaysClient object to access its operations. */ @@ -2289,214 +1482,1040 @@ public VpnGatewaysClient getVpnGateways() { } /** - * The VpnLinkConnectionsClient object to access its operations. + * The VpnSiteLinkConnectionsClient object to access its operations. */ - private final VpnLinkConnectionsClient vpnLinkConnections; + private final VpnSiteLinkConnectionsClient vpnSiteLinkConnections; /** - * Gets the VpnLinkConnectionsClient object to access its operations. + * Gets the VpnSiteLinkConnectionsClient object to access its operations. * - * @return the VpnLinkConnectionsClient object. + * @return the VpnSiteLinkConnectionsClient object. */ - public VpnLinkConnectionsClient getVpnLinkConnections() { - return this.vpnLinkConnections; + public VpnSiteLinkConnectionsClient getVpnSiteLinkConnections() { + return this.vpnSiteLinkConnections; } /** - * The VpnConnectionsClient object to access its operations. + * The P2SVpnGatewaysClient object to access its operations. */ - private final VpnConnectionsClient vpnConnections; + private final P2SVpnGatewaysClient p2SVpnGateways; /** - * Gets the VpnConnectionsClient object to access its operations. + * Gets the P2SVpnGatewaysClient object to access its operations. * - * @return the VpnConnectionsClient object. + * @return the P2SVpnGatewaysClient object. */ - public VpnConnectionsClient getVpnConnections() { - return this.vpnConnections; + public P2SVpnGatewaysClient getP2SVpnGateways() { + return this.p2SVpnGateways; } /** - * The VpnSiteLinkConnectionsClient object to access its operations. + * The ExpressRouteGatewaysClient object to access its operations. */ - private final VpnSiteLinkConnectionsClient vpnSiteLinkConnections; + private final ExpressRouteGatewaysClient expressRouteGateways; /** - * Gets the VpnSiteLinkConnectionsClient object to access its operations. + * Gets the ExpressRouteGatewaysClient object to access its operations. * - * @return the VpnSiteLinkConnectionsClient object. + * @return the ExpressRouteGatewaysClient object. */ - public VpnSiteLinkConnectionsClient getVpnSiteLinkConnections() { - return this.vpnSiteLinkConnections; + public ExpressRouteGatewaysClient getExpressRouteGateways() { + return this.expressRouteGateways; } /** - * The NatRulesClient object to access its operations. + * The HubRouteTablesClient object to access its operations. */ - private final NatRulesClient natRules; + private final HubRouteTablesClient hubRouteTables; /** - * Gets the NatRulesClient object to access its operations. + * Gets the HubRouteTablesClient object to access its operations. * - * @return the NatRulesClient object. + * @return the HubRouteTablesClient object. */ - public NatRulesClient getNatRules() { - return this.natRules; + public HubRouteTablesClient getHubRouteTables() { + return this.hubRouteTables; } /** - * The P2SVpnGatewaysClient object to access its operations. + * The WebApplicationFirewallPoliciesClient object to access its operations. */ - private final P2SVpnGatewaysClient p2SVpnGateways; + private final WebApplicationFirewallPoliciesClient webApplicationFirewallPolicies; /** - * Gets the P2SVpnGatewaysClient object to access its operations. + * Gets the WebApplicationFirewallPoliciesClient object to access its operations. * - * @return the P2SVpnGatewaysClient object. + * @return the WebApplicationFirewallPoliciesClient object. */ - public P2SVpnGatewaysClient getP2SVpnGateways() { - return this.p2SVpnGateways; + public WebApplicationFirewallPoliciesClient getWebApplicationFirewallPolicies() { + return this.webApplicationFirewallPolicies; } /** - * The VpnServerConfigurationsAssociatedWithVirtualWansClient object to access its operations. + * The CheckDnsNameAvailabilitiesClient object to access its operations. */ - private final VpnServerConfigurationsAssociatedWithVirtualWansClient vpnServerConfigurationsAssociatedWithVirtualWans; + private final CheckDnsNameAvailabilitiesClient checkDnsNameAvailabilities; /** - * Gets the VpnServerConfigurationsAssociatedWithVirtualWansClient object to access its operations. + * Gets the CheckDnsNameAvailabilitiesClient object to access its operations. * - * @return the VpnServerConfigurationsAssociatedWithVirtualWansClient object. + * @return the CheckDnsNameAvailabilitiesClient object. */ - public VpnServerConfigurationsAssociatedWithVirtualWansClient - getVpnServerConfigurationsAssociatedWithVirtualWans() { - return this.vpnServerConfigurationsAssociatedWithVirtualWans; + public CheckDnsNameAvailabilitiesClient getCheckDnsNameAvailabilities() { + return this.checkDnsNameAvailabilities; } /** - * The VirtualHubRouteTableV2SClient object to access its operations. + * The VirtualNetworkAppliancesClient object to access its operations. */ - private final VirtualHubRouteTableV2SClient virtualHubRouteTableV2S; + private final VirtualNetworkAppliancesClient virtualNetworkAppliances; /** - * Gets the VirtualHubRouteTableV2SClient object to access its operations. + * Gets the VirtualNetworkAppliancesClient object to access its operations. * - * @return the VirtualHubRouteTableV2SClient object. + * @return the VirtualNetworkAppliancesClient object. */ - public VirtualHubRouteTableV2SClient getVirtualHubRouteTableV2S() { - return this.virtualHubRouteTableV2S; + public VirtualNetworkAppliancesClient getVirtualNetworkAppliances() { + return this.virtualNetworkAppliances; } /** - * The ExpressRouteGatewaysClient object to access its operations. + * The ServiceGatewaysClient object to access its operations. */ - private final ExpressRouteGatewaysClient expressRouteGateways; + private final ServiceGatewaysClient serviceGateways; /** - * Gets the ExpressRouteGatewaysClient object to access its operations. + * Gets the ServiceGatewaysClient object to access its operations. * - * @return the ExpressRouteGatewaysClient object. + * @return the ServiceGatewaysClient object. */ - public ExpressRouteGatewaysClient getExpressRouteGateways() { - return this.expressRouteGateways; + public ServiceGatewaysClient getServiceGateways() { + return this.serviceGateways; } /** - * The ExpressRouteConnectionsClient object to access its operations. + * The PublicIPAddressesOperationsClient object to access its operations. */ - private final ExpressRouteConnectionsClient expressRouteConnections; + private final PublicIPAddressesOperationsClient publicIPAddressesOperations; /** - * Gets the ExpressRouteConnectionsClient object to access its operations. + * Gets the PublicIPAddressesOperationsClient object to access its operations. * - * @return the ExpressRouteConnectionsClient object. + * @return the PublicIPAddressesOperationsClient object. */ - public ExpressRouteConnectionsClient getExpressRouteConnections() { - return this.expressRouteConnections; + public PublicIPAddressesOperationsClient getPublicIPAddressesOperations() { + return this.publicIPAddressesOperations; } /** - * The NetworkVirtualApplianceConnectionsClient object to access its operations. + * The ApplicationGatewayPrivateLinkResourcesClient object to access its operations. */ - private final NetworkVirtualApplianceConnectionsClient networkVirtualApplianceConnections; + private final ApplicationGatewayPrivateLinkResourcesClient applicationGatewayPrivateLinkResources; /** - * Gets the NetworkVirtualApplianceConnectionsClient object to access its operations. + * Gets the ApplicationGatewayPrivateLinkResourcesClient object to access its operations. * - * @return the NetworkVirtualApplianceConnectionsClient object. + * @return the ApplicationGatewayPrivateLinkResourcesClient object. */ - public NetworkVirtualApplianceConnectionsClient getNetworkVirtualApplianceConnections() { - return this.networkVirtualApplianceConnections; + public ApplicationGatewayPrivateLinkResourcesClient getApplicationGatewayPrivateLinkResources() { + return this.applicationGatewayPrivateLinkResources; + } + + /** + * The ApplicationGatewayWafDynamicManifestsDefaultsClient object to access its operations. + */ + private final ApplicationGatewayWafDynamicManifestsDefaultsClient applicationGatewayWafDynamicManifestsDefaults; + + /** + * Gets the ApplicationGatewayWafDynamicManifestsDefaultsClient object to access its operations. + * + * @return the ApplicationGatewayWafDynamicManifestsDefaultsClient object. + */ + public ApplicationGatewayWafDynamicManifestsDefaultsClient getApplicationGatewayWafDynamicManifestsDefaults() { + return this.applicationGatewayWafDynamicManifestsDefaults; + } + + /** + * The ApplicationGatewayWafDynamicManifestsClient object to access its operations. + */ + private final ApplicationGatewayWafDynamicManifestsClient applicationGatewayWafDynamicManifests; + + /** + * Gets the ApplicationGatewayWafDynamicManifestsClient object to access its operations. + * + * @return the ApplicationGatewayWafDynamicManifestsClient object. + */ + public ApplicationGatewayWafDynamicManifestsClient getApplicationGatewayWafDynamicManifests() { + return this.applicationGatewayWafDynamicManifests; + } + + /** + * The WebCategoriesClient object to access its operations. + */ + private final WebCategoriesClient webCategories; + + /** + * Gets the WebCategoriesClient object to access its operations. + * + * @return the WebCategoriesClient object. + */ + public WebCategoriesClient getWebCategories() { + return this.webCategories; + } + + /** + * The ExpressRouteProviderPortsLocationsClient object to access its operations. + */ + private final ExpressRouteProviderPortsLocationsClient expressRouteProviderPortsLocations; + + /** + * Gets the ExpressRouteProviderPortsLocationsClient object to access its operations. + * + * @return the ExpressRouteProviderPortsLocationsClient object. + */ + public ExpressRouteProviderPortsLocationsClient getExpressRouteProviderPortsLocations() { + return this.expressRouteProviderPortsLocations; + } + + /** + * The NetworkInterfaceLoadBalancersClient object to access its operations. + */ + private final NetworkInterfaceLoadBalancersClient networkInterfaceLoadBalancers; + + /** + * Gets the NetworkInterfaceLoadBalancersClient object to access its operations. + * + * @return the NetworkInterfaceLoadBalancersClient object. + */ + public NetworkInterfaceLoadBalancersClient getNetworkInterfaceLoadBalancers() { + return this.networkInterfaceLoadBalancers; + } + + /** + * The VipSwapsClient object to access its operations. + */ + private final VipSwapsClient vipSwaps; + + /** + * Gets the VipSwapsClient object to access its operations. + * + * @return the VipSwapsClient object. + */ + public VipSwapsClient getVipSwaps() { + return this.vipSwaps; + } + + /** + * The CustomIPPrefixesClient object to access its operations. + */ + private final CustomIPPrefixesClient customIPPrefixes; + + /** + * Gets the CustomIPPrefixesClient object to access its operations. + * + * @return the CustomIPPrefixesClient object. + */ + public CustomIPPrefixesClient getCustomIPPrefixes() { + return this.customIPPrefixes; + } + + /** + * The DscpConfigurationsClient object to access its operations. + */ + private final DscpConfigurationsClient dscpConfigurations; + + /** + * Gets the DscpConfigurationsClient object to access its operations. + * + * @return the DscpConfigurationsClient object. + */ + public DscpConfigurationsClient getDscpConfigurations() { + return this.dscpConfigurations; + } + + /** + * The ExpressRouteCrossConnectionPeeringsClient object to access its operations. + */ + private final ExpressRouteCrossConnectionPeeringsClient expressRouteCrossConnectionPeerings; + + /** + * Gets the ExpressRouteCrossConnectionPeeringsClient object to access its operations. + * + * @return the ExpressRouteCrossConnectionPeeringsClient object. + */ + public ExpressRouteCrossConnectionPeeringsClient getExpressRouteCrossConnectionPeerings() { + return this.expressRouteCrossConnectionPeerings; + } + + /** + * The ExpressRouteLinksClient object to access its operations. + */ + private final ExpressRouteLinksClient expressRouteLinks; + + /** + * Gets the ExpressRouteLinksClient object to access its operations. + * + * @return the ExpressRouteLinksClient object. + */ + public ExpressRouteLinksClient getExpressRouteLinks() { + return this.expressRouteLinks; + } + + /** + * The FirewallPolicyIdpsSignaturesClient object to access its operations. + */ + private final FirewallPolicyIdpsSignaturesClient firewallPolicyIdpsSignatures; + + /** + * Gets the FirewallPolicyIdpsSignaturesClient object to access its operations. + * + * @return the FirewallPolicyIdpsSignaturesClient object. + */ + public FirewallPolicyIdpsSignaturesClient getFirewallPolicyIdpsSignatures() { + return this.firewallPolicyIdpsSignatures; + } + + /** + * The FirewallPolicyIdpsSignaturesFilterValuesClient object to access its operations. + */ + private final FirewallPolicyIdpsSignaturesFilterValuesClient firewallPolicyIdpsSignaturesFilterValues; + + /** + * Gets the FirewallPolicyIdpsSignaturesFilterValuesClient object to access its operations. + * + * @return the FirewallPolicyIdpsSignaturesFilterValuesClient object. + */ + public FirewallPolicyIdpsSignaturesFilterValuesClient getFirewallPolicyIdpsSignaturesFilterValues() { + return this.firewallPolicyIdpsSignaturesFilterValues; + } + + /** + * The FirewallPolicyDeploymentsClient object to access its operations. + */ + private final FirewallPolicyDeploymentsClient firewallPolicyDeployments; + + /** + * Gets the FirewallPolicyDeploymentsClient object to access its operations. + * + * @return the FirewallPolicyDeploymentsClient object. + */ + public FirewallPolicyDeploymentsClient getFirewallPolicyDeployments() { + return this.firewallPolicyDeployments; + } + + /** + * The NetworkManagerCommitsClient object to access its operations. + */ + private final NetworkManagerCommitsClient networkManagerCommits; + + /** + * Gets the NetworkManagerCommitsClient object to access its operations. + * + * @return the NetworkManagerCommitsClient object. + */ + public NetworkManagerCommitsClient getNetworkManagerCommits() { + return this.networkManagerCommits; + } + + /** + * The NetworkManagerDeploymentStatusOperationsClient object to access its operations. + */ + private final NetworkManagerDeploymentStatusOperationsClient networkManagerDeploymentStatusOperations; + + /** + * Gets the NetworkManagerDeploymentStatusOperationsClient object to access its operations. + * + * @return the NetworkManagerDeploymentStatusOperationsClient object. + */ + public NetworkManagerDeploymentStatusOperationsClient getNetworkManagerDeploymentStatusOperations() { + return this.networkManagerDeploymentStatusOperations; + } + + /** + * The LoadBalancerNetworkInterfacesClient object to access its operations. + */ + private final LoadBalancerNetworkInterfacesClient loadBalancerNetworkInterfaces; + + /** + * Gets the LoadBalancerNetworkInterfacesClient object to access its operations. + * + * @return the LoadBalancerNetworkInterfacesClient object. + */ + public LoadBalancerNetworkInterfacesClient getLoadBalancerNetworkInterfaces() { + return this.loadBalancerNetworkInterfaces; + } + + /** + * The LoadBalancerBackendAddressPoolsClient object to access its operations. + */ + private final LoadBalancerBackendAddressPoolsClient loadBalancerBackendAddressPools; + + /** + * Gets the LoadBalancerBackendAddressPoolsClient object to access its operations. + * + * @return the LoadBalancerBackendAddressPoolsClient object. + */ + public LoadBalancerBackendAddressPoolsClient getLoadBalancerBackendAddressPools() { + return this.loadBalancerBackendAddressPools; + } + + /** + * The LoadBalancerFrontendIPConfigurationsClient object to access its operations. + */ + private final LoadBalancerFrontendIPConfigurationsClient loadBalancerFrontendIPConfigurations; + + /** + * Gets the LoadBalancerFrontendIPConfigurationsClient object to access its operations. + * + * @return the LoadBalancerFrontendIPConfigurationsClient object. + */ + public LoadBalancerFrontendIPConfigurationsClient getLoadBalancerFrontendIPConfigurations() { + return this.loadBalancerFrontendIPConfigurations; + } + + /** + * The LoadBalancerLoadBalancingRulesClient object to access its operations. + */ + private final LoadBalancerLoadBalancingRulesClient loadBalancerLoadBalancingRules; + + /** + * Gets the LoadBalancerLoadBalancingRulesClient object to access its operations. + * + * @return the LoadBalancerLoadBalancingRulesClient object. + */ + public LoadBalancerLoadBalancingRulesClient getLoadBalancerLoadBalancingRules() { + return this.loadBalancerLoadBalancingRules; + } + + /** + * The LoadBalancerOutboundRulesClient object to access its operations. + */ + private final LoadBalancerOutboundRulesClient loadBalancerOutboundRules; + + /** + * Gets the LoadBalancerOutboundRulesClient object to access its operations. + * + * @return the LoadBalancerOutboundRulesClient object. + */ + public LoadBalancerOutboundRulesClient getLoadBalancerOutboundRules() { + return this.loadBalancerOutboundRules; + } + + /** + * The LoadBalancerProbesClient object to access its operations. + */ + private final LoadBalancerProbesClient loadBalancerProbes; + + /** + * Gets the LoadBalancerProbesClient object to access its operations. + * + * @return the LoadBalancerProbesClient object. + */ + public LoadBalancerProbesClient getLoadBalancerProbes() { + return this.loadBalancerProbes; + } + + /** + * The SubscriptionNetworkManagerConnectionsClient object to access its operations. + */ + private final SubscriptionNetworkManagerConnectionsClient subscriptionNetworkManagerConnections; + + /** + * Gets the SubscriptionNetworkManagerConnectionsClient object to access its operations. + * + * @return the SubscriptionNetworkManagerConnectionsClient object. + */ + public SubscriptionNetworkManagerConnectionsClient getSubscriptionNetworkManagerConnections() { + return this.subscriptionNetworkManagerConnections; + } + + /** + * The AdminRulesClient object to access its operations. + */ + private final AdminRulesClient adminRules; + + /** + * Gets the AdminRulesClient object to access its operations. + * + * @return the AdminRulesClient object. + */ + public AdminRulesClient getAdminRules() { + return this.adminRules; + } + + /** + * The NetworkSecurityPerimeterProfilesClient object to access its operations. + */ + private final NetworkSecurityPerimeterProfilesClient networkSecurityPerimeterProfiles; + + /** + * Gets the NetworkSecurityPerimeterProfilesClient object to access its operations. + * + * @return the NetworkSecurityPerimeterProfilesClient object. + */ + public NetworkSecurityPerimeterProfilesClient getNetworkSecurityPerimeterProfiles() { + return this.networkSecurityPerimeterProfiles; + } + + /** + * The NetworkSecurityPerimeterAccessRulesClient object to access its operations. + */ + private final NetworkSecurityPerimeterAccessRulesClient networkSecurityPerimeterAccessRules; + + /** + * Gets the NetworkSecurityPerimeterAccessRulesClient object to access its operations. + * + * @return the NetworkSecurityPerimeterAccessRulesClient object. + */ + public NetworkSecurityPerimeterAccessRulesClient getNetworkSecurityPerimeterAccessRules() { + return this.networkSecurityPerimeterAccessRules; + } + + /** + * The NetworkSecurityPerimeterAssociationsClient object to access its operations. + */ + private final NetworkSecurityPerimeterAssociationsClient networkSecurityPerimeterAssociations; + + /** + * Gets the NetworkSecurityPerimeterAssociationsClient object to access its operations. + * + * @return the NetworkSecurityPerimeterAssociationsClient object. + */ + public NetworkSecurityPerimeterAssociationsClient getNetworkSecurityPerimeterAssociations() { + return this.networkSecurityPerimeterAssociations; + } + + /** + * The NetworkSecurityPerimeterLinksClient object to access its operations. + */ + private final NetworkSecurityPerimeterLinksClient networkSecurityPerimeterLinks; + + /** + * Gets the NetworkSecurityPerimeterLinksClient object to access its operations. + * + * @return the NetworkSecurityPerimeterLinksClient object. + */ + public NetworkSecurityPerimeterLinksClient getNetworkSecurityPerimeterLinks() { + return this.networkSecurityPerimeterLinks; + } + + /** + * The NetworkSecurityPerimeterLinkReferencesClient object to access its operations. + */ + private final NetworkSecurityPerimeterLinkReferencesClient networkSecurityPerimeterLinkReferences; + + /** + * Gets the NetworkSecurityPerimeterLinkReferencesClient object to access its operations. + * + * @return the NetworkSecurityPerimeterLinkReferencesClient object. + */ + public NetworkSecurityPerimeterLinkReferencesClient getNetworkSecurityPerimeterLinkReferences() { + return this.networkSecurityPerimeterLinkReferences; + } + + /** + * The NetworkSecurityPerimeterLoggingConfigurationsClient object to access its operations. + */ + private final NetworkSecurityPerimeterLoggingConfigurationsClient networkSecurityPerimeterLoggingConfigurations; + + /** + * Gets the NetworkSecurityPerimeterLoggingConfigurationsClient object to access its operations. + * + * @return the NetworkSecurityPerimeterLoggingConfigurationsClient object. + */ + public NetworkSecurityPerimeterLoggingConfigurationsClient getNetworkSecurityPerimeterLoggingConfigurations() { + return this.networkSecurityPerimeterLoggingConfigurations; + } + + /** + * The VirtualApplianceSkusClient object to access its operations. + */ + private final VirtualApplianceSkusClient virtualApplianceSkus; + + /** + * Gets the VirtualApplianceSkusClient object to access its operations. + * + * @return the VirtualApplianceSkusClient object. + */ + public VirtualApplianceSkusClient getVirtualApplianceSkus() { + return this.virtualApplianceSkus; + } + + /** + * The InboundSecurityRuleOperationsClient object to access its operations. + */ + private final InboundSecurityRuleOperationsClient inboundSecurityRuleOperations; + + /** + * Gets the InboundSecurityRuleOperationsClient object to access its operations. + * + * @return the InboundSecurityRuleOperationsClient object. + */ + public InboundSecurityRuleOperationsClient getInboundSecurityRuleOperations() { + return this.inboundSecurityRuleOperations; + } + + /** + * The PacketCapturesClient object to access its operations. + */ + private final PacketCapturesClient packetCaptures; + + /** + * Gets the PacketCapturesClient object to access its operations. + * + * @return the PacketCapturesClient object. + */ + public PacketCapturesClient getPacketCaptures() { + return this.packetCaptures; + } + + /** + * The ConnectionMonitorsClient object to access its operations. + */ + private final ConnectionMonitorsClient connectionMonitors; + + /** + * Gets the ConnectionMonitorsClient object to access its operations. + * + * @return the ConnectionMonitorsClient object. + */ + public ConnectionMonitorsClient getConnectionMonitors() { + return this.connectionMonitors; + } + + /** + * The PrivateDnsZoneGroupsClient object to access its operations. + */ + private final PrivateDnsZoneGroupsClient privateDnsZoneGroups; + + /** + * Gets the PrivateDnsZoneGroupsClient object to access its operations. + * + * @return the PrivateDnsZoneGroupsClient object. + */ + public PrivateDnsZoneGroupsClient getPrivateDnsZoneGroups() { + return this.privateDnsZoneGroups; + } + + /** + * The RouteFilterRulesClient object to access its operations. + */ + private final RouteFilterRulesClient routeFilterRules; + + /** + * Gets the RouteFilterRulesClient object to access its operations. + * + * @return the RouteFilterRulesClient object. + */ + public RouteFilterRulesClient getRouteFilterRules() { + return this.routeFilterRules; + } + + /** + * The ResourceNavigationLinksClient object to access its operations. + */ + private final ResourceNavigationLinksClient resourceNavigationLinks; + + /** + * Gets the ResourceNavigationLinksClient object to access its operations. + * + * @return the ResourceNavigationLinksClient object. + */ + public ResourceNavigationLinksClient getResourceNavigationLinks() { + return this.resourceNavigationLinks; + } + + /** + * The ServiceAssociationLinksClient object to access its operations. + */ + private final ServiceAssociationLinksClient serviceAssociationLinks; + + /** + * Gets the ServiceAssociationLinksClient object to access its operations. + * + * @return the ServiceAssociationLinksClient object. + */ + public ServiceAssociationLinksClient getServiceAssociationLinks() { + return this.serviceAssociationLinks; + } + + /** + * The VpnSitesConfigurationsClient object to access its operations. + */ + private final VpnSitesConfigurationsClient vpnSitesConfigurations; + + /** + * Gets the VpnSitesConfigurationsClient object to access its operations. + * + * @return the VpnSitesConfigurationsClient object. + */ + public VpnSitesConfigurationsClient getVpnSitesConfigurations() { + return this.vpnSitesConfigurations; + } + + /** + * The VpnServerConfigurationsAssociatedWithVirtualWansClient object to access its operations. + */ + private final VpnServerConfigurationsAssociatedWithVirtualWansClient vpnServerConfigurationsAssociatedWithVirtualWans; + + /** + * Gets the VpnServerConfigurationsAssociatedWithVirtualWansClient object to access its operations. + * + * @return the VpnServerConfigurationsAssociatedWithVirtualWansClient object. + */ + public VpnServerConfigurationsAssociatedWithVirtualWansClient + getVpnServerConfigurationsAssociatedWithVirtualWans() { + return this.vpnServerConfigurationsAssociatedWithVirtualWans; + } + + /** + * The ConfigurationPolicyGroupsClient object to access its operations. + */ + private final ConfigurationPolicyGroupsClient configurationPolicyGroups; + + /** + * Gets the ConfigurationPolicyGroupsClient object to access its operations. + * + * @return the ConfigurationPolicyGroupsClient object. + */ + public ConfigurationPolicyGroupsClient getConfigurationPolicyGroups() { + return this.configurationPolicyGroups; + } + + /** + * The HubVirtualNetworkConnectionsClient object to access its operations. + */ + private final HubVirtualNetworkConnectionsClient hubVirtualNetworkConnections; + + /** + * Gets the HubVirtualNetworkConnectionsClient object to access its operations. + * + * @return the HubVirtualNetworkConnectionsClient object. + */ + public HubVirtualNetworkConnectionsClient getHubVirtualNetworkConnections() { + return this.hubVirtualNetworkConnections; + } + + /** + * The VirtualHubRouteTableV2sClient object to access its operations. + */ + private final VirtualHubRouteTableV2sClient virtualHubRouteTableV2s; + + /** + * Gets the VirtualHubRouteTableV2sClient object to access its operations. + * + * @return the VirtualHubRouteTableV2sClient object. + */ + public VirtualHubRouteTableV2sClient getVirtualHubRouteTableV2s() { + return this.virtualHubRouteTableV2s; + } + + /** + * The VpnConnectionsClient object to access its operations. + */ + private final VpnConnectionsClient vpnConnections; + + /** + * Gets the VpnConnectionsClient object to access its operations. + * + * @return the VpnConnectionsClient object. + */ + public VpnConnectionsClient getVpnConnections() { + return this.vpnConnections; + } + + /** + * The VpnLinkConnectionsClient object to access its operations. + */ + private final VpnLinkConnectionsClient vpnLinkConnections; + + /** + * Gets the VpnLinkConnectionsClient object to access its operations. + * + * @return the VpnLinkConnectionsClient object. + */ + public VpnLinkConnectionsClient getVpnLinkConnections() { + return this.vpnLinkConnections; + } + + /** + * The NatRulesClient object to access its operations. + */ + private final NatRulesClient natRules; + + /** + * Gets the NatRulesClient object to access its operations. + * + * @return the NatRulesClient object. + */ + public NatRulesClient getNatRules() { + return this.natRules; + } + + /** + * The P2sVpnGatewaysOperationsClient object to access its operations. + */ + private final P2sVpnGatewaysOperationsClient p2sVpnGatewaysOperations; + + /** + * Gets the P2sVpnGatewaysOperationsClient object to access its operations. + * + * @return the P2sVpnGatewaysOperationsClient object. + */ + public P2sVpnGatewaysOperationsClient getP2sVpnGatewaysOperations() { + return this.p2sVpnGatewaysOperations; + } + + /** + * The ExpressRouteConnectionsClient object to access its operations. + */ + private final ExpressRouteConnectionsClient expressRouteConnections; + + /** + * Gets the ExpressRouteConnectionsClient object to access its operations. + * + * @return the ExpressRouteConnectionsClient object. + */ + public ExpressRouteConnectionsClient getExpressRouteConnections() { + return this.expressRouteConnections; + } + + /** + * The VirtualHubBgpConnectionsClient object to access its operations. + */ + private final VirtualHubBgpConnectionsClient virtualHubBgpConnections; + + /** + * Gets the VirtualHubBgpConnectionsClient object to access its operations. + * + * @return the VirtualHubBgpConnectionsClient object. + */ + public VirtualHubBgpConnectionsClient getVirtualHubBgpConnections() { + return this.virtualHubBgpConnections; + } + + /** + * The VirtualHubIpConfigurationsClient object to access its operations. + */ + private final VirtualHubIpConfigurationsClient virtualHubIpConfigurations; + + /** + * Gets the VirtualHubIpConfigurationsClient object to access its operations. + * + * @return the VirtualHubIpConfigurationsClient object. + */ + public VirtualHubIpConfigurationsClient getVirtualHubIpConfigurations() { + return this.virtualHubIpConfigurations; + } + + /** + * The RoutingIntentsClient object to access its operations. + */ + private final RoutingIntentsClient routingIntents; + + /** + * Gets the RoutingIntentsClient object to access its operations. + * + * @return the RoutingIntentsClient object. + */ + public RoutingIntentsClient getRoutingIntents() { + return this.routingIntents; + } + + /** + * The AvailableDelegationsClient object to access its operations. + */ + private final AvailableDelegationsClient availableDelegations; + + /** + * Gets the AvailableDelegationsClient object to access its operations. + * + * @return the AvailableDelegationsClient object. + */ + public AvailableDelegationsClient getAvailableDelegations() { + return this.availableDelegations; + } + + /** + * The AvailableResourceGroupDelegationsClient object to access its operations. + */ + private final AvailableResourceGroupDelegationsClient availableResourceGroupDelegations; + + /** + * Gets the AvailableResourceGroupDelegationsClient object to access its operations. + * + * @return the AvailableResourceGroupDelegationsClient object. + */ + public AvailableResourceGroupDelegationsClient getAvailableResourceGroupDelegations() { + return this.availableResourceGroupDelegations; + } + + /** + * The AvailableServiceAliasesClient object to access its operations. + */ + private final AvailableServiceAliasesClient availableServiceAliases; + + /** + * Gets the AvailableServiceAliasesClient object to access its operations. + * + * @return the AvailableServiceAliasesClient object. + */ + public AvailableServiceAliasesClient getAvailableServiceAliases() { + return this.availableServiceAliases; + } + + /** + * The AzureFirewallFqdnTagsClient object to access its operations. + */ + private final AzureFirewallFqdnTagsClient azureFirewallFqdnTags; + + /** + * Gets the AzureFirewallFqdnTagsClient object to access its operations. + * + * @return the AzureFirewallFqdnTagsClient object. + */ + public AzureFirewallFqdnTagsClient getAzureFirewallFqdnTags() { + return this.azureFirewallFqdnTags; + } + + /** + * The AvailableEndpointServicesClient object to access its operations. + */ + private final AvailableEndpointServicesClient availableEndpointServices; + + /** + * Gets the AvailableEndpointServicesClient object to access its operations. + * + * @return the AvailableEndpointServicesClient object. + */ + public AvailableEndpointServicesClient getAvailableEndpointServices() { + return this.availableEndpointServices; } /** - * The VirtualHubBgpConnectionsClient object to access its operations. + * The ExpressRouteServiceProvidersClient object to access its operations. */ - private final VirtualHubBgpConnectionsClient virtualHubBgpConnections; + private final ExpressRouteServiceProvidersClient expressRouteServiceProviders; /** - * Gets the VirtualHubBgpConnectionsClient object to access its operations. + * Gets the ExpressRouteServiceProvidersClient object to access its operations. * - * @return the VirtualHubBgpConnectionsClient object. + * @return the ExpressRouteServiceProvidersClient object. */ - public VirtualHubBgpConnectionsClient getVirtualHubBgpConnections() { - return this.virtualHubBgpConnections; + public ExpressRouteServiceProvidersClient getExpressRouteServiceProviders() { + return this.expressRouteServiceProviders; } /** - * The VirtualHubIpConfigurationsClient object to access its operations. + * The NetworkSecurityPerimeterAssociableResourceTypesClient object to access its operations. */ - private final VirtualHubIpConfigurationsClient virtualHubIpConfigurations; + private final NetworkSecurityPerimeterAssociableResourceTypesClient networkSecurityPerimeterAssociableResourceTypes; /** - * Gets the VirtualHubIpConfigurationsClient object to access its operations. + * Gets the NetworkSecurityPerimeterAssociableResourceTypesClient object to access its operations. * - * @return the VirtualHubIpConfigurationsClient object. + * @return the NetworkSecurityPerimeterAssociableResourceTypesClient object. */ - public VirtualHubIpConfigurationsClient getVirtualHubIpConfigurations() { - return this.virtualHubIpConfigurations; + public NetworkSecurityPerimeterAssociableResourceTypesClient getNetworkSecurityPerimeterAssociableResourceTypes() { + return this.networkSecurityPerimeterAssociableResourceTypes; } /** - * The HubRouteTablesClient object to access its operations. + * The NetworkSecurityPerimeterOperationStatusesClient object to access its operations. */ - private final HubRouteTablesClient hubRouteTables; + private final NetworkSecurityPerimeterOperationStatusesClient networkSecurityPerimeterOperationStatuses; /** - * Gets the HubRouteTablesClient object to access its operations. + * Gets the NetworkSecurityPerimeterOperationStatusesClient object to access its operations. * - * @return the HubRouteTablesClient object. + * @return the NetworkSecurityPerimeterOperationStatusesClient object. */ - public HubRouteTablesClient getHubRouteTables() { - return this.hubRouteTables; + public NetworkSecurityPerimeterOperationStatusesClient getNetworkSecurityPerimeterOperationStatuses() { + return this.networkSecurityPerimeterOperationStatuses; } /** - * The RoutingIntentsClient object to access its operations. + * The NetworkSecurityPerimeterServiceTagsClient object to access its operations. */ - private final RoutingIntentsClient routingIntents; + private final NetworkSecurityPerimeterServiceTagsClient networkSecurityPerimeterServiceTags; /** - * Gets the RoutingIntentsClient object to access its operations. + * Gets the NetworkSecurityPerimeterServiceTagsClient object to access its operations. * - * @return the RoutingIntentsClient object. + * @return the NetworkSecurityPerimeterServiceTagsClient object. */ - public RoutingIntentsClient getRoutingIntents() { - return this.routingIntents; + public NetworkSecurityPerimeterServiceTagsClient getNetworkSecurityPerimeterServiceTags() { + return this.networkSecurityPerimeterServiceTags; } /** - * The WebApplicationFirewallPoliciesClient object to access its operations. + * The AvailablePrivateEndpointTypesClient object to access its operations. */ - private final WebApplicationFirewallPoliciesClient webApplicationFirewallPolicies; + private final AvailablePrivateEndpointTypesClient availablePrivateEndpointTypes; /** - * Gets the WebApplicationFirewallPoliciesClient object to access its operations. + * Gets the AvailablePrivateEndpointTypesClient object to access its operations. * - * @return the WebApplicationFirewallPoliciesClient object. + * @return the AvailablePrivateEndpointTypesClient object. */ - public WebApplicationFirewallPoliciesClient getWebApplicationFirewallPolicies() { - return this.webApplicationFirewallPolicies; + public AvailablePrivateEndpointTypesClient getAvailablePrivateEndpointTypes() { + return this.availablePrivateEndpointTypes; + } + + /** + * The BgpServiceCommunitiesClient object to access its operations. + */ + private final BgpServiceCommunitiesClient bgpServiceCommunities; + + /** + * Gets the BgpServiceCommunitiesClient object to access its operations. + * + * @return the BgpServiceCommunitiesClient object. + */ + public BgpServiceCommunitiesClient getBgpServiceCommunities() { + return this.bgpServiceCommunities; + } + + /** + * The ServiceTagsClient object to access its operations. + */ + private final ServiceTagsClient serviceTags; + + /** + * Gets the ServiceTagsClient object to access its operations. + * + * @return the ServiceTagsClient object. + */ + public ServiceTagsClient getServiceTags() { + return this.serviceTags; + } + + /** + * The ServiceTagInformationsClient object to access its operations. + */ + private final ServiceTagInformationsClient serviceTagInformations; + + /** + * Gets the ServiceTagInformationsClient object to access its operations. + * + * @return the ServiceTagInformationsClient object. + */ + public ServiceTagInformationsClient getServiceTagInformations() { + return this.serviceTagInformations; + } + + /** + * The UsagesClient object to access its operations. + */ + private final UsagesClient usages; + + /** + * Gets the UsagesClient object to access its operations. + * + * @return the UsagesClient object. + */ + public UsagesClient getUsages() { + return this.usages; } /** @@ -2506,82 +2525,53 @@ public WebApplicationFirewallPoliciesClient getWebApplicationFirewallPolicies() * @param serializerAdapter The serializer to serialize an object into a string. * @param defaultPollInterval The default poll interval for long-running operation. * @param environment The Azure environment. - * @param subscriptionId The subscription credentials which uniquely identify the Microsoft Azure subscription. The - * subscription ID forms part of the URI for every service call. - * @param endpoint server parameter. + * @param endpoint Service host. + * @param subscriptionId The ID of the target subscription. The value must be an UUID. */ NetworkManagementClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializerAdapter, - Duration defaultPollInterval, AzureEnvironment environment, String subscriptionId, String endpoint) { + Duration defaultPollInterval, AzureEnvironment environment, String endpoint, String subscriptionId) { super(httpPipeline, serializerAdapter, environment); this.httpPipeline = httpPipeline; this.serializerAdapter = serializerAdapter; this.defaultPollInterval = defaultPollInterval; - this.subscriptionId = subscriptionId; this.endpoint = endpoint; + this.subscriptionId = subscriptionId; + this.operations = new OperationsClientImpl(this); this.applicationGateways = new ApplicationGatewaysClientImpl(this); - this.applicationGatewayPrivateLinkResources = new ApplicationGatewayPrivateLinkResourcesClientImpl(this); this.applicationGatewayPrivateEndpointConnections = new ApplicationGatewayPrivateEndpointConnectionsClientImpl(this); - this.applicationGatewayWafDynamicManifestsDefaults - = new ApplicationGatewayWafDynamicManifestsDefaultsClientImpl(this); - this.applicationGatewayWafDynamicManifests = new ApplicationGatewayWafDynamicManifestsClientImpl(this); this.applicationSecurityGroups = new ApplicationSecurityGroupsClientImpl(this); - this.availableDelegations = new AvailableDelegationsClientImpl(this); - this.availableResourceGroupDelegations = new AvailableResourceGroupDelegationsClientImpl(this); - this.availableServiceAliases = new AvailableServiceAliasesClientImpl(this); this.azureFirewalls = new AzureFirewallsClientImpl(this); - this.azureFirewallFqdnTags = new AzureFirewallFqdnTagsClientImpl(this); - this.webCategories = new WebCategoriesClientImpl(this); this.bastionHosts = new BastionHostsClientImpl(this); + this.expressRouteProviderPorts = new ExpressRouteProviderPortsClientImpl(this); this.networkInterfaces = new NetworkInterfacesClientImpl(this); this.publicIpAddresses = new PublicIpAddressesClientImpl(this); - this.vipSwaps = new VipSwapsClientImpl(this); - this.customIpPrefixes = new CustomIpPrefixesClientImpl(this); this.ddosCustomPolicies = new DdosCustomPoliciesClientImpl(this); this.ddosProtectionPlans = new DdosProtectionPlansClientImpl(this); - this.dscpConfigurations = new DscpConfigurationsClientImpl(this); - this.availableEndpointServices = new AvailableEndpointServicesClientImpl(this); this.expressRouteCircuitAuthorizations = new ExpressRouteCircuitAuthorizationsClientImpl(this); + this.expressRouteCircuits = new ExpressRouteCircuitsClientImpl(this); this.expressRouteCircuitPeerings = new ExpressRouteCircuitPeeringsClientImpl(this); this.expressRouteCircuitConnections = new ExpressRouteCircuitConnectionsClientImpl(this); this.peerExpressRouteCircuitConnections = new PeerExpressRouteCircuitConnectionsClientImpl(this); - this.expressRouteCircuits = new ExpressRouteCircuitsClientImpl(this); - this.expressRouteServiceProviders = new ExpressRouteServiceProvidersClientImpl(this); this.expressRouteCrossConnections = new ExpressRouteCrossConnectionsClientImpl(this); - this.expressRouteCrossConnectionPeerings = new ExpressRouteCrossConnectionPeeringsClientImpl(this); this.expressRoutePortsLocations = new ExpressRoutePortsLocationsClientImpl(this); this.expressRoutePorts = new ExpressRoutePortsClientImpl(this); - this.expressRouteLinks = new ExpressRouteLinksClientImpl(this); this.expressRoutePortAuthorizations = new ExpressRoutePortAuthorizationsClientImpl(this); - this.expressRouteProviderPortsLocations = new ExpressRouteProviderPortsLocationsClientImpl(this); this.firewallPolicies = new FirewallPoliciesClientImpl(this); this.firewallPolicyRuleCollectionGroups = new FirewallPolicyRuleCollectionGroupsClientImpl(this); - this.firewallPolicyIdpsSignatures = new FirewallPolicyIdpsSignaturesClientImpl(this); this.firewallPolicyIdpsSignaturesOverrides = new FirewallPolicyIdpsSignaturesOverridesClientImpl(this); - this.firewallPolicyIdpsSignaturesFilterValues = new FirewallPolicyIdpsSignaturesFilterValuesClientImpl(this); this.firewallPolicyDrafts = new FirewallPolicyDraftsClientImpl(this); - this.firewallPolicyDeployments = new FirewallPolicyDeploymentsClientImpl(this); this.firewallPolicyRuleCollectionGroupDrafts = new FirewallPolicyRuleCollectionGroupDraftsClientImpl(this); this.ipamPools = new IpamPoolsClientImpl(this); + this.networkManagers = new NetworkManagersClientImpl(this); this.staticCidrs = new StaticCidrsClientImpl(this); this.ipAllocations = new IpAllocationsClientImpl(this); this.ipGroups = new IpGroupsClientImpl(this); this.loadBalancers = new LoadBalancersClientImpl(this); - this.loadBalancerBackendAddressPools = new LoadBalancerBackendAddressPoolsClientImpl(this); - this.loadBalancerFrontendIpConfigurations = new LoadBalancerFrontendIpConfigurationsClientImpl(this); this.inboundNatRules = new InboundNatRulesClientImpl(this); - this.loadBalancerLoadBalancingRules = new LoadBalancerLoadBalancingRulesClientImpl(this); - this.loadBalancerOutboundRules = new LoadBalancerOutboundRulesClientImpl(this); - this.loadBalancerNetworkInterfaces = new LoadBalancerNetworkInterfacesClientImpl(this); - this.loadBalancerProbes = new LoadBalancerProbesClientImpl(this); this.natGateways = new NatGatewaysClientImpl(this); - this.networkInterfaceIpConfigurations = new NetworkInterfaceIpConfigurationsClientImpl(this); - this.networkInterfaceLoadBalancers = new NetworkInterfaceLoadBalancersClientImpl(this); + this.networkInterfaceIPConfigurations = new NetworkInterfaceIPConfigurationsClientImpl(this); this.networkInterfaceTapConfigurations = new NetworkInterfaceTapConfigurationsClientImpl(this); - this.networkManagers = new NetworkManagersClientImpl(this); - this.networkManagerCommits = new NetworkManagerCommitsClientImpl(this); - this.networkManagerDeploymentStatusOperations = new NetworkManagerDeploymentStatusOperationsClientImpl(this); - this.subscriptionNetworkManagerConnections = new SubscriptionNetworkManagerConnectionsClientImpl(this); this.managementGroupNetworkManagerConnections = new ManagementGroupNetworkManagerConnectionsClientImpl(this); this.connectivityConfigurations = new ConnectivityConfigurationsClientImpl(this); this.networkGroups = new NetworkGroupsClientImpl(this); @@ -2592,7 +2582,6 @@ public WebApplicationFirewallPoliciesClient getWebApplicationFirewallPolicies() this.scopeConnections = new ScopeConnectionsClientImpl(this); this.securityAdminConfigurations = new SecurityAdminConfigurationsClientImpl(this); this.adminRuleCollections = new AdminRuleCollectionsClientImpl(this); - this.adminRules = new AdminRulesClientImpl(this); this.securityUserConfigurations = new SecurityUserConfigurationsClientImpl(this); this.securityUserRuleCollections = new SecurityUserRuleCollectionsClientImpl(this); this.securityUserRules = new SecurityUserRulesClientImpl(this); @@ -2601,52 +2590,27 @@ public WebApplicationFirewallPoliciesClient getWebApplicationFirewallPolicies() this.securityRules = new SecurityRulesClientImpl(this); this.defaultSecurityRules = new DefaultSecurityRulesClientImpl(this); this.networkSecurityPerimeters = new NetworkSecurityPerimetersClientImpl(this); - this.networkSecurityPerimeterProfiles = new NetworkSecurityPerimeterProfilesClientImpl(this); - this.networkSecurityPerimeterAccessRules = new NetworkSecurityPerimeterAccessRulesClientImpl(this); - this.networkSecurityPerimeterAssociations = new NetworkSecurityPerimeterAssociationsClientImpl(this); - this.networkSecurityPerimeterAssociableResourceTypes - = new NetworkSecurityPerimeterAssociableResourceTypesClientImpl(this); - this.networkSecurityPerimeterLinks = new NetworkSecurityPerimeterLinksClientImpl(this); - this.networkSecurityPerimeterLinkReferences = new NetworkSecurityPerimeterLinkReferencesClientImpl(this); - this.networkSecurityPerimeterLoggingConfigurations - = new NetworkSecurityPerimeterLoggingConfigurationsClientImpl(this); - this.networkSecurityPerimeterOperationStatuses = new NetworkSecurityPerimeterOperationStatusesClientImpl(this); - this.networkSecurityPerimeterServiceTags = new NetworkSecurityPerimeterServiceTagsClientImpl(this); this.reachabilityAnalysisIntents = new ReachabilityAnalysisIntentsClientImpl(this); - this.reachabilityAnalysisRuns = new ReachabilityAnalysisRunsClientImpl(this); this.verifierWorkspaces = new VerifierWorkspacesClientImpl(this); + this.reachabilityAnalysisRuns = new ReachabilityAnalysisRunsClientImpl(this); + this.networkVirtualApplianceConnections = new NetworkVirtualApplianceConnectionsClientImpl(this); this.networkVirtualAppliances = new NetworkVirtualAppliancesClientImpl(this); this.virtualApplianceSites = new VirtualApplianceSitesClientImpl(this); - this.virtualApplianceSkus = new VirtualApplianceSkusClientImpl(this); - this.inboundSecurityRuleOperations = new InboundSecurityRuleOperationsClientImpl(this); this.networkWatchers = new NetworkWatchersClientImpl(this); - this.packetCaptures = new PacketCapturesClientImpl(this); - this.connectionMonitors = new ConnectionMonitorsClientImpl(this); this.flowLogs = new FlowLogsClientImpl(this); - this.operations = new OperationsClientImpl(this); this.privateEndpoints = new PrivateEndpointsClientImpl(this); - this.availablePrivateEndpointTypes = new AvailablePrivateEndpointTypesClientImpl(this); - this.privateDnsZoneGroups = new PrivateDnsZoneGroupsClientImpl(this); this.privateLinkServices = new PrivateLinkServicesClientImpl(this); this.publicIpPrefixes = new PublicIpPrefixesClientImpl(this); this.routeFilters = new RouteFiltersClientImpl(this); - this.routeFilterRules = new RouteFilterRulesClientImpl(this); this.routeTables = new RouteTablesClientImpl(this); this.routes = new RoutesClientImpl(this); this.securityPartnerProviders = new SecurityPartnerProvidersClientImpl(this); - this.bgpServiceCommunities = new BgpServiceCommunitiesClientImpl(this); this.serviceEndpointPolicies = new ServiceEndpointPoliciesClientImpl(this); this.serviceEndpointPolicyDefinitions = new ServiceEndpointPolicyDefinitionsClientImpl(this); - this.serviceGateways = new ServiceGatewaysClientImpl(this); - this.serviceTags = new ServiceTagsClientImpl(this); - this.serviceTagInformations = new ServiceTagInformationsClientImpl(this); - this.usages = new UsagesClientImpl(this); this.virtualNetworks = new VirtualNetworksClientImpl(this); + this.effectiveConfigurations = new EffectiveConfigurationsClientImpl(this); this.subnets = new SubnetsClientImpl(this); - this.resourceNavigationLinks = new ResourceNavigationLinksClientImpl(this); - this.serviceAssociationLinks = new ServiceAssociationLinksClientImpl(this); this.virtualNetworkPeerings = new VirtualNetworkPeeringsClientImpl(this); - this.virtualNetworkAppliances = new VirtualNetworkAppliancesClientImpl(this); this.virtualNetworkGateways = new VirtualNetworkGatewaysClientImpl(this); this.virtualNetworkGatewayConnections = new VirtualNetworkGatewayConnectionsClientImpl(this); this.localNetworkGateways = new LocalNetworkGatewaysClientImpl(this); @@ -2657,2835 +2621,87 @@ public WebApplicationFirewallPoliciesClient getWebApplicationFirewallPolicies() this.virtualWans = new VirtualWansClientImpl(this); this.vpnSites = new VpnSitesClientImpl(this); this.vpnSiteLinks = new VpnSiteLinksClientImpl(this); - this.vpnSitesConfigurations = new VpnSitesConfigurationsClientImpl(this); this.vpnServerConfigurations = new VpnServerConfigurationsClientImpl(this); - this.configurationPolicyGroups = new ConfigurationPolicyGroupsClientImpl(this); this.virtualHubs = new VirtualHubsClientImpl(this); this.routeMaps = new RouteMapsClientImpl(this); - this.hubVirtualNetworkConnections = new HubVirtualNetworkConnectionsClientImpl(this); this.vpnGateways = new VpnGatewaysClientImpl(this); - this.vpnLinkConnections = new VpnLinkConnectionsClientImpl(this); - this.vpnConnections = new VpnConnectionsClientImpl(this); this.vpnSiteLinkConnections = new VpnSiteLinkConnectionsClientImpl(this); - this.natRules = new NatRulesClientImpl(this); this.p2SVpnGateways = new P2SVpnGatewaysClientImpl(this); + this.expressRouteGateways = new ExpressRouteGatewaysClientImpl(this); + this.hubRouteTables = new HubRouteTablesClientImpl(this); + this.webApplicationFirewallPolicies = new WebApplicationFirewallPoliciesClientImpl(this); + this.checkDnsNameAvailabilities = new CheckDnsNameAvailabilitiesClientImpl(this); + this.virtualNetworkAppliances = new VirtualNetworkAppliancesClientImpl(this); + this.serviceGateways = new ServiceGatewaysClientImpl(this); + this.publicIPAddressesOperations = new PublicIPAddressesOperationsClientImpl(this); + this.applicationGatewayPrivateLinkResources = new ApplicationGatewayPrivateLinkResourcesClientImpl(this); + this.applicationGatewayWafDynamicManifestsDefaults + = new ApplicationGatewayWafDynamicManifestsDefaultsClientImpl(this); + this.applicationGatewayWafDynamicManifests = new ApplicationGatewayWafDynamicManifestsClientImpl(this); + this.webCategories = new WebCategoriesClientImpl(this); + this.expressRouteProviderPortsLocations = new ExpressRouteProviderPortsLocationsClientImpl(this); + this.networkInterfaceLoadBalancers = new NetworkInterfaceLoadBalancersClientImpl(this); + this.vipSwaps = new VipSwapsClientImpl(this); + this.customIPPrefixes = new CustomIPPrefixesClientImpl(this); + this.dscpConfigurations = new DscpConfigurationsClientImpl(this); + this.expressRouteCrossConnectionPeerings = new ExpressRouteCrossConnectionPeeringsClientImpl(this); + this.expressRouteLinks = new ExpressRouteLinksClientImpl(this); + this.firewallPolicyIdpsSignatures = new FirewallPolicyIdpsSignaturesClientImpl(this); + this.firewallPolicyIdpsSignaturesFilterValues = new FirewallPolicyIdpsSignaturesFilterValuesClientImpl(this); + this.firewallPolicyDeployments = new FirewallPolicyDeploymentsClientImpl(this); + this.networkManagerCommits = new NetworkManagerCommitsClientImpl(this); + this.networkManagerDeploymentStatusOperations = new NetworkManagerDeploymentStatusOperationsClientImpl(this); + this.loadBalancerNetworkInterfaces = new LoadBalancerNetworkInterfacesClientImpl(this); + this.loadBalancerBackendAddressPools = new LoadBalancerBackendAddressPoolsClientImpl(this); + this.loadBalancerFrontendIPConfigurations = new LoadBalancerFrontendIPConfigurationsClientImpl(this); + this.loadBalancerLoadBalancingRules = new LoadBalancerLoadBalancingRulesClientImpl(this); + this.loadBalancerOutboundRules = new LoadBalancerOutboundRulesClientImpl(this); + this.loadBalancerProbes = new LoadBalancerProbesClientImpl(this); + this.subscriptionNetworkManagerConnections = new SubscriptionNetworkManagerConnectionsClientImpl(this); + this.adminRules = new AdminRulesClientImpl(this); + this.networkSecurityPerimeterProfiles = new NetworkSecurityPerimeterProfilesClientImpl(this); + this.networkSecurityPerimeterAccessRules = new NetworkSecurityPerimeterAccessRulesClientImpl(this); + this.networkSecurityPerimeterAssociations = new NetworkSecurityPerimeterAssociationsClientImpl(this); + this.networkSecurityPerimeterLinks = new NetworkSecurityPerimeterLinksClientImpl(this); + this.networkSecurityPerimeterLinkReferences = new NetworkSecurityPerimeterLinkReferencesClientImpl(this); + this.networkSecurityPerimeterLoggingConfigurations + = new NetworkSecurityPerimeterLoggingConfigurationsClientImpl(this); + this.virtualApplianceSkus = new VirtualApplianceSkusClientImpl(this); + this.inboundSecurityRuleOperations = new InboundSecurityRuleOperationsClientImpl(this); + this.packetCaptures = new PacketCapturesClientImpl(this); + this.connectionMonitors = new ConnectionMonitorsClientImpl(this); + this.privateDnsZoneGroups = new PrivateDnsZoneGroupsClientImpl(this); + this.routeFilterRules = new RouteFilterRulesClientImpl(this); + this.resourceNavigationLinks = new ResourceNavigationLinksClientImpl(this); + this.serviceAssociationLinks = new ServiceAssociationLinksClientImpl(this); + this.vpnSitesConfigurations = new VpnSitesConfigurationsClientImpl(this); this.vpnServerConfigurationsAssociatedWithVirtualWans = new VpnServerConfigurationsAssociatedWithVirtualWansClientImpl(this); - this.virtualHubRouteTableV2S = new VirtualHubRouteTableV2SClientImpl(this); - this.expressRouteGateways = new ExpressRouteGatewaysClientImpl(this); + this.configurationPolicyGroups = new ConfigurationPolicyGroupsClientImpl(this); + this.hubVirtualNetworkConnections = new HubVirtualNetworkConnectionsClientImpl(this); + this.virtualHubRouteTableV2s = new VirtualHubRouteTableV2sClientImpl(this); + this.vpnConnections = new VpnConnectionsClientImpl(this); + this.vpnLinkConnections = new VpnLinkConnectionsClientImpl(this); + this.natRules = new NatRulesClientImpl(this); + this.p2sVpnGatewaysOperations = new P2sVpnGatewaysOperationsClientImpl(this); this.expressRouteConnections = new ExpressRouteConnectionsClientImpl(this); - this.networkVirtualApplianceConnections = new NetworkVirtualApplianceConnectionsClientImpl(this); this.virtualHubBgpConnections = new VirtualHubBgpConnectionsClientImpl(this); this.virtualHubIpConfigurations = new VirtualHubIpConfigurationsClientImpl(this); - this.hubRouteTables = new HubRouteTablesClientImpl(this); this.routingIntents = new RoutingIntentsClientImpl(this); - this.webApplicationFirewallPolicies = new WebApplicationFirewallPoliciesClientImpl(this); - this.service - = RestProxy.create(NetworkManagementClientService.class, this.httpPipeline, this.getSerializerAdapter()); - } - - /** - * The interface defining all the services for NetworkManagementClient to be used by the proxy service to perform - * REST calls. - */ - @Host("{$host}") - @ServiceInterface(name = "NetworkManagementClient") - public interface NetworkManagementClientService { - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> putBastionShareableLink(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostname, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deleteBastionShareableLink(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostname, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinksByToken") - @ExpectedResponses({ 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deleteBastionShareableLinkByToken(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostname, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") BastionShareableLinkTokenListRequest bslTokenRequest, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getBastionShareableLink(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostname, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getActiveSessions(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostname, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> disconnectActiveSessions(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostname, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") SessionIds sessionIds, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> checkDnsNameAvailability(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("domainNameLabel") String domainNameLabel, - @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.Network/expressRouteProviderPorts/{providerport}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> expressRouteProviderPort(@HostParam("$host") String endpoint, - @PathParam("providerport") String providerport, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listActiveConnectivityConfigurations( - @HostParam("$host") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, - @BodyParam("application/json") ActiveConfigurationParameter parameters, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listActiveSecurityAdminRules( - @HostParam("$host") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, - @BodyParam("application/json") ActiveConfigurationParameter parameters, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> - listNetworkManagerEffectiveConnectivityConfigurations(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, - @QueryParam("api-version") String apiVersion, @QueryParam("$top") Integer top, - @BodyParam("application/json") QueryRequestOptions parameters, @HeaderParam("Accept") String accept, - Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> - listNetworkManagerEffectiveSecurityAdminRules(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, - @QueryParam("api-version") String apiVersion, @QueryParam("$top") Integer top, - @BodyParam("application/json") QueryRequestOptions parameters, @HeaderParam("Accept") String accept, - Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> supportedSecurityProviders(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualWANName") String virtualWanName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> generatevirtualwanvpnserverconfigurationvpnprofile( - @HostParam("$host") String endpoint, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualWANName") String virtualWanName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") VirtualWanVpnProfileParameters vpnClientParams, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> putBastionShareableLinkNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getBastionShareableLinkNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getActiveSessionsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> disconnectActiveSessionsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); - } - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> putBastionShareableLinkSinglePageAsync( - String resourceGroupName, String bastionHostname, BastionShareableLinkListRequest bslRequest) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono - = service - .putBastionShareableLink(this.getEndpoint(), resourceGroupName, bastionHostname, apiVersion, - this.getSubscriptionId(), bslRequest, accept, context) - .cache(); - return Mono.zip(mono, - this.getLroResult(mono, - this.getHttpPipeline(), BastionShareableLinkListResult.class, BastionShareableLinkListResult.class, - this.getContext()).last().flatMap(this::getLroFinalResultOrError)); - }) - .>map( - res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> putBastionShareableLinkSinglePageAsync( - String resourceGroupName, String bastionHostname, BastionShareableLinkListRequest bslRequest, Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - Mono>> mono - = service - .putBastionShareableLink(this.getEndpoint(), resourceGroupName, bastionHostname, apiVersion, - this.getSubscriptionId(), bslRequest, accept, context) - .cache(); - return Mono - .zip(mono, - this.getLroResult( - mono, this.getHttpPipeline(), BastionShareableLinkListResult.class, - BastionShareableLinkListResult.class, context).last().flatMap(this::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)); - } - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux putBastionShareableLinkAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest) { - return new PagedFlux<>( - () -> putBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostname, bslRequest), - nextLink -> putBastionShareableLinkNextSinglePageAsync(nextLink)); - } - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux putBastionShareableLinkAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest, Context context) { - return new PagedFlux<>( - () -> putBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostname, bslRequest, context), - nextLink -> putBastionShareableLinkNextSinglePageAsync(nextLink, context)); - } - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable putBastionShareableLink(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest) { - return new PagedIterable<>(putBastionShareableLinkAsync(resourceGroupName, bastionHostname, bslRequest)); - } - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable putBastionShareableLink(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest, Context context) { - return new PagedIterable<>( - putBastionShareableLinkAsync(resourceGroupName, bastionHostname, bslRequest, context)); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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) - public Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.deleteBastionShareableLink(this.getEndpoint(), resourceGroupName, - bastionHostname, apiVersion, this.getSubscriptionId(), bslRequest, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest, Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service.deleteBastionShareableLink(this.getEndpoint(), resourceGroupName, bastionHostname, apiVersion, - this.getSubscriptionId(), bslRequest, accept, context); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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) - public PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest) { - Mono>> mono - = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostname, bslRequest); - return this.getLroResult(mono, this.getHttpPipeline(), Void.class, Void.class, this.getContext()); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest, Context context) { - context = this.mergeContext(context); - Mono>> mono - = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostname, bslRequest, context); - return this.getLroResult(mono, this.getHttpPipeline(), Void.class, Void.class, context); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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> beginDeleteBastionShareableLink(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest) { - return this.beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostname, bslRequest) - .getSyncPoller(); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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> beginDeleteBastionShareableLink(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest, Context context) { - return this.beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostname, bslRequest, context) - .getSyncPoller(); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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) - public Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest) { - return beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostname, bslRequest).last() - .flatMap(this::getLroFinalResultOrError); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest, Context context) { - return beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostname, bslRequest, context).last() - .flatMap(this::getLroFinalResultOrError); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 deleteBastionShareableLink(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest) { - deleteBastionShareableLinkAsync(resourceGroupName, bastionHostname, bslRequest).block(); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 deleteBastionShareableLink(String resourceGroupName, String bastionHostname, - BastionShareableLinkListRequest bslRequest, Context context) { - deleteBastionShareableLinkAsync(resourceGroupName, bastionHostname, bslRequest, context).block(); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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) - public Mono>> deleteBastionShareableLinkByTokenWithResponseAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkTokenListRequest bslTokenRequest) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (bslTokenRequest == null) { - return Mono - .error(new IllegalArgumentException("Parameter bslTokenRequest is required and cannot be null.")); - } else { - bslTokenRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.deleteBastionShareableLinkByToken(this.getEndpoint(), resourceGroupName, - bastionHostname, apiVersion, this.getSubscriptionId(), bslTokenRequest, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteBastionShareableLinkByTokenWithResponseAsync( - String resourceGroupName, String bastionHostname, BastionShareableLinkTokenListRequest bslTokenRequest, - Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (bslTokenRequest == null) { - return Mono - .error(new IllegalArgumentException("Parameter bslTokenRequest is required and cannot be null.")); - } else { - bslTokenRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service.deleteBastionShareableLinkByToken(this.getEndpoint(), resourceGroupName, bastionHostname, - apiVersion, this.getSubscriptionId(), bslTokenRequest, accept, context); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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) - public PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkTokenListRequest bslTokenRequest) { - Mono>> mono - = deleteBastionShareableLinkByTokenWithResponseAsync(resourceGroupName, bastionHostname, bslTokenRequest); - return this.getLroResult(mono, this.getHttpPipeline(), Void.class, Void.class, this.getContext()); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { - context = this.mergeContext(context); - Mono>> mono = deleteBastionShareableLinkByTokenWithResponseAsync(resourceGroupName, - bastionHostname, bslTokenRequest, context); - return this.getLroResult(mono, this.getHttpPipeline(), Void.class, Void.class, context); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, - String bastionHostname, BastionShareableLinkTokenListRequest bslTokenRequest) { - return this.beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostname, bslTokenRequest) - .getSyncPoller(); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, - String bastionHostname, BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { - return this - .beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostname, bslTokenRequest, context) - .getSyncPoller(); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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) - public Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostname, - BastionShareableLinkTokenListRequest bslTokenRequest) { - return beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostname, bslTokenRequest).last() - .flatMap(this::getLroFinalResultOrError); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostname, - BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { - return beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostname, bslTokenRequest, context) - .last() - .flatMap(this::getLroFinalResultOrError); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostname, - BastionShareableLinkTokenListRequest bslTokenRequest) { - deleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostname, bslTokenRequest).block(); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostname, - BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { - deleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostname, bslTokenRequest, context).block(); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getBastionShareableLinkSinglePageAsync( - String resourceGroupName, String bastionHostname, BastionShareableLinkListRequest bslRequest) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getBastionShareableLink(this.getEndpoint(), resourceGroupName, - bastionHostname, apiVersion, this.getSubscriptionId(), bslRequest, 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.getContext()).readOnly())); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getBastionShareableLinkSinglePageAsync( - String resourceGroupName, String bastionHostname, BastionShareableLinkListRequest bslRequest, Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service - .getBastionShareableLink(this.getEndpoint(), resourceGroupName, bastionHostname, apiVersion, - this.getSubscriptionId(), bslRequest, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getBastionShareableLinkAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest) { - return new PagedFlux<>( - () -> getBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostname, bslRequest), - nextLink -> getBastionShareableLinkNextSinglePageAsync(nextLink)); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getBastionShareableLinkAsync(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest, Context context) { - return new PagedFlux<>( - () -> getBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostname, bslRequest, context), - nextLink -> getBastionShareableLinkNextSinglePageAsync(nextLink, context)); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getBastionShareableLink(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest) { - return new PagedIterable<>(getBastionShareableLinkAsync(resourceGroupName, bastionHostname, bslRequest)); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getBastionShareableLink(String resourceGroupName, - String bastionHostname, BastionShareableLinkListRequest bslRequest, Context context) { - return new PagedIterable<>( - getBastionShareableLinkAsync(resourceGroupName, bastionHostname, bslRequest, context)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 response for GetActiveSessions along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getActiveSessionsSinglePageAsync(String resourceGroupName, - String bastionHostname) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono - = service - .getActiveSessions(this.getEndpoint(), resourceGroupName, bastionHostname, apiVersion, - this.getSubscriptionId(), accept, context) - .cache(); - return Mono.zip(mono, - this.getLroResult(mono, - this.getHttpPipeline(), BastionActiveSessionListResult.class, BastionActiveSessionListResult.class, - this.getContext()).last().flatMap(this::getLroFinalResultOrError)); - }) - .>map( - res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 response for GetActiveSessions along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getActiveSessionsSinglePageAsync(String resourceGroupName, - String bastionHostname, Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - Mono>> mono - = service - .getActiveSessions(this.getEndpoint(), resourceGroupName, bastionHostname, apiVersion, - this.getSubscriptionId(), accept, context) - .cache(); - return Mono - .zip(mono, - this.getLroResult( - mono, this.getHttpPipeline(), BastionActiveSessionListResult.class, - BastionActiveSessionListResult.class, context).last().flatMap(this::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 response for GetActiveSessions as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getActiveSessionsAsync(String resourceGroupName, - String bastionHostname) { - return new PagedFlux<>(() -> getActiveSessionsSinglePageAsync(resourceGroupName, bastionHostname), - nextLink -> getActiveSessionsNextSinglePageAsync(nextLink)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 response for GetActiveSessions as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getActiveSessionsAsync(String resourceGroupName, - String bastionHostname, Context context) { - return new PagedFlux<>(() -> getActiveSessionsSinglePageAsync(resourceGroupName, bastionHostname, context), - nextLink -> getActiveSessionsNextSinglePageAsync(nextLink, context)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 response for GetActiveSessions as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getActiveSessions(String resourceGroupName, - String bastionHostname) { - return new PagedIterable<>(getActiveSessionsAsync(resourceGroupName, bastionHostname)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @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 response for GetActiveSessions as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getActiveSessions(String resourceGroupName, String bastionHostname, - Context context) { - return new PagedIterable<>(getActiveSessionsAsync(resourceGroupName, bastionHostname, context)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> disconnectActiveSessionsSinglePageAsync( - String resourceGroupName, String bastionHostname, SessionIds sessionIds) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (sessionIds == null) { - return Mono.error(new IllegalArgumentException("Parameter sessionIds is required and cannot be null.")); - } else { - sessionIds.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.disconnectActiveSessions(this.getEndpoint(), resourceGroupName, - bastionHostname, apiVersion, this.getSubscriptionId(), sessionIds, 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.getContext()).readOnly())); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> disconnectActiveSessionsSinglePageAsync( - String resourceGroupName, String bastionHostname, SessionIds sessionIds, Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostname == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostname is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (sessionIds == null) { - return Mono.error(new IllegalArgumentException("Parameter sessionIds is required and cannot be null.")); - } else { - sessionIds.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service - .disconnectActiveSessions(this.getEndpoint(), resourceGroupName, bastionHostname, apiVersion, - this.getSubscriptionId(), sessionIds, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, - String bastionHostname, SessionIds sessionIds) { - return new PagedFlux<>( - () -> disconnectActiveSessionsSinglePageAsync(resourceGroupName, bastionHostname, sessionIds), - nextLink -> disconnectActiveSessionsNextSinglePageAsync(nextLink)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, - String bastionHostname, SessionIds sessionIds, Context context) { - return new PagedFlux<>( - () -> disconnectActiveSessionsSinglePageAsync(resourceGroupName, bastionHostname, sessionIds, context), - nextLink -> disconnectActiveSessionsNextSinglePageAsync(nextLink, context)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable disconnectActiveSessions(String resourceGroupName, - String bastionHostname, SessionIds sessionIds) { - return new PagedIterable<>(disconnectActiveSessionsAsync(resourceGroupName, bastionHostname, sessionIds)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. - * @param bastionHostname The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable disconnectActiveSessions(String resourceGroupName, - String bastionHostname, SessionIds sessionIds, Context context) { - return new PagedIterable<>( - disconnectActiveSessionsAsync(resourceGroupName, bastionHostname, sessionIds, context)); - } - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location of the domain name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> checkDnsNameAvailabilityWithResponseAsync(String location, - String domainNameLabel) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } - if (domainNameLabel == null) { - return Mono - .error(new IllegalArgumentException("Parameter domainNameLabel is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.checkDnsNameAvailability(this.getEndpoint(), location, domainNameLabel, - apiVersion, this.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location of the domain name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> checkDnsNameAvailabilityWithResponseAsync(String location, - String domainNameLabel, Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } - if (domainNameLabel == null) { - return Mono - .error(new IllegalArgumentException("Parameter domainNameLabel is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service.checkDnsNameAvailability(this.getEndpoint(), location, domainNameLabel, apiVersion, - this.getSubscriptionId(), accept, context); - } - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location of the domain name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono checkDnsNameAvailabilityAsync(String location, String domainNameLabel) { - return checkDnsNameAvailabilityWithResponseAsync(location, domainNameLabel) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location of the domain name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response checkDnsNameAvailabilityWithResponse(String location, - String domainNameLabel, Context context) { - return checkDnsNameAvailabilityWithResponseAsync(location, domainNameLabel, context).block(); - } - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location of the domain name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public DnsNameAvailabilityResultInner checkDnsNameAvailability(String location, String domainNameLabel) { - return checkDnsNameAvailabilityWithResponse(location, domainNameLabel, Context.NONE).getValue(); - } - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - expressRouteProviderPortWithResponseAsync(String providerport) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (providerport == null) { - return Mono.error(new IllegalArgumentException("Parameter providerport is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.expressRouteProviderPort(this.getEndpoint(), providerport, apiVersion, - this.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> expressRouteProviderPortWithResponseAsync(String providerport, - Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (providerport == null) { - return Mono.error(new IllegalArgumentException("Parameter providerport is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service.expressRouteProviderPort(this.getEndpoint(), providerport, apiVersion, this.getSubscriptionId(), - accept, context); - } - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono expressRouteProviderPortAsync(String providerport) { - return expressRouteProviderPortWithResponseAsync(providerport).flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response expressRouteProviderPortWithResponse(String providerport, - Context context) { - return expressRouteProviderPortWithResponseAsync(providerport, context).block(); - } - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteProviderPortInner expressRouteProviderPort(String providerport) { - return expressRouteProviderPortWithResponse(providerport, Context.NONE).getValue(); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, - ActiveConfigurationParameter parameters, Integer top) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listActiveConnectivityConfigurations(this.getEndpoint(), apiVersion, - this.getSubscriptionId(), resourceGroupName, networkManagerName, top, parameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, - ActiveConfigurationParameter parameters, Integer top, Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service.listActiveConnectivityConfigurations(this.getEndpoint(), apiVersion, this.getSubscriptionId(), - resourceGroupName, networkManagerName, top, parameters, accept, context); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active connectivity configurations on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listActiveConnectivityConfigurationsAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { - final Integer top = null; - return listActiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, networkManagerName, parameters, - top).flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listActiveConnectivityConfigurationsWithResponse( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, - Context context) { - return listActiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, networkManagerName, parameters, - top, context).block(); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active connectivity configurations. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ActiveConnectivityConfigurationsListResultInner listActiveConnectivityConfigurations( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { - final Integer top = null; - return listActiveConnectivityConfigurationsWithResponse(resourceGroupName, networkManagerName, parameters, top, - Context.NONE).getValue(); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listActiveSecurityAdminRulesWithResponseAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listActiveSecurityAdminRules(this.getEndpoint(), apiVersion, - this.getSubscriptionId(), resourceGroupName, networkManagerName, top, parameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listActiveSecurityAdminRulesWithResponseAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, - Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service.listActiveSecurityAdminRules(this.getEndpoint(), apiVersion, this.getSubscriptionId(), - resourceGroupName, networkManagerName, top, parameters, accept, context); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active security admin rules on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listActiveSecurityAdminRulesAsync(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters) { - final Integer top = null; - return listActiveSecurityAdminRulesWithResponseAsync(resourceGroupName, networkManagerName, parameters, top) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listActiveSecurityAdminRulesWithResponse( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, - Context context) { - return listActiveSecurityAdminRulesWithResponseAsync(resourceGroupName, networkManagerName, parameters, top, - context).block(); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active security admin rules. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ActiveSecurityAdminRulesListResultInner listActiveSecurityAdminRules(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters) { - final Integer top = null; - return listActiveSecurityAdminRulesWithResponse(resourceGroupName, networkManagerName, parameters, top, - Context.NONE).getValue(); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listNetworkManagerEffectiveConnectivityConfigurations(this.getEndpoint(), - this.getSubscriptionId(), resourceGroupName, virtualNetworkName, apiVersion, top, parameters, accept, - context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service.listNetworkManagerEffectiveConnectivityConfigurations(this.getEndpoint(), - this.getSubscriptionId(), resourceGroupName, virtualNetworkName, apiVersion, top, parameters, accept, - context); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono - listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters) { - final Integer top = null; - return listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, - virtualNetworkName, parameters, top).flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response - listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { - return listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, - virtualNetworkName, parameters, top, context).block(); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkManagerEffectiveConnectivityConfigurationListResultInner - listNetworkManagerEffectiveConnectivityConfigurations(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters) { - final Integer top = null; - return listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(resourceGroupName, virtualNetworkName, - parameters, top, Context.NONE).getValue(); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listNetworkManagerEffectiveSecurityAdminRules(this.getEndpoint(), - this.getSubscriptionId(), resourceGroupName, virtualNetworkName, apiVersion, top, parameters, accept, - context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service.listNetworkManagerEffectiveSecurityAdminRules(this.getEndpoint(), this.getSubscriptionId(), - resourceGroupName, virtualNetworkName, apiVersion, top, parameters, accept, context); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono - listNetworkManagerEffectiveSecurityAdminRulesAsync(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters) { - final Integer top = null; - return listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(resourceGroupName, virtualNetworkName, - parameters, top).flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response - listNetworkManagerEffectiveSecurityAdminRulesWithResponse(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters, Integer top, Context context) { - return listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(resourceGroupName, virtualNetworkName, - parameters, top, context).block(); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkManagerEffectiveSecurityAdminRulesListResultInner listNetworkManagerEffectiveSecurityAdminRules( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters) { - final Integer top = null; - return listNetworkManagerEffectiveSecurityAdminRulesWithResponse(resourceGroupName, virtualNetworkName, - parameters, top, Context.NONE).getValue(); - } - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which supported security providers are needed. - * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWanName) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.supportedSecurityProviders(this.getEndpoint(), this.getSubscriptionId(), - resourceGroupName, virtualWanName, apiVersion, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which supported security providers are needed. - * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWanName, Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service.supportedSecurityProviders(this.getEndpoint(), this.getSubscriptionId(), resourceGroupName, - virtualWanName, apiVersion, accept, context); - } - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which supported security providers are needed. - * @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 collection of SecurityProviders on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono supportedSecurityProvidersAsync(String resourceGroupName, - String virtualWanName) { - return supportedSecurityProvidersWithResponseAsync(resourceGroupName, virtualWanName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which supported security providers are needed. - * @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 collection of SecurityProviders along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response supportedSecurityProvidersWithResponse(String resourceGroupName, - String virtualWanName, Context context) { - return supportedSecurityProvidersWithResponseAsync(resourceGroupName, virtualWanName, context).block(); - } - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which supported security providers are needed. - * @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 collection of SecurityProviders. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualWanSecurityProvidersInner supportedSecurityProviders(String resourceGroupName, - String virtualWanName) { - return supportedSecurityProvidersWithResponse(resourceGroupName, virtualWanName, Context.NONE).getValue(); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 vpn Profile Response for package generation along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( - String resourceGroupName, String virtualWanName, VirtualWanVpnProfileParameters vpnClientParams) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); - } - if (vpnClientParams == null) { - return Mono - .error(new IllegalArgumentException("Parameter vpnClientParams is required and cannot be null.")); - } else { - vpnClientParams.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.generatevirtualwanvpnserverconfigurationvpnprofile(this.getEndpoint(), - this.getSubscriptionId(), resourceGroupName, virtualWanName, apiVersion, vpnClientParams, accept, - context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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 vpn Profile Response for package generation along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( - String resourceGroupName, String virtualWanName, VirtualWanVpnProfileParameters vpnClientParams, - Context context) { - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - if (this.getSubscriptionId() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); - } - if (vpnClientParams == null) { - return Mono - .error(new IllegalArgumentException("Parameter vpnClientParams is required and cannot be null.")); - } else { - vpnClientParams.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.mergeContext(context); - return service.generatevirtualwanvpnserverconfigurationvpnprofile(this.getEndpoint(), this.getSubscriptionId(), - resourceGroupName, virtualWanName, apiVersion, vpnClientParams, accept, context); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 PollerFlux} for polling of vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWanName, - VirtualWanVpnProfileParameters vpnClientParams) { - Mono>> mono = generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( - resourceGroupName, virtualWanName, vpnClientParams); - return this.getLroResult(mono, this.getHttpPipeline(), - VpnProfileResponseInner.class, VpnProfileResponseInner.class, this.getContext()); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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 PollerFlux} for polling of vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWanName, - VirtualWanVpnProfileParameters vpnClientParams, Context context) { - context = this.mergeContext(context); - Mono>> mono = generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( - resourceGroupName, virtualWanName, vpnClientParams, context); - return this.getLroResult(mono, this.getHttpPipeline(), - VpnProfileResponseInner.class, VpnProfileResponseInner.class, context); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWanName, - VirtualWanVpnProfileParameters vpnClientParams) { - return this - .beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWanName, - vpnClientParams) - .getSyncPoller(); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWanName, - VirtualWanVpnProfileParameters vpnClientParams, Context context) { - return this - .beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWanName, - vpnClientParams, context) - .getSyncPoller(); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 vpn Profile Response for package generation on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync( - String resourceGroupName, String virtualWanName, VirtualWanVpnProfileParameters vpnClientParams) { - return beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWanName, - vpnClientParams).last().flatMap(this::getLroFinalResultOrError); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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 vpn Profile Response for package generation on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync( - String resourceGroupName, String virtualWanName, VirtualWanVpnProfileParameters vpnClientParams, - Context context) { - return beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWanName, - vpnClientParams, context).last().flatMap(this::getLroFinalResultOrError); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, - String virtualWanName, VirtualWanVpnProfileParameters vpnClientParams) { - return generatevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWanName, - vpnClientParams).block(); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, - String virtualWanName, VirtualWanVpnProfileParameters vpnClientParams, Context context) { - return generatevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWanName, - vpnClientParams, context).block(); - } - - /** - * 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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> putBastionShareableLinkNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.putBastionShareableLinkNext(nextLink, this.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.getContext()).readOnly())); - } - - /** - * 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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> putBastionShareableLinkNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.mergeContext(context); - return service.putBastionShareableLinkNext(nextLink, this.getEndpoint(), accept, context) - .map(res -> 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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getBastionShareableLinkNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getBastionShareableLinkNext(nextLink, this.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.getContext()).readOnly())); - } - - /** - * 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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getBastionShareableLinkNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.mergeContext(context); - return service.getBastionShareableLinkNext(nextLink, this.getEndpoint(), accept, context) - .map(res -> 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 response for GetActiveSessions along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getActiveSessionsNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getActiveSessionsNext(nextLink, this.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.getContext()).readOnly())); - } - - /** - * 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 response for GetActiveSessions along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getActiveSessionsNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.mergeContext(context); - return service.getActiveSessionsNext(nextLink, this.getEndpoint(), accept, context) - .map(res -> 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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> disconnectActiveSessionsNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.disconnectActiveSessionsNext(nextLink, this.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.getContext()).readOnly())); - } - - /** - * 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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> disconnectActiveSessionsNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.getEndpoint() == null) { - return Mono - .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.mergeContext(context); - return service.disconnectActiveSessionsNext(nextLink, this.getEndpoint(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + this.availableDelegations = new AvailableDelegationsClientImpl(this); + this.availableResourceGroupDelegations = new AvailableResourceGroupDelegationsClientImpl(this); + this.availableServiceAliases = new AvailableServiceAliasesClientImpl(this); + this.azureFirewallFqdnTags = new AzureFirewallFqdnTagsClientImpl(this); + this.availableEndpointServices = new AvailableEndpointServicesClientImpl(this); + this.expressRouteServiceProviders = new ExpressRouteServiceProvidersClientImpl(this); + this.networkSecurityPerimeterAssociableResourceTypes + = new NetworkSecurityPerimeterAssociableResourceTypesClientImpl(this); + this.networkSecurityPerimeterOperationStatuses = new NetworkSecurityPerimeterOperationStatusesClientImpl(this); + this.networkSecurityPerimeterServiceTags = new NetworkSecurityPerimeterServiceTagsClientImpl(this); + this.availablePrivateEndpointTypes = new AvailablePrivateEndpointTypesClientImpl(this); + this.bgpServiceCommunities = new BgpServiceCommunitiesClientImpl(this); + this.serviceTags = new ServiceTagsClientImpl(this); + this.serviceTagInformations = new ServiceTagInformationsClientImpl(this); + this.usages = new UsagesClientImpl(this); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java index ce2847358d69..2340474443bd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java @@ -1,13 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.ExpectedResponses; 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.PathParam; @@ -60,25 +59,24 @@ public final class NetworkManagerCommitsClientImpl implements NetworkManagerComm * The interface defining all the services for NetworkManagementClientNetworkManagerCommits to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkManagerCommits") public interface NetworkManagerCommitsService { - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> post(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> post(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") NetworkManagerCommitInner parameters, @HeaderParam("Accept") String accept, + @PathParam("networkManagerName") String networkManagerName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NetworkManagerCommitInner parameters, Context context); } /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -111,17 +109,18 @@ public Mono>> postWithResponseAsync(String resourceGro parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.post(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, apiVersion, parameters, accept, context)) + .withContext(context -> service.post(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @param context The context to associate with this operation. @@ -155,16 +154,17 @@ private Mono>> postWithResponseAsync(String resourceGr parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.post(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, apiVersion, parameters, accept, context); + return service.post(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, contentType, accept, parameters, context); } /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -185,7 +185,7 @@ private Mono>> postWithResponseAsync(String resourceGr /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @param context The context to associate with this operation. @@ -207,7 +207,7 @@ private PollerFlux, NetworkManagerCommitIn /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -224,7 +224,7 @@ private PollerFlux, NetworkManagerCommitIn /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @param context The context to associate with this operation. @@ -242,7 +242,7 @@ public SyncPoller, NetworkManagerCommitInn /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -260,7 +260,7 @@ public Mono postAsync(String resourceGroupName, Strin /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @param context The context to associate with this operation. @@ -279,7 +279,7 @@ private Mono postAsync(String resourceGroupName, Stri /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -296,7 +296,7 @@ public NetworkManagerCommitInner post(String resourceGroupName, String networkMa /** * Post a Network Manager Commit. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network commit is. * @param context The context to associate with this operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java index 28dcffbda890..7f135921c25d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -17,13 +17,18 @@ 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.util.Context; import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.NetworkManagerDeploymentStatusOperationsClient; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerDeploymentStatusListResultInner; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerDeploymentStatusInner; +import com.azure.resourcemanager.network.implementation.models.NetworkManagerDeploymentStatusListResult; import com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatusParameter; import reactor.core.publisher.Mono; @@ -58,26 +63,25 @@ public final class NetworkManagerDeploymentStatusOperationsClientImpl * The interface defining all the services for NetworkManagementClientNetworkManagerDeploymentStatusOperations to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkManagerDeploymentStatusOperations") public interface NetworkManagerDeploymentStatusOperationsService { @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("api-version") String apiVersion, - @QueryParam("$top") Integer top, - @BodyParam("application/json") NetworkManagerDeploymentStatusParameter parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") NetworkManagerDeploymentStatusParameter parameters, Context context); } /** * Post to List of Network Manager Deployment Status. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -85,11 +89,11 @@ Mono> list(@HostParam("$ * @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 list of Network Manager Deployment Status along with {@link Response} on successful completion of + * @return a list of Network Manager Deployment Status along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listWithResponseAsync(String resourceGroupName, + private Mono> listSinglePageAsync(String resourceGroupName, String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, Integer top) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -115,15 +119,17 @@ public Mono> listWithRes final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, apiVersion, top, parameters, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, top, accept, parameters, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Post to List of Network Manager Deployment Status. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -132,13 +138,12 @@ public Mono> listWithRes * @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 list of Network Manager Deployment Status along with {@link Response} on successful completion of + * @return a list of Network Manager Deployment Status along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listWithResponseAsync( - String resourceGroupName, String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, - Integer top, Context context) { + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, Integer top, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -163,33 +168,54 @@ private Mono> listWithRe final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, apiVersion, top, parameters, accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, top, accept, parameters, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), null, null)); } /** * Post to List of Network Manager Deployment Status. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. * @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 list of Network Manager Deployment Status on successful completion of {@link Mono}. + * @return a list of Network Manager Deployment Status as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listAsync(String resourceGroupName, - String networkManagerName, NetworkManagerDeploymentStatusParameter parameters) { + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + NetworkManagerDeploymentStatusParameter parameters, Integer top) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, parameters, top)); + } + + /** + * Post to List of Network Manager Deployment Status. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which Managed Network deployment status is. + * @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 list of Network Manager Deployment Status as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + NetworkManagerDeploymentStatusParameter parameters) { final Integer top = null; - return listWithResponseAsync(resourceGroupName, networkManagerName, parameters, top) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, parameters, top)); } /** * Post to List of Network Manager Deployment Status. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -198,29 +224,50 @@ public Mono listAsync(String reso * @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 list of Network Manager Deployment Status along with {@link Response}. + * @return a list of Network Manager Deployment Status as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listWithResponse(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, Integer top, Context context) { - return listWithResponseAsync(resourceGroupName, networkManagerName, parameters, top, context).block(); + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, parameters, top, context)); } /** * Post to List of Network Manager Deployment Status. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. * @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 list of Network Manager Deployment Status. + * @return a list of Network Manager Deployment Status as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkManagerDeploymentStatusListResultInner list(String resourceGroupName, String networkManagerName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, NetworkManagerDeploymentStatusParameter parameters) { final Integer top = null; - return listWithResponse(resourceGroupName, networkManagerName, parameters, top, Context.NONE).getValue(); + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, parameters, top)); + } + + /** + * Post to List of Network Manager Deployment Status. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which Managed Network deployment status is. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 a list of Network Manager Deployment Status as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + NetworkManagerDeploymentStatusParameter parameters, Integer top, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, parameters, top, context)); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java index e2ecd5b9fe0c..02f67298aa9f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkManagerRoutingConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.NetworkManagerRoutingConfigurationInner; -import com.azure.resourcemanager.network.models.NetworkManagerRoutingConfigurationListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkManagerRoutingConfigurationListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,259 +67,62 @@ public final class NetworkManagerRoutingConfigurationsClientImpl implements Netw * The interface defining all the services for NetworkManagementClientNetworkManagerRoutingConfigurations to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkManagerRoutingConfigurations") public interface NetworkManagerRoutingConfigurationsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("configurationName") String configurationName, + @PathParam("configurationName") String configurationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NetworkManagerRoutingConfigurationInner routingConfiguration, - @HeaderParam("Accept") String accept, Context context); + Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @QueryParam("force") Boolean force, - @HeaderParam("Accept") String accept, Context context); + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Lists all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 list of network manager routing configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, Integer top, String skipToken) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, top, skipToken, 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 all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 a list of network manager routing configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, Integer top, String skipToken, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, top, skipToken, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 list of network manager routing configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, - String networkManagerName, Integer top, String skipToken) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @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 list of network manager routing configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, - String networkManagerName) { - final Integer top = null; - final String skipToken = null; - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 a list of network manager routing configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, - String networkManagerName, Integer top, String skipToken, Context context) { - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @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 list of network manager routing configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, - String networkManagerName) { - final Integer top = null; - final String skipToken = null; - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken)); - } - - /** - * Lists all the network manager routing configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 a list of network manager routing configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, - String networkManagerName, Integer top, String skipToken, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken, context)); - } - /** * Retrieves a network manager routing configuration. * @@ -500,11 +303,12 @@ public Mono> createOrUpdateWit routingConfiguration.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - routingConfiguration, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, contentType, + accept, routingConfiguration, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -552,10 +356,12 @@ private Mono> createOrUpdateWi routingConfiguration.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, routingConfiguration, accept, context); + resourceGroupName, networkManagerName, configurationName, contentType, accept, routingConfiguration, + context); } /** @@ -655,11 +461,10 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext( context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, force, accept, context)) + resourceGroupName, networkManagerName, configurationName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -701,10 +506,9 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, force, accept, context); + networkManagerName, configurationName, force, context); } /** @@ -907,6 +711,208 @@ public void delete(String resourceGroupName, String networkManagerName, String c deleteAsync(resourceGroupName, networkManagerName, configurationName, force, context).block(); } + /** + * Lists all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 NetworkManagerRoutingConfiguration list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, Integer top, String skipToken) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, top, skipToken, 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 all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 NetworkManagerRoutingConfiguration list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, Integer top, String skipToken, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, top, skipToken, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 NetworkManagerRoutingConfiguration list operation as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, + String networkManagerName, Integer top, String skipToken) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 NetworkManagerRoutingConfiguration list operation as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, + String networkManagerName) { + final Integer top = null; + final String skipToken = null; + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 NetworkManagerRoutingConfiguration list operation as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, + String networkManagerName, Integer top, String skipToken, Context context) { + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 NetworkManagerRoutingConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, + String networkManagerName) { + final Integer top = null; + final String skipToken = null; + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken)); + } + + /** + * Lists all the network manager routing configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 NetworkManagerRoutingConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, + String networkManagerName, Integer top, String skipToken, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken, context)); + } + /** * Get the next page of items. * @@ -914,8 +920,8 @@ public void delete(String resourceGroupName, String networkManagerName, String c * @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 list of network manager routing configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a NetworkManagerRoutingConfiguration list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -942,8 +948,8 @@ private Mono> listNextSin * @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 list of network manager routing configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a NetworkManagerRoutingConfiguration list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java index 2428112031ff..1fa78bdbc1c3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -14,6 +14,7 @@ import com.azure.core.annotation.HostParam; import com.azure.core.annotation.Patch; import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; import com.azure.core.annotation.Put; import com.azure.core.annotation.QueryParam; import com.azure.core.annotation.ReturnType; @@ -33,8 +34,13 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkManagersClient; +import com.azure.resourcemanager.network.fluent.models.ActiveBaseSecurityAdminRuleInner; +import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationInner; import com.azure.resourcemanager.network.fluent.models.NetworkManagerInner; -import com.azure.resourcemanager.network.models.NetworkManagerListResult; +import com.azure.resourcemanager.network.implementation.models.ActiveConnectivityConfigurationsListResult; +import com.azure.resourcemanager.network.implementation.models.ActiveSecurityAdminRulesListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkManagerListResult; +import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; import com.azure.resourcemanager.network.models.PatchObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,91 +79,112 @@ public final class NetworkManagersClientImpl implements InnerSupportsGet> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkManagerName") String networkManagerName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") NetworkManagerInner parameters, @HeaderParam("Accept") String accept, + @PathParam("networkManagerName") String networkManagerName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NetworkManagerInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> patch(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") PatchObject parameters, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("api-version") String apiVersion, - @QueryParam("force") Boolean force, @HeaderParam("Accept") String accept, Context context); + @PathParam("networkManagerName") String networkManagerName, @QueryParam("force") Boolean force, + Context context); @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> patch(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") PatchObject parameters, @HeaderParam("Accept") String accept, - Context context); + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers") + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, + Mono> listActiveConnectivityConfigurations( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") ActiveConfigurationParameter parameters, Context context); + + @Headers({ "Content-Type: application/json" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listActiveSecurityAdminRules( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") ActiveConfigurationParameter parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listBySubscriptionNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @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> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listBySubscriptionNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -186,15 +213,15 @@ public Mono> getByResourceGroupWithResponseAsync(S final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, apiVersion, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -224,14 +251,14 @@ private Mono> getByResourceGroupWithResponseAsync( final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, apiVersion, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, accept, context); } /** * Gets the specified Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -247,7 +274,7 @@ public Mono getByResourceGroupAsync(String resourceGroupNam /** * Gets the specified Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -264,7 +291,7 @@ public Response getByResourceGroupWithResponse(String resou /** * Gets the specified Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -279,7 +306,7 @@ public NetworkManagerInner getByResourceGroup(String resourceGroupName, String n /** * Creates or updates a Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which network manager is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -312,17 +339,19 @@ public Mono> createOrUpdateWithResponseAsync(Strin parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, apiVersion, parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which network manager is. * @param context The context to associate with this operation. @@ -356,16 +385,17 @@ private Mono> createOrUpdateWithResponseAsync(Stri parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, contentType, accept, parameters, context); } /** * Creates or updates a Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which network manager is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -383,7 +413,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates a Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which network manager is. * @param context The context to associate with this operation. @@ -401,7 +431,7 @@ public Response createOrUpdateWithResponse(String resourceG /** * Creates or updates a Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which network manager is. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -415,10 +445,151 @@ public NetworkManagerInner createOrUpdate(String resourceGroupName, String netwo return createOrUpdateWithResponse(resourceGroupName, networkManagerName, parameters, Context.NONE).getValue(); } + /** + * Patch NetworkManager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @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 Managed Network resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> patchWithResponseAsync(String resourceGroupName, + String networkManagerName, PatchObject parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.patch(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Patch NetworkManager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @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 Managed Network resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> patchWithResponseAsync(String resourceGroupName, + String networkManagerName, PatchObject parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.patch(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, contentType, accept, parameters, context); + } + + /** + * Patch NetworkManager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @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 Managed Network resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono patchAsync(String resourceGroupName, String networkManagerName, + PatchObject parameters) { + return patchWithResponseAsync(resourceGroupName, networkManagerName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Patch NetworkManager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @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 Managed Network resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response patchWithResponse(String resourceGroupName, String networkManagerName, + PatchObject parameters, Context context) { + return patchWithResponseAsync(resourceGroupName, networkManagerName, parameters, context).block(); + } + + /** + * Patch NetworkManager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Parameters supplied to specify which network manager is. + * @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 Managed Network resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkManagerInner patch(String resourceGroupName, String networkManagerName, PatchObject parameters) { + return patchWithResponse(resourceGroupName, networkManagerName, parameters, Context.NONE).getValue(); + } + /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -447,17 +618,16 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, apiVersion, force, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -487,16 +657,15 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, apiVersion, force, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, force, context); } /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -516,7 +685,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -534,7 +703,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -557,7 +726,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -573,7 +742,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -592,7 +761,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -610,7 +779,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -627,7 +796,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -647,7 +816,7 @@ private Mono deleteAsync(String resourceGroupName, String networkManagerNa /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -662,7 +831,7 @@ public void delete(String resourceGroupName, String networkManagerName) { /** * Deletes a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been * deployed, the service will do a cleanup deployment in the background, prior to the delete. @@ -677,19 +846,23 @@ public void delete(String resourceGroupName, String networkManagerName, Boolean } /** - * Patch NetworkManager. + * List network managers in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which network manager is. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. * @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 Managed Network resource along with {@link Response} on successful completion of {@link Mono}. + * @return the response of a NetworkManager list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> patchWithResponseAsync(String resourceGroupName, - String networkManagerName, PatchObject parameters) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Integer top, String skipToken) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -702,38 +875,35 @@ public Mono> patchWithResponseAsync(String resourc return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.patch(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, apiVersion, parameters, accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, top, skipToken, 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())); } /** - * Patch NetworkManager. + * List network managers in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which network manager is. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. * @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 Managed Network resource along with {@link Response} on successful completion of {@link Mono}. + * @return the response of a NetworkManager list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> patchWithResponseAsync(String resourceGroupName, - String networkManagerName, PatchObject parameters, Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Integer top, String skipToken, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -746,72 +916,111 @@ private Mono> patchWithResponseAsync(String resour return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.patch(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, apiVersion, parameters, accept, context); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, top, skipToken, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Patch NetworkManager. + * List network managers in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which network manager is. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. * @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 Managed Network resource on successful completion of {@link Mono}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono patchAsync(String resourceGroupName, String networkManagerName, - PatchObject parameters) { - return patchWithResponseAsync(resourceGroupName, networkManagerName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, + String skipToken) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Patch NetworkManager. + * List network managers in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which network manager is. - * @param context The context to associate with this operation. + * @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 Managed Network resource along with {@link Response}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response patchWithResponse(String resourceGroupName, String networkManagerName, - PatchObject parameters, Context context) { - return patchWithResponseAsync(resourceGroupName, networkManagerName, parameters, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + final Integer top = null; + final String skipToken = null; + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Patch NetworkManager. + * List network managers in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which network manager is. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 Managed Network resource. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkManagerInner patch(String resourceGroupName, String networkManagerName, PatchObject parameters) { - return patchWithResponse(resourceGroupName, networkManagerName, parameters, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, + String skipToken, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * List network managers in a 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 NetworkManager list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + final Integer top = null; + final String skipToken = null; + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, top, skipToken)); + } + + /** + * List network managers in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 NetworkManager list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, Integer top, + String skipToken, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, top, skipToken, context)); } /** @@ -825,8 +1034,8 @@ public NetworkManagerInner patch(String resourceGroupName, String networkManager * @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 result of the request to list NetworkManager along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManager list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Integer top, String skipToken) { @@ -841,7 +1050,7 @@ private Mono> listSinglePageAsync(Integer top final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), top, skipToken, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -860,8 +1069,8 @@ private Mono> listSinglePageAsync(Integer top * @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 result of the request to list NetworkManager along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManager list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Integer top, String skipToken, @@ -878,7 +1087,7 @@ private Mono> listSinglePageAsync(Integer top final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, top, skipToken, accept, + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); @@ -895,7 +1104,7 @@ private Mono> listSinglePageAsync(Integer top * @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 result of the request to list NetworkManager as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(Integer top, String skipToken) { @@ -908,7 +1117,7 @@ public PagedFlux listAsync(Integer top, String skipToken) { * * @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 result of the request to list NetworkManager as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync() { @@ -930,7 +1139,7 @@ public PagedFlux listAsync() { * @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 result of the request to list NetworkManager as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(Integer top, String skipToken, Context context) { @@ -943,7 +1152,7 @@ private PagedFlux listAsync(Integer top, String skipToken, * * @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 result of the request to list NetworkManager as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list() { @@ -964,7 +1173,7 @@ public PagedIterable list() { * @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 result of the request to list NetworkManager as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManager list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(Integer top, String skipToken, Context context) { @@ -972,23 +1181,23 @@ public PagedIterable list(Integer top, String skipToken, Co } /** - * List network managers in a resource group. + * Lists active connectivity configurations in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. * @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 result of the request to list NetworkManager along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return result of the request to list active connectivity configurations along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Integer top, String skipToken) { + private Mono> + listActiveConnectivityConfigurationsSinglePageAsync(String resourceGroupName, String networkManagerName, + ActiveConfigurationParameter parameters, Integer top) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1001,35 +1210,250 @@ private Mono> listByResourceGroupSinglePageAs return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, apiVersion, top, skipToken, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.listActiveConnectivityConfigurations(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, accept, parameters, + context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * List network managers in a resource group. + * Lists active connectivity configurations in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. * @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 result of the request to list NetworkManager along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return result of the request to list active connectivity configurations along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Integer top, String skipToken, Context context) { + private Mono> + listActiveConnectivityConfigurationsSinglePageAsync(String resourceGroupName, String networkManagerName, + ActiveConfigurationParameter parameters, Integer top, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.listActiveConnectivityConfigurations(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, accept, parameters, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), null, null)); + } + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active connectivity configurations as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listActiveConnectivityConfigurationsAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top) { + return new PagedFlux<>(() -> listActiveConnectivityConfigurationsSinglePageAsync(resourceGroupName, + networkManagerName, parameters, top)); + } + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active connectivity configurations as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listActiveConnectivityConfigurationsAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { + final Integer top = null; + return new PagedFlux<>(() -> listActiveConnectivityConfigurationsSinglePageAsync(resourceGroupName, + networkManagerName, parameters, top)); + } + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active connectivity configurations as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listActiveConnectivityConfigurationsAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, + Context context) { + return new PagedFlux<>(() -> listActiveConnectivityConfigurationsSinglePageAsync(resourceGroupName, + networkManagerName, parameters, top, context)); + } + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active connectivity configurations as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listActiveConnectivityConfigurations( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { + final Integer top = null; + return new PagedIterable<>( + listActiveConnectivityConfigurationsAsync(resourceGroupName, networkManagerName, parameters, top)); + } + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active connectivity configurations as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listActiveConnectivityConfigurations( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, + Context context) { + return new PagedIterable<>( + listActiveConnectivityConfigurationsAsync(resourceGroupName, networkManagerName, parameters, top, context)); + } + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active security admin rules along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listActiveSecurityAdminRulesSinglePageAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listActiveSecurityAdminRules(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, accept, parameters, + context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), + res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active security admin rules along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listActiveSecurityAdminRulesSinglePageAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1042,111 +1466,125 @@ private Mono> listByResourceGroupSinglePageAs return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - apiVersion, top, skipToken, accept, context) + .listActiveSecurityAdminRules(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, top, accept, parameters, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + res.getValue().value(), null, null)); } /** - * List network managers in a resource group. + * Lists active security admin rules in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. * @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 result of the request to list NetworkManager as paginated response with {@link PagedFlux}. + * @return result of the request to list active security admin rules as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, - String skipToken) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listActiveSecurityAdminRulesAsync(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters, Integer top) { + return new PagedFlux<>( + () -> listActiveSecurityAdminRulesSinglePageAsync(resourceGroupName, networkManagerName, parameters, top)); } /** - * List network managers in a resource group. + * Lists active security admin rules in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @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 result of the request to list NetworkManager as paginated response with {@link PagedFlux}. + * @return result of the request to list active security admin rules as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + public PagedFlux listActiveSecurityAdminRulesAsync(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters) { final Integer top = null; - final String skipToken = null; - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); + return new PagedFlux<>( + () -> listActiveSecurityAdminRulesSinglePageAsync(resourceGroupName, networkManagerName, parameters, top)); } /** - * List network managers in a resource group. + * Lists active security admin rules in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. * @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 result of the request to list NetworkManager as paginated response with {@link PagedFlux}. + * @return result of the request to list active security admin rules as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, - String skipToken, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listActiveSecurityAdminRulesAsync(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context) { + return new PagedFlux<>(() -> listActiveSecurityAdminRulesSinglePageAsync(resourceGroupName, networkManagerName, + parameters, top, context)); } /** - * List network managers in a resource group. + * Lists active security admin rules in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @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 result of the request to list NetworkManager as paginated response with {@link PagedIterable}. + * @return result of the request to list active security admin rules as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { + public PagedIterable listActiveSecurityAdminRules(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters) { final Integer top = null; - final String skipToken = null; - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, top, skipToken)); + return new PagedIterable<>( + listActiveSecurityAdminRulesAsync(resourceGroupName, networkManagerName, parameters, top)); } /** - * List network managers in a resource group. + * Lists active security admin rules in a network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. * @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 result of the request to list NetworkManager as paginated response with {@link PagedIterable}. + * @return result of the request to list active security admin rules as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Integer top, - String skipToken, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, top, skipToken, context)); + public PagedIterable listActiveSecurityAdminRules(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context) { + return new PagedIterable<>( + listActiveSecurityAdminRulesAsync(resourceGroupName, networkManagerName, parameters, top, context)); } /** @@ -1156,11 +1594,11 @@ public PagedIterable listByResourceGroup(String resourceGro * @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 result of the request to list NetworkManager along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManager list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listBySubscriptionNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1169,9 +1607,7 @@ private Mono> listBySubscriptionNextSinglePag new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.listBySubscriptionNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1185,12 +1621,11 @@ private Mono> listBySubscriptionNextSinglePag * @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 result of the request to list NetworkManager along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManager list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listBySubscriptionNextSinglePageAsync(String nextLink, - Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1200,7 +1635,7 @@ private Mono> listBySubscriptionNextSinglePag } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listBySubscriptionNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1212,11 +1647,11 @@ private Mono> listBySubscriptionNextSinglePag * @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 result of the request to list NetworkManager along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManager list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listBySubscriptionNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1225,7 +1660,9 @@ private Mono> listNextSinglePageAsync(String new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + 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())); @@ -1239,11 +1676,12 @@ private Mono> listNextSinglePageAsync(String * @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 result of the request to list NetworkManager along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManager list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listBySubscriptionNextSinglePageAsync(String nextLink, + Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1253,7 +1691,7 @@ private Mono> listNextSinglePageAsync(String } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return 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)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java index 602170065b1f..e571394874d4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkProfilesClient; import com.azure.resourcemanager.network.fluent.models.NetworkProfileInner; -import com.azure.resourcemanager.network.models.NetworkProfileListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkProfileListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,99 +73,105 @@ public final class NetworkProfilesClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkProfileName") String networkProfileName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkProfileName") String networkProfileName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("networkProfileName") String networkProfileName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkProfileName") String networkProfileName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") NetworkProfileInner parameters, @HeaderParam("Accept") String accept, + @PathParam("networkProfileName") String networkProfileName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NetworkProfileInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkProfileName") String networkProfileName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkProfileName") String networkProfileName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}") + @ExpectedResponses({ 200, 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("networkProfileName") String networkProfileName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @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> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified network profile. + * Gets the specified network profile in a specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @param expand Expands referenced resources. * @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}. + * @return the specified network profile in a specified resource group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkProfileName) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String networkProfileName, String expand) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -174,36 +180,38 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter networkProfileName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, networkProfileName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkProfileName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified network profile. + * Gets the specified network profile in a specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @param expand Expands referenced resources. * @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 Response} on successful completion of {@link Mono}. + * @return the specified network profile in a specified resource group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkProfileName, Context context) { + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String networkProfileName, String expand, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -212,167 +220,228 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter networkProfileName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkProfileName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkProfileName, expand, accept, context); } /** - * Deletes the specified network profile. + * Gets the specified network profile in a specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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. + * @return the specified network profile in a specified resource group on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkProfileName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkProfileName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, String networkProfileName) { + final String expand = null; + return getByResourceGroupWithResponseAsync(resourceGroupName, networkProfileName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Deletes the specified network profile. + * Gets the specified network profile in a specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @param expand Expands referenced resources. * @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 PollerFlux} for polling of long-running operation. + * @return the specified network profile in a specified resource group along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkProfileName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkProfileName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, + String networkProfileName, String expand, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, networkProfileName, expand, context).block(); } /** - * Deletes the specified network profile. + * Gets the specified network profile in a specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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. + * @return the specified network profile in a specified resource group. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String networkProfileName) { - return this.beginDeleteAsync(resourceGroupName, networkProfileName).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkProfileInner getByResourceGroup(String resourceGroupName, String networkProfileName) { + final String expand = null; + return getByResourceGroupWithResponse(resourceGroupName, networkProfileName, expand, Context.NONE).getValue(); } /** - * Deletes the specified network profile. + * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @param parameters Parameters supplied to the create or update network profile 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. + * @return network profile resource along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String networkProfileName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, networkProfileName, context).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createOrUpdateWithResponseAsync(String resourceGroupName, + String networkProfileName, NetworkProfileInner parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkProfileName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkProfileName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkProfileName, contentType, accept, parameters, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified network profile. + * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @param parameters Parameters supplied to the create or update network profile operation. + * @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 A {@link Mono} that completes when a successful response is received. + * @return network profile resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String networkProfileName) { - return beginDeleteAsync(resourceGroupName, networkProfileName).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono> createOrUpdateWithResponseAsync(String resourceGroupName, + String networkProfileName, NetworkProfileInner parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkProfileName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkProfileName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkProfileName, contentType, accept, parameters, context); } /** - * Deletes the specified network profile. + * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @param parameters Parameters supplied to the create or update network profile 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 A {@link Mono} that completes when a successful response is received. + * @return network profile resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String networkProfileName, Context context) { - return beginDeleteAsync(resourceGroupName, networkProfileName, context).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono createOrUpdateAsync(String resourceGroupName, String networkProfileName, + NetworkProfileInner parameters) { + return createOrUpdateWithResponseAsync(resourceGroupName, networkProfileName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Deletes the specified network profile. + * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @param parameters Parameters supplied to the create or update network profile operation. + * @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 network profile resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String networkProfileName) { - deleteAsync(resourceGroupName, networkProfileName).block(); + public Response createOrUpdateWithResponse(String resourceGroupName, String networkProfileName, + NetworkProfileInner parameters, Context context) { + return createOrUpdateWithResponseAsync(resourceGroupName, networkProfileName, parameters, context).block(); } /** - * Deletes the specified network profile. + * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @param parameters Parameters supplied to the create or update network profile 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 network profile resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String networkProfileName, Context context) { - deleteAsync(resourceGroupName, networkProfileName, context).block(); + public NetworkProfileInner createOrUpdate(String resourceGroupName, String networkProfileName, + NetworkProfileInner parameters) { + return createOrUpdateWithResponse(resourceGroupName, networkProfileName, parameters, Context.NONE).getValue(); } /** - * Gets the specified network profile in a specified resource group. + * Updates network profile tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkProfileName The name of the public IP prefix. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to update network profile tags. * @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 network profile in a specified resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return network profile resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String networkProfileName, String expand) { + public Mono> updateTagsWithResponseAsync(String resourceGroupName, + String networkProfileName, TagsObject parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -381,38 +450,44 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono .error(new IllegalArgumentException("Parameter networkProfileName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - networkProfileName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkProfileName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the specified network profile in a specified resource group. + * Updates network profile tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkProfileName The name of the public IP prefix. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to update network profile tags. * @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 network profile in a specified resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return network profile resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String networkProfileName, String expand, Context context) { + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String networkProfileName, TagsObject parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -421,86 +496,92 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter networkProfileName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, networkProfileName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkProfileName, contentType, accept, parameters, context); } /** - * Gets the specified network profile in a specified resource group. + * Updates network profile tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkProfileName The name of the public IP prefix. + * @param parameters Parameters supplied to update network profile tags. * @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 network profile in a specified resource group on successful completion of {@link Mono}. + * @return network profile resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String networkProfileName) { - final String expand = null; - return getByResourceGroupWithResponseAsync(resourceGroupName, networkProfileName, expand) + public Mono updateTagsAsync(String resourceGroupName, String networkProfileName, + TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, networkProfileName, parameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets the specified network profile in a specified resource group. + * Updates network profile tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkProfileName The name of the public IP prefix. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to update network profile tags. * @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 network profile in a specified resource group along with {@link Response}. + * @return network profile resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String networkProfileName, String expand, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, networkProfileName, expand, context).block(); + public Response updateTagsWithResponse(String resourceGroupName, String networkProfileName, + TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, networkProfileName, parameters, context).block(); } /** - * Gets the specified network profile in a specified resource group. + * Updates network profile tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkProfileName The name of the public IP prefix. + * @param parameters Parameters supplied to update network profile tags. * @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 network profile in a specified resource group. + * @return network profile resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkProfileInner getByResourceGroup(String resourceGroupName, String networkProfileName) { - final String expand = null; - return getByResourceGroupWithResponse(resourceGroupName, networkProfileName, expand, Context.NONE).getValue(); + public NetworkProfileInner updateTags(String resourceGroupName, String networkProfileName, TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, networkProfileName, parameters, Context.NONE).getValue(); } /** - * Creates or updates a network profile. + * Deletes the specified network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. - * @param parameters Parameters supplied to the create or update network profile operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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 network profile resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createOrUpdateWithResponseAsync(String resourceGroupName, - String networkProfileName, NetworkProfileInner parameters) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkProfileName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -509,42 +590,35 @@ public Mono> createOrUpdateWithResponseAsync(Strin return Mono .error(new IllegalArgumentException("Parameter networkProfileName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - networkProfileName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkProfileName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Creates or updates a network profile. + * Deletes the specified network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. - * @param parameters Parameters supplied to the create or update network profile operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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 network profile resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> createOrUpdateWithResponseAsync(String resourceGroupName, - String networkProfileName, NetworkProfileInner parameters, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkProfileName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -553,223 +627,155 @@ private Mono> createOrUpdateWithResponseAsync(Stri return Mono .error(new IllegalArgumentException("Parameter networkProfileName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkProfileName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkProfileName, context); } /** - * Creates or updates a network profile. + * Deletes the specified network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. - * @param parameters Parameters supplied to the create or update network profile operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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 network profile resource on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String networkProfileName, - NetworkProfileInner parameters) { - return createOrUpdateWithResponseAsync(resourceGroupName, networkProfileName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkProfileName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkProfileName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Creates or updates a network profile. + * Deletes the specified network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. - * @param parameters Parameters supplied to the create or update network profile operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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 network profile resource along with {@link Response}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createOrUpdateWithResponse(String resourceGroupName, String networkProfileName, - NetworkProfileInner parameters, Context context) { - return createOrUpdateWithResponseAsync(resourceGroupName, networkProfileName, parameters, context).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkProfileName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkProfileName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Creates or updates a network profile. + * Deletes the specified network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. - * @param parameters Parameters supplied to the create or update network profile operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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 network profile resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkProfileInner createOrUpdate(String resourceGroupName, String networkProfileName, - NetworkProfileInner parameters) { - return createOrUpdateWithResponse(resourceGroupName, networkProfileName, parameters, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String networkProfileName) { + return this.beginDeleteAsync(resourceGroupName, networkProfileName).getSyncPoller(); + } + + /** + * Deletes the specified network profile. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. + * @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 networkProfileName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, networkProfileName, context).getSyncPoller(); } /** - * Updates network profile tags. + * Deletes the specified network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. - * @param parameters Parameters supplied to update network profile tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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 network profile resource along with {@link Response} on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateTagsWithResponseAsync(String resourceGroupName, - String networkProfileName, TagsObject parameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkProfileName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkProfileName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, networkProfileName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + public Mono deleteAsync(String resourceGroupName, String networkProfileName) { + return beginDeleteAsync(resourceGroupName, networkProfileName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates network profile tags. + * Deletes the specified network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. - * @param parameters Parameters supplied to update network profile tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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 network profile resource along with {@link Response} on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String networkProfileName, TagsObject parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkProfileName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkProfileName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, networkProfileName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + private Mono deleteAsync(String resourceGroupName, String networkProfileName, Context context) { + return beginDeleteAsync(resourceGroupName, networkProfileName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates network profile tags. + * Deletes the specified network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. - * @param parameters Parameters supplied to update network profile tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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 network profile resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String networkProfileName, - TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, networkProfileName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public void delete(String resourceGroupName, String networkProfileName) { + deleteAsync(resourceGroupName, networkProfileName).block(); } /** - * Updates network profile tags. + * Deletes the specified network profile. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. - * @param parameters Parameters supplied to update network profile tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkProfileName The name of the public IP prefix. * @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 network profile resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, String networkProfileName, - TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, networkProfileName, parameters, context).block(); + public void delete(String resourceGroupName, String networkProfileName, Context context) { + deleteAsync(resourceGroupName, networkProfileName, context).block(); } /** - * Updates network profile tags. + * Gets all network profiles in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the network profile. - * @param parameters Parameters supplied to update network profile tags. + * @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 network profile resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkProfileInner updateTags(String resourceGroupName, String networkProfileName, TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, networkProfileName, parameters, Context.NONE).getValue(); - } - - /** - * Gets all the network profiles in a 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 all the network profiles in a subscription along with {@link PagedResponse} on successful completion of + * @return all network profiles in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -778,28 +784,34 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Gets all the network profiles in a subscription. + * Gets all network profiles in a 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 all the network profiles in a subscription along with {@link PagedResponse} on successful completion of + * @return all network profiles in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -808,87 +820,94 @@ private Mono> listSinglePageAsync(Context con return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all the network profiles in a subscription. + * Gets all network profiles in a 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 all the network profiles in a subscription as paginated response with {@link PagedFlux}. + * @return all network profiles in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets all the network profiles in a subscription. + * Gets all network profiles in a 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 all the network profiles in a subscription as paginated response with {@link PagedFlux}. + * @return all network profiles in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets all the network profiles in a subscription. + * Gets all network profiles in a 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 all the network profiles in a subscription as paginated response with {@link PagedIterable}. + * @return all network profiles in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Gets all the network profiles in a subscription. + * Gets all network profiles in a 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 all the network profiles in a subscription as paginated response with {@link PagedIterable}. + * @return all network profiles in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Gets all network profiles in a resource group. + * Gets all the network profiles in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all network profiles in a resource group along with {@link PagedResponse} on successful completion of + * @return all the network profiles in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -896,35 +915,29 @@ private Mono> listByResourceGroupSinglePageAs final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Gets all network profiles in a resource group. + * Gets all the network profiles in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all network profiles in a resource group along with {@link PagedResponse} on successful completion of + * @return all the network profiles in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -932,71 +945,62 @@ private Mono> listByResourceGroupSinglePageAs final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all network profiles in a resource group. + * Gets all the network profiles in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all network profiles in a resource group as paginated response with {@link PagedFlux}. + * @return all the network profiles in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); } /** - * Gets all network profiles in a resource group. + * Gets all the network profiles in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all network profiles in a resource group as paginated response with {@link PagedFlux}. + * @return all the network profiles in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); } /** - * Gets all network profiles in a resource group. + * Gets all the network profiles in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all network profiles in a resource group as paginated response with {@link PagedIterable}. + * @return all the network profiles in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + public PagedIterable list() { + return new PagedIterable<>(listAsync()); } /** - * Gets all network profiles in a resource group. + * Gets all the network profiles in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all network profiles in a resource group as paginated response with {@link PagedIterable}. + * @return all the network profiles in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** @@ -1006,11 +1010,11 @@ public PagedIterable listByResourceGroup(String resourceGro * @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 all the network profiles in a subscription along with {@link PagedResponse} on successful completion of + * @return all network profiles in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1019,8 +1023,7 @@ private Mono> listAllNextSinglePageAsync(Stri new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1034,11 +1037,11 @@ private Mono> listAllNextSinglePageAsync(Stri * @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 all the network profiles in a subscription along with {@link PagedResponse} on successful completion of + * @return all network profiles in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1048,7 +1051,7 @@ private Mono> listAllNextSinglePageAsync(Stri } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1060,11 +1063,11 @@ private Mono> listAllNextSinglePageAsync(Stri * @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 all network profiles in a resource group along with {@link PagedResponse} on successful completion of + * @return all the network profiles in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1073,7 +1076,8 @@ private Mono> listNextSinglePageAsync(String new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -1087,11 +1091,11 @@ private Mono> listNextSinglePageAsync(String * @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 all network profiles in a resource group along with {@link PagedResponse} on successful completion of + * @return all the network profiles in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1101,7 +1105,7 @@ private Mono> listNextSinglePageAsync(String } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java index 9ba33e6d944e..7d55e5fd44e8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkSecurityGroupsClient; import com.azure.resourcemanager.network.fluent.models.NetworkSecurityGroupInner; -import com.azure.resourcemanager.network.models.NetworkSecurityGroupListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkSecurityGroupListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,295 +73,86 @@ public final class NetworkSecurityGroupsClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkSecurityGroupName") String networkSecurityGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityGroupName") String networkSecurityGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityGroupName") String networkSecurityGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") NetworkSecurityGroupInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") NetworkSecurityGroupInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityGroupName") String networkSecurityGroupName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkSecurityGroupName") String networkSecurityGroupName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @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> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkSecurityGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkSecurityGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - networkSecurityGroupName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkSecurityGroupName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkSecurityGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String networkSecurityGroupName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkSecurityGroupName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String networkSecurityGroupName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkSecurityGroupName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 networkSecurityGroupName) { - return this.beginDeleteAsync(resourceGroupName, networkSecurityGroupName).getSyncPoller(); - } - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 networkSecurityGroupName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, networkSecurityGroupName, context).getSyncPoller(); - } - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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) - public Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName) { - return beginDeleteAsync(resourceGroupName, networkSecurityGroupName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName, Context context) { - return beginDeleteAsync(resourceGroupName, networkSecurityGroupName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 networkSecurityGroupName) { - deleteAsync(resourceGroupName, networkSecurityGroupName).block(); - } - - /** - * Deletes the specified network security group. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @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 networkSecurityGroupName, Context context) { - deleteAsync(resourceGroupName, networkSecurityGroupName, context).block(); - } - /** * Gets the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -377,6 +168,10 @@ public Mono> getByResourceGroupWithResponseA return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -385,22 +180,18 @@ public Mono> getByResourceGroupWithResponseA return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - networkSecurityGroupName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityGroupName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -417,6 +208,10 @@ private Mono> getByResourceGroupWithResponse return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -425,21 +220,17 @@ private Mono> getByResourceGroupWithResponse return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, - apiVersion, this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityGroupName, expand, accept, context); } /** * Gets the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -457,7 +248,7 @@ public Mono getByResourceGroupAsync(String resourceGr /** * Gets the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -476,7 +267,7 @@ public Response getByResourceGroupWithResponse(String /** * Gets the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -493,7 +284,7 @@ public NetworkSecurityGroupInner getByResourceGroup(String resourceGroupName, St /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -508,6 +299,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -516,27 +311,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - networkSecurityGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityGroupName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @param context The context to associate with this operation. @@ -552,6 +345,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -560,26 +357,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityGroupName, contentType, accept, parameters, context); } /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -600,7 +394,7 @@ public PollerFlux, NetworkSecurityGroupInn /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @param context The context to associate with this operation. @@ -623,7 +417,7 @@ private PollerFlux, NetworkSecurityGroupIn /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -640,7 +434,7 @@ public SyncPoller, NetworkSecurityGroupInn /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @param context The context to associate with this operation. @@ -660,7 +454,7 @@ public SyncPoller, NetworkSecurityGroupInn /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -678,7 +472,7 @@ public Mono createOrUpdateAsync(String resourceGroupN /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @param context The context to associate with this operation. @@ -697,7 +491,7 @@ private Mono createOrUpdateAsync(String resourceGroup /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -714,7 +508,7 @@ public NetworkSecurityGroupInner createOrUpdate(String resourceGroupName, String /** * Creates or updates a network security group in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to the create or update network security group operation. * @param context The context to associate with this operation. @@ -732,7 +526,7 @@ public NetworkSecurityGroupInner createOrUpdate(String resourceGroupName, String /** * Updates a network security group tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param parameters Parameters supplied to update network security group tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -747,6 +541,10 @@ public Mono> updateTagsWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -755,129 +553,336 @@ public Mono> updateTagsWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityGroupName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Updates a network security group tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param parameters Parameters supplied to update network security group tags. + * @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 networkSecurityGroup resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String networkSecurityGroupName, TagsObject parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkSecurityGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); + } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityGroupName, contentType, accept, parameters, context); + } + + /** + * Updates a network security group tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param parameters Parameters supplied to update network security group tags. + * @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 networkSecurityGroup resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateTagsAsync(String resourceGroupName, String networkSecurityGroupName, + TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, networkSecurityGroupName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Updates a network security group tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param parameters Parameters supplied to update network security group tags. + * @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 networkSecurityGroup resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateTagsWithResponse(String resourceGroupName, + String networkSecurityGroupName, TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, networkSecurityGroupName, parameters, context).block(); + } + + /** + * Updates a network security group tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param parameters Parameters supplied to update network security group tags. + * @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 networkSecurityGroup resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkSecurityGroupInner updateTags(String resourceGroupName, String networkSecurityGroupName, + TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, networkSecurityGroupName, parameters, Context.NONE).getValue(); + } + + /** + * Deletes the specified network security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkSecurityGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkSecurityGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - networkSecurityGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityGroupName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Updates a network security group tags. + * Deletes the specified network security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkSecurityGroupName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkSecurityGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityGroupName, context); + } + + /** + * Deletes the specified network security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String networkSecurityGroupName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkSecurityGroupName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified network security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String networkSecurityGroupName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkSecurityGroupName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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 networkSecurityGroupName) { + return this.beginDeleteAsync(resourceGroupName, networkSecurityGroupName).getSyncPoller(); + } + + /** + * Deletes the specified network security group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param parameters Parameters supplied to update network security group tags. * @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 networkSecurityGroup resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String networkSecurityGroupName, TagsObject parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkSecurityGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, networkSecurityGroupName, context).getSyncPoller(); } /** - * Updates a network security group tags. + * Deletes the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param parameters Parameters supplied to update network security group tags. * @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 networkSecurityGroup resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String networkSecurityGroupName, - TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, networkSecurityGroupName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName) { + return beginDeleteAsync(resourceGroupName, networkSecurityGroupName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates a network security group tags. + * Deletes the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param parameters Parameters supplied to update network security group tags. * @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 networkSecurityGroup resource along with {@link Response}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, - String networkSecurityGroupName, TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, networkSecurityGroupName, parameters, context).block(); + private Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName, Context context) { + return beginDeleteAsync(resourceGroupName, networkSecurityGroupName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates a network security group tags. + * Deletes the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. - * @param parameters Parameters supplied to update network security group tags. * @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 networkSecurityGroup resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkSecurityGroupInner updateTags(String resourceGroupName, String networkSecurityGroupName, - TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, networkSecurityGroupName, parameters, Context.NONE).getValue(); + public void delete(String resourceGroupName, String networkSecurityGroupName) { + deleteAsync(resourceGroupName, networkSecurityGroupName).block(); } /** - * Gets all network security groups in a subscription. + * Deletes the specified network security group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @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 all network security groups in a subscription along with {@link PagedResponse} on successful completion + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String networkSecurityGroupName, Context context) { + deleteAsync(resourceGroupName, networkSecurityGroupName, context).block(); + } + + /** + * Gets all network security groups in a 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 all network security groups in a resource group along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -886,28 +891,34 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Gets all network security groups in a subscription. + * Gets all network security groups in a 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 all network security groups in a subscription along with {@link PagedResponse} on successful completion + * @return all network security groups in a resource group along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -916,88 +927,94 @@ private Mono> listSinglePageAsync(Conte return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all network security groups in a subscription. + * Gets all network security groups in a 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 all network security groups in a subscription as paginated response with {@link PagedFlux}. + * @return all network security groups in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets all network security groups in a subscription. + * Gets all network security groups in a 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 all network security groups in a subscription as paginated response with {@link PagedFlux}. + * @return all network security groups in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets all network security groups in a subscription. + * Gets all network security groups in a 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 all network security groups in a subscription as paginated response with {@link PagedIterable}. + * @return all network security groups in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Gets all network security groups in a subscription. + * Gets all network security groups in a 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 all network security groups in a subscription as paginated response with {@link PagedIterable}. + * @return all network security groups in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Gets all network security groups in a resource group. + * Gets all network security groups in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all network security groups in a resource group along with {@link PagedResponse} on successful completion + * @return all network security groups in a subscription along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1005,35 +1022,29 @@ public PagedIterable list(Context context) { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Gets all network security groups in a resource group. + * Gets all network security groups in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all network security groups in a resource group along with {@link PagedResponse} on successful completion + * @return all network security groups in a subscription along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1041,71 +1052,62 @@ private Mono> listByResourceGroupSingle final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all network security groups in a resource group. + * Gets all network security groups in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all network security groups in a resource group as paginated response with {@link PagedFlux}. + * @return all network security groups in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); } /** - * Gets all network security groups in a resource group. + * Gets all network security groups in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all network security groups in a resource group as paginated response with {@link PagedFlux}. + * @return all network security groups in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); } /** - * Gets all network security groups in a resource group. + * Gets all network security groups in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all network security groups in a resource group as paginated response with {@link PagedIterable}. + * @return all network security groups in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + public PagedIterable list() { + return new PagedIterable<>(listAsync()); } /** - * Gets all network security groups in a resource group. + * Gets all network security groups in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all network security groups in a resource group as paginated response with {@link PagedIterable}. + * @return all network security groups in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** @@ -1115,11 +1117,11 @@ public PagedIterable listByResourceGroup(String resou * @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 all network security groups in a subscription along with {@link PagedResponse} on successful completion + * @return all network security groups in a resource group along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1128,8 +1130,7 @@ private Mono> listAllNextSinglePageAsyn new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1143,12 +1144,11 @@ private Mono> listAllNextSinglePageAsyn * @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 all network security groups in a subscription along with {@link PagedResponse} on successful completion + * @return all network security groups in a resource group along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, - Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1158,7 +1158,7 @@ private Mono> listAllNextSinglePageAsyn } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1170,11 +1170,11 @@ private Mono> listAllNextSinglePageAsyn * @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 all network security groups in a resource group along with {@link PagedResponse} on successful completion + * @return all network security groups in a subscription along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1183,7 +1183,8 @@ private Mono> listNextSinglePageAsync(S new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -1197,11 +1198,12 @@ private Mono> listNextSinglePageAsync(S * @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 all network security groups in a resource group along with {@link PagedResponse} on successful completion + * @return all network security groups in a subscription along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, + Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1211,7 +1213,7 @@ private Mono> listNextSinglePageAsync(S } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java index 4f3cd518bae0..056d975a064b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -31,7 +31,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.NetworkSecurityPerimeterAccessRulesClient; import com.azure.resourcemanager.network.fluent.models.NspAccessRuleInner; -import com.azure.resourcemanager.network.models.NspAccessRuleListResult; +import com.azure.resourcemanager.network.implementation.models.NspAccessRuleListResult; import reactor.core.publisher.Mono; /** @@ -63,79 +63,76 @@ public final class NetworkSecurityPerimeterAccessRulesClientImpl implements Netw * The interface defining all the services for NetworkManagementClientNetworkSecurityPerimeterAccessRules to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkSecurityPerimeterAccessRules") public interface NetworkSecurityPerimeterAccessRulesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, @PathParam("profileName") String profileName, @PathParam("accessRuleName") String accessRuleName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, @PathParam("profileName") String profileName, @PathParam("accessRuleName") String accessRuleName, - @QueryParam("api-version") String apiVersion, @BodyParam("application/json") NspAccessRuleInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") NspAccessRuleInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, @PathParam("profileName") String profileName, @PathParam("accessRuleName") String accessRuleName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("profileName") String profileName, @QueryParam("api-version") String apiVersion, - @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, - @HeaderParam("Accept") String accept, Context context); + @PathParam("profileName") String profileName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}/reconcile") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> reconcile(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> reconcile(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, @PathParam("profileName") String profileName, @PathParam("accessRuleName") String accessRuleName, - @QueryParam("api-version") String apiVersion, @BodyParam("application/json") Object parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") Object parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified NSP access rule by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -173,16 +170,15 @@ public Mono> getWithResponseAsync(String resourceGr final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, accessRuleName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, profileName, accessRuleName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified NSP access rule by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -221,14 +217,14 @@ private Mono> getWithResponseAsync(String resourceG final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, accessRuleName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, profileName, accessRuleName, accept, context); } /** * Gets the specified NSP access rule by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -247,7 +243,7 @@ public Mono getAsync(String resourceGroupName, String networ /** * Gets the specified NSP access rule by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -267,7 +263,7 @@ public Response getWithResponse(String resourceGroupName, St /** * Gets the specified NSP access rule by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -286,7 +282,7 @@ public NspAccessRuleInner get(String resourceGroupName, String networkSecurityPe /** * Creates or updates a network access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -327,18 +323,19 @@ public Mono> createOrUpdateWithResponseAsync(String parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, profileName, accessRuleName, apiVersion, parameters, - accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, profileName, + accessRuleName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a network access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -381,16 +378,18 @@ private Mono> createOrUpdateWithResponseAsync(Strin parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, accessRuleName, apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, profileName, accessRuleName, contentType, accept, + parameters, context); } /** * Creates or updates a network access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -410,7 +409,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates or updates a network access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -432,7 +431,7 @@ public Response createOrUpdateWithResponse(String resourceGr /** * Creates or updates a network access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -452,7 +451,7 @@ public NspAccessRuleInner createOrUpdate(String resourceGroupName, String networ /** * Deletes an NSP access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -487,18 +486,17 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St return Mono.error(new IllegalArgumentException("Parameter accessRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext( - context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, accessRuleName, apiVersion, accept, context)) + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, profileName, accessRuleName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes an NSP access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -534,16 +532,15 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S return Mono.error(new IllegalArgumentException("Parameter accessRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, accessRuleName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, profileName, accessRuleName, context); } /** * Deletes an NSP access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -562,7 +559,7 @@ public Mono deleteAsync(String resourceGroupName, String networkSecurityPe /** * Deletes an NSP access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -582,7 +579,7 @@ public Response deleteWithResponse(String resourceGroupName, String networ /** * Deletes an NSP access rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -599,7 +596,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -610,7 +607,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName * @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 result of the request to list NSP access rules along with {@link PagedResponse} on successful completion + * @return the response of a NspAccessRule list operation along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -638,9 +635,8 @@ private Mono> listSinglePageAsync(String resou final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, apiVersion, top, skipToken, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, profileName, top, skipToken, 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())); @@ -649,7 +645,7 @@ private Mono> listSinglePageAsync(String resou /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -661,7 +657,7 @@ private Mono> listSinglePageAsync(String resou * @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 result of the request to list NSP access rules along with {@link PagedResponse} on successful completion + * @return the response of a NspAccessRule list operation along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -690,8 +686,8 @@ private Mono> listSinglePageAsync(String resou final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, apiVersion, top, skipToken, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, profileName, top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -699,7 +695,7 @@ private Mono> listSinglePageAsync(String resou /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -710,7 +706,7 @@ private Mono> listSinglePageAsync(String resou * @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 result of the request to list NSP access rules as paginated response with {@link PagedFlux}. + * @return the response of a NspAccessRule list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -723,13 +719,13 @@ public PagedFlux listAsync(String resourceGroupName, String /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @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 result of the request to list NSP access rules as paginated response with {@link PagedFlux}. + * @return the response of a NspAccessRule list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -744,7 +740,7 @@ public PagedFlux listAsync(String resourceGroupName, String /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -756,7 +752,7 @@ public PagedFlux listAsync(String resourceGroupName, String * @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 result of the request to list NSP access rules as paginated response with {@link PagedFlux}. + * @return the response of a NspAccessRule list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -768,13 +764,13 @@ private PagedFlux listAsync(String resourceGroupName, String /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @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 result of the request to list NSP access rules as paginated response with {@link PagedIterable}. + * @return the response of a NspAccessRule list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, @@ -788,7 +784,7 @@ public PagedIterable list(String resourceGroupName, String n /** * Lists the NSP access rules in the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -800,7 +796,7 @@ public PagedIterable list(String resourceGroupName, String n * @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 result of the request to list NSP access rules as paginated response with {@link PagedIterable}. + * @return the response of a NspAccessRule list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, @@ -812,7 +808,7 @@ public PagedIterable list(String resourceGroupName, String n /** * Reconcile NSP access rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -820,7 +816,7 @@ public PagedIterable list(String resourceGroupName, String n * @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 any object along with {@link Response} on successful completion of {@link Mono}. + * @return anything along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> reconcileWithResponseAsync(String resourceGroupName, @@ -851,18 +847,19 @@ public Mono> reconcileWithResponseAsync(String resourceGroupNam return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.reconcile(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, profileName, accessRuleName, apiVersion, parameters, - accept, context)) + .withContext(context -> service.reconcile(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, profileName, + accessRuleName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Reconcile NSP access rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -871,7 +868,7 @@ public Mono> reconcileWithResponseAsync(String resourceGroupNam * @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 any object along with {@link Response} on successful completion of {@link Mono}. + * @return anything along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> reconcileWithResponseAsync(String resourceGroupName, @@ -903,16 +900,18 @@ private Mono> reconcileWithResponseAsync(String resourceGroupNa return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.reconcile(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, accessRuleName, apiVersion, parameters, accept, context); + return service.reconcile(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, profileName, accessRuleName, contentType, accept, + parameters, context); } /** * Reconcile NSP access rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -920,7 +919,7 @@ private Mono> reconcileWithResponseAsync(String resourceGroupNa * @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 any object on successful completion of {@link Mono}. + * @return anything on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono reconcileAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -932,7 +931,7 @@ public Mono reconcileAsync(String resourceGroupName, String networkSecur /** * Reconcile NSP access rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -941,7 +940,7 @@ public Mono reconcileAsync(String resourceGroupName, String networkSecur * @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 any object along with {@link Response}. + * @return anything along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response reconcileWithResponse(String resourceGroupName, String networkSecurityPerimeterName, @@ -953,7 +952,7 @@ public Response reconcileWithResponse(String resourceGroupName, String n /** * Reconcile NSP access rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param accessRuleName The name of the NSP access rule. @@ -961,7 +960,7 @@ public Response reconcileWithResponse(String resourceGroupName, String n * @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 any object. + * @return anything. */ @ServiceMethod(returns = ReturnType.SINGLE) public Object reconcile(String resourceGroupName, String networkSecurityPerimeterName, String profileName, @@ -977,7 +976,7 @@ public Object reconcile(String resourceGroupName, String networkSecurityPerimete * @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 result of the request to list NSP access rules along with {@link PagedResponse} on successful completion + * @return the response of a NspAccessRule list operation along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -1004,7 +1003,7 @@ private Mono> listNextSinglePageAsync(String n * @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 result of the request to list NSP access rules along with {@link PagedResponse} on successful completion + * @return the response of a NspAccessRule list operation along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java index 93b682030caa..7bf29010499f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.NetworkSecurityPerimeterAssociableResourceTypesClient; import com.azure.resourcemanager.network.fluent.models.PerimeterAssociableResourceInner; -import com.azure.resourcemanager.network.models.PerimeterAssociableResourcesListResult; +import com.azure.resourcemanager.network.implementation.models.PerimeterAssociableResourcesListResult; import reactor.core.publisher.Mono; /** @@ -62,23 +62,23 @@ public final class NetworkSecurityPerimeterAssociableResourceTypesClientImpl * NetworkManagementClientNetworkSecurityPerimeterAssociableResourceTypes to be used by the proxy service to perform * REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkSecurityPerimeterAssociableResourceTypes") public interface NetworkSecurityPerimeterAssociableResourceTypesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @PathParam("location") String location, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } @@ -86,7 +86,7 @@ Mono> listNext( * Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security * perimeter. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -109,8 +109,8 @@ private Mono> listSinglePageAsyn final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), location, - apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, 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())); @@ -120,7 +120,7 @@ private Mono> listSinglePageAsyn * Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security * perimeter. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -146,7 +146,7 @@ private Mono> listSinglePageAsyn final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), location, apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -155,7 +155,7 @@ private Mono> listSinglePageAsyn * Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security * perimeter. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -170,7 +170,7 @@ public PagedFlux listAsync(String location) { * Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security * perimeter. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -187,7 +187,7 @@ private PagedFlux listAsync(String location, C * Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security * perimeter. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -202,7 +202,7 @@ public PagedIterable list(String location) { * Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security * perimeter. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java index a7b9da522685..42bea4c104e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkSecurityPerimeterAssociationsClient; import com.azure.resourcemanager.network.fluent.models.NspAssociationInner; -import com.azure.resourcemanager.network.models.NspAssociationsListResult; +import com.azure.resourcemanager.network.implementation.models.NspAssociationsListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -70,78 +70,75 @@ public final class NetworkSecurityPerimeterAssociationsClientImpl * The interface defining all the services for NetworkManagementClientNetworkSecurityPerimeterAssociations to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkSecurityPerimeterAssociations") public interface NetworkSecurityPerimeterAssociationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("associationName") String associationName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("associationName") String associationName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}") @ExpectedResponses({ 200, 201, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("associationName") String associationName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") NspAssociationInner parameters, @HeaderParam("Accept") String accept, + @PathParam("associationName") String associationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NspAssociationInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("associationName") String associationName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("associationName") String associationName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @QueryParam("api-version") String apiVersion, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); + @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}/reconcile") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> reconcile(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> reconcile(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("associationName") String associationName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") Object parameters, @HeaderParam("Accept") String accept, Context context); + @PathParam("associationName") String associationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") Object parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified NSP association by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -176,15 +173,15 @@ public Mono> getWithResponseAsync(String resourceG final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, associationName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, associationName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified NSP association by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param context The context to associate with this operation. @@ -220,14 +217,14 @@ private Mono> getWithResponseAsync(String resource final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, associationName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, associationName, accept, context); } /** * Gets the specified NSP association by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -245,7 +242,7 @@ public Mono getAsync(String resourceGroupName, String netwo /** * Gets the specified NSP association by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param context The context to associate with this operation. @@ -263,7 +260,7 @@ public Response getWithResponse(String resourceGroupName, S /** * Gets the specified NSP association by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -281,7 +278,7 @@ public NspAssociationInner get(String resourceGroupName, String networkSecurityP /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -320,18 +317,19 @@ public Mono>> createOrUpdateWithResponseAsync(String r parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, associationName, apiVersion, parameters, accept, - context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, associationName, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -371,16 +369,17 @@ private Mono>> createOrUpdateWithResponseAsync(String parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, associationName, apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, associationName, contentType, accept, parameters, context); } /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -402,7 +401,7 @@ public PollerFlux, NspAssociationInner> beginCre /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -426,7 +425,7 @@ private PollerFlux, NspAssociationInner> beginCr /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -447,7 +446,7 @@ public SyncPoller, NspAssociationInner> beginCre /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -470,7 +469,7 @@ public SyncPoller, NspAssociationInner> beginCre /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -490,7 +489,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -510,7 +509,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -529,7 +528,7 @@ public NspAssociationInner createOrUpdate(String resourceGroupName, String netwo /** * Creates or updates a NSP resource association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters that hold the NspAssociation resource to be created/updated. @@ -549,7 +548,7 @@ public NspAssociationInner createOrUpdate(String resourceGroupName, String netwo /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -581,17 +580,17 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter associationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, associationName, apiVersion, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, associationName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param context The context to associate with this operation. @@ -624,16 +623,15 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter associationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, associationName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, associationName, context); } /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -653,7 +651,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param context The context to associate with this operation. @@ -675,7 +673,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -692,7 +690,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param context The context to associate with this operation. @@ -711,7 +709,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -729,7 +727,7 @@ public Mono deleteAsync(String resourceGroupName, String networkSecurityPe /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param context The context to associate with this operation. @@ -748,7 +746,7 @@ private Mono deleteAsync(String resourceGroupName, String networkSecurityP /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -763,7 +761,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName /** * Deletes an NSP association resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param context The context to associate with this operation. @@ -780,7 +778,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -790,8 +788,8 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName * @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 result of the request to list NSP resource associations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of NspAssociation items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -815,8 +813,8 @@ private Mono> listSinglePageAsync(String reso final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, apiVersion, top, skipToken, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, top, skipToken, 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())); @@ -825,7 +823,7 @@ private Mono> listSinglePageAsync(String reso /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -836,8 +834,8 @@ private Mono> listSinglePageAsync(String reso * @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 result of the request to list NSP resource associations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of NspAssociation items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -862,8 +860,8 @@ private Mono> listSinglePageAsync(String reso final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, apiVersion, top, skipToken, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -871,7 +869,7 @@ private Mono> listSinglePageAsync(String reso /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -881,7 +879,7 @@ private Mono> listSinglePageAsync(String reso * @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 result of the request to list NSP resource associations as paginated response with {@link PagedFlux}. + * @return paged collection of NspAssociation items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -894,12 +892,12 @@ public PagedFlux listAsync(String resourceGroupName, String /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP resource associations as paginated response with {@link PagedFlux}. + * @return paged collection of NspAssociation items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName) { @@ -913,7 +911,7 @@ public PagedFlux listAsync(String resourceGroupName, String /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -924,7 +922,7 @@ public PagedFlux listAsync(String resourceGroupName, String * @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 result of the request to list NSP resource associations as paginated response with {@link PagedFlux}. + * @return paged collection of NspAssociation items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -937,12 +935,12 @@ private PagedFlux listAsync(String resourceGroupName, Strin /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP resource associations as paginated response with {@link PagedIterable}. + * @return paged collection of NspAssociation items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName) { @@ -954,7 +952,7 @@ public PagedIterable list(String resourceGroupName, String /** * Lists the NSP resource associations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -965,7 +963,7 @@ public PagedIterable list(String resourceGroupName, String * @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 result of the request to list NSP resource associations as paginated response with {@link PagedIterable}. + * @return paged collection of NspAssociation items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, @@ -976,14 +974,14 @@ public PagedIterable list(String resourceGroupName, String /** * Reconcile NSP association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters for NSP association reconcile. * @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 any object along with {@link Response} on successful completion of {@link Mono}. + * @return anything along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> reconcileWithResponseAsync(String resourceGroupName, @@ -1012,18 +1010,19 @@ public Mono> reconcileWithResponseAsync(String resourceGroupNam return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.reconcile(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, associationName, apiVersion, parameters, accept, - context)) + .withContext(context -> service.reconcile(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, associationName, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Reconcile NSP association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters for NSP association reconcile. @@ -1031,7 +1030,7 @@ public Mono> reconcileWithResponseAsync(String resourceGroupNam * @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 any object along with {@link Response} on successful completion of {@link Mono}. + * @return anything along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> reconcileWithResponseAsync(String resourceGroupName, @@ -1060,23 +1059,24 @@ private Mono> reconcileWithResponseAsync(String resourceGroupNa return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.reconcile(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, associationName, apiVersion, parameters, accept, context); + return service.reconcile(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, associationName, contentType, accept, parameters, context); } /** * Reconcile NSP association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters for NSP association reconcile. * @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 any object on successful completion of {@link Mono}. + * @return anything on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono reconcileAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -1088,7 +1088,7 @@ public Mono reconcileAsync(String resourceGroupName, String networkSecur /** * Reconcile NSP association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters for NSP association reconcile. @@ -1096,7 +1096,7 @@ public Mono reconcileAsync(String resourceGroupName, String networkSecur * @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 any object along with {@link Response}. + * @return anything along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response reconcileWithResponse(String resourceGroupName, String networkSecurityPerimeterName, @@ -1108,14 +1108,14 @@ public Response reconcileWithResponse(String resourceGroupName, String n /** * Reconcile NSP association. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param associationName The name of the NSP association. * @param parameters Parameters for NSP association reconcile. * @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 any object. + * @return anything. */ @ServiceMethod(returns = ReturnType.SINGLE) public Object reconcile(String resourceGroupName, String networkSecurityPerimeterName, String associationName, @@ -1131,8 +1131,8 @@ public Object reconcile(String resourceGroupName, String networkSecurityPerimete * @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 result of the request to list NSP resource associations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of NspAssociation items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1158,8 +1158,8 @@ private Mono> listNextSinglePageAsync(String * @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 result of the request to list NSP resource associations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of NspAssociation items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java index 4ce1367bd277..ea045b4ba8fc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -31,7 +31,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkSecurityPerimeterLinkReferencesClient; import com.azure.resourcemanager.network.fluent.models.NspLinkReferenceInner; -import com.azure.resourcemanager.network.models.NspLinkReferenceListResult; +import com.azure.resourcemanager.network.implementation.models.NspLinkReferenceListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,55 +67,54 @@ public final class NetworkSecurityPerimeterLinkReferencesClientImpl * The interface defining all the services for NetworkManagementClientNetworkSecurityPerimeterLinkReferences to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkSecurityPerimeterLinkReferences") public interface NetworkSecurityPerimeterLinkReferencesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences/{linkReferenceName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("linkReferenceName") String linkReferenceName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("linkReferenceName") String linkReferenceName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences/{linkReferenceName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("linkReferenceName") String linkReferenceName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("linkReferenceName") String linkReferenceName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @QueryParam("api-version") String apiVersion, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); + @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified NSP linkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -150,15 +149,15 @@ public Mono> getWithResponseAsync(String resourc final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, linkReferenceName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, linkReferenceName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified NSP linkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @param context The context to associate with this operation. @@ -194,14 +193,14 @@ private Mono> getWithResponseAsync(String resour final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, linkReferenceName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, linkReferenceName, accept, context); } /** * Gets the specified NSP linkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -219,7 +218,7 @@ public Mono getAsync(String resourceGroupName, String net /** * Gets the specified NSP linkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @param context The context to associate with this operation. @@ -238,7 +237,7 @@ public Response getWithResponse(String resourceGroupName, /** * Gets the specified NSP linkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -256,7 +255,7 @@ public NspLinkReferenceInner get(String resourceGroupName, String networkSecurit /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -288,17 +287,17 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter linkReferenceName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, linkReferenceName, apiVersion, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, linkReferenceName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @param context The context to associate with this operation. @@ -331,16 +330,15 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter linkReferenceName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, linkReferenceName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, linkReferenceName, context); } /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -360,7 +358,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @param context The context to associate with this operation. @@ -382,7 +380,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -400,7 +398,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @param context The context to associate with this operation. @@ -419,7 +417,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -437,7 +435,7 @@ public Mono deleteAsync(String resourceGroupName, String networkSecurityPe /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @param context The context to associate with this operation. @@ -456,7 +454,7 @@ private Mono deleteAsync(String resourceGroupName, String networkSecurityP /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -471,7 +469,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName /** * Deletes an NSP LinkReference resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkReferenceName The name of the NSP linkReference. * @param context The context to associate with this operation. @@ -488,7 +486,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -498,7 +496,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName * @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 result of the request to list NSP linkReference resources along with {@link PagedResponse} on successful + * @return the response of a NspLinkReference list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -523,8 +521,8 @@ private Mono> listSinglePageAsync(String re final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, apiVersion, top, skipToken, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, top, skipToken, 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())); @@ -533,7 +531,7 @@ private Mono> listSinglePageAsync(String re /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -544,7 +542,7 @@ private Mono> listSinglePageAsync(String re * @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 result of the request to list NSP linkReference resources along with {@link PagedResponse} on successful + * @return the response of a NspLinkReference list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -570,8 +568,8 @@ private Mono> listSinglePageAsync(String re final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, apiVersion, top, skipToken, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -579,7 +577,7 @@ private Mono> listSinglePageAsync(String re /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -589,7 +587,7 @@ private Mono> listSinglePageAsync(String re * @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 result of the request to list NSP linkReference resources as paginated response with {@link PagedFlux}. + * @return the response of a NspLinkReference list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -602,12 +600,12 @@ public PagedFlux listAsync(String resourceGroupName, Stri /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP linkReference resources as paginated response with {@link PagedFlux}. + * @return the response of a NspLinkReference list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName) { @@ -621,7 +619,7 @@ public PagedFlux listAsync(String resourceGroupName, Stri /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -632,7 +630,7 @@ public PagedFlux listAsync(String resourceGroupName, Stri * @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 result of the request to list NSP linkReference resources as paginated response with {@link PagedFlux}. + * @return the response of a NspLinkReference list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -645,13 +643,12 @@ private PagedFlux listAsync(String resourceGroupName, Str /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP linkReference resources as paginated response with - * {@link PagedIterable}. + * @return the response of a NspLinkReference list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName) { @@ -663,7 +660,7 @@ public PagedIterable list(String resourceGroupName, Strin /** * Lists the NSP LinkReference resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -674,8 +671,7 @@ public PagedIterable list(String resourceGroupName, Strin * @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 result of the request to list NSP linkReference resources as paginated response with - * {@link PagedIterable}. + * @return the response of a NspLinkReference list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, @@ -690,7 +686,7 @@ public PagedIterable list(String resourceGroupName, Strin * @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 result of the request to list NSP linkReference resources along with {@link PagedResponse} on successful + * @return the response of a NspLinkReference list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -717,7 +713,7 @@ private Mono> listNextSinglePageAsync(Strin * @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 result of the request to list NSP linkReference resources along with {@link PagedResponse} on successful + * @return the response of a NspLinkReference list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java index cfb645df2a0d..0f51930ab45a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkSecurityPerimeterLinksClient; import com.azure.resourcemanager.network.fluent.models.NspLinkInner; -import com.azure.resourcemanager.network.models.NspLinkListResult; +import com.azure.resourcemanager.network.implementation.models.NspLinkListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,66 +67,63 @@ public final class NetworkSecurityPerimeterLinksClientImpl implements NetworkSec * The interface defining all the services for NetworkManagementClientNetworkSecurityPerimeterLinks to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkSecurityPerimeterLinks") public interface NetworkSecurityPerimeterLinksService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("linkName") String linkName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("linkName") String linkName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("linkName") String linkName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") NspLinkInner parameters, @HeaderParam("Accept") String accept, + @PathParam("linkName") String linkName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NspLinkInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("linkName") String linkName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("linkName") String linkName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @QueryParam("api-version") String apiVersion, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); + @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -159,15 +156,15 @@ public Mono> getWithResponseAsync(String resourceGroupNam final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, linkName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, linkName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param context The context to associate with this operation. @@ -201,14 +198,14 @@ private Mono> getWithResponseAsync(String resourceGroupNa final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, linkName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, linkName, accept, context); } /** * Gets the specified NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -225,7 +222,7 @@ public Mono getAsync(String resourceGroupName, String networkSecur /** * Gets the specified NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param context The context to associate with this operation. @@ -243,7 +240,7 @@ public Response getWithResponse(String resourceGroupName, String n /** * Gets the specified NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -259,7 +256,7 @@ public NspLinkInner get(String resourceGroupName, String networkSecurityPerimete /** * Creates or updates NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param parameters Parameters that hold the NspLink resource to be created/updated. @@ -297,17 +294,19 @@ public Mono> createOrUpdateWithResponseAsync(String resou parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, linkName, apiVersion, parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, linkName, contentType, + accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param parameters Parameters that hold the NspLink resource to be created/updated. @@ -346,16 +345,17 @@ private Mono> createOrUpdateWithResponseAsync(String reso parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, linkName, apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, linkName, contentType, accept, parameters, context); } /** * Creates or updates NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param parameters Parameters that hold the NspLink resource to be created/updated. @@ -374,7 +374,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, String n /** * Creates or updates NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param parameters Parameters that hold the NspLink resource to be created/updated. @@ -394,7 +394,7 @@ public Response createOrUpdateWithResponse(String resourceGroupNam /** * Creates or updates NSP link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param parameters Parameters that hold the NspLink resource to be created/updated. @@ -413,7 +413,7 @@ public NspLinkInner createOrUpdate(String resourceGroupName, String networkSecur /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -444,17 +444,16 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter linkName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, linkName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, linkName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param context The context to associate with this operation. @@ -486,16 +485,15 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter linkName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, linkName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, linkName, context); } /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -515,7 +513,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param context The context to associate with this operation. @@ -537,7 +535,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -554,7 +552,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param context The context to associate with this operation. @@ -573,7 +571,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -590,7 +588,7 @@ public Mono deleteAsync(String resourceGroupName, String networkSecurityPe /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param context The context to associate with this operation. @@ -609,7 +607,7 @@ private Mono deleteAsync(String resourceGroupName, String networkSecurityP /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -624,7 +622,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName /** * Deletes an NSP Link resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param linkName The name of the NSP link. * @param context The context to associate with this operation. @@ -641,7 +639,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -651,8 +649,8 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName * @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 result of the request to list NSP link resources along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a NspLink list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -676,8 +674,8 @@ private Mono> listSinglePageAsync(String resourceGro final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, apiVersion, top, skipToken, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, top, skipToken, 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())); @@ -686,7 +684,7 @@ private Mono> listSinglePageAsync(String resourceGro /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -697,8 +695,8 @@ private Mono> listSinglePageAsync(String resourceGro * @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 result of the request to list NSP link resources along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a NspLink list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -723,8 +721,8 @@ private Mono> listSinglePageAsync(String resourceGro final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, apiVersion, top, skipToken, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -732,7 +730,7 @@ private Mono> listSinglePageAsync(String resourceGro /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -742,7 +740,7 @@ private Mono> listSinglePageAsync(String resourceGro * @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 result of the request to list NSP link resources as paginated response with {@link PagedFlux}. + * @return the response of a NspLink list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, Integer top, @@ -755,12 +753,12 @@ public PagedFlux listAsync(String resourceGroupName, String networ /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP link resources as paginated response with {@link PagedFlux}. + * @return the response of a NspLink list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName) { @@ -774,7 +772,7 @@ public PagedFlux listAsync(String resourceGroupName, String networ /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -785,7 +783,7 @@ public PagedFlux listAsync(String resourceGroupName, String networ * @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 result of the request to list NSP link resources as paginated response with {@link PagedFlux}. + * @return the response of a NspLink list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -798,12 +796,12 @@ private PagedFlux listAsync(String resourceGroupName, String netwo /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP link resources as paginated response with {@link PagedIterable}. + * @return the response of a NspLink list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName) { @@ -815,7 +813,7 @@ public PagedIterable list(String resourceGroupName, String network /** * Lists the NSP Link resources in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -826,7 +824,7 @@ public PagedIterable list(String resourceGroupName, String network * @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 result of the request to list NSP link resources as paginated response with {@link PagedIterable}. + * @return the response of a NspLink list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, Integer top, @@ -841,8 +839,8 @@ public PagedIterable list(String resourceGroupName, String network * @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 result of the request to list NSP link resources along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a NspLink list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -868,8 +866,8 @@ private Mono> listNextSinglePageAsync(String nextLin * @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 result of the request to list NSP link resources along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a NspLink list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java index 526df5ca00f1..b14d8af090d3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -30,7 +30,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.NetworkSecurityPerimeterLoggingConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.NspLoggingConfigurationInner; -import com.azure.resourcemanager.network.models.NspLoggingConfigurationListResult; +import com.azure.resourcemanager.network.implementation.models.NspLoggingConfigurationListResult; import reactor.core.publisher.Mono; /** @@ -64,67 +64,64 @@ public final class NetworkSecurityPerimeterLoggingConfigurationsClientImpl * The interface defining all the services for NetworkManagementClientNetworkSecurityPerimeterLoggingConfigurations * to be used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkSecurityPerimeterLoggingConfigurations") public interface NetworkSecurityPerimeterLoggingConfigurationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/loggingConfigurations/{loggingConfigurationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, @PathParam("loggingConfigurationName") String loggingConfigurationName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/loggingConfigurations/{loggingConfigurationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, @PathParam("loggingConfigurationName") String loggingConfigurationName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") NspLoggingConfigurationInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") NspLoggingConfigurationInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/loggingConfigurations/{loggingConfigurationName}") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("loggingConfigurationName") String loggingConfigurationName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @PathParam("loggingConfigurationName") String loggingConfigurationName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/loggingConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -158,15 +155,15 @@ public Mono> getWithResponseAsync(String final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, loggingConfigurationName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, loggingConfigurationName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param context The context to associate with this operation. @@ -201,14 +198,14 @@ private Mono> getWithResponseAsync(String final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, loggingConfigurationName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, loggingConfigurationName, accept, context); } /** * Gets the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -226,7 +223,7 @@ public Mono getAsync(String resourceGroupName, Str /** * Gets the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param context The context to associate with this operation. @@ -245,7 +242,7 @@ public Response getWithResponse(String resourceGro /** * Gets the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -263,7 +260,7 @@ public NspLoggingConfigurationInner get(String resourceGroupName, String network /** * Creates or updates NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param parameters Parameters that hold the NspLoggingConfiguration to be created/updated. @@ -301,18 +298,19 @@ public Mono> createOrUpdateWithResponseAs parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, loggingConfigurationName, apiVersion, parameters, - accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, + loggingConfigurationName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param parameters Parameters that hold the NspLoggingConfiguration to be created/updated. @@ -352,16 +350,18 @@ private Mono> createOrUpdateWithResponseA parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, loggingConfigurationName, apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, loggingConfigurationName, contentType, accept, parameters, + context); } /** * Creates or updates NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param parameters Parameters that hold the NspLoggingConfiguration to be created/updated. @@ -380,7 +380,7 @@ public Mono createOrUpdateAsync(String resourceGro /** * Creates or updates NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param parameters Parameters that hold the NspLoggingConfiguration to be created/updated. @@ -401,7 +401,7 @@ public Response createOrUpdateWithResponse(String /** * Creates or updates NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param parameters Parameters that hold the NspLoggingConfiguration to be created/updated. @@ -420,7 +420,7 @@ public NspLoggingConfigurationInner createOrUpdate(String resourceGroupName, Str /** * Deletes an NSP Logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -452,17 +452,17 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St new IllegalArgumentException("Parameter loggingConfigurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, loggingConfigurationName, apiVersion, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, loggingConfigurationName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes an NSP Logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param context The context to associate with this operation. @@ -495,16 +495,15 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S new IllegalArgumentException("Parameter loggingConfigurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, loggingConfigurationName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, loggingConfigurationName, context); } /** * Deletes an NSP Logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -522,7 +521,7 @@ public Mono deleteAsync(String resourceGroupName, String networkSecurityPe /** * Deletes an NSP Logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @param context The context to associate with this operation. @@ -541,7 +540,7 @@ public Response deleteWithResponse(String resourceGroupName, String networ /** * Deletes an NSP Logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param loggingConfigurationName The name of the NSP logging configuration. Accepts 'instance' as name. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -556,12 +555,12 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName /** * Lists the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP logging configuration along with {@link PagedResponse} on successful + * @return the response of a NspLoggingConfiguration list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -586,8 +585,8 @@ private Mono> listSinglePageAsync(St final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, 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())); @@ -596,13 +595,13 @@ private Mono> listSinglePageAsync(St /** * Lists the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP logging configuration along with {@link PagedResponse} on successful + * @return the response of a NspLoggingConfiguration list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -628,8 +627,8 @@ private Mono> listSinglePageAsync(St final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -637,12 +636,12 @@ private Mono> listSinglePageAsync(St /** * Lists the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP logging configuration as paginated response with {@link PagedFlux}. + * @return the response of a NspLoggingConfiguration list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, @@ -654,13 +653,13 @@ public PagedFlux listAsync(String resourceGroupNam /** * Lists the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP logging configuration as paginated response with {@link PagedFlux}. + * @return the response of a NspLoggingConfiguration list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, @@ -672,12 +671,13 @@ private PagedFlux listAsync(String resourceGroupNa /** * Lists the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP logging configuration as paginated response with {@link PagedIterable}. + * @return the response of a NspLoggingConfiguration list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, @@ -688,13 +688,14 @@ public PagedIterable list(String resourceGroupName /** * Lists the NSP logging configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP logging configuration as paginated response with {@link PagedIterable}. + * @return the response of a NspLoggingConfiguration list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, @@ -709,7 +710,7 @@ public PagedIterable list(String resourceGroupName * @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 result of the request to list NSP logging configuration along with {@link PagedResponse} on successful + * @return the response of a NspLoggingConfiguration list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -736,7 +737,7 @@ private Mono> listNextSinglePageAsyn * @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 result of the request to list NSP logging configuration along with {@link PagedResponse} on successful + * @return the response of a NspLoggingConfiguration list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java index 3a10ee6dfc41..fc7154ebc2a3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -56,23 +56,23 @@ public final class NetworkSecurityPerimeterOperationStatusesClientImpl * The interface defining all the services for NetworkManagementClientNetworkSecurityPerimeterOperationStatuses to * be used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkSecurityPerimeterOperationStatuses") public interface NetworkSecurityPerimeterOperationStatusesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/networkSecurityPerimeterOperationStatuses/{operationId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @PathParam("location") String location, - @PathParam("operationId") String operationId, @QueryParam("api-version") String apiVersion, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @PathParam("operationId") String operationId, @HeaderParam("Accept") String accept, Context context); } /** * Gets the operation status for the given operation id. * - * @param location The location of network security perimeter. + * @param location The name of the Azure region. * @param operationId The operation id of the async operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -99,15 +99,15 @@ public Mono> getWithResponseAsync(String lo final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), location, - operationId, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, operationId, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the operation status for the given operation id. * - * @param location The location of network security perimeter. + * @param location The name of the Azure region. * @param operationId The operation id of the async operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -136,14 +136,14 @@ private Mono> getWithResponseAsync(String l final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), location, operationId, - apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, + operationId, accept, context); } /** * Gets the operation status for the given operation id. * - * @param location The location of network security perimeter. + * @param location The name of the Azure region. * @param operationId The operation id of the async operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -158,7 +158,7 @@ public Mono getAsync(String location, String operati /** * Gets the operation status for the given operation id. * - * @param location The location of network security perimeter. + * @param location The name of the Azure region. * @param operationId The operation id of the async operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -174,7 +174,7 @@ public Response getWithResponse(String location, Str /** * Gets the operation status for the given operation id. * - * @param location The location of network security perimeter. + * @param location The name of the Azure region. * @param operationId The operation id of the async operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java index a8f58e0ba9eb..9fb6bb4a061b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -30,7 +30,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.NetworkSecurityPerimeterProfilesClient; import com.azure.resourcemanager.network.fluent.models.NspProfileInner; -import com.azure.resourcemanager.network.models.NspProfileListResult; +import com.azure.resourcemanager.network.implementation.models.NspProfileListResult; import reactor.core.publisher.Mono; /** @@ -62,66 +62,63 @@ public final class NetworkSecurityPerimeterProfilesClientImpl implements Network * The interface defining all the services for NetworkManagementClientNetworkSecurityPerimeterProfiles to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkSecurityPerimeterProfiles") public interface NetworkSecurityPerimeterProfilesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("profileName") String profileName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("profileName") String profileName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("profileName") String profileName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") NspProfileInner parameters, @HeaderParam("Accept") String accept, + @PathParam("profileName") String profileName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NspProfileInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @PathParam("profileName") String profileName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("profileName") String profileName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @QueryParam("api-version") String apiVersion, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); + @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -154,15 +151,15 @@ public Mono> getWithResponseAsync(String resourceGroup final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, profileName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, profileName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param context The context to associate with this operation. @@ -196,14 +193,14 @@ private Mono> getWithResponseAsync(String resourceGrou final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, profileName, accept, context); } /** * Gets the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -221,7 +218,7 @@ public Mono getAsync(String resourceGroupName, String networkSe /** * Gets the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param context The context to associate with this operation. @@ -239,7 +236,7 @@ public Response getWithResponse(String resourceGroupName, Strin /** * Gets the specified NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -255,7 +252,7 @@ public NspProfileInner get(String resourceGroupName, String networkSecurityPerim /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param parameters Parameters that hold the NspProfile resource to be created/updated. @@ -293,17 +290,19 @@ public Mono> createOrUpdateWithResponseAsync(String re parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, profileName, apiVersion, parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, profileName, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param parameters Parameters that hold the NspProfile resource to be created/updated. @@ -342,16 +341,17 @@ private Mono> createOrUpdateWithResponseAsync(String r parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, profileName, contentType, accept, parameters, context); } /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param parameters Parameters that hold the NspProfile resource to be created/updated. @@ -370,7 +370,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Strin /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param parameters Parameters that hold the NspProfile resource to be created/updated. @@ -390,7 +390,7 @@ public Response createOrUpdateWithResponse(String resourceGroup /** * Creates or updates a network profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param parameters Parameters that hold the NspProfile resource to be created/updated. @@ -409,7 +409,7 @@ public NspProfileInner createOrUpdate(String resourceGroupName, String networkSe /** * Deletes an NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -440,17 +440,16 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, profileName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, profileName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes an NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param context The context to associate with this operation. @@ -482,16 +481,15 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S return Mono.error(new IllegalArgumentException("Parameter profileName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, profileName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, profileName, context); } /** * Deletes an NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -508,7 +506,7 @@ public Mono deleteAsync(String resourceGroupName, String networkSecurityPe /** * Deletes an NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @param context The context to associate with this operation. @@ -526,7 +524,7 @@ public Response deleteWithResponse(String resourceGroupName, String networ /** * Deletes an NSP profile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param profileName The name of the NSP profile. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -541,7 +539,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -551,7 +549,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName * @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 result of the request to list NSP profiles along with {@link PagedResponse} on successful completion of + * @return the response of a NspProfile list operation along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -576,8 +574,8 @@ private Mono> listSinglePageAsync(String resource final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, apiVersion, top, skipToken, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, top, skipToken, 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())); @@ -586,7 +584,7 @@ private Mono> listSinglePageAsync(String resource /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -597,7 +595,7 @@ private Mono> listSinglePageAsync(String resource * @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 result of the request to list NSP profiles along with {@link PagedResponse} on successful completion of + * @return the response of a NspProfile list operation along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -623,8 +621,8 @@ private Mono> listSinglePageAsync(String resource final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, apiVersion, top, skipToken, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -632,7 +630,7 @@ private Mono> listSinglePageAsync(String resource /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -642,7 +640,7 @@ private Mono> listSinglePageAsync(String resource * @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 result of the request to list NSP profiles as paginated response with {@link PagedFlux}. + * @return the response of a NspProfile list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -655,12 +653,12 @@ public PagedFlux listAsync(String resourceGroupName, String net /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP profiles as paginated response with {@link PagedFlux}. + * @return the response of a NspProfile list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName) { @@ -674,7 +672,7 @@ public PagedFlux listAsync(String resourceGroupName, String net /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -685,7 +683,7 @@ public PagedFlux listAsync(String resourceGroupName, String net * @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 result of the request to list NSP profiles as paginated response with {@link PagedFlux}. + * @return the response of a NspProfile list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkSecurityPerimeterName, @@ -698,12 +696,12 @@ private PagedFlux listAsync(String resourceGroupName, String ne /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @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 result of the request to list NSP profiles as paginated response with {@link PagedIterable}. + * @return the response of a NspProfile list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName) { @@ -715,7 +713,7 @@ public PagedIterable list(String resourceGroupName, String netw /** * Lists the NSP profiles in the specified network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -726,7 +724,7 @@ public PagedIterable list(String resourceGroupName, String netw * @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 result of the request to list NSP profiles as paginated response with {@link PagedIterable}. + * @return the response of a NspProfile list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkSecurityPerimeterName, @@ -741,7 +739,7 @@ public PagedIterable list(String resourceGroupName, String netw * @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 result of the request to list NSP profiles along with {@link PagedResponse} on successful completion of + * @return the response of a NspProfile list operation along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -768,7 +766,7 @@ private Mono> listNextSinglePageAsync(String next * @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 result of the request to list NSP profiles along with {@link PagedResponse} on successful completion of + * @return the response of a NspProfile list operation along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java index 78fa0f8847c9..0a7a57f4f15d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.NetworkSecurityPerimeterServiceTagsClient; import com.azure.resourcemanager.network.fluent.models.NspServiceTagsResourceInner; -import com.azure.resourcemanager.network.models.NspServiceTagsListResult; +import com.azure.resourcemanager.network.implementation.models.NspServiceTagsListResult; import reactor.core.publisher.Mono; /** @@ -59,30 +59,30 @@ public final class NetworkSecurityPerimeterServiceTagsClientImpl implements Netw * The interface defining all the services for NetworkManagementClientNetworkSecurityPerimeterServiceTags to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkSecurityPerimeterServiceTags") public interface NetworkSecurityPerimeterServiceTagsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/nspServiceTags") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @PathParam("location") String location, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the list of service tags supported by NSP. These service tags can be used to create access rules in NSP. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -105,8 +105,8 @@ private Mono> listSinglePageAsync(Str final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), location, - apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, 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())); @@ -115,7 +115,7 @@ private Mono> listSinglePageAsync(Str /** * Gets the list of service tags supported by NSP. These service tags can be used to create access rules in NSP. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -140,7 +140,7 @@ private Mono> listSinglePageAsync(Str final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), location, apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -148,7 +148,7 @@ private Mono> listSinglePageAsync(Str /** * Gets the list of service tags supported by NSP. These service tags can be used to create access rules in NSP. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -162,7 +162,7 @@ public PagedFlux listAsync(String location) { /** * Gets the list of service tags supported by NSP. These service tags can be used to create access rules in NSP. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -178,7 +178,7 @@ private PagedFlux listAsync(String location, Contex /** * Gets the list of service tags supported by NSP. These service tags can be used to create access rules in NSP. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. @@ -192,7 +192,7 @@ public PagedIterable list(String location) { /** * Gets the list of service tags supported by NSP. These service tags can be used to create access rules in NSP. * - * @param location The location of network security perimeter. + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java index 53bad5afaebe..9a9c5f1f5a3b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkSecurityPerimetersClient; import com.azure.resourcemanager.network.fluent.models.NetworkSecurityPerimeterInner; -import com.azure.resourcemanager.network.models.NetworkSecurityPerimeterListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkSecurityPerimeterListResult; import com.azure.resourcemanager.network.models.UpdateTagsRequest; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,69 +73,64 @@ public final class NetworkSecurityPerimetersClientImpl implements InnerSupportsG * The interface defining all the services for NetworkManagementClientNetworkSecurityPerimeters to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkSecurityPerimeters") public interface NetworkSecurityPerimetersService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") NetworkSecurityPerimeterInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") NetworkSecurityPerimeterInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}") - @ExpectedResponses({ 200, 202, 204 }) + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> patch(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @QueryParam("api-version") String apiVersion, @QueryParam("forceDeletion") Boolean forceDeletion, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") UpdateTagsRequest parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}") + @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> patch(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityPerimeterName") String networkSecurityPerimeterName, - @QueryParam("api-version") String apiVersion, @BodyParam("application/json") UpdateTagsRequest parameters, - @HeaderParam("Accept") String accept, Context context); + @QueryParam("forceDeletion") Boolean forceDeletion, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityPerimeters") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, - @HeaderParam("Accept") String accept, Context context); + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityPerimeters") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @@ -143,23 +138,23 @@ Mono> listByResourceGroup(@HostPara @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listBySubscriptionNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @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> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listBySubscriptionNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified network security perimeter by the name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -189,16 +184,15 @@ public Mono> getByResourceGroupWithRespo final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, apiVersion, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified network security perimeter by the name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -229,14 +223,14 @@ private Mono> getByResourceGroupWithResp final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, apiVersion, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, accept, context); } /** * Gets the specified network security perimeter by the name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -253,7 +247,7 @@ public Mono getByResourceGroupAsync(String resour /** * Gets the specified network security perimeter by the name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -270,7 +264,7 @@ public Response getByResourceGroupWithResponse(St /** * Gets the specified network security perimeter by the name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -286,7 +280,7 @@ public NetworkSecurityPerimeterInner getByResourceGroup(String resourceGroupName /** * Creates or updates a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param parameters Parameter supplied to create or update the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -320,17 +314,19 @@ public Mono> createOrUpdateWithResponseA parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, apiVersion, parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityPerimeterName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param parameters Parameter supplied to create or update the network security perimeter. * @param context The context to associate with this operation. @@ -365,16 +361,17 @@ private Mono> createOrUpdateWithResponse parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, contentType, accept, parameters, context); } /** * Creates or updates a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param parameters Parameter supplied to create or update the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -392,7 +389,7 @@ public Mono createOrUpdateAsync(String resourceGr /** * Creates or updates a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param parameters Parameter supplied to create or update the network security perimeter. * @param context The context to associate with this operation. @@ -411,7 +408,7 @@ public Response createOrUpdateWithResponse(String /** * Creates or updates a Network Security Perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param parameters Parameter supplied to create or update the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -426,10 +423,154 @@ public NetworkSecurityPerimeterInner createOrUpdate(String resourceGroupName, St .getValue(); } + /** + * Patch Tags for a Network Security Perimeter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityPerimeterName The name of the network security perimeter. + * @param parameters Parameter supplied to the network security perimeter. + * @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 Network Security Perimeter resource along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> patchWithResponseAsync(String resourceGroupName, + String networkSecurityPerimeterName, UpdateTagsRequest parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkSecurityPerimeterName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkSecurityPerimeterName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.patch(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Patch Tags for a Network Security Perimeter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityPerimeterName The name of the network security perimeter. + * @param parameters Parameter supplied to the network security perimeter. + * @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 Network Security Perimeter resource along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> patchWithResponseAsync(String resourceGroupName, + String networkSecurityPerimeterName, UpdateTagsRequest parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkSecurityPerimeterName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkSecurityPerimeterName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.patch(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, contentType, accept, parameters, context); + } + + /** + * Patch Tags for a Network Security Perimeter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityPerimeterName The name of the network security perimeter. + * @param parameters Parameter supplied to the network security perimeter. + * @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 Network Security Perimeter resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono patchAsync(String resourceGroupName, String networkSecurityPerimeterName, + UpdateTagsRequest parameters) { + return patchWithResponseAsync(resourceGroupName, networkSecurityPerimeterName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Patch Tags for a Network Security Perimeter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityPerimeterName The name of the network security perimeter. + * @param parameters Parameter supplied to the network security perimeter. + * @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 Network Security Perimeter resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response patchWithResponse(String resourceGroupName, + String networkSecurityPerimeterName, UpdateTagsRequest parameters, Context context) { + return patchWithResponseAsync(resourceGroupName, networkSecurityPerimeterName, parameters, context).block(); + } + + /** + * Patch Tags for a Network Security Perimeter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityPerimeterName The name of the network security perimeter. + * @param parameters Parameter supplied to the network security perimeter. + * @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 Network Security Perimeter resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkSecurityPerimeterInner patch(String resourceGroupName, String networkSecurityPerimeterName, + UpdateTagsRequest parameters) { + return patchWithResponse(resourceGroupName, networkSecurityPerimeterName, parameters, Context.NONE).getValue(); + } + /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -457,17 +598,17 @@ public Mono>> deleteWithResponseAsync(String resourceG new IllegalArgumentException("Parameter networkSecurityPerimeterName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, apiVersion, forceDeletion, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityPerimeterName, forceDeletion, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. * @param context The context to associate with this operation. @@ -496,16 +637,15 @@ private Mono>> deleteWithResponseAsync(String resource new IllegalArgumentException("Parameter networkSecurityPerimeterName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, apiVersion, forceDeletion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityPerimeterName, forceDeletion, context); } /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -525,7 +665,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -545,7 +685,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. * @param context The context to associate with this operation. @@ -567,7 +707,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -584,7 +724,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. * @param context The context to associate with this operation. @@ -603,7 +743,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -621,7 +761,7 @@ public Mono deleteAsync(String resourceGroupName, String networkSecurityPe /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -638,7 +778,7 @@ public Mono deleteAsync(String resourceGroupName, String networkSecurityPe /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. * @param context The context to associate with this operation. @@ -657,7 +797,7 @@ private Mono deleteAsync(String resourceGroupName, String networkSecurityP /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -672,7 +812,7 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName /** * Deletes a network security perimeter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityPerimeterName The name of the network security perimeter. * @param forceDeletion Deletes the resource even if it contains any child associations. * @param context The context to associate with this operation. @@ -687,149 +827,9 @@ public void delete(String resourceGroupName, String networkSecurityPerimeterName } /** - * Patch Tags for a Network Security Perimeter. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param parameters Parameter supplied to the network security perimeter. - * @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 Network Security Perimeter resource along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> patchWithResponseAsync(String resourceGroupName, - String networkSecurityPerimeterName, UpdateTagsRequest parameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkSecurityPerimeterName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkSecurityPerimeterName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.patch(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkSecurityPerimeterName, apiVersion, parameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Patch Tags for a Network Security Perimeter. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param parameters Parameter supplied to the network security perimeter. - * @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 Network Security Perimeter resource along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> patchWithResponseAsync(String resourceGroupName, - String networkSecurityPerimeterName, UpdateTagsRequest parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkSecurityPerimeterName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkSecurityPerimeterName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.patch(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkSecurityPerimeterName, apiVersion, parameters, accept, context); - } - - /** - * Patch Tags for a Network Security Perimeter. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param parameters Parameter supplied to the network security perimeter. - * @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 Network Security Perimeter resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono patchAsync(String resourceGroupName, String networkSecurityPerimeterName, - UpdateTagsRequest parameters) { - return patchWithResponseAsync(resourceGroupName, networkSecurityPerimeterName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Patch Tags for a Network Security Perimeter. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param parameters Parameter supplied to the network security perimeter. - * @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 Network Security Perimeter resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response patchWithResponse(String resourceGroupName, - String networkSecurityPerimeterName, UpdateTagsRequest parameters, Context context) { - return patchWithResponseAsync(resourceGroupName, networkSecurityPerimeterName, parameters, context).block(); - } - - /** - * Patch Tags for a Network Security Perimeter. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityPerimeterName The name of the network security perimeter. - * @param parameters Parameter supplied to the network security perimeter. - * @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 Network Security Perimeter resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkSecurityPerimeterInner patch(String resourceGroupName, String networkSecurityPerimeterName, - UpdateTagsRequest parameters) { - return patchWithResponse(resourceGroupName, networkSecurityPerimeterName, parameters, Context.NONE).getValue(); - } - - /** - * List all network security perimeters in a subscription. + * List network security perimeters in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -838,11 +838,12 @@ public NetworkSecurityPerimeterInner patch(String resourceGroupName, String netw * @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 result of the request to list NetworkSecurityPerimeter along with {@link PagedResponse} on successful + * @return the response of a NetworkSecurityPerimeter list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Integer top, String skipToken) { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName, Integer top, String skipToken) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -851,19 +852,24 @@ private Mono> listSinglePageAsync(I return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - top, skipToken, accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, top, skipToken, 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())); } /** - * List all network security perimeters in a subscription. + * List network security perimeters in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -873,12 +879,12 @@ private Mono> listSinglePageAsync(I * @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 result of the request to list NetworkSecurityPerimeter along with {@link PagedResponse} on successful + * @return the response of a NetworkSecurityPerimeter list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Integer top, String skipToken, - Context context) { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName, Integer top, String skipToken, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -887,19 +893,24 @@ private Mono> listSinglePageAsync(I return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, top, skipToken, accept, - context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * List all network security perimeters in a subscription. + * List network security perimeters in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -908,32 +919,36 @@ private Mono> listSinglePageAsync(I * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedFlux}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(Integer top, String skipToken) { - return new PagedFlux<>(() -> listSinglePageAsync(top, skipToken), - nextLink -> listBySubscriptionNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, + String skipToken) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * List all network security perimeters in a subscription. + * List network security perimeters in a 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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedFlux}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { final Integer top = null; final String skipToken = null; - return new PagedFlux<>(() -> listSinglePageAsync(top, skipToken), - nextLink -> listBySubscriptionNextSinglePageAsync(nextLink)); + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * List all network security perimeters in a subscription. + * List network security perimeters in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -943,31 +958,36 @@ public PagedFlux listAsync() { * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedFlux}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Integer top, String skipToken, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(top, skipToken, context), - nextLink -> listBySubscriptionNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, + String skipToken, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * List all network security perimeters in a subscription. + * List network security perimeters in a 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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedIterable}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { + public PagedIterable listByResourceGroup(String resourceGroupName) { final Integer top = null; final String skipToken = null; - return new PagedIterable<>(listAsync(top, skipToken)); + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, top, skipToken)); } /** - * List all network security perimeters in a subscription. + * List network security perimeters in a resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -977,17 +997,18 @@ public PagedIterable list() { * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedIterable}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Integer top, String skipToken, Context context) { - return new PagedIterable<>(listAsync(top, skipToken, context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Integer top, + String skipToken, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, top, skipToken, context)); } /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -996,12 +1017,11 @@ public PagedIterable list(Integer top, String ski * @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 result of the request to list NetworkSecurityPerimeter along with {@link PagedResponse} on successful + * @return the response of a NetworkSecurityPerimeter list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName, Integer top, String skipToken) { + private Mono> listSinglePageAsync(Integer top, String skipToken) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1010,24 +1030,19 @@ public PagedIterable list(Integer top, String ski return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, apiVersion, top, skipToken, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + top, skipToken, 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())); } /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -1037,12 +1052,12 @@ public PagedIterable list(Integer top, String ski * @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 result of the request to list NetworkSecurityPerimeter along with {@link PagedResponse} on successful + * @return the response of a NetworkSecurityPerimeter list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName, Integer top, String skipToken, Context context) { + private Mono> listSinglePageAsync(Integer top, String skipToken, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1051,24 +1066,19 @@ public PagedIterable list(Integer top, String ski return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - apiVersion, top, skipToken, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), top, skipToken, accept, + context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -1077,36 +1087,32 @@ public PagedIterable list(Integer top, String ski * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedFlux}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, - String skipToken) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listAsync(Integer top, String skipToken) { + return new PagedFlux<>(() -> listSinglePageAsync(top, skipToken), + nextLink -> listBySubscriptionNextSinglePageAsync(nextLink)); } /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedFlux}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + public PagedFlux listAsync() { final Integer top = null; final String skipToken = null; - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); + return new PagedFlux<>(() -> listSinglePageAsync(top, skipToken), + nextLink -> listBySubscriptionNextSinglePageAsync(nextLink)); } /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -1116,35 +1122,32 @@ public PagedFlux listByResourceGroupAsync(String * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedFlux}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Integer top, - String skipToken, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, top, skipToken, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Integer top, String skipToken, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(top, skipToken, context), + nextLink -> listBySubscriptionNextSinglePageAsync(nextLink, context)); } /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedIterable}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { + public PagedIterable list() { final Integer top = null; final String skipToken = null; - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, top, skipToken)); + return new PagedIterable<>(listAsync(top, skipToken)); } /** - * List network security perimeters in a resource group. + * List all network security perimeters in a subscription. * - * @param resourceGroupName The name of the resource group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response @@ -1154,12 +1157,12 @@ public PagedIterable listByResourceGroup(String r * @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 result of the request to list NetworkSecurityPerimeter as paginated response with {@link PagedIterable}. + * @return the response of a NetworkSecurityPerimeter list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Integer top, - String skipToken, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, top, skipToken, context)); + public PagedIterable list(Integer top, String skipToken, Context context) { + return new PagedIterable<>(listAsync(top, skipToken, context)); } /** @@ -1169,11 +1172,11 @@ public PagedIterable listByResourceGroup(String r * @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 result of the request to list NetworkSecurityPerimeter along with {@link PagedResponse} on successful + * @return the response of a NetworkSecurityPerimeter list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listBySubscriptionNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1182,9 +1185,7 @@ private Mono> listBySubscriptionNex new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.listBySubscriptionNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1198,11 +1199,11 @@ private Mono> listBySubscriptionNex * @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 result of the request to list NetworkSecurityPerimeter along with {@link PagedResponse} on successful + * @return the response of a NetworkSecurityPerimeter list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listBySubscriptionNextSinglePageAsync(String nextLink, + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1213,7 +1214,7 @@ private Mono> listBySubscriptionNex } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listBySubscriptionNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1225,11 +1226,11 @@ private Mono> listBySubscriptionNex * @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 result of the request to list NetworkSecurityPerimeter along with {@link PagedResponse} on successful + * @return the response of a NetworkSecurityPerimeter list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listBySubscriptionNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1238,7 +1239,9 @@ private Mono> listNextSinglePageAsy new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + 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())); @@ -1252,11 +1255,11 @@ private Mono> listNextSinglePageAsy * @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 result of the request to list NetworkSecurityPerimeter along with {@link PagedResponse} on successful + * @return the response of a NetworkSecurityPerimeter list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, + private Mono> listBySubscriptionNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1267,7 +1270,7 @@ private Mono> listNextSinglePageAsy } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return 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)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java index aa83d549908c..c5433eea5d04 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkVirtualApplianceConnectionsClient; import com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceConnectionInner; -import com.azure.resourcemanager.network.models.NetworkVirtualApplianceConnectionList; +import com.azure.resourcemanager.network.implementation.models.NetworkVirtualApplianceConnectionList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,68 +67,66 @@ public final class NetworkVirtualApplianceConnectionsClientImpl implements Netwo * The interface defining all the services for NetworkManagementClientNetworkVirtualApplianceConnections to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkVirtualApplianceConnections") public interface NetworkVirtualApplianceConnectionsService { - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, + @PathParam("connectionName") String connectionName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NetworkVirtualApplianceConnectionInner networkVirtualApplianceConnectionParameters, - @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -167,20 +165,21 @@ public Mono>> createOrUpdateWithResponseAsync(String r networkVirtualApplianceConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkVirtualApplianceName, connectionName, apiVersion, - networkVirtualApplianceConnectionParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkVirtualApplianceName, connectionName, + contentType, accept, networkVirtualApplianceConnectionParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @param context The context to associate with this operation. @@ -220,19 +219,20 @@ private Mono>> createOrUpdateWithResponseAsync(String networkVirtualApplianceConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkVirtualApplianceName, connectionName, apiVersion, networkVirtualApplianceConnectionParameters, - accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, connectionName, contentType, accept, + networkVirtualApplianceConnectionParameters, context); } /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -254,9 +254,9 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @param context The context to associate with this operation. @@ -280,9 +280,9 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -303,9 +303,9 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @param context The context to associate with this operation. @@ -327,9 +327,9 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -348,9 +348,9 @@ public Mono createOrUpdateAsync(String r /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @param context The context to associate with this operation. @@ -370,9 +370,9 @@ private Mono createOrUpdateAsync(String /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -391,9 +391,9 @@ public NetworkVirtualApplianceConnectionInner createOrUpdate(String resourceGrou /** * Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @param networkVirtualApplianceConnectionParameters Parameters supplied in an NetworkVirtualApplianceConnection * PUT operation. * @param context The context to associate with this operation. @@ -413,9 +413,9 @@ public NetworkVirtualApplianceConnectionInner createOrUpdate(String resourceGrou /** * Retrieves the details of specified NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -447,17 +447,17 @@ public Mono> getWithResponseAsy final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkVirtualApplianceName, connectionName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, connectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of specified NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -490,16 +490,16 @@ private Mono> getWithResponseAs final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkVirtualApplianceName, connectionName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkVirtualApplianceName, connectionName, accept, context); } /** * Retrieves the details of specified NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -515,9 +515,9 @@ public Mono getAsync(String resourceGrou /** * Retrieves the details of specified NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -533,9 +533,9 @@ public Response getWithResponse(String r /** * Retrieves the details of specified NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -550,9 +550,9 @@ public NetworkVirtualApplianceConnectionInner get(String resourceGroupName, Stri /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -581,19 +581,19 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkVirtualApplianceName, connectionName, apiVersion, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, connectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -623,18 +623,17 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkVirtualApplianceName, connectionName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkVirtualApplianceName, connectionName, context); } /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -652,9 +651,9 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -674,9 +673,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -691,9 +690,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -710,9 +709,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -727,9 +726,9 @@ public Mono deleteAsync(String resourceGroupName, String networkVirtualApp /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -746,9 +745,9 @@ private Mono deleteAsync(String resourceGroupName, String networkVirtualAp /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -761,9 +760,9 @@ public void delete(String resourceGroupName, String networkVirtualApplianceName, /** * Deletes a NVA connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param connectionName The name of the NVA connection. + * @param connectionName The connectionName parameter. * @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. @@ -778,8 +777,8 @@ public void delete(String resourceGroupName, String networkVirtualApplianceName, /** * Lists NetworkVirtualApplianceConnections under the NVA. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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. @@ -808,8 +807,8 @@ private Mono> listSinglePa final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkVirtualApplianceName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, 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())); @@ -818,8 +817,8 @@ private Mono> listSinglePa /** * Lists NetworkVirtualApplianceConnections under the NVA. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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. @@ -850,8 +849,8 @@ private Mono> listSinglePa final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkVirtualApplianceName, apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkVirtualApplianceName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -859,8 +858,8 @@ private Mono> listSinglePa /** * Lists NetworkVirtualApplianceConnections under the NVA. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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. @@ -876,8 +875,8 @@ public PagedFlux listAsync(String resour /** * Lists NetworkVirtualApplianceConnections under the NVA. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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. @@ -894,8 +893,8 @@ private PagedFlux listAsync(String resou /** * Lists NetworkVirtualApplianceConnections under the NVA. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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. @@ -910,8 +909,8 @@ public PagedIterable list(String resourc /** * Lists NetworkVirtualApplianceConnections under the NVA. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java index de3416a9c42b..008be58d0187 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -37,8 +37,8 @@ import com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceInner; import com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceInstanceIdInner; import com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceInstanceIdsInner; +import com.azure.resourcemanager.network.implementation.models.NetworkVirtualApplianceListResult; import com.azure.resourcemanager.network.models.NetworkVirtualApplianceBootDiagnosticParameters; -import com.azure.resourcemanager.network.models.NetworkVirtualApplianceListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -77,106 +77,105 @@ public final class NetworkVirtualAppliancesClientImpl implements InnerSupportsGe * The interface defining all the services for NetworkManagementClientNetworkVirtualAppliances to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkVirtualAppliances") public interface NetworkVirtualAppliancesService { @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}") - @ExpectedResponses({ 200, 202, 204 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, + @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); + + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") NetworkVirtualApplianceInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}") + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, Context context); @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @QueryParam("api-version") String apiVersion, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + 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" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}") - @ExpectedResponses({ 200, 201 }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") NetworkVirtualApplianceInner parameters, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/restart") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> restart(@HostParam("$host") String endpoint, + Mono>> restart(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds, - @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/reimage") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> reimage(@HostParam("$host") String endpoint, + Mono>> reimage(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NetworkVirtualApplianceInstanceIdsInner networkVirtualApplianceInstanceIds, - @HeaderParam("Accept") String accept, Context context); + Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/getBootDiagnosticLogs") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getBootDiagnosticLogs(@HostParam("$host") String endpoint, + Mono>> getBootDiagnosticLogs(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") NetworkVirtualApplianceBootDiagnosticParameters request, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @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.Network/networkVirtualAppliances") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") NetworkVirtualApplianceBootDiagnosticParameters request, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -184,27 +183,33 @@ Mono> listByResourceGroupNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified Network Virtual Appliance. + * Gets the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param expand Expands referenced resources. * @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}. + * @return the specified Network Virtual Appliance along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, String expand) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -213,36 +218,37 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - networkVirtualApplianceName, apiVersion, this.client.getSubscriptionId(), accept, context)) + return FluxUtil.withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkVirtualApplianceName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified Network Virtual Appliance. + * Gets the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param expand Expands referenced resources. * @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 Response} on successful completion of {@link Mono}. + * @return the specified Network Virtual Appliance along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, Context context) { + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, String expand, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -251,170 +257,90 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified Network Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String networkVirtualApplianceName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkVirtualApplianceName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified Network Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String networkVirtualApplianceName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkVirtualApplianceName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified Network Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @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 networkVirtualApplianceName) { - return this.beginDeleteAsync(resourceGroupName, networkVirtualApplianceName).getSyncPoller(); - } - - /** - * Deletes the specified Network Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @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 networkVirtualApplianceName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, context).getSyncPoller(); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, expand, accept, context); } /** - * Deletes the specified Network Virtual Appliance. + * Gets the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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. + * @return the specified Network Virtual Appliance on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName) { - return beginDeleteAsync(resourceGroupName, networkVirtualApplianceName).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono getByResourceGroupAsync(String resourceGroupName, + String networkVirtualApplianceName) { + final String expand = null; + return getByResourceGroupWithResponseAsync(resourceGroupName, networkVirtualApplianceName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Deletes the specified Network Virtual Appliance. + * Gets the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param expand Expands referenced resources. * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName, Context context) { - return beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified Network Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @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 Network Virtual Appliance along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String networkVirtualApplianceName) { - deleteAsync(resourceGroupName, networkVirtualApplianceName).block(); + public Response getByResourceGroupWithResponse(String resourceGroupName, + String networkVirtualApplianceName, String expand, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, networkVirtualApplianceName, expand, context) + .block(); } /** - * Deletes the specified Network Virtual Appliance. + * Gets the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @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 Network Virtual Appliance. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String networkVirtualApplianceName, Context context) { - deleteAsync(resourceGroupName, networkVirtualApplianceName, context).block(); + public NetworkVirtualApplianceInner getByResourceGroup(String resourceGroupName, + String networkVirtualApplianceName) { + final String expand = null; + return getByResourceGroupWithResponse(resourceGroupName, networkVirtualApplianceName, expand, Context.NONE) + .getValue(); } /** - * Gets the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 Network Virtual Appliance along with {@link Response} on successful completion of - * {@link Mono}. + * @return networkVirtualAppliance Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, String expand) { + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -423,38 +349,44 @@ public Mono> getByResourceGroupWithRespon return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - networkVirtualApplianceName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkVirtualApplianceName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 Network Virtual Appliance along with {@link Response} on successful completion of - * {@link Mono}. + * @return networkVirtualAppliance Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, String expand, Context context) { + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -463,77 +395,179 @@ private Mono> getByResourceGroupWithRespo return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, - apiVersion, this.client.getSubscriptionId(), expand, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, contentType, accept, parameters, context); } /** - * Gets the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 Network Virtual Appliance on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of networkVirtualAppliance Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, NetworkVirtualApplianceInner> beginCreateOrUpdateAsync( + String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, networkVirtualApplianceName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), NetworkVirtualApplianceInner.class, NetworkVirtualApplianceInner.class, + this.client.getContext()); + } + + /** + * Creates or updates the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 PollerFlux} for polling of networkVirtualAppliance Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, NetworkVirtualApplianceInner> beginCreateOrUpdateAsync( + String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, networkVirtualApplianceName, parameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), NetworkVirtualApplianceInner.class, NetworkVirtualApplianceInner.class, + context); + } + + /** + * Creates or updates the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 networkVirtualAppliance Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, NetworkVirtualApplianceInner> beginCreateOrUpdate( + String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters) + .getSyncPoller(); + } + + /** + * Creates or updates the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 networkVirtualAppliance Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, NetworkVirtualApplianceInner> beginCreateOrUpdate( + String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, + Context context) { + return this.beginCreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters, context) + .getSyncPoller(); + } + + /** + * Creates or updates the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 networkVirtualAppliance Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, - String networkVirtualApplianceName) { - final String expand = null; - return getByResourceGroupWithResponseAsync(resourceGroupName, networkVirtualApplianceName, expand) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono createOrUpdateAsync(String resourceGroupName, + String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) { + return beginCreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 Network Virtual Appliance along with {@link Response}. + * @return networkVirtualAppliance Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String networkVirtualApplianceName, String expand, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, networkVirtualApplianceName, expand, context) - .block(); + private Mono createOrUpdateAsync(String resourceGroupName, + String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified Network Virtual Appliance. + * Creates or updates the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 Network Virtual Appliance. + * @return networkVirtualAppliance Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkVirtualApplianceInner getByResourceGroup(String resourceGroupName, - String networkVirtualApplianceName) { - final String expand = null; - return getByResourceGroupWithResponse(resourceGroupName, networkVirtualApplianceName, expand, Context.NONE) - .getValue(); + public NetworkVirtualApplianceInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, + NetworkVirtualApplianceInner parameters) { + return createOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters).block(); + } + + /** + * Creates or updates the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 networkVirtualAppliance Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkVirtualApplianceInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, + NetworkVirtualApplianceInner parameters, Context context) { + return createOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters, context).block(); } /** * Updates a Network Virtual Appliance. * - * @param resourceGroupName The resource group name of Network Virtual Appliance. - * @param networkVirtualApplianceName The name of Network Virtual Appliance being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param parameters Parameters supplied to Update Network Virtual Appliance Tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -565,18 +599,20 @@ public Mono> updateTagsWithResponseAsync( parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkVirtualApplianceName, apiVersion, parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates a Network Virtual Appliance. * - * @param resourceGroupName The resource group name of Network Virtual Appliance. - * @param networkVirtualApplianceName The name of Network Virtual Appliance being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param parameters Parameters supplied to Update Network Virtual Appliance Tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -609,17 +645,18 @@ private Mono> updateTagsWithResponseAsync parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkVirtualApplianceName, apiVersion, parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, contentType, accept, parameters, context); } /** * Updates a Network Virtual Appliance. * - * @param resourceGroupName The resource group name of Network Virtual Appliance. - * @param networkVirtualApplianceName The name of Network Virtual Appliance being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param parameters Parameters supplied to Update Network Virtual Appliance Tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -636,8 +673,8 @@ public Mono updateTagsAsync(String resourceGroupNa /** * Updates a Network Virtual Appliance. * - * @param resourceGroupName The resource group name of Network Virtual Appliance. - * @param networkVirtualApplianceName The name of Network Virtual Appliance being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param parameters Parameters supplied to Update Network Virtual Appliance Tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -654,8 +691,8 @@ public Response updateTagsWithResponse(String reso /** * Updates a Network Virtual Appliance. * - * @param resourceGroupName The resource group name of Network Virtual Appliance. - * @param networkVirtualApplianceName The name of Network Virtual Appliance being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param parameters Parameters supplied to Update Network Virtual Appliance Tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -670,23 +707,63 @@ public NetworkVirtualApplianceInner updateTags(String resourceGroupName, String } /** - * Creates or updates the specified Network Virtual Appliance. + * Deletes the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 networkVirtualAppliance Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkVirtualApplianceName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkVirtualApplianceName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -695,233 +772,400 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkVirtualApplianceName, context); + } + + /** + * Deletes the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String networkVirtualApplianceName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, networkVirtualApplianceName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String networkVirtualApplianceName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkVirtualApplianceName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @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 networkVirtualApplianceName) { + return this.beginDeleteAsync(resourceGroupName, networkVirtualApplianceName).getSyncPoller(); + } + + /** + * Deletes the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @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 networkVirtualApplianceName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, context).getSyncPoller(); + } + + /** + * Deletes the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @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) + public Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName) { + return beginDeleteAsync(resourceGroupName, networkVirtualApplianceName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName, Context context) { + return beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @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 networkVirtualApplianceName) { + deleteAsync(resourceGroupName, networkVirtualApplianceName).block(); + } + + /** + * Deletes the specified Network Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @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 networkVirtualApplianceName, Context context) { + deleteAsync(resourceGroupName, networkVirtualApplianceName, context).block(); + } + + /** + * Lists all Network Virtual Appliances in a 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 NetworkVirtualAppliance list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - networkVirtualApplianceName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Creates or updates the specified Network Virtual Appliance. + * Lists all Network Virtual Appliances in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 networkVirtualAppliance Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the response of a NetworkVirtualAppliance list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, Context context) { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkVirtualApplianceName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Creates or updates the specified Network Virtual Appliance. + * Lists all Network Virtual Appliances in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 {@link PollerFlux} for polling of networkVirtualAppliance Resource. + * @return the response of a NetworkVirtualAppliance list operation as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, NetworkVirtualApplianceInner> beginCreateOrUpdateAsync( - String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) { - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, networkVirtualApplianceName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), NetworkVirtualApplianceInner.class, NetworkVirtualApplianceInner.class, - this.client.getContext()); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); } /** - * Creates or updates the specified Network Virtual Appliance. + * Lists all Network Virtual Appliances in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 {@link PollerFlux} for polling of networkVirtualAppliance Resource. + * @return the response of a NetworkVirtualAppliance list operation as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, NetworkVirtualApplianceInner> beginCreateOrUpdateAsync( - String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, networkVirtualApplianceName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), NetworkVirtualApplianceInner.class, NetworkVirtualApplianceInner.class, - context); + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); } /** - * Creates or updates the specified Network Virtual Appliance. + * Lists all Network Virtual Appliances in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 {@link SyncPoller} for polling of networkVirtualAppliance Resource. + * @return the response of a NetworkVirtualAppliance list operation as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, NetworkVirtualApplianceInner> beginCreateOrUpdate( - String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters) - .getSyncPoller(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Creates or updates the specified Network Virtual Appliance. + * Lists all Network Virtual Appliances in a resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 {@link SyncPoller} for polling of networkVirtualAppliance Resource. + * @return the response of a NetworkVirtualAppliance list operation as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, NetworkVirtualApplianceInner> beginCreateOrUpdate( - String resourceGroupName, String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, - Context context) { - return this.beginCreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters, context) - .getSyncPoller(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Creates or updates the specified Network Virtual Appliance. + * Gets all Network Virtual Appliances in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. - * @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 networkVirtualAppliance Resource on successful completion of {@link Mono}. + * @return all Network Virtual Appliances in a subscription along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, - String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Creates or updates the specified Network Virtual Appliance. + * Gets all Network Virtual Appliances in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 networkVirtualAppliance Resource on successful completion of {@link Mono}. + * @return all Network Virtual Appliances in a subscription along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, - String networkVirtualApplianceName, NetworkVirtualApplianceInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Creates or updates the specified Network Virtual Appliance. + * Gets all Network Virtual Appliances in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. + * @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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets all Network Virtual Appliances in a 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 networkVirtualAppliance Resource. + * @return all Network Virtual Appliances in a subscription as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkVirtualApplianceInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, - NetworkVirtualApplianceInner parameters) { - return createOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Creates or updates the specified Network Virtual Appliance. + * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Gets all Network Virtual Appliances in a subscription. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of Network Virtual Appliance. - * @param parameters Parameters supplied to the create or update Network Virtual Appliance. * @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 networkVirtualAppliance Resource. + * @return all Network Virtual Appliances in a subscription as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkVirtualApplianceInner createOrUpdate(String resourceGroupName, String networkVirtualApplianceName, - NetworkVirtualApplianceInner parameters, Context context) { - return createOrUpdateAsync(resourceGroupName, networkVirtualApplianceName, parameters, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances along - * with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> restartWithResponseAsync(String resourceGroupName, @@ -931,6 +1175,10 @@ public Mono>> restartWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -939,26 +1187,22 @@ public Mono>> restartWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (networkVirtualApplianceInstanceIds != null) { networkVirtualApplianceInstanceIds.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.restart(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, - apiVersion, this.client.getSubscriptionId(), networkVirtualApplianceInstanceIds, accept, context)) + .withContext(context -> service.restart(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkVirtualApplianceName, accept, + networkVirtualApplianceInstanceIds, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -966,8 +1210,7 @@ public Mono>> restartWithResponseAsync(String resource * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances along - * with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> restartWithResponseAsync(String resourceGroupName, @@ -977,6 +1220,10 @@ private Mono>> restartWithResponseAsync(String resourc return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -985,32 +1232,27 @@ private Mono>> restartWithResponseAsync(String resourc return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (networkVirtualApplianceInstanceIds != null) { networkVirtualApplianceInstanceIds.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.restart(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, apiVersion, - this.client.getSubscriptionId(), networkVirtualApplianceInstanceIds, accept, context); + return service.restart(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, accept, networkVirtualApplianceInstanceIds, context); } /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, NetworkVirtualApplianceInstanceIdsInner> @@ -1027,13 +1269,12 @@ private Mono>> restartWithResponseAsync(String resourc /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, NetworkVirtualApplianceInstanceIdsInner> @@ -1050,7 +1291,7 @@ private Mono>> restartWithResponseAsync(String resourc /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -1058,8 +1299,7 @@ private Mono>> restartWithResponseAsync(String resourc * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, NetworkVirtualApplianceInstanceIdsInner> @@ -1077,13 +1317,12 @@ private Mono>> restartWithResponseAsync(String resourc /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, NetworkVirtualApplianceInstanceIdsInner> @@ -1097,7 +1336,7 @@ private Mono>> restartWithResponseAsync(String resourc /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -1105,8 +1344,7 @@ private Mono>> restartWithResponseAsync(String resourc * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, NetworkVirtualApplianceInstanceIdsInner> @@ -1121,15 +1359,14 @@ private Mono>> restartWithResponseAsync(String resourc /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on - * successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono restartAsync(String resourceGroupName, @@ -1143,13 +1380,12 @@ public Mono restartAsync(String resourc /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on - * successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono restartAsync(String resourceGroupName, @@ -1163,7 +1399,7 @@ public Mono restartAsync(String resourc /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -1171,8 +1407,7 @@ public Mono restartAsync(String resourc * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on - * successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono restartAsync(String resourceGroupName, @@ -1185,12 +1420,12 @@ private Mono restartAsync(String resour /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public NetworkVirtualApplianceInstanceIdsInner restart(String resourceGroupName, @@ -1202,7 +1437,7 @@ public NetworkVirtualApplianceInstanceIdsInner restart(String resourceGroupName, /** * Restarts one or more VMs belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -1210,7 +1445,7 @@ public NetworkVirtualApplianceInstanceIdsInner restart(String resourceGroupName, * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public NetworkVirtualApplianceInstanceIdsInner restart(String resourceGroupName, String networkVirtualApplianceName, @@ -1222,15 +1457,14 @@ public NetworkVirtualApplianceInstanceIdsInner restart(String resourceGroupName, /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances along - * with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> reimageWithResponseAsync(String resourceGroupName, @@ -1240,6 +1474,10 @@ public Mono>> reimageWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1248,26 +1486,22 @@ public Mono>> reimageWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (networkVirtualApplianceInstanceIds != null) { networkVirtualApplianceInstanceIds.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.reimage(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, - apiVersion, this.client.getSubscriptionId(), networkVirtualApplianceInstanceIds, accept, context)) + .withContext(context -> service.reimage(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkVirtualApplianceName, accept, + networkVirtualApplianceInstanceIds, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -1275,8 +1509,7 @@ public Mono>> reimageWithResponseAsync(String resource * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances along - * with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> reimageWithResponseAsync(String resourceGroupName, @@ -1286,6 +1519,10 @@ private Mono>> reimageWithResponseAsync(String resourc return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1294,32 +1531,27 @@ private Mono>> reimageWithResponseAsync(String resourc return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (networkVirtualApplianceInstanceIds != null) { networkVirtualApplianceInstanceIds.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.reimage(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, apiVersion, - this.client.getSubscriptionId(), networkVirtualApplianceInstanceIds, accept, context); + return service.reimage(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, accept, networkVirtualApplianceInstanceIds, context); } /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, NetworkVirtualApplianceInstanceIdsInner> @@ -1336,13 +1568,12 @@ private Mono>> reimageWithResponseAsync(String resourc /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, NetworkVirtualApplianceInstanceIdsInner> @@ -1359,7 +1590,7 @@ private Mono>> reimageWithResponseAsync(String resourc /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -1367,8 +1598,7 @@ private Mono>> reimageWithResponseAsync(String resourc * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, NetworkVirtualApplianceInstanceIdsInner> @@ -1386,13 +1616,12 @@ private Mono>> reimageWithResponseAsync(String resourc /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, NetworkVirtualApplianceInstanceIdsInner> @@ -1406,7 +1635,7 @@ private Mono>> reimageWithResponseAsync(String resourc /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -1414,8 +1643,7 @@ private Mono>> reimageWithResponseAsync(String resourc * @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 specifies a list of virtual machine instance IDs from the Network - * Virtual Appliance VM instances. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, NetworkVirtualApplianceInstanceIdsInner> @@ -1430,15 +1658,14 @@ private Mono>> reimageWithResponseAsync(String resourc /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on - * successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono reimageAsync(String resourceGroupName, @@ -1452,13 +1679,12 @@ public Mono reimageAsync(String resourc /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on - * successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono reimageAsync(String resourceGroupName, @@ -1472,7 +1698,7 @@ public Mono reimageAsync(String resourc /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -1480,8 +1706,7 @@ public Mono reimageAsync(String resourc * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances on - * successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono reimageAsync(String resourceGroupName, @@ -1494,12 +1719,12 @@ private Mono reimageAsync(String resour /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public NetworkVirtualApplianceInstanceIdsInner reimage(String resourceGroupName, @@ -1511,7 +1736,7 @@ public NetworkVirtualApplianceInstanceIdsInner reimage(String resourceGroupName, /** * Reimages one VM belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param networkVirtualApplianceInstanceIds Specifies a list of virtual machine instance IDs from the Network * Virtual Appliance VM instances. @@ -1519,7 +1744,7 @@ public NetworkVirtualApplianceInstanceIdsInner reimage(String resourceGroupName, * @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 specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public NetworkVirtualApplianceInstanceIdsInner reimage(String resourceGroupName, String networkVirtualApplianceName, @@ -1531,7 +1756,7 @@ public NetworkVirtualApplianceInstanceIdsInner reimage(String resourceGroupName, /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1546,6 +1771,10 @@ public Mono>> getBootDiagnosticLogsWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1554,27 +1783,25 @@ public Mono>> getBootDiagnosticLogsWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (request == null) { return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); } else { request.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getBootDiagnosticLogs(this.client.getEndpoint(), resourceGroupName, - networkVirtualApplianceName, apiVersion, this.client.getSubscriptionId(), request, accept, context)) + .withContext(context -> service.getBootDiagnosticLogs(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkVirtualApplianceName, contentType, accept, + request, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @param context The context to associate with this operation. @@ -1590,6 +1817,10 @@ private Mono>> getBootDiagnosticLogsWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1598,26 +1829,23 @@ private Mono>> getBootDiagnosticLogsWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (request == null) { return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); } else { request.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getBootDiagnosticLogs(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, - apiVersion, this.client.getSubscriptionId(), request, accept, context); + return service.getBootDiagnosticLogs(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, contentType, accept, request, context); } /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1639,7 +1867,7 @@ private Mono>> getBootDiagnosticLogsWithResponseAsync( /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @param context The context to associate with this operation. @@ -1663,7 +1891,7 @@ private Mono>> getBootDiagnosticLogsWithResponseAsync( /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1682,7 +1910,7 @@ private Mono>> getBootDiagnosticLogsWithResponseAsync( /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @param context The context to associate with this operation. @@ -1702,7 +1930,7 @@ private Mono>> getBootDiagnosticLogsWithResponseAsync( /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1720,7 +1948,7 @@ public Mono getBootDiagnosticLogsAsync(S /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @param context The context to associate with this operation. @@ -1739,7 +1967,7 @@ private Mono getBootDiagnosticLogsAsync( /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1756,7 +1984,7 @@ public NetworkVirtualApplianceInstanceIdInner getBootDiagnosticLogs(String resou /** * Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @param request Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance. * @param context The context to associate with this operation. @@ -1771,249 +1999,6 @@ public NetworkVirtualApplianceInstanceIdInner getBootDiagnosticLogs(String resou return getBootDiagnosticLogsAsync(resourceGroupName, networkVirtualApplianceName, request, context).block(); } - /** - * Lists all Network Virtual Appliances in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListNetworkVirtualAppliances API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, 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 all Network Virtual Appliances in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListNetworkVirtualAppliances API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all Network Virtual Appliances in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListNetworkVirtualAppliances API service call as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); - } - - /** - * Lists all Network Virtual Appliances in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListNetworkVirtualAppliances API service call as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, - Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all Network Virtual Appliances in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListNetworkVirtualAppliances API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); - } - - /** - * Lists all Network Virtual Appliances in a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 response for ListNetworkVirtualAppliances API service call as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); - } - - /** - * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); - } - - /** - * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); - } - - /** - * Gets all Network Virtual Appliances in a 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 all Network Virtual Appliances in a subscription as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); - } - /** * Get the next page of items. * @@ -2021,7 +2006,7 @@ public PagedIterable list(Context context) { * @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 response for ListNetworkVirtualAppliances API service call along with {@link PagedResponse} on successful + * @return the response of a NetworkVirtualAppliance list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -2050,7 +2035,7 @@ private Mono> listByResourceGroupNex * @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 response for ListNetworkVirtualAppliances API service call along with {@link PagedResponse} on successful + * @return the response of a NetworkVirtualAppliance list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java index 49c4f4d86bc5..861a53798e50 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -45,12 +45,12 @@ import com.azure.resourcemanager.network.fluent.models.TopologyInner; import com.azure.resourcemanager.network.fluent.models.TroubleshootingResultInner; import com.azure.resourcemanager.network.fluent.models.VerificationIpFlowResultInner; +import com.azure.resourcemanager.network.implementation.models.NetworkWatcherListResult; import com.azure.resourcemanager.network.models.AvailableProvidersListParameters; import com.azure.resourcemanager.network.models.AzureReachabilityReportParameters; import com.azure.resourcemanager.network.models.ConnectivityParameters; import com.azure.resourcemanager.network.models.FlowLogStatusParameters; import com.azure.resourcemanager.network.models.NetworkConfigurationDiagnosticParameters; -import com.azure.resourcemanager.network.models.NetworkWatcherListResult; import com.azure.resourcemanager.network.models.NextHopParameters; import com.azure.resourcemanager.network.models.QueryTroubleshootingParameters; import com.azure.resourcemanager.network.models.SecurityGroupViewParameters; @@ -95,201 +95,330 @@ public final class NetworkWatchersClientImpl implements InnerSupportsGet> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Accept") String accept, + Context context); + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") NetworkWatcherInner parameters, @HeaderParam("Accept") String accept, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NetworkWatcherInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}") + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkWatcherName") String networkWatcherName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/networkWatchers") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + 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" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getTopology(@HostParam("$host") String endpoint, + Mono> getTopology(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TopologyParameters parameters, @HeaderParam("Accept") String accept, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TopologyParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> verifyIpFlow(@HostParam("$host") String endpoint, + Mono>> verifyIpFlow(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VerificationIpFlowParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VerificationIpFlowParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getNextHop(@HostParam("$host") String endpoint, + Mono>> getNextHop(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") NextHopParameters parameters, @HeaderParam("Accept") String accept, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") NextHopParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getVMSecurityRules(@HostParam("$host") String endpoint, + Mono>> getVMSecurityRules(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") SecurityGroupViewParameters parameters, @HeaderParam("Accept") String accept, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") SecurityGroupViewParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getTroubleshooting(@HostParam("$host") String endpoint, + Mono>> getTroubleshooting(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TroubleshootingParameters parameters, @HeaderParam("Accept") String accept, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TroubleshootingParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getTroubleshootingResult(@HostParam("$host") String endpoint, + Mono>> getTroubleshootingResult(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") QueryTroubleshootingParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") QueryTroubleshootingParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> setFlowLogConfiguration(@HostParam("$host") String endpoint, + Mono>> setFlowLogConfiguration(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") FlowLogInformationInner parameters, @HeaderParam("Accept") String accept, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") FlowLogInformationInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getFlowLogStatus(@HostParam("$host") String endpoint, + Mono>> getFlowLogStatus(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") FlowLogStatusParameters parameters, @HeaderParam("Accept") String accept, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") FlowLogStatusParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> checkConnectivity(@HostParam("$host") String endpoint, + Mono>> checkConnectivity(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ConnectivityParameters parameters, @HeaderParam("Accept") String accept, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") ConnectivityParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getAzureReachabilityReport(@HostParam("$host") String endpoint, + Mono>> getAzureReachabilityReport(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") AzureReachabilityReportParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") AzureReachabilityReportParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listAvailableProviders(@HostParam("$host") String endpoint, + Mono>> listAvailableProviders(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") AvailableProvidersListParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") AvailableProvidersListParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getNetworkConfigurationDiagnostic(@HostParam("$host") String endpoint, + Mono>> getNetworkConfigurationDiagnostic(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") NetworkConfigurationDiagnosticParameters parameters, + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") NetworkConfigurationDiagnosticParameters parameters, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listNext( + @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> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } + /** + * Gets the specified network watcher by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @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 network watcher by resource group along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String networkWatcherName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkWatcherName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the specified network watcher by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @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 network watcher by resource group along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String networkWatcherName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkWatcherName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, accept, context); + } + + /** + * Gets the specified network watcher by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @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 network watcher by resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, String networkWatcherName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, networkWatcherName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets the specified network watcher by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @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 network watcher by resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, + String networkWatcherName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, networkWatcherName, context).block(); + } + + /** + * Gets the specified network watcher by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @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 network watcher by resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkWatcherInner getByResourceGroup(String resourceGroupName, String networkWatcherName) { + return getByResourceGroupWithResponse(resourceGroupName, networkWatcherName, Context.NONE).getValue(); + } + /** * Creates or updates a network watcher in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the network watcher resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -304,6 +433,10 @@ public Mono> createOrUpdateWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -312,27 +445,25 @@ public Mono> createOrUpdateWithResponseAsync(Strin return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a network watcher in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the network watcher resource. * @param context The context to associate with this operation. @@ -348,6 +479,10 @@ private Mono> createOrUpdateWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -356,26 +491,23 @@ private Mono> createOrUpdateWithResponseAsync(Stri return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * Creates or updates a network watcher in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the network watcher resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -393,7 +525,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates a network watcher in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the network watcher resource. * @param context The context to associate with this operation. @@ -411,7 +543,7 @@ public Response createOrUpdateWithResponse(String resourceG /** * Creates or updates a network watcher in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the network watcher resource. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -426,23 +558,27 @@ public NetworkWatcherInner createOrUpdate(String resourceGroupName, String netwo } /** - * Gets the specified network watcher by resource group. + * Updates a network watcher tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. + * @param parameters Parameters supplied to update network watcher tags. * @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 network watcher by resource group along with {@link Response} on successful completion of - * {@link Mono}. + * @return network watcher in a resource group along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String networkWatcherName) { + public Mono> updateTagsWithResponseAsync(String resourceGroupName, + String networkWatcherName, TagsObject parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -451,37 +587,44 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the specified network watcher by resource group. + * Updates a network watcher tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. + * @param parameters Parameters supplied to update network watcher tags. * @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 network watcher by resource group along with {@link Response} on successful completion of - * {@link Mono}. + * @return network watcher in a resource group along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String networkWatcherName, Context context) { + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String networkWatcherName, TagsObject parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -490,69 +633,75 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** - * Gets the specified network watcher by resource group. + * Updates a network watcher tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. + * @param parameters Parameters supplied to update network watcher tags. * @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 network watcher by resource group on successful completion of {@link Mono}. + * @return network watcher in a resource group on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String networkWatcherName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, networkWatcherName) + public Mono updateTagsAsync(String resourceGroupName, String networkWatcherName, + TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, networkWatcherName, parameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets the specified network watcher by resource group. + * Updates a network watcher tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. + * @param parameters Parameters supplied to update network watcher tags. * @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 network watcher by resource group along with {@link Response}. + * @return network watcher in a resource group along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String networkWatcherName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, networkWatcherName, context).block(); + public Response updateTagsWithResponse(String resourceGroupName, String networkWatcherName, + TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, networkWatcherName, parameters, context).block(); } /** - * Gets the specified network watcher by resource group. + * Updates a network watcher tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. + * @param parameters Parameters supplied to update network watcher tags. * @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 network watcher by resource group. + * @return network watcher in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkWatcherInner getByResourceGroup(String resourceGroupName, String networkWatcherName) { - return getByResourceGroupWithResponse(resourceGroupName, networkWatcherName, Context.NONE).getValue(); + public NetworkWatcherInner updateTags(String resourceGroupName, String networkWatcherName, TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, networkWatcherName, parameters, Context.NONE).getValue(); } /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -566,6 +715,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -574,22 +727,17 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -604,6 +752,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -612,21 +764,16 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, context); } /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -643,7 +790,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -663,7 +810,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -678,7 +825,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -695,7 +842,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -711,7 +858,7 @@ public Mono deleteAsync(String resourceGroupName, String networkWatcherNam /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -728,7 +875,7 @@ private Mono deleteAsync(String resourceGroupName, String networkWatcherNa /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -742,7 +889,7 @@ public void delete(String resourceGroupName, String networkWatcherName) { /** * Deletes the specified network watcher resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -754,148 +901,10 @@ public void delete(String resourceGroupName, String networkWatcherName, Context deleteAsync(resourceGroupName, networkWatcherName, context).block(); } - /** - * Updates a network watcher tags. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param parameters Parameters supplied to update network watcher tags. - * @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 network watcher in a resource group along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateTagsWithResponseAsync(String resourceGroupName, - String networkWatcherName, TagsObject parameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkWatcherName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Updates a network watcher tags. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param parameters Parameters supplied to update network watcher tags. - * @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 network watcher in a resource group along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String networkWatcherName, TagsObject parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkWatcherName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); - } - - /** - * Updates a network watcher tags. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param parameters Parameters supplied to update network watcher tags. - * @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 network watcher in a resource group on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String networkWatcherName, - TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, networkWatcherName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Updates a network watcher tags. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param parameters Parameters supplied to update network watcher tags. - * @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 network watcher in a resource group along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, String networkWatcherName, - TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, networkWatcherName, parameters, context).block(); - } - - /** - * Updates a network watcher tags. - * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher. - * @param parameters Parameters supplied to update network watcher tags. - * @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 network watcher in a resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkWatcherInner updateTags(String resourceGroupName, String networkWatcherName, TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, networkWatcherName, parameters, Context.NONE).getValue(); - } - /** * Gets all network watchers by resource group. * - * @param resourceGroupName The name of the 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. @@ -908,28 +917,28 @@ private Mono> listByResourceGroupSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets all network watchers by resource group. * - * @param resourceGroupName The name of the 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. @@ -944,28 +953,28 @@ private Mono> listByResourceGroupSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + res.getValue().value(), res.getValue().nextLink(), null)); } /** * Gets all network watchers by resource group. * - * @param resourceGroupName The name of the 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. @@ -973,13 +982,14 @@ private Mono> listByResourceGroupSinglePageAs */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName)); + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** * Gets all network watchers by resource group. * - * @param resourceGroupName The name of the 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. @@ -988,13 +998,14 @@ public PagedFlux listByResourceGroupAsync(String resourceGr */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context)); + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** * Gets all network watchers by resource group. * - * @param resourceGroupName The name of the 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. @@ -1008,7 +1019,7 @@ public PagedIterable listByResourceGroup(String resourceGro /** * Gets all network watchers by resource group. * - * @param resourceGroupName The name of the 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. @@ -1044,7 +1055,7 @@ private Mono> listSinglePageAsync() { .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1073,7 +1084,7 @@ private Mono> listSinglePageAsync(Context con context = this.client.mergeContext(context); return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + res.getValue().value(), res.getValue().nextLink(), null)); } /** @@ -1085,7 +1096,7 @@ private Mono> listSinglePageAsync(Context con */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync()); + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); } /** @@ -1099,7 +1110,8 @@ public PagedFlux listAsync() { */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context)); + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); } /** @@ -1131,7 +1143,7 @@ public PagedIterable list(Context context) { /** * Gets the current network topology by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the representation of topology. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1147,6 +1159,10 @@ public Mono> getTopologyWithResponseAsync(String resourc return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1155,27 +1171,25 @@ public Mono> getTopologyWithResponseAsync(String resourc return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getTopology(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.getTopology(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the current network topology by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the representation of topology. * @param context The context to associate with this operation. @@ -1192,6 +1206,10 @@ private Mono> getTopologyWithResponseAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1200,26 +1218,23 @@ private Mono> getTopologyWithResponseAsync(String resour return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getTopology(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.getTopology(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * Gets the current network topology by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the representation of topology. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1237,7 +1252,7 @@ public Mono getTopologyAsync(String resourceGroupName, String net /** * Gets the current network topology by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the representation of topology. * @param context The context to associate with this operation. @@ -1255,7 +1270,7 @@ public Response getTopologyWithResponse(String resourceGroupName, /** * Gets the current network topology by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the representation of topology. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1272,7 +1287,7 @@ public TopologyInner getTopology(String resourceGroupName, String networkWatcher /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1288,6 +1303,10 @@ public Mono>> verifyIpFlowWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1296,27 +1315,25 @@ public Mono>> verifyIpFlowWithResponseAsync(String res return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.verifyIpFlow(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.verifyIpFlow(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @param context The context to associate with this operation. @@ -1333,6 +1350,10 @@ private Mono>> verifyIpFlowWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1341,26 +1362,23 @@ private Mono>> verifyIpFlowWithResponseAsync(String re return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.verifyIpFlow(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.verifyIpFlow(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1381,7 +1399,7 @@ public PollerFlux, VerificationIpFlowR /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @param context The context to associate with this operation. @@ -1404,7 +1422,7 @@ private PollerFlux, VerificationIpFlow /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1421,7 +1439,7 @@ public SyncPoller, VerificationIpFlowR /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @param context The context to associate with this operation. @@ -1439,7 +1457,7 @@ public SyncPoller, VerificationIpFlowR /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1457,7 +1475,7 @@ public Mono verifyIpFlowAsync(String resourceGrou /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @param context The context to associate with this operation. @@ -1476,7 +1494,7 @@ private Mono verifyIpFlowAsync(String resourceGro /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1493,7 +1511,7 @@ public VerificationIpFlowResultInner verifyIpFlow(String resourceGroupName, Stri /** * Verify IP flow from the specified VM to a location given the currently configured NSG rules. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the IP flow to be verified. * @param context The context to associate with this operation. @@ -1511,7 +1529,7 @@ public VerificationIpFlowResultInner verifyIpFlow(String resourceGroupName, Stri /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1526,6 +1544,10 @@ public Mono>> getNextHopWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1534,27 +1556,25 @@ public Mono>> getNextHopWithResponseAsync(String resou return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getNextHop(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.getNextHop(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @param context The context to associate with this operation. @@ -1570,6 +1590,10 @@ private Mono>> getNextHopWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1578,26 +1602,23 @@ private Mono>> getNextHopWithResponseAsync(String reso return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getNextHop(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.getNextHop(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1617,7 +1638,7 @@ public PollerFlux, NextHopResultInner> beginGetNe /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @param context The context to associate with this operation. @@ -1639,7 +1660,7 @@ private PollerFlux, NextHopResultInner> beginGetN /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1656,7 +1677,7 @@ public SyncPoller, NextHopResultInner> beginGetNe /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @param context The context to associate with this operation. @@ -1674,7 +1695,7 @@ public SyncPoller, NextHopResultInner> beginGetNe /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1692,7 +1713,7 @@ public Mono getNextHopAsync(String resourceGroupName, String /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @param context The context to associate with this operation. @@ -1711,7 +1732,7 @@ private Mono getNextHopAsync(String resourceGroupName, Strin /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1728,7 +1749,7 @@ public NextHopResultInner getNextHop(String resourceGroupName, String networkWat /** * Gets the next hop from the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the source and destination endpoint. * @param context The context to associate with this operation. @@ -1746,7 +1767,7 @@ public NextHopResultInner getNextHop(String resourceGroupName, String networkWat /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1762,6 +1783,10 @@ public Mono>> getVMSecurityRulesWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1770,27 +1795,25 @@ public Mono>> getVMSecurityRulesWithResponseAsync(Stri return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getVMSecurityRules(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.getVMSecurityRules(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @param context The context to associate with this operation. @@ -1807,6 +1830,10 @@ private Mono>> getVMSecurityRulesWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1815,26 +1842,23 @@ private Mono>> getVMSecurityRulesWithResponseAsync(Str return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getVMSecurityRules(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.getVMSecurityRules(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1857,7 +1881,7 @@ private Mono>> getVMSecurityRulesWithResponseAsync(Str /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @param context The context to associate with this operation. @@ -1882,7 +1906,7 @@ private Mono>> getVMSecurityRulesWithResponseAsync(Str /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1900,7 +1924,7 @@ public SyncPoller, SecurityGroupViewRes /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @param context The context to associate with this operation. @@ -1920,7 +1944,7 @@ public SyncPoller, SecurityGroupViewRes /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1939,7 +1963,7 @@ public Mono getVMSecurityRulesAsync(String resourc /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @param context The context to associate with this operation. @@ -1959,7 +1983,7 @@ private Mono getVMSecurityRulesAsync(String resour /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1976,7 +2000,7 @@ public SecurityGroupViewResultInner getVMSecurityRules(String resourceGroupName, /** * Gets the configured and effective security group rules on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the VM to check security groups for. * @param context The context to associate with this operation. @@ -1994,8 +2018,8 @@ public SecurityGroupViewResultInner getVMSecurityRules(String resourceGroupName, /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2010,6 +2034,10 @@ public Mono>> getTroubleshootingWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2018,28 +2046,26 @@ public Mono>> getTroubleshootingWithResponseAsync(Stri return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getTroubleshooting(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.getTroubleshooting(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2055,6 +2081,10 @@ private Mono>> getTroubleshootingWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2063,27 +2093,24 @@ private Mono>> getTroubleshootingWithResponseAsync(Str return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getTroubleshooting(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.getTroubleshooting(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2103,8 +2130,8 @@ public PollerFlux, TroubleshootingResultI /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2125,8 +2152,8 @@ private PollerFlux, TroubleshootingResult /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2142,8 +2169,8 @@ public SyncPoller, TroubleshootingResultI /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2161,8 +2188,8 @@ public SyncPoller, TroubleshootingResultI /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2179,8 +2206,8 @@ public Mono getTroubleshootingAsync(String resourceG /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2198,8 +2225,8 @@ private Mono getTroubleshootingAsync(String resource /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2215,8 +2242,8 @@ public TroubleshootingResultInner getTroubleshooting(String resourceGroupName, S /** * Initiate troubleshooting on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to troubleshoot. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2233,8 +2260,8 @@ public TroubleshootingResultInner getTroubleshooting(String resourceGroupName, S /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2249,6 +2276,10 @@ public Mono>> getTroubleshootingResultWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2257,28 +2288,26 @@ public Mono>> getTroubleshootingResultWithResponseAsyn return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getTroubleshootingResult(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.getTroubleshootingResult(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2294,6 +2323,10 @@ private Mono>> getTroubleshootingResultWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2302,27 +2335,24 @@ private Mono>> getTroubleshootingResultWithResponseAsy return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getTroubleshootingResult(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.getTroubleshootingResult(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2343,8 +2373,8 @@ private Mono>> getTroubleshootingResultWithResponseAsy /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2366,8 +2396,8 @@ private Mono>> getTroubleshootingResultWithResponseAsy /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2384,8 +2414,8 @@ public SyncPoller, TroubleshootingResultI /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2404,8 +2434,8 @@ public SyncPoller, TroubleshootingResultI /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2423,8 +2453,8 @@ public Mono getTroubleshootingResultAsync(String res /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2443,8 +2473,8 @@ private Mono getTroubleshootingResultAsync(String re /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2460,8 +2490,8 @@ public TroubleshootingResultInner getTroubleshootingResult(String resourceGroupN /** * Get the last completed troubleshooting result on a specified resource. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the resource to query the troubleshooting result. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2478,8 +2508,8 @@ public TroubleshootingResultInner getTroubleshootingResult(String resourceGroupN /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2494,6 +2524,10 @@ public Mono>> setFlowLogConfigurationWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2502,28 +2536,26 @@ public Mono>> setFlowLogConfigurationWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.setFlowLogConfiguration(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.setFlowLogConfiguration(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2539,6 +2571,10 @@ private Mono>> setFlowLogConfigurationWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2547,27 +2583,24 @@ private Mono>> setFlowLogConfigurationWithResponseAsyn return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.setFlowLogConfiguration(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.setFlowLogConfiguration(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2588,8 +2621,8 @@ public PollerFlux, FlowLogInformationInner> /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2611,8 +2644,8 @@ private PollerFlux, FlowLogInformationInner> /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2630,8 +2663,8 @@ public SyncPoller, FlowLogInformationInner> /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2650,8 +2683,8 @@ public SyncPoller, FlowLogInformationInner> /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2669,8 +2702,8 @@ public Mono setFlowLogConfigurationAsync(String resourc /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2689,8 +2722,8 @@ private Mono setFlowLogConfigurationAsync(String resour /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2706,8 +2739,8 @@ public FlowLogInformationInner setFlowLogConfiguration(String resourceGroupName, /** * Configures flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define the configuration of flow log. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2724,8 +2757,8 @@ public FlowLogInformationInner setFlowLogConfiguration(String resourceGroupName, /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2740,6 +2773,10 @@ public Mono>> getFlowLogStatusWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2748,28 +2785,26 @@ public Mono>> getFlowLogStatusWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getFlowLogStatus(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.getFlowLogStatus(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2785,6 +2820,10 @@ private Mono>> getFlowLogStatusWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2793,27 +2832,24 @@ private Mono>> getFlowLogStatusWithResponseAsync(Strin return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getFlowLogStatus(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.getFlowLogStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2834,8 +2870,8 @@ public PollerFlux, FlowLogInformationInner> /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2857,8 +2893,8 @@ private PollerFlux, FlowLogInformationInner> /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2875,8 +2911,8 @@ private PollerFlux, FlowLogInformationInner> /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2895,8 +2931,8 @@ public SyncPoller, FlowLogInformationInner> /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2914,8 +2950,8 @@ public Mono getFlowLogStatusAsync(String resourceGroupN /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2934,8 +2970,8 @@ private Mono getFlowLogStatusAsync(String resourceGroup /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2951,8 +2987,8 @@ public FlowLogInformationInner getFlowLogStatus(String resourceGroupName, String /** * Queries status of flow log and traffic analytics (optional) on a specified resource. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that define a resource to query flow log and traffic analytics (optional) status. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2970,8 +3006,8 @@ public FlowLogInformationInner getFlowLogStatus(String resourceGroupName, String * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2986,6 +3022,10 @@ public Mono>> checkConnectivityWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2994,20 +3034,18 @@ public Mono>> checkConnectivityWithResponseAsync(Strin return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.checkConnectivity(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.checkConnectivity(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3015,8 +3053,8 @@ public Mono>> checkConnectivityWithResponseAsync(Strin * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3032,6 +3070,10 @@ private Mono>> checkConnectivityWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3040,28 +3082,25 @@ private Mono>> checkConnectivityWithResponseAsync(Stri return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.checkConnectivity(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.checkConnectivity(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3083,8 +3122,8 @@ private Mono>> checkConnectivityWithResponseAsync(Stri * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3108,8 +3147,8 @@ private Mono>> checkConnectivityWithResponseAsync(Stri * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3126,8 +3165,8 @@ private Mono>> checkConnectivityWithResponseAsync(Stri * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3146,8 +3185,8 @@ public SyncPoller, ConnectivityInformat * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3165,8 +3204,8 @@ public Mono checkConnectivityAsync(String resource * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3185,8 +3224,8 @@ private Mono checkConnectivityAsync(String resourc * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3203,8 +3242,8 @@ public ConnectivityInformationInner checkConnectivity(String resourceGroupName, * Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint * including another VM or an arbitrary remote server. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine how the connectivity check will be performed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3222,8 +3261,8 @@ public ConnectivityInformationInner checkConnectivity(String resourceGroupName, * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3237,6 +3276,10 @@ public Mono>> getAzureReachabilityReportWithResponseAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3245,20 +3288,18 @@ public Mono>> getAzureReachabilityReportWithResponseAs return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getAzureReachabilityReport(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.getAzureReachabilityReport(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3266,8 +3307,8 @@ public Mono>> getAzureReachabilityReportWithResponseAs * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3282,6 +3323,10 @@ private Mono>> getAzureReachabilityReportWithResponseA return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3290,28 +3335,26 @@ private Mono>> getAzureReachabilityReportWithResponseA return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getAzureReachabilityReport(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.getAzureReachabilityReport(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context); } /** * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3333,8 +3376,8 @@ private Mono>> getAzureReachabilityReportWithResponseA * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3358,8 +3401,8 @@ private Mono>> getAzureReachabilityReportWithResponseA * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3378,8 +3421,8 @@ private Mono>> getAzureReachabilityReportWithResponseA * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3399,8 +3442,8 @@ private Mono>> getAzureReachabilityReportWithResponseA * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3418,8 +3461,8 @@ public Mono getAzureReachabilityReportAsync(String * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3438,8 +3481,8 @@ private Mono getAzureReachabilityReportAsync(Strin * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3456,8 +3499,8 @@ public AzureReachabilityReportInner getAzureReachabilityReport(String resourceGr * NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score * for internet service providers from a specified location to Azure regions. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that determine Azure reachability report configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3475,8 +3518,8 @@ public AzureReachabilityReportInner getAzureReachabilityReport(String resourceGr * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3491,6 +3534,10 @@ public Mono>> listAvailableProvidersWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3499,20 +3546,18 @@ public Mono>> listAvailableProvidersWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAvailableProviders(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.listAvailableProviders(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3520,8 +3565,8 @@ public Mono>> listAvailableProvidersWithResponseAsync( * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3537,6 +3582,10 @@ private Mono>> listAvailableProvidersWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3545,28 +3594,25 @@ private Mono>> listAvailableProvidersWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAvailableProviders(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.listAvailableProviders(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, contentType, accept, parameters, context); } /** * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3588,8 +3634,8 @@ private Mono>> listAvailableProvidersWithResponseAsync * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3613,8 +3659,8 @@ private Mono>> listAvailableProvidersWithResponseAsync * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3631,8 +3677,8 @@ public SyncPoller, AvailableProvidersLis * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3652,8 +3698,8 @@ public SyncPoller, AvailableProvidersLis * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3671,8 +3717,8 @@ public Mono listAvailableProvidersAsync(String reso * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3691,8 +3737,8 @@ private Mono listAvailableProvidersAsync(String res * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3709,8 +3755,8 @@ public AvailableProvidersListInner listAvailableProviders(String resourceGroupNa * NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet * service providers for a specified Azure region. * - * @param resourceGroupName The name of the network watcher resource group. - * @param networkWatcherName The name of the network watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @param parameters Parameters that scope the list of available providers. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3730,7 +3776,7 @@ public AvailableProvidersListInner listAvailableProviders(String resourceGroupNa * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3746,6 +3792,10 @@ public Mono>> getNetworkConfigurationDiagnosticWithRes return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3754,21 +3804,18 @@ public Mono>> getNetworkConfigurationDiagnosticWithRes return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.getNetworkConfigurationDiagnostic(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.getNetworkConfigurationDiagnostic(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3778,7 +3825,7 @@ public Mono>> getNetworkConfigurationDiagnosticWithRes * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @param context The context to associate with this operation. @@ -3796,6 +3843,10 @@ private Mono>> getNetworkConfigurationDiagnosticWithRe return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3804,20 +3855,18 @@ private Mono>> getNetworkConfigurationDiagnosticWithRe return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getNetworkConfigurationDiagnostic(this.client.getEndpoint(), resourceGroupName, - networkWatcherName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.getNetworkConfigurationDiagnostic(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, contentType, accept, parameters, + context); } /** @@ -3826,7 +3875,7 @@ private Mono>> getNetworkConfigurationDiagnosticWithRe * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3854,7 +3903,7 @@ private Mono>> getNetworkConfigurationDiagnosticWithRe * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @param context The context to associate with this operation. @@ -3884,7 +3933,7 @@ private Mono>> getNetworkConfigurationDiagnosticWithRe * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3908,7 +3957,7 @@ private Mono>> getNetworkConfigurationDiagnosticWithRe * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @param context The context to associate with this operation. @@ -3934,7 +3983,7 @@ private Mono>> getNetworkConfigurationDiagnosticWithRe * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3956,7 +4005,7 @@ public Mono getNetworkConfiguration * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @param context The context to associate with this operation. @@ -3981,7 +4030,7 @@ private Mono getNetworkConfiguratio * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -4001,7 +4050,7 @@ public NetworkConfigurationDiagnosticResponseInner getNetworkConfigurationDiagno * these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns * whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param parameters Parameters to get network configuration diagnostic. * @param context The context to associate with this operation. @@ -4016,4 +4065,111 @@ public NetworkConfigurationDiagnosticResponseInner getNetworkConfigurationDiagno return getNetworkConfigurationDiagnosticAsync(resourceGroupName, networkWatcherName, parameters, context) .block(); } + + /** + * 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 all network watchers by resource group along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.listNext(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. + * @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 all network watchers by resource group along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> 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 all network watchers by subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listAllNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listAllNext(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. + * @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 all network watchers by subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java index 9128e317aa69..ff68be84fb8a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.OperationsClient; import com.azure.resourcemanager.network.fluent.models.OperationInner; -import com.azure.resourcemanager.network.models.OperationListResult; +import com.azure.resourcemanager.network.implementation.models.OperationListResult; import reactor.core.publisher.Mono; /** @@ -59,14 +59,14 @@ public final class OperationsClientImpl implements OperationsClient { * The interface defining all the services for NetworkManagementClientOperations to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientOperations") public interface OperationsService { @Headers({ "Content-Type: application/json" }) @Get("/providers/Microsoft.Network/operations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -74,7 +74,7 @@ Mono> list(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -82,8 +82,8 @@ Mono> listNext(@PathParam(value = "nextLink", enco * * @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 result of the request to list Network operations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of Operation items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync() { @@ -106,8 +106,8 @@ private Mono> listSinglePageAsync() { * @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 result of the request to list Network operations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of Operation items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Context context) { @@ -128,7 +128,7 @@ private Mono> listSinglePageAsync(Context context) * * @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 result of the request to list Network operations as paginated response with {@link PagedFlux}. + * @return paged collection of Operation items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync() { @@ -142,7 +142,7 @@ public PagedFlux listAsync() { * @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 result of the request to list Network operations as paginated response with {@link PagedFlux}. + * @return paged collection of Operation items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(Context context) { @@ -155,7 +155,7 @@ private PagedFlux listAsync(Context context) { * * @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 result of the request to list Network operations as paginated response with {@link PagedIterable}. + * @return paged collection of Operation items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list() { @@ -169,7 +169,7 @@ public PagedIterable list() { * @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 result of the request to list Network operations as paginated response with {@link PagedIterable}. + * @return paged collection of Operation items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(Context context) { @@ -183,8 +183,8 @@ public PagedIterable list(Context context) { * @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 result of the request to list Network operations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of Operation items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -210,8 +210,8 @@ private Mono> listNextSinglePageAsync(String nextL * @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 result of the request to list Network operations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return paged collection of Operation items along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java index 9ef04556ae75..f98ad40d2642 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java @@ -1,30 +1,21 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.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.Post; -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; @@ -34,17 +25,7 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.P2SVpnGatewaysClient; -import com.azure.resourcemanager.network.fluent.models.P2SVpnConnectionHealthInner; import com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner; -import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; -import com.azure.resourcemanager.network.models.ListP2SVpnGatewaysResult; -import com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest; -import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; -import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; -import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -52,8 +33,7 @@ /** * An instance of this class provides access to all the operations defined in P2SVpnGatewaysClient. */ -public final class P2SVpnGatewaysClientImpl implements InnerSupportsGet, - InnerSupportsListing, InnerSupportsDelete, P2SVpnGatewaysClient { +public final class P2SVpnGatewaysClientImpl implements P2SVpnGatewaysClient { /** * The proxy service used to perform REST calls. */ @@ -79,146 +59,31 @@ public final class P2SVpnGatewaysClientImpl implements InnerSupportsGet> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") - @ExpectedResponses({ 200, 201 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") P2SVpnGatewayInner p2SVpnGatewayParameters, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateTags(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") TagsObject p2SVpnGatewayParameters, @HeaderParam("Accept") String accept, - Context context); - - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> reset(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> generateVpnProfile(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") P2SVpnProfileParameters parameters, @HeaderParam("Accept") String accept, - Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getP2SVpnConnectionHealth(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + Mono>> reset(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getP2SVpnConnectionHealthDetailed(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") P2SVpnConnectionHealthRequest request, @HeaderParam("Accept") String accept, - Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> disconnectP2SVpnConnections(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("p2sVpnGatewayName") String p2SVpnGatewayName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") P2SVpnConnectionRequest request, @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("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Retrieves the details of a virtual wan p2s vpn gateway. + * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String gatewayName) { + public Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -237,153 +102,25 @@ public Mono> getByResourceGroupWithResponseAsync(St final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, gatewayName, apiVersion, accept, context)) + .withContext(context -> service.reset(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String gatewayName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, apiVersion, accept, context); - } - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String gatewayName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, gatewayName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. + * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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 p2SVpnGateway Resource along with {@link Response}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, + private Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, gatewayName, context).block(); - } - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName) { - return getByResourceGroupWithResponse(resourceGroupName, gatewayName, Context.NONE).getValue(); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (p2SVpnGatewayParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); - } else { - p2SVpnGatewayParameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, apiVersion, p2SVpnGatewayParameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -399,2107 +136,144 @@ private Mono>> createOrUpdateWithResponseAsync(String if (gatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); } - if (p2SVpnGatewayParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); - } else { - p2SVpnGatewayParameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, apiVersion, p2SVpnGatewayParameters, accept, context); + return service.reset(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, accept, context); } /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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 p2SVpnGateway Resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync( - String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters); + public PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, + String gatewayName) { + Mono>> mono = resetWithResponseAsync(resourceGroupName, gatewayName); return this.client.getLroResult(mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); } /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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 PollerFlux} for polling of p2SVpnGateway Resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync( - String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { + private PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, + String gatewayName, Context context) { context = this.client.mergeContext(context); - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context); + Mono>> mono = resetWithResponseAsync(resourceGroupName, gatewayName, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); } /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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 p2SVpnGateway Resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).getSyncPoller(); + public SyncPoller, P2SVpnGatewayInner> beginReset(String resourceGroupName, + String gatewayName) { + return this.beginResetAsync(resourceGroupName, gatewayName).getSyncPoller(); } /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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 p2SVpnGateway Resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { - return this.beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context) - .getSyncPoller(); + public SyncPoller, P2SVpnGatewayInner> beginReset(String resourceGroupName, + String gatewayName, Context context) { + return this.beginResetAsync(resourceGroupName, gatewayName, context).getSyncPoller(); } /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters) { - return beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono resetAsync(String resourceGroupName, String gatewayName) { + return beginResetAsync(resourceGroupName, gatewayName).last().flatMap(this.client::getLroFinalResultOrError); } /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).last() + private Mono resetAsync(String resourceGroupName, String gatewayName, Context context) { + return beginResetAsync(resourceGroupName, gatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters) { - return createOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).block(); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { - return createOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).block(); - } - - /** - * Updates virtual wan p2s vpn gateway tags. + * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (p2SVpnGatewayParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); - } else { - p2SVpnGatewayParameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, apiVersion, p2SVpnGatewayParameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + public P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName) { + return resetAsync(resourceGroupName, gatewayName).block(); } /** - * Updates virtual wan p2s vpn gateway tags. + * Resets the primary of the p2s vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (p2SVpnGatewayParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); - } else { - p2SVpnGatewayParameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, apiVersion, p2SVpnGatewayParameters, accept, context); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters) { - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 PollerFlux} for polling of p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync( - String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters) { - return this.beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).getSyncPoller(); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters, Context context) { - return this.beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context) - .getSyncPoller(); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters) { - return beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono updateTagsAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters, Context context) { - return beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters) { - return updateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).block(); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters, Context context) { - return updateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).block(); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, apiVersion, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, apiVersion, accept, context); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 gatewayName) { - return this.beginDeleteAsync(resourceGroupName, gatewayName).getSyncPoller(); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 gatewayName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, gatewayName, context).getSyncPoller(); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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) - public Mono deleteAsync(String resourceGroupName, String gatewayName) { - return beginDeleteAsync(resourceGroupName, gatewayName).last().flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String gatewayName, Context context) { - return beginDeleteAsync(resourceGroupName, gatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 gatewayName) { - deleteAsync(resourceGroupName, gatewayName).block(); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 gatewayName, Context context) { - deleteAsync(resourceGroupName, gatewayName, context).block(); - } - - /** - * Lists all the P2SVpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, apiVersion, 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 all the P2SVpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all the P2SVpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the P2SVpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all the P2SVpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); - } - - /** - * Lists all the P2SVpnGateways in a resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - 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 all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); - } - - /** - * Resets the primary of the p2s vpn gateway in the specified resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.reset(this.client.getEndpoint(), resourceGroupName, gatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Resets the primary of the p2s vpn gateway in the specified resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.reset(this.client.getEndpoint(), resourceGroupName, gatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Resets the primary of the p2s vpn gateway in the specified resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, - String gatewayName) { - Mono>> mono = resetWithResponseAsync(resourceGroupName, gatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); - } - - /** - * Resets the primary of the p2s vpn gateway in the specified resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 PollerFlux} for polling of p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, - String gatewayName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono = resetWithResponseAsync(resourceGroupName, gatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); - } - - /** - * Resets the primary of the p2s vpn gateway in the specified resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginReset(String resourceGroupName, - String gatewayName) { - return this.beginResetAsync(resourceGroupName, gatewayName).getSyncPoller(); - } - - /** - * Resets the primary of the p2s vpn gateway in the specified resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginReset(String resourceGroupName, - String gatewayName, Context context) { - return this.beginResetAsync(resourceGroupName, gatewayName, context).getSyncPoller(); - } - - /** - * Resets the primary of the p2s vpn gateway in the specified resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono resetAsync(String resourceGroupName, String gatewayName) { - return beginResetAsync(resourceGroupName, gatewayName).last().flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Resets the primary of the p2s vpn gateway in the specified resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono resetAsync(String resourceGroupName, String gatewayName, Context context) { - return beginResetAsync(resourceGroupName, gatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Resets the primary of the p2s vpn gateway in the specified resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName) { - return resetAsync(resourceGroupName, gatewayName).block(); - } - - /** - * Resets the primary of the p2s vpn gateway in the specified resource group. - * - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName, Context context) { - return resetAsync(resourceGroupName, gatewayName, context).block(); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 vpn Profile Response for package generation along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnProfileParameters parameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.generateVpnProfile(this.client.getEndpoint(), resourceGroupName, - gatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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 vpn Profile Response for package generation along with {@link Response} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnProfileParameters parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.generateVpnProfile(this.client.getEndpoint(), resourceGroupName, gatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 PollerFlux} for polling of vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VpnProfileResponseInner> - beginGenerateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) { - Mono>> mono - = generateVpnProfileWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, - this.client.getContext()); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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 PollerFlux} for polling of vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VpnProfileResponseInner> beginGenerateVpnProfileAsync( - String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = generateVpnProfileWithResponseAsync(resourceGroupName, gatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, context); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VpnProfileResponseInner> - beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) { - return this.beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VpnProfileResponseInner> beginGenerateVpnProfile( - String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context) { - return this.beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 vpn Profile Response for package generation on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters) { - return beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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 vpn Profile Response for package generation on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters, Context context) { - return beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters) { - return generateVpnProfileAsync(resourceGroupName, gatewayName, parameters).block(); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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 vpn Profile Response for package generation. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters, Context context) { - return generateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).block(); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group - * along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getP2SVpnConnectionHealthWithResponseAsync(String resourceGroupName, - String gatewayName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getP2SVpnConnectionHealth(this.client.getEndpoint(), resourceGroupName, - gatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group - * along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getP2SVpnConnectionHealthWithResponseAsync(String resourceGroupName, - String gatewayName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getP2SVpnConnectionHealth(this.client.getEndpoint(), resourceGroupName, gatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, P2SVpnGatewayInner> - beginGetP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { - Mono>> mono - = getP2SVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 PollerFlux} for polling of the connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, P2SVpnGatewayInner> - beginGetP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = getP2SVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> - beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName) { - return this.beginGetP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName).getSyncPoller(); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 the connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> - beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { - return this.beginGetP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).getSyncPoller(); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { - return beginGetP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, - Context context) { - return beginGetP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName) { - return getP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName).block(); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { - return getP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).block(); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getP2SVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnConnectionHealthRequest request) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (request == null) { - return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); - } else { - request.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getP2SVpnConnectionHealthDetailed(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, gatewayName, apiVersion, request, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getP2SVpnConnectionHealthDetailedWithResponseAsync( - String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (request == null) { - return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); - } else { - request.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getP2SVpnConnectionHealthDetailed(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, apiVersion, request, accept, context); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, P2SVpnConnectionHealthInner> - beginGetP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request) { - Mono>> mono - = getP2SVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, - this.client.getContext()); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 PollerFlux} for polling of the sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, P2SVpnConnectionHealthInner> - beginGetP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = getP2SVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, - context); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request) { - return this.beginGetP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request) - .getSyncPoller(); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 the sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request, Context context) { - return this.beginGetP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context) - .getSyncPoller(); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, - String gatewayName, P2SVpnConnectionHealthRequest request) { - return beginGetP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, - String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { - return beginGetP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnConnectionHealthInner getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request) { - return getP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).block(); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the P2SVpnGateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnConnectionHealthInner getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request, Context context) { - return getP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).block(); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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) - public Mono>> disconnectP2SVpnConnectionsWithResponseAsync(String resourceGroupName, - String p2SVpnGatewayName, P2SVpnConnectionRequest request) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (p2SVpnGatewayName == null) { - return Mono - .error(new IllegalArgumentException("Parameter p2SVpnGatewayName is required and cannot be null.")); - } - if (request == null) { - return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); - } else { - request.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.disconnectP2SVpnConnections(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, p2SVpnGatewayName, apiVersion, request, accept, - context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> disconnectP2SVpnConnectionsWithResponseAsync(String resourceGroupName, - String p2SVpnGatewayName, P2SVpnConnectionRequest request, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (p2SVpnGatewayName == null) { - return Mono - .error(new IllegalArgumentException("Parameter p2SVpnGatewayName is required and cannot be null.")); - } - if (request == null) { - return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); - } else { - request.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.disconnectP2SVpnConnections(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, p2SVpnGatewayName, apiVersion, request, accept, context); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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) - public PollerFlux, Void> beginDisconnectP2SVpnConnectionsAsync(String resourceGroupName, - String p2SVpnGatewayName, P2SVpnConnectionRequest request) { - Mono>> mono - = disconnectP2SVpnConnectionsWithResponseAsync(resourceGroupName, p2SVpnGatewayName, request); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDisconnectP2SVpnConnectionsAsync(String resourceGroupName, - String p2SVpnGatewayName, P2SVpnConnectionRequest request, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = disconnectP2SVpnConnectionsWithResponseAsync(resourceGroupName, p2SVpnGatewayName, request, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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> beginDisconnectP2SVpnConnections(String resourceGroupName, - String p2SVpnGatewayName, P2SVpnConnectionRequest request) { - return this.beginDisconnectP2SVpnConnectionsAsync(resourceGroupName, p2SVpnGatewayName, request) - .getSyncPoller(); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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> beginDisconnectP2SVpnConnections(String resourceGroupName, - String p2SVpnGatewayName, P2SVpnConnectionRequest request, Context context) { - return this.beginDisconnectP2SVpnConnectionsAsync(resourceGroupName, p2SVpnGatewayName, request, context) - .getSyncPoller(); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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) - public Mono disconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2SVpnGatewayName, - P2SVpnConnectionRequest request) { - return beginDisconnectP2SVpnConnectionsAsync(resourceGroupName, p2SVpnGatewayName, request).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono disconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2SVpnGatewayName, - P2SVpnConnectionRequest request, Context context) { - return beginDisconnectP2SVpnConnectionsAsync(resourceGroupName, p2SVpnGatewayName, request, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 disconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, - P2SVpnConnectionRequest request) { - disconnectP2SVpnConnectionsAsync(resourceGroupName, p2SVpnGatewayName, request).block(); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param p2SVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 disconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, - P2SVpnConnectionRequest request, Context context) { - disconnectP2SVpnConnectionsAsync(resourceGroupName, p2SVpnGatewayName, request, context).block(); - } - - /** - * 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - 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. - * @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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return 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)); - } - - /** - * 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(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. - * @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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + public P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName, Context context) { + return resetAsync(resourceGroupName, gatewayName, context).block(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java new file mode 100644 index 000000000000..841f6f0a50a9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java @@ -0,0 +1,2287 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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.Post; +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.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.network.fluent.P2sVpnGatewaysOperationsClient; +import com.azure.resourcemanager.network.fluent.models.P2SVpnConnectionHealthInner; +import com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; +import com.azure.resourcemanager.network.implementation.models.ListP2SVpnGatewaysResult; +import com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest; +import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; +import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; +import com.azure.resourcemanager.network.models.TagsObject; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; +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 P2sVpnGatewaysOperationsClient. + */ +public final class P2sVpnGatewaysOperationsClientImpl implements InnerSupportsGet, + InnerSupportsListing, InnerSupportsDelete, P2sVpnGatewaysOperationsClient { + /** + * The proxy service used to perform REST calls. + */ + private final P2sVpnGatewaysOperationsService service; + + /** + * The service client containing this operation class. + */ + private final NetworkManagementClientImpl client; + + /** + * Initializes an instance of P2sVpnGatewaysOperationsClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + P2sVpnGatewaysOperationsClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(P2sVpnGatewaysOperationsService.class, client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for NetworkManagementClientP2sVpnGatewaysOperations to be used by the + * proxy service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClientP2sVpnGatewaysOperations") + public interface P2sVpnGatewaysOperationsService { + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") + @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("gatewayName") String gatewayName, + @HeaderParam("Accept") String accept, Context context); + + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); + + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject p2SVpnGatewayParameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") + @ExpectedResponses({ 200, 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("gatewayName") String gatewayName, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways") + @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}/providers/Microsoft.Network/p2svpnGateways") + @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); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> generateVpnProfile(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") P2SVpnProfileParameters parameters, Context context); + + @Headers({ "Content-Type: application/json" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> getP2sVpnConnectionHealth(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Accept") String accept, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> getP2sVpnConnectionHealthDetailed(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") P2SVpnConnectionHealthRequest request, Context context); + + @Headers({ "Accept: application/json;q=0.9" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> disconnectP2sVpnConnections(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("p2sVpnGatewayName") String p2sVpnGatewayName, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") P2SVpnConnectionRequest request, 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) + Mono> listNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + } + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String gatewayName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String gatewayName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, accept, context); + } + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, String gatewayName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, gatewayName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, + Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, gatewayName, context).block(); + } + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName) { + return getByResourceGroupWithResponse(resourceGroupName, gatewayName, Context.NONE).getValue(); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (p2SVpnGatewayParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); + } else { + p2SVpnGatewayParameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, + p2SVpnGatewayParameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (p2SVpnGatewayParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); + } else { + p2SVpnGatewayParameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, p2SVpnGatewayParameters, context); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync( + String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 PollerFlux} for polling of p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync( + String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).getSyncPoller(); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { + return this.beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context) + .getSyncPoller(); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters) { + return beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters) { + return createOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).block(); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { + return createOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).block(); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (p2SVpnGatewayParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); + } else { + p2SVpnGatewayParameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, p2SVpnGatewayParameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (p2SVpnGatewayParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); + } else { + p2SVpnGatewayParameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, p2SVpnGatewayParameters, context); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters) { + Mono>> mono + = updateTagsWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 PollerFlux} for polling of p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync( + String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = updateTagsWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters) { + return this.beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).getSyncPoller(); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters, Context context) { + return this.beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context) + .getSyncPoller(); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateTagsAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters) { + return beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono updateTagsAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters, Context context) { + return beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters) { + return updateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).block(); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters, Context context) { + return updateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).block(); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, context); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName) { + return this.beginDeleteAsync(resourceGroupName, gatewayName).getSyncPoller(); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, gatewayName, context).getSyncPoller(); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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) + public Mono deleteAsync(String resourceGroupName, String gatewayName) { + return beginDeleteAsync(resourceGroupName, gatewayName).last().flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String gatewayName, Context context) { + return beginDeleteAsync(resourceGroupName, gatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName) { + deleteAsync(resourceGroupName, gatewayName).block(); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName, Context context) { + deleteAsync(resourceGroupName, gatewayName, context).block(); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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 all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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 all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnProfileParameters parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.generateVpnProfile(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnProfileParameters parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.generateVpnProfile(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, parameters, context); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, VpnProfileResponseInner> + beginGenerateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) { + Mono>> mono + = generateVpnProfileWithResponseAsync(resourceGroupName, gatewayName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, + this.client.getContext()); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, VpnProfileResponseInner> beginGenerateVpnProfileAsync( + String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = generateVpnProfileWithResponseAsync(resourceGroupName, gatewayName, parameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, context); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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, VpnProfileResponseInner> + beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) { + return this.beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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, VpnProfileResponseInner> beginGenerateVpnProfile( + String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context) { + return this.beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters) { + return beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters, Context context) { + return beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters) { + return generateVpnProfileAsync(resourceGroupName, gatewayName, parameters).block(); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters, Context context) { + return generateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).block(); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group + * along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, + String gatewayName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getP2sVpnConnectionHealth(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group + * along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, + String gatewayName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getP2sVpnConnectionHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, accept, context); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { + Mono>> mono + = getP2sVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 PollerFlux} for polling of the connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = getP2sVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName) { + return this.beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).getSyncPoller(); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 the connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { + return this.beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).getSyncPoller(); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { + return beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, + Context context) { + return beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName) { + return getP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).block(); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { + return getP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).block(); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnConnectionHealthRequest request) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (request == null) { + return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); + } else { + request.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getP2sVpnConnectionHealthDetailed(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, request, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync( + String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (request == null) { + return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); + } else { + request.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getP2sVpnConnectionHealthDetailed(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, request, context); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request) { + Mono>> mono + = getP2sVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, + this.client.getContext()); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 PollerFlux} for polling of the sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = getP2sVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, + context); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request) { + return this.beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request) + .getSyncPoller(); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 the sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request, Context context) { + return this.beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context) + .getSyncPoller(); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, + String gatewayName, P2SVpnConnectionHealthRequest request) { + return beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, + String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { + return beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request) { + return getP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).block(); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request, Context context) { + return getP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).block(); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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) + public Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (p2sVpnGatewayName == null) { + return Mono + .error(new IllegalArgumentException("Parameter p2sVpnGatewayName is required and cannot be null.")); + } + if (request == null) { + return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); + } else { + request.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + return FluxUtil + .withContext(context -> service.disconnectP2sVpnConnections(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, p2sVpnGatewayName, contentType, request, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (p2sVpnGatewayName == null) { + return Mono + .error(new IllegalArgumentException("Parameter p2sVpnGatewayName is required and cannot be null.")); + } + if (request == null) { + return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); + } else { + request.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + context = this.client.mergeContext(context); + return service.disconnectP2sVpnConnections(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, p2sVpnGatewayName, contentType, request, context); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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) + public PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request) { + Mono>> mono + = disconnectP2sVpnConnectionsWithResponseAsync(resourceGroupName, p2sVpnGatewayName, request); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = disconnectP2sVpnConnectionsWithResponseAsync(resourceGroupName, p2sVpnGatewayName, request, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request) { + return this.beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request) + .getSyncPoller(); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { + return this.beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context) + .getSyncPoller(); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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) + public Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request) { + return beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request, Context context) { + return beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request) { + disconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request).block(); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request, Context context) { + disconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context).block(); + } + + /** + * 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + 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. + * @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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, + Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return 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)); + } + + /** + * 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.listNext(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. + * @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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java index 63bfd728bac7..fb51e0526def 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,10 +33,11 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.PacketCapturesClient; +import com.azure.resourcemanager.network.fluent.models.NetworkWatcherInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureQueryStatusResultInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureResultInner; -import com.azure.resourcemanager.network.models.PacketCaptureListResult; +import com.azure.resourcemanager.network.implementation.models.PacketCaptureListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -70,75 +71,84 @@ public final class PacketCapturesClientImpl implements PacketCapturesClient { * The interface defining all the services for NetworkManagementClientPacketCaptures to be used by the proxy service * to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientPacketCaptures") public interface PacketCapturesService { - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}") @ExpectedResponses({ 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> create(@HostParam("$host") String endpoint, + Mono>> create(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, - @PathParam("packetCaptureName") String packetCaptureName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") PacketCaptureInner parameters, @HeaderParam("Accept") String accept, + @PathParam("packetCaptureName") String packetCaptureName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") PacketCaptureInner parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, - @PathParam("packetCaptureName") String packetCaptureName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("packetCaptureName") String packetCaptureName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, - @PathParam("packetCaptureName") String packetCaptureName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("packetCaptureName") String packetCaptureName, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> stop(@HostParam("$host") String endpoint, + Mono>> stop(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, - @PathParam("packetCaptureName") String packetCaptureName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("packetCaptureName") String packetCaptureName, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getStatus(@HostParam("$host") String endpoint, + Mono>> getStatus(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkWatcherName") String networkWatcherName, - @PathParam("packetCaptureName") String packetCaptureName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("packetCaptureName") String packetCaptureName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkWatcherName") String networkWatcherName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("networkWatcherName") String networkWatcherName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -155,6 +165,10 @@ public Mono>> createWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -167,27 +181,25 @@ public Mono>> createWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter packetCaptureName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.create(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - packetCaptureName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, packetCaptureName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -205,6 +217,10 @@ private Mono>> createWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -217,26 +233,23 @@ private Mono>> createWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter packetCaptureName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.create(this.client.getEndpoint(), resourceGroupName, networkWatcherName, packetCaptureName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, packetCaptureName, contentType, accept, parameters, context); } /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -246,19 +259,18 @@ private Mono>> createWithResponseAsync(String resource * @return the {@link PollerFlux} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, PacketCaptureResultInner> beginCreateAsync( - String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters) { + public PollerFlux, NetworkWatcherInner> beginCreateAsync(String resourceGroupName, + String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters) { Mono>> mono = createWithResponseAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), PacketCaptureResultInner.class, PacketCaptureResultInner.class, - this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + NetworkWatcherInner.class, NetworkWatcherInner.class, this.client.getContext()); } /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -269,20 +281,19 @@ public PollerFlux, PacketCaptureResultInner * @return the {@link PollerFlux} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, PacketCaptureResultInner> beginCreateAsync( - String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, - Context context) { + private PollerFlux, NetworkWatcherInner> beginCreateAsync(String resourceGroupName, + String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = createWithResponseAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), PacketCaptureResultInner.class, PacketCaptureResultInner.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + NetworkWatcherInner.class, NetworkWatcherInner.class, context); } /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -292,8 +303,8 @@ private PollerFlux, PacketCaptureResultInne * @return the {@link SyncPoller} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, PacketCaptureResultInner> beginCreate( - String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters) { + public SyncPoller, NetworkWatcherInner> beginCreate(String resourceGroupName, + String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters) { return this.beginCreateAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters) .getSyncPoller(); } @@ -301,7 +312,7 @@ public SyncPoller, PacketCaptureResultInner /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -312,9 +323,8 @@ public SyncPoller, PacketCaptureResultInner * @return the {@link SyncPoller} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, PacketCaptureResultInner> beginCreate( - String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, - Context context) { + public SyncPoller, NetworkWatcherInner> beginCreate(String resourceGroupName, + String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context) { return this.beginCreateAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters, context) .getSyncPoller(); } @@ -322,7 +332,7 @@ public SyncPoller, PacketCaptureResultInner /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -332,7 +342,7 @@ public SyncPoller, PacketCaptureResultInner * @return information about packet capture session on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createAsync(String resourceGroupName, String networkWatcherName, + public Mono createAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters) { return beginCreateAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -341,7 +351,7 @@ public Mono createAsync(String resourceGroupName, Stri /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -352,7 +362,7 @@ public Mono createAsync(String resourceGroupName, Stri * @return information about packet capture session on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createAsync(String resourceGroupName, String networkWatcherName, + private Mono createAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context) { return beginCreateAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -361,7 +371,7 @@ private Mono createAsync(String resourceGroupName, Str /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -371,15 +381,15 @@ private Mono createAsync(String resourceGroupName, Str * @return information about packet capture session. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, - String packetCaptureName, PacketCaptureInner parameters) { + public NetworkWatcherInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, + PacketCaptureInner parameters) { return createAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters).block(); } /** * Create and start a packet capture on the specified VM. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param parameters Parameters that define the create packet capture operation. @@ -390,15 +400,15 @@ public PacketCaptureResultInner create(String resourceGroupName, String networkW * @return information about packet capture session. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, - String packetCaptureName, PacketCaptureInner parameters, Context context) { + public NetworkWatcherInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, + PacketCaptureInner parameters, Context context) { return createAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters, context).block(); } /** * Gets a packet capture session by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -413,6 +423,10 @@ public Mono> getWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -425,22 +439,18 @@ public Mono> getWithResponseAsync(String reso return Mono .error(new IllegalArgumentException("Parameter packetCaptureName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - packetCaptureName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, packetCaptureName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets a packet capture session by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -456,6 +466,10 @@ private Mono> getWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -468,21 +482,17 @@ private Mono> getWithResponseAsync(String res return Mono .error(new IllegalArgumentException("Parameter packetCaptureName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, networkWatcherName, packetCaptureName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, packetCaptureName, accept, context); } /** * Gets a packet capture session by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -500,7 +510,7 @@ public Mono getAsync(String resourceGroupName, String /** * Gets a packet capture session by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -518,7 +528,7 @@ public Response getWithResponse(String resourceGroupNa /** * Gets a packet capture session by name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -534,7 +544,7 @@ public PacketCaptureResultInner get(String resourceGroupName, String networkWatc /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -549,6 +559,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -561,22 +575,17 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter packetCaptureName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - packetCaptureName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkWatcherName, packetCaptureName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -592,6 +601,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -604,21 +617,16 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter packetCaptureName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkWatcherName, packetCaptureName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, packetCaptureName, context); } /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -638,7 +646,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -660,7 +668,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -677,7 +685,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -695,7 +703,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -712,7 +720,7 @@ public Mono deleteAsync(String resourceGroupName, String networkWatcherNam /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -731,7 +739,7 @@ private Mono deleteAsync(String resourceGroupName, String networkWatcherNa /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -746,7 +754,7 @@ public void delete(String resourceGroupName, String networkWatcherName, String p /** * Deletes the specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -762,7 +770,7 @@ public void delete(String resourceGroupName, String networkWatcherName, String p /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -777,6 +785,10 @@ public Mono>> stopWithResponseAsync(String resourceGro return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -789,22 +801,17 @@ public Mono>> stopWithResponseAsync(String resourceGro return Mono .error(new IllegalArgumentException("Parameter packetCaptureName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.stop(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - packetCaptureName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.stop(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, packetCaptureName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -820,6 +827,10 @@ private Mono>> stopWithResponseAsync(String resourceGr return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -832,21 +843,16 @@ private Mono>> stopWithResponseAsync(String resourceGr return Mono .error(new IllegalArgumentException("Parameter packetCaptureName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.stop(this.client.getEndpoint(), resourceGroupName, networkWatcherName, packetCaptureName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.stop(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, packetCaptureName, context); } /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -866,7 +872,7 @@ public PollerFlux, Void> beginStopAsync(String resourceGroupNam /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -888,7 +894,7 @@ private PollerFlux, Void> beginStopAsync(String resourceGroupNa /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -905,7 +911,7 @@ public SyncPoller, Void> beginStop(String resourceGroupName, St /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -923,7 +929,7 @@ public SyncPoller, Void> beginStop(String resourceGroupName, St /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -940,7 +946,7 @@ public Mono stopAsync(String resourceGroupName, String networkWatcherName, /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -959,7 +965,7 @@ private Mono stopAsync(String resourceGroupName, String networkWatcherName /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -974,7 +980,7 @@ public void stop(String resourceGroupName, String networkWatcherName, String pac /** * Stops a specified packet capture session. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkWatcherName The name of the network watcher. * @param packetCaptureName The name of the packet capture session. * @param context The context to associate with this operation. @@ -990,9 +996,9 @@ public void stop(String resourceGroupName, String networkWatcherName, String pac /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -1005,6 +1011,10 @@ public Mono>> getStatusWithResponseAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1017,24 +1027,21 @@ public Mono>> getStatusWithResponseAsync(String resour return Mono .error(new IllegalArgumentException("Parameter packetCaptureName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getStatus(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - packetCaptureName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext( + context -> service.getStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, packetCaptureName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -1048,6 +1055,10 @@ private Mono>> getStatusWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1060,23 +1071,19 @@ private Mono>> getStatusWithResponseAsync(String resou return Mono .error(new IllegalArgumentException("Parameter packetCaptureName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getStatus(this.client.getEndpoint(), resourceGroupName, networkWatcherName, packetCaptureName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, packetCaptureName, accept, context); } /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -1095,9 +1102,9 @@ private Mono>> getStatusWithResponseAsync(String resou /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -1119,9 +1126,9 @@ private Mono>> getStatusWithResponseAsync(String resou /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -1136,9 +1143,9 @@ private Mono>> getStatusWithResponseAsync(String resou /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -1155,9 +1162,9 @@ private Mono>> getStatusWithResponseAsync(String resou /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -1173,9 +1180,9 @@ public Mono getStatusAsync(String resourceG /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -1192,9 +1199,9 @@ private Mono getStatusAsync(String resource /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -1209,9 +1216,9 @@ public PacketCaptureQueryStatusResultInner getStatus(String resourceGroupName, S /** * Query the status of a running packet capture session. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. - * @param packetCaptureName The name given to the packet capture session. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. + * @param packetCaptureName The name of the packet capture session. * @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. @@ -1227,8 +1234,8 @@ public PacketCaptureQueryStatusResultInner getStatus(String resourceGroupName, S /** * Lists all packet capture sessions within the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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. @@ -1242,6 +1249,10 @@ private Mono> listSinglePageAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1250,25 +1261,21 @@ private Mono> listSinglePageAsync(String return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, networkWatcherName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkWatcherName, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Lists all packet capture sessions within the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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. @@ -1283,6 +1290,10 @@ private Mono> listSinglePageAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1291,25 +1302,21 @@ private Mono> listSinglePageAsync(String return Mono .error(new IllegalArgumentException("Parameter networkWatcherName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, networkWatcherName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkWatcherName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + res.getValue().value(), res.getValue().nextLink(), null)); } /** * Lists all packet capture sessions within the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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. @@ -1317,14 +1324,15 @@ private Mono> listSinglePageAsync(String */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkWatcherName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkWatcherName)); + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkWatcherName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** * Lists all packet capture sessions within the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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. @@ -1334,14 +1342,15 @@ public PagedFlux listAsync(String resourceGroupName, S @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkWatcherName, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkWatcherName, context)); + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkWatcherName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** * Lists all packet capture sessions within the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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. @@ -1355,8 +1364,8 @@ public PagedIterable list(String resourceGroupName, St /** * Lists all packet capture sessions within the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param networkWatcherName The name of the Network Watcher resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkWatcherName The name of the network watcher. * @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. @@ -1368,4 +1377,57 @@ public PagedIterable list(String resourceGroupName, St Context context) { return new PagedIterable<>(listAsync(resourceGroupName, networkWatcherName, 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 list of packet capture sessions along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.listNext(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. + * @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 list of packet capture sessions along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java index 1d16b6d015d7..c83a62916307 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.PeerExpressRouteCircuitConnectionsClient; import com.azure.resourcemanager.network.fluent.models.PeerExpressRouteCircuitConnectionInner; -import com.azure.resourcemanager.network.models.PeerExpressRouteCircuitConnectionListResult; +import com.azure.resourcemanager.network.implementation.models.PeerExpressRouteCircuitConnectionListResult; import reactor.core.publisher.Mono; /** @@ -59,44 +59,45 @@ public final class PeerExpressRouteCircuitConnectionsClientImpl implements PeerE * The interface defining all the services for NetworkManagementClientPeerExpressRouteCircuitConnections to be used * by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientPeerExpressRouteCircuitConnections") public interface PeerExpressRouteCircuitConnectionsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, @PathParam("peeringName") String peeringName, @PathParam("connectionName") String connectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("circuitName") String circuitName, - @PathParam("peeringName") String peeringName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("peeringName") String peeringName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param connectionName The name of the peer express route circuit connection. + * @param connectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -110,6 +111,10 @@ public Mono> getWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -123,25 +128,22 @@ public Mono> getWithResponseAsy if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, - connectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, connectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param connectionName The name of the peer express route circuit connection. + * @param connectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -156,6 +158,10 @@ private Mono> getWithResponseAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -169,24 +175,21 @@ private Mono> getWithResponseAs if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, connectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, peeringName, connectionName, accept, context); } /** * Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param connectionName The name of the peer express route circuit connection. + * @param connectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -203,10 +206,11 @@ public Mono getAsync(String resourceGrou /** * Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param connectionName The name of the peer express route circuit connection. + * @param connectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -223,10 +227,11 @@ public Response getWithResponse(String r /** * Gets the specified Peer Express Route Circuit Connection from the specified express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the express route circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. - * @param connectionName The name of the peer express route circuit connection. + * @param connectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -241,8 +246,8 @@ public PeerExpressRouteCircuitConnectionInner get(String resourceGroupName, Stri /** * Gets all global reach peer connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -257,6 +262,10 @@ private Mono> listSinglePa return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -267,15 +276,11 @@ private Mono> listSinglePa if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, circuitName, peeringName, 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())); @@ -284,8 +289,8 @@ private Mono> listSinglePa /** * Gets all global reach peer connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -301,6 +306,10 @@ private Mono> listSinglePa return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -311,16 +320,12 @@ private Mono> listSinglePa if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, circuitName, peeringName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + circuitName, peeringName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -328,8 +333,8 @@ private Mono> listSinglePa /** * Gets all global reach peer connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -347,8 +352,8 @@ public PagedFlux listAsync(String resour /** * Gets all global reach peer connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -367,8 +372,8 @@ private PagedFlux listAsync(String resou /** * Gets all global reach peer connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -385,8 +390,8 @@ public PagedIterable list(String resourc /** * Gets all global reach peer connections associated with a private peering in an express route circuit. * - * @param resourceGroupName The name of the resource group. - * @param circuitName The name of the circuit. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param circuitName The name of express route circuit. * @param peeringName The name of the peering. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java index 666c8f06a34a..9d017522e8d2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,8 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.PrivateDnsZoneGroupsClient; import com.azure.resourcemanager.network.fluent.models.PrivateDnsZoneGroupInner; -import com.azure.resourcemanager.network.models.ErrorException; -import com.azure.resourcemanager.network.models.PrivateDnsZoneGroupListResult; +import com.azure.resourcemanager.network.implementation.models.PrivateDnsZoneGroupListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -68,67 +67,66 @@ public final class PrivateDnsZoneGroupsClientImpl implements PrivateDnsZoneGroup * The interface defining all the services for NetworkManagementClientPrivateDnsZoneGroups to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientPrivateDnsZoneGroups") public interface PrivateDnsZoneGroupsService { - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateEndpointName") String privateEndpointName, - @PathParam("privateDnsZoneGroupName") String privateDnsZoneGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("privateDnsZoneGroupName") String privateDnsZoneGroupName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateEndpointName") String privateEndpointName, - @PathParam("privateDnsZoneGroupName") String privateDnsZoneGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("privateDnsZoneGroupName") String privateDnsZoneGroupName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateEndpointName") String privateEndpointName, @PathParam("privateDnsZoneGroupName") String privateDnsZoneGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") PrivateDnsZoneGroupInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") PrivateDnsZoneGroupInner parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups") @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ErrorException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("privateEndpointName") String privateEndpointName, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("privateEndpointName") String privateEndpointName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ErrorException.class) + @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -141,6 +139,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -153,24 +155,20 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter privateDnsZoneGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, privateEndpointName, - privateDnsZoneGroupName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, privateEndpointName, privateDnsZoneGroupName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -184,6 +182,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -196,23 +198,18 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter privateDnsZoneGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, privateEndpointName, - privateDnsZoneGroupName, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + privateEndpointName, privateDnsZoneGroupName, context); } /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -230,9 +227,9 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -252,9 +249,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -269,9 +266,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -288,9 +285,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -306,9 +303,9 @@ public Mono deleteAsync(String resourceGroupName, String privateEndpointNa /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -325,9 +322,9 @@ private Mono deleteAsync(String resourceGroupName, String privateEndpointN /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -340,9 +337,9 @@ public void delete(String resourceGroupName, String privateEndpointName, String /** * Deletes the specified private dns zone group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -357,9 +354,9 @@ public void delete(String resourceGroupName, String privateEndpointName, String /** * Gets the private dns zone group resource by specified private dns zone group name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -373,6 +370,10 @@ public Mono> getWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -385,24 +386,20 @@ public Mono> getWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter privateDnsZoneGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, privateEndpointName, - privateDnsZoneGroupName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, privateEndpointName, privateDnsZoneGroupName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the private dns zone group resource by specified private dns zone group name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -417,6 +414,10 @@ private Mono> getWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -429,23 +430,19 @@ private Mono> getWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter privateDnsZoneGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, privateEndpointName, privateDnsZoneGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + privateEndpointName, privateDnsZoneGroupName, accept, context); } /** * Gets the private dns zone group resource by specified private dns zone group name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -462,9 +459,9 @@ public Mono getAsync(String resourceGroupName, String /** * Gets the private dns zone group resource by specified private dns zone group name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -480,9 +477,9 @@ public Response getWithResponse(String resourceGroupNa /** * Gets the private dns zone group resource by specified private dns zone group name. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @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. @@ -498,9 +495,9 @@ public PrivateDnsZoneGroupInner get(String resourceGroupName, String privateEndp /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -514,6 +511,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -526,30 +527,27 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter privateDnsZoneGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, privateEndpointName, - privateDnsZoneGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, privateEndpointName, privateDnsZoneGroupName, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -565,6 +563,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -577,28 +579,25 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter privateDnsZoneGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, privateEndpointName, - privateDnsZoneGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, privateEndpointName, privateDnsZoneGroupName, contentType, accept, parameters, context); } /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -619,9 +618,9 @@ public PollerFlux, PrivateDnsZoneGroupInner /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -643,9 +642,9 @@ private PollerFlux, PrivateDnsZoneGroupInne /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -664,9 +663,9 @@ public SyncPoller, PrivateDnsZoneGroupInner /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -687,9 +686,9 @@ public SyncPoller, PrivateDnsZoneGroupInner /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -707,9 +706,9 @@ public Mono createOrUpdateAsync(String resourceGroupNa /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -727,9 +726,9 @@ private Mono createOrUpdateAsync(String resourceGroupN /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -745,9 +744,9 @@ public PrivateDnsZoneGroupInner createOrUpdate(String resourceGroupName, String /** * Creates or updates a private dns zone group in the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param privateDnsZoneGroupName The name of the private dns zone group. + * @param privateDnsZoneGroupName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private dns zone group operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -765,38 +764,38 @@ public PrivateDnsZoneGroupInner createOrUpdate(String resourceGroupName, String /** * Gets all private dns zone groups in a private endpoint. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String privateEndpointName, - String resourceGroupName) { + private Mono> listSinglePageAsync(String resourceGroupName, + String privateEndpointName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (privateEndpointName == null) { - return Mono - .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (privateEndpointName == null) { + return Mono + .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), privateEndpointName, resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, privateEndpointName, 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())); @@ -805,40 +804,40 @@ private Mono> listSinglePageAsync(String /** * Gets all private dns zone groups in a private endpoint. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param resourceGroupName The name of the resource group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String privateEndpointName, - String resourceGroupName, Context context) { + private Mono> listSinglePageAsync(String resourceGroupName, + String privateEndpointName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (privateEndpointName == null) { - return Mono - .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (privateEndpointName == null) { + return Mono + .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), privateEndpointName, resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + privateEndpointName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -846,67 +845,67 @@ private Mono> listSinglePageAsync(String /** * Gets all private dns zone groups in a private endpoint. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String privateEndpointName, String resourceGroupName) { - return new PagedFlux<>(() -> listSinglePageAsync(privateEndpointName, resourceGroupName), + public PagedFlux listAsync(String resourceGroupName, String privateEndpointName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, privateEndpointName), nextLink -> listNextSinglePageAsync(nextLink)); } /** * Gets all private dns zone groups in a private endpoint. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param resourceGroupName The name of the resource group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String privateEndpointName, String resourceGroupName, + private PagedFlux listAsync(String resourceGroupName, String privateEndpointName, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(privateEndpointName, resourceGroupName, context), + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, privateEndpointName, context), nextLink -> listNextSinglePageAsync(nextLink, context)); } /** * Gets all private dns zone groups in a private endpoint. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String privateEndpointName, String resourceGroupName) { - return new PagedIterable<>(listAsync(privateEndpointName, resourceGroupName)); + public PagedIterable list(String resourceGroupName, String privateEndpointName) { + return new PagedIterable<>(listAsync(resourceGroupName, privateEndpointName)); } /** * Gets all private dns zone groups in a private endpoint. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. - * @param resourceGroupName The name of the resource group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String privateEndpointName, String resourceGroupName, + public PagedIterable list(String resourceGroupName, String privateEndpointName, Context context) { - return new PagedIterable<>(listAsync(privateEndpointName, resourceGroupName, context)); + return new PagedIterable<>(listAsync(resourceGroupName, privateEndpointName, context)); } /** @@ -914,7 +913,7 @@ public PagedIterable list(String privateEndpointName, * * @param nextLink The URL to get the next list of items. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint along with {@link PagedResponse} on successful * completion of {@link Mono}. @@ -941,7 +940,7 @@ private Mono> listNextSinglePageAsync(St * @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 ErrorException thrown if the request is rejected by server. + * @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 all private dns zone groups in a private endpoint along with {@link PagedResponse} on successful * completion of {@link Mono}. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java index 2909b8a79975..c0d2896ceb51 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -32,8 +32,8 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.PrivateEndpointsClient; import com.azure.resourcemanager.network.fluent.models.PrivateEndpointInner; +import com.azure.resourcemanager.network.implementation.models.PrivateEndpointListResult; import com.azure.resourcemanager.network.models.ErrorException; -import com.azure.resourcemanager.network.models.PrivateEndpointListResult; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -71,52 +71,52 @@ public final class PrivateEndpointsClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateEndpointName") String privateEndpointName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateEndpointName") String privateEndpointName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("privateEndpointName") String privateEndpointName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateEndpointName") String privateEndpointName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") PrivateEndpointInner parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("privateEndpointName") String privateEndpointName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") PrivateEndpointInner parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ErrorException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("privateEndpointName") String privateEndpointName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/privateEndpoints") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -125,7 +125,7 @@ Mono> list(@HostParam("$host") String endpoi @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -133,220 +133,14 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listBySubscriptionNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified private endpoint. - * - * @param resourceGroupName The name of the resource group. - * @param privateEndpointName The name of the private endpoint. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String privateEndpointName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (privateEndpointName == null) { - return Mono - .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, privateEndpointName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified private endpoint. - * - * @param resourceGroupName The name of the resource group. - * @param privateEndpointName The name of the private endpoint. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 privateEndpointName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (privateEndpointName == null) { - return Mono - .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, privateEndpointName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified private endpoint. - * - * @param resourceGroupName The name of the resource group. - * @param privateEndpointName The name of the private endpoint. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String privateEndpointName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, privateEndpointName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified private endpoint. - * - * @param resourceGroupName The name of the resource group. - * @param privateEndpointName The name of the private endpoint. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 privateEndpointName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, privateEndpointName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified private endpoint. - * - * @param resourceGroupName The name of the resource group. - * @param privateEndpointName The name of the private endpoint. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 privateEndpointName) { - return this.beginDeleteAsync(resourceGroupName, privateEndpointName).getSyncPoller(); - } - - /** - * Deletes the specified private endpoint. - * - * @param resourceGroupName The name of the resource group. - * @param privateEndpointName The name of the private endpoint. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 privateEndpointName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, privateEndpointName, context).getSyncPoller(); - } - - /** - * Deletes the specified private endpoint. - * - * @param resourceGroupName The name of the resource group. - * @param privateEndpointName The name of the private endpoint. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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) - public Mono deleteAsync(String resourceGroupName, String privateEndpointName) { - return beginDeleteAsync(resourceGroupName, privateEndpointName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified private endpoint. - * - * @param resourceGroupName The name of the resource group. - * @param privateEndpointName The name of the private endpoint. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 privateEndpointName, Context context) { - return beginDeleteAsync(resourceGroupName, privateEndpointName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified private endpoint. - * - * @param resourceGroupName The name of the resource group. - * @param privateEndpointName The name of the private endpoint. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 privateEndpointName) { - deleteAsync(resourceGroupName, privateEndpointName).block(); - } - - /** - * Deletes the specified private endpoint. - * - * @param resourceGroupName The name of the resource group. - * @param privateEndpointName The name of the private endpoint. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 privateEndpointName, Context context) { - deleteAsync(resourceGroupName, privateEndpointName, context).block(); - } - /** * Gets the specified private endpoint by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -362,6 +156,10 @@ public Mono> getByResourceGroupWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -370,22 +168,18 @@ public Mono> getByResourceGroupWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - privateEndpointName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, privateEndpointName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified private endpoint by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -402,6 +196,10 @@ private Mono> getByResourceGroupWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -410,21 +208,17 @@ private Mono> getByResourceGroupWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, privateEndpointName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, privateEndpointName, expand, accept, context); } /** * Gets the specified private endpoint by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -441,7 +235,7 @@ public Mono getByResourceGroupAsync(String resourceGroupNa /** * Gets the specified private endpoint by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -459,7 +253,7 @@ public Response getByResourceGroupWithResponse(String reso /** * Gets the specified private endpoint by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -475,7 +269,7 @@ public PrivateEndpointInner getByResourceGroup(String resourceGroupName, String /** * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -490,6 +284,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -498,27 +296,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - privateEndpointName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, privateEndpointName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private endpoint operation. * @param context The context to associate with this operation. @@ -534,6 +330,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -542,26 +342,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, privateEndpointName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, privateEndpointName, contentType, accept, parameters, context); } /** * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -581,7 +378,7 @@ public PollerFlux, PrivateEndpointInner> beginC /** * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private endpoint operation. * @param context The context to associate with this operation. @@ -603,7 +400,7 @@ private PollerFlux, PrivateEndpointInner> begin /** * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -620,7 +417,7 @@ private PollerFlux, PrivateEndpointInner> begin /** * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private endpoint operation. * @param context The context to associate with this operation. @@ -639,7 +436,7 @@ public SyncPoller, PrivateEndpointInner> beginC /** * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -657,7 +454,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private endpoint operation. * @param context The context to associate with this operation. @@ -676,7 +473,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private endpoint operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -693,7 +490,7 @@ public PrivateEndpointInner createOrUpdate(String resourceGroupName, String priv /** * Creates or updates an private endpoint in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. * @param parameters Parameters supplied to the create or update private endpoint operation. * @param context The context to associate with this operation. @@ -709,34 +506,238 @@ public PrivateEndpointInner createOrUpdate(String resourceGroupName, String priv } /** - * Gets all private endpoints in a resource group. + * Deletes the specified private endpoint. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateEndpointName The name of the private endpoint. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return all private endpoints in a resource group along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String privateEndpointName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (privateEndpointName == null) { + return Mono + .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, privateEndpointName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified private endpoint. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateEndpointName The name of the private endpoint. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 privateEndpointName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } + if (privateEndpointName == null) { + return Mono + .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + privateEndpointName, context); + } + + /** + * Deletes the specified private endpoint. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateEndpointName The name of the private endpoint. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String privateEndpointName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, privateEndpointName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified private endpoint. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateEndpointName The name of the private endpoint. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 privateEndpointName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, privateEndpointName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified private endpoint. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateEndpointName The name of the private endpoint. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 privateEndpointName) { + return this.beginDeleteAsync(resourceGroupName, privateEndpointName).getSyncPoller(); + } + + /** + * Deletes the specified private endpoint. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateEndpointName The name of the private endpoint. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 privateEndpointName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, privateEndpointName, context).getSyncPoller(); + } + + /** + * Deletes the specified private endpoint. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateEndpointName The name of the private endpoint. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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) + public Mono deleteAsync(String resourceGroupName, String privateEndpointName) { + return beginDeleteAsync(resourceGroupName, privateEndpointName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified private endpoint. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateEndpointName The name of the private endpoint. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 privateEndpointName, Context context) { + return beginDeleteAsync(resourceGroupName, privateEndpointName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified private endpoint. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateEndpointName The name of the private endpoint. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 privateEndpointName) { + deleteAsync(resourceGroupName, privateEndpointName).block(); + } + + /** + * Deletes the specified private endpoint. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateEndpointName The name of the private endpoint. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 privateEndpointName, Context context) { + deleteAsync(resourceGroupName, privateEndpointName, context).block(); + } + + /** + * Gets all private endpoints in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return all private endpoints in a resource group along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -745,7 +746,7 @@ private Mono> listByResourceGroupSinglePageA /** * Gets all private endpoints in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. @@ -760,20 +761,20 @@ private Mono> listByResourceGroupSinglePageA return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -781,7 +782,7 @@ private Mono> listByResourceGroupSinglePageA /** * Gets all private endpoints in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -796,7 +797,7 @@ public PagedFlux listByResourceGroupAsync(String resourceG /** * Gets all private endpoints in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. @@ -812,7 +813,7 @@ private PagedFlux listByResourceGroupAsync(String resource /** * Gets all private endpoints in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -826,7 +827,7 @@ public PagedIterable listByResourceGroup(String resourceGr /** * Gets all private endpoints in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java index 01444f41cb41..8f32bf5c3b78 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -37,11 +37,11 @@ import com.azure.resourcemanager.network.fluent.models.PrivateEndpointConnectionInner; import com.azure.resourcemanager.network.fluent.models.PrivateLinkServiceInner; import com.azure.resourcemanager.network.fluent.models.PrivateLinkServiceVisibilityInner; -import com.azure.resourcemanager.network.models.AutoApprovedPrivateLinkServicesResult; +import com.azure.resourcemanager.network.implementation.models.AutoApprovedPrivateLinkServicesResult; +import com.azure.resourcemanager.network.implementation.models.PrivateEndpointConnectionListResult; +import com.azure.resourcemanager.network.implementation.models.PrivateLinkServiceListResult; import com.azure.resourcemanager.network.models.CheckPrivateLinkServiceVisibilityRequest; import com.azure.resourcemanager.network.models.ErrorException; -import com.azure.resourcemanager.network.models.PrivateEndpointConnectionListResult; -import com.azure.resourcemanager.network.models.PrivateLinkServiceListResult; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -79,50 +79,50 @@ public final class PrivateLinkServicesClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceName") String serviceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceName") String serviceName, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceName") String serviceName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceName") String serviceName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") PrivateLinkServiceInner parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ErrorException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") PrivateLinkServiceInner parameters, @HeaderParam("Accept") String accept, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceName") String serviceName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/privateLinkServices") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -130,69 +130,69 @@ Mono> list(@HostParam("$host") String end @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> getPrivateEndpointConnection(@HostParam("$host") String endpoint, + Mono> getPrivateEndpointConnection( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceName") String serviceName, - @PathParam("peConnectionName") String peConnectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("peConnectionName") String peConnectionName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> updatePrivateEndpointConnection( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceName") String serviceName, @PathParam("peConnectionName") String peConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") PrivateEndpointConnectionInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceName") String serviceName, + @PathParam("peConnectionName") String peConnectionName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") PrivateEndpointConnectionInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> deletePrivateEndpointConnection(@HostParam("$host") String endpoint, + Mono>> deletePrivateEndpointConnection(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceName") String serviceName, - @PathParam("peConnectionName") String peConnectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("peConnectionName") String peConnectionName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listPrivateEndpointConnections( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceName") String serviceName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceName") String serviceName, + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> checkPrivateLinkServiceVisibility(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") CheckPrivateLinkServiceVisibilityRequest parameters, - @HeaderParam("Accept") String accept, Context context); + Mono>> checkPrivateLinkServiceVisibility(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") CheckPrivateLinkServiceVisibilityRequest parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> checkPrivateLinkServiceVisibilityByResourceGroup( - @HostParam("$host") String endpoint, @PathParam("location") String location, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") CheckPrivateLinkServiceVisibilityRequest parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("location") String location, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") CheckPrivateLinkServiceVisibilityRequest parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAutoApprovedPrivateLinkServices( - @HostParam("$host") String endpoint, @PathParam("location") String location, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -200,16 +200,17 @@ Mono> listAutoApprovedPrivateLin @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAutoApprovedPrivateLinkServicesByResourceGroup( - @HostParam("$host") String endpoint, @PathParam("location") String location, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("location") String location, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -217,7 +218,7 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listBySubscriptionNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -225,7 +226,7 @@ Mono> listBySubscriptionNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listPrivateEndpointConnectionsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -233,7 +234,7 @@ Mono> listPrivateEndpointConnectio @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAutoApprovedPrivateLinkServicesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -241,26 +242,33 @@ Mono> listAutoApprovedPrivateLin @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAutoApprovedPrivateLinkServicesByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified private link service. + * Gets the specified private link service by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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}. + * @return the specified private link service by resource group along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceName) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String serviceName, String expand) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -268,36 +276,38 @@ public Mono>> deleteWithResponseAsync(String resourceG if (serviceName == null) { return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, serviceName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified private link service. + * Gets the specified private link service by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param expand Expands referenced resources. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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}. + * @return the specified private link service by resource group along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceName, - Context context) { + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String serviceName, String expand, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -305,292 +315,319 @@ private Mono>> deleteWithResponseAsync(String resource if (serviceName == null) { return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, serviceName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceName, expand, accept, context); } /** - * Deletes the specified private link service. + * Gets the specified private link service by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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. + * @return the specified private link service by resource group on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, String serviceName) { + final String expand = null; + return getByResourceGroupWithResponseAsync(resourceGroupName, serviceName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Deletes the specified private link service. + * Gets the specified private link service by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param expand Expands referenced resources. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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. + * @return the specified private link service by resource group along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, + String serviceName, String expand, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, serviceName, expand, context).block(); } /** - * Deletes the specified private link service. + * Gets the specified private link service by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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. + * @return the specified private link service by resource group. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName) { - return this.beginDeleteAsync(resourceGroupName, serviceName).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + public PrivateLinkServiceInner getByResourceGroup(String resourceGroupName, String serviceName) { + final String expand = null; + return getByResourceGroupWithResponse(resourceGroupName, serviceName, expand, Context.NONE).getValue(); } /** - * Deletes the specified private link service. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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. + * @return private link service resource along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, serviceName, context).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String serviceName, PrivateLinkServiceInner parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (serviceName == null) { + return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified private link service. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param parameters Parameters supplied to the create or update private link service operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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. + * @return private link service resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String serviceName) { - return beginDeleteAsync(resourceGroupName, serviceName).last().flatMap(this.client::getLroFinalResultOrError); + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String serviceName, PrivateLinkServiceInner parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (serviceName == null) { + return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceName, contentType, accept, parameters, context); } /** - * Deletes the specified private link service. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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. + * @return the {@link PollerFlux} for polling of private link service resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String serviceName, Context context) { - return beginDeleteAsync(resourceGroupName, serviceName, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, PrivateLinkServiceInner> + beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, serviceName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), PrivateLinkServiceInner.class, PrivateLinkServiceInner.class, + this.client.getContext()); } /** - * Deletes the specified private link service. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param parameters Parameters supplied to the create or update private link service operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String serviceName) { - deleteAsync(resourceGroupName, serviceName).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, PrivateLinkServiceInner> beginCreateOrUpdateAsync( + String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, serviceName, parameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), PrivateLinkServiceInner.class, PrivateLinkServiceInner.class, context); } /** - * Deletes the specified private link service. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String serviceName, Context context) { - deleteAsync(resourceGroupName, serviceName, context).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, PrivateLinkServiceInner> + beginCreateOrUpdate(String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, serviceName, parameters).getSyncPoller(); } /** - * Gets the specified private link service by resource group. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to the create or update private link service operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service by resource group along with {@link Response} on successful completion - * of {@link Mono}. + * @return the {@link SyncPoller} for polling of private link service resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String serviceName, String expand) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (serviceName == null) { - return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - serviceName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, PrivateLinkServiceInner> beginCreateOrUpdate( + String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters, Context context) { + return this.beginCreateOrUpdateAsync(resourceGroupName, serviceName, parameters, context).getSyncPoller(); } /** - * Gets the specified private link service by resource group. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param expand Expands referenced resources. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service by resource group along with {@link Response} on successful completion - * of {@link Mono}. + * @return private link service resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String serviceName, String expand, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (serviceName == null) { - return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, serviceName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + public Mono createOrUpdateAsync(String resourceGroupName, String serviceName, + PrivateLinkServiceInner parameters) { + return beginCreateOrUpdateAsync(resourceGroupName, serviceName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified private link service by resource group. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param parameters Parameters supplied to the create or update private link service operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service by resource group on successful completion of {@link Mono}. + * @return private link service resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String serviceName) { - final String expand = null; - return getByResourceGroupWithResponseAsync(resourceGroupName, serviceName, expand) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + private Mono createOrUpdateAsync(String resourceGroupName, String serviceName, + PrivateLinkServiceInner parameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, serviceName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified private link service by resource group. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param expand Expands referenced resources. - * @param context The context to associate with this operation. + * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service by resource group along with {@link Response}. + * @return private link service resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String serviceName, String expand, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, serviceName, expand, context).block(); + public PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceName, + PrivateLinkServiceInner parameters) { + return createOrUpdateAsync(resourceGroupName, serviceName, parameters).block(); } /** - * Gets the specified private link service by resource group. + * Creates or updates an private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. + * @param parameters Parameters supplied to the create or update private link service operation. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service by resource group. + * @return private link service resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrivateLinkServiceInner getByResourceGroup(String resourceGroupName, String serviceName) { - final String expand = null; - return getByResourceGroupWithResponse(resourceGroupName, serviceName, expand, Context.NONE).getValue(); + public PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceName, + PrivateLinkServiceInner parameters, Context context) { + return createOrUpdateAsync(resourceGroupName, serviceName, parameters, context).block(); } /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private link service resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String serviceName, PrivateLinkServiceInner parameters) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -598,219 +635,182 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (serviceName == null) { return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, serviceName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private link service resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String serviceName, PrivateLinkServiceInner parameters, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, String serviceName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (serviceName == null) { - return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (serviceName == null) { + return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, serviceName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + serviceName, context); } /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, PrivateLinkServiceInner> - beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters) { - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, serviceName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), PrivateLinkServiceInner.class, PrivateLinkServiceInner.class, + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, PrivateLinkServiceInner> beginCreateOrUpdateAsync( - String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters, Context context) { + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceName, + Context context) { context = this.client.mergeContext(context); - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, serviceName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), PrivateLinkServiceInner.class, PrivateLinkServiceInner.class, context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, PrivateLinkServiceInner> - beginCreateOrUpdate(String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, serviceName, parameters).getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName) { + return this.beginDeleteAsync(resourceGroupName, serviceName).getSyncPoller(); } /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException 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 private link service resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, PrivateLinkServiceInner> beginCreateOrUpdate( - String resourceGroupName, String serviceName, PrivateLinkServiceInner parameters, Context context) { - return this.beginCreateOrUpdateAsync(resourceGroupName, serviceName, parameters, context).getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, serviceName, context).getSyncPoller(); } /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private link service resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String serviceName, - PrivateLinkServiceInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, serviceName, parameters).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono deleteAsync(String resourceGroupName, String serviceName) { + return beginDeleteAsync(resourceGroupName, serviceName).last().flatMap(this.client::getLroFinalResultOrError); } /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private link service resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String serviceName, - PrivateLinkServiceInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, serviceName, parameters, context).last() + private Mono deleteAsync(String resourceGroupName, String serviceName, Context context) { + return beginDeleteAsync(resourceGroupName, serviceName, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private link service resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceName, - PrivateLinkServiceInner parameters) { - return createOrUpdateAsync(resourceGroupName, serviceName, parameters).block(); + public void delete(String resourceGroupName, String serviceName) { + deleteAsync(resourceGroupName, serviceName).block(); } /** - * Creates or updates an private link service in the specified resource group. + * Deletes the specified private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return private link service resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrivateLinkServiceInner createOrUpdate(String resourceGroupName, String serviceName, - PrivateLinkServiceInner parameters, Context context) { - return createOrUpdateAsync(resourceGroupName, serviceName, parameters, context).block(); + public void delete(String resourceGroupName, String serviceName, Context context) { + deleteAsync(resourceGroupName, serviceName, context).block(); } /** * Gets all private link services in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -823,19 +823,19 @@ private Mono> listByResourceGroupSinglePa return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -844,7 +844,7 @@ private Mono> listByResourceGroupSinglePa /** * Gets all private link services in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. @@ -859,20 +859,20 @@ private Mono> listByResourceGroupSinglePa return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -880,7 +880,7 @@ private Mono> listByResourceGroupSinglePa /** * Gets all private link services in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -895,7 +895,7 @@ public PagedFlux listByResourceGroupAsync(String resour /** * Gets all private link services in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. @@ -911,7 +911,7 @@ private PagedFlux listByResourceGroupAsync(String resou /** * Gets all private link services in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -925,7 +925,7 @@ public PagedIterable listByResourceGroup(String resourc /** * Gets all private link services in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. @@ -1050,9 +1050,10 @@ public PagedIterable list(Context context) { /** * Get the specific private end point connection by specific private link service in the resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1067,6 +1068,10 @@ public Mono> getPrivateEndpointConnecti return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1078,24 +1083,22 @@ public Mono> getPrivateEndpointConnecti return Mono .error(new IllegalArgumentException("Parameter peConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getPrivateEndpointConnection(this.client.getEndpoint(), resourceGroupName, - serviceName, peConnectionName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getPrivateEndpointConnection(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceName, peConnectionName, expand, accept, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Get the specific private end point connection by specific private link service in the resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param expand Expands referenced resources. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1111,6 +1114,10 @@ private Mono> getPrivateEndpointConnect return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1122,23 +1129,20 @@ private Mono> getPrivateEndpointConnect return Mono .error(new IllegalArgumentException("Parameter peConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getPrivateEndpointConnection(this.client.getEndpoint(), resourceGroupName, serviceName, - peConnectionName, apiVersion, this.client.getSubscriptionId(), expand, accept, context); + return service.getPrivateEndpointConnection(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceName, peConnectionName, expand, accept, context); } /** * Get the specific private end point connection by specific private link service in the resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1156,9 +1160,10 @@ public Mono getPrivateEndpointConnectionAsync(St /** * Get the specific private end point connection by specific private link service in the resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param expand Expands referenced resources. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1177,9 +1182,10 @@ public Response getPrivateEndpointConnectionWith /** * Get the specific private end point connection by specific private link service in the resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1196,9 +1202,10 @@ public PrivateEndpointConnectionInner getPrivateEndpointConnection(String resour /** * Approve or reject private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to approve or reject the private end point connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1213,6 +1220,10 @@ public Mono> updatePrivateEndpointConne return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1224,30 +1235,28 @@ public Mono> updatePrivateEndpointConne return Mono .error(new IllegalArgumentException("Parameter peConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updatePrivateEndpointConnection(this.client.getEndpoint(), - resourceGroupName, serviceName, peConnectionName, apiVersion, this.client.getSubscriptionId(), - parameters, accept, context)) + .withContext(context -> service.updatePrivateEndpointConnection(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceName, peConnectionName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Approve or reject private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to approve or reject the private end point connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1263,6 +1272,10 @@ private Mono> updatePrivateEndpointConn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1274,28 +1287,27 @@ private Mono> updatePrivateEndpointConn return Mono .error(new IllegalArgumentException("Parameter peConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updatePrivateEndpointConnection(this.client.getEndpoint(), resourceGroupName, serviceName, - peConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.updatePrivateEndpointConnection(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceName, peConnectionName, contentType, accept, + parameters, context); } /** * Approve or reject private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to approve or reject the private end point connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1312,9 +1324,10 @@ public Mono updatePrivateEndpointConnectionAsync /** * Approve or reject private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to approve or reject the private end point connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1333,9 +1346,10 @@ public Response updatePrivateEndpointConnectionW /** * Approve or reject private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to approve or reject the private end point connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1352,9 +1366,10 @@ public PrivateEndpointConnectionInner updatePrivateEndpointConnection(String res /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1367,6 +1382,10 @@ public Mono>> deletePrivateEndpointConnectionWithRespo return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1378,25 +1397,20 @@ public Mono>> deletePrivateEndpointConnectionWithRespo return Mono .error(new IllegalArgumentException("Parameter peConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.deletePrivateEndpointConnection(this.client.getEndpoint(), resourceGroupName, - serviceName, peConnectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.deletePrivateEndpointConnection(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceName, peConnectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1410,6 +1424,10 @@ private Mono>> deletePrivateEndpointConnectionWithResp return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1421,23 +1439,19 @@ private Mono>> deletePrivateEndpointConnectionWithResp return Mono .error(new IllegalArgumentException("Parameter peConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.deletePrivateEndpointConnection(this.client.getEndpoint(), resourceGroupName, serviceName, - peConnectionName, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.deletePrivateEndpointConnection(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceName, peConnectionName, context); } /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1455,9 +1469,10 @@ public PollerFlux, Void> beginDeletePrivateEndpointConnectionAs /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1477,9 +1492,10 @@ private PollerFlux, Void> beginDeletePrivateEndpointConnectionA /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1495,9 +1511,10 @@ public SyncPoller, Void> beginDeletePrivateEndpointConnection(S /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1514,9 +1531,10 @@ public SyncPoller, Void> beginDeletePrivateEndpointConnection(S /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1532,9 +1550,10 @@ public Mono deletePrivateEndpointConnectionAsync(String resourceGroupName, /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1552,9 +1571,10 @@ private Mono deletePrivateEndpointConnectionAsync(String resourceGroupName /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1567,9 +1587,10 @@ public void deletePrivateEndpointConnection(String resourceGroupName, String ser /** * Delete private end point connection for a private link service in a subscription. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. - * @param peConnectionName The name of the private end point connection. + * @param peConnectionName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1584,7 +1605,7 @@ public void deletePrivateEndpointConnection(String resourceGroupName, String ser /** * Gets all private end point connections for a specific private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1599,6 +1620,10 @@ public void deletePrivateEndpointConnection(String resourceGroupName, String ser return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1606,15 +1631,11 @@ public void deletePrivateEndpointConnection(String resourceGroupName, String ser if (serviceName == null) { return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listPrivateEndpointConnections(this.client.getEndpoint(), resourceGroupName, - serviceName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listPrivateEndpointConnections(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceName, 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())); @@ -1623,7 +1644,7 @@ public void deletePrivateEndpointConnection(String resourceGroupName, String ser /** * Gets all private end point connections for a specific private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1639,6 +1660,10 @@ public void deletePrivateEndpointConnection(String resourceGroupName, String ser return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1646,16 +1671,12 @@ public void deletePrivateEndpointConnection(String resourceGroupName, String ser if (serviceName == null) { return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listPrivateEndpointConnections(this.client.getEndpoint(), resourceGroupName, serviceName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listPrivateEndpointConnections(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1663,7 +1684,7 @@ public void deletePrivateEndpointConnection(String resourceGroupName, String ser /** * Gets all private end point connections for a specific private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1681,7 +1702,7 @@ public PagedFlux listPrivateEndpointConnectionsA /** * Gets all private end point connections for a specific private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1701,7 +1722,7 @@ private PagedFlux listPrivateEndpointConnections /** * Gets all private end point connections for a specific private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1718,7 +1739,7 @@ public PagedIterable listPrivateEndpointConnecti /** * Gets all private end point connections for a specific private link service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceName The name of the private link service. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1736,13 +1757,12 @@ public PagedIterable listPrivateEndpointConnecti /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> checkPrivateLinkServiceVisibilityWithResponseAsync(String location, @@ -1751,37 +1771,37 @@ public Mono>> checkPrivateLinkServiceVisibilityWithRes return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.checkPrivateLinkServiceVisibility(this.client.getEndpoint(), location, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.checkPrivateLinkServiceVisibility(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), location, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> checkPrivateLinkServiceVisibilityWithResponseAsync(String location, @@ -1790,35 +1810,35 @@ private Mono>> checkPrivateLinkServiceVisibilityWithRe return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.checkPrivateLinkServiceVisibility(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.checkPrivateLinkServiceVisibility(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), location, contentType, accept, parameters, context); } /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, PrivateLinkServiceVisibilityInner> @@ -1834,14 +1854,13 @@ private Mono>> checkPrivateLinkServiceVisibilityWithRe /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 PollerFlux} for polling of response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, PrivateLinkServiceVisibilityInner> @@ -1858,13 +1877,12 @@ private Mono>> checkPrivateLinkServiceVisibilityWithRe /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, PrivateLinkServiceVisibilityInner> @@ -1875,14 +1893,13 @@ private Mono>> checkPrivateLinkServiceVisibilityWithRe /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, PrivateLinkServiceVisibilityInner> @@ -1894,13 +1911,12 @@ private Mono>> checkPrivateLinkServiceVisibilityWithRe /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono checkPrivateLinkServiceVisibilityAsync(String location, @@ -1912,14 +1928,13 @@ public Mono checkPrivateLinkServiceVisibility /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono checkPrivateLinkServiceVisibilityAsync(String location, @@ -1931,12 +1946,12 @@ private Mono checkPrivateLinkServiceVisibilit /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(String location, @@ -1947,13 +1962,13 @@ public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(Strin /** * Checks whether the subscription is visible to private link service. * - * @param location The location of the domain name. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(String location, @@ -1964,32 +1979,31 @@ public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(Strin /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync( - String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters) { + String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); @@ -1997,44 +2011,45 @@ public Mono>> checkPrivateLinkServiceVisibilityByResou parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.checkPrivateLinkServiceVisibilityByResourceGroup(this.client.getEndpoint(), - location, resourceGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + apiVersion, this.client.getSubscriptionId(), resourceGroupName, location, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync( - String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, + String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); @@ -2042,30 +2057,30 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.checkPrivateLinkServiceVisibilityByResourceGroup(this.client.getEndpoint(), location, - resourceGroupName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.checkPrivateLinkServiceVisibilityByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, location, contentType, accept, parameters, context); } /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String location, String resourceGroupName, + beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters) { Mono>> mono = checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync( - location, resourceGroupName, parameters); + resourceGroupName, location, parameters); return this.client.getLroResult(mono, this.client.getHttpPipeline(), PrivateLinkServiceVisibilityInner.class, PrivateLinkServiceVisibilityInner.class, this.client.getContext()); @@ -2074,23 +2089,22 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 PollerFlux} for polling of response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String location, String resourceGroupName, + beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync( - location, resourceGroupName, parameters, context); + resourceGroupName, location, parameters, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), PrivateLinkServiceVisibilityInner.class, PrivateLinkServiceVisibilityInner.class, context); @@ -2099,42 +2113,40 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroup(String location, String resourceGroupName, + beginCheckPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters) { - return this.beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters) + return this.beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters) .getSyncPoller(); } /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service - * call. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroup(String location, String resourceGroupName, + beginCheckPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { return this - .beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters, + .beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters, context) .getSyncPoller(); } @@ -2142,19 +2154,18 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono checkPrivateLinkServiceVisibilityByResourceGroupAsync( - String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters) { - return beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters) + String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters) { + return beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters) .last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2162,57 +2173,56 @@ public Mono checkPrivateLinkServiceVisibility /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono checkPrivateLinkServiceVisibilityByResourceGroupAsync( - String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, + String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { - return beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters, + return beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters, context).last().flatMap(this.client::getLroFinalResultOrError); } /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String location, - String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters) { - return checkPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters).block(); + public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, + String location, CheckPrivateLinkServiceVisibilityRequest parameters) { + return checkPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters).block(); } /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param parameters The request body of CheckPrivateLinkService API call. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. + * @param parameters The request body. * @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 response for the CheckPrivateLinkServiceVisibility API service call. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String location, - String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { - return checkPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters, context) + public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, + String location, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { + return checkPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters, context) .block(); } @@ -2220,7 +2230,7 @@ public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByReso * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -2234,18 +2244,18 @@ public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByReso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAutoApprovedPrivateLinkServices(this.client.getEndpoint(), location, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listAutoApprovedPrivateLinkServices(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), location, 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())); @@ -2255,7 +2265,7 @@ public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByReso * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -2270,19 +2280,19 @@ public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByReso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listAutoApprovedPrivateLinkServices(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listAutoApprovedPrivateLinkServices(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -2291,7 +2301,7 @@ public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByReso * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -2308,7 +2318,7 @@ public PagedFlux listAutoApprovedPrivateLin * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -2327,7 +2337,7 @@ private PagedFlux listAutoApprovedPrivateLi * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -2343,7 +2353,7 @@ public PagedIterable listAutoApprovedPrivat * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. + * @param location The location name. * @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. @@ -2361,8 +2371,8 @@ public PagedIterable listAutoApprovedPrivat * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -2371,28 +2381,28 @@ public PagedIterable listAutoApprovedPrivat */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(String location, String resourceGroupName) { + listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(String resourceGroupName, String location) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil .withContext( context -> service.listAutoApprovedPrivateLinkServicesByResourceGroup(this.client.getEndpoint(), - location, resourceGroupName, apiVersion, this.client.getSubscriptionId(), accept, context)) + apiVersion, this.client.getSubscriptionId(), resourceGroupName, location, 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())); @@ -2402,8 +2412,8 @@ public PagedIterable listAutoApprovedPrivat * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -2413,29 +2423,29 @@ public PagedIterable listAutoApprovedPrivat */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(String location, String resourceGroupName, + listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(String resourceGroupName, String location, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listAutoApprovedPrivateLinkServicesByResourceGroup(this.client.getEndpoint(), location, resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context) + .listAutoApprovedPrivateLinkServicesByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -2444,8 +2454,8 @@ public PagedIterable listAutoApprovedPrivat * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -2454,9 +2464,9 @@ public PagedIterable listAutoApprovedPrivat */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux - listAutoApprovedPrivateLinkServicesByResourceGroupAsync(String location, String resourceGroupName) { + listAutoApprovedPrivateLinkServicesByResourceGroupAsync(String resourceGroupName, String location) { return new PagedFlux<>( - () -> listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(location, resourceGroupName), + () -> listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(resourceGroupName, location), nextLink -> listAutoApprovedPrivateLinkServicesByResourceGroupNextSinglePageAsync(nextLink)); } @@ -2464,8 +2474,8 @@ public PagedIterable listAutoApprovedPrivat * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -2475,9 +2485,9 @@ public PagedIterable listAutoApprovedPrivat */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAutoApprovedPrivateLinkServicesByResourceGroupAsync( - String location, String resourceGroupName, Context context) { + String resourceGroupName, String location, Context context) { return new PagedFlux<>( - () -> listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(location, resourceGroupName, + () -> listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(resourceGroupName, location, context), nextLink -> listAutoApprovedPrivateLinkServicesByResourceGroupNextSinglePageAsync(nextLink, context)); } @@ -2486,8 +2496,8 @@ private PagedFlux listAutoApprovedPrivateLi * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -2496,17 +2506,17 @@ private PagedFlux listAutoApprovedPrivateLi */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable - listAutoApprovedPrivateLinkServicesByResourceGroup(String location, String resourceGroupName) { + listAutoApprovedPrivateLinkServicesByResourceGroup(String resourceGroupName, String location) { return new PagedIterable<>( - listAutoApprovedPrivateLinkServicesByResourceGroupAsync(location, resourceGroupName)); + listAutoApprovedPrivateLinkServicesByResourceGroupAsync(resourceGroupName, location)); } /** * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param location The location name. * @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. @@ -2516,9 +2526,9 @@ private PagedFlux listAutoApprovedPrivateLi */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable - listAutoApprovedPrivateLinkServicesByResourceGroup(String location, String resourceGroupName, Context context) { + listAutoApprovedPrivateLinkServicesByResourceGroup(String resourceGroupName, String location, Context context) { return new PagedIterable<>( - listAutoApprovedPrivateLinkServicesByResourceGroupAsync(location, resourceGroupName, context)); + listAutoApprovedPrivateLinkServicesByResourceGroupAsync(resourceGroupName, location, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java new file mode 100644 index 000000000000..23a64ae87057 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java @@ -0,0 +1,809 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.implementation; + +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.PathParam; +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.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.network.fluent.PublicIPAddressesOperationsClient; +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; +import com.azure.resourcemanager.network.implementation.models.PublicIPAddressListResult; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in PublicIPAddressesOperationsClient. + */ +public final class PublicIPAddressesOperationsClientImpl implements PublicIPAddressesOperationsClient { + /** + * The proxy service used to perform REST calls. + */ + private final PublicIPAddressesOperationsService service; + + /** + * The service client containing this operation class. + */ + private final NetworkManagementClientImpl client; + + /** + * Initializes an instance of PublicIPAddressesOperationsClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + PublicIPAddressesOperationsClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(PublicIPAddressesOperationsService.class, client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for NetworkManagementClientPublicIPAddressesOperations to be used by the + * proxy service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClientPublicIPAddressesOperations") + public interface PublicIPAddressesOperationsService { + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listVirtualMachineScaleSetPublicIPAddresses( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getVirtualMachineScaleSetPublicIPAddress( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @PathParam("virtualmachineIndex") String virtualmachineIndex, + @PathParam("networkInterfaceName") String networkInterfaceName, + @PathParam("ipConfigurationName") String ipConfigurationName, + @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listVirtualMachineScaleSetVMPublicIPAddresses( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @PathParam("virtualmachineIndex") String virtualmachineIndex, + @PathParam("networkInterfaceName") String networkInterfaceName, + @PathParam("ipConfigurationName") String ipConfigurationName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listVirtualMachineScaleSetPublicIPAddressesNext( + @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> listVirtualMachineScaleSetVMPublicIPAddressesNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.listVirtualMachineScaleSetPublicIPAddresses(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, 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())); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetPublicIPAddresses(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName), + nextLink -> listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(nextLink)); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName, Context context) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, context), + nextLink -> listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName) { + return new PagedIterable<>( + listVirtualMachineScaleSetPublicIPAddressesAsync(resourceGroupName, virtualMachineScaleSetName)); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, Context context) { + return new PagedIterable<>( + listVirtualMachineScaleSetPublicIPAddressesAsync(resourceGroupName, virtualMachineScaleSetName, context)); + } + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @param expand Expands referenced resources. + * @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 public IP address in a virtual machine scale set along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + if (publicIpAddressName == null) { + return Mono + .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.getVirtualMachineScaleSetPublicIPAddress(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @param expand Expands referenced resources. + * @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 public IP address in a virtual machine scale set along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + if (publicIpAddressName == null) { + return Mono + .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getVirtualMachineScaleSetPublicIPAddress(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context); + } + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @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 public IP address in a virtual machine scale set on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getVirtualMachineScaleSetPublicIPAddressAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName) { + final String expand = null; + return getVirtualMachineScaleSetPublicIPAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @param expand Expands referenced resources. + * @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 public IP address in a virtual machine scale set along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getVirtualMachineScaleSetPublicIPAddressWithResponse(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName, String expand, Context context) { + return getVirtualMachineScaleSetPublicIPAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, context) + .block(); + } + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @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 public IP address in a virtual machine scale set. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public PublicIpAddressInner getVirtualMachineScaleSetPublicIPAddress(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName) { + final String expand = null; + return getVirtualMachineScaleSetPublicIPAddressWithResponse(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, Context.NONE) + .getValue(); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listVirtualMachineScaleSetVMPublicIPAddresses(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, 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())); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetVMPublicIPAddresses(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, ipConfigurationName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName), + nextLink -> listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(nextLink)); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, Context context) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, context), + nextLink -> listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName) { + return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIPAddressesAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName)); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, Context context) { + return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIPAddressesAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, 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 information about all public IP addresses on a virtual machine scale set level along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listVirtualMachineScaleSetPublicIPAddressesNext(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. + * @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 information about all public IP addresses on a virtual machine scale set level along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetPublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> 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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listVirtualMachineScaleSetVMPublicIPAddressesNext(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. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetVMPublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java index 7e365685bb2c..2c1077b969b6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -36,8 +36,8 @@ import com.azure.resourcemanager.network.fluent.PublicIpAddressesClient; import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; import com.azure.resourcemanager.network.fluent.models.PublicIpDdosProtectionStatusResultInner; +import com.azure.resourcemanager.network.implementation.models.PublicIPAddressListResult; import com.azure.resourcemanager.network.models.DisassociateCloudServicePublicIpRequest; -import com.azure.resourcemanager.network.models.PublicIpAddressListResult; import com.azure.resourcemanager.network.models.ReserveCloudServicePublicIpAddressRequest; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; @@ -77,234 +77,196 @@ public final class PublicIpAddressesClientImpl implements InnerSupportsGet> listCloudServicePublicIpAddresses(@HostParam("$host") String endpoint, + Mono> getCloudServicePublicIPAddress(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("cloudServiceName") String cloudServiceName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listCloudServiceRoleInstancePublicIpAddresses( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("cloudServiceName") String cloudServiceName, @PathParam("roleInstanceName") String roleInstanceName, @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("ipConfigurationName") String ipConfigurationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("ipConfigurationName") String ipConfigurationName, + @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getCloudServicePublicIpAddress(@HostParam("$host") String endpoint, + Mono> listCloudServiceRoleInstancePublicIPAddresses( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("cloudServiceName") String cloudServiceName, @PathParam("roleInstanceName") String roleInstanceName, @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("ipConfigurationName") String ipConfigurationName, - @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("ipConfigurationName") String ipConfigurationName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") PublicIpAddressInner parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("publicIpAddressName") String publicIpAddressName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") PublicIpAddressInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("publicIpAddressName") String publicIpAddressName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}") + @ExpectedResponses({ 200, 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("publicIpAddressName") String publicIpAddressName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> ddosProtectionStatus(@HostParam("$host") String endpoint, + Mono>> ddosProtectionStatus(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("publicIpAddressName") String publicIpAddressName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/reserveCloudServicePublicIpAddress") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> reserveCloudServicePublicIpAddress(@HostParam("$host") String endpoint, + Mono>> reserveCloudServicePublicIpAddress(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("publicIpAddressName") String publicIpAddressName, - @BodyParam("application/json") ReserveCloudServicePublicIpAddressRequest parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ReserveCloudServicePublicIpAddressRequest parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/disassociateCloudServiceReservedPublicIp") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> disassociateCloudServiceReservedPublicIp(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + Mono>> disassociateCloudServiceReservedPublicIp( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("publicIpAddressName") String publicIpAddressName, - @BodyParam("application/json") DisassociateCloudServicePublicIpRequest parameters, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetPublicIpAddresses( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetVMPublicIpAddresses( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @PathParam("virtualmachineIndex") String virtualmachineIndex, - @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("ipConfigurationName") String ipConfigurationName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getVirtualMachineScaleSetPublicIpAddress( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @PathParam("virtualmachineIndex") String virtualmachineIndex, - @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("ipConfigurationName") String ipConfigurationName, - @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listCloudServicePublicIpAddressesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") DisassociateCloudServicePublicIpRequest parameters, Context context); @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/publicipaddresses") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listCloudServiceRoleInstancePublicIpAddressesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); + Mono> listCloudServicePublicIPAddresses( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("cloudServiceName") String cloudServiceName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listCloudServiceRoleInstancePublicIPAddressesNext( + @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> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @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> listVirtualMachineScaleSetPublicIpAddressesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listAllNext( + @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> listVirtualMachineScaleSetVMPublicIpAddressesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listCloudServicePublicIPAddressesNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Gets information about all public IP addresses on a cloud service level. + * Get the specified public IP address in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. + * @param publicIpAddressName The name of the public IP Address. + * @param expand Expands referenced resources. * @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 information about all public IP addresses on a cloud service level along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return the specified public IP address in a cloud service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listCloudServicePublicIpAddressesSinglePageAsync(String resourceGroupName, String cloudServiceName) { + public Mono> getCloudServicePublicIPAddressWithResponseAsync( + String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName, String expand) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -313,39 +275,60 @@ Mono> listVirtualMachineScaleSetVMPublicIpAd return Mono .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (roleInstanceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter roleInstanceName is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + if (publicIpAddressName == null) { + return Mono + .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listCloudServicePublicIpAddresses(this.client.getEndpoint(), - resourceGroupName, cloudServiceName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.getCloudServicePublicIPAddress(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets information about all public IP addresses on a cloud service level. + * Get the specified public IP address in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. + * @param publicIpAddressName The name of the public IP Address. + * @param expand Expands referenced resources. * @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 information about all public IP addresses on a cloud service level along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return the specified public IP address in a cloud service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCloudServicePublicIpAddressesSinglePageAsync( - String resourceGroupName, String cloudServiceName, Context context) { + private Mono> getCloudServicePublicIPAddressWithResponseAsync( + String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName, String expand, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -354,103 +337,108 @@ private Mono> listCloudServicePublicIpAddres return Mono .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (roleInstanceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter roleInstanceName is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + if (publicIpAddressName == null) { + return Mono + .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listCloudServicePublicIpAddresses(this.client.getEndpoint(), resourceGroupName, cloudServiceName, - apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.getCloudServicePublicIPAddress(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context); } /** - * Gets information about all public IP addresses on a cloud service level. + * Get the specified public IP address in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. + * @param publicIpAddressName The name of the public IP Address. * @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 information about all public IP addresses on a cloud service level as paginated response with - * {@link PagedFlux}. + * @return the specified public IP address in a cloud service on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listCloudServicePublicIpAddressesAsync(String resourceGroupName, - String cloudServiceName) { - return new PagedFlux<>( - () -> listCloudServicePublicIpAddressesSinglePageAsync(resourceGroupName, cloudServiceName), - nextLink -> listCloudServicePublicIpAddressesNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCloudServicePublicIPAddressAsync(String resourceGroupName, + String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, + String publicIpAddressName) { + final String expand = null; + return getCloudServicePublicIPAddressWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, ipConfigurationName, publicIpAddressName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets information about all public IP addresses on a cloud service level. + * Get the specified public IP address in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. + * @param publicIpAddressName The name of the public IP Address. + * @param expand Expands referenced resources. * @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 information about all public IP addresses on a cloud service level as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listCloudServicePublicIpAddressesAsync(String resourceGroupName, - String cloudServiceName, Context context) { - return new PagedFlux<>( - () -> listCloudServicePublicIpAddressesSinglePageAsync(resourceGroupName, cloudServiceName, context), - nextLink -> listCloudServicePublicIpAddressesNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets information about all public IP addresses on a cloud service level. - * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @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 information about all public IP addresses on a cloud service level as paginated response with - * {@link PagedIterable}. + * @return the specified public IP address in a cloud service along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServicePublicIpAddresses(String resourceGroupName, - String cloudServiceName) { - return new PagedIterable<>(listCloudServicePublicIpAddressesAsync(resourceGroupName, cloudServiceName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCloudServicePublicIPAddressWithResponse(String resourceGroupName, + String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, + String publicIpAddressName, String expand, Context context) { + return getCloudServicePublicIPAddressWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, context).block(); } /** - * Gets information about all public IP addresses on a cloud service level. + * Get the specified public IP address in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. - * @param context The context to associate with this operation. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. + * @param publicIpAddressName The name of the public IP Address. * @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 information about all public IP addresses on a cloud service level as paginated response with - * {@link PagedIterable}. + * @return the specified public IP address in a cloud service. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServicePublicIpAddresses(String resourceGroupName, - String cloudServiceName, Context context) { - return new PagedIterable<>( - listCloudServicePublicIpAddressesAsync(resourceGroupName, cloudServiceName, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public PublicIpAddressInner getCloudServicePublicIPAddress(String resourceGroupName, String cloudServiceName, + String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName) { + final String expand = null; + return getCloudServicePublicIPAddressWithResponse(resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, Context.NONE).getValue(); } /** * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. * @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. @@ -458,13 +446,17 @@ public PagedIterable listCloudServicePublicIpAddresses(Str * with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCloudServiceRoleInstancePublicIpAddressesSinglePageAsync( + private Mono> listCloudServiceRoleInstancePublicIPAddressesSinglePageAsync( String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -485,16 +477,12 @@ private Mono> listCloudServiceRoleInstancePu return Mono .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listCloudServiceRoleInstancePublicIpAddresses(this.client.getEndpoint(), - resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listCloudServiceRoleInstancePublicIPAddresses(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, ipConfigurationName, 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())); @@ -503,11 +491,11 @@ private Mono> listCloudServiceRoleInstancePu /** * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. * @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. @@ -516,13 +504,17 @@ private Mono> listCloudServiceRoleInstancePu * with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCloudServiceRoleInstancePublicIpAddressesSinglePageAsync( + private Mono> listCloudServiceRoleInstancePublicIPAddressesSinglePageAsync( String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -543,17 +535,13 @@ private Mono> listCloudServiceRoleInstancePu return Mono .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listCloudServiceRoleInstancePublicIpAddresses(this.client.getEndpoint(), resourceGroupName, - cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listCloudServiceRoleInstancePublicIPAddresses(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, + networkInterfaceName, ipConfigurationName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -561,11 +549,11 @@ private Mono> listCloudServiceRoleInstancePu /** * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. * @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. @@ -573,22 +561,22 @@ private Mono> listCloudServiceRoleInstancePu * paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listCloudServiceRoleInstancePublicIpAddressesAsync(String resourceGroupName, + public PagedFlux listCloudServiceRoleInstancePublicIPAddressesAsync(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName) { return new PagedFlux<>( - () -> listCloudServiceRoleInstancePublicIpAddressesSinglePageAsync(resourceGroupName, cloudServiceName, + () -> listCloudServiceRoleInstancePublicIPAddressesSinglePageAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName), - nextLink -> listCloudServiceRoleInstancePublicIpAddressesNextSinglePageAsync(nextLink)); + nextLink -> listCloudServiceRoleInstancePublicIPAddressesNextSinglePageAsync(nextLink)); } /** * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. * @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. @@ -597,23 +585,23 @@ public PagedFlux listCloudServiceRoleInstancePublicIpAddre * paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listCloudServiceRoleInstancePublicIpAddressesAsync(String resourceGroupName, + private PagedFlux listCloudServiceRoleInstancePublicIPAddressesAsync(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, Context context) { return new PagedFlux<>( - () -> listCloudServiceRoleInstancePublicIpAddressesSinglePageAsync(resourceGroupName, cloudServiceName, + () -> listCloudServiceRoleInstancePublicIPAddressesSinglePageAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, context), - nextLink -> listCloudServiceRoleInstancePublicIpAddressesNextSinglePageAsync(nextLink, context)); + nextLink -> listCloudServiceRoleInstancePublicIPAddressesNextSinglePageAsync(nextLink, context)); } /** * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. * @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. @@ -621,20 +609,20 @@ private PagedFlux listCloudServiceRoleInstancePublicIpAddr * paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServiceRoleInstancePublicIpAddresses(String resourceGroupName, + public PagedIterable listCloudServiceRoleInstancePublicIPAddresses(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName) { - return new PagedIterable<>(listCloudServiceRoleInstancePublicIpAddressesAsync(resourceGroupName, + return new PagedIterable<>(listCloudServiceRoleInstancePublicIPAddressesAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName)); } /** * Gets information about all public IP addresses in a role instance IP configuration in a cloud service. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. + * @param roleInstanceName The role instance name. + * @param networkInterfaceName The name of the network interface. + * @param ipConfigurationName The name of the IP configuration. * @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. @@ -643,222 +631,164 @@ public PagedIterable listCloudServiceRoleInstancePublicIpA * paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServiceRoleInstancePublicIpAddresses(String resourceGroupName, + public PagedIterable listCloudServiceRoleInstancePublicIPAddresses(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, Context context) { - return new PagedIterable<>(listCloudServiceRoleInstancePublicIpAddressesAsync(resourceGroupName, + return new PagedIterable<>(listCloudServiceRoleInstancePublicIPAddressesAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, context)); } /** - * Get the specified public IP address in a cloud service. + * Gets the specified public IP address in a specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The role instance name. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. * @param expand Expands referenced resources. * @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 public IP address in a cloud service along with {@link Response} on successful completion - * of {@link Mono}. + * @return the specified public IP address in a specified resource group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getCloudServicePublicIpAddressWithResponseAsync( - String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName, String expand) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String publicIpAddressName, String expand) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (cloudServiceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); - } - if (roleInstanceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter roleInstanceName is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } if (publicIpAddressName == null) { return Mono .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getCloudServicePublicIpAddress(this.client.getEndpoint(), resourceGroupName, - cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, publicIpAddressName, - apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Get the specified public IP address in a cloud service. + * Gets the specified public IP address in a specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The role instance name. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. * @param expand Expands referenced resources. * @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 public IP address in a cloud service along with {@link Response} on successful completion - * of {@link Mono}. + * @return the specified public IP address in a specified resource group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getCloudServicePublicIpAddressWithResponseAsync( - String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName, String expand, Context context) { + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String publicIpAddressName, String expand, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (cloudServiceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); - } - if (roleInstanceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter roleInstanceName is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } if (publicIpAddressName == null) { return Mono .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getCloudServicePublicIpAddress(this.client.getEndpoint(), resourceGroupName, cloudServiceName, - roleInstanceName, networkInterfaceName, ipConfigurationName, publicIpAddressName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, publicIpAddressName, expand, accept, context); } /** - * Get the specified public IP address in a cloud service. + * Gets the specified public IP address in a specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The role instance name. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. * @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 public IP address in a cloud service on successful completion of {@link Mono}. + * @return the specified public IP address in a specified resource group on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getCloudServicePublicIpAddressAsync(String resourceGroupName, - String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, - String publicIpAddressName) { + public Mono getByResourceGroupAsync(String resourceGroupName, String publicIpAddressName) { final String expand = null; - return getCloudServicePublicIpAddressWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, - networkInterfaceName, ipConfigurationName, publicIpAddressName, expand) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + return getByResourceGroupWithResponseAsync(resourceGroupName, publicIpAddressName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get the specified public IP address in a cloud service. + * Gets the specified public IP address in a specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The role instance name. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. * @param expand Expands referenced resources. * @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 public IP address in a cloud service along with {@link Response}. + * @return the specified public IP address in a specified resource group along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCloudServicePublicIpAddressWithResponse(String resourceGroupName, - String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, + public Response getByResourceGroupWithResponse(String resourceGroupName, String publicIpAddressName, String expand, Context context) { - return getCloudServicePublicIpAddressWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, - networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, context).block(); + return getByResourceGroupWithResponseAsync(resourceGroupName, publicIpAddressName, expand, context).block(); } /** - * Get the specified public IP address in a cloud service. + * Gets the specified public IP address in a specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The role instance name. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. * @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 public IP address in a cloud service. + * @return the specified public IP address in a specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner getCloudServicePublicIpAddress(String resourceGroupName, String cloudServiceName, - String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName) { + public PublicIpAddressInner getByResourceGroup(String resourceGroupName, String publicIpAddressName) { final String expand = null; - return getCloudServicePublicIpAddressWithResponse(resourceGroupName, cloudServiceName, roleInstanceName, - networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, Context.NONE).getValue(); + return getByResourceGroupWithResponse(resourceGroupName, publicIpAddressName, expand, Context.NONE).getValue(); } /** - * Deletes the specified public IP address. + * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to the create or update public IP address 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 Response} on successful completion of {@link Mono}. + * @return public IP address resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String publicIpAddressName) { + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String publicIpAddressName, PublicIpAddressInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -867,36 +797,44 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, publicIpAddressName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified public IP address. + * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to the create or update public IP address operation. * @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 Response} on successful completion of {@link Mono}. + * @return public IP address resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String publicIpAddressName, Context context) { + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String publicIpAddressName, PublicIpAddressInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -905,168 +843,191 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, publicIpAddressName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, publicIpAddressName, contentType, accept, parameters, context); } /** - * Deletes the specified public IP address. + * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to the create or update public IP address 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 PollerFlux} for polling of long-running operation. + * @return the {@link PollerFlux} for polling of public IP address resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpAddressName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, publicIpAddressName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + public PollerFlux, PublicIpAddressInner> beginCreateOrUpdateAsync( + String resourceGroupName, String publicIpAddressName, PublicIpAddressInner parameters) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, publicIpAddressName, parameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + PublicIpAddressInner.class, PublicIpAddressInner.class, this.client.getContext()); } /** - * Deletes the specified public IP address. + * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to the create or update public IP address operation. * @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 PollerFlux} for polling of long-running operation. + * @return the {@link PollerFlux} for polling of public IP address resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpAddressName, - Context context) { + private PollerFlux, PublicIpAddressInner> beginCreateOrUpdateAsync( + String resourceGroupName, String publicIpAddressName, PublicIpAddressInner parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono - = deleteWithResponseAsync(resourceGroupName, publicIpAddressName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + = createOrUpdateWithResponseAsync(resourceGroupName, publicIpAddressName, parameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + PublicIpAddressInner.class, PublicIpAddressInner.class, context); } /** - * Deletes the specified public IP address. + * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to the create or update public IP address 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. + * @return the {@link SyncPoller} for polling of public IP address resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String publicIpAddressName) { - return this.beginDeleteAsync(resourceGroupName, publicIpAddressName).getSyncPoller(); + public SyncPoller, PublicIpAddressInner> + beginCreateOrUpdate(String resourceGroupName, String publicIpAddressName, PublicIpAddressInner parameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters).getSyncPoller(); } /** - * Deletes the specified public IP address. + * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to the create or update public IP address operation. * @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. + * @return the {@link SyncPoller} for polling of public IP address resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String publicIpAddressName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, publicIpAddressName, context).getSyncPoller(); + public SyncPoller, PublicIpAddressInner> beginCreateOrUpdate( + String resourceGroupName, String publicIpAddressName, PublicIpAddressInner parameters, Context context) { + return this.beginCreateOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters, context) + .getSyncPoller(); } /** - * Deletes the specified public IP address. + * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to the create or update public IP address 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 A {@link Mono} that completes when a successful response is received. + * @return public IP address resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String publicIpAddressName) { - return beginDeleteAsync(resourceGroupName, publicIpAddressName).last() + public Mono createOrUpdateAsync(String resourceGroupName, String publicIpAddressName, + PublicIpAddressInner parameters) { + return beginCreateOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Deletes the specified public IP address. + * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to the create or update public IP address operation. * @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 A {@link Mono} that completes when a successful response is received. + * @return public IP address resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String publicIpAddressName, Context context) { - return beginDeleteAsync(resourceGroupName, publicIpAddressName, context).last() + private Mono createOrUpdateAsync(String resourceGroupName, String publicIpAddressName, + PublicIpAddressInner parameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Deletes the specified public IP address. + * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to the create or update public IP address 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 public IP address resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String publicIpAddressName) { - deleteAsync(resourceGroupName, publicIpAddressName).block(); + public PublicIpAddressInner createOrUpdate(String resourceGroupName, String publicIpAddressName, + PublicIpAddressInner parameters) { + return createOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters).block(); } /** - * Deletes the specified public IP address. + * Creates or updates a static or dynamic public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to the create or update public IP address operation. * @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 public IP address resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String publicIpAddressName, Context context) { - deleteAsync(resourceGroupName, publicIpAddressName, context).block(); + public PublicIpAddressInner createOrUpdate(String resourceGroupName, String publicIpAddressName, + PublicIpAddressInner parameters, Context context) { + return createOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters, context).block(); } /** - * Gets the specified public IP address in a specified resource group. + * Updates public IP address tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to update public IP address tags. * @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 public IP address in a specified resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return public IP address resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String publicIpAddressName, String expand) { + public Mono> updateTagsWithResponseAsync(String resourceGroupName, + String publicIpAddressName, TagsObject parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1075,38 +1036,44 @@ public Mono> getByResourceGroupWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - publicIpAddressName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, publicIpAddressName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the specified public IP address in a specified resource group. + * Updates public IP address tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to update public IP address tags. * @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 public IP address in a specified resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return public IP address resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String publicIpAddressName, String expand, Context context) { + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String publicIpAddressName, TagsObject parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1115,86 +1082,93 @@ private Mono> getByResourceGroupWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, publicIpAddressName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, publicIpAddressName, contentType, accept, parameters, context); } /** - * Gets the specified public IP address in a specified resource group. + * Updates public IP address tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to update public IP address tags. * @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 public IP address in a specified resource group on successful completion of {@link Mono}. + * @return public IP address resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String publicIpAddressName) { - final String expand = null; - return getByResourceGroupWithResponseAsync(resourceGroupName, publicIpAddressName, expand) + public Mono updateTagsAsync(String resourceGroupName, String publicIpAddressName, + TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, publicIpAddressName, parameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets the specified public IP address in a specified resource group. + * Updates public IP address tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param expand Expands referenced resources. + * @param parameters Parameters supplied to update public IP address tags. * @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 public IP address in a specified resource group along with {@link Response}. + * @return public IP address resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String publicIpAddressName, String expand, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, publicIpAddressName, expand, context).block(); + public Response updateTagsWithResponse(String resourceGroupName, String publicIpAddressName, + TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, publicIpAddressName, parameters, context).block(); } /** - * Gets the specified public IP address in a specified resource group. + * Updates public IP address tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameters supplied to update public IP address tags. * @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 public IP address in a specified resource group. + * @return public IP address resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner getByResourceGroup(String resourceGroupName, String publicIpAddressName) { - final String expand = null; - return getByResourceGroupWithResponse(resourceGroupName, publicIpAddressName, expand, Context.NONE).getValue(); + public PublicIpAddressInner updateTags(String resourceGroupName, String publicIpAddressName, + TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, publicIpAddressName, parameters, Context.NONE).getValue(); } /** - * Creates or updates a static or dynamic public IP address. + * Deletes the specified public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to the create or update public IP address 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 public IP address resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String publicIpAddressName, PublicIpAddressInner parameters) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String publicIpAddressName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1203,42 +1177,35 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - publicIpAddressName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Creates or updates a static or dynamic public IP address. + * Deletes the specified public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to the create or update public IP address operation. * @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 public IP address resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String publicIpAddressName, PublicIpAddressInner parameters, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String publicIpAddressName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1247,321 +1214,156 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, publicIpAddressName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + publicIpAddressName, context); } /** - * Creates or updates a static or dynamic public IP address. + * Deletes the specified public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to the create or update public IP address 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 PollerFlux} for polling of public IP address resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, PublicIpAddressInner> beginCreateOrUpdateAsync( - String resourceGroupName, String publicIpAddressName, PublicIpAddressInner parameters) { - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, publicIpAddressName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - PublicIpAddressInner.class, PublicIpAddressInner.class, this.client.getContext()); + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpAddressName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, publicIpAddressName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Creates or updates a static or dynamic public IP address. + * Deletes the specified public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to the create or update public IP address operation. * @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 PollerFlux} for polling of public IP address resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, PublicIpAddressInner> beginCreateOrUpdateAsync( - String resourceGroupName, String publicIpAddressName, PublicIpAddressInner parameters, Context context) { + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpAddressName, + Context context) { context = this.client.mergeContext(context); Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, publicIpAddressName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - PublicIpAddressInner.class, PublicIpAddressInner.class, context); - } - - /** - * Creates or updates a static or dynamic public IP address. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to the create or update public IP address 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 public IP address resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, PublicIpAddressInner> - beginCreateOrUpdate(String resourceGroupName, String publicIpAddressName, PublicIpAddressInner parameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters).getSyncPoller(); - } - - /** - * Creates or updates a static or dynamic public IP address. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to the create or update public IP address operation. - * @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 public IP address resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, PublicIpAddressInner> beginCreateOrUpdate( - String resourceGroupName, String publicIpAddressName, PublicIpAddressInner parameters, Context context) { - return this.beginCreateOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters, context) - .getSyncPoller(); - } - - /** - * Creates or updates a static or dynamic public IP address. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to the create or update public IP address 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 public IP address resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String publicIpAddressName, - PublicIpAddressInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Creates or updates a static or dynamic public IP address. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to the create or update public IP address operation. - * @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 public IP address resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String publicIpAddressName, - PublicIpAddressInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Creates or updates a static or dynamic public IP address. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to the create or update public IP address 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 public IP address resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner createOrUpdate(String resourceGroupName, String publicIpAddressName, - PublicIpAddressInner parameters) { - return createOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters).block(); + = deleteWithResponseAsync(resourceGroupName, publicIpAddressName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Creates or updates a static or dynamic public IP address. + * Deletes the specified public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to the create or update public IP address operation. - * @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 public IP address resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner createOrUpdate(String resourceGroupName, String publicIpAddressName, - PublicIpAddressInner parameters, Context context) { - return createOrUpdateAsync(resourceGroupName, publicIpAddressName, parameters, context).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String publicIpAddressName) { + return this.beginDeleteAsync(resourceGroupName, publicIpAddressName).getSyncPoller(); } /** - * Updates public IP address tags. + * Deletes the specified public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to update public IP address tags. + * @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 public IP address resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateTagsWithResponseAsync(String resourceGroupName, - String publicIpAddressName, TagsObject parameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (publicIpAddressName == null) { - return Mono - .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - publicIpAddressName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String publicIpAddressName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, publicIpAddressName, context).getSyncPoller(); } /** - * Updates public IP address tags. + * Deletes the specified public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to update public IP address tags. - * @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 public IP address resource along with {@link Response} on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String publicIpAddressName, TagsObject parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (publicIpAddressName == null) { - return Mono - .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, publicIpAddressName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + public Mono deleteAsync(String resourceGroupName, String publicIpAddressName) { + return beginDeleteAsync(resourceGroupName, publicIpAddressName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates public IP address tags. + * Deletes the specified public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to update public IP address tags. + * @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 public IP address resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String publicIpAddressName, - TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, publicIpAddressName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + private Mono deleteAsync(String resourceGroupName, String publicIpAddressName, Context context) { + return beginDeleteAsync(resourceGroupName, publicIpAddressName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates public IP address tags. + * Deletes the specified public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to update public IP address tags. - * @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 public IP address resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, String publicIpAddressName, - TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, publicIpAddressName, parameters, context).block(); + public void delete(String resourceGroupName, String publicIpAddressName) { + deleteAsync(resourceGroupName, publicIpAddressName).block(); } /** - * Updates public IP address tags. + * Deletes the specified public IP address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameters supplied to update public IP address tags. + * @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 public IP address resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner updateTags(String resourceGroupName, String publicIpAddressName, - TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, publicIpAddressName, parameters, Context.NONE).getValue(); + public void delete(String resourceGroupName, String publicIpAddressName, Context context) { + deleteAsync(resourceGroupName, publicIpAddressName, context).block(); } /** - * Gets all the public IP addresses in a subscription. + * Gets all public IP addresses in a 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 all the public IP addresses in a subscription along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return all public IP addresses in a resource group along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1570,28 +1372,34 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Gets all the public IP addresses in a subscription. + * Gets all public IP addresses in a 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 all the public IP addresses in a subscription along with {@link PagedResponse} on successful completion - * of {@link Mono}. + * @return all public IP addresses in a resource group along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1600,87 +1408,94 @@ private Mono> listSinglePageAsync(Context co return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all the public IP addresses in a subscription. + * Gets all public IP addresses in a 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 all the public IP addresses in a subscription as paginated response with {@link PagedFlux}. + * @return all public IP addresses in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets all the public IP addresses in a subscription. + * Gets all public IP addresses in a 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 all the public IP addresses in a subscription as paginated response with {@link PagedFlux}. + * @return all public IP addresses in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets all the public IP addresses in a subscription. + * Gets all public IP addresses in a 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 all the public IP addresses in a subscription as paginated response with {@link PagedIterable}. + * @return all public IP addresses in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Gets all the public IP addresses in a subscription. + * Gets all public IP addresses in a 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 all the public IP addresses in a subscription as paginated response with {@link PagedIterable}. + * @return all public IP addresses in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Gets all public IP addresses in a resource group. + * Gets all the public IP addresses in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all public IP addresses in a resource group along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return all the public IP addresses in a subscription along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1688,35 +1503,29 @@ private Mono> listByResourceGroupSinglePageA final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Gets all public IP addresses in a resource group. + * Gets all the public IP addresses in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all public IP addresses in a resource group along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return all the public IP addresses in a subscription along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1724,77 +1533,68 @@ private Mono> listByResourceGroupSinglePageA final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all public IP addresses in a resource group. + * Gets all the public IP addresses in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all public IP addresses in a resource group as paginated response with {@link PagedFlux}. + * @return all the public IP addresses in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); } /** - * Gets all public IP addresses in a resource group. + * Gets all the public IP addresses in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all public IP addresses in a resource group as paginated response with {@link PagedFlux}. + * @return all the public IP addresses in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); } /** - * Gets all public IP addresses in a resource group. + * Gets all the public IP addresses in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all public IP addresses in a resource group as paginated response with {@link PagedIterable}. + * @return all the public IP addresses in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + public PagedIterable list() { + return new PagedIterable<>(listAsync()); } /** - * Gets all public IP addresses in a resource group. + * Gets all the public IP addresses in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all public IP addresses in a resource group as paginated response with {@link PagedIterable}. + * @return all the public IP addresses in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1809,6 +1609,10 @@ public Mono>> ddosProtectionStatusWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1817,22 +1621,18 @@ public Mono>> ddosProtectionStatusWithResponseAsync(St return Mono .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.ddosProtectionStatus(this.client.getEndpoint(), resourceGroupName, - publicIpAddressName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.ddosProtectionStatus(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1848,6 +1648,10 @@ private Mono>> ddosProtectionStatusWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1856,21 +1660,17 @@ private Mono>> ddosProtectionStatusWithResponseAsync(S return Mono .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.ddosProtectionStatus(this.client.getEndpoint(), resourceGroupName, publicIpAddressName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.ddosProtectionStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, publicIpAddressName, accept, context); } /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1891,7 +1691,7 @@ private Mono>> ddosProtectionStatusWithResponseAsync(S /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1914,7 +1714,7 @@ private Mono>> ddosProtectionStatusWithResponseAsync(S /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1930,7 +1730,7 @@ private Mono>> ddosProtectionStatusWithResponseAsync(S /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1947,7 +1747,7 @@ private Mono>> ddosProtectionStatusWithResponseAsync(S /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1964,7 +1764,7 @@ public Mono ddosProtectionStatusAsync(S /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1982,7 +1782,7 @@ private Mono ddosProtectionStatusAsync( /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1998,7 +1798,7 @@ public PublicIpDdosProtectionStatusResultInner ddosProtectionStatus(String resou /** * Gets the Ddos Protection Status of a Public IP Address. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2016,7 +1816,7 @@ public PublicIpDdosProtectionStatusResultInner ddosProtectionStatus(String resou * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2050,10 +1850,12 @@ public Mono>> reserveCloudServicePublicIpAddressWithRe parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.reserveCloudServicePublicIpAddress(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, parameters, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -2061,7 +1863,7 @@ public Mono>> reserveCloudServicePublicIpAddressWithRe * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2097,17 +1899,19 @@ private Mono>> reserveCloudServicePublicIpAddressWithR parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.reserveCloudServicePublicIpAddress(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, parameters, accept, context); + this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, contentType, accept, parameters, + context); } /** * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2130,7 +1934,7 @@ private Mono>> reserveCloudServicePublicIpAddressWithR * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2155,7 +1959,7 @@ private Mono>> reserveCloudServicePublicIpAddressWithR * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2175,7 +1979,7 @@ public SyncPoller, PublicIpAddressInner> beginR * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2198,7 +2002,7 @@ public SyncPoller, PublicIpAddressInner> beginR * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2218,7 +2022,7 @@ public Mono reserveCloudServicePublicIpAddressAsync(String * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2240,7 +2044,7 @@ private Mono reserveCloudServicePublicIpAddressAsync(Strin * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2259,7 +2063,7 @@ public PublicIpAddressInner reserveCloudServicePublicIpAddress(String resourceGr * Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is * requested, reverts the allocation method to Dynamic. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2280,7 +2084,7 @@ public PublicIpAddressInner reserveCloudServicePublicIpAddress(String resourceGr * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2314,11 +2118,12 @@ public Mono>> disassociateCloudServiceReservedPublicIp parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.disassociateCloudServiceReservedPublicIp(this.client.getEndpoint(), - apiVersion, this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, parameters, accept, - context)) + apiVersion, this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, contentType, + accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -2326,7 +2131,7 @@ public Mono>> disassociateCloudServiceReservedPublicIp * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2362,17 +2167,19 @@ private Mono>> disassociateCloudServiceReservedPublicI parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.disassociateCloudServiceReservedPublicIp(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, parameters, accept, context); + this.client.getSubscriptionId(), resourceGroupName, publicIpAddressName, contentType, accept, parameters, + context); } /** * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2395,7 +2202,7 @@ private Mono>> disassociateCloudServiceReservedPublicI * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2420,7 +2227,7 @@ private Mono>> disassociateCloudServiceReservedPublicI * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2442,7 +2249,7 @@ private Mono>> disassociateCloudServiceReservedPublicI * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2466,7 +2273,7 @@ private Mono>> disassociateCloudServiceReservedPublicI * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2487,7 +2294,7 @@ public Mono disassociateCloudServiceReservedPublicIpAsync( * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. @@ -2508,670 +2315,197 @@ private Mono disassociateCloudServiceReservedPublicIpAsync * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. - * @param publicIpAddressName The name of the public IP address. - * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP - * Address. - * @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 public IP address resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner disassociateCloudServiceReservedPublicIp(String resourceGroupName, - String publicIpAddressName, DisassociateCloudServicePublicIpRequest parameters) { - return disassociateCloudServiceReservedPublicIpAsync(resourceGroupName, publicIpAddressName, parameters) - .block(); - } - - /** - * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same - * Cloud Service frontend. - * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpAddressName The name of the public IP address. * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP * Address. - * @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 public IP address resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner disassociateCloudServiceReservedPublicIp(String resourceGroupName, - String publicIpAddressName, DisassociateCloudServicePublicIpRequest parameters, Context context) { - return disassociateCloudServiceReservedPublicIpAsync(resourceGroupName, publicIpAddressName, parameters, - context).block(); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetPublicIpAddressesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetPublicIpAddresses(this.client.getEndpoint(), - resourceGroupName, virtualMachineScaleSetName, apiVersion, 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())); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetPublicIpAddressesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetPublicIpAddresses(this.client.getEndpoint(), resourceGroupName, - virtualMachineScaleSetName, apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetPublicIpAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetPublicIpAddressesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName), - nextLink -> listVirtualMachineScaleSetPublicIpAddressesNextSinglePageAsync(nextLink)); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listVirtualMachineScaleSetPublicIpAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName, Context context) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetPublicIpAddressesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, context), - nextLink -> listVirtualMachineScaleSetPublicIpAddressesNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetPublicIpAddresses(String resourceGroupName, - String virtualMachineScaleSetName) { - return new PagedIterable<>( - listVirtualMachineScaleSetPublicIpAddressesAsync(resourceGroupName, virtualMachineScaleSetName)); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetPublicIpAddresses(String resourceGroupName, - String virtualMachineScaleSetName, Context context) { - return new PagedIterable<>( - listVirtualMachineScaleSetPublicIpAddressesAsync(resourceGroupName, virtualMachineScaleSetName, context)); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetVMPublicIpAddressesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetVMPublicIpAddresses(this.client.getEndpoint(), - resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, - ipConfigurationName, apiVersion, 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())); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetVMPublicIpAddressesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetVMPublicIpAddresses(this.client.getEndpoint(), resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetVMPublicIpAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetVMPublicIpAddressesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName), - nextLink -> listVirtualMachineScaleSetVMPublicIpAddressesNextSinglePageAsync(nextLink)); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listVirtualMachineScaleSetVMPublicIpAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, Context context) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetVMPublicIpAddressesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, context), - nextLink -> listVirtualMachineScaleSetVMPublicIpAddressesNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetVMPublicIpAddresses(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName) { - return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIpAddressesAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName)); + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public PublicIpAddressInner disassociateCloudServiceReservedPublicIp(String resourceGroupName, + String publicIpAddressName, DisassociateCloudServicePublicIpRequest parameters) { + return disassociateCloudServiceReservedPublicIpAsync(resourceGroupName, publicIpAddressName, parameters) + .block(); } /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. + * Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same + * Cloud Service frontend. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The network interface name. - * @param ipConfigurationName The IP configuration name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpAddressName The name of the public IP address. + * @param parameters Parameter that define which Public IP Address should be associated in place of given Public IP + * Address. * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedIterable}. + * @return public IP address resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetVMPublicIpAddresses(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, Context context) { - return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIpAddressesAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public PublicIpAddressInner disassociateCloudServiceReservedPublicIp(String resourceGroupName, + String publicIpAddressName, DisassociateCloudServicePublicIpRequest parameters, Context context) { + return disassociateCloudServiceReservedPublicIpAsync(resourceGroupName, publicIpAddressName, parameters, + context).block(); } /** - * Get the specified public IP address in a virtual machine scale set. + * Gets information about all public IP addresses on a cloud service level. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. - * @param expand Expands referenced resources. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 public IP address in a virtual machine scale set along with {@link Response} on successful - * completion of {@link Mono}. + * @return information about all public IP addresses on a cloud service level along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getVirtualMachineScaleSetPublicIpAddressWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand) { + private Mono> + listCloudServicePublicIPAddressesSinglePageAsync(String resourceGroupName, String cloudServiceName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - if (publicIpAddressName == null) { + if (cloudServiceName == null) { return Mono - .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); } - final String apiVersion = "2018-10-01"; + final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getVirtualMachineScaleSetPublicIpAddress(this.client.getEndpoint(), - resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, - ipConfigurationName, publicIpAddressName, apiVersion, this.client.getSubscriptionId(), expand, accept, - context)) + .withContext(context -> service.listCloudServicePublicIPAddresses(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, 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 specified public IP address in a virtual machine scale set. + * Gets information about all public IP addresses on a cloud service level. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. - * @param expand Expands referenced resources. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 public IP address in a virtual machine scale set along with {@link Response} on successful - * completion of {@link Mono}. + * @return information about all public IP addresses on a cloud service level along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getVirtualMachineScaleSetPublicIpAddressWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, - Context context) { + private Mono> listCloudServicePublicIPAddressesSinglePageAsync( + String resourceGroupName, String cloudServiceName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - if (publicIpAddressName == null) { + if (cloudServiceName == null) { return Mono - .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + .error(new IllegalArgumentException("Parameter cloudServiceName is required and cannot be null.")); } - final String apiVersion = "2018-10-01"; + final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getVirtualMachineScaleSetPublicIpAddress(this.client.getEndpoint(), resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, - publicIpAddressName, apiVersion, this.client.getSubscriptionId(), expand, accept, context); + return service + .listCloudServicePublicIPAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, cloudServiceName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Get the specified public IP address in a virtual machine scale set. + * Gets information about all public IP addresses on a cloud service level. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 public IP address in a virtual machine scale set on successful completion of {@link Mono}. + * @return information about all public IP addresses on a cloud service level as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getVirtualMachineScaleSetPublicIpAddressAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName) { - final String expand = null; - return getVirtualMachineScaleSetPublicIpAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listCloudServicePublicIPAddressesAsync(String resourceGroupName, + String cloudServiceName) { + return new PagedFlux<>( + () -> listCloudServicePublicIPAddressesSinglePageAsync(resourceGroupName, cloudServiceName), + nextLink -> listCloudServicePublicIPAddressesNextSinglePageAsync(nextLink)); } /** - * Get the specified public IP address in a virtual machine scale set. + * Gets information about all public IP addresses on a cloud service level. * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. - * @param expand Expands referenced resources. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 public IP address in a virtual machine scale set along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getVirtualMachineScaleSetPublicIpAddressWithResponse(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName, String expand, Context context) { - return getVirtualMachineScaleSetPublicIpAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, context) - .block(); - } - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @param virtualmachineIndex The virtual machine index. - * @param networkInterfaceName The name of the network interface. - * @param ipConfigurationName The name of the IP configuration. - * @param publicIpAddressName The name of the public IP Address. - * @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 public IP address in a virtual machine scale set. + * @return information about all public IP addresses on a cloud service level as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner getVirtualMachineScaleSetPublicIpAddress(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName) { - final String expand = null; - return getVirtualMachineScaleSetPublicIpAddressWithResponse(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, Context.NONE) - .getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listCloudServicePublicIPAddressesAsync(String resourceGroupName, + String cloudServiceName, Context context) { + return new PagedFlux<>( + () -> listCloudServicePublicIPAddressesSinglePageAsync(resourceGroupName, cloudServiceName, context), + nextLink -> listCloudServicePublicIPAddressesNextSinglePageAsync(nextLink, context)); } /** - * Get the next page of items. + * Gets information about all public IP addresses on a cloud service level. * - * @param nextLink The URL to get the next list of items. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 information about all public IP addresses on a cloud service level along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return information about all public IP addresses on a cloud service level as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listCloudServicePublicIpAddressesNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listCloudServicePublicIpAddressesNext(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())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listCloudServicePublicIPAddresses(String resourceGroupName, + String cloudServiceName) { + return new PagedIterable<>(listCloudServicePublicIPAddressesAsync(resourceGroupName, cloudServiceName)); } /** - * Get the next page of items. + * Gets information about all public IP addresses on a cloud service level. * - * @param nextLink The URL to get the next list of items. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param cloudServiceName The name of the cloud service. * @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 information about all public IP addresses on a cloud service level along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return information about all public IP addresses on a cloud service level as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listCloudServicePublicIpAddressesNextSinglePageAsync(String nextLink, Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.listCloudServicePublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listCloudServicePublicIPAddresses(String resourceGroupName, + String cloudServiceName, Context context) { + return new PagedIterable<>( + listCloudServicePublicIPAddressesAsync(resourceGroupName, cloudServiceName, context)); } /** @@ -3186,7 +2520,7 @@ public PublicIpAddressInner getVirtualMachineScaleSetPublicIpAddress(String reso */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listCloudServiceRoleInstancePublicIpAddressesNextSinglePageAsync(String nextLink) { + listCloudServiceRoleInstancePublicIPAddressesNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3196,7 +2530,7 @@ public PublicIpAddressInner getVirtualMachineScaleSetPublicIpAddress(String reso } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listCloudServiceRoleInstancePublicIpAddressesNext(nextLink, + .withContext(context -> service.listCloudServiceRoleInstancePublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -3216,7 +2550,7 @@ public PublicIpAddressInner getVirtualMachineScaleSetPublicIpAddress(String reso */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listCloudServiceRoleInstancePublicIpAddressesNextSinglePageAsync(String nextLink, Context context) { + listCloudServiceRoleInstancePublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3227,61 +2561,7 @@ public PublicIpAddressInner getVirtualMachineScaleSetPublicIpAddress(String reso final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listCloudServiceRoleInstancePublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> 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 all the public IP addresses in a subscription along with {@link PagedResponse} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(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. - * @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 all the public IP addresses in a subscription along with {@link PagedResponse} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + .listCloudServiceRoleInstancePublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -3346,12 +2626,11 @@ private Mono> listNextSinglePageAsync(String * @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 information about all public IP addresses on a virtual machine scale set level along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return all the public IP addresses in a subscription along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetPublicIpAddressesNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3361,8 +2640,7 @@ private Mono> listNextSinglePageAsync(String } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetPublicIpAddressesNext(nextLink, - this.client.getEndpoint(), accept, context)) + .withContext(context -> service.listAllNext(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())); @@ -3376,12 +2654,11 @@ private Mono> listNextSinglePageAsync(String * @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 information about all public IP addresses on a virtual machine scale set level along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return all the public IP addresses in a subscription along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetPublicIpAddressesNextSinglePageAsync(String nextLink, Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3391,8 +2668,7 @@ private Mono> listNextSinglePageAsync(String } final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetPublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -3404,12 +2680,12 @@ private Mono> listNextSinglePageAsync(String * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return information about all public IP addresses on a cloud service level along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listVirtualMachineScaleSetVMPublicIpAddressesNextSinglePageAsync(String nextLink) { + listCloudServicePublicIPAddressesNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3419,8 +2695,8 @@ private Mono> listNextSinglePageAsync(String } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetVMPublicIpAddressesNext(nextLink, - this.client.getEndpoint(), accept, context)) + .withContext(context -> service.listCloudServicePublicIPAddressesNext(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())); @@ -3434,12 +2710,12 @@ private Mono> listNextSinglePageAsync(String * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return information about all public IP addresses on a cloud service level along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listVirtualMachineScaleSetVMPublicIpAddressesNextSinglePageAsync(String nextLink, Context context) { + listCloudServicePublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3449,8 +2725,7 @@ private Mono> listNextSinglePageAsync(String } final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetVMPublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listCloudServicePublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java index c2fd48545b4e..8e515657d4a9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.PublicIpPrefixesClient; import com.azure.resourcemanager.network.fluent.models.PublicIpPrefixInner; -import com.azure.resourcemanager.network.models.PublicIpPrefixListResult; +import com.azure.resourcemanager.network.implementation.models.PublicIPPrefixListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,291 +73,86 @@ public final class PublicIpPrefixesClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("publicIpPrefixName") String publicIpPrefixName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("publicIpPrefixName") String publicIpPrefixName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("publicIpPrefixName") String publicIpPrefixName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("publicIpPrefixName") String publicIpPrefixName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") PublicIpPrefixInner parameters, @HeaderParam("Accept") String accept, + @PathParam("publicIpPrefixName") String publicIpPrefixName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") PublicIpPrefixInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("publicIpPrefixName") String publicIpPrefixName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("publicIpPrefixName") String publicIpPrefixName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}") + @ExpectedResponses({ 200, 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("publicIpPrefixName") String publicIpPrefixName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @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> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String publicIpPrefixName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (publicIpPrefixName == null) { - return Mono - .error(new IllegalArgumentException("Parameter publicIpPrefixName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, publicIpPrefixName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String publicIpPrefixName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (publicIpPrefixName == null) { - return Mono - .error(new IllegalArgumentException("Parameter publicIpPrefixName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, publicIpPrefixName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpPrefixName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, publicIpPrefixName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpPrefixName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, publicIpPrefixName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 publicIpPrefixName) { - return this.beginDeleteAsync(resourceGroupName, publicIpPrefixName).getSyncPoller(); - } - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 publicIpPrefixName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, publicIpPrefixName, context).getSyncPoller(); - } - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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) - public Mono deleteAsync(String resourceGroupName, String publicIpPrefixName) { - return beginDeleteAsync(resourceGroupName, publicIpPrefixName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String publicIpPrefixName, Context context) { - return beginDeleteAsync(resourceGroupName, publicIpPrefixName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 publicIpPrefixName) { - deleteAsync(resourceGroupName, publicIpPrefixName).block(); - } - - /** - * Deletes the specified public IP prefix. - * - * @param resourceGroupName The name of the resource group. - * @param publicIpPrefixName The name of the PublicIpPrefix. - * @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 publicIpPrefixName, Context context) { - deleteAsync(resourceGroupName, publicIpPrefixName, context).block(); - } - /** * Gets the specified public IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -373,6 +168,10 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -381,22 +180,18 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono .error(new IllegalArgumentException("Parameter publicIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - publicIpPrefixName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, publicIpPrefixName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified public IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -413,6 +208,10 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -421,21 +220,17 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter publicIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, publicIpPrefixName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, publicIpPrefixName, expand, accept, context); } /** * Gets the specified public IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -452,7 +247,7 @@ public Mono getByResourceGroupAsync(String resourceGroupNam /** * Gets the specified public IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -470,7 +265,7 @@ public Response getByResourceGroupWithResponse(String resou /** * Gets the specified public IP prefix in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -486,7 +281,7 @@ public PublicIpPrefixInner getByResourceGroup(String resourceGroupName, String p /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -501,6 +296,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -509,27 +308,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter publicIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - publicIpPrefixName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, publicIpPrefixName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @param context The context to associate with this operation. @@ -545,6 +342,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -553,26 +354,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter publicIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, publicIpPrefixName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, publicIpPrefixName, contentType, accept, parameters, context); } /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -592,7 +390,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @param context The context to associate with this operation. @@ -614,7 +412,7 @@ private PollerFlux, PublicIpPrefixInner> beginCr /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -631,7 +429,7 @@ private PollerFlux, PublicIpPrefixInner> beginCr /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @param context The context to associate with this operation. @@ -650,7 +448,7 @@ public SyncPoller, PublicIpPrefixInner> beginCre /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -668,7 +466,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @param context The context to associate with this operation. @@ -687,7 +485,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -704,7 +502,7 @@ public PublicIpPrefixInner createOrUpdate(String resourceGroupName, String publi /** * Creates or updates a static or dynamic public IP prefix. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to the create or update public IP prefix operation. * @param context The context to associate with this operation. @@ -722,7 +520,7 @@ public PublicIpPrefixInner createOrUpdate(String resourceGroupName, String publi /** * Updates public IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to update public IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -737,6 +535,10 @@ public Mono> updateTagsWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -745,27 +547,25 @@ public Mono> updateTagsWithResponseAsync(String re return Mono .error(new IllegalArgumentException("Parameter publicIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, publicIpPrefixName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, publicIpPrefixName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates public IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to update public IP prefix tags. * @param context The context to associate with this operation. @@ -781,6 +581,10 @@ private Mono> updateTagsWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -789,26 +593,23 @@ private Mono> updateTagsWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter publicIpPrefixName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, publicIpPrefixName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, publicIpPrefixName, contentType, accept, parameters, context); } /** * Updates public IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to update public IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -826,7 +627,7 @@ public Mono updateTagsAsync(String resourceGroupName, Strin /** * Updates public IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to update public IP prefix tags. * @param context The context to associate with this operation. @@ -844,7 +645,7 @@ public Response updateTagsWithResponse(String resourceGroup /** * Updates public IP prefix tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param publicIpPrefixName The name of the public IP prefix. * @param parameters Parameters supplied to update public IP prefix tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -858,15 +659,18 @@ public PublicIpPrefixInner updateTags(String resourceGroupName, String publicIpP } /** - * Gets all the public IP prefixes in a subscription. + * Deletes the specified public IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 all the public IP prefixes in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String publicIpPrefixName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -875,28 +679,35 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (publicIpPrefixName == null) { + return Mono + .error(new IllegalArgumentException("Parameter publicIpPrefixName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, publicIpPrefixName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets all the public IP prefixes in a subscription. + * Deletes the specified public IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. * @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 all the public IP prefixes in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String publicIpPrefixName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -905,71 +716,155 @@ private Mono> listSinglePageAsync(Context con return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (publicIpPrefixName == null) { + return Mono + .error(new IllegalArgumentException("Parameter publicIpPrefixName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + publicIpPrefixName, context); } /** - * Gets all the public IP prefixes in a subscription. + * Deletes the specified public IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 all the public IP prefixes in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpPrefixName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, publicIpPrefixName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Gets all the public IP prefixes in a subscription. + * Deletes the specified public IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. * @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 all the public IP prefixes in a subscription as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String publicIpPrefixName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, publicIpPrefixName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Gets all the public IP prefixes in a subscription. + * Deletes the specified public IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 publicIpPrefixName) { + return this.beginDeleteAsync(resourceGroupName, publicIpPrefixName).getSyncPoller(); + } + + /** + * Deletes the specified public IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 all the public IP prefixes in a subscription as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String publicIpPrefixName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, publicIpPrefixName, context).getSyncPoller(); } /** - * Gets all the public IP prefixes in a subscription. + * Deletes the specified public IP prefix. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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) + public Mono deleteAsync(String resourceGroupName, String publicIpPrefixName) { + return beginDeleteAsync(resourceGroupName, publicIpPrefixName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified public IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. * @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 all the public IP prefixes in a subscription as paginated response with {@link PagedIterable}. + * @return A {@link Mono} that completes when a successful response is received. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String publicIpPrefixName, Context context) { + return beginDeleteAsync(resourceGroupName, publicIpPrefixName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified public IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 publicIpPrefixName) { + deleteAsync(resourceGroupName, publicIpPrefixName).block(); + } + + /** + * Deletes the specified public IP prefix. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIpPrefixName The name of the public IP prefix. + * @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 publicIpPrefixName, Context context) { + deleteAsync(resourceGroupName, publicIpPrefixName, context).block(); } /** * Gets all public IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -982,19 +877,19 @@ private Mono> listByResourceGroupSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -1003,7 +898,7 @@ private Mono> listByResourceGroupSinglePageAs /** * Gets all public IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1018,20 +913,20 @@ private Mono> listByResourceGroupSinglePageAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1039,7 +934,7 @@ private Mono> listByResourceGroupSinglePageAs /** * Gets all public IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1054,7 +949,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGr /** * Gets all public IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1070,7 +965,7 @@ private PagedFlux listByResourceGroupAsync(String resourceG /** * Gets all public IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1084,7 +979,7 @@ public PagedIterable listByResourceGroup(String resourceGro /** * Gets all public IP prefixes in a resource group. * - * @param resourceGroupName The name of the 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. @@ -1096,6 +991,115 @@ public PagedIterable listByResourceGroup(String resourceGro return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } + /** + * Gets all the public IP prefixes in a 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 all the public IP prefixes in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); + } + + /** + * Gets all the public IP prefixes in a 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 all the public IP prefixes in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets all the public IP prefixes in a 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 all the public IP prefixes in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + } + + /** + * Gets all the public IP prefixes in a 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 all the public IP prefixes in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets all the public IP prefixes in a 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 all the public IP prefixes in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Gets all the public IP prefixes in a 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 all the public IP prefixes in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); + } + /** * Get the next page of items. * @@ -1103,11 +1107,11 @@ public PagedIterable listByResourceGroup(String resourceGro * @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 all the public IP prefixes in a subscription along with {@link PagedResponse} on successful completion of + * @return all public IP prefixes in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1116,8 +1120,7 @@ private Mono> listAllNextSinglePageAsync(Stri new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1131,11 +1134,11 @@ private Mono> listAllNextSinglePageAsync(Stri * @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 all the public IP prefixes in a subscription along with {@link PagedResponse} on successful completion of + * @return all public IP prefixes in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1145,7 +1148,7 @@ private Mono> listAllNextSinglePageAsync(Stri } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1157,11 +1160,11 @@ private Mono> listAllNextSinglePageAsync(Stri * @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 all public IP prefixes in a resource group along with {@link PagedResponse} on successful completion of + * @return all the public IP prefixes in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1170,7 +1173,8 @@ private Mono> listNextSinglePageAsync(String new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -1184,11 +1188,11 @@ private Mono> listNextSinglePageAsync(String * @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 all public IP prefixes in a resource group along with {@link PagedResponse} on successful completion of + * @return all the public IP prefixes in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1198,7 +1202,7 @@ private Mono> listNextSinglePageAsync(String } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java index 726684de0ad7..2f4000da71a3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -30,7 +30,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.ReachabilityAnalysisIntentsClient; import com.azure.resourcemanager.network.fluent.models.ReachabilityAnalysisIntentInner; -import com.azure.resourcemanager.network.models.ReachabilityAnalysisIntentListResult; +import com.azure.resourcemanager.network.implementation.models.ReachabilityAnalysisIntentListResult; import reactor.core.publisher.Mono; /** @@ -62,26 +62,14 @@ public final class ReachabilityAnalysisIntentsClientImpl implements Reachability * The interface defining all the services for NetworkManagementClientReachabilityAnalysisIntents to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientReachabilityAnalysisIntents") public interface ReachabilityAnalysisIntentsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, - @PathParam("workspaceName") String workspaceName, @QueryParam("skipToken") String skipToken, - @QueryParam("skip") Integer skip, @QueryParam("top") Integer top, @QueryParam("sortKey") String sortKey, - @QueryParam("sortValue") String sortValue, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents/{reachabilityAnalysisIntentName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @@ -89,267 +77,56 @@ Mono> get(@HostParam("$host") String e @PathParam("reachabilityAnalysisIntentName") String reachabilityAnalysisIntentName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents/{reachabilityAnalysisIntentName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> create(@HostParam("$host") String endpoint, + Mono> create(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("workspaceName") String workspaceName, @PathParam("reachabilityAnalysisIntentName") String reachabilityAnalysisIntentName, - @BodyParam("application/json") ReachabilityAnalysisIntentInner body, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ReachabilityAnalysisIntentInner body, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents/{reachabilityAnalysisIntentName}") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("workspaceName") String workspaceName, - @PathParam("reachabilityAnalysisIntentName") String reachabilityAnalysisIntentName, - @HeaderParam("Accept") String accept, Context context); + @PathParam("reachabilityAnalysisIntentName") String reachabilityAnalysisIntentName, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, + @PathParam("workspaceName") String workspaceName, @QueryParam("skipToken") String skipToken, + @QueryParam("skip") Integer skip, @QueryParam("top") Integer top, @QueryParam("sortKey") String sortKey, + @QueryParam("sortValue") String sortValue, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Reachability Analysis Intents along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, - String sortValue) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (workspaceName == null) { - return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue, 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())); - } - - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Reachability Analysis Intents along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, - String sortValue, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (workspaceName == null) { - return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Reachability Analysis Intents as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, - skipToken, skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @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 list of Reachability Analysis Intents as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String workspaceName) { - final String skipToken = null; - final Integer skip = null; - final Integer top = null; - final String sortKey = null; - final String sortValue = null; - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, - skipToken, skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Reachability Analysis Intents as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, - Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, - skipToken, skip, top, sortKey, sortValue, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @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 list of Reachability Analysis Intents as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String workspaceName) { - final String skipToken = null; - final Integer skip = null; - final Integer top = null; - final String sortKey = null; - final String sortValue = null; - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue)); - } - - /** - * Gets list of Reachability Analysis Intents . - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Reachability Analysis Intents as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, - Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, - sortKey, sortValue, context)); - } - /** * Get the Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -393,9 +170,9 @@ public Mono> getWithResponseAsync(Stri /** * Get the Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -439,9 +216,9 @@ private Mono> getWithResponseAsync(Str /** * Get the Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -458,9 +235,9 @@ public Mono getAsync(String resourceGroupName, /** * Get the Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -478,9 +255,9 @@ public Response getWithResponse(String resource /** * Get the Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -497,9 +274,9 @@ public ReachabilityAnalysisIntentInner get(String resourceGroupName, String netw /** * Creates Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param body Reachability Analysis Intent object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -541,20 +318,21 @@ public Mono> createWithResponseAsync(S body.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, workspaceName, - reachabilityAnalysisIntentName, body, accept, context)) + reachabilityAnalysisIntentName, contentType, accept, body, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param body Reachability Analysis Intent object to create/update. * @param context The context to associate with this operation. @@ -597,18 +375,19 @@ private Mono> createWithResponseAsync( body.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, workspaceName, reachabilityAnalysisIntentName, body, accept, context); + networkManagerName, workspaceName, reachabilityAnalysisIntentName, contentType, accept, body, context); } /** * Creates Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param body Reachability Analysis Intent object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -627,9 +406,9 @@ public Mono createAsync(String resourceGroupNam /** * Creates Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param body Reachability Analysis Intent object to create/update. * @param context The context to associate with this operation. @@ -649,9 +428,9 @@ public Response createWithResponse(String resou /** * Creates Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param body Reachability Analysis Intent object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -669,9 +448,9 @@ public ReachabilityAnalysisIntentInner create(String resourceGroupName, String n /** * Deletes Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -705,20 +484,19 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St "Parameter reachabilityAnalysisIntentName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, workspaceName, - reachabilityAnalysisIntentName, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, workspaceName, reachabilityAnalysisIntentName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -753,18 +531,17 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S "Parameter reachabilityAnalysisIntentName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, workspaceName, reachabilityAnalysisIntentName, accept, context); + networkManagerName, workspaceName, reachabilityAnalysisIntentName, context); } /** * Deletes Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -781,9 +558,9 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -801,9 +578,9 @@ public Response deleteWithResponse(String resourceGroupName, String networ /** * Deletes Reachability Analysis Intent. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisIntentName Reachability Analysis Intent name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -816,6 +593,227 @@ public void delete(String resourceGroupName, String networkManagerName, String w Context.NONE); } + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Reachability Analysis Intents along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, + String sortValue) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (workspaceName == null) { + return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue, 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())); + } + + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Reachability Analysis Intents along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, + String sortValue, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (workspaceName == null) { + return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Reachability Analysis Intents as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, + skipToken, skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @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 list of Reachability Analysis Intents as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String workspaceName) { + final String skipToken = null; + final Integer skip = null; + final Integer top = null; + final String sortKey = null; + final String sortValue = null; + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, + skipToken, skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Reachability Analysis Intents as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, + Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, + skipToken, skip, top, sortKey, sortValue, context), nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @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 list of Reachability Analysis Intents as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String workspaceName) { + final String skipToken = null; + final Integer skip = null; + final Integer top = null; + final String sortKey = null; + final String sortValue = null; + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue)); + } + + /** + * Gets list of Reachability Analysis Intents . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Reachability Analysis Intents as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, + Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, + sortKey, sortValue, context)); + } + /** * Gets list of Reachability Analysis Intents . * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java index c22f97b81657..df228390c464 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ReachabilityAnalysisRunsClient; import com.azure.resourcemanager.network.fluent.models.ReachabilityAnalysisRunInner; -import com.azure.resourcemanager.network.models.ReachabilityAnalysisRunListResult; +import com.azure.resourcemanager.network.implementation.models.ReachabilityAnalysisRunListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,26 +67,14 @@ public final class ReachabilityAnalysisRunsClientImpl implements ReachabilityAna * The interface defining all the services for NetworkManagementClientReachabilityAnalysisRuns to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientReachabilityAnalysisRuns") public interface ReachabilityAnalysisRunsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, - @PathParam("workspaceName") String workspaceName, @QueryParam("skipToken") String skipToken, - @QueryParam("skip") Integer skip, @QueryParam("top") Integer top, @QueryParam("sortKey") String sortKey, - @QueryParam("sortValue") String sortValue, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns/{reachabilityAnalysisRunName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @@ -94,267 +82,56 @@ Mono> get(@HostParam("$host") String endp @PathParam("reachabilityAnalysisRunName") String reachabilityAnalysisRunName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns/{reachabilityAnalysisRunName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> create(@HostParam("$host") String endpoint, + Mono> create(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("workspaceName") String workspaceName, @PathParam("reachabilityAnalysisRunName") String reachabilityAnalysisRunName, - @BodyParam("application/json") ReachabilityAnalysisRunInner body, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ReachabilityAnalysisRunInner body, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns/{reachabilityAnalysisRunName}") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("workspaceName") String workspaceName, - @PathParam("reachabilityAnalysisRunName") String reachabilityAnalysisRunName, - @HeaderParam("Accept") String accept, Context context); + @PathParam("reachabilityAnalysisRunName") String reachabilityAnalysisRunName, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, + @PathParam("workspaceName") String workspaceName, @QueryParam("skipToken") String skipToken, + @QueryParam("skip") Integer skip, @QueryParam("top") Integer top, @QueryParam("sortKey") String sortKey, + @QueryParam("sortValue") String sortValue, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Reachability Analysis Runs along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, - String sortValue) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (workspaceName == null) { - return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue, 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())); - } - - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Reachability Analysis Runs along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, - String sortValue, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (workspaceName == null) { - return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Reachability Analysis Runs as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, - skipToken, skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @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 list of Reachability Analysis Runs as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String workspaceName) { - final String skipToken = null; - final Integer skip = null; - final Integer top = null; - final String sortKey = null; - final String sortValue = null; - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, - skipToken, skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Reachability Analysis Runs as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, - Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, - skipToken, skip, top, sortKey, sortValue, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @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 list of Reachability Analysis Runs as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String workspaceName) { - final String skipToken = null; - final Integer skip = null; - final Integer top = null; - final String sortKey = null; - final String sortValue = null; - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue)); - } - - /** - * Gets list of Reachability Analysis Runs. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Reachability Analysis Runs as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, - Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, - sortKey, sortValue, context)); - } - /** * Gets Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -398,9 +175,9 @@ public Mono> getWithResponseAsync(String /** * Gets Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -444,9 +221,9 @@ private Mono> getWithResponseAsync(String /** * Gets Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -463,9 +240,9 @@ public Mono getAsync(String resourceGroupName, Str /** * Gets Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -483,9 +260,9 @@ public Response getWithResponse(String resourceGro /** * Gets Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -502,9 +279,9 @@ public ReachabilityAnalysisRunInner get(String resourceGroupName, String network /** * Creates Reachability Analysis Runs. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param body Analysis Run resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -546,20 +323,21 @@ public Mono> createWithResponseAsync(Stri body.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, workspaceName, - reachabilityAnalysisRunName, body, accept, context)) + reachabilityAnalysisRunName, contentType, accept, body, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates Reachability Analysis Runs. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param body Analysis Run resource object to create/update. * @param context The context to associate with this operation. @@ -602,18 +380,19 @@ private Mono> createWithResponseAsync(Str body.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, workspaceName, reachabilityAnalysisRunName, body, accept, context); + networkManagerName, workspaceName, reachabilityAnalysisRunName, contentType, accept, body, context); } /** * Creates Reachability Analysis Runs. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param body Analysis Run resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -631,9 +410,9 @@ public Mono createAsync(String resourceGroupName, /** * Creates Reachability Analysis Runs. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param body Analysis Run resource object to create/update. * @param context The context to associate with this operation. @@ -653,9 +432,9 @@ public Response createWithResponse(String resource /** * Creates Reachability Analysis Runs. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param body Analysis Run resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -673,9 +452,9 @@ public ReachabilityAnalysisRunInner create(String resourceGroupName, String netw /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -709,20 +488,19 @@ public Mono>> deleteWithResponseAsync(String resourceG new IllegalArgumentException("Parameter reachabilityAnalysisRunName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext( context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, workspaceName, reachabilityAnalysisRunName, accept, context)) + resourceGroupName, networkManagerName, workspaceName, reachabilityAnalysisRunName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -757,18 +535,17 @@ private Mono>> deleteWithResponseAsync(String resource new IllegalArgumentException("Parameter reachabilityAnalysisRunName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, workspaceName, reachabilityAnalysisRunName, accept, context); + networkManagerName, workspaceName, reachabilityAnalysisRunName, context); } /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -787,9 +564,9 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -810,9 +587,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -829,9 +606,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -851,9 +628,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -871,9 +648,9 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -891,9 +668,9 @@ private Mono deleteAsync(String resourceGroupName, String networkManagerNa /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -908,9 +685,9 @@ public void delete(String resourceGroupName, String networkManagerName, String w /** * Deletes Reachability Analysis Run. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param reachabilityAnalysisRunName Reachability Analysis Run name. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -923,6 +700,227 @@ public void delete(String resourceGroupName, String networkManagerName, String w deleteAsync(resourceGroupName, networkManagerName, workspaceName, reachabilityAnalysisRunName, context).block(); } + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Reachability Analysis Runs along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, + String sortValue) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (workspaceName == null) { + return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue, 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())); + } + + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Reachability Analysis Runs along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, + String sortValue, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (workspaceName == null) { + return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Reachability Analysis Runs as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, + skipToken, skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @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 list of Reachability Analysis Runs as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String workspaceName) { + final String skipToken = null; + final Integer skip = null; + final Integer top = null; + final String sortKey = null; + final String sortValue = null; + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, + skipToken, skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Reachability Analysis Runs as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, + Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, workspaceName, + skipToken, skip, top, sortKey, sortValue, context), nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @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 list of Reachability Analysis Runs as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String workspaceName) { + final String skipToken = null; + final Integer skip = null; + final Integer top = null; + final String sortKey = null; + final String sortValue = null; + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, sortKey, sortValue)); + } + + /** + * Gets list of Reachability Analysis Runs. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param workspaceName The name of the resource. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Reachability Analysis Runs as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String workspaceName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, + Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, workspaceName, skipToken, skip, top, + sortKey, sortValue, context)); + } + /** * Gets list of Reachability Analysis Runs. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java index 4bd21686825f..462eaa3b16c6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -54,24 +54,24 @@ public final class ResourceNavigationLinksClientImpl implements ResourceNavigati * The interface defining all the services for NetworkManagementClientResourceNavigationLinks to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientResourceNavigationLinks") public interface ResourceNavigationLinksService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/resourceNavigationLinks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @PathParam("subnetName") String subnetName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); } /** * Gets a list of resource navigation links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -87,6 +87,10 @@ public Mono> listWithResponseAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -98,22 +102,18 @@ public Mono> listWithResponseAs if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - subnetName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, subnetName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets a list of resource navigation links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param context The context to associate with this operation. @@ -130,6 +130,10 @@ private Mono> listWithResponseA return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -141,21 +145,17 @@ private Mono> listWithResponseA if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, subnetName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, subnetName, accept, context); } /** * Gets a list of resource navigation links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -173,7 +173,7 @@ public Mono listAsync(String resourceGro /** * Gets a list of resource navigation links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param context The context to associate with this operation. @@ -191,7 +191,7 @@ public Response listWithResponse(String /** * Gets a list of resource navigation links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java index 0c648e2a15b5..0c28887ebcbc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.RouteFilterRulesClient; import com.azure.resourcemanager.network.fluent.models.RouteFilterRuleInner; -import com.azure.resourcemanager.network.models.RouteFilterRuleListResult; +import com.azure.resourcemanager.network.implementation.models.RouteFilterRuleListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,64 +67,64 @@ public final class RouteFilterRulesClientImpl implements RouteFilterRulesClient * The interface defining all the services for NetworkManagementClientRouteFilterRules to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientRouteFilterRules") public interface RouteFilterRulesService { - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("routeFilterName") String routeFilterName, @PathParam("ruleName") String ruleName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("routeFilterName") String routeFilterName, @PathParam("ruleName") String ruleName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("routeFilterName") String routeFilterName, @PathParam("ruleName") String ruleName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") RouteFilterRuleInner routeFilterRuleParameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") RouteFilterRuleInner routeFilterRuleParameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByRouteFilter(@HostParam("$host") String endpoint, + Mono> listByRouteFilter(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeFilterName") String routeFilterName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("routeFilterName") String routeFilterName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByRouteFilterNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -137,6 +137,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -148,24 +152,19 @@ public Mono>> deleteWithResponseAsync(String resourceG if (ruleName == null) { return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, routeFilterName, - ruleName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeFilterName, ruleName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -179,6 +178,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -190,23 +193,18 @@ private Mono>> deleteWithResponseAsync(String resource if (ruleName == null) { return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, routeFilterName, ruleName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + routeFilterName, ruleName, context); } /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -223,9 +221,9 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -245,9 +243,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -262,9 +260,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -280,9 +278,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -297,9 +295,9 @@ public Mono deleteAsync(String resourceGroupName, String routeFilterName, /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -315,9 +313,9 @@ private Mono deleteAsync(String resourceGroupName, String routeFilterName, /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -330,9 +328,9 @@ public void delete(String resourceGroupName, String routeFilterName, String rule /** * Deletes the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -346,9 +344,9 @@ public void delete(String resourceGroupName, String routeFilterName, String rule /** * Gets the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -362,6 +360,10 @@ public Mono> getWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -373,24 +375,20 @@ public Mono> getWithResponseAsync(String resource if (ruleName == null) { return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, routeFilterName, ruleName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeFilterName, ruleName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -405,6 +403,10 @@ private Mono> getWithResponseAsync(String resourc return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -416,23 +418,19 @@ private Mono> getWithResponseAsync(String resourc if (ruleName == null) { return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, routeFilterName, ruleName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + routeFilterName, ruleName, accept, context); } /** * Gets the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -447,9 +445,9 @@ public Mono getAsync(String resourceGroupName, String rout /** * Gets the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -465,9 +463,9 @@ public Response getWithResponse(String resourceGroupName, /** * Gets the specified rule from a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. - * @param ruleName The name of the rule. + * @param ruleName The name of the route filter rule. * @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. @@ -481,7 +479,7 @@ public RouteFilterRuleInner get(String resourceGroupName, String routeFilterName /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -497,6 +495,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -508,10 +510,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (ruleName == null) { return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (routeFilterRuleParameters == null) { return Mono.error( new IllegalArgumentException("Parameter routeFilterRuleParameters is required and cannot be null.")); @@ -519,18 +517,19 @@ public Mono>> createOrUpdateWithResponseAsync(String r routeFilterRuleParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, routeFilterName, - ruleName, apiVersion, this.client.getSubscriptionId(), routeFilterRuleParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeFilterName, ruleName, contentType, accept, + routeFilterRuleParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -547,6 +546,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -558,10 +561,6 @@ private Mono>> createOrUpdateWithResponseAsync(String if (ruleName == null) { return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (routeFilterRuleParameters == null) { return Mono.error( new IllegalArgumentException("Parameter routeFilterRuleParameters is required and cannot be null.")); @@ -569,16 +568,17 @@ private Mono>> createOrUpdateWithResponseAsync(String routeFilterRuleParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, routeFilterName, ruleName, - apiVersion, this.client.getSubscriptionId(), routeFilterRuleParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeFilterName, ruleName, contentType, accept, routeFilterRuleParameters, context); } /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -600,7 +600,7 @@ public PollerFlux, RouteFilterRuleInner> beginC /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -624,7 +624,7 @@ private PollerFlux, RouteFilterRuleInner> begin /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -644,7 +644,7 @@ public SyncPoller, RouteFilterRuleInner> beginC /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -666,7 +666,7 @@ public SyncPoller, RouteFilterRuleInner> beginC /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -685,7 +685,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -705,7 +705,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -723,7 +723,7 @@ public RouteFilterRuleInner createOrUpdate(String resourceGroupName, String rout /** * Creates or updates a route in the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param ruleName The name of the route filter rule. * @param routeFilterRuleParameters Parameters supplied to the create or update route filter rule operation. @@ -743,7 +743,7 @@ public RouteFilterRuleInner createOrUpdate(String resourceGroupName, String rout /** * Gets all RouteFilterRules in a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -758,6 +758,10 @@ private Mono> listByRouteFilterSinglePageAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -766,15 +770,11 @@ private Mono> listByRouteFilterSinglePageAsy return Mono .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByRouteFilter(this.client.getEndpoint(), resourceGroupName, - routeFilterName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByRouteFilter(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeFilterName, 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())); @@ -783,7 +783,7 @@ private Mono> listByRouteFilterSinglePageAsy /** * Gets all RouteFilterRules in a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -799,6 +799,10 @@ private Mono> listByRouteFilterSinglePageAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -807,16 +811,12 @@ private Mono> listByRouteFilterSinglePageAsy return Mono .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByRouteFilter(this.client.getEndpoint(), resourceGroupName, routeFilterName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByRouteFilter(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeFilterName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -824,7 +824,7 @@ private Mono> listByRouteFilterSinglePageAsy /** * Gets all RouteFilterRules in a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -840,7 +840,7 @@ public PagedFlux listByRouteFilterAsync(String resourceGro /** * Gets all RouteFilterRules in a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -858,7 +858,7 @@ private PagedFlux listByRouteFilterAsync(String resourceGr /** * Gets all RouteFilterRules in a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -873,7 +873,7 @@ public PagedIterable listByRouteFilter(String resourceGrou /** * Gets all RouteFilterRules in a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java index 81d40a829aa9..cbcffc700220 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.RouteFiltersClient; import com.azure.resourcemanager.network.fluent.models.RouteFilterInner; -import com.azure.resourcemanager.network.models.RouteFilterListResult; +import com.azure.resourcemanager.network.implementation.models.RouteFilterListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,62 +73,62 @@ public final class RouteFiltersClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeFilterName") String routeFilterName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeFilterName") String routeFilterName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("routeFilterName") String routeFilterName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeFilterName") String routeFilterName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") RouteFilterInner routeFilterParameters, @HeaderParam("Accept") String accept, + @PathParam("routeFilterName") String routeFilterName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") RouteFilterInner routeFilterParameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeFilterName") String routeFilterName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("routeFilterName") String routeFilterName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}") + @ExpectedResponses({ 200, 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("routeFilterName") String routeFilterName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/routeFilters") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -137,7 +137,7 @@ Mono> list(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -145,217 +145,13 @@ Mono> listByResourceGroupNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String routeFilterName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (routeFilterName == null) { - return Mono - .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, routeFilterName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String routeFilterName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (routeFilterName == null) { - return Mono - .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, routeFilterName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeFilterName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeFilterName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeFilterName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeFilterName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 routeFilterName) { - return this.beginDeleteAsync(resourceGroupName, routeFilterName).getSyncPoller(); - } - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 routeFilterName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, routeFilterName, context).getSyncPoller(); - } - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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) - public Mono deleteAsync(String resourceGroupName, String routeFilterName) { - return beginDeleteAsync(resourceGroupName, routeFilterName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String routeFilterName, Context context) { - return beginDeleteAsync(resourceGroupName, routeFilterName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 routeFilterName) { - deleteAsync(resourceGroupName, routeFilterName).block(); - } - - /** - * Deletes the specified route filter. - * - * @param resourceGroupName The name of the resource group. - * @param routeFilterName The name of the route filter. - * @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 routeFilterName, Context context) { - deleteAsync(resourceGroupName, routeFilterName, context).block(); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param expand Expands referenced express route bgp peering resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -370,6 +166,10 @@ public Mono> getByResourceGroupWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -378,22 +178,18 @@ public Mono> getByResourceGroupWithResponseAsync(Stri return Mono .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - routeFilterName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeFilterName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param expand Expands referenced express route bgp peering resources. * @param context The context to associate with this operation. @@ -409,6 +205,10 @@ private Mono> getByResourceGroupWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -417,21 +217,17 @@ private Mono> getByResourceGroupWithResponseAsync(Str return Mono .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, routeFilterName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeFilterName, expand, accept, context); } /** * Gets the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -448,7 +244,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName, /** * Gets the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param expand Expands referenced express route bgp peering resources. * @param context The context to associate with this operation. @@ -466,7 +262,7 @@ public Response getByResourceGroupWithResponse(String resource /** * Gets the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -482,7 +278,7 @@ public RouteFilterInner getByResourceGroup(String resourceGroupName, String rout /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -497,6 +293,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -505,10 +305,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (routeFilterParameters == null) { return Mono .error(new IllegalArgumentException("Parameter routeFilterParameters is required and cannot be null.")); @@ -516,17 +312,19 @@ public Mono>> createOrUpdateWithResponseAsync(String r routeFilterParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - routeFilterName, apiVersion, this.client.getSubscriptionId(), routeFilterParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeFilterName, contentType, accept, + routeFilterParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @param context The context to associate with this operation. @@ -542,6 +340,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -550,10 +352,6 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (routeFilterParameters == null) { return Mono .error(new IllegalArgumentException("Parameter routeFilterParameters is required and cannot be null.")); @@ -561,16 +359,17 @@ private Mono>> createOrUpdateWithResponseAsync(String routeFilterParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, routeFilterName, apiVersion, - this.client.getSubscriptionId(), routeFilterParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeFilterName, contentType, accept, routeFilterParameters, context); } /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -590,7 +389,7 @@ public PollerFlux, RouteFilterInner> beginCreateOrU /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @param context The context to associate with this operation. @@ -612,7 +411,7 @@ private PollerFlux, RouteFilterInner> beginCreateOr /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -629,7 +428,7 @@ public SyncPoller, RouteFilterInner> beginCreateOrU /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @param context The context to associate with this operation. @@ -648,7 +447,7 @@ public SyncPoller, RouteFilterInner> beginCreateOrU /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -666,7 +465,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Stri /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @param context The context to associate with this operation. @@ -685,7 +484,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -702,7 +501,7 @@ public RouteFilterInner createOrUpdate(String resourceGroupName, String routeFil /** * Creates or updates a route filter in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param routeFilterParameters Parameters supplied to the create or update route filter operation. * @param context The context to associate with this operation. @@ -720,7 +519,7 @@ public RouteFilterInner createOrUpdate(String resourceGroupName, String routeFil /** * Updates tags of a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param parameters Parameters supplied to update route filter tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -735,6 +534,10 @@ public Mono> updateTagsWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -743,27 +546,25 @@ public Mono> updateTagsWithResponseAsync(String resou return Mono .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, routeFilterName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeFilterName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates tags of a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param parameters Parameters supplied to update route filter tags. * @param context The context to associate with this operation. @@ -779,6 +580,10 @@ private Mono> updateTagsWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -787,26 +592,23 @@ private Mono> updateTagsWithResponseAsync(String reso return Mono .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, routeFilterName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeFilterName, contentType, accept, parameters, context); } /** * Updates tags of a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param parameters Parameters supplied to update route filter tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -824,7 +626,7 @@ public Mono updateTagsAsync(String resourceGroupName, String r /** * Updates tags of a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param parameters Parameters supplied to update route filter tags. * @param context The context to associate with this operation. @@ -842,7 +644,7 @@ public Response updateTagsWithResponse(String resourceGroupNam /** * Updates tags of a route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeFilterName The name of the route filter. * @param parameters Parameters supplied to update route filter tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -856,34 +658,236 @@ public RouteFilterInner updateTags(String resourceGroupName, String routeFilterN } /** - * Gets all route filters in a resource group. + * Deletes the specified route filter. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. * @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 all route filters in a resource group along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String routeFilterName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (routeFilterName == null) { + return Mono + .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeFilterName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String routeFilterName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } + if (routeFilterName == null) { + return Mono + .error(new IllegalArgumentException("Parameter routeFilterName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + routeFilterName, context); + } + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeFilterName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeFilterName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeFilterName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeFilterName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 routeFilterName) { + return this.beginDeleteAsync(resourceGroupName, routeFilterName).getSyncPoller(); + } + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 routeFilterName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, routeFilterName, context).getSyncPoller(); + } + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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) + public Mono deleteAsync(String resourceGroupName, String routeFilterName) { + return beginDeleteAsync(resourceGroupName, routeFilterName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String routeFilterName, Context context) { + return beginDeleteAsync(resourceGroupName, routeFilterName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 routeFilterName) { + deleteAsync(resourceGroupName, routeFilterName).block(); + } + + /** + * Deletes the specified route filter. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeFilterName The name of the route filter. + * @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 routeFilterName, Context context) { + deleteAsync(resourceGroupName, routeFilterName, context).block(); + } + + /** + * Gets all route filters in a 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 all route filters in a resource group along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -892,7 +896,7 @@ private Mono> listByResourceGroupSinglePageAsync /** * Gets all route filters in a resource group. * - * @param resourceGroupName The name of the 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. @@ -907,20 +911,20 @@ private Mono> listByResourceGroupSinglePageAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -928,7 +932,7 @@ private Mono> listByResourceGroupSinglePageAsync /** * Gets all route filters in a resource group. * - * @param resourceGroupName The name of the 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. @@ -943,7 +947,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGroup /** * Gets all route filters in a resource group. * - * @param resourceGroupName The name of the 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. @@ -959,7 +963,7 @@ private PagedFlux listByResourceGroupAsync(String resourceGrou /** * Gets all route filters in a resource group. * - * @param resourceGroupName The name of the 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. @@ -973,7 +977,7 @@ public PagedIterable listByResourceGroup(String resourceGroupN /** * Gets all route filters in a resource group. * - * @param resourceGroupName The name of the 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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java index 623f3eb5dc70..cd761eaa3e02 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.RouteMapsClient; import com.azure.resourcemanager.network.fluent.models.RouteMapInner; -import com.azure.resourcemanager.network.models.ListRouteMapsResult; +import com.azure.resourcemanager.network.implementation.models.ListRouteMapsResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,65 +67,63 @@ public final class RouteMapsClientImpl implements RouteMapsClient { * The interface defining all the services for NetworkManagementClientRouteMaps to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientRouteMaps") public interface RouteMapsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("routeMapName") String routeMapName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("routeMapName") String routeMapName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") RouteMapInner routeMapParameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") RouteMapInner routeMapParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("routeMapName") String routeMapName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -156,17 +154,18 @@ public Mono> getWithResponseAsync(String resourceGroupNa final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routeMapName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, routeMapName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -198,16 +197,17 @@ private Mono> getWithResponseAsync(String resourceGroupN final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routeMapName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, routeMapName, accept, context); } /** * Retrieves the details of a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -222,9 +222,10 @@ public Mono getAsync(String resourceGroupName, String virtualHubN /** * Retrieves the details of a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -240,9 +241,10 @@ public Response getWithResponse(String resourceGroupName, String /** * Retrieves the details of a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -256,9 +258,10 @@ public RouteMapInner get(String resourceGroupName, String virtualHubName, String /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -294,19 +297,22 @@ public Mono>> createOrUpdateWithResponseAsync(String r routeMapParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routeMapName, apiVersion, routeMapParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, routeMapName, contentType, accept, + routeMapParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -343,18 +349,20 @@ private Mono>> createOrUpdateWithResponseAsync(String routeMapParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routeMapName, apiVersion, routeMapParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, routeMapName, contentType, accept, routeMapParameters, context); } /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -373,9 +381,10 @@ public PollerFlux, RouteMapInner> beginCreateOrUpdateA /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -396,9 +405,10 @@ private PollerFlux, RouteMapInner> beginCreateOrUpdate /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -415,9 +425,10 @@ public SyncPoller, RouteMapInner> beginCreateOrUpdate( /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -436,9 +447,10 @@ public SyncPoller, RouteMapInner> beginCreateOrUpdate( /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -455,9 +467,10 @@ public Mono createOrUpdateAsync(String resourceGroupName, String /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -476,9 +489,10 @@ private Mono createOrUpdateAsync(String resourceGroupName, String /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -494,9 +508,10 @@ public RouteMapInner createOrUpdate(String resourceGroupName, String virtualHubN /** * Creates a RouteMap if it doesn't exist else updates the existing one. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param routeMapParameters Parameters supplied to create or update a RouteMap. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -514,9 +529,10 @@ public RouteMapInner createOrUpdate(String resourceGroupName, String virtualHubN /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -544,19 +560,19 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter routeMapName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routeMapName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, routeMapName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -585,18 +601,18 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter routeMapName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routeMapName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, routeMapName, context); } /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -614,9 +630,10 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -636,9 +653,10 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -653,9 +671,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -671,9 +690,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -688,9 +708,10 @@ public Mono deleteAsync(String resourceGroupName, String virtualHubName, S /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -707,9 +728,10 @@ private Mono deleteAsync(String resourceGroupName, String virtualHubName, /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -722,9 +744,10 @@ public void delete(String resourceGroupName, String virtualHubName, String route /** * Deletes a RouteMap. * - * @param resourceGroupName The resource group name of the RouteMap's resource group. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. - * @param routeMapName The name of the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routeMapName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -738,8 +761,8 @@ public void delete(String resourceGroupName, String virtualHubName, String route /** * Retrieves the details of all RouteMaps. * - * @param resourceGroupName The resource group name of the RouteMap's resource group'. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. * @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. @@ -766,8 +789,8 @@ private Mono> listSinglePageAsync(String resourceGr final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, 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())); @@ -776,8 +799,8 @@ private Mono> listSinglePageAsync(String resourceGr /** * Retrieves the details of all RouteMaps. * - * @param resourceGroupName The resource group name of the RouteMap's resource group'. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. * @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. @@ -807,8 +830,8 @@ private Mono> listSinglePageAsync(String resourceGr final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, virtualHubName, - apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -816,8 +839,8 @@ private Mono> listSinglePageAsync(String resourceGr /** * Retrieves the details of all RouteMaps. * - * @param resourceGroupName The resource group name of the RouteMap's resource group'. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. * @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. @@ -833,8 +856,8 @@ public PagedFlux listAsync(String resourceGroupName, String virtu /** * Retrieves the details of all RouteMaps. * - * @param resourceGroupName The resource group name of the RouteMap's resource group'. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. * @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. @@ -851,8 +874,8 @@ private PagedFlux listAsync(String resourceGroupName, String virt /** * Retrieves the details of all RouteMaps. * - * @param resourceGroupName The resource group name of the RouteMap's resource group'. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. * @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. @@ -867,8 +890,8 @@ public PagedIterable list(String resourceGroupName, String virtua /** * Retrieves the details of all RouteMaps. * - * @param resourceGroupName The resource group name of the RouteMap's resource group'. - * @param virtualHubName The name of the VirtualHub containing the RouteMap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java index fa0b63bb8290..deb0cb42b4d0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.RouteTablesClient; import com.azure.resourcemanager.network.fluent.models.RouteTableInner; -import com.azure.resourcemanager.network.models.RouteTableListResult; +import com.azure.resourcemanager.network.implementation.models.RouteTableListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,62 +73,62 @@ public final class RouteTablesClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeTableName") String routeTableName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeTableName") String routeTableName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("routeTableName") String routeTableName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeTableName") String routeTableName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") RouteTableInner parameters, @HeaderParam("Accept") String accept, + @PathParam("routeTableName") String routeTableName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") RouteTableInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeTableName") String routeTableName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("routeTableName") String routeTableName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}") + @ExpectedResponses({ 200, 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("routeTableName") String routeTableName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/routeTables") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -137,222 +137,20 @@ Mono> list(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAllNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (routeTableName == null) { - return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, routeTableName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (routeTableName == null) { - return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, routeTableName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeTableName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeTableName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 routeTableName) { - return this.beginDeleteAsync(resourceGroupName, routeTableName).getSyncPoller(); - } - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 routeTableName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, routeTableName, context).getSyncPoller(); - } - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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) - public Mono deleteAsync(String resourceGroupName, String routeTableName) { - return beginDeleteAsync(resourceGroupName, routeTableName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String routeTableName, Context context) { - return beginDeleteAsync(resourceGroupName, routeTableName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 routeTableName) { - deleteAsync(resourceGroupName, routeTableName).block(); - } - - /** - * Deletes the specified route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @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 routeTableName, Context context) { - deleteAsync(resourceGroupName, routeTableName, context).block(); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -367,6 +165,10 @@ public Mono> getByResourceGroupWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -374,22 +176,18 @@ public Mono> getByResourceGroupWithResponseAsync(Strin if (routeTableName == null) { return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - routeTableName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeTableName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -405,6 +203,10 @@ private Mono> getByResourceGroupWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -412,21 +214,17 @@ private Mono> getByResourceGroupWithResponseAsync(Stri if (routeTableName == null) { return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, routeTableName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeTableName, expand, accept, context); } /** * Gets the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -443,7 +241,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName, S /** * Gets the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -461,7 +259,7 @@ public Response getByResourceGroupWithResponse(String resourceG /** * Gets the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -477,7 +275,7 @@ public RouteTableInner getByResourceGroup(String resourceGroupName, String route /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -492,6 +290,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -499,27 +301,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (routeTableName == null) { return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, routeTableName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeTableName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @param context The context to associate with this operation. @@ -535,6 +335,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -542,26 +346,23 @@ private Mono>> createOrUpdateWithResponseAsync(String if (routeTableName == null) { return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, routeTableName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeTableName, contentType, accept, parameters, context); } /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -581,7 +382,7 @@ public PollerFlux, RouteTableInner> beginCreateOrUpd /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @param context The context to associate with this operation. @@ -603,7 +404,7 @@ private PollerFlux, RouteTableInner> beginCreateOrUp /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -620,7 +421,7 @@ public SyncPoller, RouteTableInner> beginCreateOrUpd /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @param context The context to associate with this operation. @@ -638,7 +439,7 @@ public SyncPoller, RouteTableInner> beginCreateOrUpd /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -656,7 +457,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Strin /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @param context The context to associate with this operation. @@ -675,7 +476,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, Stri /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -691,7 +492,7 @@ public RouteTableInner createOrUpdate(String resourceGroupName, String routeTabl /** * Create or updates a route table in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to the create or update route table operation. * @param context The context to associate with this operation. @@ -709,7 +510,7 @@ public RouteTableInner createOrUpdate(String resourceGroupName, String routeTabl /** * Updates a route table tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to update route table tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -724,6 +525,10 @@ public Mono> updateTagsWithResponseAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -731,27 +536,25 @@ public Mono> updateTagsWithResponseAsync(String resour if (routeTableName == null) { return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, routeTableName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeTableName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates a route table tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to update route table tags. * @param context The context to associate with this operation. @@ -767,6 +570,10 @@ private Mono> updateTagsWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -774,26 +581,23 @@ private Mono> updateTagsWithResponseAsync(String resou if (routeTableName == null) { return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, routeTableName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeTableName, contentType, accept, parameters, context); } /** * Updates a route table tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to update route table tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -811,7 +615,7 @@ public Mono updateTagsAsync(String resourceGroupName, String ro /** * Updates a route table tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to update route table tags. * @param context The context to associate with this operation. @@ -829,7 +633,7 @@ public Response updateTagsWithResponse(String resourceGroupName /** * Updates a route table tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param parameters Parameters supplied to update route table tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -843,34 +647,234 @@ public RouteTableInner updateTags(String resourceGroupName, String routeTableNam } /** - * Gets all route tables in a resource group. + * Deletes the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. * @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 all route tables in a resource group along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } + if (routeTableName == null) { + return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeTableName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (routeTableName == null) { + return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + routeTableName, context); + } + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeTableName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeTableName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 routeTableName) { + return this.beginDeleteAsync(resourceGroupName, routeTableName).getSyncPoller(); + } + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 routeTableName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, routeTableName, context).getSyncPoller(); + } + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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) + public Mono deleteAsync(String resourceGroupName, String routeTableName) { + return beginDeleteAsync(resourceGroupName, routeTableName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String routeTableName, Context context) { + return beginDeleteAsync(resourceGroupName, routeTableName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 routeTableName) { + deleteAsync(resourceGroupName, routeTableName).block(); + } + + /** + * Deletes the specified route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 routeTableName, Context context) { + deleteAsync(resourceGroupName, routeTableName, context).block(); + } + + /** + * Gets all route tables in a 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 all route tables in a resource group along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -879,7 +883,7 @@ private Mono> listByResourceGroupSinglePageAsync( /** * Gets all route tables in a resource group. * - * @param resourceGroupName The name of the 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. @@ -894,20 +898,20 @@ private Mono> listByResourceGroupSinglePageAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -915,7 +919,7 @@ private Mono> listByResourceGroupSinglePageAsync( /** * Gets all route tables in a resource group. * - * @param resourceGroupName The name of the 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. @@ -930,7 +934,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGroupN /** * Gets all route tables in a resource group. * - * @param resourceGroupName The name of the 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. @@ -946,7 +950,7 @@ private PagedFlux listByResourceGroupAsync(String resourceGroup /** * Gets all route tables in a resource group. * - * @param resourceGroupName The name of the 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. @@ -960,7 +964,7 @@ public PagedIterable listByResourceGroup(String resourceGroupNa /** * Gets all route tables in a resource group. * - * @param resourceGroupName The name of the 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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java index 117229159974..779ce79eb171 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.RoutesClient; import com.azure.resourcemanager.network.fluent.models.RouteInner; -import com.azure.resourcemanager.network.models.RouteListResult; +import com.azure.resourcemanager.network.implementation.models.RouteListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -66,283 +66,60 @@ public final class RoutesClientImpl implements RoutesClient { * The interface defining all the services for NetworkManagementClientRoutes to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientRoutes") public interface RoutesService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeTableName") String routeTableName, @PathParam("routeName") String routeName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("routeTableName") String routeTableName, @PathParam("routeName") String routeName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("routeTableName") String routeTableName, @PathParam("routeName") String routeName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") RouteInner routeParameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") RouteInner routeParameters, @HeaderParam("Accept") String accept, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("routeTableName") String routeTableName, @PathParam("routeName") String routeName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("routeTableName") String routeTableName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("routeTableName") String routeTableName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * Deletes the specified route from a route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @param routeName The name of the route. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, - String routeName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (routeTableName == null) { - return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); - } - if (routeName == null) { - return Mono.error(new IllegalArgumentException("Parameter routeName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, routeTableName, - routeName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified route from a route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @param routeName The name of the route. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, - String routeName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (routeTableName == null) { - return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); - } - if (routeName == null) { - return Mono.error(new IllegalArgumentException("Parameter routeName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, routeTableName, routeName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified route from a route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @param routeName The name of the route. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName, - String routeName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeTableName, routeName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified route from a route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @param routeName The name of the route. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName, - String routeName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, routeTableName, routeName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified route from a route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @param routeName The name of the route. - * @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 routeTableName, - String routeName) { - return this.beginDeleteAsync(resourceGroupName, routeTableName, routeName).getSyncPoller(); - } - - /** - * Deletes the specified route from a route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @param routeName The name of the route. - * @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 routeTableName, - String routeName, Context context) { - return this.beginDeleteAsync(resourceGroupName, routeTableName, routeName, context).getSyncPoller(); - } - - /** - * Deletes the specified route from a route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @param routeName The name of the route. - * @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) - public Mono deleteAsync(String resourceGroupName, String routeTableName, String routeName) { - return beginDeleteAsync(resourceGroupName, routeTableName, routeName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified route from a route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @param routeName The name of the route. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String routeTableName, String routeName, Context context) { - return beginDeleteAsync(resourceGroupName, routeTableName, routeName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified route from a route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @param routeName The name of the route. - * @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 routeTableName, String routeName) { - deleteAsync(resourceGroupName, routeTableName, routeName).block(); - } - - /** - * Deletes the specified route from a route table. - * - * @param resourceGroupName The name of the resource group. - * @param routeTableName The name of the route table. - * @param routeName The name of the route. - * @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 routeTableName, String routeName, Context context) { - deleteAsync(resourceGroupName, routeTableName, routeName, context).block(); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -358,6 +135,10 @@ public Mono> getWithResponseAsync(String resourceGroupName, return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -368,22 +149,18 @@ public Mono> getWithResponseAsync(String resourceGroupName, if (routeName == null) { return Mono.error(new IllegalArgumentException("Parameter routeName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, routeTableName, routeName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeTableName, routeName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param context The context to associate with this operation. @@ -400,6 +177,10 @@ private Mono> getWithResponseAsync(String resourceGroupName return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -410,21 +191,17 @@ private Mono> getWithResponseAsync(String resourceGroupName if (routeName == null) { return Mono.error(new IllegalArgumentException("Parameter routeName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, routeTableName, routeName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + routeTableName, routeName, accept, context); } /** * Gets the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -441,7 +218,7 @@ public Mono getAsync(String resourceGroupName, String routeTableName /** * Gets the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param context The context to associate with this operation. @@ -459,7 +236,7 @@ public Response getWithResponse(String resourceGroupName, String rou /** * Gets the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -475,7 +252,7 @@ public RouteInner get(String resourceGroupName, String routeTableName, String ro /** * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param routeParameters Parameters supplied to the create or update route operation. @@ -491,6 +268,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -501,10 +282,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (routeName == null) { return Mono.error(new IllegalArgumentException("Parameter routeName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (routeParameters == null) { return Mono .error(new IllegalArgumentException("Parameter routeParameters is required and cannot be null.")); @@ -512,17 +289,19 @@ public Mono>> createOrUpdateWithResponseAsync(String r routeParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, routeTableName, - routeName, apiVersion, this.client.getSubscriptionId(), routeParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeTableName, routeName, contentType, accept, + routeParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param routeParameters Parameters supplied to the create or update route operation. @@ -539,6 +318,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -549,10 +332,6 @@ private Mono>> createOrUpdateWithResponseAsync(String if (routeName == null) { return Mono.error(new IllegalArgumentException("Parameter routeName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (routeParameters == null) { return Mono .error(new IllegalArgumentException("Parameter routeParameters is required and cannot be null.")); @@ -560,16 +339,17 @@ private Mono>> createOrUpdateWithResponseAsync(String routeParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, routeTableName, routeName, - apiVersion, this.client.getSubscriptionId(), routeParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeTableName, routeName, contentType, accept, routeParameters, context); } /** * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param routeParameters Parameters supplied to the create or update route operation. @@ -590,7 +370,7 @@ public PollerFlux, RouteInner> beginCreateOrUpdateAsync(S /** * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param routeParameters Parameters supplied to the create or update route operation. @@ -613,7 +393,7 @@ private PollerFlux, RouteInner> beginCreateOrUpdateAsync( /** * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param routeParameters Parameters supplied to the create or update route operation. @@ -632,7 +412,7 @@ public SyncPoller, RouteInner> beginCreateOrUpdate(String /** * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param routeParameters Parameters supplied to the create or update route operation. @@ -652,7 +432,7 @@ public SyncPoller, RouteInner> beginCreateOrUpdate(String /** * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param routeParameters Parameters supplied to the create or update route operation. @@ -671,7 +451,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, String rou /** * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param routeParameters Parameters supplied to the create or update route operation. @@ -691,7 +471,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, String ro /** * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param routeParameters Parameters supplied to the create or update route operation. @@ -709,7 +489,7 @@ public RouteInner createOrUpdate(String resourceGroupName, String routeTableName /** * Creates or updates a route in the specified route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param routeName The name of the route. * @param routeParameters Parameters supplied to the create or update route operation. @@ -726,21 +506,67 @@ public RouteInner createOrUpdate(String resourceGroupName, String routeTableName } /** - * Gets all routes in a route table. + * Deletes the specified route from a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. + * @param routeName The name of the route. * @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 all routes in a route table along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, String routeTableName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, + String routeName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (routeTableName == null) { + return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); + } + if (routeName == null) { + return Mono.error(new IllegalArgumentException("Parameter routeName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, routeTableName, routeName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified route from a route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @param routeName The name of the route. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, + String routeName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -748,15 +574,189 @@ private Mono> listSinglePageAsync(String resourceGroup if (routeTableName == null) { return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } + if (routeName == null) { + return Mono.error(new IllegalArgumentException("Parameter routeName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + routeTableName, routeName, context); + } + + /** + * Deletes the specified route from a route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @param routeName The name of the route. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName, + String routeName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, routeTableName, routeName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified route from a route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @param routeName The name of the route. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String routeTableName, + String routeName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, routeTableName, routeName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified route from a route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @param routeName The name of the route. + * @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 routeTableName, + String routeName) { + return this.beginDeleteAsync(resourceGroupName, routeTableName, routeName).getSyncPoller(); + } + + /** + * Deletes the specified route from a route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @param routeName The name of the route. + * @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 routeTableName, + String routeName, Context context) { + return this.beginDeleteAsync(resourceGroupName, routeTableName, routeName, context).getSyncPoller(); + } + + /** + * Deletes the specified route from a route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @param routeName The name of the route. + * @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) + public Mono deleteAsync(String resourceGroupName, String routeTableName, String routeName) { + return beginDeleteAsync(resourceGroupName, routeTableName, routeName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified route from a route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @param routeName The name of the route. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String routeTableName, String routeName, Context context) { + return beginDeleteAsync(resourceGroupName, routeTableName, routeName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified route from a route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @param routeName The name of the route. + * @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 routeTableName, String routeName) { + deleteAsync(resourceGroupName, routeTableName, routeName).block(); + } + + /** + * Deletes the specified route from a route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @param routeName The name of the route. + * @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 routeTableName, String routeName, Context context) { + deleteAsync(resourceGroupName, routeTableName, routeName, context).block(); + } + + /** + * Gets all routes in a route table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param routeTableName The name of the route table. + * @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 all routes in a route table along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, String routeTableName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (routeTableName == null) { + return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, routeTableName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, routeTableName, 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())); @@ -765,7 +765,7 @@ private Mono> listSinglePageAsync(String resourceGroup /** * Gets all routes in a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -780,6 +780,10 @@ private Mono> listSinglePageAsync(String resourceGroup return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -787,16 +791,12 @@ private Mono> listSinglePageAsync(String resourceGroup if (routeTableName == null) { return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, routeTableName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + routeTableName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -804,7 +804,7 @@ private Mono> listSinglePageAsync(String resourceGroup /** * Gets all routes in a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -820,7 +820,7 @@ public PagedFlux listAsync(String resourceGroupName, String routeTab /** * Gets all routes in a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -837,7 +837,7 @@ private PagedFlux listAsync(String resourceGroupName, String routeTa /** * Gets all routes in a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -852,7 +852,7 @@ public PagedIterable list(String resourceGroupName, String routeTabl /** * Gets all routes in a route table. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param routeTableName The name of the route table. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java index 3b817c8a94df..a47b08e6b38f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.RoutingIntentsClient; import com.azure.resourcemanager.network.fluent.models.RoutingIntentInner; -import com.azure.resourcemanager.network.models.ListRoutingIntentResult; +import com.azure.resourcemanager.network.implementation.models.ListRoutingIntentResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,67 +67,206 @@ public final class RoutingIntentsClientImpl implements RoutingIntentsClient { * The interface defining all the services for NetworkManagementClientRoutingIntents to be used by the proxy service * to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientRoutingIntents") public interface RoutingIntentsService { @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}") - @ExpectedResponses({ 200, 201 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, - @PathParam("routingIntentName") String routingIntentName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") RoutingIntentInner routingIntentParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("routingIntentName") String routingIntentName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}") - @ExpectedResponses({ 200 }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, - @PathParam("routingIntentName") String routingIntentName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("routingIntentName") String routingIntentName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") RoutingIntentInner routingIntentParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, - @PathParam("routingIntentName") String routingIntentName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("routingIntentName") String routingIntentName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); + } + + /** + * Retrieves the details of a RoutingIntent. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @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 routing intent child resource of a Virtual hub along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, + String routingIntentName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualHubName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.")); + } + if (routingIntentName == null) { + return Mono + .error(new IllegalArgumentException("Parameter routingIntentName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, routingIntentName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Retrieves the details of a RoutingIntent. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @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 routing intent child resource of a Virtual hub along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, + String routingIntentName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualHubName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.")); + } + if (routingIntentName == null) { + return Mono + .error(new IllegalArgumentException("Parameter routingIntentName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, routingIntentName, accept, context); + } + + /** + * Retrieves the details of a RoutingIntent. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @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 routing intent child resource of a Virtual hub on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String virtualHubName, + String routingIntentName) { + return getWithResponseAsync(resourceGroupName, virtualHubName, routingIntentName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Retrieves the details of a RoutingIntent. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @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 routing intent child resource of a Virtual hub along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String virtualHubName, + String routingIntentName, Context context) { + return getWithResponseAsync(resourceGroupName, virtualHubName, routingIntentName, context).block(); + } + + /** + * Retrieves the details of a RoutingIntent. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. + * @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 routing intent child resource of a Virtual hub. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public RoutingIntentInner get(String resourceGroupName, String virtualHubName, String routingIntentName) { + return getWithResponse(resourceGroupName, virtualHubName, routingIntentName, Context.NONE).getValue(); } /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -164,20 +303,22 @@ public Mono>> createOrUpdateWithResponseAsync(String r routingIntentParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routingIntentName, apiVersion, routingIntentParameters, accept, - context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, routingIntentName, contentType, + accept, routingIntentParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -215,18 +356,21 @@ private Mono>> createOrUpdateWithResponseAsync(String routingIntentParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routingIntentName, apiVersion, routingIntentParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, routingIntentName, contentType, accept, routingIntentParameters, + context); } /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -246,9 +390,10 @@ public PollerFlux, RoutingIntentInner> beginCreat /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -270,9 +415,10 @@ private PollerFlux, RoutingIntentInner> beginCrea /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -290,9 +436,10 @@ public SyncPoller, RoutingIntentInner> beginCreat /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -312,9 +459,10 @@ public SyncPoller, RoutingIntentInner> beginCreat /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -332,9 +480,10 @@ public Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -352,9 +501,10 @@ private Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -371,9 +521,10 @@ public RoutingIntentInner createOrUpdate(String resourceGroupName, String virtua /** * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -388,148 +539,13 @@ public RoutingIntentInner createOrUpdate(String resourceGroupName, String virtua context).block(); } - /** - * Retrieves the details of a RoutingIntent. - * - * @param resourceGroupName The resource group name of the RoutingIntent. - * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. - * @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 routing intent child resource of a Virtual hub along with {@link Response} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, - String routingIntentName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualHubName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.")); - } - if (routingIntentName == null) { - return Mono - .error(new IllegalArgumentException("Parameter routingIntentName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routingIntentName, apiVersion, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Retrieves the details of a RoutingIntent. - * - * @param resourceGroupName The resource group name of the RoutingIntent. - * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. - * @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 routing intent child resource of a Virtual hub along with {@link Response} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, - String routingIntentName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualHubName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.")); - } - if (routingIntentName == null) { - return Mono - .error(new IllegalArgumentException("Parameter routingIntentName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routingIntentName, apiVersion, accept, context); - } - - /** - * Retrieves the details of a RoutingIntent. - * - * @param resourceGroupName The resource group name of the RoutingIntent. - * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. - * @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 routing intent child resource of a Virtual hub on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String virtualHubName, - String routingIntentName) { - return getWithResponseAsync(resourceGroupName, virtualHubName, routingIntentName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Retrieves the details of a RoutingIntent. - * - * @param resourceGroupName The resource group name of the RoutingIntent. - * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. - * @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 routing intent child resource of a Virtual hub along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String virtualHubName, - String routingIntentName, Context context) { - return getWithResponseAsync(resourceGroupName, virtualHubName, routingIntentName, context).block(); - } - - /** - * Retrieves the details of a RoutingIntent. - * - * @param resourceGroupName The resource group name of the RoutingIntent. - * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. - * @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 routing intent child resource of a Virtual hub. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public RoutingIntentInner get(String resourceGroupName, String virtualHubName, String routingIntentName) { - return getWithResponse(resourceGroupName, virtualHubName, routingIntentName, Context.NONE).getValue(); - } - /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @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. @@ -558,19 +574,19 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter routingIntentName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routingIntentName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, routingIntentName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @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. @@ -600,18 +616,18 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter routingIntentName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routingIntentName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, routingIntentName, context); } /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @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. @@ -629,9 +645,10 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @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. @@ -651,9 +668,10 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @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. @@ -668,9 +686,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @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. @@ -686,9 +705,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @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. @@ -703,9 +723,10 @@ public Mono deleteAsync(String resourceGroupName, String virtualHubName, S /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @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. @@ -722,9 +743,10 @@ private Mono deleteAsync(String resourceGroupName, String virtualHubName, /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @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. @@ -737,9 +759,10 @@ public void delete(String resourceGroupName, String virtualHubName, String routi /** * Deletes a RoutingIntent. * - * @param resourceGroupName The resource group name of the RoutingIntent. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param routingIntentName The name of the RoutingIntent. + * @param routingIntentName The name of the resource that is unique within a resource group. This name can be used + * to access the resource. * @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. @@ -753,7 +776,7 @@ public void delete(String resourceGroupName, String virtualHubName, String routi /** * Retrieves the details of all RoutingIntent child resources of the VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -782,8 +805,8 @@ private Mono> listSinglePageAsync(String resou final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, 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())); @@ -792,7 +815,7 @@ private Mono> listSinglePageAsync(String resou /** * Retrieves the details of all RoutingIntent child resources of the VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -823,8 +846,8 @@ private Mono> listSinglePageAsync(String resou final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, virtualHubName, - apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -832,7 +855,7 @@ private Mono> listSinglePageAsync(String resou /** * Retrieves the details of all RoutingIntent child resources of the VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -849,7 +872,7 @@ public PagedFlux listAsync(String resourceGroupName, String /** * Retrieves the details of all RoutingIntent child resources of the VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -867,7 +890,7 @@ private PagedFlux listAsync(String resourceGroupName, String /** * Retrieves the details of all RoutingIntent child resources of the VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -883,7 +906,7 @@ public PagedIterable list(String resourceGroupName, String v /** * Retrieves the details of all RoutingIntent child resources of the VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java index 996aabc56d70..3fc1d0e5cc99 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.RoutingRuleCollectionsClient; import com.azure.resourcemanager.network.fluent.models.RoutingRuleCollectionInner; -import com.azure.resourcemanager.network.models.RoutingRuleCollectionListResult; +import com.azure.resourcemanager.network.implementation.models.RoutingRuleCollectionListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,25 +67,14 @@ public final class RoutingRuleCollectionsClientImpl implements RoutingRuleCollec * The interface defining all the services for NetworkManagementClientRoutingRuleCollections to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientRoutingRuleCollections") public interface RoutingRuleCollectionsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, - @PathParam("configurationName") String configurationName, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @@ -93,253 +82,50 @@ Mono> get(@HostParam("$host") String endpoi @PathParam("ruleCollectionName") String ruleCollectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, - @PathParam("ruleCollectionName") String ruleCollectionName, - @BodyParam("application/json") RoutingRuleCollectionInner ruleCollection, - @HeaderParam("Accept") String accept, Context context); + @PathParam("ruleCollectionName") String ruleCollectionName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") RoutingRuleCollectionInner ruleCollection, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("force") Boolean force, - @HeaderParam("Accept") String accept, Context context); + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, + @PathParam("configurationName") String configurationName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Lists all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule collection list result along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, Integer top, String skipToken) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, top, skipToken, 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 all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule collection list result along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, Integer top, String skipToken, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, top, skipToken, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken) { - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @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 routing configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName) { - final Integer top = null; - final String skipToken = null; - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, - skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @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 routing configuration rule collection list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName) { - final Integer top = null; - final String skipToken = null; - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken)); - } - - /** - * Lists all the rule collections in a routing configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule collection list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken, Context context) { - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken, context)); - } - /** * Gets a network manager routing configuration rule collection. * @@ -541,11 +327,12 @@ public Mono> createOrUpdateWithResponseAsyn ruleCollection.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, ruleCollection, accept, context)) + ruleCollectionName, contentType, accept, ruleCollection, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -597,11 +384,12 @@ private Mono> createOrUpdateWithResponseAsy ruleCollection.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, ruleCollectionName, ruleCollection, accept, - context); + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, contentType, accept, + ruleCollection, context); } /** @@ -708,11 +496,10 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, force, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -760,10 +547,9 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, ruleCollectionName, force, accept, context); + networkManagerName, configurationName, ruleCollectionName, force, context); } /** @@ -985,6 +771,219 @@ public void delete(String resourceGroupName, String networkManagerName, String c .block(); } + /** + * Lists all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRuleCollection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, Integer top, String skipToken) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, configurationName, top, skipToken, 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 all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRuleCollection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, Integer top, String skipToken, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, configurationName, top, skipToken, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken) { + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @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 RoutingRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName) { + final Integer top = null; + final String skipToken = null; + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, + skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @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 RoutingRuleCollection list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName) { + final Integer top = null; + final String skipToken = null; + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken)); + } + + /** + * Lists all the rule collections in a routing configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRuleCollection list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken, Context context) { + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken, context)); + } + /** * Get the next page of items. * @@ -992,7 +991,7 @@ public void delete(String resourceGroupName, String networkManagerName, String c * @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 routing configuration rule collection list result along with {@link PagedResponse} on successful + * @return the response of a RoutingRuleCollection list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -1019,7 +1018,7 @@ private Mono> listNextSinglePageAsync( * @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 routing configuration rule collection list result along with {@link PagedResponse} on successful + * @return the response of a RoutingRuleCollection list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java index 90f4a6b16d00..c1b5d279c38a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.RoutingRulesClient; import com.azure.resourcemanager.network.fluent.models.RoutingRuleInner; -import com.azure.resourcemanager.network.models.RoutingRuleListResult; +import com.azure.resourcemanager.network.implementation.models.RoutingRuleListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,26 +67,14 @@ public final class RoutingRulesClientImpl implements RoutingRulesClient { * The interface defining all the services for NetworkManagementClientRoutingRules to be used by the proxy service * to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientRoutingRules") public interface RoutingRulesService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, - @PathParam("configurationName") String configurationName, - @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @@ -94,266 +82,48 @@ Mono> get(@HostParam("$host") String endpoint, @PathParam("ruleCollectionName") String ruleCollectionName, @PathParam("ruleName") String ruleName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @PathParam("ruleCollectionName") String ruleCollectionName, @PathParam("ruleName") String ruleName, - @BodyParam("application/json") RoutingRuleInner routingRule, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") RoutingRuleInner routingRule, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @PathParam("ruleCollectionName") String ruleCollectionName, @PathParam("ruleName") String ruleName, - @QueryParam("force") Boolean force, @HeaderParam("Accept") String accept, Context context); + @QueryParam("force") Boolean force, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, + @PathParam("configurationName") String configurationName, + @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule list result along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - if (ruleCollectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken, 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())); - } - - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule list result along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - if (ruleCollectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, ruleCollectionName, top, skipToken, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @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 routing configuration rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName) { - final Integer top = null; - final String skipToken = null; - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @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 routing configuration rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName) { - final Integer top = null; - final String skipToken = null; - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken)); - } - - /** - * List all network manager routing configuration routing rules. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Routing Configuration. - * @param ruleCollectionName The name of the network manager routing Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 routing configuration rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken, context)); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -573,11 +343,12 @@ public Mono> createOrUpdateWithResponseAsync(String r routingRule.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, ruleName, routingRule, accept, context)) + ruleCollectionName, ruleName, contentType, accept, routingRule, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -633,11 +404,12 @@ private Mono> createOrUpdateWithResponseAsync(String routingRule.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, ruleCollectionName, ruleName, routingRule, accept, - context); + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, ruleName, contentType, accept, + routingRule, context); } /** @@ -751,11 +523,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, ruleName, force, accept, context)) + ruleCollectionName, ruleName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -807,10 +578,9 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, ruleCollectionName, ruleName, force, accept, context); + networkManagerName, configurationName, ruleCollectionName, ruleName, force, context); } /** @@ -1042,6 +812,235 @@ public void delete(String resourceGroupName, String networkManagerName, String c context).block(); } + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRule list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + if (ruleCollectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken, 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())); + } + + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRule list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + if (ruleCollectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, configurationName, ruleCollectionName, top, skipToken, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRule list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @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 RoutingRule list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName) { + final Integer top = null; + final String skipToken = null; + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRule list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @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 RoutingRule list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName) { + final Integer top = null; + final String skipToken = null; + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken)); + } + + /** + * List all network manager routing configuration routing rules. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Routing Configuration. + * @param ruleCollectionName The name of the network manager routing Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 RoutingRule list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken, context)); + } + /** * Get the next page of items. * @@ -1049,7 +1048,7 @@ public void delete(String resourceGroupName, String networkManagerName, String c * @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 routing configuration rule list result along with {@link PagedResponse} on successful completion of + * @return the response of a RoutingRule list operation along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -1076,7 +1075,7 @@ private Mono> listNextSinglePageAsync(String nex * @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 routing configuration rule list result along with {@link PagedResponse} on successful completion of + * @return the response of a RoutingRule list operation along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java index 07871b9f1141..8d98c3914a4e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -30,7 +30,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.ScopeConnectionsClient; import com.azure.resourcemanager.network.fluent.models.ScopeConnectionInner; -import com.azure.resourcemanager.network.models.ScopeConnectionListResult; +import com.azure.resourcemanager.network.implementation.models.ScopeConnectionListResult; import reactor.core.publisher.Mono; /** @@ -62,78 +62,75 @@ public final class ScopeConnectionsClientImpl implements ScopeConnectionsClient * The interface defining all the services for NetworkManagementClientScopeConnections to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientScopeConnections") public interface ScopeConnectionsService { @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}") - @ExpectedResponses({ 200, 201 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("scopeConnectionName") String scopeConnectionName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") ScopeConnectionInner parameters, @HeaderParam("Accept") String accept, + @PathParam("scopeConnectionName") String scopeConnectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}") - @ExpectedResponses({ 200 }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("scopeConnectionName") String scopeConnectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("scopeConnectionName") String scopeConnectionName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ScopeConnectionInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("scopeConnectionName") String scopeConnectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("scopeConnectionName") String scopeConnectionName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("api-version") String apiVersion, - @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Creates or updates scope connection from Network Manager. + * Get specified scope connection created by this Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. - * @param parameters Scope connection to be created/updated. * @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 Scope Connections resource along with {@link Response} on successful completion of {@link Mono}. + * @return specified scope connection created by this Network Manager along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createOrUpdateWithResponseAsync(String resourceGroupName, - String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters) { + public Mono> getWithResponseAsync(String resourceGroupName, + String networkManagerName, String scopeConnectionName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -154,35 +151,30 @@ public Mono> createOrUpdateWithResponseAsync(Stri return Mono .error(new IllegalArgumentException("Parameter scopeConnectionName is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, scopeConnectionName, apiVersion, parameters, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, scopeConnectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Creates or updates scope connection from Network Manager. + * Get specified scope connection created by this Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. - * @param parameters Scope connection to be created/updated. * @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 Scope Connections resource along with {@link Response} on successful completion of {@link Mono}. + * @return specified scope connection created by this Network Manager along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> createOrUpdateWithResponseAsync(String resourceGroupName, - String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, + String networkManagerName, String scopeConnectionName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -203,91 +195,80 @@ private Mono> createOrUpdateWithResponseAsync(Str return Mono .error(new IllegalArgumentException("Parameter scopeConnectionName is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, scopeConnectionName, apiVersion, parameters, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, scopeConnectionName, accept, context); } /** - * Creates or updates scope connection from Network Manager. + * Get specified scope connection created by this Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. - * @param parameters Scope connection to be created/updated. * @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 Scope Connections resource on successful completion of {@link Mono}. + * @return specified scope connection created by this Network Manager on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String networkManagerName, - String scopeConnectionName, ScopeConnectionInner parameters) { - return createOrUpdateWithResponseAsync(resourceGroupName, networkManagerName, scopeConnectionName, parameters) + public Mono getAsync(String resourceGroupName, String networkManagerName, + String scopeConnectionName) { + return getWithResponseAsync(resourceGroupName, networkManagerName, scopeConnectionName) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Creates or updates scope connection from Network Manager. + * Get specified scope connection created by this Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. - * @param parameters Scope connection to be created/updated. * @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 Scope Connections resource along with {@link Response}. + * @return specified scope connection created by this Network Manager along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createOrUpdateWithResponse(String resourceGroupName, - String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters, Context context) { - return createOrUpdateWithResponseAsync(resourceGroupName, networkManagerName, scopeConnectionName, parameters, - context).block(); + public Response getWithResponse(String resourceGroupName, String networkManagerName, + String scopeConnectionName, Context context) { + return getWithResponseAsync(resourceGroupName, networkManagerName, scopeConnectionName, context).block(); } /** - * Creates or updates scope connection from Network Manager. + * Get specified scope connection created by this Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. - * @param parameters Scope connection to be created/updated. * @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 Scope Connections resource. + * @return specified scope connection created by this Network Manager. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ScopeConnectionInner createOrUpdate(String resourceGroupName, String networkManagerName, - String scopeConnectionName, ScopeConnectionInner parameters) { - return createOrUpdateWithResponse(resourceGroupName, networkManagerName, scopeConnectionName, parameters, - Context.NONE).getValue(); + public ScopeConnectionInner get(String resourceGroupName, String networkManagerName, String scopeConnectionName) { + return getWithResponse(resourceGroupName, networkManagerName, scopeConnectionName, Context.NONE).getValue(); } /** - * Get specified scope connection created by this Network Manager. + * Creates or updates scope connection from Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. * @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 specified scope connection created by this Network Manager along with {@link Response} on successful - * completion of {@link Mono}. + * @return the Scope Connections resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String networkManagerName, String scopeConnectionName) { + public Mono> createOrUpdateWithResponseAsync(String resourceGroupName, + String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -308,30 +289,37 @@ public Mono> getWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter scopeConnectionName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, scopeConnectionName, apiVersion, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, scopeConnectionName, + contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Get specified scope connection created by this Network Manager. + * Creates or updates scope connection from Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. * @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 specified scope connection created by this Network Manager along with {@link Response} on successful - * completion of {@link Mono}. + * @return the Scope Connections resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, - String networkManagerName, String scopeConnectionName, Context context) { + private Mono> createOrUpdateWithResponseAsync(String resourceGroupName, + String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -352,69 +340,81 @@ private Mono> getWithResponseAsync(String resourc return Mono .error(new IllegalArgumentException("Parameter scopeConnectionName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, scopeConnectionName, apiVersion, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, scopeConnectionName, contentType, accept, parameters, context); } /** - * Get specified scope connection created by this Network Manager. + * Creates or updates scope connection from Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. * @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 specified scope connection created by this Network Manager on successful completion of {@link Mono}. + * @return the Scope Connections resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String networkManagerName, - String scopeConnectionName) { - return getWithResponseAsync(resourceGroupName, networkManagerName, scopeConnectionName) + public Mono createOrUpdateAsync(String resourceGroupName, String networkManagerName, + String scopeConnectionName, ScopeConnectionInner parameters) { + return createOrUpdateWithResponseAsync(resourceGroupName, networkManagerName, scopeConnectionName, parameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get specified scope connection created by this Network Manager. + * Creates or updates scope connection from Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. * @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 specified scope connection created by this Network Manager along with {@link Response}. + * @return the Scope Connections resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String networkManagerName, - String scopeConnectionName, Context context) { - return getWithResponseAsync(resourceGroupName, networkManagerName, scopeConnectionName, context).block(); + public Response createOrUpdateWithResponse(String resourceGroupName, + String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters, Context context) { + return createOrUpdateWithResponseAsync(resourceGroupName, networkManagerName, scopeConnectionName, parameters, + context).block(); } /** - * Get specified scope connection created by this Network Manager. + * Creates or updates scope connection from Network Manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. + * @param parameters Scope connection to be created/updated. * @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 specified scope connection created by this Network Manager. + * @return the Scope Connections resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ScopeConnectionInner get(String resourceGroupName, String networkManagerName, String scopeConnectionName) { - return getWithResponse(resourceGroupName, networkManagerName, scopeConnectionName, Context.NONE).getValue(); + public ScopeConnectionInner createOrUpdate(String resourceGroupName, String networkManagerName, + String scopeConnectionName, ScopeConnectionInner parameters) { + return createOrUpdateWithResponse(resourceGroupName, networkManagerName, scopeConnectionName, parameters, + Context.NONE).getValue(); } /** * Delete the pending scope connection created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -446,17 +446,16 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St .error(new IllegalArgumentException("Parameter scopeConnectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, scopeConnectionName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, scopeConnectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Delete the pending scope connection created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. * @param context The context to associate with this operation. @@ -489,16 +488,15 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S .error(new IllegalArgumentException("Parameter scopeConnectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, scopeConnectionName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, scopeConnectionName, context); } /** * Delete the pending scope connection created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -515,7 +513,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Delete the pending scope connection created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. * @param context The context to associate with this operation. @@ -533,7 +531,7 @@ public Response deleteWithResponse(String resourceGroupName, String networ /** * Delete the pending scope connection created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param scopeConnectionName Name for the cross-tenant connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -548,7 +546,7 @@ public void delete(String resourceGroupName, String networkManagerName, String s /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -558,7 +556,8 @@ public void delete(String resourceGroupName, String networkManagerName, String s * @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 list of scope connections along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a ScopeConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -582,8 +581,8 @@ private Mono> listSinglePageAsync(String res final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, apiVersion, top, skipToken, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, top, skipToken, 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())); @@ -592,7 +591,7 @@ private Mono> listSinglePageAsync(String res /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -603,7 +602,8 @@ private Mono> listSinglePageAsync(String res * @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 list of scope connections along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a ScopeConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -628,8 +628,8 @@ private Mono> listSinglePageAsync(String res final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, networkManagerName, - apiVersion, top, skipToken, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -637,7 +637,7 @@ private Mono> listSinglePageAsync(String res /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -647,7 +647,7 @@ private Mono> listSinglePageAsync(String res * @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 list of scope connections as paginated response with {@link PagedFlux}. + * @return the response of a ScopeConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkManagerName, Integer top, @@ -659,12 +659,12 @@ public PagedFlux listAsync(String resourceGroupName, Strin /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @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 list of scope connections as paginated response with {@link PagedFlux}. + * @return the response of a ScopeConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { @@ -677,7 +677,7 @@ public PagedFlux listAsync(String resourceGroupName, Strin /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -688,7 +688,7 @@ public PagedFlux listAsync(String resourceGroupName, Strin * @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 list of scope connections as paginated response with {@link PagedFlux}. + * @return the response of a ScopeConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkManagerName, Integer top, @@ -701,12 +701,12 @@ private PagedFlux listAsync(String resourceGroupName, Stri /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @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 list of scope connections as paginated response with {@link PagedIterable}. + * @return the response of a ScopeConnection list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkManagerName) { @@ -718,7 +718,7 @@ public PagedIterable list(String resourceGroupName, String /** * List all scope connections created by this network manager. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param top An optional query parameter which specifies the maximum number of records to be returned by the * server. @@ -729,7 +729,7 @@ public PagedIterable list(String resourceGroupName, String * @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 list of scope connections as paginated response with {@link PagedIterable}. + * @return the response of a ScopeConnection list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkManagerName, Integer top, @@ -744,7 +744,8 @@ public PagedIterable list(String resourceGroupName, String * @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 list of scope connections along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a ScopeConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -770,7 +771,8 @@ private Mono> listNextSinglePageAsync(String * @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 list of scope connections along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a ScopeConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java index 641c03a95d15..5370e3f541b7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.SecurityAdminConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.SecurityAdminConfigurationInner; -import com.azure.resourcemanager.network.models.SecurityAdminConfigurationListResult; +import com.azure.resourcemanager.network.implementation.models.SecurityAdminConfigurationListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,260 +67,65 @@ public final class SecurityAdminConfigurationsClientImpl implements SecurityAdmi * The interface defining all the services for NetworkManagementClientSecurityAdminConfigurations to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientSecurityAdminConfigurations") public interface SecurityAdminConfigurationsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("configurationName") String configurationName, - @BodyParam("application/json") SecurityAdminConfigurationInner securityAdminConfiguration, - @HeaderParam("Accept") String accept, Context context); + @PathParam("configurationName") String configurationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") SecurityAdminConfigurationInner securityAdminConfiguration, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @QueryParam("force") Boolean force, - @HeaderParam("Accept") String accept, Context context); + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Lists all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 list of network manager security admin configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, Integer top, String skipToken) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, top, skipToken, 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 all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 a list of network manager security admin configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, Integer top, String skipToken, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, top, skipToken, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 list of network manager security admin configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - Integer top, String skipToken) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @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 list of network manager security admin configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { - final Integer top = null; - final String skipToken = null; - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 a list of network manager security admin configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - Integer top, String skipToken, Context context) { - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @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 list of network manager security admin configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName) { - final Integer top = null; - final String skipToken = null; - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken)); - } - - /** - * Lists all the network manager security admin configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 a list of network manager security admin configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - Integer top, String skipToken, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken, context)); - } - /** * Retrieves a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -363,7 +168,7 @@ public Mono> getWithResponseAsync(Stri /** * Retrieves a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param context The context to associate with this operation. @@ -406,7 +211,7 @@ private Mono> getWithResponseAsync(Str /** * Retrieves a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -424,7 +229,7 @@ public Mono getAsync(String resourceGroupName, /** * Retrieves a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param context The context to associate with this operation. @@ -442,7 +247,7 @@ public Response getWithResponse(String resource /** * Retrieves a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -459,7 +264,7 @@ public SecurityAdminConfigurationInner get(String resourceGroupName, String netw /** * Creates or updates a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param securityAdminConfiguration The security admin configuration to create or update. @@ -500,18 +305,19 @@ public Mono> createOrUpdateWithRespons securityAdminConfiguration.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - securityAdminConfiguration, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, contentType, + accept, securityAdminConfiguration, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param securityAdminConfiguration The security admin configuration to create or update. @@ -553,16 +359,18 @@ private Mono> createOrUpdateWithRespon securityAdminConfiguration.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, securityAdminConfiguration, accept, context); + resourceGroupName, networkManagerName, configurationName, contentType, accept, securityAdminConfiguration, + context); } /** * Creates or updates a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param securityAdminConfiguration The security admin configuration to create or update. @@ -582,7 +390,7 @@ public Mono createOrUpdateAsync(String resource /** * Creates or updates a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param securityAdminConfiguration The security admin configuration to create or update. @@ -603,7 +411,7 @@ public Response createOrUpdateWithResponse(Stri /** * Creates or updates a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param securityAdminConfiguration The security admin configuration to create or update. @@ -622,7 +430,7 @@ public SecurityAdminConfigurationInner createOrUpdate(String resourceGroupName, /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -656,18 +464,17 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext( context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, force, accept, context)) + resourceGroupName, networkManagerName, configurationName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -702,16 +509,15 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, force, accept, context); + networkManagerName, configurationName, force, context); } /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -733,7 +539,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -754,7 +560,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -778,7 +584,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -796,7 +602,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -817,7 +623,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -837,7 +643,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -855,7 +661,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -876,7 +682,7 @@ private Mono deleteAsync(String resourceGroupName, String networkManagerNa /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -892,7 +698,7 @@ public void delete(String resourceGroupName, String networkManagerName, String c /** * Deletes a network manager security admin configuration. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param configurationName The name of the network manager Security Configuration. * @param force Deletes the resource even if it is part of a deployed configuration. If the configuration has been @@ -908,6 +714,202 @@ public void delete(String resourceGroupName, String networkManagerName, String c deleteAsync(resourceGroupName, networkManagerName, configurationName, force, context).block(); } + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityAdminConfiguration list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, Integer top, String skipToken) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, top, skipToken, 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 all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityAdminConfiguration list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, Integer top, String skipToken, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, top, skipToken, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityAdminConfiguration list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + Integer top, String skipToken) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 SecurityAdminConfiguration list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { + final Integer top = null; + final String skipToken = null; + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityAdminConfiguration list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + Integer top, String skipToken, Context context) { + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 SecurityAdminConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName) { + final Integer top = null; + final String skipToken = null; + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken)); + } + + /** + * Lists all the network manager security admin configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityAdminConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + Integer top, String skipToken, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken, context)); + } + /** * Get the next page of items. * @@ -915,8 +917,8 @@ public void delete(String resourceGroupName, String networkManagerName, String c * @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 list of network manager security admin configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a SecurityAdminConfiguration list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -942,8 +944,8 @@ private Mono> listNextSinglePageA * @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 list of network manager security admin configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a SecurityAdminConfiguration list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java index 09d3258d3116..fcaea02adc59 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.SecurityPartnerProvidersClient; import com.azure.resourcemanager.network.fluent.models.SecurityPartnerProviderInner; -import com.azure.resourcemanager.network.models.SecurityPartnerProviderListResult; +import com.azure.resourcemanager.network.implementation.models.SecurityPartnerProviderListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,64 +73,62 @@ public final class SecurityPartnerProvidersClientImpl implements InnerSupportsGe * The interface defining all the services for NetworkManagementClientSecurityPartnerProviders to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientSecurityPartnerProviders") public interface SecurityPartnerProvidersService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("securityPartnerProviderName") String securityPartnerProviderName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("securityPartnerProviderName") String securityPartnerProviderName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("securityPartnerProviderName") String securityPartnerProviderName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") SecurityPartnerProviderInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") SecurityPartnerProviderInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("securityPartnerProviderName") String securityPartnerProviderName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("securityPartnerProviderName") String securityPartnerProviderName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/securityPartnerProviders") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -139,7 +137,7 @@ Mono> list(@HostParam("$host") Strin @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -147,222 +145,14 @@ Mono> listByResourceGroupNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String securityPartnerProviderName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (securityPartnerProviderName == null) { - return Mono.error( - new IllegalArgumentException("Parameter securityPartnerProviderName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - securityPartnerProviderName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String securityPartnerProviderName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (securityPartnerProviderName == null) { - return Mono.error( - new IllegalArgumentException("Parameter securityPartnerProviderName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, securityPartnerProviderName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String securityPartnerProviderName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, securityPartnerProviderName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String securityPartnerProviderName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, securityPartnerProviderName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 securityPartnerProviderName) { - return this.beginDeleteAsync(resourceGroupName, securityPartnerProviderName).getSyncPoller(); - } - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 securityPartnerProviderName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, securityPartnerProviderName, context).getSyncPoller(); - } - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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) - public Mono deleteAsync(String resourceGroupName, String securityPartnerProviderName) { - return beginDeleteAsync(resourceGroupName, securityPartnerProviderName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String securityPartnerProviderName, Context context) { - return beginDeleteAsync(resourceGroupName, securityPartnerProviderName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 securityPartnerProviderName) { - deleteAsync(resourceGroupName, securityPartnerProviderName).block(); - } - - /** - * Deletes the specified Security Partner Provider. - * - * @param resourceGroupName The name of the resource group. - * @param securityPartnerProviderName The name of the Security Partner Provider. - * @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 securityPartnerProviderName, Context context) { - deleteAsync(resourceGroupName, securityPartnerProviderName, context).block(); - } - /** * Gets the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -377,6 +167,10 @@ public Mono> getByResourceGroupWithRespon return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -385,22 +179,18 @@ public Mono> getByResourceGroupWithRespon return Mono.error( new IllegalArgumentException("Parameter securityPartnerProviderName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - securityPartnerProviderName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, securityPartnerProviderName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -416,6 +206,10 @@ private Mono> getByResourceGroupWithRespo return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -424,21 +218,17 @@ private Mono> getByResourceGroupWithRespo return Mono.error( new IllegalArgumentException("Parameter securityPartnerProviderName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, securityPartnerProviderName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, securityPartnerProviderName, accept, context); } /** * Gets the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -455,7 +245,7 @@ public Mono getByResourceGroupAsync(String resourc /** * Gets the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -472,7 +262,7 @@ public Response getByResourceGroupWithResponse(Str /** * Gets the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -488,7 +278,7 @@ public SecurityPartnerProviderInner getByResourceGroup(String resourceGroupName, /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -503,6 +293,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -511,27 +305,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter securityPartnerProviderName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - securityPartnerProviderName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, securityPartnerProviderName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @param context The context to associate with this operation. @@ -547,6 +339,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -555,26 +351,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter securityPartnerProviderName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, securityPartnerProviderName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, securityPartnerProviderName, contentType, accept, parameters, context); } /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -595,7 +388,7 @@ public PollerFlux, SecurityPartnerProvi /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @param context The context to associate with this operation. @@ -619,7 +412,7 @@ private PollerFlux, SecurityPartnerProv /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -637,7 +430,7 @@ public SyncPoller, SecurityPartnerProvi /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @param context The context to associate with this operation. @@ -657,7 +450,7 @@ public SyncPoller, SecurityPartnerProvi /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -675,7 +468,7 @@ public Mono createOrUpdateAsync(String resourceGro /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @param context The context to associate with this operation. @@ -694,7 +487,7 @@ private Mono createOrUpdateAsync(String resourceGr /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -711,7 +504,7 @@ public SecurityPartnerProviderInner createOrUpdate(String resourceGroupName, Str /** * Creates or updates the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to the create or update Security Partner Provider operation. * @param context The context to associate with this operation. @@ -729,7 +522,7 @@ public SecurityPartnerProviderInner createOrUpdate(String resourceGroupName, Str /** * Updates tags of a Security Partner Provider resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to update Security Partner Provider tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -744,6 +537,10 @@ public Mono> updateTagsWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -752,27 +549,25 @@ public Mono> updateTagsWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter securityPartnerProviderName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - securityPartnerProviderName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, securityPartnerProviderName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates tags of a Security Partner Provider resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to update Security Partner Provider tags. * @param context The context to associate with this operation. @@ -788,6 +583,10 @@ private Mono> updateTagsWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -796,26 +595,23 @@ private Mono> updateTagsWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter securityPartnerProviderName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, securityPartnerProviderName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, securityPartnerProviderName, contentType, accept, parameters, context); } /** * Updates tags of a Security Partner Provider resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to update Security Partner Provider tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -833,7 +629,7 @@ public Mono updateTagsAsync(String resourceGroupNa /** * Updates tags of a Security Partner Provider resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to update Security Partner Provider tags. * @param context The context to associate with this operation. @@ -851,7 +647,7 @@ public Response updateTagsWithResponse(String reso /** * Updates tags of a Security Partner Provider resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param securityPartnerProviderName The name of the Security Partner Provider. * @param parameters Parameters supplied to update Security Partner Provider tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -867,35 +663,241 @@ public SecurityPartnerProviderInner updateTags(String resourceGroupName, String } /** - * Lists all Security Partner Providers in a resource group. + * Deletes the specified Security Partner Provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. * @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 response for ListSecurityPartnerProviders API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String securityPartnerProviderName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } + if (securityPartnerProviderName == null) { + return Mono.error( + new IllegalArgumentException("Parameter securityPartnerProviderName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, securityPartnerProviderName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String securityPartnerProviderName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (securityPartnerProviderName == null) { + return Mono.error( + new IllegalArgumentException("Parameter securityPartnerProviderName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + securityPartnerProviderName, context); + } + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String securityPartnerProviderName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, securityPartnerProviderName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String securityPartnerProviderName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, securityPartnerProviderName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 securityPartnerProviderName) { + return this.beginDeleteAsync(resourceGroupName, securityPartnerProviderName).getSyncPoller(); + } + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 securityPartnerProviderName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, securityPartnerProviderName, context).getSyncPoller(); + } + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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) + public Mono deleteAsync(String resourceGroupName, String securityPartnerProviderName) { + return beginDeleteAsync(resourceGroupName, securityPartnerProviderName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String securityPartnerProviderName, Context context) { + return beginDeleteAsync(resourceGroupName, securityPartnerProviderName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 securityPartnerProviderName) { + deleteAsync(resourceGroupName, securityPartnerProviderName).block(); + } + + /** + * Deletes the specified Security Partner Provider. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @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 securityPartnerProviderName, Context context) { + deleteAsync(resourceGroupName, securityPartnerProviderName, context).block(); + } + + /** + * Lists all Security Partner Providers in a 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 SecurityPartnerProvider list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -904,12 +906,12 @@ public SecurityPartnerProviderInner updateTags(String resourceGroupName, String /** * Lists all Security Partner Providers in a resource group. * - * @param resourceGroupName The name of the 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 response for ListSecurityPartnerProviders API service call along with {@link PagedResponse} on successful + * @return the response of a SecurityPartnerProvider list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -919,20 +921,20 @@ public SecurityPartnerProviderInner updateTags(String resourceGroupName, String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -940,11 +942,11 @@ public SecurityPartnerProviderInner updateTags(String resourceGroupName, String /** * Lists all Security Partner Providers in a resource group. * - * @param resourceGroupName The name of the 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 response for ListSecurityPartnerProviders API service call as paginated response with {@link PagedFlux}. + * @return the response of a SecurityPartnerProvider list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listByResourceGroupAsync(String resourceGroupName) { @@ -955,12 +957,12 @@ public PagedFlux listByResourceGroupAsync(String r /** * Lists all Security Partner Providers in a resource group. * - * @param resourceGroupName The name of the 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 response for ListSecurityPartnerProviders API service call as paginated response with {@link PagedFlux}. + * @return the response of a SecurityPartnerProvider list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listByResourceGroupAsync(String resourceGroupName, @@ -972,11 +974,11 @@ private PagedFlux listByResourceGroupAsync(String /** * Lists all Security Partner Providers in a resource group. * - * @param resourceGroupName The name of the 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 response for ListSecurityPartnerProviders API service call as paginated response with + * @return the response of a SecurityPartnerProvider list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -987,12 +989,12 @@ public PagedIterable listByResourceGroup(String re /** * Lists all Security Partner Providers in a resource group. * - * @param resourceGroupName The name of the 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 response for ListSecurityPartnerProviders API service call as paginated response with + * @return the response of a SecurityPartnerProvider list operation as paginated response with * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -1116,7 +1118,7 @@ public PagedIterable list(Context context) { * @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 response for ListSecurityPartnerProviders API service call along with {@link PagedResponse} on successful + * @return the response of a SecurityPartnerProvider list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -1145,7 +1147,7 @@ private Mono> listByResourceGroupNex * @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 response for ListSecurityPartnerProviders API service call along with {@link PagedResponse} on successful + * @return the response of a SecurityPartnerProvider list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java index e3378f6f0ea4..7a351eb92310 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.SecurityRulesClient; import com.azure.resourcemanager.network.fluent.models.SecurityRuleInner; -import com.azure.resourcemanager.network.models.SecurityRuleListResult; +import com.azure.resourcemanager.network.implementation.models.SecurityRuleListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,49 +67,49 @@ public final class SecurityRulesClientImpl implements SecurityRulesClient { * The interface defining all the services for NetworkManagementClientSecurityRules to be used by the proxy service * to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientSecurityRules") public interface SecurityRulesService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkSecurityGroupName") String networkSecurityGroupName, - @PathParam("securityRuleName") String securityRuleName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityGroupName") String networkSecurityGroupName, - @PathParam("securityRuleName") String securityRuleName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("securityRuleName") String securityRuleName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityGroupName") String networkSecurityGroupName, - @PathParam("securityRuleName") String securityRuleName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") SecurityRuleInner securityRuleParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("securityRuleName") String securityRuleName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") SecurityRuleInner securityRuleParameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}") + @ExpectedResponses({ 200, 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("networkSecurityGroupName") String networkSecurityGroupName, + @PathParam("securityRuleName") String securityRuleName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkSecurityGroupName") String networkSecurityGroupName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -117,258 +117,31 @@ Mono> list(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified network security rule. + * Get the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @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}. + * @return the specified network security rule along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, + public Mono> getWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkSecurityGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); - } - if (securityRuleName == null) { - return Mono - .error(new IllegalArgumentException("Parameter securityRuleName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.delete(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, - securityRuleName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param securityRuleName The name of the security rule. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkSecurityGroupName, String securityRuleName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkSecurityGroupName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); - } - if (securityRuleName == null) { - return Mono - .error(new IllegalArgumentException("Parameter securityRuleName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, securityRuleName, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param securityRuleName The name of the security rule. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String networkSecurityGroupName, String securityRuleName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkSecurityGroupName, securityRuleName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param securityRuleName The name of the security rule. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String networkSecurityGroupName, String securityRuleName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkSecurityGroupName, securityRuleName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param securityRuleName The name of the security rule. - * @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 networkSecurityGroupName, - String securityRuleName) { - return this.beginDeleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName).getSyncPoller(); - } - - /** - * Deletes the specified network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param securityRuleName The name of the security rule. - * @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 networkSecurityGroupName, - String securityRuleName, Context context) { - return this.beginDeleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName, context) - .getSyncPoller(); - } - - /** - * Deletes the specified network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param securityRuleName The name of the security rule. - * @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) - public Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName) { - return beginDeleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param securityRuleName The name of the security rule. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, - Context context) { - return beginDeleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param securityRuleName The name of the security rule. - * @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 networkSecurityGroupName, String securityRuleName) { - deleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName).block(); - } - - /** - * Deletes the specified network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param securityRuleName The name of the security rule. - * @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 networkSecurityGroupName, String securityRuleName, - Context context) { - deleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName, context).block(); - } - - /** - * Get the specified network security rule. - * - * @param resourceGroupName The name of the resource group. - * @param networkSecurityGroupName The name of the network security group. - * @param securityRuleName The name of the security rule. - * @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 network security rule along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String networkSecurityGroupName, String securityRuleName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -381,22 +154,18 @@ public Mono> getWithResponseAsync(String resourceGro return Mono .error(new IllegalArgumentException("Parameter securityRuleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, - securityRuleName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityGroupName, securityRuleName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Get the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param context The context to associate with this operation. @@ -412,6 +181,10 @@ private Mono> getWithResponseAsync(String resourceGr return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -424,21 +197,17 @@ private Mono> getWithResponseAsync(String resourceGr return Mono .error(new IllegalArgumentException("Parameter securityRuleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, securityRuleName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityGroupName, securityRuleName, accept, context); } /** * Get the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -456,7 +225,7 @@ public Mono getAsync(String resourceGroupName, String network /** * Get the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param context The context to associate with this operation. @@ -474,7 +243,7 @@ public Response getWithResponse(String resourceGroupName, Str /** * Get the specified network security rule. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -490,7 +259,7 @@ public SecurityRuleInner get(String resourceGroupName, String networkSecurityGro /** * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. @@ -506,6 +275,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -518,10 +291,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter securityRuleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (securityRuleParameters == null) { return Mono.error( new IllegalArgumentException("Parameter securityRuleParameters is required and cannot be null.")); @@ -529,18 +298,19 @@ public Mono>> createOrUpdateWithResponseAsync(String r securityRuleParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - networkSecurityGroupName, securityRuleName, apiVersion, this.client.getSubscriptionId(), - securityRuleParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkSecurityGroupName, securityRuleName, + contentType, accept, securityRuleParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. @@ -558,6 +328,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -570,10 +344,6 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter securityRuleName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (securityRuleParameters == null) { return Mono.error( new IllegalArgumentException("Parameter securityRuleParameters is required and cannot be null.")); @@ -581,16 +351,18 @@ private Mono>> createOrUpdateWithResponseAsync(String securityRuleParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, - securityRuleName, apiVersion, this.client.getSubscriptionId(), securityRuleParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityGroupName, securityRuleName, contentType, accept, securityRuleParameters, + context); } /** * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. @@ -612,7 +384,7 @@ public PollerFlux, SecurityRuleInner> beginCreateO /** * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. @@ -636,7 +408,7 @@ private PollerFlux, SecurityRuleInner> beginCreate /** * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. @@ -657,7 +429,7 @@ public SyncPoller, SecurityRuleInner> beginCreateO /** * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. @@ -680,7 +452,7 @@ public SyncPoller, SecurityRuleInner> beginCreateO /** * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. @@ -699,7 +471,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. @@ -719,7 +491,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. @@ -738,7 +510,7 @@ public SecurityRuleInner createOrUpdate(String resourceGroupName, String network /** * Creates or updates a security rule in the specified network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param securityRuleName The name of the security rule. * @param securityRuleParameters Parameters supplied to the create or update network security rule operation. @@ -755,10 +527,239 @@ public SecurityRuleInner createOrUpdate(String resourceGroupName, String network securityRuleParameters, context).block(); } + /** + * Deletes the specified network security rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param securityRuleName The name of the security rule. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkSecurityGroupName, String securityRuleName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkSecurityGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); + } + if (securityRuleName == null) { + return Mono + .error(new IllegalArgumentException("Parameter securityRuleName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityGroupName, securityRuleName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified network security rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param securityRuleName The name of the security rule. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkSecurityGroupName, String securityRuleName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkSecurityGroupName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); + } + if (securityRuleName == null) { + return Mono + .error(new IllegalArgumentException("Parameter securityRuleName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityGroupName, securityRuleName, context); + } + + /** + * Deletes the specified network security rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param securityRuleName The name of the security rule. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String networkSecurityGroupName, String securityRuleName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkSecurityGroupName, securityRuleName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified network security rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param securityRuleName The name of the security rule. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String networkSecurityGroupName, String securityRuleName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkSecurityGroupName, securityRuleName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified network security rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param securityRuleName The name of the security rule. + * @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 networkSecurityGroupName, + String securityRuleName) { + return this.beginDeleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName).getSyncPoller(); + } + + /** + * Deletes the specified network security rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param securityRuleName The name of the security rule. + * @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 networkSecurityGroupName, + String securityRuleName, Context context) { + return this.beginDeleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName, context) + .getSyncPoller(); + } + + /** + * Deletes the specified network security rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param securityRuleName The name of the security rule. + * @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) + public Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName) { + return beginDeleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified network security rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param securityRuleName The name of the security rule. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, + Context context) { + return beginDeleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified network security rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param securityRuleName The name of the security rule. + * @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 networkSecurityGroupName, String securityRuleName) { + deleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName).block(); + } + + /** + * Deletes the specified network security rule. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkSecurityGroupName The name of the network security group. + * @param securityRuleName The name of the security rule. + * @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 networkSecurityGroupName, String securityRuleName, + Context context) { + deleteAsync(resourceGroupName, networkSecurityGroupName, securityRuleName, context).block(); + } + /** * Gets all security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -773,6 +774,10 @@ private Mono> listSinglePageAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -781,15 +786,11 @@ private Mono> listSinglePageAsync(String resour return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkSecurityGroupName, 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())); @@ -798,7 +799,7 @@ private Mono> listSinglePageAsync(String resour /** * Gets all security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -814,6 +815,10 @@ private Mono> listSinglePageAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -822,16 +827,12 @@ private Mono> listSinglePageAsync(String resour return Mono.error( new IllegalArgumentException("Parameter networkSecurityGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, networkSecurityGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkSecurityGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -839,7 +840,7 @@ private Mono> listSinglePageAsync(String resour /** * Gets all security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -855,7 +856,7 @@ public PagedFlux listAsync(String resourceGroupName, String n /** * Gets all security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -873,7 +874,7 @@ private PagedFlux listAsync(String resourceGroupName, String /** * Gets all security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -888,7 +889,7 @@ public PagedIterable list(String resourceGroupName, String ne /** * Gets all security rules in a network security group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkSecurityGroupName The name of the network security group. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java index f2663745b949..d2703dca2129 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.SecurityUserConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.SecurityUserConfigurationInner; -import com.azure.resourcemanager.network.models.SecurityUserConfigurationListResult; +import com.azure.resourcemanager.network.implementation.models.SecurityUserConfigurationListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,256 +67,61 @@ public final class SecurityUserConfigurationsClientImpl implements SecurityUserC * The interface defining all the services for NetworkManagementClientSecurityUserConfigurations to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientSecurityUserConfigurations") public interface SecurityUserConfigurationsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("configurationName") String configurationName, - @BodyParam("application/json") SecurityUserConfigurationInner securityUserConfiguration, - @HeaderParam("Accept") String accept, Context context); + @PathParam("configurationName") String configurationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") SecurityUserConfigurationInner securityUserConfiguration, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @QueryParam("force") Boolean force, - @HeaderParam("Accept") String accept, Context context); + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Lists all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 list of network manager security user configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, Integer top, String skipToken) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, top, skipToken, 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 all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 a list of network manager security user configurations along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, Integer top, String skipToken, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, top, skipToken, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 list of network manager security user configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - Integer top, String skipToken) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @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 list of network manager security user configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { - final Integer top = null; - final String skipToken = null; - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 a list of network manager security user configurations as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - Integer top, String skipToken, Context context) { - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @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 list of network manager security user configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName) { - final Integer top = null; - final String skipToken = null; - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken)); - } - - /** - * Lists all the network manager security user configurations in a network manager, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 a list of network manager security user configurations as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - Integer top, String skipToken, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken, context)); - } - /** * Retrieves a network manager security user configuration. * @@ -499,11 +304,12 @@ public Mono> createOrUpdateWithResponse securityUserConfiguration.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - securityUserConfiguration, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, contentType, + accept, securityUserConfiguration, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -552,10 +358,12 @@ private Mono> createOrUpdateWithRespons securityUserConfiguration.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, securityUserConfiguration, accept, context); + resourceGroupName, networkManagerName, configurationName, contentType, accept, securityUserConfiguration, + context); } /** @@ -654,11 +462,10 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext( context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, force, accept, context)) + resourceGroupName, networkManagerName, configurationName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -700,10 +507,9 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, force, accept, context); + networkManagerName, configurationName, force, context); } /** @@ -906,6 +712,202 @@ public void delete(String resourceGroupName, String networkManagerName, String c deleteAsync(resourceGroupName, networkManagerName, configurationName, force, context).block(); } + /** + * Lists all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserConfiguration list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, Integer top, String skipToken) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, top, skipToken, 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 all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserConfiguration list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, Integer top, String skipToken, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, top, skipToken, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserConfiguration list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + Integer top, String skipToken) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 SecurityUserConfiguration list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { + final Integer top = null; + final String skipToken = null; + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserConfiguration list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + Integer top, String skipToken, Context context) { + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, top, skipToken, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 SecurityUserConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName) { + final Integer top = null; + final String skipToken = null; + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken)); + } + + /** + * Lists all the network manager security user configurations in a network manager, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserConfiguration list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + Integer top, String skipToken, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, top, skipToken, context)); + } + /** * Get the next page of items. * @@ -913,7 +915,7 @@ public void delete(String resourceGroupName, String networkManagerName, String c * @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 list of network manager security user configurations along with {@link PagedResponse} on successful + * @return the response of a SecurityUserConfiguration list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -940,7 +942,7 @@ private Mono> listNextSinglePageAs * @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 list of network manager security user configurations along with {@link PagedResponse} on successful + * @return the response of a SecurityUserConfiguration list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java index 69b7fbd678a6..6d03cbada25a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.SecurityUserRuleCollectionsClient; import com.azure.resourcemanager.network.fluent.models.SecurityUserRuleCollectionInner; -import com.azure.resourcemanager.network.models.SecurityUserRuleCollectionListResult; +import com.azure.resourcemanager.network.implementation.models.SecurityUserRuleCollectionListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,25 +67,14 @@ public final class SecurityUserRuleCollectionsClientImpl implements SecurityUser * The interface defining all the services for NetworkManagementClientSecurityUserRuleCollections to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientSecurityUserRuleCollections") public interface SecurityUserRuleCollectionsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, - @PathParam("configurationName") String configurationName, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @@ -93,253 +82,50 @@ Mono> get(@HostParam("$host") String e @PathParam("ruleCollectionName") String ruleCollectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, - @PathParam("ruleCollectionName") String ruleCollectionName, - @BodyParam("application/json") SecurityUserRuleCollectionInner securityUserRuleCollection, - @HeaderParam("Accept") String accept, Context context); + @PathParam("ruleCollectionName") String ruleCollectionName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") SecurityUserRuleCollectionInner securityUserRuleCollection, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("force") Boolean force, - @HeaderParam("Accept") String accept, Context context); + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, + @PathParam("configurationName") String configurationName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Lists all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user configuration rule collection list result along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, Integer top, String skipToken) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, top, skipToken, 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 all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user configuration rule collection list result along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, Integer top, String skipToken, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, top, skipToken, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken) { - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @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 security user configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName) { - final Integer top = null; - final String skipToken = null; - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user configuration rule collection list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, - skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @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 security user configuration rule collection list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName) { - final Integer top = null; - final String skipToken = null; - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken)); - } - - /** - * Lists all the security user rule collections in a security configuration, in a paginated format. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user configuration rule collection list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, Integer top, String skipToken, Context context) { - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken, context)); - } - /** * Gets a network manager security user configuration rule collection. * @@ -543,11 +329,12 @@ public Mono> createOrUpdateWithRespons securityUserRuleCollection.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, securityUserRuleCollection, accept, context)) + ruleCollectionName, contentType, accept, securityUserRuleCollection, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -601,11 +388,12 @@ private Mono> createOrUpdateWithRespon securityUserRuleCollection.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, ruleCollectionName, securityUserRuleCollection, - accept, context); + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, contentType, accept, + securityUserRuleCollection, context); } /** @@ -714,11 +502,10 @@ public Mono>> deleteWithResponseAsync(String resourceG .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, force, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -766,10 +553,9 @@ private Mono>> deleteWithResponseAsync(String resource .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, ruleCollectionName, force, accept, context); + networkManagerName, configurationName, ruleCollectionName, force, context); } /** @@ -991,6 +777,221 @@ public void delete(String resourceGroupName, String networkManagerName, String c .block(); } + /** + * Lists all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRuleCollection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, Integer top, String skipToken) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, configurationName, top, skipToken, 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 all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRuleCollection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, Integer top, String skipToken, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, configurationName, top, skipToken, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken) { + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @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 SecurityUserRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName) { + final Integer top = null; + final String skipToken = null; + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRuleCollection list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, top, + skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @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 SecurityUserRuleCollection list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName) { + final Integer top = null; + final String skipToken = null; + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken)); + } + + /** + * Lists all the security user rule collections in a security configuration, in a paginated format. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRuleCollection list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, Integer top, String skipToken, Context context) { + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, configurationName, top, skipToken, context)); + } + /** * Get the next page of items. * @@ -998,8 +999,8 @@ public void delete(String resourceGroupName, String networkManagerName, String c * @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 security user configuration rule collection list result along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a SecurityUserRuleCollection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1025,8 +1026,8 @@ private Mono> listNextSinglePageA * @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 security user configuration rule collection list result along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a SecurityUserRuleCollection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java index 822294370561..ed47ee5639e1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.SecurityUserRulesClient; import com.azure.resourcemanager.network.fluent.models.SecurityUserRuleInner; -import com.azure.resourcemanager.network.models.SecurityUserRuleListResult; +import com.azure.resourcemanager.network.implementation.models.SecurityUserRuleListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,26 +67,14 @@ public final class SecurityUserRulesClientImpl implements SecurityUserRulesClien * The interface defining all the services for NetworkManagementClientSecurityUserRules to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientSecurityUserRules") public interface SecurityUserRulesService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, - @PathParam("configurationName") String configurationName, - @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("$top") Integer top, - @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @@ -94,267 +82,51 @@ Mono> get(@HostParam("$host") String endpoint, @PathParam("ruleCollectionName") String ruleCollectionName, @PathParam("ruleName") String ruleName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @PathParam("ruleCollectionName") String ruleCollectionName, @PathParam("ruleName") String ruleName, - @BodyParam("application/json") SecurityUserRuleInner securityUserRule, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") SecurityUserRuleInner securityUserRule, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("configurationName") String configurationName, @PathParam("ruleCollectionName") String ruleCollectionName, @PathParam("ruleName") String ruleName, - @QueryParam("force") Boolean force, @HeaderParam("Accept") String accept, Context context); + @QueryParam("force") Boolean force, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, + @PathParam("configurationName") String configurationName, + @PathParam("ruleCollectionName") String ruleCollectionName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Lists all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user rule list result along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - if (ruleCollectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken, 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 all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user rule list result along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (configurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); - } - if (ruleCollectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, ruleCollectionName, top, skipToken, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @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 security user rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName) { - final Integer top = null; - final String skipToken = null; - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user rule list result as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @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 security user rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName) { - final Integer top = null; - final String skipToken = null; - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken)); - } - - /** - * Lists all Security User Rules in a rule collection. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param configurationName The name of the network manager Security Configuration. - * @param ruleCollectionName The name of the network manager security Configuration rule collection. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response - * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies - * a starting point to use for subsequent calls. - * @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 security user rule list result as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, top, skipToken, context)); - } - /** * Gets a security user rule. * @@ -572,11 +344,12 @@ public Mono> createOrUpdateWithResponseAsync(Str securityUserRule.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, ruleName, securityUserRule, accept, context)) + ruleCollectionName, ruleName, contentType, accept, securityUserRule, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -633,11 +406,12 @@ private Mono> createOrUpdateWithResponseAsync(St securityUserRule.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, configurationName, ruleCollectionName, ruleName, securityUserRule, - accept, context); + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, ruleName, contentType, accept, + securityUserRule, context); } /** @@ -751,11 +525,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, networkManagerName, configurationName, - ruleCollectionName, ruleName, force, accept, context)) + ruleCollectionName, ruleName, force, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -807,10 +580,9 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter ruleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, configurationName, ruleCollectionName, ruleName, force, accept, context); + networkManagerName, configurationName, ruleCollectionName, ruleName, force, context); } /** @@ -1042,6 +814,235 @@ public void delete(String resourceGroupName, String networkManagerName, String c context).block(); } + /** + * Lists all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRule list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + if (ruleCollectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken, 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 all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRule list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (configurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter configurationName is required and cannot be null.")); + } + if (ruleCollectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ruleCollectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, configurationName, ruleCollectionName, top, skipToken, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRule list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @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 SecurityUserRule list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName) { + final Integer top = null; + final String skipToken = null; + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRule list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken, context), nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @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 SecurityUserRule list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName) { + final Integer top = null; + final String skipToken = null; + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, configurationName, ruleCollectionName, top, skipToken)); + } + + /** + * Lists all Security User Rules in a rule collection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param configurationName The name of the network manager Security Configuration. + * @param ruleCollectionName The name of the network manager security Configuration rule collection. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param skipToken SkipToken is only used if a previous operation returned a partial result. If a previous response + * contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies + * a starting point to use for subsequent calls. + * @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 SecurityUserRule list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, configurationName, + ruleCollectionName, top, skipToken, context)); + } + /** * Get the next page of items. * @@ -1049,7 +1050,8 @@ public void delete(String resourceGroupName, String networkManagerName, String c * @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 security user rule list result along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a SecurityUserRule list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1075,7 +1077,8 @@ private Mono> listNextSinglePageAsync(Strin * @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 security user rule list result along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a SecurityUserRule list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java index ed059010fbc9..027c7cd537e4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -54,24 +54,24 @@ public final class ServiceAssociationLinksClientImpl implements ServiceAssociati * The interface defining all the services for NetworkManagementClientServiceAssociationLinks to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientServiceAssociationLinks") public interface ServiceAssociationLinksService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/serviceAssociationLinks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @PathParam("subnetName") String subnetName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); } /** * Gets a list of service association links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -87,6 +87,10 @@ public Mono> listWithResponseAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -98,22 +102,18 @@ public Mono> listWithResponseAs if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - subnetName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, subnetName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets a list of service association links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param context The context to associate with this operation. @@ -130,6 +130,10 @@ private Mono> listWithResponseA return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -141,21 +145,17 @@ private Mono> listWithResponseA if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, subnetName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, subnetName, accept, context); } /** * Gets a list of service association links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -173,7 +173,7 @@ public Mono listAsync(String resourceGro /** * Gets a list of service association links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param context The context to associate with this operation. @@ -191,7 +191,7 @@ public Response listWithResponse(String /** * Gets a list of service association links for a subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java index d114b2df70d2..2e809e832ffa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ServiceEndpointPoliciesClient; import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyInner; -import com.azure.resourcemanager.network.models.ServiceEndpointPolicyListResult; +import com.azure.resourcemanager.network.implementation.models.ServiceEndpointPolicyListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -73,295 +73,86 @@ public final class ServiceEndpointPoliciesClientImpl implements InnerSupportsGet * The interface defining all the services for NetworkManagementClientServiceEndpointPolicies to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientServiceEndpointPolicies") public interface ServiceEndpointPoliciesService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceEndpointPolicyName") String serviceEndpointPolicyName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceEndpointPolicyName") String serviceEndpointPolicyName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceEndpointPolicyName") String serviceEndpointPolicyName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ServiceEndpointPolicyInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ServiceEndpointPolicyInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceEndpointPolicyName") String serviceEndpointPolicyName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("serviceEndpointPolicyName") String serviceEndpointPolicyName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/serviceEndpointPolicies") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + 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) - Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String serviceEndpointPolicyName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (serviceEndpointPolicyName == null) { - return Mono.error( - new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - serviceEndpointPolicyName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String serviceEndpointPolicyName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (serviceEndpointPolicyName == null) { - return Mono.error( - new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, serviceEndpointPolicyName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String serviceEndpointPolicyName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceEndpointPolicyName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String serviceEndpointPolicyName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 serviceEndpointPolicyName) { - return this.beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName).getSyncPoller(); - } - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 serviceEndpointPolicyName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, context).getSyncPoller(); - } - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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) - public Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName) { - return beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName, Context context) { - return beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 serviceEndpointPolicyName) { - deleteAsync(resourceGroupName, serviceEndpointPolicyName).block(); - } - - /** - * Deletes the specified service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @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 serviceEndpointPolicyName, Context context) { - deleteAsync(resourceGroupName, serviceEndpointPolicyName, context).block(); - } - /** * Gets the specified service Endpoint Policies in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -377,6 +168,10 @@ public Mono> getByResourceGroupWithResponse return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -385,22 +180,18 @@ public Mono> getByResourceGroupWithResponse return Mono.error( new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - serviceEndpointPolicyName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceEndpointPolicyName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified service Endpoint Policies in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -417,6 +208,10 @@ private Mono> getByResourceGroupWithRespons return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -425,21 +220,17 @@ private Mono> getByResourceGroupWithRespons return Mono.error( new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, serviceEndpointPolicyName, - apiVersion, this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceEndpointPolicyName, expand, accept, context); } /** * Gets the specified service Endpoint Policies in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -458,7 +249,7 @@ public Mono getByResourceGroupAsync(String resourceG /** * Gets the specified service Endpoint Policies in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -477,7 +268,7 @@ public Response getByResourceGroupWithResponse(Strin /** * Gets the specified service Endpoint Policies in a specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -494,7 +285,7 @@ public ServiceEndpointPolicyInner getByResourceGroup(String resourceGroupName, S /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -509,6 +300,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -517,27 +312,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - serviceEndpointPolicyName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceEndpointPolicyName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @param context The context to associate with this operation. @@ -553,6 +346,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -561,26 +358,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, serviceEndpointPolicyName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceEndpointPolicyName, contentType, accept, parameters, context); } /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -601,7 +395,7 @@ public PollerFlux, ServiceEndpointPolicyI /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @param context The context to associate with this operation. @@ -624,7 +418,7 @@ private PollerFlux, ServiceEndpointPolicy /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -641,7 +435,7 @@ public SyncPoller, ServiceEndpointPolicyI /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @param context The context to associate with this operation. @@ -661,7 +455,7 @@ public SyncPoller, ServiceEndpointPolicyI /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -679,7 +473,7 @@ public Mono createOrUpdateAsync(String resourceGroup /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @param context The context to associate with this operation. @@ -698,7 +492,7 @@ private Mono createOrUpdateAsync(String resourceGrou /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -715,7 +509,7 @@ public ServiceEndpointPolicyInner createOrUpdate(String resourceGroupName, Strin /** * Creates or updates a service Endpoint Policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to the create or update service endpoint policy operation. * @param context The context to associate with this operation. @@ -733,7 +527,7 @@ public ServiceEndpointPolicyInner createOrUpdate(String resourceGroupName, Strin /** * Updates tags of a service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. * @param parameters Parameters supplied to update service endpoint policy tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -748,6 +542,10 @@ public Mono> updateTagsWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -756,130 +554,337 @@ public Mono> updateTagsWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceEndpointPolicyName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Updates tags of a service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param parameters Parameters supplied to update service endpoint policy tags. + * @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 service End point policy resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String serviceEndpointPolicyName, TagsObject parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (serviceEndpointPolicyName == null) { + return Mono.error( + new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); + } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceEndpointPolicyName, contentType, accept, parameters, context); + } + + /** + * Updates tags of a service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param parameters Parameters supplied to update service endpoint policy tags. + * @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 service End point policy resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateTagsAsync(String resourceGroupName, String serviceEndpointPolicyName, + TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Updates tags of a service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param parameters Parameters supplied to update service endpoint policy tags. + * @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 service End point policy resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateTagsWithResponse(String resourceGroupName, + String serviceEndpointPolicyName, TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, parameters, context).block(); + } + + /** + * Updates tags of a service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param parameters Parameters supplied to update service endpoint policy tags. + * @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 service End point policy resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ServiceEndpointPolicyInner updateTags(String resourceGroupName, String serviceEndpointPolicyName, + TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, serviceEndpointPolicyName, parameters, Context.NONE) + .getValue(); + } + + /** + * Deletes the specified service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String serviceEndpointPolicyName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (serviceEndpointPolicyName == null) { + return Mono.error( + new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - serviceEndpointPolicyName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceEndpointPolicyName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Updates tags of a service endpoint policy. + * Deletes the specified service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String serviceEndpointPolicyName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (serviceEndpointPolicyName == null) { + return Mono.error( + new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + serviceEndpointPolicyName, context); + } + + /** + * Deletes the specified service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String serviceEndpointPolicyName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceEndpointPolicyName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String serviceEndpointPolicyName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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 serviceEndpointPolicyName) { + return this.beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName).getSyncPoller(); + } + + /** + * Deletes the specified service endpoint policy. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param parameters Parameters supplied to update service endpoint policy tags. * @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 service End point policy resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String serviceEndpointPolicyName, TagsObject parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (serviceEndpointPolicyName == null) { - return Mono.error( - new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, serviceEndpointPolicyName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String serviceEndpointPolicyName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, context).getSyncPoller(); } /** - * Updates tags of a service endpoint policy. + * Deletes the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param parameters Parameters supplied to update service endpoint policy tags. * @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 service End point policy resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String serviceEndpointPolicyName, - TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName) { + return beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates tags of a service endpoint policy. + * Deletes the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param parameters Parameters supplied to update service endpoint policy tags. * @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 service End point policy resource along with {@link Response}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, - String serviceEndpointPolicyName, TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, parameters, context).block(); + private Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName, Context context) { + return beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates tags of a service endpoint policy. + * Deletes the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param parameters Parameters supplied to update service endpoint policy tags. * @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 service End point policy resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ServiceEndpointPolicyInner updateTags(String resourceGroupName, String serviceEndpointPolicyName, - TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, serviceEndpointPolicyName, parameters, Context.NONE) - .getValue(); + public void delete(String resourceGroupName, String serviceEndpointPolicyName) { + deleteAsync(resourceGroupName, serviceEndpointPolicyName).block(); } /** - * Gets all the service endpoint policies in a subscription. + * Deletes the specified service endpoint policy. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @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 all the service endpoint policies in a subscription along with {@link PagedResponse} on successful + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String serviceEndpointPolicyName, Context context) { + deleteAsync(resourceGroupName, serviceEndpointPolicyName, context).block(); + } + + /** + * Gets all service endpoint Policies in a 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 all service endpoint Policies in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -888,28 +893,34 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Gets all the service endpoint policies in a subscription. + * Gets all service endpoint Policies in a 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 all the service endpoint policies in a subscription along with {@link PagedResponse} on successful + * @return all service endpoint Policies in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -918,88 +929,94 @@ private Mono> listSinglePageAsync(Cont return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all the service endpoint policies in a subscription. + * Gets all service endpoint Policies in a 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 all the service endpoint policies in a subscription as paginated response with {@link PagedFlux}. + * @return all service endpoint Policies in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); } /** - * Gets all the service endpoint policies in a subscription. + * Gets all service endpoint Policies in a 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 all the service endpoint policies in a subscription as paginated response with {@link PagedFlux}. + * @return all service endpoint Policies in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); } /** - * Gets all the service endpoint policies in a subscription. + * Gets all service endpoint Policies in a 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 all the service endpoint policies in a subscription as paginated response with {@link PagedIterable}. + * @return all service endpoint Policies in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Gets all the service endpoint policies in a subscription. + * Gets all service endpoint Policies in a 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 all the service endpoint policies in a subscription as paginated response with {@link PagedIterable}. + * @return all service endpoint Policies in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Gets all service endpoint Policies in a resource group. + * Gets all the service endpoint policies in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all service endpoint Policies in a resource group along with {@link PagedResponse} on successful + * @return all the service endpoint policies in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1007,35 +1024,29 @@ public PagedIterable list(Context context) { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Gets all service endpoint Policies in a resource group. + * Gets all the service endpoint policies in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all service endpoint Policies in a resource group along with {@link PagedResponse} on successful + * @return all the service endpoint policies in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1043,71 +1054,62 @@ private Mono> listByResourceGroupSingl final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all service endpoint Policies in a resource group. + * Gets all the service endpoint policies in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all service endpoint Policies in a resource group as paginated response with {@link PagedFlux}. + * @return all the service endpoint policies in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets all service endpoint Policies in a resource group. + * Gets all the service endpoint policies in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all service endpoint Policies in a resource group as paginated response with {@link PagedFlux}. + * @return all the service endpoint policies in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets all service endpoint Policies in a resource group. + * Gets all the service endpoint policies in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all service endpoint Policies in a resource group as paginated response with {@link PagedIterable}. + * @return all the service endpoint policies in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + public PagedIterable list() { + return new PagedIterable<>(listAsync()); } /** - * Gets all service endpoint Policies in a resource group. + * Gets all the service endpoint policies in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all service endpoint Policies in a resource group as paginated response with {@link PagedIterable}. + * @return all the service endpoint policies in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** @@ -1117,11 +1119,11 @@ public PagedIterable listByResourceGroup(String reso * @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 all the service endpoint policies in a subscription along with {@link PagedResponse} on successful + * @return all service endpoint Policies in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1130,7 +1132,9 @@ private Mono> listNextSinglePageAsync( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + 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())); @@ -1144,11 +1148,12 @@ private Mono> listNextSinglePageAsync( * @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 all the service endpoint policies in a subscription along with {@link PagedResponse} on successful + * @return all service endpoint Policies in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, + Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1158,7 +1163,7 @@ private Mono> listNextSinglePageAsync( } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return 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)); } @@ -1170,11 +1175,11 @@ private Mono> listNextSinglePageAsync( * @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 all service endpoint Policies in a resource group along with {@link PagedResponse} on successful + * @return all the service endpoint policies in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1183,9 +1188,7 @@ private Mono> listByResourceGroupNextS new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1199,12 +1202,11 @@ private Mono> listByResourceGroupNextS * @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 all service endpoint Policies in a resource group along with {@link PagedResponse} on successful + * @return all the service endpoint policies in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, - Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1214,7 +1216,7 @@ private Mono> listByResourceGroupNextS } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java index bd4058c63400..62fd62621fef 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ServiceEndpointPolicyDefinitionsClient; import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyDefinitionInner; -import com.azure.resourcemanager.network.models.ServiceEndpointPolicyDefinitionListResult; +import com.azure.resourcemanager.network.implementation.models.ServiceEndpointPolicyDefinitionListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,51 +67,52 @@ public final class ServiceEndpointPolicyDefinitionsClientImpl implements Service * The interface defining all the services for NetworkManagementClientServiceEndpointPolicyDefinitions to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientServiceEndpointPolicyDefinitions") public interface ServiceEndpointPolicyDefinitionsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceEndpointPolicyName") String serviceEndpointPolicyName, - @PathParam("serviceEndpointPolicyDefinitionName") String serviceEndpointPolicyDefinitionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceEndpointPolicyName") String serviceEndpointPolicyName, @PathParam("serviceEndpointPolicyDefinitionName") String serviceEndpointPolicyDefinitionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceEndpointPolicyName") String serviceEndpointPolicyName, @PathParam("serviceEndpointPolicyDefinitionName") String serviceEndpointPolicyDefinitionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") ServiceEndpointPolicyDefinitionInner serviceEndpointPolicyDefinitions, - @HeaderParam("Accept") String accept, Context context); + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}") + @ExpectedResponses({ 200, 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("serviceEndpointPolicyName") String serviceEndpointPolicyName, + @PathParam("serviceEndpointPolicyDefinitionName") String serviceEndpointPolicyDefinitionName, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroup( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("serviceEndpointPolicyName") String serviceEndpointPolicyName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -119,72 +120,33 @@ Mono> listByResourceGroup( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified ServiceEndpoint policy definitions. + * Get a ServiceEndpointPolicyDefinition. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @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}. + * @return a ServiceEndpointPolicyDefinition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, + public Mono> getWithResponseAsync(String resourceGroupName, String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (serviceEndpointPolicyName == null) { - return Mono.error( - new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); - } - if (serviceEndpointPolicyDefinitionName == null) { - return Mono.error(new IllegalArgumentException( - "Parameter serviceEndpointPolicyDefinitionName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.delete(this.client.getEndpoint(), resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -197,224 +159,26 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter serviceEndpointPolicyDefinitionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName, apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName) { - return this.beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName) - .getSyncPoller(); - } - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName, Context context) { - return this - .beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, - context) - .getSyncPoller(); - } - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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) - public Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName) { - return beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName) - .last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName, Context context) { - return beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, - context).last().flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName) { - deleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName).block(); - } - - /** - * Deletes the specified ServiceEndpoint policy definitions. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the Service Endpoint Policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition. - * @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 serviceEndpointPolicyName, - String serviceEndpointPolicyDefinitionName, Context context) { - deleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, context).block(); - } - - /** - * Get the specified service endpoint policy definitions from service endpoint policy. - * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. - * @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 service endpoint policy definitions from service endpoint policy along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, - String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (serviceEndpointPolicyName == null) { - return Mono.error( - new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); - } - if (serviceEndpointPolicyDefinitionName == null) { - return Mono.error(new IllegalArgumentException( - "Parameter serviceEndpointPolicyDefinitionName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Get the specified service endpoint policy definitions from service endpoint policy. + * Get a ServiceEndpointPolicyDefinition. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @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 service endpoint policy definitions from service endpoint policy along with - * {@link Response} on successful completion of {@link Mono}. + * @return a ServiceEndpointPolicyDefinition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync(String resourceGroupName, @@ -423,6 +187,10 @@ private Mono> getWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -435,28 +203,24 @@ private Mono> getWithResponseAsyn return Mono.error(new IllegalArgumentException( "Parameter serviceEndpointPolicyDefinitionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, accept, context); } /** - * Get the specified service endpoint policy definitions from service endpoint policy. + * Get a ServiceEndpointPolicyDefinition. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @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 service endpoint policy definitions from service endpoint policy on successful completion - * of {@link Mono}. + * @return a ServiceEndpointPolicyDefinition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync(String resourceGroupName, @@ -466,17 +230,17 @@ public Mono getAsync(String resourceGroupN } /** - * Get the specified service endpoint policy definitions from service endpoint policy. + * Get a ServiceEndpointPolicyDefinition. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @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 service endpoint policy definitions from service endpoint policy along with - * {@link Response}. + * @return a ServiceEndpointPolicyDefinition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse(String resourceGroupName, @@ -486,15 +250,16 @@ public Response getWithResponse(String res } /** - * Get the specified service endpoint policy definitions from service endpoint policy. + * Get a ServiceEndpointPolicyDefinition. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @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 service endpoint policy definitions from service endpoint policy. + * @return a ServiceEndpointPolicyDefinition. */ @ServiceMethod(returns = ReturnType.SINGLE) public ServiceEndpointPolicyDefinitionInner get(String resourceGroupName, String serviceEndpointPolicyName, @@ -506,9 +271,10 @@ public ServiceEndpointPolicyDefinitionInner get(String resourceGroupName, String /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -524,6 +290,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -536,10 +306,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error(new IllegalArgumentException( "Parameter serviceEndpointPolicyDefinitionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (serviceEndpointPolicyDefinitions == null) { return Mono.error(new IllegalArgumentException( "Parameter serviceEndpointPolicyDefinitions is required and cannot be null.")); @@ -547,20 +313,22 @@ public Mono>> createOrUpdateWithResponseAsync(String r serviceEndpointPolicyDefinitions.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, apiVersion, - this.client.getSubscriptionId(), serviceEndpointPolicyDefinitions, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceEndpointPolicyName, + serviceEndpointPolicyDefinitionName, contentType, accept, serviceEndpointPolicyDefinitions, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @param context The context to associate with this operation. @@ -577,6 +345,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -589,10 +361,6 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error(new IllegalArgumentException( "Parameter serviceEndpointPolicyDefinitionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (serviceEndpointPolicyDefinitions == null) { return Mono.error(new IllegalArgumentException( "Parameter serviceEndpointPolicyDefinitions is required and cannot be null.")); @@ -600,19 +368,21 @@ private Mono>> createOrUpdateWithResponseAsync(String serviceEndpointPolicyDefinitions.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, serviceEndpointPolicyName, - serviceEndpointPolicyDefinitionName, apiVersion, this.client.getSubscriptionId(), - serviceEndpointPolicyDefinitions, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, contentType, accept, + serviceEndpointPolicyDefinitions, context); } /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -635,9 +405,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @param context The context to associate with this operation. @@ -662,9 +433,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -686,9 +458,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @param context The context to associate with this operation. @@ -711,9 +484,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -733,9 +507,10 @@ public Mono createOrUpdateAsync(String res /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @param context The context to associate with this operation. @@ -756,9 +531,10 @@ private Mono createOrUpdateAsync(String re /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -777,9 +553,10 @@ public ServiceEndpointPolicyDefinitionInner createOrUpdate(String resourceGroupN /** * Creates or updates a service endpoint policy definition in the specified service endpoint policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceEndpointPolicyName The name of the service endpoint policy. - * @param serviceEndpointPolicyDefinitionName The name of the service endpoint policy definition name. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. * @param serviceEndpointPolicyDefinitions Parameters supplied to the create or update service endpoint policy * operation. * @param context The context to associate with this operation. @@ -796,11 +573,256 @@ public ServiceEndpointPolicyDefinitionInner createOrUpdate(String resourceGroupN serviceEndpointPolicyDefinitions, context).block(); } + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (serviceEndpointPolicyName == null) { + return Mono.error( + new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); + } + if (serviceEndpointPolicyDefinitionName == null) { + return Mono.error(new IllegalArgumentException( + "Parameter serviceEndpointPolicyDefinitionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (serviceEndpointPolicyName == null) { + return Mono.error( + new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); + } + if (serviceEndpointPolicyDefinitionName == null) { + return Mono.error(new IllegalArgumentException( + "Parameter serviceEndpointPolicyDefinitionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, context); + } + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, + serviceEndpointPolicyDefinitionName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String serviceEndpointPolicyName, String serviceEndpointPolicyDefinitionName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceEndpointPolicyName, + serviceEndpointPolicyDefinitionName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @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 serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName) { + return this.beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName) + .getSyncPoller(); + } + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @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 serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName, Context context) { + return this + .beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, + context) + .getSyncPoller(); + } + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @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) + public Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName) { + return beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName, Context context) { + return beginDeleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, + context).last().flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @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 serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName) { + deleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName).block(); + } + + /** + * Deletes the specified ServiceEndpoint policy definitions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. + * @param serviceEndpointPolicyDefinitionName The name of the resource that is unique within a resource group. This + * name can be used to access the resource. + * @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 serviceEndpointPolicyName, + String serviceEndpointPolicyDefinitionName, Context context) { + deleteAsync(resourceGroupName, serviceEndpointPolicyName, serviceEndpointPolicyDefinitionName, context).block(); + } + /** * Gets all service endpoint policy definitions in a service end point policy. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. * @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. @@ -814,6 +836,10 @@ public ServiceEndpointPolicyDefinitionInner createOrUpdate(String resourceGroupN return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -822,15 +848,11 @@ public ServiceEndpointPolicyDefinitionInner createOrUpdate(String resourceGroupN return Mono.error( new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - serviceEndpointPolicyName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceEndpointPolicyName, 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())); @@ -839,8 +861,8 @@ public ServiceEndpointPolicyDefinitionInner createOrUpdate(String resourceGroupN /** * Gets all service endpoint policy definitions in a service end point policy. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. * @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. @@ -855,6 +877,10 @@ private Mono> listByResource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -863,16 +889,12 @@ private Mono> listByResource return Mono.error( new IllegalArgumentException("Parameter serviceEndpointPolicyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, serviceEndpointPolicyName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceEndpointPolicyName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -880,8 +902,8 @@ private Mono> listByResource /** * Gets all service endpoint policy definitions in a service end point policy. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. * @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. @@ -898,8 +920,8 @@ public PagedFlux listByResourceGroupAsync( /** * Gets all service endpoint policy definitions in a service end point policy. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. * @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. @@ -918,8 +940,8 @@ private PagedFlux listByResourceGroupAsync /** * Gets all service endpoint policy definitions in a service end point policy. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. * @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. @@ -935,8 +957,8 @@ public PagedIterable listByResourceGroup(S /** * Gets all service endpoint policy definitions in a service end point policy. * - * @param resourceGroupName The name of the resource group. - * @param serviceEndpointPolicyName The name of the service endpoint policy name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceEndpointPolicyName The name of the service endpoint policy. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java index 64b3e8f8050d..2aedf20b4d90 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -37,9 +37,10 @@ import com.azure.resourcemanager.network.fluent.models.ServiceGatewayAddressLocationResponseInner; import com.azure.resourcemanager.network.fluent.models.ServiceGatewayInner; import com.azure.resourcemanager.network.fluent.models.ServiceGatewayServiceInner; -import com.azure.resourcemanager.network.models.GetServiceGatewayAddressLocationsResult; -import com.azure.resourcemanager.network.models.GetServiceGatewayServicesResult; -import com.azure.resourcemanager.network.models.ServiceGatewayListResult; +import com.azure.resourcemanager.network.implementation.models.GetServiceGatewayAddressLocationsResult; +import com.azure.resourcemanager.network.implementation.models.GetServiceGatewayServicesResult; +import com.azure.resourcemanager.network.implementation.models.ServiceGatewayListResult; +import com.azure.resourcemanager.network.models.NoContentResponse; import com.azure.resourcemanager.network.models.ServiceGatewayUpdateAddressLocationsRequest; import com.azure.resourcemanager.network.models.ServiceGatewayUpdateServicesRequest; import com.azure.resourcemanager.network.models.TagsObject; @@ -80,118 +81,120 @@ public final class ServiceGatewaysClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceGatewayName") String serviceGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceGatewayName") String serviceGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("serviceGatewayName") String serviceGatewayName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceGatewayName") String serviceGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ServiceGatewayInner parameters, @HeaderParam("Accept") String accept, + @PathParam("serviceGatewayName") String serviceGatewayName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") ServiceGatewayInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceGatewayName") String serviceGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("serviceGatewayName") String serviceGatewayName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/serviceGateways") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}") + @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("serviceGatewayName") String serviceGatewayName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/serviceGateways") + @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({ "Accept: application/json;q=0.9" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}/updateAddressLocations") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateAddressLocations(@HostParam("$host") String endpoint, + Mono>> updateAddressLocations(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceGatewayName") String serviceGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ServiceGatewayUpdateAddressLocationsRequest parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("serviceGatewayName") String serviceGatewayName, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") ServiceGatewayUpdateAddressLocationsRequest parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}/updateServices") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateServices(@HostParam("$host") String endpoint, + Mono>> updateServices(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceGatewayName") String serviceGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ServiceGatewayUpdateServicesRequest parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("serviceGatewayName") String serviceGatewayName, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") ServiceGatewayUpdateServicesRequest parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}/addressLocations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getAddressLocations(@HostParam("$host") String endpoint, + Mono> getAddressLocations( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceGatewayName") String serviceGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("serviceGatewayName") String serviceGatewayName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}/services") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getServices(@HostParam("$host") String endpoint, + Mono> getServices(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("serviceGatewayName") String serviceGatewayName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("serviceGatewayName") String serviceGatewayName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @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> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -199,7 +202,7 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getAddressLocationsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -207,65 +210,31 @@ Mono> getAddressLocationsNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getServicesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified service gateway. + * Gets the specified service gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceGatewayName The name of the service gateway. * @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}. + * @return the specified service gateway along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String serviceGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (serviceGatewayName == null) { - return Mono - .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, serviceGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String serviceGatewayName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -274,182 +243,11 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, serviceGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceGatewayName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceGatewayName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 serviceGatewayName) { - return this.beginDeleteAsync(resourceGroupName, serviceGatewayName).getSyncPoller(); - } - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 serviceGatewayName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, serviceGatewayName, context).getSyncPoller(); - } - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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) - public Mono deleteAsync(String resourceGroupName, String serviceGatewayName) { - return beginDeleteAsync(resourceGroupName, serviceGatewayName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String serviceGatewayName, Context context) { - return beginDeleteAsync(resourceGroupName, serviceGatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 serviceGatewayName) { - deleteAsync(resourceGroupName, serviceGatewayName).block(); - } - - /** - * Deletes the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 serviceGatewayName, Context context) { - deleteAsync(resourceGroupName, serviceGatewayName, context).block(); - } - - /** - * Gets the specified service gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serviceGatewayName The name of the service gateway. - * @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 service gateway along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String serviceGatewayName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (serviceGatewayName == null) { - return Mono - .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - serviceGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceGatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -471,6 +269,10 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -479,15 +281,11 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, serviceGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceGatewayName, accept, context); } /** @@ -556,6 +354,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -564,20 +366,18 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - serviceGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceGatewayName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -600,6 +400,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -608,20 +412,17 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, serviceGatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceGatewayName, contentType, accept, parameters, context); } /** @@ -792,6 +593,10 @@ public Mono> updateTagsWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -800,20 +605,18 @@ public Mono> updateTagsWithResponseAsync(String re return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, serviceGatewayName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceGatewayName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -836,6 +639,10 @@ private Mono> updateTagsWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -844,20 +651,17 @@ private Mono> updateTagsWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, serviceGatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceGatewayName, contentType, accept, parameters, context); } /** @@ -913,15 +717,220 @@ public ServiceGatewayInner updateTags(String resourceGroupName, String serviceGa } /** - * Gets all the service gateways in a subscription. + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String serviceGatewayName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (serviceGatewayName == null) { + return Mono + .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceGatewayName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String serviceGatewayName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (serviceGatewayName == null) { + return Mono + .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + serviceGatewayName, context); + } + + /** + * Deletes the specified service gateway. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceGatewayName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceGatewayName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String serviceGatewayName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, serviceGatewayName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 serviceGatewayName) { + return this.beginDeleteAsync(resourceGroupName, serviceGatewayName).getSyncPoller(); + } + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 serviceGatewayName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, serviceGatewayName, context).getSyncPoller(); + } + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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) + public Mono deleteAsync(String resourceGroupName, String serviceGatewayName) { + return beginDeleteAsync(resourceGroupName, serviceGatewayName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String serviceGatewayName, Context context) { + return beginDeleteAsync(resourceGroupName, serviceGatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 serviceGatewayName) { + deleteAsync(resourceGroupName, serviceGatewayName).block(); + } + + /** + * Deletes the specified service gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serviceGatewayName The name of the service gateway. + * @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 serviceGatewayName, Context context) { + deleteAsync(resourceGroupName, serviceGatewayName, context).block(); + } + + /** + * Gets all the service gateways in a 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 all the service gateways in a subscription along with {@link PagedResponse} on successful completion of + * @return all the service gateways in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -930,28 +939,34 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Gets all the service gateways in a subscription. + * Gets all the service gateways in a 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 all the service gateways in a subscription along with {@link PagedResponse} on successful completion of + * @return all the service gateways in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -960,87 +975,94 @@ private Mono> listSinglePageAsync(Context con return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all the service gateways in a subscription. + * Gets all the service gateways in a 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 all the service gateways in a subscription as paginated response with {@link PagedFlux}. + * @return all the service gateways in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets all the service gateways in a subscription. + * Gets all the service gateways in a 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 all the service gateways in a subscription as paginated response with {@link PagedFlux}. + * @return all the service gateways in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets all the service gateways in a subscription. + * Gets all the service gateways in a 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 all the service gateways in a subscription as paginated response with {@link PagedIterable}. + * @return all the service gateways in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Gets all the service gateways in a subscription. + * Gets all the service gateways in a 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 all the service gateways in a subscription as paginated response with {@link PagedIterable}. + * @return all the service gateways in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Gets all the service gateways in a resource group. + * Gets all the service gateways in a subscription. * - * @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 all the service gateways in a resource group along with {@link PagedResponse} on successful completion of + * @return all the service gateways in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1048,35 +1070,29 @@ private Mono> listByResourceGroupSinglePageAs final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Gets all the service gateways in a resource group. + * Gets all the service gateways in a subscription. * - * @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 all the service gateways in a resource group along with {@link PagedResponse} on successful completion of + * @return all the service gateways in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1084,71 +1100,62 @@ private Mono> listByResourceGroupSinglePageAs final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all the service gateways in a resource group. + * Gets all the service gateways in a subscription. * - * @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 all the service gateways in a resource group as paginated response with {@link PagedFlux}. + * @return all the service gateways in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); } /** - * Gets all the service gateways in a resource group. + * Gets all the service gateways in a subscription. * - * @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 all the service gateways in a resource group as paginated response with {@link PagedFlux}. + * @return all the service gateways in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); } /** - * Gets all the service gateways in a resource group. + * Gets all the service gateways in a subscription. * - * @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 all the service gateways in a resource group as paginated response with {@link PagedIterable}. + * @return all the service gateways in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + public PagedIterable list() { + return new PagedIterable<>(listAsync()); } /** - * Gets all the service gateways in a resource group. + * Gets all the service gateways in a subscription. * - * @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 all the service gateways in a resource group as paginated response with {@link PagedIterable}. + * @return all the service gateways in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** @@ -1180,6 +1187,10 @@ public Mono>> updateAddressLocationsWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1188,20 +1199,15 @@ public Mono>> updateAddressLocationsWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.updateAddressLocations(this.client.getEndpoint(), resourceGroupName, - serviceGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + final String contentType = "application/json"; + return FluxUtil.withContext(context -> service.updateAddressLocations(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceGatewayName, contentType, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1235,6 +1241,10 @@ private Mono>> updateAddressLocationsWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1243,20 +1253,16 @@ private Mono>> updateAddressLocationsWithResponseAsync return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.updateAddressLocations(this.client.getEndpoint(), resourceGroupName, serviceGatewayName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.updateAddressLocations(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceGatewayName, contentType, parameters, context); } /** @@ -1282,12 +1288,12 @@ private Mono>> updateAddressLocationsWithResponseAsync * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginUpdateAddressLocationsAsync(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { + public PollerFlux, NoContentResponse> beginUpdateAddressLocationsAsync( + String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { Mono>> mono = updateAddressLocationsWithResponseAsync(resourceGroupName, serviceGatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + NoContentResponse.class, NoContentResponse.class, this.client.getContext()); } /** @@ -1314,13 +1320,14 @@ public PollerFlux, Void> beginUpdateAddressLocationsAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginUpdateAddressLocationsAsync(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context) { + private PollerFlux, NoContentResponse> beginUpdateAddressLocationsAsync( + String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = updateAddressLocationsWithResponseAsync(resourceGroupName, serviceGatewayName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + NoContentResponse.class, NoContentResponse.class, context); } /** @@ -1346,8 +1353,8 @@ private PollerFlux, Void> beginUpdateAddressLocationsAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginUpdateAddressLocations(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { + public SyncPoller, NoContentResponse> beginUpdateAddressLocations( + String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { return this.beginUpdateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters).getSyncPoller(); } @@ -1375,8 +1382,9 @@ public SyncPoller, Void> beginUpdateAddressLocations(String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginUpdateAddressLocations(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context) { + public SyncPoller, NoContentResponse> beginUpdateAddressLocations( + String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, + Context context) { return this.beginUpdateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters, context) .getSyncPoller(); } @@ -1401,10 +1409,10 @@ public SyncPoller, Void> beginUpdateAddressLocations(String res * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, + public Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { return beginUpdateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1431,10 +1439,10 @@ public Mono updateAddressLocationsAsync(String resourceGroupName, String s * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, + private Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context) { return beginUpdateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1460,11 +1468,12 @@ private Mono updateAddressLocationsAsync(String resourceGroupName, String * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void updateAddressLocations(String resourceGroupName, String serviceGatewayName, + public NoContentResponse updateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { - updateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters).block(); + return updateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters).block(); } /** @@ -1488,11 +1497,12 @@ public void updateAddressLocations(String resourceGroupName, String serviceGatew * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void updateAddressLocations(String resourceGroupName, String serviceGatewayName, + public NoContentResponse updateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context) { - updateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters, context).block(); + return updateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters, context).block(); } /** @@ -1517,6 +1527,10 @@ public Mono>> updateServicesWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1525,20 +1539,15 @@ public Mono>> updateServicesWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.updateServices(this.client.getEndpoint(), resourceGroupName, - serviceGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + final String contentType = "application/json"; + return FluxUtil.withContext(context -> service.updateServices(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceGatewayName, contentType, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1565,6 +1574,10 @@ private Mono>> updateServicesWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1573,20 +1586,16 @@ private Mono>> updateServicesWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.updateServices(this.client.getEndpoint(), resourceGroupName, serviceGatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateServices(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceGatewayName, contentType, parameters, context); } /** @@ -1605,12 +1614,12 @@ private Mono>> updateServicesWithResponseAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginUpdateServicesAsync(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) { + public PollerFlux, NoContentResponse> beginUpdateServicesAsync( + String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) { Mono>> mono = updateServicesWithResponseAsync(resourceGroupName, serviceGatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + NoContentResponse.class, NoContentResponse.class, this.client.getContext()); } /** @@ -1630,13 +1639,14 @@ public PollerFlux, Void> beginUpdateServicesAsync(String resour * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginUpdateServicesAsync(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context) { + private PollerFlux, NoContentResponse> beginUpdateServicesAsync( + String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = updateServicesWithResponseAsync(resourceGroupName, serviceGatewayName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + NoContentResponse.class, NoContentResponse.class, context); } /** @@ -1655,8 +1665,8 @@ private PollerFlux, Void> beginUpdateServicesAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginUpdateServices(String resourceGroupName, String serviceGatewayName, - ServiceGatewayUpdateServicesRequest parameters) { + public SyncPoller, NoContentResponse> beginUpdateServices(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) { return this.beginUpdateServicesAsync(resourceGroupName, serviceGatewayName, parameters).getSyncPoller(); } @@ -1677,8 +1687,8 @@ public SyncPoller, Void> beginUpdateServices(String resourceGro * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginUpdateServices(String resourceGroupName, String serviceGatewayName, - ServiceGatewayUpdateServicesRequest parameters, Context context) { + public SyncPoller, NoContentResponse> beginUpdateServices(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context) { return this.beginUpdateServicesAsync(resourceGroupName, serviceGatewayName, parameters, context) .getSyncPoller(); } @@ -1696,10 +1706,10 @@ public SyncPoller, Void> beginUpdateServices(String resourceGro * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, + public Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) { return beginUpdateServicesAsync(resourceGroupName, serviceGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1719,10 +1729,10 @@ public Mono updateServicesAsync(String resourceGroupName, String serviceGa * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, + private Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context) { return beginUpdateServicesAsync(resourceGroupName, serviceGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1741,11 +1751,12 @@ private Mono updateServicesAsync(String resourceGroupName, String serviceG * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void updateServices(String resourceGroupName, String serviceGatewayName, + public NoContentResponse updateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) { - updateServicesAsync(resourceGroupName, serviceGatewayName, parameters).block(); + return updateServicesAsync(resourceGroupName, serviceGatewayName, parameters).block(); } /** @@ -1762,11 +1773,12 @@ public void updateServices(String resourceGroupName, String serviceGatewayName, * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void updateServices(String resourceGroupName, String serviceGatewayName, + public NoContentResponse updateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context) { - updateServicesAsync(resourceGroupName, serviceGatewayName, parameters, context).block(); + return updateServicesAsync(resourceGroupName, serviceGatewayName, parameters, context).block(); } /** @@ -1787,6 +1799,10 @@ public void updateServices(String resourceGroupName, String serviceGatewayName, return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1795,15 +1811,11 @@ public void updateServices(String resourceGroupName, String serviceGatewayName, return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getAddressLocations(this.client.getEndpoint(), resourceGroupName, - serviceGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getAddressLocations(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceGatewayName, accept, context)) .>map( res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -1829,6 +1841,10 @@ public void updateServices(String resourceGroupName, String serviceGatewayName, return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1837,16 +1853,12 @@ public void updateServices(String resourceGroupName, String serviceGatewayName, return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .getAddressLocations(this.client.getEndpoint(), resourceGroupName, serviceGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .getAddressLocations(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, serviceGatewayName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1936,6 +1948,10 @@ private Mono> getServicesSinglePageAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1944,15 +1960,11 @@ private Mono> getServicesSinglePageAsy return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getServices(this.client.getEndpoint(), resourceGroupName, - serviceGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getServices(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, serviceGatewayName, 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())); @@ -1976,6 +1988,10 @@ private Mono> getServicesSinglePageAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1984,16 +2000,12 @@ private Mono> getServicesSinglePageAsy return Mono .error(new IllegalArgumentException("Parameter serviceGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .getServices(this.client.getEndpoint(), resourceGroupName, serviceGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .getServices(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + serviceGatewayName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -2071,11 +2083,11 @@ public PagedIterable getServices(String resourceGrou * @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 all the service gateways in a subscription along with {@link PagedResponse} on successful completion of + * @return all the service gateways in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -2084,8 +2096,7 @@ private Mono> listAllNextSinglePageAsync(Stri new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -2099,11 +2110,11 @@ private Mono> listAllNextSinglePageAsync(Stri * @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 all the service gateways in a subscription along with {@link PagedResponse} on successful completion of + * @return all the service gateways in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -2113,7 +2124,7 @@ private Mono> listAllNextSinglePageAsync(Stri } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -2125,11 +2136,11 @@ private Mono> listAllNextSinglePageAsync(Stri * @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 all the service gateways in a resource group along with {@link PagedResponse} on successful completion of + * @return all the service gateways in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -2138,7 +2149,8 @@ private Mono> listNextSinglePageAsync(String new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -2152,11 +2164,11 @@ private Mono> listNextSinglePageAsync(String * @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 all the service gateways in a resource group along with {@link PagedResponse} on successful completion of + * @return all the service gateways in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -2166,7 +2178,7 @@ private Mono> listNextSinglePageAsync(String } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java index f23956f2b7f1..fd9c085be1ad 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.ServiceTagInformationsClient; import com.azure.resourcemanager.network.fluent.models.ServiceTagInformationInner; -import com.azure.resourcemanager.network.models.ServiceTagInformationListResult; +import com.azure.resourcemanager.network.implementation.models.ServiceTagInformationListResult; import reactor.core.publisher.Mono; /** @@ -59,34 +59,31 @@ public final class ServiceTagInformationsClientImpl implements ServiceTagInforma * The interface defining all the services for NetworkManagementClientServiceTagInformations to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientServiceTagInformations") public interface ServiceTagInformationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @QueryParam("noAddressPrefixes") Boolean noAddressPrefixes, @QueryParam("tagName") String tagName, - @HeaderParam("Accept") String accept, Context context); + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @QueryParam("noAddressPrefixes") Boolean noAddressPrefixes, + @QueryParam("tagName") String tagName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @param noAddressPrefixes Do not return address prefixes for the tag(s). * @param tagName Return tag information for a particular tag. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -102,18 +99,18 @@ private Mono> listSinglePageAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), noAddressPrefixes, tagName, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, noAddressPrefixes, tagName, 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())); @@ -122,9 +119,7 @@ private Mono> listSinglePageAsync(Stri /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @param noAddressPrefixes Do not return address prefixes for the tag(s). * @param tagName Return tag information for a particular tag. * @param context The context to associate with this operation. @@ -141,18 +136,18 @@ private Mono> listSinglePageAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), location, apiVersion, this.client.getSubscriptionId(), noAddressPrefixes, + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, noAddressPrefixes, tagName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); @@ -161,9 +156,7 @@ private Mono> listSinglePageAsync(Stri /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @param noAddressPrefixes Do not return address prefixes for the tag(s). * @param tagName Return tag information for a particular tag. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -180,9 +173,7 @@ public PagedFlux listAsync(String location, Boolean /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -199,9 +190,7 @@ public PagedFlux listAsync(String location) { /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @param noAddressPrefixes Do not return address prefixes for the tag(s). * @param tagName Return tag information for a particular tag. * @param context The context to associate with this operation. @@ -220,9 +209,7 @@ private PagedFlux listAsync(String location, Boolean /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -239,9 +226,7 @@ public PagedIterable list(String location) { /** * Gets a list of service tag information resources with pagination. * - * @param location The location that will be used as a reference for cloud (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @param noAddressPrefixes Do not return address prefixes for the tag(s). * @param tagName Return tag information for a particular tag. * @param context The context to associate with this operation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java index b52052db8721..6b88a6fbdb4c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -54,24 +54,22 @@ public final class ServiceTagsClientImpl implements ServiceTagsClient { * The interface defining all the services for NetworkManagementClientServiceTags to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientServiceTags") public interface ServiceTagsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); } /** * Gets a list of service tag information resources. * - * @param location The location that will be used as a reference for version (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -84,27 +82,25 @@ public Mono> listWithResponseAsync(String l return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets a list of service tag information resources. * - * @param location The location that will be used as a reference for version (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -118,26 +114,24 @@ private Mono> listWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), location, apiVersion, this.client.getSubscriptionId(), accept, + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, accept, context); } /** * Gets a list of service tag information resources. * - * @param location The location that will be used as a reference for version (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -151,9 +145,7 @@ public Mono listAsync(String location) { /** * Gets a list of service tag information resources. * - * @param location The location that will be used as a reference for version (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. @@ -168,9 +160,7 @@ public Response listWithResponse(String location, Co /** * Gets a list of service tag information resources. * - * @param location The location that will be used as a reference for version (not as a filter based on location, you - * will get the list of service tags with prefix details across all regions but limited to the cloud that your - * subscription belongs to). + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java index adc176ac0df3..083d767ab3fd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.StaticCidrsClient; import com.azure.resourcemanager.network.fluent.models.StaticCidrInner; -import com.azure.resourcemanager.network.models.StaticCidrList; +import com.azure.resourcemanager.network.implementation.models.StaticCidrList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,52 +67,50 @@ public final class StaticCidrsClientImpl implements StaticCidrsClient { * The interface defining all the services for NetworkManagementClientStaticCidrs to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientStaticCidrs") public interface StaticCidrsService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, - @QueryParam("skipToken") String skipToken, @QueryParam("skip") Integer skip, @QueryParam("top") Integer top, - @QueryParam("sortKey") String sortKey, @QueryParam("sortValue") String sortValue, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @PathParam("staticCidrName") String staticCidrName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> create(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> create(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, - @PathParam("staticCidrName") String staticCidrName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") StaticCidrInner body, @HeaderParam("Accept") String accept, Context context); + @PathParam("staticCidrName") String staticCidrName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") StaticCidrInner body, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}") - @ExpectedResponses({ 200 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}") + @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, - @PathParam("staticCidrName") String staticCidrName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("staticCidrName") String staticCidrName, Context context); @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}") - @ExpectedResponses({ 202, 204 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("poolName") String poolName, - @PathParam("staticCidrName") String staticCidrName, @QueryParam("api-version") String apiVersion, + @QueryParam("skipToken") String skipToken, @QueryParam("skip") Integer skip, @QueryParam("top") Integer top, + @QueryParam("sortKey") String sortKey, @QueryParam("sortValue") String sortValue, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -120,30 +118,24 @@ Mono>> delete(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Gets list of Static CIDR resources at Network Manager level. + * Gets the specific Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. + * @param staticCidrName StaticCidr resource name to retrieve. * @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 list of Static CIDR resources at Network Manager level along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the specific Static CIDR resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String poolName, String skipToken, Integer skip, Integer top, String sortKey, - String sortValue) { + public Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, + String poolName, String staticCidrName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -163,39 +155,33 @@ private Mono> listSinglePageAsync(String resource if (poolName == null) { return Mono.error(new IllegalArgumentException("Parameter poolName is required and cannot be null.")); } + if (staticCidrName == null) { + return Mono.error(new IllegalArgumentException("Parameter staticCidrName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, poolName, skipToken, skip, top, sortKey, sortValue, apiVersion, - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, poolName, staticCidrName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets list of Static CIDR resources at Network Manager level. + * Gets the specific Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. + * @param staticCidrName StaticCidr resource name to retrieve. * @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 list of Static CIDR resources at Network Manager level along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the specific Static CIDR resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String poolName, String skipToken, Integer skip, Integer top, String sortKey, - String sortValue, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, + String poolName, String staticCidrName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -215,138 +201,80 @@ private Mono> listSinglePageAsync(String resource if (poolName == null) { return Mono.error(new IllegalArgumentException("Parameter poolName is required and cannot be null.")); } + if (staticCidrName == null) { + return Mono.error(new IllegalArgumentException("Parameter staticCidrName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, networkManagerName, - poolName, skipToken, skip, top, sortKey, sortValue, apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, poolName, staticCidrName, accept, context); } /** - * Gets list of Static CIDR resources at Network Manager level. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Static CIDR resources at Network Manager level as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, String poolName, - String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, poolName, skipToken, - skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets list of Static CIDR resources at Network Manager level. + * Gets the specific Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. + * @param staticCidrName StaticCidr resource name to retrieve. * @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 list of Static CIDR resources at Network Manager level as paginated response with {@link PagedFlux}. + * @return the specific Static CIDR resource on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, String poolName) { - final String skipToken = null; - final Integer skip = null; - final Integer top = null; - final String sortKey = null; - final String sortValue = null; - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, poolName, skipToken, - skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String networkManagerName, String poolName, + String staticCidrName) { + return getWithResponseAsync(resourceGroupName, networkManagerName, poolName, staticCidrName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Gets list of Static CIDR resources at Network Manager level. + * Gets the specific Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. + * @param staticCidrName StaticCidr resource name to retrieve. * @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 list of Static CIDR resources at Network Manager level as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, String poolName, - String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, poolName, skipToken, - skip, top, sortKey, sortValue, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets list of Static CIDR resources at Network Manager level. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @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 list of Static CIDR resources at Network Manager level as paginated response with {@link PagedIterable}. + * @return the specific Static CIDR resource along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, String poolName) { - final String skipToken = null; - final Integer skip = null; - final Integer top = null; - final String sortKey = null; - final String sortValue = null; - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, poolName, skipToken, skip, top, sortKey, sortValue)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String networkManagerName, + String poolName, String staticCidrName, Context context) { + return getWithResponseAsync(resourceGroupName, networkManagerName, poolName, staticCidrName, context).block(); } /** - * Gets list of Static CIDR resources at Network Manager level. + * Gets the specific Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @param context The context to associate with this operation. + * @param staticCidrName StaticCidr resource name to retrieve. * @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 list of Static CIDR resources at Network Manager level as paginated response with {@link PagedIterable}. + * @return the specific Static CIDR resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, String poolName, - String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, poolName, skipToken, skip, top, - sortKey, sortValue, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public StaticCidrInner get(String resourceGroupName, String networkManagerName, String poolName, + String staticCidrName) { + return getWithResponse(resourceGroupName, networkManagerName, poolName, staticCidrName, Context.NONE) + .getValue(); } /** * Creates/Updates the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. - * @param staticCidrName Static Cidr allocation name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The networkManagerName parameter. + * @param poolName The name of the IPAM pool. + * @param staticCidrName Name for the static CIDR. * @param body StaticCidr resource object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -384,18 +312,19 @@ public Mono> createWithResponseAsync(String resourceGr final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.create(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, poolName, staticCidrName, apiVersion, body, accept, context)) + .withContext( + context -> service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, poolName, staticCidrName, accept, body, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates/Updates the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. - * @param staticCidrName Static Cidr allocation name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The networkManagerName parameter. + * @param poolName The name of the IPAM pool. + * @param staticCidrName Name for the static CIDR. * @param body StaticCidr resource object to create/update. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -434,17 +363,17 @@ private Mono> createWithResponseAsync(String resourceG final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.create(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, poolName, staticCidrName, apiVersion, body, accept, context); + return service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, poolName, staticCidrName, accept, body, context); } /** * Creates/Updates the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. - * @param staticCidrName Static Cidr allocation name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The networkManagerName parameter. + * @param poolName The name of the IPAM pool. + * @param staticCidrName Name for the static CIDR. * @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. @@ -461,10 +390,10 @@ public Mono createAsync(String resourceGroupName, String networ /** * Creates/Updates the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. - * @param staticCidrName Static Cidr allocation name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The networkManagerName parameter. + * @param poolName The name of the IPAM pool. + * @param staticCidrName Name for the static CIDR. * @param body StaticCidr resource object to create/update. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -482,10 +411,10 @@ public Response createWithResponse(String resourceGroupName, St /** * Creates/Updates the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName IP Address Manager Pool resource name. - * @param staticCidrName Static Cidr allocation name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The networkManagerName parameter. + * @param poolName The name of the IPAM pool. + * @param staticCidrName Name for the static CIDR. * @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. @@ -500,19 +429,19 @@ public StaticCidrInner create(String resourceGroupName, String networkManagerNam } /** - * Gets the specific Static CIDR resource. + * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param staticCidrName StaticCidr resource name to retrieve. * @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 specific Static CIDR resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, + public Mono>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -537,17 +466,17 @@ public Mono> getWithResponseAsync(String resourceGroup return Mono.error(new IllegalArgumentException("Parameter staticCidrName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, poolName, staticCidrName, apiVersion, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, poolName, staticCidrName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the specific Static CIDR resource. + * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param staticCidrName StaticCidr resource name to retrieve. @@ -555,11 +484,11 @@ public Mono> getWithResponseAsync(String resourceGroup * @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 specific Static CIDR resource along with {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, - String poolName, String staticCidrName, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkManagerName, String poolName, String staticCidrName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -583,35 +512,116 @@ private Mono> getWithResponseAsync(String resourceGrou return Mono.error(new IllegalArgumentException("Parameter staticCidrName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, poolName, staticCidrName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, poolName, staticCidrName, context); } /** - * Gets the specific Static CIDR resource. + * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param staticCidrName StaticCidr resource name to retrieve. * @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 specific Static CIDR resource on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, + String poolName, String staticCidrName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkManagerName, poolName, staticCidrName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Delete the Static CIDR resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param poolName Pool resource name. + * @param staticCidrName StaticCidr resource name to retrieve. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, + String poolName, String staticCidrName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkManagerName, poolName, staticCidrName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Delete the Static CIDR resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param poolName Pool resource name. + * @param staticCidrName StaticCidr resource name to retrieve. + * @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 networkManagerName, + String poolName, String staticCidrName) { + return this.beginDeleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName).getSyncPoller(); + } + + /** + * Delete the Static CIDR resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param poolName Pool resource name. + * @param staticCidrName StaticCidr resource name to retrieve. + * @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 networkManagerName, + String poolName, String staticCidrName, Context context) { + return this.beginDeleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName, context) + .getSyncPoller(); + } + + /** + * Delete the Static CIDR resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param poolName Pool resource name. + * @param staticCidrName StaticCidr resource name to retrieve. + * @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) - public Mono getAsync(String resourceGroupName, String networkManagerName, String poolName, + public Mono deleteAsync(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName) { - return getWithResponseAsync(resourceGroupName, networkManagerName, poolName, staticCidrName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + return beginDeleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specific Static CIDR resource. + * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param staticCidrName StaticCidr resource name to retrieve. @@ -619,48 +629,70 @@ public Mono getAsync(String resourceGroupName, String networkMa * @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 specific Static CIDR resource along with {@link Response}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String networkManagerName, - String poolName, String staticCidrName, Context context) { - return getWithResponseAsync(resourceGroupName, networkManagerName, poolName, staticCidrName, context).block(); + private Mono deleteAsync(String resourceGroupName, String networkManagerName, String poolName, + String staticCidrName, Context context) { + return beginDeleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specific Static CIDR resource. + * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. * @param staticCidrName StaticCidr resource name to retrieve. * @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 specific Static CIDR resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StaticCidrInner get(String resourceGroupName, String networkManagerName, String poolName, - String staticCidrName) { - return getWithResponse(resourceGroupName, networkManagerName, poolName, staticCidrName, Context.NONE) - .getValue(); + public void delete(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName) { + deleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName).block(); } /** * Delete the Static CIDR resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. + * @param staticCidrName StaticCidr resource name to retrieve. + * @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 Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, - String poolName, String staticCidrName) { + public void delete(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName, + Context context) { + deleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName, context).block(); + } + + /** + * Gets list of Static CIDR resources at Network Manager level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param poolName Pool resource name. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Static CIDR resources at Network Manager level along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String poolName, String skipToken, Integer skip, Integer top, String sortKey, + String sortValue) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -680,33 +712,39 @@ public Mono>> deleteWithResponseAsync(String resourceG if (poolName == null) { return Mono.error(new IllegalArgumentException("Parameter poolName is required and cannot be null.")); } - if (staticCidrName == null) { - return Mono.error(new IllegalArgumentException("Parameter staticCidrName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, poolName, staticCidrName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, poolName, skipToken, skip, top, sortKey, sortValue, 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())); } /** - * Delete the Static CIDR resource. + * Gets list of Static CIDR resources at Network Manager level. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. * @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 Response} on successful completion of {@link Mono}. + * @return list of Static CIDR resources at Network Manager level along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkManagerName, String poolName, String staticCidrName, Context context) { + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String poolName, String skipToken, Integer skip, Integer top, String sortKey, + String sortValue, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -726,169 +764,129 @@ private Mono>> deleteWithResponseAsync(String resource if (poolName == null) { return Mono.error(new IllegalArgumentException("Parameter poolName is required and cannot be null.")); } - if (staticCidrName == null) { - return Mono.error(new IllegalArgumentException("Parameter staticCidrName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, poolName, staticCidrName, apiVersion, accept, context); - } - - /** - * Delete the Static CIDR resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, - String poolName, String staticCidrName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkManagerName, poolName, staticCidrName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Delete the Static CIDR resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, - String poolName, String staticCidrName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkManagerName, poolName, staticCidrName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Delete the Static CIDR resource. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. - * @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 networkManagerName, - String poolName, String staticCidrName) { - return this.beginDeleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName).getSyncPoller(); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, poolName, skipToken, skip, top, sortKey, sortValue, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Delete the Static CIDR resource. + * Gets list of Static CIDR resources at Network Manager level. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. - * @param context The context to associate with this operation. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. * @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. + * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String networkManagerName, - String poolName, String staticCidrName, Context context) { - return this.beginDeleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName, context) - .getSyncPoller(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, String poolName, + String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, poolName, skipToken, + skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Delete the Static CIDR resource. + * Gets list of Static CIDR resources at Network Manager level. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. * @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. + * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String networkManagerName, String poolName, - String staticCidrName) { - return beginDeleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, String poolName) { + final String skipToken = null; + final Integer skip = null; + final Integer top = null; + final String sortKey = null; + final String sortValue = null; + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, poolName, skipToken, + skip, top, sortKey, sortValue), nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Delete the Static CIDR resource. + * Gets list of Static CIDR resources at Network Manager level. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. * @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 A {@link Mono} that completes when a successful response is received. + * @return list of Static CIDR resources at Network Manager level as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String networkManagerName, String poolName, - String staticCidrName, Context context) { - return beginDeleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, String poolName, + String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, poolName, skipToken, + skip, top, sortKey, sortValue, context), nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Delete the Static CIDR resource. + * Gets list of Static CIDR resources at Network Manager level. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. * @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 list of Static CIDR resources at Network Manager level as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName) { - deleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, String poolName) { + final String skipToken = null; + final Integer skip = null; + final Integer top = null; + final String sortKey = null; + final String sortValue = null; + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, poolName, skipToken, skip, top, sortKey, sortValue)); } /** - * Delete the Static CIDR resource. + * Gets list of Static CIDR resources at Network Manager level. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param poolName Pool resource name. - * @param staticCidrName StaticCidr resource name to delete. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. * @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 list of Static CIDR resources at Network Manager level as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String networkManagerName, String poolName, String staticCidrName, - Context context) { - deleteAsync(resourceGroupName, networkManagerName, poolName, staticCidrName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, String poolName, + String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, poolName, skipToken, skip, top, + sortKey, sortValue, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java index 9a18748c97ae..325ac369df7f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -30,7 +30,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.StaticMembersClient; import com.azure.resourcemanager.network.fluent.models.StaticMemberInner; -import com.azure.resourcemanager.network.models.StaticMemberListResult; +import com.azure.resourcemanager.network.implementation.models.StaticMemberListResult; import reactor.core.publisher.Mono; /** @@ -62,70 +62,67 @@ public final class StaticMembersClientImpl implements StaticMembersClient { * The interface defining all the services for NetworkManagementClientStaticMembers to be used by the proxy service * to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientStaticMembers") public interface StaticMembersService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("networkGroupName") String networkGroupName, - @PathParam("staticMemberName") String staticMemberName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("staticMemberName") String staticMemberName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("networkGroupName") String networkGroupName, - @PathParam("staticMemberName") String staticMemberName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") StaticMemberInner parameters, @HeaderParam("Accept") String accept, + @PathParam("staticMemberName") String staticMemberName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") StaticMemberInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("networkGroupName") String networkGroupName, - @PathParam("staticMemberName") String staticMemberName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("staticMemberName") String staticMemberName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("networkGroupName") String networkGroupName, @QueryParam("api-version") String apiVersion, - @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, - @HeaderParam("Accept") String accept, Context context); + @PathParam("networkGroupName") String networkGroupName, @QueryParam("$top") Integer top, + @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -164,15 +161,15 @@ public Mono> getWithResponseAsync(String resourceGro final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, networkGroupName, staticMemberName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, networkGroupName, staticMemberName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -212,14 +209,14 @@ private Mono> getWithResponseAsync(String resourceGr final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, networkGroupName, staticMemberName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, networkGroupName, staticMemberName, accept, context); } /** * Gets the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -238,7 +235,7 @@ public Mono getAsync(String resourceGroupName, String network /** * Gets the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -258,7 +255,7 @@ public Response getWithResponse(String resourceGroupName, Str /** * Gets the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -277,7 +274,7 @@ public StaticMemberInner get(String resourceGroupName, String networkManagerName /** * Creates or updates a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -320,18 +317,19 @@ public Mono> createOrUpdateWithResponseAsync(String parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, networkGroupName, staticMemberName, apiVersion, parameters, - accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, networkGroupName, + staticMemberName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -376,16 +374,18 @@ private Mono> createOrUpdateWithResponseAsync(String parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, networkGroupName, staticMemberName, apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, networkGroupName, staticMemberName, contentType, accept, parameters, + context); } /** * Creates or updates a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -405,7 +405,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Str /** * Creates or updates a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -426,7 +426,7 @@ public Response createOrUpdateWithResponse(String resourceGro /** * Creates or updates a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -446,7 +446,7 @@ public StaticMemberInner createOrUpdate(String resourceGroupName, String network /** * Deletes a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -483,17 +483,17 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St .error(new IllegalArgumentException("Parameter staticMemberName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, networkGroupName, staticMemberName, apiVersion, accept, context)) + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, networkGroupName, staticMemberName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -531,16 +531,15 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S .error(new IllegalArgumentException("Parameter staticMemberName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, networkGroupName, staticMemberName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, networkGroupName, staticMemberName, context); } /** * Deletes a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -559,7 +558,7 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -579,7 +578,7 @@ public Response deleteWithResponse(String resourceGroupName, String networ /** * Deletes a static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param staticMemberName The name of the static member. @@ -596,7 +595,7 @@ public void delete(String resourceGroupName, String networkManagerName, String n /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -607,8 +606,8 @@ public void delete(String resourceGroupName, String networkManagerName, String n * @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 result of the request to list StaticMember along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a StaticMember list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -636,8 +635,8 @@ private Mono> listSinglePageAsync(String resour final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, networkGroupName, apiVersion, top, skipToken, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, networkGroupName, top, skipToken, 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())); @@ -646,7 +645,7 @@ private Mono> listSinglePageAsync(String resour /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -658,8 +657,8 @@ private Mono> listSinglePageAsync(String resour * @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 result of the request to list StaticMember along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a StaticMember list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -688,8 +687,8 @@ private Mono> listSinglePageAsync(String resour final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, networkManagerName, - networkGroupName, apiVersion, top, skipToken, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, networkGroupName, top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -697,7 +696,7 @@ private Mono> listSinglePageAsync(String resour /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -708,7 +707,7 @@ private Mono> listSinglePageAsync(String resour * @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 result of the request to list StaticMember as paginated response with {@link PagedFlux}. + * @return the response of a StaticMember list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkManagerName, @@ -721,13 +720,13 @@ public PagedFlux listAsync(String resourceGroupName, String n /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @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 result of the request to list StaticMember as paginated response with {@link PagedFlux}. + * @return the response of a StaticMember list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String networkManagerName, @@ -742,7 +741,7 @@ public PagedFlux listAsync(String resourceGroupName, String n /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -754,7 +753,7 @@ public PagedFlux listAsync(String resourceGroupName, String n * @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 result of the request to list StaticMember as paginated response with {@link PagedFlux}. + * @return the response of a StaticMember list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkManagerName, @@ -767,13 +766,13 @@ private PagedFlux listAsync(String resourceGroupName, String /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @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 result of the request to list StaticMember as paginated response with {@link PagedIterable}. + * @return the response of a StaticMember list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkManagerName, @@ -786,7 +785,7 @@ public PagedIterable list(String resourceGroupName, String ne /** * Lists the specified static member. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param networkGroupName The name of the network group. * @param top An optional query parameter which specifies the maximum number of records to be returned by the @@ -798,7 +797,7 @@ public PagedIterable list(String resourceGroupName, String ne * @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 result of the request to list StaticMember as paginated response with {@link PagedIterable}. + * @return the response of a StaticMember list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkManagerName, @@ -814,8 +813,8 @@ public PagedIterable list(String resourceGroupName, String ne * @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 result of the request to list StaticMember along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a StaticMember list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -841,8 +840,8 @@ private Mono> listNextSinglePageAsync(String ne * @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 result of the request to list StaticMember along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a StaticMember list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java index 53296d897b4c..c6696f0abc99 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,8 +34,10 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.SubnetsClient; import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.implementation.models.SubnetListResult; +import com.azure.resourcemanager.network.models.PrepareNetworkPoliciesFinalResult; import com.azure.resourcemanager.network.models.PrepareNetworkPoliciesRequest; -import com.azure.resourcemanager.network.models.SubnetListResult; +import com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesFinalResult; import com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesRequest; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -69,97 +71,105 @@ public final class SubnetsClientImpl implements SubnetsClient { * The interface defining all the services for NetworkManagementClientSubnets to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientSubnets") public interface SubnetsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, @PathParam("subnetName") String subnetName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @PathParam("subnetName") String subnetName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @PathParam("subnetName") String subnetName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") SubnetInner subnetParameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") SubnetInner subnetParameters, @HeaderParam("Accept") String accept, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkName") String virtualNetworkName, @PathParam("subnetName") String subnetName, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkName") String virtualNetworkName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Accept: application/json;q=0.9" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/prepareNetworkPolicies") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> prepareNetworkPolicies(@HostParam("$host") String endpoint, + Mono>> prepareNetworkPolicies(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @PathParam("subnetName") String subnetName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, - @HeaderParam("Accept") String accept, Context context); + Context context); - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies") + @Headers({ "Accept: application/json;q=0.9" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/unprepareNetworkPolicies") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> unprepareNetworkPolicies(@HostParam("$host") String endpoint, + Mono>> unprepareNetworkPolicies(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @PathParam("subnetName") String subnetName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified subnet. + * Gets the specified subnet by virtual network and resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param expand Expands referenced resources. * @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}. + * @return the specified subnet by virtual network and resource group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName, - String subnetName) { + public Mono> getWithResponseAsync(String resourceGroupName, String virtualNetworkName, + String subnetName, String expand) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -171,37 +181,39 @@ public Mono>> deleteWithResponseAsync(String resourceG if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - subnetName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, subnetName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified subnet. + * Gets the specified subnet by virtual network and resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param expand Expands referenced resources. * @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 Response} on successful completion of {@link Mono}. + * @return the specified subnet by virtual network and resource group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, Context context) { + private Mono> getWithResponseAsync(String resourceGroupName, String virtualNetworkName, + String subnetName, String expand, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -213,181 +225,91 @@ private Mono>> deleteWithResponseAsync(String resource if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, subnetName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified subnet. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param subnetName The name of the subnet. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, - String subnetName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified subnet. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param subnetName The name of the subnet. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, - String subnetName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified subnet. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param subnetName The name of the subnet. - * @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 virtualNetworkName, - String subnetName) { - return this.beginDeleteAsync(resourceGroupName, virtualNetworkName, subnetName).getSyncPoller(); - } - - /** - * Deletes the specified subnet. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param subnetName The name of the subnet. - * @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 virtualNetworkName, - String subnetName, Context context) { - return this.beginDeleteAsync(resourceGroupName, virtualNetworkName, subnetName, context).getSyncPoller(); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, subnetName, expand, accept, context); } /** - * Deletes the specified subnet. + * Gets the specified subnet by virtual network and resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @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. + * @return the specified subnet by virtual network and resource group on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String virtualNetworkName, String subnetName) { - return beginDeleteAsync(resourceGroupName, virtualNetworkName, subnetName).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono getAsync(String resourceGroupName, String virtualNetworkName, String subnetName) { + final String expand = null; + return getWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Deletes the specified subnet. + * Gets the specified subnet by virtual network and resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param expand Expands referenced resources. * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String virtualNetworkName, String subnetName, - Context context) { - return beginDeleteAsync(resourceGroupName, virtualNetworkName, subnetName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified subnet. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param subnetName The name of the subnet. - * @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 subnet by virtual network and resource group along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String virtualNetworkName, String subnetName) { - deleteAsync(resourceGroupName, virtualNetworkName, subnetName).block(); + public Response getWithResponse(String resourceGroupName, String virtualNetworkName, String subnetName, + String expand, Context context) { + return getWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, expand, context).block(); } /** - * Deletes the specified subnet. + * Gets the specified subnet by virtual network and resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @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 subnet by virtual network and resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String virtualNetworkName, String subnetName, Context context) { - deleteAsync(resourceGroupName, virtualNetworkName, subnetName, context).block(); + public SubnetInner get(String resourceGroupName, String virtualNetworkName, String subnetName) { + final String expand = null; + return getWithResponse(resourceGroupName, virtualNetworkName, subnetName, expand, Context.NONE).getValue(); } /** - * Gets the specified subnet by virtual network and resource group. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param expand Expands referenced resources. + * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet by virtual network and resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return subnet in a virtual network resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String resourceGroupName, String virtualNetworkName, - String subnetName, String expand) { + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, SubnetInner subnetParameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -399,39 +321,47 @@ public Mono> getWithResponseAsync(String resourceGroupName if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (subnetParameters == null) { + return Mono + .error(new IllegalArgumentException("Parameter subnetParameters is required and cannot be null.")); + } else { + subnetParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - subnetName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, subnetName, contentType, accept, + subnetParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the specified subnet by virtual network and resource group. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param expand Expands referenced resources. + * @param subnetParameters Parameters supplied to the create or update subnet operation. * @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 subnet by virtual network and resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return subnet in a virtual network resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String resourceGroupName, String virtualNetworkName, - String subnetName, String expand, Context context) { + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, SubnetInner subnetParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -443,91 +373,204 @@ private Mono> getWithResponseAsync(String resourceGroupNam if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (subnetParameters == null) { + return Mono + .error(new IllegalArgumentException("Parameter subnetParameters is required and cannot be null.")); + } else { + subnetParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, subnetName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, subnetName, contentType, accept, subnetParameters, context); } /** - * Gets the specified subnet by virtual network and resource group. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet by virtual network and resource group on successful completion of {@link Mono}. + * @return the {@link PollerFlux} for polling of subnet in a virtual network resource. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String resourceGroupName, String virtualNetworkName, String subnetName) { - final String expand = null; - return getWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, expand) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Gets the specified subnet by virtual network and resource group. - * - * @param resourceGroupName The name of the resource group. + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, SubnetInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, SubnetInner subnetParameters) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + SubnetInner.class, SubnetInner.class, this.client.getContext()); + } + + /** + * Creates or updates a subnet in the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param expand Expands referenced resources. + * @param subnetParameters Parameters supplied to the create or update subnet operation. * @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 subnet by virtual network and resource group along with {@link Response}. + * @return the {@link PollerFlux} for polling of subnet in a virtual network resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, SubnetInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, SubnetInner subnetParameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, virtualNetworkName, + subnetName, subnetParameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + SubnetInner.class, SubnetInner.class, context); + } + + /** + * Creates or updates a subnet in the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param subnetName The name of the subnet. + * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, SubnetInner> beginCreateOrUpdate(String resourceGroupName, + String virtualNetworkName, String subnetName, SubnetInner subnetParameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters) + .getSyncPoller(); + } + + /** + * Creates or updates a subnet in the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param subnetName The name of the subnet. + * @param subnetParameters Parameters supplied to the create or update subnet operation. + * @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 subnet in a virtual network resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, SubnetInner> beginCreateOrUpdate(String resourceGroupName, + String virtualNetworkName, String subnetName, SubnetInner subnetParameters, Context context) { + return this + .beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters, context) + .getSyncPoller(); + } + + /** + * Creates or updates a subnet in the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param subnetName The name of the subnet. + * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String resourceGroupName, String virtualNetworkName, String subnetName, - String expand, Context context) { - return getWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, expand, context).block(); + public Mono createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + SubnetInner subnetParameters) { + return beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified subnet by virtual network and resource group. + * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. + * @param subnetParameters Parameters supplied to the create or update subnet operation. + * @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 subnet by virtual network and resource group. + * @return subnet in a virtual network resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SubnetInner get(String resourceGroupName, String virtualNetworkName, String subnetName) { - final String expand = null; - return getWithResponse(resourceGroupName, virtualNetworkName, subnetName, expand, Context.NONE).getValue(); + private Mono createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, + String subnetName, SubnetInner subnetParameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters, context) + .last() + .flatMap(this.client::getLroFinalResultOrError); } /** * Creates or updates a subnet in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return subnet in a virtual network resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, SubnetInner subnetParameters) { + public SubnetInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String subnetName, + SubnetInner subnetParameters) { + return createOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters).block(); + } + + /** + * Creates or updates a subnet in the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param subnetName The name of the subnet. + * @param subnetParameters Parameters supplied to the create or update subnet operation. + * @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 subnet in a virtual network resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public SubnetInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String subnetName, + SubnetInner subnetParameters, Context context) { + return createOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters, context) + .block(); + } + + /** + * Deletes the specified subnet. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param subnetName The name of the subnet. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName, + String subnetName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -539,46 +582,36 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (subnetParameters == null) { - return Mono - .error(new IllegalArgumentException("Parameter subnetParameters is required and cannot be null.")); - } else { - subnetParameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - subnetName, apiVersion, this.client.getSubscriptionId(), subnetParameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, subnetName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet operation. * @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 subnet in a virtual network resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, SubnetInner subnetParameters, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -590,189 +623,304 @@ private Mono>> createOrUpdateWithResponseAsync(String if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (subnetParameters == null) { - return Mono - .error(new IllegalArgumentException("Parameter subnetParameters is required and cannot be null.")); - } else { - subnetParameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, subnetName, - apiVersion, this.client.getSubscriptionId(), subnetParameters, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, subnetName, context); } /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet 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 PollerFlux} for polling of subnet in a virtual network resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, SubnetInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, SubnetInner subnetParameters) { + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, + String subnetName) { Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - SubnetInner.class, SubnetInner.class, this.client.getContext()); + = deleteWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet operation. * @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 PollerFlux} for polling of subnet in a virtual network resource. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, SubnetInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, SubnetInner subnetParameters, Context context) { + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, + String subnetName, Context context) { context = this.client.mergeContext(context); - Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, virtualNetworkName, - subnetName, subnetParameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - SubnetInner.class, SubnetInner.class, context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, SubnetInner> beginCreateOrUpdate(String resourceGroupName, - String virtualNetworkName, String subnetName, SubnetInner subnetParameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters) - .getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkName, + String subnetName) { + return this.beginDeleteAsync(resourceGroupName, virtualNetworkName, subnetName).getSyncPoller(); } /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet operation. * @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 subnet in a virtual network resource. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, SubnetInner> beginCreateOrUpdate(String resourceGroupName, - String virtualNetworkName, String subnetName, SubnetInner subnetParameters, Context context) { - return this - .beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters, context) - .getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkName, + String subnetName, Context context) { + return this.beginDeleteAsync(resourceGroupName, virtualNetworkName, subnetName, context).getSyncPoller(); } /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String subnetName, - SubnetInner subnetParameters) { - return beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters).last() + public Mono deleteAsync(String resourceGroupName, String virtualNetworkName, String subnetName) { + return beginDeleteAsync(resourceGroupName, virtualNetworkName, subnetName).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Creates or updates a subnet in the specified virtual network. + * Deletes the specified subnet. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param subnetName The name of the subnet. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + Context context) { + return beginDeleteAsync(resourceGroupName, virtualNetworkName, subnetName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified subnet. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param subnetName The name of the subnet. + * @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 virtualNetworkName, String subnetName) { + deleteAsync(resourceGroupName, virtualNetworkName, subnetName).block(); + } + + /** + * Deletes the specified subnet. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param subnetName The name of the subnet. + * @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 virtualNetworkName, String subnetName, Context context) { + deleteAsync(resourceGroupName, virtualNetworkName, subnetName, context).block(); + } + + /** + * Gets all subnets in a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 all subnets in a virtual network along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, String virtualNetworkName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, 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())); + } + + /** + * Gets all subnets in a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 all subnets in a virtual network along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, String virtualNetworkName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets all subnets in a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 all subnets in a virtual network as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String virtualNetworkName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, virtualNetworkName), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets all subnets in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet operation. * @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 subnet in a virtual network resource on successful completion of {@link Mono}. + * @return all subnets in a virtual network as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, - String subnetName, SubnetInner subnetParameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters, context) - .last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String virtualNetworkName, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, virtualNetworkName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Creates or updates a subnet in the specified virtual network. + * Gets all subnets in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet 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 subnet in a virtual network resource. + * @return all subnets in a virtual network as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public SubnetInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String subnetName, - SubnetInner subnetParameters) { - return createOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String virtualNetworkName) { + return new PagedIterable<>(listAsync(resourceGroupName, virtualNetworkName)); } /** - * Creates or updates a subnet in the specified virtual network. + * Gets all subnets in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param subnetName The name of the subnet. - * @param subnetParameters Parameters supplied to the create or update subnet operation. * @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 subnet in a virtual network resource. + * @return all subnets in a virtual network as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public SubnetInner createOrUpdate(String resourceGroupName, String virtualNetworkName, String subnetName, - SubnetInner subnetParameters, Context context) { - return createOrUpdateAsync(resourceGroupName, virtualNetworkName, subnetName, subnetParameters, context) - .block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String virtualNetworkName, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, virtualNetworkName, context)); } /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -790,6 +938,10 @@ public Mono>> prepareNetworkPoliciesWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -801,10 +953,6 @@ public Mono>> prepareNetworkPoliciesWithResponseAsync( if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (prepareNetworkPoliciesRequestParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter prepareNetworkPoliciesRequestParameters is required and cannot be null.")); @@ -812,18 +960,18 @@ public Mono>> prepareNetworkPoliciesWithResponseAsync( prepareNetworkPoliciesRequestParameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; return FluxUtil - .withContext(context -> service.prepareNetworkPolicies(this.client.getEndpoint(), resourceGroupName, - virtualNetworkName, subnetName, apiVersion, this.client.getSubscriptionId(), - prepareNetworkPoliciesRequestParameters, accept, context)) + .withContext(context -> service.prepareNetworkPolicies(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, subnetName, contentType, + prepareNetworkPoliciesRequestParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -842,6 +990,10 @@ private Mono>> prepareNetworkPoliciesWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -853,10 +1005,6 @@ private Mono>> prepareNetworkPoliciesWithResponseAsync if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (prepareNetworkPoliciesRequestParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter prepareNetworkPoliciesRequestParameters is required and cannot be null.")); @@ -864,17 +1012,17 @@ private Mono>> prepareNetworkPoliciesWithResponseAsync prepareNetworkPoliciesRequestParameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.prepareNetworkPolicies(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - subnetName, apiVersion, this.client.getSubscriptionId(), prepareNetworkPoliciesRequestParameters, accept, + return service.prepareNetworkPolicies(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, subnetName, contentType, prepareNetworkPoliciesRequestParameters, context); } /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -885,19 +1033,20 @@ private Mono>> prepareNetworkPoliciesWithResponseAsync * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginPrepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { + public PollerFlux, PrepareNetworkPoliciesFinalResult> + beginPrepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { Mono>> mono = prepareNetworkPoliciesWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), PrepareNetworkPoliciesFinalResult.class, + PrepareNetworkPoliciesFinalResult.class, this.client.getContext()); } /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -909,20 +1058,21 @@ public PollerFlux, Void> beginPrepareNetworkPoliciesAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginPrepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { + private PollerFlux, PrepareNetworkPoliciesFinalResult> + beginPrepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = prepareNetworkPoliciesWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), PrepareNetworkPoliciesFinalResult.class, + PrepareNetworkPoliciesFinalResult.class, context); } /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -933,9 +1083,9 @@ private PollerFlux, Void> beginPrepareNetworkPoliciesAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginPrepareNetworkPolicies(String resourceGroupName, - String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { + public SyncPoller, PrepareNetworkPoliciesFinalResult> + beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { return this .beginPrepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters) @@ -945,7 +1095,7 @@ public SyncPoller, Void> beginPrepareNetworkPolicies(String res /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -957,9 +1107,9 @@ public SyncPoller, Void> beginPrepareNetworkPolicies(String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginPrepareNetworkPolicies(String resourceGroupName, - String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { + public SyncPoller, PrepareNetworkPoliciesFinalResult> + beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { return this .beginPrepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, context) @@ -969,7 +1119,7 @@ public SyncPoller, Void> beginPrepareNetworkPolicies(String res /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -977,11 +1127,12 @@ public SyncPoller, Void> beginPrepareNetworkPolicies(String res * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono prepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, - String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { + public Mono prepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { return beginPrepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters).last().flatMap(this.client::getLroFinalResultOrError); } @@ -989,7 +1140,7 @@ public Mono prepareNetworkPoliciesAsync(String resourceGroupName, String v /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -998,11 +1149,12 @@ public Mono prepareNetworkPoliciesAsync(String resourceGroupName, String v * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono prepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, - String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { + private Mono prepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { return beginPrepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, context).last().flatMap(this.client::getLroFinalResultOrError); } @@ -1010,7 +1162,7 @@ private Mono prepareNetworkPoliciesAsync(String resourceGroupName, String /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -1018,18 +1170,19 @@ private Mono prepareNetworkPoliciesAsync(String resourceGroupName, String * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { - prepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, + public PrepareNetworkPoliciesFinalResult prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, + String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { + return prepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters).block(); } /** * Prepares a subnet by applying network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param prepareNetworkPoliciesRequestParameters Parameters supplied to prepare subnet by applying network intent @@ -1038,18 +1191,19 @@ public void prepareNetworkPolicies(String resourceGroupName, String virtualNetwo * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { - prepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, + public PrepareNetworkPoliciesFinalResult prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, + String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { + return prepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, context).block(); } /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -1067,6 +1221,10 @@ public Mono>> unprepareNetworkPoliciesWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1078,10 +1236,6 @@ public Mono>> unprepareNetworkPoliciesWithResponseAsyn if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (unprepareNetworkPoliciesRequestParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter unprepareNetworkPoliciesRequestParameters is required and cannot be null.")); @@ -1089,18 +1243,18 @@ public Mono>> unprepareNetworkPoliciesWithResponseAsyn unprepareNetworkPoliciesRequestParameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; return FluxUtil - .withContext(context -> service.unprepareNetworkPolicies(this.client.getEndpoint(), resourceGroupName, - virtualNetworkName, subnetName, apiVersion, this.client.getSubscriptionId(), - unprepareNetworkPoliciesRequestParameters, accept, context)) + .withContext(context -> service.unprepareNetworkPolicies(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, subnetName, contentType, + unprepareNetworkPoliciesRequestParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -1119,6 +1273,10 @@ private Mono>> unprepareNetworkPoliciesWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1130,10 +1288,6 @@ private Mono>> unprepareNetworkPoliciesWithResponseAsy if (subnetName == null) { return Mono.error(new IllegalArgumentException("Parameter subnetName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (unprepareNetworkPoliciesRequestParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter unprepareNetworkPoliciesRequestParameters is required and cannot be null.")); @@ -1141,17 +1295,17 @@ private Mono>> unprepareNetworkPoliciesWithResponseAsy unprepareNetworkPoliciesRequestParameters.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.unprepareNetworkPolicies(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - subnetName, apiVersion, this.client.getSubscriptionId(), unprepareNetworkPoliciesRequestParameters, accept, + return service.unprepareNetworkPolicies(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, subnetName, contentType, unprepareNetworkPoliciesRequestParameters, context); } /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -1162,19 +1316,20 @@ private Mono>> unprepareNetworkPoliciesWithResponseAsy * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginUnprepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { + public PollerFlux, UnprepareNetworkPoliciesFinalResult> + beginUnprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { Mono>> mono = unprepareNetworkPoliciesWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), UnprepareNetworkPoliciesFinalResult.class, + UnprepareNetworkPoliciesFinalResult.class, this.client.getContext()); } /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -1186,20 +1341,21 @@ public PollerFlux, Void> beginUnprepareNetworkPoliciesAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginUnprepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { + private PollerFlux, UnprepareNetworkPoliciesFinalResult> + beginUnprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = unprepareNetworkPoliciesWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), UnprepareNetworkPoliciesFinalResult.class, + UnprepareNetworkPoliciesFinalResult.class, context); } /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -1210,9 +1366,9 @@ private PollerFlux, Void> beginUnprepareNetworkPoliciesAsync(St * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginUnprepareNetworkPolicies(String resourceGroupName, - String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { + public SyncPoller, UnprepareNetworkPoliciesFinalResult> + beginUnprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { return this .beginUnprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters) @@ -1222,7 +1378,7 @@ public SyncPoller, Void> beginUnprepareNetworkPolicies(String r /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -1234,9 +1390,9 @@ public SyncPoller, Void> beginUnprepareNetworkPolicies(String r * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginUnprepareNetworkPolicies(String resourceGroupName, - String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { + public SyncPoller, UnprepareNetworkPoliciesFinalResult> + beginUnprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { return this .beginUnprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters, context) @@ -1246,7 +1402,7 @@ public SyncPoller, Void> beginUnprepareNetworkPolicies(String r /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -1254,11 +1410,12 @@ public SyncPoller, Void> beginUnprepareNetworkPolicies(String r * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono unprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, - String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { + public Mono unprepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { return beginUnprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters).last().flatMap(this.client::getLroFinalResultOrError); } @@ -1266,7 +1423,7 @@ public Mono unprepareNetworkPoliciesAsync(String resourceGroupName, String /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -1275,11 +1432,12 @@ public Mono unprepareNetworkPoliciesAsync(String resourceGroupName, String * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono unprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, - String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { + private Mono unprepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { return beginUnprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters, context).last().flatMap(this.client::getLroFinalResultOrError); } @@ -1287,7 +1445,7 @@ private Mono unprepareNetworkPoliciesAsync(String resourceGroupName, Strin /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -1295,18 +1453,20 @@ private Mono unprepareNetworkPoliciesAsync(String resourceGroupName, Strin * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + public UnprepareNetworkPoliciesFinalResult unprepareNetworkPolicies(String resourceGroupName, + String virtualNetworkName, String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { - unprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, + return unprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters).block(); } /** * Unprepares a subnet by removing network intent policies. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param subnetName The name of the subnet. * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to remove network intent @@ -1315,158 +1475,16 @@ public void unprepareNetworkPolicies(String resourceGroupName, String virtualNet * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + public UnprepareNetworkPoliciesFinalResult unprepareNetworkPolicies(String resourceGroupName, + String virtualNetworkName, String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { - unprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, + return unprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters, context).block(); } - /** - * Gets all subnets in a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 all subnets in a virtual network along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, String virtualNetworkName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - apiVersion, 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())); - } - - /** - * Gets all subnets in a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 all subnets in a virtual network along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, String virtualNetworkName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets all subnets in a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 all subnets in a virtual network as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String virtualNetworkName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, virtualNetworkName), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets all subnets in a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 all subnets in a virtual network as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String virtualNetworkName, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, virtualNetworkName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets all subnets in a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 all subnets in a virtual network as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String virtualNetworkName) { - return new PagedIterable<>(listAsync(resourceGroupName, virtualNetworkName)); - } - - /** - * Gets all subnets in a virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 all subnets in a virtual network as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String virtualNetworkName, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, virtualNetworkName, context)); - } - /** * Get the next page of items. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java index 7976360efb5d..ec6072c807e0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -30,7 +30,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.SubscriptionNetworkManagerConnectionsClient; import com.azure.resourcemanager.network.fluent.models.NetworkManagerConnectionInner; -import com.azure.resourcemanager.network.models.NetworkManagerConnectionListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkManagerConnectionListResult; import reactor.core.publisher.Mono; /** @@ -64,44 +64,41 @@ public final class SubscriptionNetworkManagerConnectionsClientImpl * The interface defining all the services for NetworkManagementClientSubscriptionNetworkManagerConnections to be * used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientSubscriptionNetworkManagerConnections") public interface SubscriptionNetworkManagerConnectionsService { @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}") - @ExpectedResponses({ 200, 201 }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("networkManagerConnectionName") String networkManagerConnectionName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") NetworkManagerConnectionInner parameters, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}") - @ExpectedResponses({ 200 }) + @Put("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("networkManagerConnectionName") String networkManagerConnectionName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") NetworkManagerConnectionInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("networkManagerConnectionName") String networkManagerConnectionName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("networkManagerConnectionName") String networkManagerConnectionName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @@ -110,24 +107,22 @@ Mono> list(@HostParam("$host") Stri @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Create a network manager connection on this subscription. + * Get a specified connection created by this subscription. * * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return a specified connection created by this subscription along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - createOrUpdateWithResponseAsync(String networkManagerConnectionName, NetworkManagerConnectionInner parameters) { + public Mono> getWithResponseAsync(String networkManagerConnectionName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -140,34 +135,28 @@ Mono> listNext( return Mono.error( new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - networkManagerConnectionName, apiVersion, parameters, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + networkManagerConnectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Create a network manager connection on this subscription. + * Get a specified connection created by this subscription. * * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource along with {@link Response} on successful completion of - * {@link Mono}. + * @return a specified connection created by this subscription along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> createOrUpdateWithResponseAsync( - String networkManagerConnectionName, NetworkManagerConnectionInner parameters, Context context) { + private Mono> getWithResponseAsync(String networkManagerConnectionName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -180,80 +169,71 @@ private Mono> createOrUpdateWithResponse return Mono.error( new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - networkManagerConnectionName, apiVersion, parameters, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + networkManagerConnectionName, accept, context); } /** - * Create a network manager connection on this subscription. + * Get a specified connection created by this subscription. * * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource on successful completion of {@link Mono}. + * @return a specified connection created by this subscription on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String networkManagerConnectionName, - NetworkManagerConnectionInner parameters) { - return createOrUpdateWithResponseAsync(networkManagerConnectionName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono getAsync(String networkManagerConnectionName) { + return getWithResponseAsync(networkManagerConnectionName).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Create a network manager connection on this subscription. + * Get a specified connection created by this subscription. * * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource along with {@link Response}. + * @return a specified connection created by this subscription along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createOrUpdateWithResponse(String networkManagerConnectionName, - NetworkManagerConnectionInner parameters, Context context) { - return createOrUpdateWithResponseAsync(networkManagerConnectionName, parameters, context).block(); + public Response getWithResponse(String networkManagerConnectionName, + Context context) { + return getWithResponseAsync(networkManagerConnectionName, context).block(); } /** - * Create a network manager connection on this subscription. + * Get a specified connection created by this subscription. * * @param networkManagerConnectionName Name for the network manager connection. - * @param parameters Network manager connection to be created/updated. * @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 Network Manager Connection resource. + * @return a specified connection created by this subscription. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkManagerConnectionInner createOrUpdate(String networkManagerConnectionName, - NetworkManagerConnectionInner parameters) { - return createOrUpdateWithResponse(networkManagerConnectionName, parameters, Context.NONE).getValue(); + public NetworkManagerConnectionInner get(String networkManagerConnectionName) { + return getWithResponse(networkManagerConnectionName, Context.NONE).getValue(); } /** - * Get a specified connection created by this subscription. + * Create a network manager connection on this subscription. * * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @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 specified connection created by this subscription along with {@link Response} on successful completion - * of {@link Mono}. + * @return the Network Manager Connection resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String networkManagerConnectionName) { + public Mono> + createOrUpdateWithResponseAsync(String networkManagerConnectionName, NetworkManagerConnectionInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -266,28 +246,34 @@ public Mono> getWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - networkManagerConnectionName, apiVersion, accept, context)) + return FluxUtil.withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), networkManagerConnectionName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Get a specified connection created by this subscription. + * Create a network manager connection on this subscription. * * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @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 a specified connection created by this subscription along with {@link Response} on successful completion - * of {@link Mono}. + * @return the Network Manager Connection resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String networkManagerConnectionName, - Context context) { + private Mono> createOrUpdateWithResponseAsync( + String networkManagerConnectionName, NetworkManagerConnectionInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -300,55 +286,67 @@ private Mono> getWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), networkManagerConnectionName, - apiVersion, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + networkManagerConnectionName, contentType, accept, parameters, context); } /** - * Get a specified connection created by this subscription. + * Create a network manager connection on this subscription. * * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @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 specified connection created by this subscription on successful completion of {@link Mono}. + * @return the Network Manager Connection resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String networkManagerConnectionName) { - return getWithResponseAsync(networkManagerConnectionName).flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono createOrUpdateAsync(String networkManagerConnectionName, + NetworkManagerConnectionInner parameters) { + return createOrUpdateWithResponseAsync(networkManagerConnectionName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Get a specified connection created by this subscription. + * Create a network manager connection on this subscription. * * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @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 a specified connection created by this subscription along with {@link Response}. + * @return the Network Manager Connection resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String networkManagerConnectionName, - Context context) { - return getWithResponseAsync(networkManagerConnectionName, context).block(); + public Response createOrUpdateWithResponse(String networkManagerConnectionName, + NetworkManagerConnectionInner parameters, Context context) { + return createOrUpdateWithResponseAsync(networkManagerConnectionName, parameters, context).block(); } /** - * Get a specified connection created by this subscription. + * Create a network manager connection on this subscription. * * @param networkManagerConnectionName Name for the network manager connection. + * @param parameters Network manager connection to be created/updated. * @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 specified connection created by this subscription. + * @return the Network Manager Connection resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkManagerConnectionInner get(String networkManagerConnectionName) { - return getWithResponse(networkManagerConnectionName, Context.NONE).getValue(); + public NetworkManagerConnectionInner createOrUpdate(String networkManagerConnectionName, + NetworkManagerConnectionInner parameters) { + return createOrUpdateWithResponse(networkManagerConnectionName, parameters, Context.NONE).getValue(); } /** @@ -375,10 +373,9 @@ public Mono> deleteWithResponseAsync(String networkManagerConnect new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - networkManagerConnectionName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), networkManagerConnectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -407,10 +404,9 @@ private Mono> deleteWithResponseAsync(String networkManagerConnec new IllegalArgumentException("Parameter networkManagerConnectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), networkManagerConnectionName, - apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + networkManagerConnectionName, context); } /** @@ -466,8 +462,8 @@ public void delete(String networkManagerConnectionName) { * @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 list of network manager connections along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManagerConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Integer top, String skipToken) { @@ -482,7 +478,7 @@ private Mono> listSinglePageAsync(I final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), top, skipToken, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -501,8 +497,8 @@ private Mono> listSinglePageAsync(I * @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 list of network manager connections along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManagerConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Integer top, String skipToken, @@ -519,7 +515,7 @@ private Mono> listSinglePageAsync(I final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, top, skipToken, accept, + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), top, skipToken, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); @@ -536,7 +532,7 @@ private Mono> listSinglePageAsync(I * @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 list of network manager connections as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManagerConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(Integer top, String skipToken) { @@ -549,7 +545,7 @@ public PagedFlux listAsync(Integer top, String sk * * @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 list of network manager connections as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManagerConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync() { @@ -571,7 +567,7 @@ public PagedFlux listAsync() { * @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 list of network manager connections as paginated response with {@link PagedFlux}. + * @return the response of a NetworkManagerConnection list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(Integer top, String skipToken, Context context) { @@ -584,7 +580,8 @@ private PagedFlux listAsync(Integer top, String s * * @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 list of network manager connections as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManagerConnection list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list() { @@ -605,7 +602,8 @@ public PagedIterable list() { * @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 list of network manager connections as paginated response with {@link PagedIterable}. + * @return the response of a NetworkManagerConnection list operation as paginated response with + * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(Integer top, String skipToken, Context context) { @@ -619,8 +617,8 @@ public PagedIterable list(Integer top, String ski * @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 list of network manager connections along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManagerConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -646,8 +644,8 @@ private Mono> listNextSinglePageAsy * @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 list of network manager connections along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response of a NetworkManagerConnection list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java index d0f8151c7c12..2486f5302304 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.UsagesClient; import com.azure.resourcemanager.network.fluent.models.UsageInner; -import com.azure.resourcemanager.network.models.UsagesListResult; +import com.azure.resourcemanager.network.implementation.models.UsagesListResult; import reactor.core.publisher.Mono; /** @@ -58,29 +58,29 @@ public final class UsagesClientImpl implements UsagesClient { * The interface defining all the services for NetworkManagementClientUsages to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientUsages") public interface UsagesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("location") String location, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * List network usages for a subscription. * - * @param location The location where resource usage is queried. + * @param location The location name. * @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. @@ -93,18 +93,18 @@ private Mono> listSinglePageAsync(String location) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), location, apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + location, 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())); @@ -113,7 +113,7 @@ private Mono> listSinglePageAsync(String location) { /** * List network usages for a subscription. * - * @param location The location where resource usage is queried. + * @param location The location name. * @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. @@ -127,18 +127,18 @@ private Mono> listSinglePageAsync(String location, Con return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), location, apiVersion, this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), location, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -146,7 +146,7 @@ private Mono> listSinglePageAsync(String location, Con /** * List network usages for a subscription. * - * @param location The location where resource usage is queried. + * @param location The location name. * @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. @@ -160,7 +160,7 @@ public PagedFlux listAsync(String location) { /** * List network usages for a subscription. * - * @param location The location where resource usage is queried. + * @param location The location name. * @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. @@ -176,7 +176,7 @@ private PagedFlux listAsync(String location, Context context) { /** * List network usages for a subscription. * - * @param location The location where resource usage is queried. + * @param location The location name. * @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. @@ -190,7 +190,7 @@ public PagedIterable list(String location) { /** * List network usages for a subscription. * - * @param location The location where resource usage is queried. + * @param location The location name. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java index 4ff115fe164f..10621d56ce7d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VerifierWorkspacesClient; import com.azure.resourcemanager.network.fluent.models.VerifierWorkspaceInner; -import com.azure.resourcemanager.network.models.VerifierWorkspaceListResult; +import com.azure.resourcemanager.network.implementation.models.VerifierWorkspaceListResult; import com.azure.resourcemanager.network.models.VerifierWorkspaceUpdate; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -69,282 +69,78 @@ public final class VerifierWorkspacesClientImpl implements VerifierWorkspacesCli * The interface defining all the services for NetworkManagementClientVerifierWorkspaces to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVerifierWorkspaces") public interface VerifierWorkspacesService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("skipToken") String skipToken, - @QueryParam("skip") Integer skip, @QueryParam("top") Integer top, @QueryParam("sortKey") String sortKey, - @QueryParam("sortValue") String sortValue, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("workspaceName") String workspaceName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> create(@HostParam("$host") String endpoint, + Mono> create(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("workspaceName") String workspaceName, @HeaderParam("If-Match") String ifMatch, - @BodyParam("application/json") VerifierWorkspaceInner body, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VerifierWorkspaceInner body, Context context); @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> update(@HostParam("$host") String endpoint, + Mono> update(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @PathParam("workspaceName") String workspaceName, @HeaderParam("If-Match") String ifMatch, - @BodyParam("application/json") VerifierWorkspaceUpdate body, @HeaderParam("Accept") String accept, + @HeaderParam("Accept") String accept, @BodyParam("application/json") VerifierWorkspaceUpdate body, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, - @PathParam("workspaceName") String workspaceName, @HeaderParam("If-Match") String ifMatch, - @HeaderParam("Accept") String accept, Context context); + @PathParam("workspaceName") String workspaceName, @HeaderParam("If-Match") String ifMatch, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, @QueryParam("skipToken") String skipToken, + @QueryParam("skip") Integer skip, @QueryParam("top") Integer top, @QueryParam("sortKey") String sortKey, + @QueryParam("sortValue") String sortValue, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Verifier Workspaces along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue, 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())); - } - - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Verifier Workspaces along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, skipToken, skip, top, sortKey, sortValue, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Verifier Workspaces as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @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 list of Verifier Workspaces as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { - final String skipToken = null; - final Integer skip = null; - final Integer top = null; - final String sortKey = null; - final String sortValue = null; - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Verifier Workspaces as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String networkManagerName, - String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, - sortKey, sortValue, context), nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @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 list of Verifier Workspaces as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName) { - final String skipToken = null; - final Integer skip = null; - final Integer top = null; - final String sortKey = null; - final String sortValue = null; - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue)); - } - - /** - * Gets list of Verifier Workspaces. - * - * @param resourceGroupName The name of the resource group. - * @param networkManagerName The name of the network manager. - * @param skipToken Optional skip token. - * @param skip Optional num entries to skip. - * @param top Optional num entries to show. - * @param sortKey Optional key by which to sort. - * @param sortValue Optional sort value for pagination. - * @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 list of Verifier Workspaces as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context) { - return new PagedIterable<>( - listAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue, context)); - } - /** * Gets Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -383,9 +179,9 @@ public Mono> getWithResponseAsync(String resour /** * Gets Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -424,9 +220,9 @@ private Mono> getWithResponseAsync(String resou /** * Gets Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -442,9 +238,9 @@ public Mono getAsync(String resourceGroupName, String ne /** * Gets Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -460,9 +256,9 @@ public Response getWithResponse(String resourceGroupName /** * Gets Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -476,9 +272,9 @@ public VerifierWorkspaceInner get(String resourceGroupName, String networkManage /** * Creates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param body Verifier Workspace object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -515,20 +311,21 @@ public Mono> createWithResponseAsync(String res body.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext( context -> service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, workspaceName, ifMatch, body, accept, context)) + resourceGroupName, networkManagerName, workspaceName, ifMatch, contentType, accept, body, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param body Verifier Workspace object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -566,18 +363,19 @@ private Mono> createWithResponseAsync(String re body.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, workspaceName, ifMatch, body, accept, context); + networkManagerName, workspaceName, ifMatch, contentType, accept, body, context); } /** * Creates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param body Verifier Workspace object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -595,9 +393,9 @@ public Mono createAsync(String resourceGroupName, String /** * Creates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param body Verifier Workspace object to create/update. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. @@ -617,9 +415,9 @@ public Response createWithResponse(String resourceGroupN /** * Creates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param body Verifier Workspace object to create/update. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -637,9 +435,9 @@ public VerifierWorkspaceInner create(String resourceGroupName, String networkMan /** * Updates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param body Verifier Workspace object to create/update. @@ -678,16 +476,16 @@ public Mono> updateWithResponseAsync(String res return FluxUtil .withContext( context -> service.update(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, workspaceName, ifMatch, body, accept, context)) + resourceGroupName, networkManagerName, workspaceName, ifMatch, accept, body, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param body Verifier Workspace object to create/update. @@ -727,15 +525,15 @@ private Mono> updateWithResponseAsync(String re final String accept = "application/json"; context = this.client.mergeContext(context); return service.update(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, workspaceName, ifMatch, body, accept, context); + networkManagerName, workspaceName, ifMatch, accept, body, context); } /** * Updates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -753,9 +551,9 @@ public Mono updateAsync(String resourceGroupName, String /** * Updates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param body Verifier Workspace object to create/update. @@ -775,9 +573,9 @@ public Response updateWithResponse(String resourceGroupN /** * Updates Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -794,9 +592,9 @@ public VerifierWorkspaceInner update(String resourceGroupName, String networkMan /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -827,20 +625,19 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil .withContext( context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, workspaceName, ifMatch, accept, context)) + resourceGroupName, networkManagerName, workspaceName, ifMatch, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param context The context to associate with this operation. @@ -872,18 +669,17 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter workspaceName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, workspaceName, ifMatch, accept, context); + networkManagerName, workspaceName, ifMatch, context); } /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -903,9 +699,9 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -924,9 +720,9 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param context The context to associate with this operation. @@ -948,9 +744,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -966,9 +762,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param context The context to associate with this operation. @@ -987,9 +783,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1007,9 +803,9 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -1025,9 +821,9 @@ public Mono deleteAsync(String resourceGroupName, String networkManagerNam /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param context The context to associate with this operation. @@ -1046,9 +842,9 @@ private Mono deleteAsync(String resourceGroupName, String networkManagerNa /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @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. @@ -1062,9 +858,9 @@ public void delete(String resourceGroupName, String networkManagerName, String w /** * Deletes Verifier Workspace. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. - * @param workspaceName Workspace name. + * @param workspaceName The name of the resource. * @param ifMatch The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to * apply the operation unconditionally. * @param context The context to associate with this operation. @@ -1078,6 +874,208 @@ public void delete(String resourceGroupName, String networkManagerName, String w deleteAsync(resourceGroupName, networkManagerName, workspaceName, ifMatch, context).block(); } + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Verifier Workspaces along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue, 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())); + } + + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Verifier Workspaces along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkManagerName, String skipToken, Integer skip, Integer top, String sortKey, String sortValue, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, skipToken, skip, top, sortKey, sortValue, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Verifier Workspaces as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String skipToken, Integer skip, Integer top, String sortKey, String sortValue) { + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 list of Verifier Workspaces as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String networkManagerName) { + final String skipToken = null; + final Integer skip = null; + final Integer top = null; + final String sortKey = null; + final String sortValue = null; + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Verifier Workspaces as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String networkManagerName, + String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, skipToken, skip, top, + sortKey, sortValue, context), nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @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 list of Verifier Workspaces as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName) { + final String skipToken = null; + final Integer skip = null; + final Integer top = null; + final String sortKey = null; + final String sortValue = null; + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue)); + } + + /** + * Gets list of Verifier Workspaces. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param skipToken Optional skip token. + * @param skip Optional num entries to skip. + * @param top Optional num entries to show. + * @param sortKey Optional key by which to sort. + * @param sortValue Optional sort value for pagination. + * @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 list of Verifier Workspaces as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String networkManagerName, + String skipToken, Integer skip, Integer top, String sortKey, String sortValue, Context context) { + return new PagedIterable<>( + listAsync(resourceGroupName, networkManagerName, skipToken, skip, top, sortKey, sortValue, context)); + } + /** * Gets list of Verifier Workspaces. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java index 48907f68607b..68fcc13f5596 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -18,6 +18,10 @@ 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; @@ -28,7 +32,8 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VipSwapsClient; import com.azure.resourcemanager.network.fluent.models.SwapResourceInner; -import com.azure.resourcemanager.network.fluent.models.SwapResourceListResultInner; +import com.azure.resourcemanager.network.implementation.models.SwapResourceListResult; +import com.azure.resourcemanager.network.models.SingletonResource; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -61,36 +66,37 @@ public final class VipSwapsClientImpl implements VipSwapsClient { * The interface defining all the services for NetworkManagementClientVipSwaps to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVipSwaps") public interface VipSwapsService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("groupName") String groupName, @PathParam("resourceName") String resourceName, - @PathParam("singletonResource") String singletonResource, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("singletonResource") SingletonResource singletonResource, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}") + @Headers({ "Accept: application/json;q=0.9" }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> create(@HostParam("$host") String endpoint, + Mono>> create(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("groupName") String groupName, @PathParam("resourceName") String resourceName, - @PathParam("singletonResource") String singletonResource, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") SwapResourceInner parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("singletonResource") SingletonResource singletonResource, + @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") SwapResourceInner parameters, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("groupName") String groupName, @PathParam("resourceName") String resourceName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("groupName") String groupName, @PathParam("resourceName") String resourceName, @HeaderParam("Accept") String accept, Context context); } @@ -98,8 +104,9 @@ Mono> list(@HostParam("$host") String endp * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud * service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @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. @@ -107,27 +114,31 @@ Mono> list(@HostParam("$host") String endp * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String groupName, String resourceName) { + public Mono> getWithResponseAsync(String groupName, String resourceName, + SingletonResource singletonResource) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (groupName == null) { return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); } if (resourceName == null) { return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (singletonResource == null) { + return Mono + .error(new IllegalArgumentException("Parameter singletonResource is required and cannot be null.")); } - final String singletonResource = "swap"; final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), groupName, resourceName, singletonResource, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + groupName, resourceName, singletonResource, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -135,8 +146,9 @@ public Mono> getWithResponseAsync(String groupName, * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud * service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @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. @@ -146,35 +158,39 @@ public Mono> getWithResponseAsync(String groupName, */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync(String groupName, String resourceName, - Context context) { + SingletonResource singletonResource, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (groupName == null) { return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); } if (resourceName == null) { return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (singletonResource == null) { + return Mono + .error(new IllegalArgumentException("Parameter singletonResource is required and cannot be null.")); } - final String singletonResource = "swap"; final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), groupName, resourceName, singletonResource, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), groupName, + resourceName, singletonResource, accept, context); } /** * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud * service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @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. @@ -182,16 +198,19 @@ private Mono> getWithResponseAsync(String groupName, * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String groupName, String resourceName) { - return getWithResponseAsync(groupName, resourceName).flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono getAsync(String groupName, String resourceName, + SingletonResource singletonResource) { + return getWithResponseAsync(groupName, resourceName, singletonResource) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud * service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @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. @@ -200,31 +219,34 @@ public Mono getAsync(String groupName, String resourceName) { * {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String groupName, String resourceName, Context context) { - return getWithResponseAsync(groupName, resourceName, context).block(); + public Response getWithResponse(String groupName, String resourceName, + SingletonResource singletonResource, Context context) { + return getWithResponseAsync(groupName, resourceName, singletonResource, context).block(); } /** * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud * service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @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 SwapResource which identifies the slot type for the specified cloud service. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SwapResourceInner get(String groupName, String resourceName) { - return getWithResponse(groupName, resourceName, Context.NONE).getValue(); + public SwapResourceInner get(String groupName, String resourceName, SingletonResource singletonResource) { + return getWithResponse(groupName, resourceName, singletonResource, Context.NONE).getValue(); } /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -234,40 +256,45 @@ public SwapResourceInner get(String groupName, String resourceName) { */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> createWithResponseAsync(String groupName, String resourceName, - SwapResourceInner parameters) { + SingletonResource singletonResource, SwapResourceInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (groupName == null) { return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); } if (resourceName == null) { return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (singletonResource == null) { + return Mono + .error(new IllegalArgumentException("Parameter singletonResource is required and cannot be null.")); } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } - final String singletonResource = "swap"; final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; return FluxUtil - .withContext(context -> service.create(this.client.getEndpoint(), groupName, resourceName, - singletonResource, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + groupName, resourceName, singletonResource, contentType, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -278,39 +305,43 @@ public Mono>> createWithResponseAsync(String groupName */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> createWithResponseAsync(String groupName, String resourceName, - SwapResourceInner parameters, Context context) { + SingletonResource singletonResource, SwapResourceInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (groupName == null) { return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); } if (resourceName == null) { return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (singletonResource == null) { + return Mono + .error(new IllegalArgumentException("Parameter singletonResource is required and cannot be null.")); } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } - final String singletonResource = "swap"; final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.create(this.client.getEndpoint(), groupName, resourceName, singletonResource, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), groupName, + resourceName, singletonResource, contentType, parameters, context); } /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -320,8 +351,9 @@ private Mono>> createWithResponseAsync(String groupNam */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, Void> beginCreateAsync(String groupName, String resourceName, - SwapResourceInner parameters) { - Mono>> mono = createWithResponseAsync(groupName, resourceName, parameters); + SingletonResource singletonResource, SwapResourceInner parameters) { + Mono>> mono + = createWithResponseAsync(groupName, resourceName, singletonResource, parameters); return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } @@ -329,8 +361,9 @@ public PollerFlux, Void> beginCreateAsync(String groupName, Str /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -341,9 +374,10 @@ public PollerFlux, Void> beginCreateAsync(String groupName, Str */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginCreateAsync(String groupName, String resourceName, - SwapResourceInner parameters, Context context) { + SingletonResource singletonResource, SwapResourceInner parameters, Context context) { context = this.client.mergeContext(context); - Mono>> mono = createWithResponseAsync(groupName, resourceName, parameters, context); + Mono>> mono + = createWithResponseAsync(groupName, resourceName, singletonResource, parameters, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); } @@ -351,8 +385,9 @@ private PollerFlux, Void> beginCreateAsync(String groupName, St /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -362,15 +397,16 @@ private PollerFlux, Void> beginCreateAsync(String groupName, St */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginCreate(String groupName, String resourceName, - SwapResourceInner parameters) { - return this.beginCreateAsync(groupName, resourceName, parameters).getSyncPoller(); + SingletonResource singletonResource, SwapResourceInner parameters) { + return this.beginCreateAsync(groupName, resourceName, singletonResource, parameters).getSyncPoller(); } /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -381,15 +417,16 @@ public SyncPoller, Void> beginCreate(String groupName, String r */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginCreate(String groupName, String resourceName, - SwapResourceInner parameters, Context context) { - return this.beginCreateAsync(groupName, resourceName, parameters, context).getSyncPoller(); + SingletonResource singletonResource, SwapResourceInner parameters, Context context) { + return this.beginCreateAsync(groupName, resourceName, singletonResource, parameters, context).getSyncPoller(); } /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -398,16 +435,18 @@ public SyncPoller, Void> beginCreate(String groupName, String r * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createAsync(String groupName, String resourceName, SwapResourceInner parameters) { - return beginCreateAsync(groupName, resourceName, parameters).last() + public Mono createAsync(String groupName, String resourceName, SingletonResource singletonResource, + SwapResourceInner parameters) { + return beginCreateAsync(groupName, resourceName, singletonResource, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -417,17 +456,18 @@ public Mono createAsync(String groupName, String resourceName, SwapResourc * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createAsync(String groupName, String resourceName, SwapResourceInner parameters, - Context context) { - return beginCreateAsync(groupName, resourceName, parameters, context).last() + private Mono createAsync(String groupName, String resourceName, SingletonResource singletonResource, + SwapResourceInner parameters, Context context) { + return beginCreateAsync(groupName, resourceName, singletonResource, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -435,15 +475,17 @@ private Mono createAsync(String groupName, String resourceName, SwapResour * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void create(String groupName, String resourceName, SwapResourceInner parameters) { - createAsync(groupName, resourceName, parameters).block(); + public void create(String groupName, String resourceName, SingletonResource singletonResource, + SwapResourceInner parameters) { + createAsync(groupName, resourceName, singletonResource, parameters).block(); } /** * Performs vip swap operation on swappable cloud services. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. + * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -452,43 +494,46 @@ public void create(String groupName, String resourceName, SwapResourceInner para * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void create(String groupName, String resourceName, SwapResourceInner parameters, Context context) { - createAsync(groupName, resourceName, parameters, context).block(); + public void create(String groupName, String resourceName, SingletonResource singletonResource, + SwapResourceInner parameters, Context context) { + createAsync(groupName, resourceName, singletonResource, parameters, context).block(); } /** * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a * cloud service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. * @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 list of SwapResource which identifies the slot type for the specified cloud service along with - * {@link Response} on successful completion of {@link Mono}. + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listWithResponseAsync(String groupName, String resourceName) { + private Mono> listSinglePageAsync(String groupName, String resourceName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (groupName == null) { return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); } if (resourceName == null) { return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), groupName, resourceName, apiVersion, - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + groupName, resourceName, accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + res.getHeaders(), res.getValue().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -496,88 +541,109 @@ public Mono> listWithResponseAsync(String * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a * cloud service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. * @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 list of SwapResource which identifies the slot type for the specified cloud service along with - * {@link Response} on successful completion of {@link Mono}. + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listWithResponseAsync(String groupName, String resourceName, + private Mono> listSinglePageAsync(String groupName, String resourceName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (groupName == null) { return Mono.error(new IllegalArgumentException("Parameter groupName is required and cannot be null.")); } if (resourceName == null) { return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), groupName, resourceName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), groupName, resourceName, + accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), null, null)); } /** * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a * cloud service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. * @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 list of SwapResource which identifies the slot type for the specified cloud service on successful - * completion of {@link Mono}. + * @return the list of SwapResource which identifies the slot type for the specified cloud service as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listAsync(String groupName, String resourceName) { - return listWithResponseAsync(groupName, resourceName).flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String groupName, String resourceName) { + return new PagedFlux<>(() -> listSinglePageAsync(groupName, resourceName)); } /** * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a * cloud service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. * @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 list of SwapResource which identifies the slot type for the specified cloud service along with - * {@link Response}. + * @return the list of SwapResource which identifies the slot type for the specified cloud service as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listWithResponse(String groupName, String resourceName, - Context context) { - return listWithResponseAsync(groupName, resourceName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String groupName, String resourceName, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(groupName, resourceName, context)); } /** * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a * cloud service can either be Staging or Production. * - * @param groupName The name of the resource group. + * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. * @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 list of SwapResource which identifies the slot type for the specified cloud service. + * @return the list of SwapResource which identifies the slot type for the specified cloud service as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public SwapResourceListResultInner list(String groupName, String resourceName) { - return listWithResponse(groupName, resourceName, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String groupName, String resourceName) { + return new PagedIterable<>(listAsync(groupName, resourceName)); + } + + /** + * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a + * cloud service can either be Staging or Production. + * + * @param groupName The groupName parameter. + * @param resourceName The name of the cloud service. + * @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 list of SwapResource which identifies the slot type for the specified cloud service as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String groupName, String resourceName, Context context) { + return new PagedIterable<>(listAsync(groupName, resourceName, context)); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java index d6b203248ca1..3237b37fa25a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualApplianceSitesClient; import com.azure.resourcemanager.network.fluent.models.VirtualApplianceSiteInner; -import com.azure.resourcemanager.network.models.NetworkVirtualApplianceSiteListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkVirtualApplianceSiteListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,49 +67,48 @@ public final class VirtualApplianceSitesClientImpl implements VirtualApplianceSi * The interface defining all the services for NetworkManagementClientVirtualApplianceSites to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVirtualApplianceSites") public interface VirtualApplianceSitesService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @PathParam("siteName") String siteName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @PathParam("siteName") String siteName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("siteName") String siteName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @PathParam("siteName") String siteName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VirtualApplianceSiteInner parameters, @HeaderParam("Accept") String accept, + @PathParam("siteName") String siteName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") VirtualApplianceSiteInner parameters, Context context); + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}") + @ExpectedResponses({ 200, 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("networkVirtualApplianceName") String networkVirtualApplianceName, + @PathParam("siteName") String siteName, Context context); + @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkVirtualApplianceName") String networkVirtualApplianceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -117,242 +116,17 @@ Mono> list(@HostParam("$host") S @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, String siteName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkVirtualApplianceName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); - } - if (siteName == null) { - return Mono.error(new IllegalArgumentException("Parameter siteName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - networkVirtualApplianceName, siteName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String networkVirtualApplianceName, String siteName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkVirtualApplianceName == null) { - return Mono.error( - new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); - } - if (siteName == null) { - return Mono.error(new IllegalArgumentException("Parameter siteName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, siteName, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String networkVirtualApplianceName, String siteName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkVirtualApplianceName, siteName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String networkVirtualApplianceName, String siteName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, networkVirtualApplianceName, siteName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 networkVirtualApplianceName, - String siteName) { - return this.beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, siteName).getSyncPoller(); - } - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 networkVirtualApplianceName, - String siteName, Context context) { - return this.beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, siteName, context).getSyncPoller(); - } - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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) - public Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName) { - return beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, siteName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName, - Context context) { - return beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, siteName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 networkVirtualApplianceName, String siteName) { - deleteAsync(resourceGroupName, networkVirtualApplianceName, siteName).block(); - } - - /** - * Deletes the specified site from a Virtual Appliance. - * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. - * @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 networkVirtualApplianceName, String siteName, Context context) { - deleteAsync(resourceGroupName, networkVirtualApplianceName, siteName, context).block(); - } - /** * Gets the specified Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @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. @@ -366,6 +140,10 @@ public Mono> getWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -377,24 +155,21 @@ public Mono> getWithResponseAsync(String res if (siteName == null) { return Mono.error(new IllegalArgumentException("Parameter siteName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, - networkVirtualApplianceName, siteName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, siteName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @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. @@ -409,6 +184,10 @@ private Mono> getWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -420,23 +199,20 @@ private Mono> getWithResponseAsync(String re if (siteName == null) { return Mono.error(new IllegalArgumentException("Parameter siteName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, siteName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkVirtualApplianceName, siteName, accept, context); } /** * Gets the specified Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @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. @@ -452,9 +228,10 @@ public Mono getAsync(String resourceGroupName, String /** * Gets the specified Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @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. @@ -470,9 +247,10 @@ public Response getWithResponse(String resourceGroupN /** * Gets the specified Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @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. @@ -487,9 +265,10 @@ public VirtualApplianceSiteInner get(String resourceGroupName, String networkVir /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -503,6 +282,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -514,30 +297,28 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (siteName == null) { return Mono.error(new IllegalArgumentException("Parameter siteName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - networkVirtualApplianceName, siteName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkVirtualApplianceName, siteName, contentType, + accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -552,6 +333,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -563,28 +348,26 @@ private Mono>> createOrUpdateWithResponseAsync(String if (siteName == null) { return Mono.error(new IllegalArgumentException("Parameter siteName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, - siteName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, siteName, contentType, accept, parameters, context); } /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -605,9 +388,10 @@ public PollerFlux, VirtualApplianceSiteInn /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -629,9 +413,10 @@ private PollerFlux, VirtualApplianceSiteIn /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -649,9 +434,10 @@ public SyncPoller, VirtualApplianceSiteInn /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -671,9 +457,10 @@ public SyncPoller, VirtualApplianceSiteInn /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -690,9 +477,10 @@ public Mono createOrUpdateAsync(String resourceGroupN /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -711,9 +499,10 @@ private Mono createOrUpdateAsync(String resourceGroup /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -729,9 +518,10 @@ public VirtualApplianceSiteInner createOrUpdate(String resourceGroupName, String /** * Creates or updates the specified Network Virtual Appliance Site. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. - * @param siteName The name of the site. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -747,23 +537,28 @@ public VirtualApplianceSiteInner createOrUpdate(String resourceGroupName, String } /** - * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. + * Deletes the specified site from a Virtual Appliance. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. * @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 response for ListNetworkVirtualApplianceSites API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkVirtualApplianceName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, String siteName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -772,15 +567,244 @@ private Mono> listSinglePageAsync(Strin return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } + if (siteName == null) { + return Mono.error(new IllegalArgumentException("Parameter siteName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkVirtualApplianceName, siteName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String networkVirtualApplianceName, String siteName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkVirtualApplianceName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); + } + if (siteName == null) { + return Mono.error(new IllegalArgumentException("Parameter siteName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkVirtualApplianceName, siteName, context); + } + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String networkVirtualApplianceName, String siteName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkVirtualApplianceName, siteName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String networkVirtualApplianceName, String siteName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, networkVirtualApplianceName, siteName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @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 networkVirtualApplianceName, + String siteName) { + return this.beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, siteName).getSyncPoller(); + } + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @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 networkVirtualApplianceName, + String siteName, Context context) { + return this.beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, siteName, context).getSyncPoller(); + } + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @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) + public Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName) { + return beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, siteName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String networkVirtualApplianceName, String siteName, + Context context) { + return beginDeleteAsync(resourceGroupName, networkVirtualApplianceName, siteName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @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 networkVirtualApplianceName, String siteName) { + deleteAsync(resourceGroupName, networkVirtualApplianceName, siteName).block(); + } + + /** + * Deletes the specified site from a Virtual Appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @param siteName The name of the resource that is unique within a resource group. This name can be used to access + * the resource. + * @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 networkVirtualApplianceName, String siteName, Context context) { + deleteAsync(resourceGroupName, networkVirtualApplianceName, siteName, context).block(); + } + + /** + * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. + * @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 paged collection of VirtualApplianceSite items along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String networkVirtualApplianceName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkVirtualApplianceName == null) { + return Mono.error( + new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, - networkVirtualApplianceName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, networkVirtualApplianceName, 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())); @@ -789,14 +813,14 @@ private Mono> listSinglePageAsync(Strin /** * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 response for ListNetworkVirtualApplianceSites API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return paged collection of VirtualApplianceSite items along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, @@ -805,6 +829,10 @@ private Mono> listSinglePageAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -813,16 +841,12 @@ private Mono> listSinglePageAsync(Strin return Mono.error( new IllegalArgumentException("Parameter networkVirtualApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, networkVirtualApplianceName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkVirtualApplianceName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -830,13 +854,12 @@ private Mono> listSinglePageAsync(Strin /** * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 response for ListNetworkVirtualApplianceSites API service call as paginated response with - * {@link PagedFlux}. + * @return paged collection of VirtualApplianceSite items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, @@ -848,14 +871,13 @@ public PagedFlux listAsync(String resourceGroupName, /** * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 response for ListNetworkVirtualApplianceSites API service call as paginated response with - * {@link PagedFlux}. + * @return paged collection of VirtualApplianceSite items as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String networkVirtualApplianceName, @@ -867,13 +889,12 @@ private PagedFlux listAsync(String resourceGroupName, /** * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 response for ListNetworkVirtualApplianceSites API service call as paginated response with - * {@link PagedIterable}. + * @return paged collection of VirtualApplianceSite items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkVirtualApplianceName) { @@ -883,14 +904,13 @@ public PagedIterable list(String resourceGroupName, S /** * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. * - * @param resourceGroupName The name of the resource group. - * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkVirtualApplianceName The name of Network Virtual Appliance. * @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 response for ListNetworkVirtualApplianceSites API service call as paginated response with - * {@link PagedIterable}. + * @return paged collection of VirtualApplianceSite items as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String networkVirtualApplianceName, @@ -905,8 +925,8 @@ public PagedIterable list(String resourceGroupName, S * @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 response for ListNetworkVirtualApplianceSites API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return paged collection of VirtualApplianceSite items along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -932,8 +952,8 @@ private Mono> listNextSinglePageAsync(S * @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 response for ListNetworkVirtualApplianceSites API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return paged collection of VirtualApplianceSite items along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java index dbceb97613cf..5c04ef3a19f0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.VirtualApplianceSkusClient; import com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceSkuInner; -import com.azure.resourcemanager.network.models.NetworkVirtualApplianceSkuListResult; +import com.azure.resourcemanager.network.implementation.models.NetworkVirtualApplianceSkuListResult; import reactor.core.publisher.Mono; /** @@ -59,44 +59,46 @@ public final class VirtualApplianceSkusClientImpl implements VirtualApplianceSku * The interface defining all the services for NetworkManagementClientVirtualApplianceSkus to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVirtualApplianceSkus") public interface VirtualApplianceSkusService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("skuName") String skuName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @PathParam("skuName") String skuName, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * List all SKUs available for a virtual appliance. + * Retrieves a single available sku for network virtual appliance. * + * @param skuName Name of the Sku. + * @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 response for ListNetworkVirtualApplianceSkus API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return available NetworkVirtualApplianceSkus along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public Mono> getWithResponseAsync(String skuName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -105,28 +107,30 @@ private Mono> listSinglePageAsync return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (skuName == null) { + return Mono.error(new IllegalArgumentException("Parameter skuName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + skuName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * List all SKUs available for a virtual appliance. + * Retrieves a single available sku for network virtual appliance. * + * @param skuName Name of the Sku. * @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 response for ListNetworkVirtualApplianceSkus API service call along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return available NetworkVirtualApplianceSkus along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> getWithResponseAsync(String skuName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -135,83 +139,69 @@ private Mono> listSinglePageAsync return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (skuName == null) { + return Mono.error(new IllegalArgumentException("Parameter skuName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), skuName, accept, + context); } /** - * List all SKUs available for a virtual appliance. + * Retrieves a single available sku for network virtual appliance. * + * @param skuName Name of the Sku. + * @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 response for ListNetworkVirtualApplianceSkus API service call as paginated response with - * {@link PagedFlux}. + * @return available NetworkVirtualApplianceSkus on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String skuName) { + return getWithResponseAsync(skuName).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * List all SKUs available for a virtual appliance. + * Retrieves a single available sku for network virtual appliance. * + * @param skuName Name of the Sku. * @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 response for ListNetworkVirtualApplianceSkus API service call as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * List all SKUs available for a virtual appliance. - * - * @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 response for ListNetworkVirtualApplianceSkus API service call as paginated response with - * {@link PagedIterable}. + * @return available NetworkVirtualApplianceSkus along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String skuName, Context context) { + return getWithResponseAsync(skuName, context).block(); } /** - * List all SKUs available for a virtual appliance. + * Retrieves a single available sku for network virtual appliance. * - * @param context The context to associate with this operation. + * @param skuName Name of the Sku. * @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 response for ListNetworkVirtualApplianceSkus API service call as paginated response with - * {@link PagedIterable}. + * @return available NetworkVirtualApplianceSkus. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkVirtualApplianceSkuInner get(String skuName) { + return getWithResponse(skuName, Context.NONE).getValue(); } /** - * Retrieves a single available sku for network virtual appliance. + * List all SKUs available for a virtual appliance. * - * @param skuName Name of the Sku. - * @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 available NetworkVirtualApplianceSkus along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response of a NetworkVirtualApplianceSku list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String skuName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -220,30 +210,28 @@ public Mono> getWithResponseAsync(Stri return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (skuName == null) { - return Mono.error(new IllegalArgumentException("Parameter skuName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - skuName, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Retrieves a single available sku for network virtual appliance. + * List all SKUs available for a virtual appliance. * - * @param skuName Name of the Sku. * @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 available NetworkVirtualApplianceSkus along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response of a NetworkVirtualApplianceSku list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getWithResponseAsync(String skuName, Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -252,57 +240,67 @@ private Mono> getWithResponseAsync(Str return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (skuName == null) { - return Mono.error(new IllegalArgumentException("Parameter skuName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, skuName, accept, - context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Retrieves a single available sku for network virtual appliance. + * List all SKUs available for a virtual appliance. * - * @param skuName Name of the Sku. - * @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 available NetworkVirtualApplianceSkus on successful completion of {@link Mono}. + * @return the response of a NetworkVirtualApplianceSku list operation as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String skuName) { - return getWithResponseAsync(skuName).flatMap(res -> Mono.justOrEmpty(res.getValue())); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Retrieves a single available sku for network virtual appliance. + * List all SKUs available for a virtual appliance. * - * @param skuName Name of the Sku. * @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 available NetworkVirtualApplianceSkus along with {@link Response}. + * @return the response of a NetworkVirtualApplianceSku list operation as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String skuName, Context context) { - return getWithResponseAsync(skuName, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Retrieves a single available sku for network virtual appliance. + * List all SKUs available for a virtual appliance. * - * @param skuName Name of the Sku. + * @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 NetworkVirtualApplianceSku list operation as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * List all SKUs available for a virtual appliance. + * + * @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 available NetworkVirtualApplianceSkus. + * @return the response of a NetworkVirtualApplianceSku list operation as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkVirtualApplianceSkuInner get(String skuName) { - return getWithResponse(skuName, Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** @@ -312,7 +310,7 @@ public NetworkVirtualApplianceSkuInner get(String skuName) { * @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 response for ListNetworkVirtualApplianceSkus API service call along with {@link PagedResponse} on + * @return the response of a NetworkVirtualApplianceSku list operation along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -339,7 +337,7 @@ private Mono> listNextSinglePageA * @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 response for ListNetworkVirtualApplianceSkus API service call along with {@link PagedResponse} on + * @return the response of a NetworkVirtualApplianceSku list operation along with {@link PagedResponse} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java index 38432a52082e..215e927be349 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -35,7 +35,7 @@ import com.azure.core.util.serializer.TypeReference; import com.azure.resourcemanager.network.fluent.VirtualHubBgpConnectionsClient; import com.azure.resourcemanager.network.fluent.models.BgpConnectionInner; -import com.azure.resourcemanager.network.models.ListVirtualHubBgpConnectionResults; +import com.azure.resourcemanager.network.implementation.models.ListVirtualHubBgpConnectionResults; import com.azure.resourcemanager.network.models.PeerRoute; import java.nio.ByteBuffer; import java.util.List; @@ -72,81 +72,79 @@ public final class VirtualHubBgpConnectionsClientImpl implements VirtualHubBgpCo * The interface defining all the services for NetworkManagementClientVirtualHubBgpConnections to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVirtualHubBgpConnections") public interface VirtualHubBgpConnectionsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("connectionName") String connectionName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("connectionName") String connectionName, - @QueryParam("api-version") String apiVersion, @BodyParam("application/json") BgpConnectionInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BgpConnectionInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("connectionName") String connectionName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/learnedRoutes") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listLearnedRoutes(@HostParam("$host") String endpoint, + Mono>> listLearnedRoutes(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("hubName") String hubName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/advertisedRoutes") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listAdvertisedRoutes(@HostParam("$host") String endpoint, + Mono>> listAdvertisedRoutes(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("hubName") String hubName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a Virtual Hub Bgp Connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -178,15 +176,15 @@ public Mono> getWithResponseAsync(String resourceGr final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, connectionName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, connectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a Virtual Hub Bgp Connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param context The context to associate with this operation. @@ -219,14 +217,14 @@ private Mono> getWithResponseAsync(String resourceG final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, connectionName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, connectionName, accept, context); } /** * Retrieves the details of a Virtual Hub Bgp Connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -243,7 +241,7 @@ public Mono getAsync(String resourceGroupName, String virtua /** * Retrieves the details of a Virtual Hub Bgp Connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param context The context to associate with this operation. @@ -261,7 +259,7 @@ public Response getWithResponse(String resourceGroupName, St /** * Retrieves the details of a Virtual Hub Bgp Connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -277,7 +275,7 @@ public BgpConnectionInner get(String resourceGroupName, String virtualHubName, S /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -313,17 +311,19 @@ public Mono>> createOrUpdateWithResponseAsync(String r parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, connectionName, apiVersion, parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, connectionName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -360,16 +360,17 @@ private Mono>> createOrUpdateWithResponseAsync(String parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, connectionName, apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, connectionName, contentType, accept, parameters, context); } /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -390,7 +391,7 @@ public PollerFlux, BgpConnectionInner> beginCreat /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -414,7 +415,7 @@ private PollerFlux, BgpConnectionInner> beginCrea /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -433,7 +434,7 @@ public SyncPoller, BgpConnectionInner> beginCreat /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -453,7 +454,7 @@ public SyncPoller, BgpConnectionInner> beginCreat /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -472,7 +473,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -492,7 +493,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -510,7 +511,7 @@ public BgpConnectionInner createOrUpdate(String resourceGroupName, String virtua /** * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param parameters Parameters of Bgp connection. @@ -529,7 +530,7 @@ public BgpConnectionInner createOrUpdate(String resourceGroupName, String virtua /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -559,17 +560,16 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, connectionName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, connectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param context The context to associate with this operation. @@ -600,16 +600,15 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, connectionName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, connectionName, context); } /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -629,7 +628,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param context The context to associate with this operation. @@ -651,7 +650,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -668,7 +667,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param context The context to associate with this operation. @@ -686,7 +685,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -703,7 +702,7 @@ public Mono deleteAsync(String resourceGroupName, String virtualHubName, S /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param context The context to associate with this operation. @@ -722,7 +721,7 @@ private Mono deleteAsync(String resourceGroupName, String virtualHubName, /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -737,7 +736,7 @@ public void delete(String resourceGroupName, String virtualHubName, String conne /** * Deletes a VirtualHubBgpConnection. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param connectionName The name of the connection. * @param context The context to associate with this operation. @@ -753,7 +752,7 @@ public void delete(String resourceGroupName, String virtualHubName, String conne /** * Retrieves the details of all VirtualHubBgpConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -781,8 +780,8 @@ private Mono> listSinglePageAsync(String resou final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, 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())); @@ -791,7 +790,7 @@ private Mono> listSinglePageAsync(String resou /** * Retrieves the details of all VirtualHubBgpConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -821,8 +820,8 @@ private Mono> listSinglePageAsync(String resou final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, virtualHubName, - apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -830,7 +829,7 @@ private Mono> listSinglePageAsync(String resou /** * Retrieves the details of all VirtualHubBgpConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -846,7 +845,7 @@ public PagedFlux listAsync(String resourceGroupName, String /** * Retrieves the details of all VirtualHubBgpConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -863,7 +862,7 @@ private PagedFlux listAsync(String resourceGroupName, String /** * Retrieves the details of all VirtualHubBgpConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -878,7 +877,7 @@ public PagedIterable list(String resourceGroupName, String v /** * Retrieves the details of all VirtualHubBgpConnections. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -894,14 +893,13 @@ public PagedIterable list(String resourceGroupName, String v /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> listLearnedRoutesWithResponseAsync(String resourceGroupName, String hubName, @@ -910,6 +908,10 @@ public Mono>> listLearnedRoutesWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -920,30 +922,25 @@ public Mono>> listLearnedRoutesWithResponseAsync(Strin if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listLearnedRoutes(this.client.getEndpoint(), resourceGroupName, hubName, - connectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listLearnedRoutes(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, hubName, connectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> listLearnedRoutesWithResponseAsync(String resourceGroupName, @@ -952,6 +949,10 @@ private Mono>> listLearnedRoutesWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -962,27 +963,23 @@ private Mono>> listLearnedRoutesWithResponseAsync(Stri if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listLearnedRoutes(this.client.getEndpoint(), resourceGroupName, hubName, connectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.listLearnedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, hubName, connectionName, accept, context); } /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux>>, Map>> @@ -998,14 +995,14 @@ private Mono>> listLearnedRoutesWithResponseAsync(Stri /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 PollerFlux} for polling of map from virtual router instance to list of peer routes. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux>>, Map>> @@ -1022,13 +1019,13 @@ private Mono>> listLearnedRoutesWithResponseAsync(Stri /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller>>, Map>> @@ -1039,14 +1036,14 @@ private Mono>> listLearnedRoutesWithResponseAsync(Stri /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller>>, Map>> @@ -1057,13 +1054,13 @@ private Mono>> listLearnedRoutesWithResponseAsync(Stri /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> listLearnedRoutesAsync(String resourceGroupName, String hubName, @@ -1075,14 +1072,14 @@ public Mono>> listLearnedRoutesAsync(String resource /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> listLearnedRoutesAsync(String resourceGroupName, String hubName, @@ -1094,13 +1091,13 @@ private Mono>> listLearnedRoutesAsync(String resourc /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public Map> listLearnedRoutes(String resourceGroupName, String hubName, @@ -1111,14 +1108,14 @@ public Map> listLearnedRoutes(String resourceGroupName, /** * Retrieves a list of routes the virtual hub bgp connection has learned. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public Map> listLearnedRoutes(String resourceGroupName, String hubName, @@ -1129,14 +1126,13 @@ public Map> listLearnedRoutes(String resourceGroupName, /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> listAdvertisedRoutesWithResponseAsync(String resourceGroupName, @@ -1145,6 +1141,10 @@ public Mono>> listAdvertisedRoutesWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1155,30 +1155,25 @@ public Mono>> listAdvertisedRoutesWithResponseAsync(St if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAdvertisedRoutes(this.client.getEndpoint(), resourceGroupName, hubName, - connectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listAdvertisedRoutes(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, hubName, connectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> listAdvertisedRoutesWithResponseAsync(String resourceGroupName, @@ -1187,6 +1182,10 @@ private Mono>> listAdvertisedRoutesWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1197,27 +1196,23 @@ private Mono>> listAdvertisedRoutesWithResponseAsync(S if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAdvertisedRoutes(this.client.getEndpoint(), resourceGroupName, hubName, connectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.listAdvertisedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, hubName, connectionName, accept, context); } /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux>>, Map>> @@ -1233,14 +1228,14 @@ private Mono>> listAdvertisedRoutesWithResponseAsync(S /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 PollerFlux} for polling of map from virtual router instance to list of peer routes. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux>>, Map>> @@ -1258,13 +1253,13 @@ private Mono>> listAdvertisedRoutesWithResponseAsync(S /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller>>, Map>> @@ -1275,14 +1270,14 @@ private Mono>> listAdvertisedRoutesWithResponseAsync(S /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller>>, Map>> @@ -1293,13 +1288,13 @@ private Mono>> listAdvertisedRoutesWithResponseAsync(S /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> listAdvertisedRoutesAsync(String resourceGroupName, String hubName, @@ -1311,14 +1306,14 @@ public Mono>> listAdvertisedRoutesAsync(String resou /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> listAdvertisedRoutesAsync(String resourceGroupName, String hubName, @@ -1330,13 +1325,13 @@ private Mono>> listAdvertisedRoutesAsync(String reso /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public Map> listAdvertisedRoutes(String resourceGroupName, String hubName, @@ -1347,14 +1342,14 @@ public Map> listAdvertisedRoutes(String resourceGroupNam /** * Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param hubName The name of the virtual hub. - * @param connectionName The name of the virtual hub bgp connection. + * @param connectionName The name of the bgp connection. * @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 map from virtual router instance to list of peer routes. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public Map> listAdvertisedRoutes(String resourceGroupName, String hubName, @@ -1412,4 +1407,8 @@ private Mono> listNextSinglePageAsync(String n .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } + + private static final TypeReference>> TYPE_REFERENCE_MAP_STRING_LIST_PEER_ROUTE + = new TypeReference>>() { + }; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java index c0bea0dd5b5f..abe2ef03fa8f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualHubIpConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.HubIpConfigurationInner; -import com.azure.resourcemanager.network.models.ListVirtualHubIpConfigurationResults; +import com.azure.resourcemanager.network.implementation.models.ListVirtualHubIpConfigurationResults; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,66 +67,64 @@ public final class VirtualHubIpConfigurationsClientImpl implements VirtualHubIpC * The interface defining all the services for NetworkManagementClientVirtualHubIpConfigurations to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVirtualHubIpConfigurations") public interface VirtualHubIpConfigurationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("ipConfigName") String ipConfigName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("ipConfigName") String ipConfigName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") HubIpConfigurationInner parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") HubIpConfigurationInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("ipConfigName") String ipConfigName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a Virtual Hub Ip configuration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -156,17 +154,18 @@ public Mono> getWithResponseAsync(String resou final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, ipConfigName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, ipConfigName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a Virtual Hub Ip configuration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -197,16 +196,17 @@ private Mono> getWithResponseAsync(String reso final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, ipConfigName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, ipConfigName, accept, context); } /** * Retrieves the details of a Virtual Hub Ip configuration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -222,9 +222,10 @@ public Mono getAsync(String resourceGroupName, String v /** * Retrieves the details of a Virtual Hub Ip configuration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -240,9 +241,10 @@ public Response getWithResponse(String resourceGroupNam /** * Retrieves the details of a Virtual Hub Ip configuration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -257,9 +259,10 @@ public HubIpConfigurationInner get(String resourceGroupName, String virtualHubNa * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -293,10 +296,12 @@ public Mono>> createOrUpdateWithResponseAsync(String r parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, ipConfigName, apiVersion, parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, ipConfigName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -304,9 +309,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -341,19 +347,21 @@ private Mono>> createOrUpdateWithResponseAsync(String parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, ipConfigName, apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, ipConfigName, contentType, accept, parameters, context); } /** * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -374,9 +382,10 @@ public PollerFlux, HubIpConfigurationInner> * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -399,9 +408,10 @@ private PollerFlux, HubIpConfigurationInner> * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -419,9 +429,10 @@ public SyncPoller, HubIpConfigurationInner> * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -441,9 +452,10 @@ public SyncPoller, HubIpConfigurationInner> * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -461,9 +473,10 @@ public Mono createOrUpdateAsync(String resourceGroupNam * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -482,9 +495,10 @@ private Mono createOrUpdateAsync(String resourceGroupNa * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -501,9 +515,10 @@ public HubIpConfigurationInner createOrUpdate(String resourceGroupName, String v * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing * VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Hub Ip Configuration parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -520,9 +535,10 @@ public HubIpConfigurationInner createOrUpdate(String resourceGroupName, String v /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -550,19 +566,19 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter ipConfigName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, ipConfigName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, ipConfigName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -591,18 +607,18 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter ipConfigName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, ipConfigName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, ipConfigName, context); } /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -620,9 +636,10 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -642,9 +659,10 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -659,9 +677,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -677,9 +696,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -694,9 +714,10 @@ public Mono deleteAsync(String resourceGroupName, String virtualHubName, S /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -713,9 +734,10 @@ private Mono deleteAsync(String resourceGroupName, String virtualHubName, /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -728,9 +750,10 @@ public void delete(String resourceGroupName, String virtualHubName, String ipCon /** * Deletes a VirtualHubIpConfiguration. * - * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. - * @param ipConfigName The name of the ipconfig. + * @param ipConfigName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -744,7 +767,7 @@ public void delete(String resourceGroupName, String virtualHubName, String ipCon /** * Retrieves the details of all VirtualHubIpConfigurations. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -773,8 +796,8 @@ private Mono> listSinglePageAsync(String final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, 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())); @@ -783,7 +806,7 @@ private Mono> listSinglePageAsync(String /** * Retrieves the details of all VirtualHubIpConfigurations. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -814,8 +837,8 @@ private Mono> listSinglePageAsync(String final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, virtualHubName, - apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -823,7 +846,7 @@ private Mono> listSinglePageAsync(String /** * Retrieves the details of all VirtualHubIpConfigurations. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -839,7 +862,7 @@ public PagedFlux listAsync(String resourceGroupName, St /** * Retrieves the details of all VirtualHubIpConfigurations. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -857,7 +880,7 @@ private PagedFlux listAsync(String resourceGroupName, S /** * Retrieves the details of all VirtualHubIpConfigurations. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -872,7 +895,7 @@ public PagedIterable list(String resourceGroupName, Str /** * Retrieves the details of all VirtualHubIpConfigurations. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java index 33a01fceff06..07c266fef8ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -31,22 +31,22 @@ import com.azure.core.util.FluxUtil; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.VirtualHubRouteTableV2SClient; +import com.azure.resourcemanager.network.fluent.VirtualHubRouteTableV2sClient; import com.azure.resourcemanager.network.fluent.models.VirtualHubRouteTableV2Inner; +import com.azure.resourcemanager.network.implementation.models.ListVirtualHubRouteTableV2sResult; import com.azure.resourcemanager.network.models.ErrorException; -import com.azure.resourcemanager.network.models.ListVirtualHubRouteTableV2SResult; 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 VirtualHubRouteTableV2SClient. + * An instance of this class provides access to all the operations defined in VirtualHubRouteTableV2sClient. */ -public final class VirtualHubRouteTableV2SClientImpl implements VirtualHubRouteTableV2SClient { +public final class VirtualHubRouteTableV2sClientImpl implements VirtualHubRouteTableV2sClient { /** * The proxy service used to perform REST calls. */ - private final VirtualHubRouteTableV2SService service; + private final VirtualHubRouteTableV2sService service; /** * The service client containing this operation class. @@ -54,79 +54,77 @@ public final class VirtualHubRouteTableV2SClientImpl implements VirtualHubRouteT private final NetworkManagementClientImpl client; /** - * Initializes an instance of VirtualHubRouteTableV2SClientImpl. + * Initializes an instance of VirtualHubRouteTableV2sClientImpl. * * @param client the instance of the service client containing this operation class. */ - VirtualHubRouteTableV2SClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(VirtualHubRouteTableV2SService.class, client.getHttpPipeline(), + VirtualHubRouteTableV2sClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(VirtualHubRouteTableV2sService.class, client.getHttpPipeline(), client.getSerializerAdapter()); this.client = client; } /** - * The interface defining all the services for NetworkManagementClientVirtualHubRouteTableV2S to be used by the + * The interface defining all the services for NetworkManagementClientVirtualHubRouteTableV2s to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") - @ServiceInterface(name = "NetworkManagementClientVirtualHubRouteTableV2S") - public interface VirtualHubRouteTableV2SService { + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClientVirtualHubRouteTableV2s") + public interface VirtualHubRouteTableV2sService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("routeTableName") String routeTableName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("routeTableName") String routeTableName, - @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters, - @HeaderParam("Accept") String accept, Context context); + Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualHubName") String virtualHubName, @PathParam("routeTableName") String routeTableName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -157,16 +155,16 @@ public Mono> getWithResponseAsync(String r final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routeTableName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, routeTableName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -198,15 +196,15 @@ private Mono> getWithResponseAsync(String final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routeTableName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, routeTableName, accept, context); } /** * Retrieves the details of a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -223,8 +221,8 @@ public Mono getAsync(String resourceGroupName, Stri /** * Retrieves the details of a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -241,8 +239,8 @@ public Response getWithResponse(String resourceGrou /** * Retrieves the details of a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -257,8 +255,8 @@ public VirtualHubRouteTableV2Inner get(String resourceGroupName, String virtualH /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -294,19 +292,20 @@ public Mono>> createOrUpdateWithResponseAsync(String r virtualHubRouteTableV2Parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routeTableName, apiVersion, virtualHubRouteTableV2Parameters, accept, - context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, routeTableName, contentType, accept, + virtualHubRouteTableV2Parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @param context The context to associate with this operation. @@ -344,17 +343,19 @@ private Mono>> createOrUpdateWithResponseAsync(String virtualHubRouteTableV2Parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routeTableName, apiVersion, virtualHubRouteTableV2Parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, routeTableName, contentType, accept, virtualHubRouteTableV2Parameters, + context); } /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -376,8 +377,8 @@ public PollerFlux, VirtualHubRouteTableV /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @param context The context to associate with this operation. @@ -401,8 +402,8 @@ private PollerFlux, VirtualHubRouteTable /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -423,8 +424,8 @@ public SyncPoller, VirtualHubRouteTableV /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @param context The context to associate with this operation. @@ -446,8 +447,8 @@ public SyncPoller, VirtualHubRouteTableV /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -465,8 +466,8 @@ public Mono createOrUpdateAsync(String resourceGrou /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @param context The context to associate with this operation. @@ -485,8 +486,8 @@ private Mono createOrUpdateAsync(String resourceGro /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -504,8 +505,8 @@ public VirtualHubRouteTableV2Inner createOrUpdate(String resourceGroupName, Stri /** * Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param virtualHubRouteTableV2Parameters Parameters supplied to create or update VirtualHubRouteTableV2. * @param context The context to associate with this operation. @@ -524,8 +525,8 @@ public VirtualHubRouteTableV2Inner createOrUpdate(String resourceGroupName, Stri /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -554,18 +555,17 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, routeTableName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, routeTableName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -595,17 +595,16 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter routeTableName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, routeTableName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, routeTableName, context); } /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -624,8 +623,8 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -646,8 +645,8 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -663,8 +662,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -681,8 +680,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -698,8 +697,8 @@ public Mono deleteAsync(String resourceGroupName, String virtualHubName, S /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -717,8 +716,8 @@ private Mono deleteAsync(String resourceGroupName, String virtualHubName, /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -732,8 +731,8 @@ public void delete(String resourceGroupName, String virtualHubName, String route /** * Deletes a VirtualHubRouteTableV2. * - * @param resourceGroupName The resource group name of the VirtualHubRouteTableV2. - * @param virtualHubName The name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the Virtual Hub. * @param routeTableName The name of the VirtualHubRouteTableV2. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -748,7 +747,7 @@ public void delete(String resourceGroupName, String virtualHubName, String route /** * Retrieves the details of all VirtualHubRouteTableV2s. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -777,8 +776,8 @@ private Mono> listSinglePageAsync(Str final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, 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())); @@ -787,7 +786,7 @@ private Mono> listSinglePageAsync(Str /** * Retrieves the details of all VirtualHubRouteTableV2s. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -818,8 +817,8 @@ private Mono> listSinglePageAsync(Str final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, virtualHubName, - apiVersion, accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -827,7 +826,7 @@ private Mono> listSinglePageAsync(Str /** * Retrieves the details of all VirtualHubRouteTableV2s. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -844,7 +843,7 @@ public PagedFlux listAsync(String resourceGroupName /** * Retrieves the details of all VirtualHubRouteTableV2s. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -863,7 +862,7 @@ private PagedFlux listAsync(String resourceGroupNam /** * Retrieves the details of all VirtualHubRouteTableV2s. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -879,7 +878,7 @@ public PagedIterable list(String resourceGroupName, /** * Retrieves the details of all VirtualHubRouteTableV2s. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java index 3f636b748310..54683a374d2f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,13 +34,15 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualHubsClient; -import com.azure.resourcemanager.network.fluent.models.EffectiveRouteMapRouteListInner; -import com.azure.resourcemanager.network.fluent.models.VirtualHubEffectiveRouteListInner; +import com.azure.resourcemanager.network.fluent.models.EffectiveRouteMapRouteInner; +import com.azure.resourcemanager.network.fluent.models.VirtualHubEffectiveRouteInner; import com.azure.resourcemanager.network.fluent.models.VirtualHubInner; +import com.azure.resourcemanager.network.implementation.models.EffectiveRouteMapRouteList; +import com.azure.resourcemanager.network.implementation.models.ListVirtualHubsResult; +import com.azure.resourcemanager.network.implementation.models.VirtualHubEffectiveRouteList; import com.azure.resourcemanager.network.models.EffectiveRoutesParameters; import com.azure.resourcemanager.network.models.GetInboundRoutesParameters; import com.azure.resourcemanager.network.models.GetOutboundRoutesParameters; -import com.azure.resourcemanager.network.models.ListVirtualHubsResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -79,107 +81,100 @@ public final class VirtualHubsClientImpl implements InnerSupportsGet> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") VirtualHubInner virtualHubParameters, @HeaderParam("Accept") String accept, + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") VirtualHubInner virtualHubParameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") TagsObject virtualHubParameters, @HeaderParam("Accept") String accept, + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject virtualHubParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/virtualHubs") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + 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" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getEffectiveVirtualHubRoutes(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> getEffectiveVirtualHubRoutes(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") EffectiveRoutesParameters effectiveRoutesParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") EffectiveRoutesParameters effectiveRoutesParameters, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/inboundRoutes") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getInboundRoutes(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> getInboundRoutes(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") GetInboundRoutesParameters getInboundRoutesParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") GetInboundRoutesParameters getInboundRoutesParameters, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/outboundRoutes") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getOutboundRoutes(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> getOutboundRoutes(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") GetOutboundRoutesParameters getOutboundRoutesParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") GetOutboundRoutesParameters getOutboundRoutesParameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -187,13 +182,13 @@ Mono> listByResourceGroupNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -221,15 +216,15 @@ public Mono> getByResourceGroupWithResponseAsync(Strin final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, virtualHubName, apiVersion, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -258,14 +253,14 @@ private Mono> getByResourceGroupWithResponseAsync(Stri final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, apiVersion, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, accept, context); } /** * Retrieves the details of a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -281,7 +276,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName, S /** * Retrieves the details of a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -298,7 +293,7 @@ public Response getByResourceGroupWithResponse(String resourceG /** * Retrieves the details of a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -313,7 +308,7 @@ public VirtualHubInner getByResourceGroup(String resourceGroupName, String virtu /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -346,17 +341,19 @@ public Mono>> createOrUpdateWithResponseAsync(String r virtualHubParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, virtualHubParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, contentType, accept, + virtualHubParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @param context The context to associate with this operation. @@ -390,16 +387,17 @@ private Mono>> createOrUpdateWithResponseAsync(String virtualHubParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, apiVersion, virtualHubParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, contentType, accept, virtualHubParameters, context); } /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -419,7 +417,7 @@ public PollerFlux, VirtualHubInner> beginCreateOrUpd /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @param context The context to associate with this operation. @@ -441,7 +439,7 @@ private PollerFlux, VirtualHubInner> beginCreateOrUp /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -458,7 +456,7 @@ public SyncPoller, VirtualHubInner> beginCreateOrUpd /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @param context The context to associate with this operation. @@ -477,7 +475,7 @@ public SyncPoller, VirtualHubInner> beginCreateOrUpd /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -495,7 +493,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Strin /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @param context The context to associate with this operation. @@ -514,7 +512,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, Stri /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -531,7 +529,7 @@ public VirtualHubInner createOrUpdate(String resourceGroupName, String virtualHu /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to create or update VirtualHub. * @param context The context to associate with this operation. @@ -549,7 +547,7 @@ public VirtualHubInner createOrUpdate(String resourceGroupName, String virtualHu /** * Updates VirtualHub tags. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to update VirtualHub tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -582,17 +580,19 @@ public Mono> updateTagsWithResponseAsync(String resour virtualHubParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, virtualHubParameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, contentType, accept, virtualHubParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates VirtualHub tags. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to update VirtualHub tags. * @param context The context to associate with this operation. @@ -626,16 +626,17 @@ private Mono> updateTagsWithResponseAsync(String resou virtualHubParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, apiVersion, virtualHubParameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, contentType, accept, virtualHubParameters, context); } /** * Updates VirtualHub tags. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to update VirtualHub tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -653,7 +654,7 @@ public Mono updateTagsAsync(String resourceGroupName, String vi /** * Updates VirtualHub tags. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to update VirtualHub tags. * @param context The context to associate with this operation. @@ -671,7 +672,7 @@ public Response updateTagsWithResponse(String resourceGroupName /** * Updates VirtualHub tags. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param virtualHubParameters Parameters supplied to update VirtualHub tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -688,7 +689,7 @@ public VirtualHubInner updateTags(String resourceGroupName, String virtualHubNam /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -713,17 +714,16 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -750,16 +750,15 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualHubName, context); } /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -776,7 +775,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -796,7 +795,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -811,7 +810,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -828,7 +827,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -844,7 +843,7 @@ public Mono deleteAsync(String resourceGroupName, String virtualHubName) { /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -861,7 +860,7 @@ private Mono deleteAsync(String resourceGroupName, String virtualHubName, /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -875,7 +874,7 @@ public void delete(String resourceGroupName, String virtualHubName) { /** * Deletes a VirtualHub. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -890,7 +889,7 @@ public void delete(String resourceGroupName, String virtualHubName, Context cont /** * Lists all the VirtualHubs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @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. @@ -914,8 +913,8 @@ private Mono> listByResourceGroupSinglePageAsync( final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, apiVersion, accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -924,7 +923,7 @@ private Mono> listByResourceGroupSinglePageAsync( /** * Lists all the VirtualHubs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @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. @@ -951,8 +950,8 @@ private Mono> listByResourceGroupSinglePageAsync( final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - apiVersion, accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -960,7 +959,7 @@ private Mono> listByResourceGroupSinglePageAsync( /** * Lists all the VirtualHubs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @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. @@ -975,7 +974,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGroupN /** * Lists all the VirtualHubs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @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. @@ -991,7 +990,7 @@ private PagedFlux listByResourceGroupAsync(String resourceGroup /** * Lists all the VirtualHubs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @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. @@ -1005,7 +1004,7 @@ public PagedIterable listByResourceGroup(String resourceGroupNa /** * Lists all the VirtualHubs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @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. @@ -1038,7 +1037,7 @@ private Mono> listSinglePageAsync() { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -1068,7 +1067,7 @@ private Mono> listSinglePageAsync(Context context final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1129,18 +1128,18 @@ public PagedIterable list(Context context) { /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. * @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 effective routes configured for the Virtual Hub resource or the specified resource along with - * {@link Response} on successful completion of {@link Mono}. + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getEffectiveVirtualHubRoutesWithResponseAsync(String resourceGroupName, - String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) { + private Mono> getEffectiveVirtualHubRoutesSinglePageAsync( + String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1161,17 +1160,28 @@ public Mono>> getEffectiveVirtualHubRoutesWithResponse } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getEffectiveVirtualHubRoutes(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, virtualHubName, apiVersion, - effectiveRoutesParameters, accept, context)) + return FluxUtil.withContext(context -> { + Mono>> mono = service + .getEffectiveVirtualHubRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, accept, effectiveRoutesParameters, context) + .cache(); + return Mono.zip(mono, + this.client + .getLroResult(mono, + this.client.getHttpPipeline(), VirtualHubEffectiveRouteList.class, + VirtualHubEffectiveRouteList.class, this.client.getContext()) + .last() + .flatMap(this.client::getLroFinalResultOrError)); + }) + .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), + res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. * @param context The context to associate with this operation. @@ -1179,11 +1189,12 @@ public Mono>> getEffectiveVirtualHubRoutesWithResponse * @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 effective routes configured for the Virtual Hub resource or the specified resource along with - * {@link Response} on successful completion of {@link Mono}. + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getEffectiveVirtualHubRoutesWithResponseAsync(String resourceGroupName, - String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, Context context) { + private Mono> getEffectiveVirtualHubRoutesSinglePageAsync( + String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1205,232 +1216,133 @@ private Mono>> getEffectiveVirtualHubRoutesWithRespons final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getEffectiveVirtualHubRoutes(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, effectiveRoutesParameters, accept, context); - } - - /** - * Gets the effective routes configured for the Virtual Hub resource or the specified resource . - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. - * @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 effective routes configured for the Virtual Hub resource or the - * specified resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VirtualHubEffectiveRouteListInner> - beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, - EffectiveRoutesParameters effectiveRoutesParameters) { - Mono>> mono = getEffectiveVirtualHubRoutesWithResponseAsync(resourceGroupName, - virtualHubName, effectiveRoutesParameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VirtualHubEffectiveRouteListInner.class, - VirtualHubEffectiveRouteListInner.class, this.client.getContext()); - } - - /** - * Gets the effective routes configured for the Virtual Hub resource or the specified resource . - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @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 effective routes configured for the Virtual Hub resource or the - * specified resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VirtualHubEffectiveRouteListInner> - beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName) { - final EffectiveRoutesParameters effectiveRoutesParameters = null; - Mono>> mono = getEffectiveVirtualHubRoutesWithResponseAsync(resourceGroupName, - virtualHubName, effectiveRoutesParameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VirtualHubEffectiveRouteListInner.class, - VirtualHubEffectiveRouteListInner.class, this.client.getContext()); - } - - /** - * Gets the effective routes configured for the Virtual Hub resource or the specified resource . - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. - * @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 PollerFlux} for polling of the effective routes configured for the Virtual Hub resource or the - * specified resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VirtualHubEffectiveRouteListInner> - beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, - EffectiveRoutesParameters effectiveRoutesParameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono = getEffectiveVirtualHubRoutesWithResponseAsync(resourceGroupName, - virtualHubName, effectiveRoutesParameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VirtualHubEffectiveRouteListInner.class, - VirtualHubEffectiveRouteListInner.class, context); - } - - /** - * Gets the effective routes configured for the Virtual Hub resource or the specified resource . - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @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 effective routes configured for the Virtual Hub resource or the - * specified resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualHubEffectiveRouteListInner> - beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName) { - final EffectiveRoutesParameters effectiveRoutesParameters = null; - return this.beginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters) - .getSyncPoller(); - } - - /** - * Gets the effective routes configured for the Virtual Hub resource or the specified resource . - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. - * @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 the effective routes configured for the Virtual Hub resource or the - * specified resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualHubEffectiveRouteListInner> - beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, - EffectiveRoutesParameters effectiveRoutesParameters, Context context) { - return this - .beginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, - context) - .getSyncPoller(); + Mono>> mono = service + .getEffectiveVirtualHubRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, accept, effectiveRoutesParameters, context) + .cache(); + return Mono + .zip(mono, + this.client + .getLroResult(mono, + this.client.getHttpPipeline(), VirtualHubEffectiveRouteList.class, + VirtualHubEffectiveRouteList.class, context) + .last() + .flatMap(this.client::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), null, null)); } /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. * @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 effective routes configured for the Virtual Hub resource or the specified resource on successful - * completion of {@link Mono}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getEffectiveVirtualHubRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) { - return beginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters) - .last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>(() -> getEffectiveVirtualHubRoutesSinglePageAsync(resourceGroupName, virtualHubName, + effectiveRoutesParameters)); } /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @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 effective routes configured for the Virtual Hub resource or the specified resource on successful - * completion of {@link Mono}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getEffectiveVirtualHubRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName) { final EffectiveRoutesParameters effectiveRoutesParameters = null; - return beginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters) - .last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>(() -> getEffectiveVirtualHubRoutesSinglePageAsync(resourceGroupName, virtualHubName, + effectiveRoutesParameters)); } /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. * @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 effective routes configured for the Virtual Hub resource or the specified resource on successful - * completion of {@link Mono}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated + * response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getEffectiveVirtualHubRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, Context context) { - return beginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, - context).last().flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>(() -> getEffectiveVirtualHubRoutesSinglePageAsync(resourceGroupName, virtualHubName, + effectiveRoutesParameters, context)); } /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @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 effective routes configured for the Virtual Hub resource or the specified resource. + * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualHubEffectiveRouteListInner getEffectiveVirtualHubRoutes(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName) { final EffectiveRoutesParameters effectiveRoutesParameters = null; - return getEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters).block(); + return new PagedIterable<>( + getEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters)); } /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. * @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 effective routes configured for the Virtual Hub resource or the specified resource. + * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated + * response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualHubEffectiveRouteListInner getEffectiveVirtualHubRoutes(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, Context context) { - return getEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, context) - .block(); + return new PagedIterable<>( + getEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, context)); } /** * Gets the inbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. * @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 inbound routes configured for the Virtual Hub on a particular connection along with {@link Response} - * on successful completion of {@link Mono}. + * @return the inbound routes configured for the Virtual Hub on a particular connection along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getInboundRoutesWithResponseAsync(String resourceGroupName, + private Mono> getInboundRoutesSinglePageAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1455,27 +1367,40 @@ public Mono>> getInboundRoutesWithResponseAsync(String } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getInboundRoutes(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, getInboundRoutesParameters, accept, context)) + return FluxUtil.withContext(context -> { + Mono>> mono + = service + .getInboundRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, accept, getInboundRoutesParameters, context) + .cache(); + return Mono.zip(mono, + this.client + .getLroResult(mono, + this.client.getHttpPipeline(), EffectiveRouteMapRouteList.class, + EffectiveRouteMapRouteList.class, this.client.getContext()) + .last() + .flatMap(this.client::getLroFinalResultOrError)); + }) + .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), + res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the inbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. * @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 inbound routes configured for the Virtual Hub on a particular connection along with {@link Response} - * on successful completion of {@link Mono}. + * @return the inbound routes configured for the Virtual Hub on a particular connection along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getInboundRoutesWithResponseAsync(String resourceGroupName, + private Mono> getInboundRoutesSinglePageAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1501,187 +1426,115 @@ private Mono>> getInboundRoutesWithResponseAsync(Strin final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getInboundRoutes(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, apiVersion, getInboundRoutesParameters, accept, context); - } - - /** - * Gets the inbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. - * @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 inbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, EffectiveRouteMapRouteListInner> - beginGetInboundRoutesAsync(String resourceGroupName, String virtualHubName, - GetInboundRoutesParameters getInboundRoutesParameters) { - Mono>> mono - = getInboundRoutesWithResponseAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), EffectiveRouteMapRouteListInner.class, EffectiveRouteMapRouteListInner.class, - this.client.getContext()); - } - - /** - * Gets the inbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. - * @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 PollerFlux} for polling of the inbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, EffectiveRouteMapRouteListInner> - beginGetInboundRoutesAsync(String resourceGroupName, String virtualHubName, - GetInboundRoutesParameters getInboundRoutesParameters, Context context) { - context = this.client.mergeContext(context); Mono>> mono - = getInboundRoutesWithResponseAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), EffectiveRouteMapRouteListInner.class, EffectiveRouteMapRouteListInner.class, - context); - } - - /** - * Gets the inbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. - * @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 inbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, EffectiveRouteMapRouteListInner> - beginGetInboundRoutes(String resourceGroupName, String virtualHubName, - GetInboundRoutesParameters getInboundRoutesParameters) { - return this.beginGetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters) - .getSyncPoller(); + = service + .getInboundRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, accept, getInboundRoutesParameters, context) + .cache(); + return Mono + .zip(mono, + this.client + .getLroResult(mono, + this.client.getHttpPipeline(), EffectiveRouteMapRouteList.class, + EffectiveRouteMapRouteList.class, context) + .last() + .flatMap(this.client::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), null, null)); } /** * Gets the inbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. - * @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 the inbound routes configured for the Virtual Hub on a particular - * connection. + * @return the inbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, EffectiveRouteMapRouteListInner> - beginGetInboundRoutes(String resourceGroupName, String virtualHubName, - GetInboundRoutesParameters getInboundRoutesParameters, Context context) { - return this.beginGetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, context) - .getSyncPoller(); - } - - /** - * Gets the inbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. - * @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 inbound routes configured for the Virtual Hub on a particular connection on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getInboundRoutesAsync(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getInboundRoutesAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) { - return beginGetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters).last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>( + () -> getInboundRoutesSinglePageAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters)); } /** * Gets the inbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. * @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 inbound routes configured for the Virtual Hub on a particular connection on successful completion of - * {@link Mono}. + * @return the inbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getInboundRoutesAsync(String resourceGroupName, String virtualHubName, - GetInboundRoutesParameters getInboundRoutesParameters, Context context) { - return beginGetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getInboundRoutesAsync(String resourceGroupName, + String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Context context) { + return new PagedFlux<>(() -> getInboundRoutesSinglePageAsync(resourceGroupName, virtualHubName, + getInboundRoutesParameters, context)); } /** * Gets the inbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. * @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 inbound routes configured for the Virtual Hub on a particular connection. + * @return the inbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public EffectiveRouteMapRouteListInner getInboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) { - return getInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters).block(); + return new PagedIterable<>( + getInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters)); } /** * Gets the inbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. * @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 inbound routes configured for the Virtual Hub on a particular connection. + * @return the inbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public EffectiveRouteMapRouteListInner getInboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Context context) { - return getInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, context).block(); + return new PagedIterable<>( + getInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, context)); } /** * Gets the outbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. * @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 outbound routes configured for the Virtual Hub on a particular connection along with {@link Response} - * on successful completion of {@link Mono}. + * @return the outbound routes configured for the Virtual Hub on a particular connection along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getOutboundRoutesWithResponseAsync(String resourceGroupName, + private Mono> getOutboundRoutesSinglePageAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1706,28 +1559,40 @@ public Mono>> getOutboundRoutesWithResponseAsync(Strin } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.getOutboundRoutes(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, apiVersion, getOutboundRoutesParameters, accept, context)) + return FluxUtil.withContext(context -> { + Mono>> mono + = service + .getOutboundRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, accept, getOutboundRoutesParameters, context) + .cache(); + return Mono.zip(mono, + this.client + .getLroResult(mono, + this.client.getHttpPipeline(), EffectiveRouteMapRouteList.class, + EffectiveRouteMapRouteList.class, this.client.getContext()) + .last() + .flatMap(this.client::getLroFinalResultOrError)); + }) + .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), + res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the outbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. * @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 outbound routes configured for the Virtual Hub on a particular connection along with {@link Response} - * on successful completion of {@link Mono}. + * @return the outbound routes configured for the Virtual Hub on a particular connection along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getOutboundRoutesWithResponseAsync(String resourceGroupName, + private Mono> getOutboundRoutesSinglePageAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1753,172 +1618,99 @@ private Mono>> getOutboundRoutesWithResponseAsync(Stri final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getOutboundRoutes(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualHubName, apiVersion, getOutboundRoutesParameters, accept, context); - } - - /** - * Gets the outbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. - * @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 outbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, EffectiveRouteMapRouteListInner> - beginGetOutboundRoutesAsync(String resourceGroupName, String virtualHubName, - GetOutboundRoutesParameters getOutboundRoutesParameters) { Mono>> mono - = getOutboundRoutesWithResponseAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), EffectiveRouteMapRouteListInner.class, EffectiveRouteMapRouteListInner.class, - this.client.getContext()); - } - - /** - * Gets the outbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. - * @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 PollerFlux} for polling of the outbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, EffectiveRouteMapRouteListInner> - beginGetOutboundRoutesAsync(String resourceGroupName, String virtualHubName, - GetOutboundRoutesParameters getOutboundRoutesParameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono = getOutboundRoutesWithResponseAsync(resourceGroupName, virtualHubName, - getOutboundRoutesParameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), EffectiveRouteMapRouteListInner.class, EffectiveRouteMapRouteListInner.class, - context); + = service + .getOutboundRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, accept, getOutboundRoutesParameters, context) + .cache(); + return Mono + .zip(mono, + this.client + .getLroResult(mono, + this.client.getHttpPipeline(), EffectiveRouteMapRouteList.class, + EffectiveRouteMapRouteList.class, context) + .last() + .flatMap(this.client::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), null, null)); } /** * Gets the outbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. * @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 outbound routes configured for the Virtual Hub on a particular - * connection. + * @return the outbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, EffectiveRouteMapRouteListInner> - beginGetOutboundRoutes(String resourceGroupName, String virtualHubName, - GetOutboundRoutesParameters getOutboundRoutesParameters) { - return this.beginGetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters) - .getSyncPoller(); - } - - /** - * Gets the outbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. - * @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 the outbound routes configured for the Virtual Hub on a particular - * connection. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, EffectiveRouteMapRouteListInner> - beginGetOutboundRoutes(String resourceGroupName, String virtualHubName, - GetOutboundRoutesParameters getOutboundRoutesParameters, Context context) { - return this.beginGetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, context) - .getSyncPoller(); - } - - /** - * Gets the outbound routes configured for the Virtual Hub on a particular connection. - * - * @param resourceGroupName The resource group name of the VirtualHub. - * @param virtualHubName The name of the VirtualHub. - * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. - * @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 outbound routes configured for the Virtual Hub on a particular connection on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getOutboundRoutesAsync(String resourceGroupName, String virtualHubName, - GetOutboundRoutesParameters getOutboundRoutesParameters) { - return beginGetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getOutboundRoutesAsync(String resourceGroupName, + String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) { + return new PagedFlux<>( + () -> getOutboundRoutesSinglePageAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters)); } /** * Gets the outbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. * @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 outbound routes configured for the Virtual Hub on a particular connection on successful completion of - * {@link Mono}. + * @return the outbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getOutboundRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getOutboundRoutesAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Context context) { - return beginGetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, context) - .last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>(() -> getOutboundRoutesSinglePageAsync(resourceGroupName, virtualHubName, + getOutboundRoutesParameters, context)); } /** * Gets the outbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. * @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 outbound routes configured for the Virtual Hub on a particular connection. + * @return the outbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public EffectiveRouteMapRouteListInner getOutboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) { - return getOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters).block(); + return new PagedIterable<>( + getOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters)); } /** * Gets the outbound routes configured for the Virtual Hub on a particular connection. * - * @param resourceGroupName The resource group name of the VirtualHub. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. * @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 outbound routes configured for the Virtual Hub on a particular connection. + * @return the outbound routes configured for the Virtual Hub on a particular connection as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public EffectiveRouteMapRouteListInner getOutboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Context context) { - return getOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, context).block(); + return new PagedIterable<>( + getOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, context)); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java index 53b7b326f145..beecfe86a774 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,8 +34,8 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualNetworkAppliancesClient; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkApplianceInner; +import com.azure.resourcemanager.network.implementation.models.VirtualNetworkApplianceListResult; import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.network.models.VirtualNetworkApplianceListResult; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -73,296 +73,86 @@ public final class VirtualNetworkAppliancesClientImpl implements InnerSupportsGe * The interface defining all the services for NetworkManagementClientVirtualNetworkAppliances to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVirtualNetworkAppliances") public interface VirtualNetworkAppliancesService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkAppliances/{virtualNetworkApplianceName}") - @ExpectedResponses({ 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkApplianceName") String virtualNetworkApplianceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkAppliances/{virtualNetworkApplianceName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkApplianceName") String virtualNetworkApplianceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkAppliances/{virtualNetworkApplianceName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkApplianceName") String virtualNetworkApplianceName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VirtualNetworkApplianceInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualNetworkApplianceInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkAppliances/{virtualNetworkApplianceName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkApplianceName") String virtualNetworkApplianceName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkAppliances/{virtualNetworkApplianceName}") + @ExpectedResponses({ 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkApplianceName") String virtualNetworkApplianceName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkAppliances") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkAppliances") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkAppliances") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkAppliances") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @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> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualNetworkApplianceName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkApplianceName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - virtualNetworkApplianceName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualNetworkApplianceName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkApplianceName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, virtualNetworkApplianceName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String virtualNetworkApplianceName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualNetworkApplianceName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String virtualNetworkApplianceName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, virtualNetworkApplianceName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 virtualNetworkApplianceName) { - return this.beginDeleteAsync(resourceGroupName, virtualNetworkApplianceName).getSyncPoller(); - } - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 virtualNetworkApplianceName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, virtualNetworkApplianceName, context).getSyncPoller(); - } - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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) - public Mono deleteAsync(String resourceGroupName, String virtualNetworkApplianceName) { - return beginDeleteAsync(resourceGroupName, virtualNetworkApplianceName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String virtualNetworkApplianceName, Context context) { - return beginDeleteAsync(resourceGroupName, virtualNetworkApplianceName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 virtualNetworkApplianceName) { - deleteAsync(resourceGroupName, virtualNetworkApplianceName).block(); - } - - /** - * Deletes the specified virtual network appliance. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @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 virtualNetworkApplianceName, Context context) { - deleteAsync(resourceGroupName, virtualNetworkApplianceName, context).block(); - } - /** * Gets information about the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -377,6 +167,10 @@ public Mono> getByResourceGroupWithRespon return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -385,22 +179,18 @@ public Mono> getByResourceGroupWithRespon return Mono.error( new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - virtualNetworkApplianceName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkApplianceName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets information about the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -416,6 +206,10 @@ private Mono> getByResourceGroupWithRespo return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -424,21 +218,17 @@ private Mono> getByResourceGroupWithRespo return Mono.error( new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, virtualNetworkApplianceName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkApplianceName, accept, context); } /** * Gets information about the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -455,7 +245,7 @@ public Mono getByResourceGroupAsync(String resourc /** * Gets information about the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -472,7 +262,7 @@ public Response getByResourceGroupWithResponse(Str /** * Gets information about the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -488,7 +278,7 @@ public VirtualNetworkApplianceInner getByResourceGroup(String resourceGroupName, /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -504,6 +294,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -512,27 +306,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - virtualNetworkApplianceName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkApplianceName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @param context The context to associate with this operation. @@ -549,6 +341,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -557,26 +353,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, virtualNetworkApplianceName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkApplianceName, contentType, accept, parameters, context); } /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -597,7 +390,7 @@ public PollerFlux, VirtualNetworkApplia /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @param context The context to associate with this operation. @@ -621,7 +414,7 @@ private PollerFlux, VirtualNetworkAppli /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -639,7 +432,7 @@ public SyncPoller, VirtualNetworkApplia /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @param context The context to associate with this operation. @@ -659,7 +452,7 @@ public SyncPoller, VirtualNetworkApplia /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -677,7 +470,7 @@ public Mono createOrUpdateAsync(String resourceGro /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @param context The context to associate with this operation. @@ -696,7 +489,7 @@ private Mono createOrUpdateAsync(String resourceGr /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -713,7 +506,7 @@ public VirtualNetworkApplianceInner createOrUpdate(String resourceGroupName, Str /** * Creates or updates a virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to the create or update virtual network appliance operation. * @param context The context to associate with this operation. @@ -731,7 +524,7 @@ public VirtualNetworkApplianceInner createOrUpdate(String resourceGroupName, Str /** * Updates a virtual network appliance tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. * @param parameters Parameters supplied to update virtual network appliance tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -747,6 +540,10 @@ public Mono> updateTagsWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -755,131 +552,339 @@ public Mono> updateTagsWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkApplianceName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Updates a virtual network appliance tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @param parameters Parameters supplied to update virtual network appliance tags. + * @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 a virtual network appliance in a resource group along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> updateTagsWithResponseAsync(String resourceGroupName, + String virtualNetworkApplianceName, TagsObject parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkApplianceName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); + } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkApplianceName, contentType, accept, parameters, context); + } + + /** + * Updates a virtual network appliance tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @param parameters Parameters supplied to update virtual network appliance tags. + * @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 virtual network appliance in a resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateTagsAsync(String resourceGroupName, + String virtualNetworkApplianceName, TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, virtualNetworkApplianceName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Updates a virtual network appliance tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @param parameters Parameters supplied to update virtual network appliance tags. + * @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 a virtual network appliance in a resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateTagsWithResponse(String resourceGroupName, + String virtualNetworkApplianceName, TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, virtualNetworkApplianceName, parameters, context).block(); + } + + /** + * Updates a virtual network appliance tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @param parameters Parameters supplied to update virtual network appliance tags. + * @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 virtual network appliance in a resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VirtualNetworkApplianceInner updateTags(String resourceGroupName, String virtualNetworkApplianceName, + TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, virtualNetworkApplianceName, parameters, Context.NONE) + .getValue(); + } + + /** + * Deletes the specified virtual network appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualNetworkApplianceName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkApplianceName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - virtualNetworkApplianceName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkApplianceName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Updates a virtual network appliance tags. + * Deletes the specified virtual network appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualNetworkApplianceName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkApplianceName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkApplianceName, context); + } + + /** + * Deletes the specified virtual network appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String virtualNetworkApplianceName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualNetworkApplianceName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified virtual network appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String virtualNetworkApplianceName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, virtualNetworkApplianceName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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 virtualNetworkApplianceName) { + return this.beginDeleteAsync(resourceGroupName, virtualNetworkApplianceName).getSyncPoller(); + } + + /** + * Deletes the specified virtual network appliance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @param parameters Parameters supplied to update virtual network appliance tags. * @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 a virtual network appliance in a resource group along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, - String virtualNetworkApplianceName, TagsObject parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkApplianceName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualNetworkApplianceName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, virtualNetworkApplianceName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkApplianceName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, virtualNetworkApplianceName, context).getSyncPoller(); } /** - * Updates a virtual network appliance tags. + * Deletes the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @param parameters Parameters supplied to update virtual network appliance tags. * @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 virtual network appliance in a resource group on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, - String virtualNetworkApplianceName, TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, virtualNetworkApplianceName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono deleteAsync(String resourceGroupName, String virtualNetworkApplianceName) { + return beginDeleteAsync(resourceGroupName, virtualNetworkApplianceName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates a virtual network appliance tags. + * Deletes the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @param parameters Parameters supplied to update virtual network appliance tags. * @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 a virtual network appliance in a resource group along with {@link Response}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, - String virtualNetworkApplianceName, TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, virtualNetworkApplianceName, parameters, context).block(); + private Mono deleteAsync(String resourceGroupName, String virtualNetworkApplianceName, Context context) { + return beginDeleteAsync(resourceGroupName, virtualNetworkApplianceName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates a virtual network appliance tags. + * Deletes the specified virtual network appliance. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkApplianceName The name of the virtual network appliance. - * @param parameters Parameters supplied to update virtual network appliance tags. * @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 virtual network appliance in a resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualNetworkApplianceInner updateTags(String resourceGroupName, String virtualNetworkApplianceName, - TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, virtualNetworkApplianceName, parameters, Context.NONE) - .getValue(); + public void delete(String resourceGroupName, String virtualNetworkApplianceName) { + deleteAsync(resourceGroupName, virtualNetworkApplianceName).block(); } /** - * Gets all virtual network appliances in a subscription. + * Deletes the specified virtual network appliance. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkApplianceName The name of the virtual network appliance. + * @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 all virtual network appliances in a subscription along with {@link PagedResponse} on successful + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String virtualNetworkApplianceName, Context context) { + deleteAsync(resourceGroupName, virtualNetworkApplianceName, context).block(); + } + + /** + * Gets all virtual network appliances in a 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 all virtual network appliances in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -888,28 +893,34 @@ private Mono> listSinglePageAsync() return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Gets all virtual network appliances in a subscription. + * Gets all virtual network appliances in a 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 all virtual network appliances in a subscription along with {@link PagedResponse} on successful + * @return all virtual network appliances in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -918,88 +929,95 @@ private Mono> listSinglePageAsync(Co return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all virtual network appliances in a subscription. + * Gets all virtual network appliances in a 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 all virtual network appliances in a subscription as paginated response with {@link PagedFlux}. + * @return all virtual network appliances in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets all virtual network appliances in a subscription. + * Gets all virtual network appliances in a 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 all virtual network appliances in a subscription as paginated response with {@link PagedFlux}. + * @return all virtual network appliances in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, + Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets all virtual network appliances in a subscription. + * Gets all virtual network appliances in a 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 all virtual network appliances in a subscription as paginated response with {@link PagedIterable}. + * @return all virtual network appliances in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Gets all virtual network appliances in a subscription. + * Gets all virtual network appliances in a 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 all virtual network appliances in a subscription as paginated response with {@link PagedIterable}. + * @return all virtual network appliances in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Gets all virtual network appliances in a resource group. + * Gets all virtual network appliances in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all virtual network appliances in a resource group along with {@link PagedResponse} on successful + * @return all virtual network appliances in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1007,35 +1025,29 @@ public PagedIterable list(Context context) { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Gets all virtual network appliances in a resource group. + * Gets all virtual network appliances in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all virtual network appliances in a resource group along with {@link PagedResponse} on successful + * @return all virtual network appliances in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1043,72 +1055,62 @@ public PagedIterable list(Context context) { final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all virtual network appliances in a resource group. + * Gets all virtual network appliances in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all virtual network appliances in a resource group as paginated response with {@link PagedFlux}. + * @return all virtual network appliances in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); } /** - * Gets all virtual network appliances in a resource group. + * Gets all virtual network appliances in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all virtual network appliances in a resource group as paginated response with {@link PagedFlux}. + * @return all virtual network appliances in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, - Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); } /** - * Gets all virtual network appliances in a resource group. + * Gets all virtual network appliances in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all virtual network appliances in a resource group as paginated response with {@link PagedIterable}. + * @return all virtual network appliances in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + public PagedIterable list() { + return new PagedIterable<>(listAsync()); } /** - * Gets all virtual network appliances in a resource group. + * Gets all virtual network appliances in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all virtual network appliances in a resource group as paginated response with {@link PagedIterable}. + * @return all virtual network appliances in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** @@ -1118,11 +1120,11 @@ public PagedIterable listByResourceGroup(String re * @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 all virtual network appliances in a subscription along with {@link PagedResponse} on successful + * @return all virtual network appliances in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1131,8 +1133,7 @@ private Mono> listAllNextSinglePageA new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1146,11 +1147,11 @@ private Mono> listAllNextSinglePageA * @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 all virtual network appliances in a subscription along with {@link PagedResponse} on successful + * @return all virtual network appliances in a resource group along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1161,7 +1162,7 @@ private Mono> listAllNextSinglePageA } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1173,11 +1174,11 @@ private Mono> listAllNextSinglePageA * @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 all virtual network appliances in a resource group along with {@link PagedResponse} on successful + * @return all virtual network appliances in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1186,7 +1187,8 @@ private Mono> listNextSinglePageAsyn new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -1200,11 +1202,11 @@ private Mono> listNextSinglePageAsyn * @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 all virtual network appliances in a resource group along with {@link PagedResponse} on successful + * @return all virtual network appliances in a subscription along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1215,7 +1217,7 @@ private Mono> listNextSinglePageAsyn } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java index a24de0dfc755..ed57be76e47f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -37,9 +37,11 @@ import com.azure.resourcemanager.network.fluent.models.ConnectionResetSharedKeyInner; import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionInner; +import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayConnectionListResult; import com.azure.resourcemanager.network.models.ErrorException; +import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult1; +import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult1; import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionListResult; import com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnPacketCaptureStopParameters; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; @@ -79,147 +81,271 @@ public final class VirtualNetworkGatewayConnectionsClientImpl * The interface defining all the services for NetworkManagementClientVirtualNetworkGatewayConnections to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVirtualNetworkGatewayConnections") public interface VirtualNetworkGatewayConnectionsService { - @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}") - @ExpectedResponses({ 200, 201 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VirtualNetworkGatewayConnectionInner parameters, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}") - @ExpectedResponses({ 200, 202, 204 }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualNetworkGatewayConnectionInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateTags(@HostParam("$host") String endpoint, + Mono>> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); - @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey") - @ExpectedResponses({ 200, 201 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}") + @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> setSharedKey(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ConnectionSharedKeyInner parameters, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getSharedKey(@HostParam("$host") String endpoint, + 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); + + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> setSharedKey(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ConnectionSharedKeyInner parameters, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup( - @HostParam("$host") String endpoint, @PathParam("resourceGroupName") String resourceGroupName, + Mono> getSharedKey(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> resetSharedKey(@HostParam("$host") String endpoint, + Mono>> resetSharedKey(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ConnectionResetSharedKeyInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ConnectionResetSharedKeyInner parameters, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> startPacketCapture(@HostParam("$host") String endpoint, + Mono>> startPacketCapture(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnPacketCaptureStartParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnPacketCaptureStartParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> stopPacketCapture(@HostParam("$host") String endpoint, + Mono>> stopPacketCapture(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnPacketCaptureStopParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnPacketCaptureStopParameters parameters, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getIkeSas(@HostParam("$host") String endpoint, + Mono>> getIkeSas(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection") @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> resetConnection(@HostParam("$host") String endpoint, + Mono>> resetConnection(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } + /** + * Gets the specified virtual network gateway connection by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @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 virtual network gateway connection by resource group along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> + getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkGatewayConnectionName == null) { + return Mono.error(new IllegalArgumentException( + "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayConnectionName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the specified virtual network gateway connection by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @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 virtual network gateway connection by resource group along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getByResourceGroupWithResponseAsync( + String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkGatewayConnectionName == null) { + return Mono.error(new IllegalArgumentException( + "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, accept, context); + } + + /** + * Gets the specified virtual network gateway connection by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @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 virtual network gateway connection by resource group on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets the specified virtual network gateway connection by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @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 virtual network gateway connection by resource group along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, + String virtualNetworkGatewayConnectionName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context) + .block(); + } + + /** + * Gets the specified virtual network gateway connection by resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @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 virtual network gateway connection by resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VirtualNetworkGatewayConnectionInner getByResourceGroup(String resourceGroupName, + String virtualNetworkGatewayConnectionName) { + return getByResourceGroupWithResponse(resourceGroupName, virtualNetworkGatewayConnectionName, Context.NONE) + .getValue(); + } + /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -235,6 +361,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -243,28 +373,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayConnectionName, contentType, + accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @param context The context to associate with this operation. @@ -281,6 +408,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -289,26 +420,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayConnectionName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, contentType, accept, parameters, context); } /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -330,7 +458,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @param context The context to associate with this operation. @@ -354,7 +482,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -373,7 +501,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @param context The context to associate with this operation. @@ -394,7 +522,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -412,7 +540,7 @@ public Mono createOrUpdateAsync(String res /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @param context The context to associate with this operation. @@ -432,7 +560,7 @@ private Mono createOrUpdateAsync(String re /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -449,7 +577,7 @@ public VirtualNetworkGatewayConnectionInner createOrUpdate(String resourceGroupN /** * Creates or updates a virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the create or update virtual network gateway connection operation. * @param context The context to associate with this operation. @@ -465,23 +593,28 @@ public VirtualNetworkGatewayConnectionInner createOrUpdate(String resourceGroupN } /** - * Gets the specified virtual network gateway connection by resource group. + * Updates a virtual network gateway connection tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. * @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 virtual network gateway connection by resource group along with {@link Response} on - * successful completion of {@link Mono}. + * @return a common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + public Mono>> updateTagsWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, TagsObject parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -490,37 +623,45 @@ public VirtualNetworkGatewayConnectionInner createOrUpdate(String resourceGroupN return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets the specified virtual network gateway connection by resource group. + * Updates a virtual network gateway connection tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. * @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 virtual network gateway connection by resource group along with {@link Response} on - * successful completion of {@link Mono}. + * @return a common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync( - String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { + private Mono>> updateTagsWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, TagsObject parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -529,74 +670,179 @@ private Mono> getByResourceGroupW return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, contentType, accept, parameters, context); } /** - * Gets the specified virtual network gateway connection by resource group. + * Updates a virtual network gateway connection tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. * @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 virtual network gateway connection by resource group on successful completion of - * {@link Mono}. + * @return the {@link PollerFlux} for polling of a common class for general resource information. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, VirtualNetworkGatewayConnectionInner> + beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + TagsObject parameters) { + Mono>> mono + = updateTagsWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); + return this.client.getLroResult( + mono, this.client.getHttpPipeline(), VirtualNetworkGatewayConnectionInner.class, + VirtualNetworkGatewayConnectionInner.class, this.client.getContext()); + } + /** - * Gets the specified virtual network gateway connection by resource group. + * Updates a virtual network gateway connection tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. * @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 virtual network gateway connection by resource group along with {@link Response}. + * @return the {@link PollerFlux} for polling of a common class for general resource information. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, VirtualNetworkGatewayConnectionInner> + beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + TagsObject parameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = updateTagsWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context); + return this.client.getLroResult( + mono, this.client.getHttpPipeline(), VirtualNetworkGatewayConnectionInner.class, + VirtualNetworkGatewayConnectionInner.class, context); + } + + /** + * Updates a virtual network gateway connection tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, VirtualNetworkGatewayConnectionInner> + beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) { + return this.beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters) + .getSyncPoller(); + } + + /** + * Updates a virtual network gateway connection tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, VirtualNetworkGatewayConnectionInner> + beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters, + Context context) { + return this.beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) + .getSyncPoller(); + } + + /** + * Updates a virtual network gateway connection tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 common class for general resource information on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String virtualNetworkGatewayConnectionName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context) - .block(); + public Mono updateTagsAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, TagsObject parameters) { + return beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified virtual network gateway connection by resource group. + * Updates a virtual network gateway connection tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 virtual network gateway connection by resource group. + * @return a common class for general resource information on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualNetworkGatewayConnectionInner getByResourceGroup(String resourceGroupName, - String virtualNetworkGatewayConnectionName) { - return getByResourceGroupWithResponse(resourceGroupName, virtualNetworkGatewayConnectionName, Context.NONE) - .getValue(); + private Mono updateTagsAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, TagsObject parameters, Context context) { + return beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Updates a virtual network gateway connection tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 common class for general resource information. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VirtualNetworkGatewayConnectionInner updateTags(String resourceGroupName, + String virtualNetworkGatewayConnectionName, TagsObject parameters) { + return updateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).block(); + } + + /** + * Updates a virtual network gateway connection tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VirtualNetworkGatewayConnectionInner updateTags(String resourceGroupName, + String virtualNetworkGatewayConnectionName, TagsObject parameters, Context context) { + return updateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context).block(); } /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -610,6 +856,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -618,22 +868,17 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayConnectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -648,6 +893,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -656,21 +905,16 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayConnectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkGatewayConnectionName, context); } /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -689,7 +933,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -710,7 +954,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -726,7 +970,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -743,7 +987,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -759,7 +1003,7 @@ public Mono deleteAsync(String resourceGroupName, String virtualNetworkGat /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -777,7 +1021,7 @@ private Mono deleteAsync(String resourceGroupName, String virtualNetworkGa /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -791,7 +1035,7 @@ public void delete(String resourceGroupName, String virtualNetworkGatewayConnect /** * Deletes the specified virtual network Gateway connection. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -804,256 +1048,154 @@ public void delete(String resourceGroupName, String virtualNetworkGatewayConnect } /** - * Updates a virtual network gateway connection tags. + * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections + * created. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response of a VirtualNetworkGatewayConnection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> updateTagsWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, TagsObject parameters) { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkGatewayConnectionName == null) { - return Mono.error(new IllegalArgumentException( - "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Updates a virtual network gateway connection tags. + * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections + * created. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response of a VirtualNetworkGatewayConnection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> updateTagsWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, TagsObject parameters, Context context) { + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkGatewayConnectionName == null) { - return Mono.error(new IllegalArgumentException( - "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayConnectionName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); - } - - /** - * Updates a virtual network gateway connection tags. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. - * @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 a common class for general resource information. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VirtualNetworkGatewayConnectionInner> - beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - TagsObject parameters) { - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); - return this.client.getLroResult( - mono, this.client.getHttpPipeline(), VirtualNetworkGatewayConnectionInner.class, - VirtualNetworkGatewayConnectionInner.class, this.client.getContext()); - } - - /** - * Updates a virtual network gateway connection tags. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. - * @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 PollerFlux} for polling of a common class for general resource information. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VirtualNetworkGatewayConnectionInner> - beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - TagsObject parameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context); - return this.client.getLroResult( - mono, this.client.getHttpPipeline(), VirtualNetworkGatewayConnectionInner.class, - VirtualNetworkGatewayConnectionInner.class, context); - } - - /** - * Updates a virtual network gateway connection tags. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. - * @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 a common class for general resource information. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualNetworkGatewayConnectionInner> - beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) { - return this.beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters) - .getSyncPoller(); - } - - /** - * Updates a virtual network gateway connection tags. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. - * @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 a common class for general resource information. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualNetworkGatewayConnectionInner> - beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters, - Context context) { - return this.beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) - .getSyncPoller(); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Updates a virtual network gateway connection tags. + * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections + * created. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information on successful completion of {@link Mono}. + * @return the response of a VirtualNetworkGatewayConnection list operation as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, TagsObject parameters) { - return beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Updates a virtual network gateway connection tags. + * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections + * created. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information on successful completion of {@link Mono}. + * @return the response of a VirtualNetworkGatewayConnection list operation as paginated response with + * {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono updateTagsAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, TagsObject parameters, Context context) { - return beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, + Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Updates a virtual network gateway connection tags. + * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections + * created. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information. + * @return the response of a VirtualNetworkGatewayConnection list operation as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualNetworkGatewayConnectionInner updateTags(String resourceGroupName, - String virtualNetworkGatewayConnectionName, TagsObject parameters) { - return updateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Updates a virtual network gateway connection tags. + * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections + * created. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. - * @param parameters Parameters supplied to update virtual network gateway connection tags. + * @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 a common class for general resource information. + * @return the response of a VirtualNetworkGatewayConnection list operation as paginated response with + * {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualNetworkGatewayConnectionInner updateTags(String resourceGroupName, - String virtualNetworkGatewayConnectionName, TagsObject parameters, Context context) { - return updateTagsAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, + Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1069,6 +1211,10 @@ public Mono>> setSharedKeyWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1077,21 +1223,18 @@ public Mono>> setSharedKeyWithResponseAsync(String res return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.setSharedKey(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context)) + .withContext( + context -> service.setSharedKey(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1099,8 +1242,8 @@ public Mono>> setSharedKeyWithResponseAsync(String res * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @param context The context to associate with this operation. @@ -1117,6 +1260,10 @@ private Mono>> setSharedKeyWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1125,28 +1272,25 @@ private Mono>> setSharedKeyWithResponseAsync(String re return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.setSharedKey(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayConnectionName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.setSharedKey(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, contentType, accept, parameters, context); } /** * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1168,8 +1312,8 @@ public PollerFlux, ConnectionSharedKeyInner * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @param context The context to associate with this operation. @@ -1193,8 +1337,8 @@ private PollerFlux, ConnectionSharedKeyInne * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1213,8 +1357,8 @@ public SyncPoller, ConnectionSharedKeyInner * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @param context The context to associate with this operation. @@ -1235,8 +1379,8 @@ public SyncPoller, ConnectionSharedKeyInner * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1255,8 +1399,8 @@ public Mono setSharedKeyAsync(String resourceGroupName * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @param context The context to associate with this operation. @@ -1277,8 +1421,8 @@ private Mono setSharedKeyAsync(String resourceGroupNam * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1296,8 +1440,8 @@ public ConnectionSharedKeyInner setSharedKey(String resourceGroupName, String vi * The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key * for passed virtual network gateway connection in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation * throughNetwork resource provider. * @param context The context to associate with this operation. @@ -1316,8 +1460,8 @@ public ConnectionSharedKeyInner setSharedKey(String resourceGroupName, String vi * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual * network gateway connection shared key through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection shared key name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -1331,259 +1475,117 @@ public Mono> getSharedKeyWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkGatewayConnectionName == null) { - return Mono.error(new IllegalArgumentException( - "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getSharedKey(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual - * network gateway connection shared key through Network resource provider. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection shared key name. - * @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 response for GetConnectionSharedKey API service call along with {@link Response} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getSharedKeyWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } if (virtualNetworkGatewayConnectionName == null) { return Mono.error(new IllegalArgumentException( - "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getSharedKey(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayConnectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual - * network gateway connection shared key through Network resource provider. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection shared key name. - * @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 response for GetConnectionSharedKey API service call on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSharedKeyAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName) { - return getSharedKeyWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual - * network gateway connection shared key through Network resource provider. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection shared key name. - * @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 response for GetConnectionSharedKey API service call along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSharedKeyWithResponse(String resourceGroupName, - String virtualNetworkGatewayConnectionName, Context context) { - return getSharedKeyWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context).block(); - } - - /** - * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual - * network gateway connection shared key through Network resource provider. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection shared key name. - * @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 response for GetConnectionSharedKey API service call. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ConnectionSharedKeyInner getSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName) { - return getSharedKeyWithResponse(resourceGroupName, virtualNetworkGatewayConnectionName, Context.NONE) - .getValue(); - } - - /** - * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections - * created. - * - * @param resourceGroupName The name of the resource group. - * @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 response for the ListVirtualNetworkGatewayConnections API service call along with {@link PagedResponse} - * on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext( + context -> service.getSharedKey(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections - * created. + * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual + * network gateway connection shared key through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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 response for the ListVirtualNetworkGatewayConnections API service call along with {@link PagedResponse} - * on successful completion of {@link Mono}. + * @return response for GetConnectionSharedKey API service call along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { + private Mono> getSharedKeyWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { + if (virtualNetworkGatewayConnectionName == null) { return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.getSharedKey(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, accept, context); } /** - * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections - * created. + * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual + * network gateway connection shared key through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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 response for the ListVirtualNetworkGatewayConnections API service call as paginated response with - * {@link PagedFlux}. + * @return response for GetConnectionSharedKey API service call on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSharedKeyAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName) { + return getSharedKeyWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections - * created. + * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual + * network gateway connection shared key through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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 response for the ListVirtualNetworkGatewayConnections API service call as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, - Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections - * created. - * - * @param resourceGroupName The name of the resource group. - * @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 response for the ListVirtualNetworkGatewayConnections API service call as paginated response with - * {@link PagedIterable}. + * @return response for GetConnectionSharedKey API service call along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSharedKeyWithResponse(String resourceGroupName, + String virtualNetworkGatewayConnectionName, Context context) { + return getSharedKeyWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context).block(); } /** - * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections - * created. + * The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual + * network gateway connection shared key through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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 response for the ListVirtualNetworkGatewayConnections API service call as paginated response with - * {@link PagedIterable}. + * @return response for GetConnectionSharedKey API service call. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, - Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public ConnectionSharedKeyInner getSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + return getSharedKeyWithResponse(resourceGroupName, virtualNetworkGatewayConnectionName, Context.NONE) + .getValue(); } /** @@ -1591,15 +1593,14 @@ public PagedIterable listByResourceGroup(S * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> resetSharedKeyWithResponseAsync(String resourceGroupName, @@ -1608,6 +1609,10 @@ public Mono>> resetSharedKeyWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1616,21 +1621,18 @@ public Mono>> resetSharedKeyWithResponseAsync(String r return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.resetSharedKey(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context)) + .withContext(context -> service.resetSharedKey(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayConnectionName, contentType, + accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1639,16 +1641,15 @@ public Mono>> resetSharedKeyWithResponseAsync(String r * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> resetSharedKeyWithResponseAsync(String resourceGroupName, @@ -1657,6 +1658,10 @@ private Mono>> resetSharedKeyWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1665,20 +1670,17 @@ private Mono>> resetSharedKeyWithResponseAsync(String return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.resetSharedKey(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayConnectionName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.resetSharedKey(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, contentType, accept, parameters, context); } /** @@ -1686,14 +1688,14 @@ private Mono>> resetSharedKeyWithResponseAsync(String * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, ConnectionResetSharedKeyInner> @@ -1711,15 +1713,15 @@ private Mono>> resetSharedKeyWithResponseAsync(String * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 PollerFlux} for polling of the virtual network connection reset shared key. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, ConnectionResetSharedKeyInner> @@ -1738,14 +1740,14 @@ private Mono>> resetSharedKeyWithResponseAsync(String * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ConnectionResetSharedKeyInner> beginResetSharedKey( @@ -1760,15 +1762,15 @@ public SyncPoller, ConnectionResetShar * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 the virtual network connection reset shared key. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ConnectionResetSharedKeyInner> beginResetSharedKey( @@ -1784,14 +1786,14 @@ public SyncPoller, ConnectionResetShar * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono resetSharedKeyAsync(String resourceGroupName, @@ -1805,15 +1807,15 @@ public Mono resetSharedKeyAsync(String resourceGr * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono resetSharedKeyAsync(String resourceGroupName, @@ -1828,14 +1830,14 @@ private Mono resetSharedKeyAsync(String resourceG * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public ConnectionResetSharedKeyInner resetSharedKey(String resourceGroupName, @@ -1848,15 +1850,15 @@ public ConnectionResetSharedKeyInner resetSharedKey(String resourceGroupName, * key for passed virtual network gateway connection in the specified resource group through Network resource * provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Parameters supplied to the begin reset virtual network gateway connection shared key operation * through network resource provider. * @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 virtual network connection reset shared key. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public ConnectionResetSharedKeyInner resetSharedKey(String resourceGroupName, @@ -1867,7 +1869,7 @@ public ConnectionResetSharedKeyInner resetSharedKey(String resourceGroupName, /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -1883,6 +1885,10 @@ public Mono>> startPacketCaptureWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1891,26 +1897,22 @@ public Mono>> startPacketCaptureWithResponseAsync(Stri return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters != null) { parameters.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.startPacketCapture(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context)) + .withContext(context -> service.startPacketCapture(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayConnectionName, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -1927,6 +1929,10 @@ private Mono>> startPacketCaptureWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1935,25 +1941,20 @@ private Mono>> startPacketCaptureWithResponseAsync(Str return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters != null) { parameters.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.startPacketCapture(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context); + return service.startPacketCapture(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, accept, parameters, context); } /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -1963,18 +1964,20 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) { + public PollerFlux, StartPacketCaptureFinalResult1> + beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StartPacketCaptureFinalResult1.class, StartPacketCaptureFinalResult1.class, this.client.getContext()); } /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -1982,19 +1985,20 @@ public PollerFlux, String> beginStartPacketCaptureAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName) { + public PollerFlux, StartPacketCaptureFinalResult1> + beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StartPacketCaptureFinalResult1.class, StartPacketCaptureFinalResult1.class, this.client.getContext()); } /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -2005,19 +2009,21 @@ public PollerFlux, String> beginStartPacketCaptureAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context) { + private PollerFlux, StartPacketCaptureFinalResult1> + beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StartPacketCaptureFinalResult1.class, StartPacketCaptureFinalResult1.class, context); } /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2025,8 +2031,8 @@ private PollerFlux, String> beginStartPacketCaptureAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName) { + public SyncPoller, StartPacketCaptureFinalResult1> + beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters) .getSyncPoller(); @@ -2035,7 +2041,7 @@ public SyncPoller, String> beginStartPacketCapture(String res /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -2046,8 +2052,9 @@ public SyncPoller, String> beginStartPacketCapture(String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context) { + public SyncPoller, StartPacketCaptureFinalResult1> + beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters, Context context) { return this .beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .getSyncPoller(); @@ -2056,7 +2063,7 @@ public SyncPoller, String> beginStartPacketCapture(String res /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -2066,8 +2073,8 @@ public SyncPoller, String> beginStartPacketCapture(String res * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters) { + public Mono startPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2075,7 +2082,7 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String vir /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2083,7 +2090,8 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String vir * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + public Mono startPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2092,7 +2100,7 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String vir /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -2103,8 +2111,8 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String vir * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters, Context context) { + private Mono startPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -2113,7 +2121,7 @@ private Mono startPacketCaptureAsync(String resourceGroupName, String vi /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -2121,7 +2129,8 @@ private Mono startPacketCaptureAsync(String resourceGroupName, String vi * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + public StartPacketCaptureFinalResult1 startPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).block(); } @@ -2129,7 +2138,7 @@ public String startPacketCapture(String resourceGroupName, String virtualNetwork /** * Starts packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway * connection. @@ -2140,8 +2149,8 @@ public String startPacketCapture(String resourceGroupName, String virtualNetwork * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters, Context context) { + public StartPacketCaptureFinalResult1 startPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .block(); } @@ -2149,8 +2158,8 @@ public String startPacketCapture(String resourceGroupName, String virtualNetwork /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2165,6 +2174,10 @@ public Mono>> stopPacketCaptureWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2173,29 +2186,26 @@ public Mono>> stopPacketCaptureWithResponseAsync(Strin return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.stopPacketCapture(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context)) + .withContext(context -> service.stopPacketCapture(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayConnectionName, contentType, + accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @param context The context to associate with this operation. @@ -2211,6 +2221,10 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2219,28 +2233,24 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.stopPacketCapture(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context); + return service.stopPacketCapture(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, contentType, accept, parameters, context); } /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2249,19 +2259,21 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { + public PollerFlux, StopPacketCaptureFinalResult1> + beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StopPacketCaptureFinalResult1.class, StopPacketCaptureFinalResult1.class, this.client.getContext()); } /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @param context The context to associate with this operation. @@ -2271,20 +2283,22 @@ public PollerFlux, String> beginStopPacketCaptureAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { + private PollerFlux, StopPacketCaptureFinalResult1> + beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StopPacketCaptureFinalResult1.class, StopPacketCaptureFinalResult1.class, context); } /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2293,8 +2307,9 @@ private PollerFlux, String> beginStopPacketCaptureAsync(Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { + public SyncPoller, StopPacketCaptureFinalResult1> beginStopPacketCapture( + String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters) { return this.beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters) .getSyncPoller(); } @@ -2302,8 +2317,8 @@ public SyncPoller, String> beginStopPacketCapture(String reso /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @param context The context to associate with this operation. @@ -2313,8 +2328,9 @@ public SyncPoller, String> beginStopPacketCapture(String reso * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { + public SyncPoller, StopPacketCaptureFinalResult1> beginStopPacketCapture( + String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, + Context context) { return this .beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .getSyncPoller(); @@ -2323,8 +2339,8 @@ public SyncPoller, String> beginStopPacketCapture(String reso /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2333,8 +2349,8 @@ public SyncPoller, String> beginStopPacketCapture(String reso * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters) { + public Mono stopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2342,8 +2358,8 @@ public Mono stopPacketCaptureAsync(String resourceGroupName, String virt /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @param context The context to associate with this operation. @@ -2353,8 +2369,8 @@ public Mono stopPacketCaptureAsync(String resourceGroupName, String virt * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters, Context context) { + private Mono stopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -2363,8 +2379,8 @@ private Mono stopPacketCaptureAsync(String resourceGroupName, String vir /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2373,16 +2389,16 @@ private Mono stopPacketCaptureAsync(String resourceGroupName, String vir * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters) { + public StopPacketCaptureFinalResult1 stopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).block(); } /** * Stops packet capture on virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway * connection. * @param context The context to associate with this operation. @@ -2392,8 +2408,8 @@ public String stopPacketCapture(String resourceGroupName, String virtualNetworkG * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters, Context context) { + public StopPacketCaptureFinalResult1 stopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .block(); } @@ -2401,8 +2417,8 @@ public String stopPacketCapture(String resourceGroupName, String virtualNetworkG /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2415,6 +2431,10 @@ public Mono>> getIkeSasWithResponseAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2423,23 +2443,20 @@ public Mono>> getIkeSasWithResponseAsync(String resour return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getIkeSas(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext( + context -> service.getIkeSas(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2453,6 +2470,10 @@ private Mono>> getIkeSasWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2461,41 +2482,37 @@ private Mono>> getIkeSasWithResponseAsync(String resou return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getIkeSas(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayConnectionName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getIkeSas(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, accept, context); } /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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) - public PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, + public PollerFlux, Void> beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { Mono>> mono = getIkeSasWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2503,27 +2520,27 @@ public PollerFlux, String> beginGetIkeSasAsync(String resourc * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, + private PollerFlux, Void> beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { context = this.client.mergeContext(context); Mono>> mono = getIkeSasWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); } /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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, String> beginGetIkeSas(String resourceGroupName, + public SyncPoller, Void> beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) { return this.beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).getSyncPoller(); } @@ -2531,8 +2548,8 @@ public SyncPoller, String> beginGetIkeSas(String resourceGrou /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2540,7 +2557,7 @@ public SyncPoller, String> beginGetIkeSas(String resourceGrou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginGetIkeSas(String resourceGroupName, + public SyncPoller, Void> beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { return this.beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context) .getSyncPoller(); @@ -2549,15 +2566,15 @@ public SyncPoller, String> beginGetIkeSas(String resourceGrou /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + public Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { return beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2565,16 +2582,16 @@ public Mono getIkeSasAsync(String resourceGroupName, String virtualNetwo /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + private Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { return beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2583,39 +2600,37 @@ private Mono getIkeSasAsync(String resourceGroupName, String virtualNetw /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) { - return getIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).block(); + public void getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + getIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).block(); } /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { - return getIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context).block(); + public void getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { + getIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context).block(); } /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2628,6 +2643,10 @@ public Mono>> resetConnectionWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2636,23 +2655,18 @@ public Mono>> resetConnectionWithResponseAsync(String return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.resetConnection(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.resetConnection(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayConnectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2666,6 +2680,10 @@ private Mono>> resetConnectionWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2674,22 +2692,17 @@ private Mono>> resetConnectionWithResponseAsync(String return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.resetConnection(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.resetConnection(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayConnectionName, context); } /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2707,8 +2720,8 @@ public PollerFlux, Void> beginResetConnectionAsync(String resou /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2728,8 +2741,8 @@ private PollerFlux, Void> beginResetConnectionAsync(String reso /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2744,8 +2757,8 @@ public SyncPoller, Void> beginResetConnection(String resourceGr /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2762,8 +2775,8 @@ public SyncPoller, Void> beginResetConnection(String resourceGr /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2778,8 +2791,8 @@ public Mono resetConnectionAsync(String resourceGroupName, String virtualN /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2796,8 +2809,8 @@ private Mono resetConnectionAsync(String resourceGroupName, String virtual /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2810,8 +2823,8 @@ public void resetConnection(String resourceGroupName, String virtualNetworkGatew /** * Resets the virtual network gateway connection specified. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. * @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. @@ -2829,8 +2842,8 @@ public void resetConnection(String resourceGroupName, String virtualNetworkGatew * @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 response for the ListVirtualNetworkGatewayConnections API service call along with {@link PagedResponse} - * on successful completion of {@link Mono}. + * @return the response of a VirtualNetworkGatewayConnection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -2856,8 +2869,8 @@ private Mono> listNextSingle * @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 response for the ListVirtualNetworkGatewayConnections API service call along with {@link PagedResponse} - * on successful completion of {@link Mono}. + * @return the response of a VirtualNetworkGatewayConnection list operation along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java index 00334b9d2b44..0e9e87a01af7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualNetworkGatewayNatRulesClient; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayNatRuleInner; -import com.azure.resourcemanager.network.models.ListVirtualNetworkGatewayNatRulesResult; +import com.azure.resourcemanager.network.implementation.models.ListVirtualNetworkGatewayNatRulesResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,68 +67,67 @@ public final class VirtualNetworkGatewayNatRulesClientImpl implements VirtualNet * The interface defining all the services for NetworkManagementClientVirtualNetworkGatewayNatRules to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVirtualNetworkGatewayNatRules") public interface VirtualNetworkGatewayNatRulesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @PathParam("natRuleName") String natRuleName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("natRuleName") String natRuleName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @PathParam("natRuleName") String natRuleName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") VirtualNetworkGatewayNatRuleInner natRuleParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("natRuleName") String natRuleName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualNetworkGatewayNatRuleInner natRuleParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @PathParam("natRuleName") String natRuleName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("natRuleName") String natRuleName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByVirtualNetworkGateway( - @HostParam("$host") String endpoint, @PathParam("subscriptionId") String subscriptionId, + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByVirtualNetworkGatewayNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -160,17 +159,18 @@ public Mono> getWithResponseAsync(St final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, natRuleName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, natRuleName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -203,16 +203,17 @@ private Mono> getWithResponseAsync(S final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualNetworkGatewayName, natRuleName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkGatewayName, natRuleName, accept, context); } /** * Retrieves the details of a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -228,9 +229,10 @@ public Mono getAsync(String resourceGroupName /** * Retrieves the details of a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -246,9 +248,10 @@ public Response getWithResponse(String resour /** * Retrieves the details of a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -263,9 +266,10 @@ public VirtualNetworkGatewayNatRuleInner get(String resourceGroupName, String vi /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -302,20 +306,22 @@ public Mono>> createOrUpdateWithResponseAsync(String r natRuleParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, natRuleName, apiVersion, natRuleParameters, accept, - context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, natRuleName, contentType, + accept, natRuleParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -354,18 +360,20 @@ private Mono>> createOrUpdateWithResponseAsync(String natRuleParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualNetworkGatewayName, natRuleName, apiVersion, natRuleParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, natRuleName, contentType, accept, natRuleParameters, context); } /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -386,9 +394,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -411,9 +420,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -432,9 +442,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -455,9 +466,10 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -475,9 +487,10 @@ public Mono createOrUpdateAsync(String resour /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -496,9 +509,10 @@ private Mono createOrUpdateAsync(String resou /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -515,9 +529,10 @@ public VirtualNetworkGatewayNatRuleInner createOrUpdate(String resourceGroupName /** * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -535,9 +550,10 @@ public VirtualNetworkGatewayNatRuleInner createOrUpdate(String resourceGroupName /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -566,19 +582,19 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter natRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, natRuleName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, natRuleName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -608,18 +624,18 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter natRuleName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualNetworkGatewayName, natRuleName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkGatewayName, natRuleName, context); } /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -637,9 +653,10 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -659,9 +676,10 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -676,9 +694,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -695,9 +714,10 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -712,9 +732,10 @@ public Mono deleteAsync(String resourceGroupName, String virtualNetworkGat /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -731,9 +752,10 @@ private Mono deleteAsync(String resourceGroupName, String virtualNetworkGa /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -746,9 +768,10 @@ public void delete(String resourceGroupName, String virtualNetworkGatewayName, S /** * Deletes a nat rule. * - * @param resourceGroupName The resource group name of the Virtual Network Gateway. - * @param virtualNetworkGatewayName The name of the gateway. - * @param natRuleName The name of the nat rule. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param natRuleName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -763,8 +786,8 @@ public void delete(String resourceGroupName, String virtualNetworkGatewayName, S /** * Retrieves all nat rules for a particular virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -792,8 +815,9 @@ public void delete(String resourceGroupName, String virtualNetworkGatewayName, S } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listByVirtualNetworkGateway(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, apiVersion, accept, context)) + return FluxUtil + .withContext(context -> service.listByVirtualNetworkGateway(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, 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())); @@ -802,8 +826,8 @@ public void delete(String resourceGroupName, String virtualNetworkGatewayName, S /** * Retrieves all nat rules for a particular virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -834,8 +858,8 @@ private Mono> listByVirtualNetw final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByVirtualNetworkGateway(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, accept, context) + .listByVirtualNetworkGateway(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -843,8 +867,8 @@ private Mono> listByVirtualNetw /** * Retrieves all nat rules for a particular virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -862,8 +886,8 @@ public PagedFlux listByVirtualNetworkGatewayA /** * Retrieves all nat rules for a particular virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -882,8 +906,8 @@ private PagedFlux listByVirtualNetworkGateway /** * Retrieves all nat rules for a particular virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -899,8 +923,8 @@ public PagedIterable listByVirtualNetworkGate /** * Retrieves all nat rules for a particular virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java index 6f8b5e0c2fa9..d6e40890dbd4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -35,23 +35,35 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.core.util.serializer.TypeReference; import com.azure.resourcemanager.network.fluent.VirtualNetworkGatewaysClient; -import com.azure.resourcemanager.network.fluent.models.BgpPeerStatusListResultInner; +import com.azure.resourcemanager.network.fluent.models.BgpPeerStatusInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteFailoverSingleTestDetailsInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteFailoverTestDetailsInner; import com.azure.resourcemanager.network.fluent.models.GatewayResiliencyInformationInner; -import com.azure.resourcemanager.network.fluent.models.GatewayRouteListResultInner; +import com.azure.resourcemanager.network.fluent.models.GatewayRouteInner; import com.azure.resourcemanager.network.fluent.models.GatewayRouteSetsInformationInner; import com.azure.resourcemanager.network.fluent.models.RadiusAuthServerListResultInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionListEntityInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayInner; -import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailListResultInner; +import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailInner; import com.azure.resourcemanager.network.fluent.models.VpnClientIPsecParametersInner; +import com.azure.resourcemanager.network.implementation.models.BgpPeerStatusListResult; +import com.azure.resourcemanager.network.implementation.models.GatewayRouteListResult; +import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayListConnectionsResult; +import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayListResult; +import com.azure.resourcemanager.network.implementation.models.VpnClientConnectionHealthDetailListResult; +import com.azure.resourcemanager.network.models.DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult; import com.azure.resourcemanager.network.models.ErrorException; import com.azure.resourcemanager.network.models.ExpressRouteFailoverStopApiParameters; +import com.azure.resourcemanager.network.models.GenerateVpnProfileFinalResult; +import com.azure.resourcemanager.network.models.GeneratevpnclientpackageFinalResult; +import com.azure.resourcemanager.network.models.GetVpnProfilePackageUrlFinalResult; import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; +import com.azure.resourcemanager.network.models.ResetVpnClientSharedKeyFinalResult; +import com.azure.resourcemanager.network.models.StartExpressRouteSiteFailoverSimulationFinalResult; +import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult; +import com.azure.resourcemanager.network.models.StopExpressRouteSiteFailoverSimulationFinalResult; +import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult; import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.network.models.VirtualNetworkGatewayListConnectionsResult; -import com.azure.resourcemanager.network.models.VirtualNetworkGatewayListResult; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayMigrationParameters; import com.azure.resourcemanager.network.models.VpnClientParameters; import com.azure.resourcemanager.network.models.VpnDeviceScriptParameters; @@ -94,357 +106,348 @@ public final class VirtualNetworkGatewaysClientImpl * The interface defining all the services for NetworkManagementClientVirtualNetworkGateways to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVirtualNetworkGateways") public interface VirtualNetworkGatewaysService { - @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}") - @ExpectedResponses({ 200, 201 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VirtualNetworkGatewayInner parameters, @HeaderParam("Accept") String accept, - Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}") - @ExpectedResponses({ 200, 202, 204 }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualNetworkGatewayInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateTags(@HostParam("$host") String endpoint, + Mono>> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listConnections(@HostParam("$host") String endpoint, + Mono> listConnections( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> reset(@HostParam("$host") String endpoint, + Mono>> reset(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("gatewayVip") String gatewayVip, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @QueryParam("gatewayVip") String gatewayVip, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> resetVpnClientSharedKey(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, + Mono>> resetVpnClientSharedKey(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> generatevpnclientpackage(@HostParam("$host") String endpoint, + Mono>> generatevpnclientpackage(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnClientParameters parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnClientParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> generateVpnProfile(@HostParam("$host") String endpoint, + Mono>> generateVpnProfile(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnClientParameters parameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnClientParameters parameters, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getVpnProfilePackageUrl(@HostParam("$host") String endpoint, + Mono>> getVpnProfilePackageUrl(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getBgpPeerStatus(@HostParam("$host") String endpoint, + Mono>> getBgpPeerStatus(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, @QueryParam("peer") String peer, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> supportedVpnDevices(@HostParam("$host") String endpoint, + Mono> supportedVpnDevices(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/listRadiusSecrets") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listRadiusSecrets(@HostParam("$host") String endpoint, + Mono> listRadiusSecrets(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getLearnedRoutes(@HostParam("$host") String endpoint, + Mono>> getLearnedRoutes(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getAdvertisedRoutes(@HostParam("$host") String endpoint, + Mono>> getAdvertisedRoutes(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, @QueryParam("peer") String peer, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getResiliencyInformation") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getResiliencyInformation(@HostParam("$host") String endpoint, + Mono>> getResiliencyInformation(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("attemptRefresh") Boolean attemptRefresh, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @QueryParam("attemptRefresh") Boolean attemptRefresh, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getRoutesInformation") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getRoutesInformation(@HostParam("$host") String endpoint, + Mono>> getRoutesInformation(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("attemptRefresh") Boolean attemptRefresh, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @QueryParam("attemptRefresh") Boolean attemptRefresh, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> setVpnclientIpsecParameters(@HostParam("$host") String endpoint, + Mono>> setVpnclientIpsecParameters(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnClientIPsecParametersInner vpnclientIpsecParams, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnClientIPsecParametersInner vpnclientIpsecParams, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getVpnclientIpsecParameters(@HostParam("$host") String endpoint, + Mono>> getVpnclientIpsecParameters(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> vpnDeviceConfigurationScript(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnDeviceScriptParameters parameters, @HeaderParam("Accept") String accept, - Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> startPacketCapture(@HostParam("$host") String endpoint, + Mono>> startPacketCapture(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnPacketCaptureStartParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnPacketCaptureStartParameters parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> stopPacketCapture(@HostParam("$host") String endpoint, + Mono>> stopPacketCapture(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnPacketCaptureStopParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnPacketCaptureStopParameters parameters, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverAllTestsDetails") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getFailoverAllTestDetails(@HostParam("$host") String endpoint, + Mono>> getFailoverAllTestDetails(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, @QueryParam("type") String type, - @QueryParam("fetchLatest") boolean fetchLatest, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @QueryParam("fetchLatest") boolean fetchLatest, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverSingleTestDetails") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getFailoverSingleTestDetails(@HostParam("$host") String endpoint, + Mono>> getFailoverSingleTestDetails(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, @QueryParam("peeringLocation") String peeringLocation, @QueryParam("failoverTestId") String failoverTestId, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startSiteFailoverTest") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> startExpressRouteSiteFailoverSimulation(@HostParam("$host") String endpoint, + Mono>> startExpressRouteSiteFailoverSimulation(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("peeringLocation") String peeringLocation, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @QueryParam("peeringLocation") String peeringLocation, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopSiteFailoverTest") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> stopExpressRouteSiteFailoverSimulation(@HostParam("$host") String endpoint, + Mono>> stopExpressRouteSiteFailoverSimulation(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") ExpressRouteFailoverStopApiParameters stopParameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ExpressRouteFailoverStopApiParameters stopParameters, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getVpnclientConnectionHealth(@HostParam("$host") String endpoint, + Mono>> getVpnclientConnectionHealth(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> disconnectVirtualNetworkGatewayVpnConnections( - @HostParam("$host") String endpoint, @PathParam("subscriptionId") String subscriptionId, + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") P2SVpnConnectionRequest request, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") P2SVpnConnectionRequest request, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/prepareMigration") @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> invokePrepareMigration(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> invokePrepareMigration(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") VirtualNetworkGatewayMigrationParameters migrationParams, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") VirtualNetworkGatewayMigrationParameters migrationParams, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/executeMigration") @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> invokeExecuteMigration(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> invokeExecuteMigration(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/commitMigration") @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> invokeCommitMigration(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> invokeCommitMigration(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/abortMigration") @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> invokeAbortMigration(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> invokeAbortMigration(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualNetworkGatewayName") String virtualNetworkGatewayName, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> vpnDeviceConfigurationScript(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkGatewayConnectionName") String virtualNetworkGatewayConnectionName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnDeviceScriptParameters parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -452,29 +455,32 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listConnectionsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Creates or updates a virtual network gateway in the specified resource group. + * Gets the specified virtual network gateway by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to create or update virtual network gateway 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 a common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. + * @return the specified virtual network gateway by resource group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -483,43 +489,37 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Creates or updates a virtual network gateway in the specified resource group. + * Gets the specified virtual network gateway by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to create or update virtual network gateway operation. * @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 a common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. + * @return the specified virtual network gateway by resource group along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters, Context context) { + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -528,317 +528,329 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, context); } /** - * Creates or updates a virtual network gateway in the specified resource group. + * Gets the specified virtual network gateway by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to create or update virtual network gateway 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 PollerFlux} for polling of a common class for general resource information. + * @return the specified virtual network gateway by resource group on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VirtualNetworkGatewayInner> beginCreateOrUpdateAsync( - String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters) { - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, - this.client.getContext()); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, + String virtualNetworkGatewayName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, virtualNetworkGatewayName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Creates or updates a virtual network gateway in the specified resource group. + * Gets the specified virtual network gateway by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to create or update virtual network gateway operation. * @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 PollerFlux} for polling of a common class for general resource information. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VirtualNetworkGatewayInner> beginCreateOrUpdateAsync( - String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, context); - } - - /** - * Creates or updates a virtual network gateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to create or update virtual network gateway 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 a common class for general resource information. + * @return the specified virtual network gateway by resource group along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualNetworkGatewayInner> beginCreateOrUpdate( - String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } /** - * Creates or updates a virtual network gateway in the specified resource group. + * Gets the specified virtual network gateway by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to create or update virtual network gateway operation. - * @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 a common class for general resource information. + * @return the specified virtual network gateway by resource group. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualNetworkGatewayInner> beginCreateOrUpdate( - String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters, - Context context) { - return this.beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) - .getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + public VirtualNetworkGatewayInner getByResourceGroup(String resourceGroupName, String virtualNetworkGatewayName) { + return getByResourceGroupWithResponse(resourceGroupName, virtualNetworkGatewayName, Context.NONE).getValue(); } /** * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to create or update virtual network gateway 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 a common class for general resource information on successful completion of {@link Mono}. + * @return a common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Creates or updates a virtual network gateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to create or update virtual network gateway operation. - * @param context The context to associate with this operation. + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkGatewayName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, accept, + parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Creates or updates a virtual network gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to create or update virtual network gateway operation. + * @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 a common class for general resource information on successful completion of {@link Mono}. + * @return a common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkGatewayName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, contentType, accept, parameters, context); } /** * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to create or update virtual network gateway 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 a common class for general resource information. + * @return the {@link PollerFlux} for polling of a common class for general resource information. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualNetworkGatewayInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, - VirtualNetworkGatewayInner parameters) { - return createOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, VirtualNetworkGatewayInner> beginCreateOrUpdateAsync( + String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, + this.client.getContext()); } /** * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to create or update virtual network gateway operation. * @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 a common class for general resource information. + * @return the {@link PollerFlux} for polling of a common class for general resource information. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualNetworkGatewayInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, - VirtualNetworkGatewayInner parameters, Context context) { - return createOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, VirtualNetworkGatewayInner> beginCreateOrUpdateAsync( + String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, context); } /** - * Gets the specified virtual network gateway by resource group. + * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to create or update virtual network gateway 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 virtual network gateway by resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return the {@link SyncPoller} for polling of a common class for general resource information. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkGatewayName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, VirtualNetworkGatewayInner> beginCreateOrUpdate( + String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters).getSyncPoller(); } /** - * Gets the specified virtual network gateway by resource group. + * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to create or update virtual network gateway operation. * @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 virtual network gateway by resource group along with {@link Response} on successful - * completion of {@link Mono}. + * @return the {@link SyncPoller} for polling of a common class for general resource information. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkGatewayName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, VirtualNetworkGatewayInner> beginCreateOrUpdate( + String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters, + Context context) { + return this.beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) + .getSyncPoller(); } /** - * Gets the specified virtual network gateway by resource group. + * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to create or update virtual network gateway 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 virtual network gateway by resource group on successful completion of {@link Mono}. + * @return a common class for general resource information on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, - String virtualNetworkGatewayName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, virtualNetworkGatewayName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono createOrUpdateAsync(String resourceGroupName, + String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters) { + return beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified virtual network gateway by resource group. + * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to create or update virtual network gateway operation. * @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 virtual network gateway by resource group along with {@link Response}. + * @return a common class for general resource information on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); + private Mono createOrUpdateAsync(String resourceGroupName, + String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the specified virtual network gateway by resource group. + * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to create or update virtual network gateway 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 virtual network gateway by resource group. + * @return a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualNetworkGatewayInner getByResourceGroup(String resourceGroupName, String virtualNetworkGatewayName) { - return getByResourceGroupWithResponse(resourceGroupName, virtualNetworkGatewayName, Context.NONE).getValue(); + public VirtualNetworkGatewayInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, + VirtualNetworkGatewayInner parameters) { + return createOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } /** - * Deletes the specified virtual network gateway. + * Creates or updates a virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to create or update virtual network gateway operation. + * @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 Response} on successful completion of {@link Mono}. + * @return a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName) { + public VirtualNetworkGatewayInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, + VirtualNetworkGatewayInner parameters, Context context) { + return createOrUpdateAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); + } + + /** + * Updates a virtual network gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. + * @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 common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> updateTagsWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName, TagsObject parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -847,36 +859,45 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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 Response} on successful completion of {@link Mono}. + * @return a common class for general resource information along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { + private Mono>> updateTagsWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName, TagsObject parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -885,169 +906,191 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, contentType, accept, parameters, context); } /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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. + * @return the {@link PollerFlux} for polling of a common class for general resource information. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String virtualNetworkGatewayName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + public PollerFlux, VirtualNetworkGatewayInner> + beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters) { + Mono>> mono + = updateTagsWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, this.client.getContext()); } /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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 PollerFlux} for polling of long-running operation. + * @return the {@link PollerFlux} for polling of a common class for general resource information. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { + private PollerFlux, VirtualNetworkGatewayInner> beginUpdateTagsAsync( + String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono - = deleteWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + = updateTagsWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, context); } /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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. + * @return the {@link SyncPoller} for polling of a common class for general resource information. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkGatewayName) { - return this.beginDeleteAsync(resourceGroupName, virtualNetworkGatewayName).getSyncPoller(); + public SyncPoller, VirtualNetworkGatewayInner> + beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters) { + return this.beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters).getSyncPoller(); } /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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. + * @return the {@link SyncPoller} for polling of a common class for general resource information. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkGatewayName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, virtualNetworkGatewayName, context).getSyncPoller(); + public SyncPoller, VirtualNetworkGatewayInner> beginUpdateTags( + String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters, Context context) { + return this.beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) + .getSyncPoller(); } /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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. + * @return a common class for general resource information on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteAsync(String resourceGroupName, String virtualNetworkGatewayName) { - return beginDeleteAsync(resourceGroupName, virtualNetworkGatewayName).last() + public Mono updateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, + TagsObject parameters) { + return beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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 A {@link Mono} that completes when a successful response is received. + * @return a common class for general resource information on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - return beginDeleteAsync(resourceGroupName, virtualNetworkGatewayName, context).last() + private Mono updateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, + TagsObject parameters, Context context) { + return beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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 common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String virtualNetworkGatewayName) { - deleteAsync(resourceGroupName, virtualNetworkGatewayName).block(); + public VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNetworkGatewayName, + TagsObject parameters) { + return updateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } /** - * Deletes the specified virtual network gateway. + * Updates a virtual network gateway tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to update virtual network gateway tags. * @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 a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void delete(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - deleteAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); + public VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNetworkGatewayName, + TagsObject parameters, Context context) { + return updateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> updateTagsWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName, TagsObject parameters) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1056,43 +1099,35 @@ public Mono>> updateTagsWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 a common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> updateTagsWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName, TagsObject parameters, Context context) { + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1101,177 +1136,149 @@ private Mono>> updateTagsWithResponseAsync(String reso return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkGatewayName, context); } /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 a common class for general resource information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VirtualNetworkGatewayInner> - beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters) { - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String virtualNetworkGatewayName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 PollerFlux} for polling of a common class for general resource information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VirtualNetworkGatewayInner> beginUpdateTagsAsync( - String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters, Context context) { + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { context = this.client.mergeContext(context); Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VirtualNetworkGatewayInner.class, VirtualNetworkGatewayInner.class, context); + = deleteWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 a common class for general resource information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualNetworkGatewayInner> - beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters) { - return this.beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters).getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkGatewayName) { + return this.beginDeleteAsync(resourceGroupName, virtualNetworkGatewayName).getSyncPoller(); } /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 a common class for general resource information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualNetworkGatewayInner> beginUpdateTags( - String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters, Context context) { - return this.beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) - .getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String virtualNetworkGatewayName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, virtualNetworkGatewayName, context).getSyncPoller(); } /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 common class for general resource information on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, - TagsObject parameters) { - return beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() + public Mono deleteAsync(String resourceGroupName, String virtualNetworkGatewayName) { + return beginDeleteAsync(resourceGroupName, virtualNetworkGatewayName).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 a common class for general resource information on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono updateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, - TagsObject parameters, Context context) { - return beginUpdateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + return beginDeleteAsync(resourceGroupName, virtualNetworkGatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNetworkGatewayName, - TagsObject parameters) { - return updateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); + public void delete(String resourceGroupName, String virtualNetworkGatewayName) { + deleteAsync(resourceGroupName, virtualNetworkGatewayName).block(); } /** - * Updates a virtual network gateway tags. + * Deletes the specified virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to update virtual network gateway tags. * @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 a common class for general resource information. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNetworkGatewayName, - TagsObject parameters, Context context) { - return updateTagsAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); + public void delete(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + deleteAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } /** * Gets all virtual network gateways by resource group. * - * @param resourceGroupName The name of the 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. @@ -1285,19 +1292,19 @@ public VirtualNetworkGatewayInner updateTags(String resourceGroupName, String vi return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -1306,7 +1313,7 @@ public VirtualNetworkGatewayInner updateTags(String resourceGroupName, String vi /** * Gets all virtual network gateways by resource group. * - * @param resourceGroupName The name of the 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. @@ -1321,20 +1328,20 @@ private Mono> listByResourceGroupSingl return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1342,7 +1349,7 @@ private Mono> listByResourceGroupSingl /** * Gets all virtual network gateways by resource group. * - * @param resourceGroupName The name of the 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. @@ -1357,7 +1364,7 @@ public PagedFlux listByResourceGroupAsync(String res /** * Gets all virtual network gateways by resource group. * - * @param resourceGroupName The name of the 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. @@ -1373,7 +1380,7 @@ private PagedFlux listByResourceGroupAsync(String re /** * Gets all virtual network gateways by resource group. * - * @param resourceGroupName The name of the 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. @@ -1387,7 +1394,7 @@ public PagedIterable listByResourceGroup(String reso /** * Gets all virtual network gateways by resource group. * - * @param resourceGroupName The name of the 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. @@ -1402,7 +1409,7 @@ public PagedIterable listByResourceGroup(String reso /** * Gets all the connections in a virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1417,6 +1424,10 @@ public PagedIterable listByResourceGroup(String reso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1425,15 +1436,11 @@ public PagedIterable listByResourceGroup(String reso return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listConnections(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listConnections(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, context)) .>map( res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -1443,7 +1450,7 @@ public PagedIterable listByResourceGroup(String reso /** * Gets all the connections in a virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1459,6 +1466,10 @@ public PagedIterable listByResourceGroup(String reso return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1467,16 +1478,12 @@ public PagedIterable listByResourceGroup(String reso return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listConnections(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listConnections(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkGatewayName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1484,7 +1491,7 @@ public PagedIterable listByResourceGroup(String reso /** * Gets all the connections in a virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1501,7 +1508,7 @@ public PagedFlux listConnections /** * Gets all the connections in a virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1520,7 +1527,7 @@ private PagedFlux listConnection /** * Gets all the connections in a virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1536,7 +1543,7 @@ public PagedIterable listConnect /** * Gets all the connections in a virtual network gateway. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1553,15 +1560,14 @@ public PagedIterable listConnect /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. * @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 common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> resetWithResponseAsync(String resourceGroupName, @@ -1570,6 +1576,10 @@ public Mono>> resetWithResponseAsync(String resourceGr return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1578,22 +1588,19 @@ public Mono>> resetWithResponseAsync(String resourceGr return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.reset(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, gatewayVip, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext( + context -> service.reset(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, gatewayVip, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. @@ -1601,8 +1608,7 @@ public Mono>> resetWithResponseAsync(String resourceGr * @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 common class for general resource information along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> resetWithResponseAsync(String resourceGroupName, @@ -1611,6 +1617,10 @@ private Mono>> resetWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1619,28 +1629,24 @@ private Mono>> resetWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.reset(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, gatewayVip, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.reset(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkGatewayName, gatewayVip, accept, context); } /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. * @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 a common class for general resource information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, VirtualNetworkGatewayInner> @@ -1655,12 +1661,12 @@ private Mono>> resetWithResponseAsync(String resourceG /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 a common class for general resource information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, VirtualNetworkGatewayInner> @@ -1676,7 +1682,7 @@ private Mono>> resetWithResponseAsync(String resourceG /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. @@ -1684,7 +1690,7 @@ private Mono>> resetWithResponseAsync(String resourceG * @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 a common class for general resource information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, VirtualNetworkGatewayInner> beginResetAsync( @@ -1699,12 +1705,12 @@ private PollerFlux, VirtualNetworkGateway /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 a common class for general resource information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, VirtualNetworkGatewayInner> @@ -1716,7 +1722,7 @@ private PollerFlux, VirtualNetworkGateway /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. @@ -1724,7 +1730,7 @@ private PollerFlux, VirtualNetworkGateway * @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 a common class for general resource information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, VirtualNetworkGatewayInner> @@ -1735,14 +1741,14 @@ private PollerFlux, VirtualNetworkGateway /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. * @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 common class for general resource information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono resetAsync(String resourceGroupName, String virtualNetworkGatewayName, @@ -1754,12 +1760,12 @@ public Mono resetAsync(String resourceGroupName, Str /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 common class for general resource information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono resetAsync(String resourceGroupName, String virtualNetworkGatewayName) { @@ -1771,7 +1777,7 @@ public Mono resetAsync(String resourceGroupName, Str /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. @@ -1779,7 +1785,7 @@ public Mono resetAsync(String resourceGroupName, Str * @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 common class for general resource information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono resetAsync(String resourceGroupName, String virtualNetworkGatewayName, @@ -1791,12 +1797,12 @@ private Mono resetAsync(String resourceGroupName, St /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 common class for general resource information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public VirtualNetworkGatewayInner reset(String resourceGroupName, String virtualNetworkGatewayName) { @@ -1807,7 +1813,7 @@ public VirtualNetworkGatewayInner reset(String resourceGroupName, String virtual /** * Resets the primary of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param gatewayVip Virtual network gateway vip address supplied to the begin reset of the active-active feature * enabled gateway. @@ -1815,7 +1821,7 @@ public VirtualNetworkGatewayInner reset(String resourceGroupName, String virtual * @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 common class for general resource information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public VirtualNetworkGatewayInner reset(String resourceGroupName, String virtualNetworkGatewayName, @@ -1826,7 +1832,7 @@ public VirtualNetworkGatewayInner reset(String resourceGroupName, String virtual /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1840,6 +1846,10 @@ public Mono>> resetVpnClientSharedKeyWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1848,22 +1858,17 @@ public Mono>> resetVpnClientSharedKeyWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.resetVpnClientSharedKey(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.resetVpnClientSharedKey(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1878,6 +1883,10 @@ private Mono>> resetVpnClientSharedKeyWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1886,21 +1895,16 @@ private Mono>> resetVpnClientSharedKeyWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.resetVpnClientSharedKey(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.resetVpnClientSharedKey(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, context); } /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1908,18 +1912,19 @@ private Mono>> resetVpnClientSharedKeyWithResponseAsyn * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginResetVpnClientSharedKeyAsync(String resourceGroupName, - String virtualNetworkGatewayName) { + public PollerFlux, ResetVpnClientSharedKeyFinalResult> + beginResetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName) { Mono>> mono = resetVpnClientSharedKeyWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ResetVpnClientSharedKeyFinalResult.class, + ResetVpnClientSharedKeyFinalResult.class, this.client.getContext()); } /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1928,19 +1933,20 @@ public PollerFlux, Void> beginResetVpnClientSharedKeyAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginResetVpnClientSharedKeyAsync(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { + private PollerFlux, ResetVpnClientSharedKeyFinalResult> + beginResetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { context = this.client.mergeContext(context); Mono>> mono = resetVpnClientSharedKeyWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ResetVpnClientSharedKeyFinalResult.class, + ResetVpnClientSharedKeyFinalResult.class, context); } /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1948,15 +1954,15 @@ private PollerFlux, Void> beginResetVpnClientSharedKeyAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginResetVpnClientSharedKey(String resourceGroupName, - String virtualNetworkGatewayName) { + public SyncPoller, ResetVpnClientSharedKeyFinalResult> + beginResetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName) { return this.beginResetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName).getSyncPoller(); } /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1965,8 +1971,8 @@ public SyncPoller, Void> beginResetVpnClientSharedKey(String re * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginResetVpnClientSharedKey(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { + public SyncPoller, ResetVpnClientSharedKeyFinalResult> + beginResetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName, Context context) { return this.beginResetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName, context) .getSyncPoller(); } @@ -1974,15 +1980,16 @@ public SyncPoller, Void> beginResetVpnClientSharedKey(String re /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono resetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName) { + public Mono resetVpnClientSharedKeyAsync(String resourceGroupName, + String virtualNetworkGatewayName) { return beginResetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1990,17 +1997,17 @@ public Mono resetVpnClientSharedKeyAsync(String resourceGroupName, String /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono resetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName, - Context context) { + private Mono resetVpnClientSharedKeyAsync(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { return beginResetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2008,36 +2015,40 @@ private Mono resetVpnClientSharedKeyAsync(String resourceGroupName, String /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void resetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName) { - resetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName).block(); + public ResetVpnClientSharedKeyFinalResult resetVpnClientSharedKey(String resourceGroupName, + String virtualNetworkGatewayName) { + return resetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName).block(); } /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void resetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - resetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); + public ResetVpnClientSharedKeyFinalResult resetVpnClientSharedKey(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { + return resetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2052,6 +2063,10 @@ public Mono>> generatevpnclientpackageWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2060,27 +2075,25 @@ public Mono>> generatevpnclientpackageWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.generatevpnclientpackage(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.generatevpnclientpackage(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -2096,6 +2109,10 @@ private Mono>> generatevpnclientpackageWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2104,26 +2121,23 @@ private Mono>> generatevpnclientpackageWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.generatevpnclientpackage(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.generatevpnclientpackage(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, contentType, accept, parameters, context); } /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2132,18 +2146,20 @@ private Mono>> generatevpnclientpackageWithResponseAsy * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginGeneratevpnclientpackageAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters) { + public PollerFlux, GeneratevpnclientpackageFinalResult> + beginGeneratevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters) { Mono>> mono = generatevpnclientpackageWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), GeneratevpnclientpackageFinalResult.class, + GeneratevpnclientpackageFinalResult.class, this.client.getContext()); } /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -2153,19 +2169,21 @@ public PollerFlux, String> beginGeneratevpnclientpackageAsync * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginGeneratevpnclientpackageAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + private PollerFlux, GeneratevpnclientpackageFinalResult> + beginGeneratevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = generatevpnclientpackageWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), GeneratevpnclientpackageFinalResult.class, + GeneratevpnclientpackageFinalResult.class, context); } /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2174,8 +2192,9 @@ private PollerFlux, String> beginGeneratevpnclientpackageAsyn * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginGeneratevpnclientpackage(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters) { + public SyncPoller, GeneratevpnclientpackageFinalResult> + beginGeneratevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters) { return this.beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); } @@ -2183,7 +2202,7 @@ public SyncPoller, String> beginGeneratevpnclientpackage(Stri /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -2193,8 +2212,9 @@ public SyncPoller, String> beginGeneratevpnclientpackage(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginGeneratevpnclientpackage(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + public SyncPoller, GeneratevpnclientpackageFinalResult> + beginGeneratevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters, Context context) { return this .beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); @@ -2203,7 +2223,7 @@ public SyncPoller, String> beginGeneratevpnclientpackage(Stri /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2212,8 +2232,8 @@ public SyncPoller, String> beginGeneratevpnclientpackage(Stri * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters) { + public Mono generatevpnclientpackageAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters) { return beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2221,7 +2241,7 @@ public Mono generatevpnclientpackageAsync(String resourceGroupName, Stri /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -2231,8 +2251,8 @@ public Mono generatevpnclientpackageAsync(String resourceGroupName, Stri * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters, Context context) { + private Mono generatevpnclientpackageAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -2241,7 +2261,7 @@ private Mono generatevpnclientpackageAsync(String resourceGroupName, Str /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2250,15 +2270,15 @@ private Mono generatevpnclientpackageAsync(String resourceGroupName, Str * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters) { + public GeneratevpnclientpackageFinalResult generatevpnclientpackage(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters) { return generatevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -2268,8 +2288,8 @@ public String generatevpnclientpackage(String resourceGroupName, String virtualN * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters, Context context) { + public GeneratevpnclientpackageFinalResult generatevpnclientpackage(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return generatevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -2277,7 +2297,7 @@ public String generatevpnclientpackage(String resourceGroupName, String virtualN * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2292,6 +2312,10 @@ public Mono>> generateVpnProfileWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2300,20 +2324,18 @@ public Mono>> generateVpnProfileWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.generateVpnProfile(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.generateVpnProfile(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -2321,7 +2343,7 @@ public Mono>> generateVpnProfileWithResponseAsync(Stri * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -2337,6 +2359,10 @@ private Mono>> generateVpnProfileWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2345,27 +2371,24 @@ private Mono>> generateVpnProfileWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.generateVpnProfile(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.generateVpnProfile(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, contentType, accept, parameters, context); } /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2374,11 +2397,13 @@ private Mono>> generateVpnProfileWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginGenerateVpnProfileAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters) { + public PollerFlux, GenerateVpnProfileFinalResult> + beginGenerateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters) { Mono>> mono = generateVpnProfileWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), GenerateVpnProfileFinalResult.class, GenerateVpnProfileFinalResult.class, this.client.getContext()); } @@ -2386,7 +2411,7 @@ public PollerFlux, String> beginGenerateVpnProfileAsync(Strin * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -2396,12 +2421,14 @@ public PollerFlux, String> beginGenerateVpnProfileAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginGenerateVpnProfileAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + private PollerFlux, GenerateVpnProfileFinalResult> + beginGenerateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = generateVpnProfileWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), GenerateVpnProfileFinalResult.class, GenerateVpnProfileFinalResult.class, context); } @@ -2409,7 +2436,7 @@ private PollerFlux, String> beginGenerateVpnProfileAsync(Stri * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2418,8 +2445,8 @@ private PollerFlux, String> beginGenerateVpnProfileAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginGenerateVpnProfile(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters) { + public SyncPoller, GenerateVpnProfileFinalResult> beginGenerateVpnProfile( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return this.beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); } @@ -2428,7 +2455,7 @@ public SyncPoller, String> beginGenerateVpnProfile(String res * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -2438,8 +2465,8 @@ public SyncPoller, String> beginGenerateVpnProfile(String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginGenerateVpnProfile(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + public SyncPoller, GenerateVpnProfileFinalResult> beginGenerateVpnProfile( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return this.beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); } @@ -2448,7 +2475,7 @@ public SyncPoller, String> beginGenerateVpnProfile(String res * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2457,8 +2484,8 @@ public SyncPoller, String> beginGenerateVpnProfile(String res * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters) { + public Mono generateVpnProfileAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters) { return beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2467,7 +2494,7 @@ public Mono generateVpnProfileAsync(String resourceGroupName, String vir * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -2477,8 +2504,8 @@ public Mono generateVpnProfileAsync(String resourceGroupName, String vir * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters, Context context) { + private Mono generateVpnProfileAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2487,7 +2514,7 @@ private Mono generateVpnProfileAsync(String resourceGroupName, String vi * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2496,7 +2523,7 @@ private Mono generateVpnProfileAsync(String resourceGroupName, String vi * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + public GenerateVpnProfileFinalResult generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return generateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -2505,7 +2532,7 @@ public String generateVpnProfile(String resourceGroupName, String virtualNetwork * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for * IKEV2 and radius based authentication. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Parameters supplied to the generate virtual network gateway VPN client package operation. * @param context The context to associate with this operation. @@ -2515,7 +2542,7 @@ public String generateVpnProfile(String resourceGroupName, String virtualNetwork * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + public GenerateVpnProfileFinalResult generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return generateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -2524,7 +2551,7 @@ public String generateVpnProfile(String resourceGroupName, String virtualNetwork * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2539,6 +2566,10 @@ public Mono>> getVpnProfilePackageUrlWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2547,15 +2578,11 @@ public Mono>> getVpnProfilePackageUrlWithResponseAsync return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getVpnProfilePackageUrl(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getVpnProfilePackageUrl(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -2563,7 +2590,7 @@ public Mono>> getVpnProfilePackageUrlWithResponseAsync * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2579,6 +2606,10 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2587,22 +2618,18 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getVpnProfilePackageUrl(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getVpnProfilePackageUrl(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, context); } /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2611,19 +2638,20 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginGetVpnProfilePackageUrlAsync(String resourceGroupName, - String virtualNetworkGatewayName) { + public PollerFlux, GetVpnProfilePackageUrlFinalResult> + beginGetVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName) { Mono>> mono = getVpnProfilePackageUrlWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), GetVpnProfilePackageUrlFinalResult.class, + GetVpnProfilePackageUrlFinalResult.class, this.client.getContext()); } /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2633,20 +2661,21 @@ public PollerFlux, String> beginGetVpnProfilePackageUrlAsync( * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginGetVpnProfilePackageUrlAsync(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { + private PollerFlux, GetVpnProfilePackageUrlFinalResult> + beginGetVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { context = this.client.mergeContext(context); Mono>> mono = getVpnProfilePackageUrlWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), GetVpnProfilePackageUrlFinalResult.class, + GetVpnProfilePackageUrlFinalResult.class, context); } /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2655,8 +2684,8 @@ private PollerFlux, String> beginGetVpnProfilePackageUrlAsync * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginGetVpnProfilePackageUrl(String resourceGroupName, - String virtualNetworkGatewayName) { + public SyncPoller, GetVpnProfilePackageUrlFinalResult> + beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName) { return this.beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName).getSyncPoller(); } @@ -2664,7 +2693,7 @@ public SyncPoller, String> beginGetVpnProfilePackageUrl(Strin * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2674,8 +2703,8 @@ public SyncPoller, String> beginGetVpnProfilePackageUrl(Strin * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginGetVpnProfilePackageUrl(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { + public SyncPoller, GetVpnProfilePackageUrlFinalResult> + beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, Context context) { return this.beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName, context) .getSyncPoller(); } @@ -2684,7 +2713,7 @@ public SyncPoller, String> beginGetVpnProfilePackageUrl(Strin * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2693,7 +2722,8 @@ public SyncPoller, String> beginGetVpnProfilePackageUrl(Strin * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName) { + public Mono getVpnProfilePackageUrlAsync(String resourceGroupName, + String virtualNetworkGatewayName) { return beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2702,7 +2732,7 @@ public Mono getVpnProfilePackageUrlAsync(String resourceGroupName, Strin * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2712,8 +2742,8 @@ public Mono getVpnProfilePackageUrlAsync(String resourceGroupName, Strin * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName, - Context context) { + private Mono getVpnProfilePackageUrlAsync(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { return beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2722,7 +2752,7 @@ private Mono getVpnProfilePackageUrlAsync(String resourceGroupName, Stri * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2730,7 +2760,8 @@ private Mono getVpnProfilePackageUrlAsync(String resourceGroupName, Stri * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName) { + public GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourceGroupName, + String virtualNetworkGatewayName) { return getVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName).block(); } @@ -2738,7 +2769,7 @@ public String getVpnProfilePackageUrl(String resourceGroupName, String virtualNe * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The * profile needs to be generated first using generateVpnProfile. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2747,29 +2778,33 @@ public String getVpnProfilePackageUrl(String resourceGroupName, String virtualNe * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + public GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { return getVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer to retrieve the status of. * @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 response for list BGP peer status API service call along with {@link Response} on successful completion - * of {@link Mono}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getBgpPeerStatusWithResponseAsync(String resourceGroupName, + private Mono> getBgpPeerStatusSinglePageAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2778,38 +2813,49 @@ public Mono>> getBgpPeerStatusWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getBgpPeerStatus(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, peer, apiVersion, this.client.getSubscriptionId(), accept, context)) + return FluxUtil.withContext(context -> { + Mono>> mono + = service + .getBgpPeerStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, peer, accept, context) + .cache(); + return Mono.zip(mono, + this.client + .getLroResult(mono, this.client.getHttpPipeline(), + BgpPeerStatusListResult.class, BgpPeerStatusListResult.class, this.client.getContext()) + .last() + .flatMap(this.client::getLroFinalResultOrError)); + }) + .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), + res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer to retrieve the status of. * @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 response for list BGP peer status API service call along with {@link Response} on successful completion - * of {@link Mono}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getBgpPeerStatusWithResponseAsync(String resourceGroupName, + private Mono> getBgpPeerStatusSinglePageAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -2818,212 +2864,119 @@ private Mono>> getBgpPeerStatusWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getBgpPeerStatus(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, peer, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * The GetBgpPeerStatus operation retrieves the status of all BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer to retrieve the status of. - * @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 response for list BGP peer status API service call. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, BgpPeerStatusListResultInner> - beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { - Mono>> mono - = getBgpPeerStatusWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), BgpPeerStatusListResultInner.class, BgpPeerStatusListResultInner.class, - this.client.getContext()); - } - - /** - * The GetBgpPeerStatus operation retrieves the status of all BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 response for list BGP peer status API service call. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, BgpPeerStatusListResultInner> - beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName) { - final String peer = null; - Mono>> mono - = getBgpPeerStatusWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), BgpPeerStatusListResultInner.class, BgpPeerStatusListResultInner.class, - this.client.getContext()); - } - - /** - * The GetBgpPeerStatus operation retrieves the status of all BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer to retrieve the status of. - * @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 PollerFlux} for polling of response for list BGP peer status API service call. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, BgpPeerStatusListResultInner> - beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, - Context context) { - context = this.client.mergeContext(context); Mono>> mono - = getBgpPeerStatusWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), BgpPeerStatusListResultInner.class, BgpPeerStatusListResultInner.class, - context); - } - - /** - * The GetBgpPeerStatus operation retrieves the status of all BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 response for list BGP peer status API service call. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, BgpPeerStatusListResultInner> - beginGetBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName) { - final String peer = null; - return this.beginGetBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer).getSyncPoller(); - } - - /** - * The GetBgpPeerStatus operation retrieves the status of all BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer to retrieve the status of. - * @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 response for list BGP peer status API service call. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, BgpPeerStatusListResultInner> beginGetBgpPeerStatus( - String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { - return this.beginGetBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer, context) - .getSyncPoller(); + = service + .getBgpPeerStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, peer, accept, context) + .cache(); + return Mono + .zip(mono, + this.client + .getLroResult(mono, this.client.getHttpPipeline(), + BgpPeerStatusListResult.class, BgpPeerStatusListResult.class, context) + .last() + .flatMap(this.client::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), null, null)); } /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer to retrieve the status of. * @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 response for list BGP peer status API service call on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getBgpPeerStatusAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { - return beginGetBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer).last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>( + () -> getBgpPeerStatusSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, peer)); } /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 response for list BGP peer status API service call on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getBgpPeerStatusAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName) { final String peer = null; - return beginGetBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer).last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>( + () -> getBgpPeerStatusSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, peer)); } /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer to retrieve the status of. * @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 response for list BGP peer status API service call on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getBgpPeerStatusAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { - return beginGetBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer, context).last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>( + () -> getBgpPeerStatusSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, peer, context)); } /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 response for list BGP peer status API service call. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName) { + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getBgpPeerStatus(String resourceGroupName, + String virtualNetworkGatewayName) { final String peer = null; - return getBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer).block(); + return new PagedIterable<>(getBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer)); } /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer to retrieve the status of. * @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 response for list BGP peer status API service call. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName, - String peer, Context context) { - return getBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getBgpPeerStatus(String resourceGroupName, + String virtualNetworkGatewayName, String peer, Context context) { + return new PagedIterable<>(getBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer, context)); } /** * Gets a xml format representation for supported vpn devices. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3038,6 +2991,10 @@ public Mono> supportedVpnDevicesWithResponseAsync(String resour return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3046,22 +3003,18 @@ public Mono> supportedVpnDevicesWithResponseAsync(String resour return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.supportedVpnDevices(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.supportedVpnDevices(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets a xml format representation for supported vpn devices. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3077,6 +3030,10 @@ private Mono> supportedVpnDevicesWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3085,21 +3042,17 @@ private Mono> supportedVpnDevicesWithResponseAsync(String resou return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.supportedVpnDevices(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.supportedVpnDevices(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, context); } /** * Gets a xml format representation for supported vpn devices. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3115,7 +3068,7 @@ public Mono supportedVpnDevicesAsync(String resourceGroupName, String vi /** * Gets a xml format representation for supported vpn devices. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -3132,7 +3085,7 @@ public Response supportedVpnDevicesWithResponse(String resourceGroupName /** * Gets a xml format representation for supported vpn devices. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -3162,6 +3115,10 @@ public Mono> listRadiusSecretsWithResp return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3170,15 +3127,11 @@ public Mono> listRadiusSecretsWithResp return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listRadiusSecrets(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listRadiusSecrets(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3201,6 +3154,10 @@ private Mono> listRadiusSecretsWithRes return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3209,15 +3166,11 @@ private Mono> listRadiusSecretsWithRes return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listRadiusSecrets(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.listRadiusSecrets(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, context); } /** @@ -3274,21 +3227,24 @@ public RadiusAuthServerListResultInner listRadiusSecrets(String resourceGroupNam * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from * BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 list of virtual network gateway routes along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getLearnedRoutesWithResponseAsync(String resourceGroupName, + private Mono> getLearnedRoutesSinglePageAsync(String resourceGroupName, String virtualNetworkGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3297,15 +3253,23 @@ public Mono>> getLearnedRoutesWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getLearnedRoutes(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + return FluxUtil.withContext(context -> { + Mono>> mono + = service + .getLearnedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, context) + .cache(); + return Mono.zip(mono, + this.client + .getLroResult(mono, this.client.getHttpPipeline(), + GatewayRouteListResult.class, GatewayRouteListResult.class, this.client.getContext()) + .last() + .flatMap(this.client::getLroFinalResultOrError)); + }) + .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), + res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3313,210 +3277,145 @@ public Mono>> getLearnedRoutesWithResponseAsync(String * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from * BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 list of virtual network gateway routes along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getLearnedRoutesWithResponseAsync(String resourceGroupName, + private Mono> getLearnedRoutesSinglePageAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkGatewayName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getLearnedRoutes(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from - * BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, GatewayRouteListResultInner> - beginGetLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName) { - Mono>> mono - = getLearnedRoutesWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), GatewayRouteListResultInner.class, GatewayRouteListResultInner.class, - this.client.getContext()); - } - - /** - * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from - * BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 PollerFlux} for polling of list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, GatewayRouteListResultInner> - beginGetLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = getLearnedRoutesWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), GatewayRouteListResultInner.class, GatewayRouteListResultInner.class, - context); - } - - /** - * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from - * BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GatewayRouteListResultInner> - beginGetLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName) { - return this.beginGetLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName).getSyncPoller(); - } - - /** - * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from - * BGP peers. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GatewayRouteListResultInner> - beginGetLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - return this.beginGetLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, context).getSyncPoller(); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkGatewayName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + Mono>> mono + = service + .getLearnedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, context) + .cache(); + return Mono + .zip(mono, + this.client + .getLroResult(mono, this.client.getHttpPipeline(), + GatewayRouteListResult.class, GatewayRouteListResult.class, context) + .last() + .flatMap(this.client::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), null, null)); } /** * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from * BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 list of virtual network gateway routes on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getLearnedRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName) { - return beginGetLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName).last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>(() -> getLearnedRoutesSinglePageAsync(resourceGroupName, virtualNetworkGatewayName)); } /** * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from * BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 list of virtual network gateway routes on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getLearnedRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - return beginGetLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>( + () -> getLearnedRoutesSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, context)); } /** * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from * BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 list of virtual network gateway routes. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public GatewayRouteListResultInner getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName) { - return getLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getLearnedRoutes(String resourceGroupName, + String virtualNetworkGatewayName) { + return new PagedIterable<>(getLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName)); } /** * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from * BGP peers. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 list of virtual network gateway routes. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public GatewayRouteListResultInner getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - return getLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); + return new PagedIterable<>(getLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, context)); } /** * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer. * @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 list of virtual network gateway routes along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getAdvertisedRoutesWithResponseAsync(String resourceGroupName, + private Mono> getAdvertisedRoutesSinglePageAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3528,38 +3427,49 @@ public Mono>> getAdvertisedRoutesWithResponseAsync(Str if (peer == null) { return Mono.error(new IllegalArgumentException("Parameter peer is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getAdvertisedRoutes(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, peer, apiVersion, this.client.getSubscriptionId(), accept, context)) + return FluxUtil.withContext(context -> { + Mono>> mono + = service + .getAdvertisedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, peer, accept, context) + .cache(); + return Mono.zip(mono, + this.client + .getLroResult(mono, this.client.getHttpPipeline(), + GatewayRouteListResult.class, GatewayRouteListResult.class, this.client.getContext()) + .last() + .flatMap(this.client::getLroFinalResultOrError)); + }) + .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), + res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer. * @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 list of virtual network gateway routes along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getAdvertisedRoutesWithResponseAsync(String resourceGroupName, + private Mono> getAdvertisedRoutesSinglePageAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3571,181 +3481,109 @@ private Mono>> getAdvertisedRoutesWithResponseAsync(St if (peer == null) { return Mono.error(new IllegalArgumentException("Parameter peer is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getAdvertisedRoutes(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - peer, apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer. - * @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 list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, GatewayRouteListResultInner> - beginGetAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { - Mono>> mono - = getAdvertisedRoutesWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), GatewayRouteListResultInner.class, GatewayRouteListResultInner.class, - this.client.getContext()); - } - - /** - * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer. - * @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 PollerFlux} for polling of list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, GatewayRouteListResultInner> - beginGetAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, - Context context) { - context = this.client.mergeContext(context); Mono>> mono - = getAdvertisedRoutesWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), GatewayRouteListResultInner.class, GatewayRouteListResultInner.class, - context); - } - - /** - * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer. - * @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 list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GatewayRouteListResultInner> - beginGetAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer) { - return this.beginGetAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer).getSyncPoller(); - } - - /** - * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param peer The IP address of the peer. - * @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 list of virtual network gateway routes. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GatewayRouteListResultInner> beginGetAdvertisedRoutes( - String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { - return this.beginGetAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer, context) - .getSyncPoller(); + = service + .getAdvertisedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, peer, accept, context) + .cache(); + return Mono + .zip(mono, + this.client + .getLroResult(mono, this.client.getHttpPipeline(), + GatewayRouteListResult.class, GatewayRouteListResult.class, context) + .last() + .flatMap(this.client::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), null, null)); } /** * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer. * @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 list of virtual network gateway routes on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAdvertisedRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { - return beginGetAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer).last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>( + () -> getAdvertisedRoutesSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, peer)); } /** * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer. * @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 list of virtual network gateway routes on successful completion of {@link Mono}. + * @return the paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getAdvertisedRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { - return beginGetAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer, context).last() - .flatMap(this.client::getLroFinalResultOrError); + return new PagedFlux<>( + () -> getAdvertisedRoutesSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, peer, context)); } /** * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer. * @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 list of virtual network gateway routes. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public GatewayRouteListResultInner getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, - String peer) { - return getAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getAdvertisedRoutes(String resourceGroupName, + String virtualNetworkGatewayName, String peer) { + return new PagedIterable<>(getAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer)); } /** * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer. * @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 list of virtual network gateway routes. + * @return the paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public GatewayRouteListResultInner getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, - String peer, Context context) { - return getAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getAdvertisedRoutes(String resourceGroupName, + String virtualNetworkGatewayName, String peer, Context context) { + return new PagedIterable<>( + getAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer, context)); } /** * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> getResiliencyInformationWithResponseAsync(String resourceGroupName, @@ -3754,6 +3592,10 @@ public Mono>> getResiliencyInformationWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3762,15 +3604,11 @@ public Mono>> getResiliencyInformationWithResponseAsyn return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getResiliencyInformation(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, attemptRefresh, apiVersion, this.client.getSubscriptionId(), accept, + .withContext(context -> service.getResiliencyInformation(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, attemptRefresh, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3779,14 +3617,14 @@ public Mono>> getResiliencyInformationWithResponseAsyn * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> getResiliencyInformationWithResponseAsync(String resourceGroupName, @@ -3795,6 +3633,10 @@ private Mono>> getResiliencyInformationWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -3803,28 +3645,24 @@ private Mono>> getResiliencyInformationWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getResiliencyInformation(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - attemptRefresh, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getResiliencyInformation(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, attemptRefresh, accept, context); } /** * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, GatewayResiliencyInformationInner> @@ -3841,12 +3679,12 @@ private Mono>> getResiliencyInformationWithResponseAsy * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Resiliency Information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, GatewayResiliencyInformationInner> @@ -3863,14 +3701,14 @@ private Mono>> getResiliencyInformationWithResponseAsy * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 PollerFlux} for polling of gateway Resiliency Information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, GatewayResiliencyInformationInner> @@ -3888,12 +3726,12 @@ private Mono>> getResiliencyInformationWithResponseAsy * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Resiliency Information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, GatewayResiliencyInformationInner> @@ -3907,14 +3745,14 @@ private Mono>> getResiliencyInformationWithResponseAsy * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, GatewayResiliencyInformationInner> @@ -3929,13 +3767,13 @@ private Mono>> getResiliencyInformationWithResponseAsy * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getResiliencyInformationAsync(String resourceGroupName, @@ -3948,12 +3786,12 @@ public Mono getResiliencyInformationAsync(Str * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Resiliency Information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getResiliencyInformationAsync(String resourceGroupName, @@ -3967,14 +3805,14 @@ public Mono getResiliencyInformationAsync(Str * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getResiliencyInformationAsync(String resourceGroupName, @@ -3988,12 +3826,12 @@ private Mono getResiliencyInformationAsync(St * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Resiliency Information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public GatewayResiliencyInformationInner getResiliencyInformation(String resourceGroupName, @@ -4006,14 +3844,14 @@ public GatewayResiliencyInformationInner getResiliencyInformation(String resourc * This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current * resiliency score and recommendations to further improve the score. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Resiliency Information for the gateway. * @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 gateway Resiliency Information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public GatewayResiliencyInformationInner getResiliencyInformation(String resourceGroupName, @@ -4025,13 +3863,13 @@ public GatewayResiliencyInformationInner getResiliencyInformation(String resourc /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> getRoutesInformationWithResponseAsync(String resourceGroupName, @@ -4040,6 +3878,10 @@ public Mono>> getRoutesInformationWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -4048,15 +3890,11 @@ public Mono>> getRoutesInformationWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getRoutesInformation(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, attemptRefresh, apiVersion, this.client.getSubscriptionId(), accept, + .withContext(context -> service.getRoutesInformation(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, attemptRefresh, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -4064,14 +3902,14 @@ public Mono>> getRoutesInformationWithResponseAsync(St /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> getRoutesInformationWithResponseAsync(String resourceGroupName, @@ -4080,6 +3918,10 @@ private Mono>> getRoutesInformationWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -4088,27 +3930,23 @@ private Mono>> getRoutesInformationWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getRoutesInformation(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - attemptRefresh, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getRoutesInformation(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, attemptRefresh, accept, context); } /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, GatewayRouteSetsInformationInner> @@ -4124,12 +3962,12 @@ private Mono>> getRoutesInformationWithResponseAsync(S /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Route Sets Information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, GatewayRouteSetsInformationInner> @@ -4145,14 +3983,14 @@ private Mono>> getRoutesInformationWithResponseAsync(S /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 PollerFlux} for polling of gateway Route Sets Information. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, GatewayRouteSetsInformationInner> @@ -4169,12 +4007,12 @@ private Mono>> getRoutesInformationWithResponseAsync(S /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Route Sets Information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, GatewayRouteSetsInformationInner> @@ -4187,14 +4025,14 @@ private Mono>> getRoutesInformationWithResponseAsync(S /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, GatewayRouteSetsInformationInner> @@ -4208,13 +4046,13 @@ private Mono>> getRoutesInformationWithResponseAsync(S /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getRoutesInformationAsync(String resourceGroupName, @@ -4226,12 +4064,12 @@ public Mono getRoutesInformationAsync(String r /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Route Sets Information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getRoutesInformationAsync(String resourceGroupName, @@ -4244,14 +4082,14 @@ public Mono getRoutesInformationAsync(String r /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getRoutesInformationAsync(String resourceGroupName, @@ -4264,12 +4102,12 @@ private Mono getRoutesInformationAsync(String /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 gateway Route Sets Information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public GatewayRouteSetsInformationInner getRoutesInformation(String resourceGroupName, @@ -4281,14 +4119,14 @@ public GatewayRouteSetsInformationInner getRoutesInformation(String resourceGrou /** * This operation retrieves the route set information for an Express Route Gateway based on their resiliency. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param attemptRefresh Attempt to recalculate the Route Sets Information for the gateway. * @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 gateway Route Sets Information. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public GatewayRouteSetsInformationInner getRoutesInformation(String resourceGroupName, @@ -4300,15 +4138,14 @@ public GatewayRouteSetsInformationInner getRoutesInformation(String resourceGrou * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. * @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 an IPSec parameters for a virtual network gateway P2S connection along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> setVpnclientIpsecParametersWithResponseAsync(String resourceGroupName, @@ -4317,6 +4154,10 @@ public Mono>> setVpnclientIpsecParametersWithResponseA return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -4325,10 +4166,6 @@ public Mono>> setVpnclientIpsecParametersWithResponseA return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (vpnclientIpsecParams == null) { return Mono .error(new IllegalArgumentException("Parameter vpnclientIpsecParams is required and cannot be null.")); @@ -4336,11 +4173,12 @@ public Mono>> setVpnclientIpsecParametersWithResponseA vpnclientIpsecParams.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.setVpnclientIpsecParameters(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), vpnclientIpsecParams, accept, - context)) + .withContext(context -> service.setVpnclientIpsecParameters(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, accept, + vpnclientIpsecParams, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -4348,7 +4186,7 @@ public Mono>> setVpnclientIpsecParametersWithResponseA * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. @@ -4356,8 +4194,7 @@ public Mono>> setVpnclientIpsecParametersWithResponseA * @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 an IPSec parameters for a virtual network gateway P2S connection along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> setVpnclientIpsecParametersWithResponseAsync(String resourceGroupName, @@ -4366,6 +4203,10 @@ private Mono>> setVpnclientIpsecParametersWithResponse return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -4374,10 +4215,6 @@ private Mono>> setVpnclientIpsecParametersWithResponse return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (vpnclientIpsecParams == null) { return Mono .error(new IllegalArgumentException("Parameter vpnclientIpsecParams is required and cannot be null.")); @@ -4385,25 +4222,26 @@ private Mono>> setVpnclientIpsecParametersWithResponse vpnclientIpsecParams.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.setVpnclientIpsecParameters(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), vpnclientIpsecParams, accept, - context); + return service.setVpnclientIpsecParameters(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, accept, + vpnclientIpsecParams, context); } /** * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. * @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 an IPSec parameters for a virtual network gateway P2S connection. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, VpnClientIPsecParametersInner> @@ -4420,7 +4258,7 @@ private Mono>> setVpnclientIpsecParametersWithResponse * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. @@ -4428,7 +4266,7 @@ private Mono>> setVpnclientIpsecParametersWithResponse * @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 an IPSec parameters for a virtual network gateway P2S connection. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, VpnClientIPsecParametersInner> @@ -4446,14 +4284,14 @@ private Mono>> setVpnclientIpsecParametersWithResponse * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. * @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 an IPSec parameters for a virtual network gateway P2S connection. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, VpnClientIPsecParametersInner> @@ -4468,7 +4306,7 @@ private Mono>> setVpnclientIpsecParametersWithResponse * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. @@ -4476,7 +4314,7 @@ private Mono>> setVpnclientIpsecParametersWithResponse * @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 an IPSec parameters for a virtual network gateway P2S connection. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, VpnClientIPsecParametersInner> @@ -4492,15 +4330,14 @@ private Mono>> setVpnclientIpsecParametersWithResponse * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. * @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 an IPSec parameters for a virtual network gateway P2S connection on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono setVpnclientIpsecParametersAsync(String resourceGroupName, @@ -4514,7 +4351,7 @@ public Mono setVpnclientIpsecParametersAsync(Stri * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. @@ -4522,8 +4359,7 @@ public Mono setVpnclientIpsecParametersAsync(Stri * @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 an IPSec parameters for a virtual network gateway P2S connection on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono setVpnclientIpsecParametersAsync(String resourceGroupName, @@ -4536,14 +4372,14 @@ private Mono setVpnclientIpsecParametersAsync(Str * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. * @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 an IPSec parameters for a virtual network gateway P2S connection. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resourceGroupName, @@ -4556,7 +4392,7 @@ public VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resource * The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network * gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param vpnclientIpsecParams Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network * Gateway P2S client operation through Network resource provider. @@ -4564,7 +4400,7 @@ public VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resource * @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 an IPSec parameters for a virtual network gateway P2S connection. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resourceGroupName, @@ -4577,8 +4413,8 @@ public VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resource * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -4592,6 +4428,10 @@ public Mono>> getVpnclientIpsecParametersWithResponseA return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -4600,15 +4440,11 @@ public Mono>> getVpnclientIpsecParametersWithResponseA return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getVpnclientIpsecParameters(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getVpnclientIpsecParameters(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -4616,8 +4452,8 @@ public Mono>> getVpnclientIpsecParametersWithResponseA * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -4632,6 +4468,10 @@ private Mono>> getVpnclientIpsecParametersWithResponse return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -4640,23 +4480,19 @@ private Mono>> getVpnclientIpsecParametersWithResponse return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getVpnclientIpsecParameters(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getVpnclientIpsecParameters(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, context); } /** * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -4676,8 +4512,8 @@ private Mono>> getVpnclientIpsecParametersWithResponse * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -4700,8 +4536,8 @@ private Mono>> getVpnclientIpsecParametersWithResponse * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -4717,8 +4553,8 @@ private Mono>> getVpnclientIpsecParametersWithResponse * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -4736,8 +4572,8 @@ private Mono>> getVpnclientIpsecParametersWithResponse * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -4755,8 +4591,8 @@ public Mono getVpnclientIpsecParametersAsync(Stri * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -4775,8 +4611,8 @@ private Mono getVpnclientIpsecParametersAsync(Str * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -4792,8 +4628,8 @@ public VpnClientIPsecParametersInner getVpnclientIpsecParameters(String resource * The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client * of virtual network gateway in the specified resource group through Network resource provider. * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The virtual network gateway name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -4806,160 +4642,10 @@ public VpnClientIPsecParametersInner getVpnclientIpsecParameters(String resource return getVpnclientIpsecParametersAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } - /** - * Gets a xml format representation for vpn device configuration script. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection for which the - * configuration script is generated. - * @param parameters Parameters supplied to the generate vpn device script 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 a xml format representation for vpn device configuration script along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> vpnDeviceConfigurationScriptWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkGatewayConnectionName == null) { - return Mono.error(new IllegalArgumentException( - "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.vpnDeviceConfigurationScript(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Gets a xml format representation for vpn device configuration script. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection for which the - * configuration script is generated. - * @param parameters Parameters supplied to the generate vpn device script operation. - * @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 a xml format representation for vpn device configuration script along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> vpnDeviceConfigurationScriptWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkGatewayConnectionName == null) { - return Mono.error(new IllegalArgumentException( - "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.vpnDeviceConfigurationScript(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, - context); - } - - /** - * Gets a xml format representation for vpn device configuration script. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection for which the - * configuration script is generated. - * @param parameters Parameters supplied to the generate vpn device script 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 a xml format representation for vpn device configuration script on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono vpnDeviceConfigurationScriptAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters) { - return vpnDeviceConfigurationScriptWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, - parameters).flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Gets a xml format representation for vpn device configuration script. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection for which the - * configuration script is generated. - * @param parameters Parameters supplied to the generate vpn device script operation. - * @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 a xml format representation for vpn device configuration script along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response vpnDeviceConfigurationScriptWithResponse(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, Context context) { - return vpnDeviceConfigurationScriptWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, - parameters, context).block(); - } - - /** - * Gets a xml format representation for vpn device configuration script. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection for which the - * configuration script is generated. - * @param parameters Parameters supplied to the generate vpn device script 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 a xml format representation for vpn device configuration script. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public String vpnDeviceConfigurationScript(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnDeviceScriptParameters parameters) { - return vpnDeviceConfigurationScriptWithResponse(resourceGroupName, virtualNetworkGatewayConnectionName, - parameters, Context.NONE).getValue(); - } - /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -4974,6 +4660,10 @@ public Mono>> startPacketCaptureWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -4982,25 +4672,20 @@ public Mono>> startPacketCaptureWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters != null) { parameters.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.startPacketCapture(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + return FluxUtil.withContext(context -> service.startPacketCapture(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @param context The context to associate with this operation. @@ -5016,6 +4701,10 @@ private Mono>> startPacketCaptureWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -5024,24 +4713,20 @@ private Mono>> startPacketCaptureWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters != null) { parameters.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.startPacketCapture(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.startPacketCapture(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, parameters, context); } /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5050,18 +4735,20 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters) { + public PollerFlux, StartPacketCaptureFinalResult> + beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StartPacketCaptureFinalResult.class, StartPacketCaptureFinalResult.class, this.client.getContext()); } /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5069,19 +4756,20 @@ public PollerFlux, String> beginStartPacketCaptureAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName) { + public PollerFlux, StartPacketCaptureFinalResult> + beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StartPacketCaptureFinalResult.class, StartPacketCaptureFinalResult.class, this.client.getContext()); } /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @param context The context to associate with this operation. @@ -5091,19 +4779,21 @@ public PollerFlux, String> beginStartPacketCaptureAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { + private PollerFlux, StartPacketCaptureFinalResult> + beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnPacketCaptureStartParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StartPacketCaptureFinalResult.class, StartPacketCaptureFinalResult.class, context); } /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5111,8 +4801,8 @@ private PollerFlux, String> beginStartPacketCaptureAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, - String virtualNetworkGatewayName) { + public SyncPoller, StartPacketCaptureFinalResult> + beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); @@ -5121,7 +4811,7 @@ public SyncPoller, String> beginStartPacketCapture(String res /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @param context The context to associate with this operation. @@ -5131,8 +4821,9 @@ public SyncPoller, String> beginStartPacketCapture(String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { + public SyncPoller, StartPacketCaptureFinalResult> beginStartPacketCapture( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, + Context context) { return this.beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); } @@ -5140,7 +4831,7 @@ public SyncPoller, String> beginStartPacketCapture(String res /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5149,8 +4840,8 @@ public SyncPoller, String> beginStartPacketCapture(String res * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnPacketCaptureStartParameters parameters) { + public Mono startPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -5158,7 +4849,7 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String vir /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5166,7 +4857,8 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String vir * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName) { + public Mono startPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -5175,7 +4867,7 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String vir /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @param context The context to associate with this operation. @@ -5185,8 +4877,8 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String vir * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnPacketCaptureStartParameters parameters, Context context) { + private Mono startPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -5194,7 +4886,7 @@ private Mono startPacketCaptureAsync(String resourceGroupName, String vi /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -5202,7 +4894,8 @@ private Mono startPacketCaptureAsync(String resourceGroupName, String vi * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName) { + public StartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, + String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -5210,7 +4903,7 @@ public String startPacketCapture(String resourceGroupName, String virtualNetwork /** * Starts packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to start packet capture on gateway. * @param context The context to associate with this operation. @@ -5220,7 +4913,7 @@ public String startPacketCapture(String resourceGroupName, String virtualNetwork * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + public StartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -5228,7 +4921,7 @@ public String startPacketCapture(String resourceGroupName, String virtualNetwork /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5243,6 +4936,10 @@ public Mono>> stopPacketCaptureWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -5251,27 +4948,25 @@ public Mono>> stopPacketCaptureWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.stopPacketCapture(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.stopPacketCapture(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @param context The context to associate with this operation. @@ -5287,6 +4982,10 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -5295,26 +4994,23 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.stopPacketCapture(this.client.getEndpoint(), resourceGroupName, virtualNetworkGatewayName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.stopPacketCapture(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, contentType, accept, parameters, context); } /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5323,18 +5019,20 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { + public PollerFlux, StopPacketCaptureFinalResult> + beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StopPacketCaptureFinalResult.class, StopPacketCaptureFinalResult.class, this.client.getContext()); } /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @param context The context to associate with this operation. @@ -5344,19 +5042,21 @@ public PollerFlux, String> beginStopPacketCaptureAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { + private PollerFlux, StopPacketCaptureFinalResult> + beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnPacketCaptureStopParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StopPacketCaptureFinalResult.class, StopPacketCaptureFinalResult.class, context); } /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5365,8 +5065,8 @@ private PollerFlux, String> beginStopPacketCaptureAsync(Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { + public SyncPoller, StopPacketCaptureFinalResult> beginStopPacketCapture( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { return this.beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); } @@ -5374,7 +5074,7 @@ public SyncPoller, String> beginStopPacketCapture(String reso /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @param context The context to associate with this operation. @@ -5384,8 +5084,9 @@ public SyncPoller, String> beginStopPacketCapture(String reso * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { + public SyncPoller, StopPacketCaptureFinalResult> beginStopPacketCapture( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, + Context context) { return this.beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); } @@ -5393,7 +5094,7 @@ public SyncPoller, String> beginStopPacketCapture(String reso /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5402,8 +5103,8 @@ public SyncPoller, String> beginStopPacketCapture(String reso * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnPacketCaptureStopParameters parameters) { + public Mono stopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -5411,7 +5112,7 @@ public Mono stopPacketCaptureAsync(String resourceGroupName, String virt /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @param context The context to associate with this operation. @@ -5421,8 +5122,8 @@ public Mono stopPacketCaptureAsync(String resourceGroupName, String virt * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnPacketCaptureStopParameters parameters, Context context) { + private Mono stopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -5430,7 +5131,7 @@ private Mono stopPacketCaptureAsync(String resourceGroupName, String vir /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -5439,7 +5140,7 @@ private Mono stopPacketCaptureAsync(String resourceGroupName, String vir * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + public StopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -5447,7 +5148,7 @@ public String stopPacketCapture(String resourceGroupName, String virtualNetworkG /** * Stops packet capture on virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param parameters Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. * @param context The context to associate with this operation. @@ -5457,7 +5158,7 @@ public String stopPacketCapture(String resourceGroupName, String virtualNetworkG * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + public StopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -5466,14 +5167,14 @@ public String stopPacketCapture(String resourceGroupName, String virtualNetworkG * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. * @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 gateway Failover All Test Details along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> getFailoverAllTestDetailsWithResponseAsync(String resourceGroupName, @@ -5482,6 +5183,10 @@ public Mono>> getFailoverAllTestDetailsWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -5493,16 +5198,12 @@ public Mono>> getFailoverAllTestDetailsWithResponseAsy if (type == null) { return Mono.error(new IllegalArgumentException("Parameter type is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getFailoverAllTestDetails(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, type, fetchLatest, apiVersion, this.client.getSubscriptionId(), accept, - context)) + .withContext(context -> service.getFailoverAllTestDetails(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, type, fetchLatest, + accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -5510,7 +5211,7 @@ public Mono>> getFailoverAllTestDetailsWithResponseAsy * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. @@ -5518,7 +5219,7 @@ public Mono>> getFailoverAllTestDetailsWithResponseAsy * @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 gateway Failover All Test Details along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> getFailoverAllTestDetailsWithResponseAsync(String resourceGroupName, @@ -5527,6 +5228,10 @@ private Mono>> getFailoverAllTestDetailsWithResponseAs return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -5538,29 +5243,25 @@ private Mono>> getFailoverAllTestDetailsWithResponseAs if (type == null) { return Mono.error(new IllegalArgumentException("Parameter type is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getFailoverAllTestDetails(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, type, fetchLatest, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.getFailoverAllTestDetails(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, type, fetchLatest, accept, context); } /** * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. * @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 gateway Failover All Test Details. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public @@ -5580,7 +5281,7 @@ private Mono>> getFailoverAllTestDetailsWithResponseAs * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. @@ -5588,7 +5289,7 @@ private Mono>> getFailoverAllTestDetailsWithResponseAs * @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 gateway Failover All Test Details. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private @@ -5609,14 +5310,14 @@ private Mono>> getFailoverAllTestDetailsWithResponseAs * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. * @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 gateway Failover All Test Details. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public @@ -5631,7 +5332,7 @@ private Mono>> getFailoverAllTestDetailsWithResponseAs * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. @@ -5639,7 +5340,7 @@ private Mono>> getFailoverAllTestDetailsWithResponseAs * @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 gateway Failover All Test Details. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public @@ -5656,14 +5357,14 @@ private Mono>> getFailoverAllTestDetailsWithResponseAs * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. * @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 gateway Failover All Test Details on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getFailoverAllTestDetailsAsync(String resourceGroupName, @@ -5677,7 +5378,7 @@ public Mono> getFailoverAllTestDetail * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. @@ -5685,7 +5386,7 @@ public Mono> getFailoverAllTestDetail * @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 gateway Failover All Test Details on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getFailoverAllTestDetailsAsync(String resourceGroupName, @@ -5698,14 +5399,14 @@ private Mono> getFailoverAllTestDetai * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. * @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 gateway Failover All Test Details. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public List getFailoverAllTestDetails(String resourceGroupName, @@ -5717,7 +5418,7 @@ public List getFailoverAllTestDetails(Stri * This operation retrieves the details of all the failover tests performed on the gateway for different peering * locations. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param type The type of failover test. * @param fetchLatest Fetch only the latest tests for each peering location. @@ -5725,7 +5426,7 @@ public List getFailoverAllTestDetails(Stri * @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 gateway Failover All Test Details. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public List getFailoverAllTestDetails(String resourceGroupName, @@ -5738,15 +5439,14 @@ public List getFailoverAllTestDetails(Stri * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. * @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 gateway Failover Single Test Details Object along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> getFailoverSingleTestDetailsWithResponseAsync(String resourceGroupName, @@ -5755,6 +5455,10 @@ public Mono>> getFailoverSingleTestDetailsWithResponse return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -5770,16 +5474,12 @@ public Mono>> getFailoverSingleTestDetailsWithResponse if (failoverTestId == null) { return Mono.error(new IllegalArgumentException("Parameter failoverTestId is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getFailoverSingleTestDetails(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, peeringLocation, failoverTestId, apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.getFailoverSingleTestDetails(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, peeringLocation, + failoverTestId, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -5787,7 +5487,7 @@ public Mono>> getFailoverSingleTestDetailsWithResponse * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. @@ -5795,8 +5495,7 @@ public Mono>> getFailoverSingleTestDetailsWithResponse * @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 gateway Failover Single Test Details Object along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> getFailoverSingleTestDetailsWithResponseAsync(String resourceGroupName, @@ -5805,6 +5504,10 @@ private Mono>> getFailoverSingleTestDetailsWithRespons return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -5820,30 +5523,26 @@ private Mono>> getFailoverSingleTestDetailsWithRespons if (failoverTestId == null) { return Mono.error(new IllegalArgumentException("Parameter failoverTestId is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getFailoverSingleTestDetails(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, peeringLocation, failoverTestId, apiVersion, this.client.getSubscriptionId(), - accept, context); + return service.getFailoverSingleTestDetails(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, peeringLocation, + failoverTestId, accept, context); } /** * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. * @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 gateway Failover Single Test Details Object. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public @@ -5864,7 +5563,7 @@ private Mono>> getFailoverSingleTestDetailsWithRespons * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. @@ -5872,7 +5571,7 @@ private Mono>> getFailoverSingleTestDetailsWithRespons * @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 gateway Failover Single Test Details Object. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private @@ -5894,14 +5593,14 @@ private Mono>> getFailoverSingleTestDetailsWithRespons * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. * @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 gateway Failover Single Test Details Object. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public @@ -5918,7 +5617,7 @@ private Mono>> getFailoverSingleTestDetailsWithRespons * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. @@ -5926,7 +5625,7 @@ private Mono>> getFailoverSingleTestDetailsWithRespons * @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 gateway Failover Single Test Details Object. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public @@ -5943,14 +5642,14 @@ private Mono>> getFailoverSingleTestDetailsWithRespons * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. * @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 gateway Failover Single Test Details Object on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getFailoverSingleTestDetailsAsync( @@ -5963,7 +5662,7 @@ public Mono> getFailoverSingleT * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. @@ -5971,7 +5670,7 @@ public Mono> getFailoverSingleT * @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 gateway Failover Single Test Details Object on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getFailoverSingleTestDetailsAsync( @@ -5985,14 +5684,14 @@ private Mono> getFailoverSingle * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. * @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 gateway Failover Single Test Details Object. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public List getFailoverSingleTestDetails(String resourceGroupName, @@ -6005,7 +5704,7 @@ public List getFailoverSingleTestDet * This operation retrieves the details of a particular failover test performed on the gateway based on the test * Guid. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param failoverTestId The unique Guid value which identifies the test. @@ -6013,7 +5712,7 @@ public List getFailoverSingleTestDet * @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 gateway Failover Single Test Details Object. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) public List getFailoverSingleTestDetails(String resourceGroupName, @@ -6025,7 +5724,7 @@ public List getFailoverSingleTestDet /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6040,6 +5739,10 @@ public Mono>> startExpressRouteSiteFailoverSimulationW return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -6052,23 +5755,19 @@ public Mono>> startExpressRouteSiteFailoverSimulationW return Mono .error(new IllegalArgumentException("Parameter peeringLocation is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.startExpressRouteSiteFailoverSimulation(this.client.getEndpoint(), - resourceGroupName, virtualNetworkGatewayName, peeringLocation, apiVersion, - this.client.getSubscriptionId(), accept, context)) + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, + peeringLocation, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param context The context to associate with this operation. @@ -6084,6 +5783,10 @@ private Mono>> startExpressRouteSiteFailoverSimulation return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -6096,21 +5799,18 @@ private Mono>> startExpressRouteSiteFailoverSimulation return Mono .error(new IllegalArgumentException("Parameter peeringLocation is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.startExpressRouteSiteFailoverSimulation(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, peeringLocation, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.startExpressRouteSiteFailoverSimulation(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, peeringLocation, accept, + context); } /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6119,18 +5819,22 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStartExpressRouteSiteFailoverSimulationAsync( - String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation) { + public + PollerFlux, StartExpressRouteSiteFailoverSimulationFinalResult> + beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation) { Mono>> mono = startExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, peeringLocation); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - this.client.getContext()); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), StartExpressRouteSiteFailoverSimulationFinalResult.class, + StartExpressRouteSiteFailoverSimulationFinalResult.class, this.client.getContext()); } /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param context The context to associate with this operation. @@ -6140,19 +5844,23 @@ public PollerFlux, String> beginStartExpressRouteSiteFailover * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginStartExpressRouteSiteFailoverSimulationAsync( - String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context) { + private + PollerFlux, StartExpressRouteSiteFailoverSimulationFinalResult> + beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation, Context context) { context = this.client.mergeContext(context); Mono>> mono = startExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, peeringLocation, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - context); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), StartExpressRouteSiteFailoverSimulationFinalResult.class, + StartExpressRouteSiteFailoverSimulationFinalResult.class, context); } /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6161,8 +5869,10 @@ private PollerFlux, String> beginStartExpressRouteSiteFailove * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation) { + public + SyncPoller, StartExpressRouteSiteFailoverSimulationFinalResult> + beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation) { return this .beginStartExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation) @@ -6172,7 +5882,7 @@ public SyncPoller, String> beginStartExpressRouteSiteFailover /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param context The context to associate with this operation. @@ -6182,8 +5892,10 @@ public SyncPoller, String> beginStartExpressRouteSiteFailover * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation, Context context) { + public + SyncPoller, StartExpressRouteSiteFailoverSimulationFinalResult> + beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation, Context context) { return this .beginStartExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation, context) @@ -6193,7 +5905,7 @@ public SyncPoller, String> beginStartExpressRouteSiteFailover /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6202,8 +5914,8 @@ public SyncPoller, String> beginStartExpressRouteSiteFailover * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation) { + public Mono startExpressRouteSiteFailoverSimulationAsync( + String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation) { return beginStartExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6211,7 +5923,7 @@ public Mono startExpressRouteSiteFailoverSimulationAsync(String resource /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param context The context to associate with this operation. @@ -6221,8 +5933,8 @@ public Mono startExpressRouteSiteFailoverSimulationAsync(String resource * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation, Context context) { + private Mono startExpressRouteSiteFailoverSimulationAsync( + String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context) { return beginStartExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation, context).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6230,7 +5942,7 @@ private Mono startExpressRouteSiteFailoverSimulationAsync(String resourc /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6239,8 +5951,8 @@ private Mono startExpressRouteSiteFailoverSimulationAsync(String resourc * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation) { + public StartExpressRouteSiteFailoverSimulationFinalResult startExpressRouteSiteFailoverSimulation( + String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation) { return startExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation).block(); } @@ -6248,7 +5960,7 @@ public String startExpressRouteSiteFailoverSimulation(String resourceGroupName, /** * This operation starts failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peeringLocation Peering location of the test. * @param context The context to associate with this operation. @@ -6258,8 +5970,8 @@ public String startExpressRouteSiteFailoverSimulation(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation, Context context) { + public StartExpressRouteSiteFailoverSimulationFinalResult startExpressRouteSiteFailoverSimulation( + String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context) { return startExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation, context).block(); } @@ -6267,7 +5979,7 @@ public String startExpressRouteSiteFailoverSimulation(String resourceGroupName, /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -6284,6 +5996,10 @@ public Mono>> stopExpressRouteSiteFailoverSimulationWi return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -6292,28 +6008,25 @@ public Mono>> stopExpressRouteSiteFailoverSimulationWi return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (stopParameters == null) { return Mono.error(new IllegalArgumentException("Parameter stopParameters is required and cannot be null.")); } else { stopParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.stopExpressRouteSiteFailoverSimulation(this.client.getEndpoint(), - resourceGroupName, virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), - stopParameters, accept, context)) + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, + accept, stopParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -6331,6 +6044,10 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -6339,26 +6056,24 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (stopParameters == null) { return Mono.error(new IllegalArgumentException("Parameter stopParameters is required and cannot be null.")); } else { stopParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.stopExpressRouteSiteFailoverSimulation(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), stopParameters, accept, context); + return service.stopExpressRouteSiteFailoverSimulation(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, accept, + stopParameters, context); } /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -6368,19 +6083,22 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStopExpressRouteSiteFailoverSimulationAsync( - String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters) { + public + PollerFlux, StopExpressRouteSiteFailoverSimulationFinalResult> + beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters) { Mono>> mono = stopExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, stopParameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - this.client.getContext()); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), StopExpressRouteSiteFailoverSimulationFinalResult.class, + StopExpressRouteSiteFailoverSimulationFinalResult.class, this.client.getContext()); } /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -6391,20 +6109,23 @@ public PollerFlux, String> beginStopExpressRouteSiteFailoverS * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginStopExpressRouteSiteFailoverSimulationAsync( - String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters, Context context) { + private + PollerFlux, StopExpressRouteSiteFailoverSimulationFinalResult> + beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, stopParameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - context); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), StopExpressRouteSiteFailoverSimulationFinalResult.class, + StopExpressRouteSiteFailoverSimulationFinalResult.class, context); } /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -6414,8 +6135,10 @@ private PollerFlux, String> beginStopExpressRouteSiteFailover * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters) { + public + SyncPoller, StopExpressRouteSiteFailoverSimulationFinalResult> + beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters) { return this .beginStopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters) @@ -6425,7 +6148,7 @@ public SyncPoller, String> beginStopExpressRouteSiteFailoverS /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -6436,8 +6159,10 @@ public SyncPoller, String> beginStopExpressRouteSiteFailoverS * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context) { + public + SyncPoller, StopExpressRouteSiteFailoverSimulationFinalResult> + beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters, Context context) { return this .beginStopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters, context) @@ -6447,7 +6172,7 @@ public SyncPoller, String> beginStopExpressRouteSiteFailoverS /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -6457,8 +6182,9 @@ public SyncPoller, String> beginStopExpressRouteSiteFailoverS * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters) { + public Mono stopExpressRouteSiteFailoverSimulationAsync( + String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters) { return beginStopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6466,7 +6192,7 @@ public Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceG /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -6477,8 +6203,9 @@ public Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceG * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context) { + private Mono stopExpressRouteSiteFailoverSimulationAsync( + String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters, Context context) { return beginStopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters, context).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6486,7 +6213,7 @@ private Mono stopExpressRouteSiteFailoverSimulationAsync(String resource /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -6496,7 +6223,8 @@ private Mono stopExpressRouteSiteFailoverSimulationAsync(String resource * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + public StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFailoverSimulation( + String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters) { return stopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters) .block(); @@ -6505,7 +6233,7 @@ public String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, S /** * This operation stops failover simulation on the gateway for the specified peering location. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param stopParameters Virtual network gateway stop simulation parameters supplied to stop failover simulation on * gateway. @@ -6516,7 +6244,8 @@ public String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, S * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + public StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFailoverSimulation( + String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context) { return stopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters, context).block(); @@ -6526,21 +6255,25 @@ public String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, S * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified * resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group along with {@link Response} on successful completion of {@link Mono}. + * specified resource group along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getVpnclientConnectionHealthWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName) { + private Mono> + getVpnclientConnectionHealthSinglePageAsync(String resourceGroupName, String virtualNetworkGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -6549,15 +6282,24 @@ public Mono>> getVpnclientConnectionHealthWithResponse return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getVpnclientConnectionHealth(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context)) + return FluxUtil.withContext(context -> { + Mono>> mono = service + .getVpnclientConnectionHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, context) + .cache(); + return Mono.zip(mono, + this.client + .getLroResult( + mono, this.client.getHttpPipeline(), VpnClientConnectionHealthDetailListResult.class, + VpnClientConnectionHealthDetailListResult.class, this.client.getContext()) + .last() + .flatMap(this.client::getLroFinalResultOrError)); + }) + .>map( + res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -6565,22 +6307,26 @@ public Mono>> getVpnclientConnectionHealthWithResponse * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified * resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group along with {@link Response} on successful completion of {@link Mono}. + * specified resource group along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getVpnclientConnectionHealthWithResponseAsync(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { + private Mono> getVpnclientConnectionHealthSinglePageAsync( + String resourceGroupName, String virtualNetworkGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -6589,189 +6335,106 @@ private Mono>> getVpnclientConnectionHealthWithRespons return Mono.error( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getVpnclientConnectionHealth(this.client.getEndpoint(), resourceGroupName, - virtualNetworkGatewayName, apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified - * resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 vPN client connection health detail per P2S client connection of - * the virtual network gateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - PollerFlux, VpnClientConnectionHealthDetailListResultInner> - beginGetVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName) { - Mono>> mono - = getVpnclientConnectionHealthWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), VpnClientConnectionHealthDetailListResultInner.class, - VpnClientConnectionHealthDetailListResultInner.class, this.client.getContext()); - } - - /** - * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified - * resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 PollerFlux} for polling of vPN client connection health detail per P2S client connection of - * the virtual network gateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private - PollerFlux, VpnClientConnectionHealthDetailListResultInner> - beginGetVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = getVpnclientConnectionHealthWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), VpnClientConnectionHealthDetailListResultInner.class, - VpnClientConnectionHealthDetailListResultInner.class, context); - } - - /** - * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified - * resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 vPN client connection health detail per P2S client connection of - * the virtual network gateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, VpnClientConnectionHealthDetailListResultInner> - beginGetVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName) { - return this.beginGetVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName) - .getSyncPoller(); - } - - /** - * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified - * resource group. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @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 vPN client connection health detail per P2S client connection of - * the virtual network gateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, VpnClientConnectionHealthDetailListResultInner> - beginGetVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - return this.beginGetVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName, context) - .getSyncPoller(); + Mono>> mono = service + .getVpnclientConnectionHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, context) + .cache(); + return Mono + .zip(mono, + this.client + .getLroResult( + mono, this.client.getHttpPipeline(), VpnClientConnectionHealthDetailListResult.class, + VpnClientConnectionHealthDetailListResult.class, context) + .last() + .flatMap(this.client::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), null, null)); } /** * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified * resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group on successful completion of {@link Mono}. + * specified resource group as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono - getVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName) { - return beginGetVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getVpnclientConnectionHealthAsync(String resourceGroupName, + String virtualNetworkGatewayName) { + return new PagedFlux<>( + () -> getVpnclientConnectionHealthSinglePageAsync(resourceGroupName, virtualNetworkGatewayName)); } /** * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified * resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group on successful completion of {@link Mono}. + * specified resource group as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono - getVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - return beginGetVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getVpnclientConnectionHealthAsync(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { + return new PagedFlux<>( + () -> getVpnclientConnectionHealthSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, context)); } /** * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified * resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group. + * specified resource group as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnClientConnectionHealthDetailListResultInner getVpnclientConnectionHealth(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName) { - return getVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName).block(); + return new PagedIterable<>(getVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName)); } /** * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified * resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group. + * specified resource group as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnClientConnectionHealthDetailListResultInner getVpnclientConnectionHealth(String resourceGroupName, + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - return getVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); + return new PagedIterable<>( + getVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName, context)); } /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6804,18 +6467,18 @@ public Mono>> disconnectVirtualNetworkGatewayVpnConnec request.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; return FluxUtil .withContext(context -> service.disconnectVirtualNetworkGatewayVpnConnections(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, apiVersion, request, - accept, context)) + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, + request, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @param context The context to associate with this operation. @@ -6849,17 +6512,17 @@ private Mono>> disconnectVirtualNetworkGatewayVpnConne request.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.disconnectVirtualNetworkGatewayVpnConnections(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, apiVersion, request, accept, + return service.disconnectVirtualNetworkGatewayVpnConnections(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, request, context); } /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6868,18 +6531,22 @@ private Mono>> disconnectVirtualNetworkGatewayVpnConne * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync( - String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { + public + PollerFlux, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> + beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { Mono>> mono = disconnectVirtualNetworkGatewayVpnConnectionsWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, request); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.class, + DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.class, this.client.getContext()); } /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @param context The context to associate with this operation. @@ -6889,19 +6556,23 @@ public PollerFlux, Void> beginDisconnectVirtualNetworkGatewayVp * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync( - String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { + private + PollerFlux, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> + beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { context = this.client.mergeContext(context); Mono>> mono = disconnectVirtualNetworkGatewayVpnConnectionsWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, request, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.class, + DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.class, context); } /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6910,8 +6581,10 @@ private PollerFlux, Void> beginDisconnectVirtualNetworkGatewayV * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVpnConnections( - String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { + public + SyncPoller, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> + beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, + P2SVpnConnectionRequest request) { return this .beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request) @@ -6921,7 +6594,7 @@ public SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVp /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @param context The context to associate with this operation. @@ -6931,8 +6604,10 @@ public SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVp * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVpnConnections( - String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { + public + SyncPoller, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> + beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, + P2SVpnConnectionRequest request, Context context) { return this .beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request, context) @@ -6942,17 +6617,18 @@ public SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVp /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { + public Mono + disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, String virtualNetworkGatewayName, + P2SVpnConnectionRequest request) { return beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6960,18 +6636,19 @@ public Mono disconnectVirtualNetworkGatewayVpnConnectionsAsync(String reso /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @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 A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { + private Mono + disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, String virtualNetworkGatewayName, + P2SVpnConnectionRequest request, Context context) { return beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request, context).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6979,43 +6656,45 @@ private Mono disconnectVirtualNetworkGatewayVpnConnectionsAsync(String res /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void disconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { - disconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request) + public DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult disconnectVirtualNetworkGatewayVpnConnections( + String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { + return disconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request) .block(); } /** * Disconnect vpn connections of virtual network gateway in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param request The parameters are supplied to disconnect vpn connections. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void disconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { - disconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request, + public DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult disconnectVirtualNetworkGatewayVpnConnections( + String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { + return disconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request, context).block(); } /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -7049,19 +6728,19 @@ public Mono>> invokePrepareMigrationWithResponseAsync( migrationParams.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; return FluxUtil - .withContext( - context -> service.invokePrepareMigration(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, apiVersion, migrationParams, accept, context)) + .withContext(context -> service.invokePrepareMigration(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, contentType, + migrationParams, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @param context The context to associate with this operation. @@ -7096,17 +6775,17 @@ private Mono>> invokePrepareMigrationWithResponseAsync migrationParams.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.invokePrepareMigration(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, apiVersion, migrationParams, accept, context); + return service.invokePrepareMigration(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, contentType, migrationParams, context); } /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -7126,8 +6805,8 @@ public PollerFlux, Void> beginInvokePrepareMigrationAsync(Strin /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @param context The context to associate with this operation. @@ -7149,8 +6828,8 @@ private PollerFlux, Void> beginInvokePrepareMigrationAsync(Stri /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -7168,8 +6847,8 @@ public SyncPoller, Void> beginInvokePrepareMigration(String res /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @param context The context to associate with this operation. @@ -7189,8 +6868,8 @@ public SyncPoller, Void> beginInvokePrepareMigration(String res /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -7208,8 +6887,8 @@ public Mono invokePrepareMigrationAsync(String resourceGroupName, String v /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @param context The context to associate with this operation. @@ -7229,8 +6908,8 @@ private Mono invokePrepareMigrationAsync(String resourceGroupName, String /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -7246,8 +6925,8 @@ public void invokePrepareMigration(String resourceGroupName, String virtualNetwo /** * Trigger prepare migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param migrationParams Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network * resource provider. * @param context The context to associate with this operation. @@ -7264,8 +6943,8 @@ public void invokePrepareMigration(String resourceGroupName, String virtualNetwo /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7291,19 +6970,17 @@ public Mono>> invokeExecuteMigrationWithResponseAsync( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.invokeExecuteMigration(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, apiVersion, accept, context)) + .withContext(context -> service.invokeExecuteMigration(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7330,17 +7007,16 @@ private Mono>> invokeExecuteMigrationWithResponseAsync new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.invokeExecuteMigration(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, apiVersion, accept, context); + return service.invokeExecuteMigration(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, context); } /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7358,8 +7034,8 @@ public PollerFlux, Void> beginInvokeExecuteMigrationAsync(Strin /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7379,8 +7055,8 @@ private PollerFlux, Void> beginInvokeExecuteMigrationAsync(Stri /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7395,8 +7071,8 @@ public SyncPoller, Void> beginInvokeExecuteMigration(String res /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7413,8 +7089,8 @@ public SyncPoller, Void> beginInvokeExecuteMigration(String res /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7429,8 +7105,8 @@ public Mono invokeExecuteMigrationAsync(String resourceGroupName, String v /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7447,8 +7123,8 @@ private Mono invokeExecuteMigrationAsync(String resourceGroupName, String /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7461,8 +7137,8 @@ public void invokeExecuteMigration(String resourceGroupName, String virtualNetwo /** * Trigger execute migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7476,8 +7152,8 @@ public void invokeExecuteMigration(String resourceGroupName, String virtualNetwo /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7503,19 +7179,17 @@ public Mono>> invokeCommitMigrationWithResponseAsync(S new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.invokeCommitMigration(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, apiVersion, accept, context)) + .withContext(context -> service.invokeCommitMigration(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7542,17 +7216,16 @@ private Mono>> invokeCommitMigrationWithResponseAsync( new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.invokeCommitMigration(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, apiVersion, accept, context); + return service.invokeCommitMigration(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, context); } /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7570,8 +7243,8 @@ public PollerFlux, Void> beginInvokeCommitMigrationAsync(String /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7591,8 +7264,8 @@ private PollerFlux, Void> beginInvokeCommitMigrationAsync(Strin /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7607,8 +7280,8 @@ public SyncPoller, Void> beginInvokeCommitMigration(String reso /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7625,8 +7298,8 @@ public SyncPoller, Void> beginInvokeCommitMigration(String reso /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7641,8 +7314,8 @@ public Mono invokeCommitMigrationAsync(String resourceGroupName, String vi /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7659,8 +7332,8 @@ private Mono invokeCommitMigrationAsync(String resourceGroupName, String v /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7673,8 +7346,8 @@ public void invokeCommitMigration(String resourceGroupName, String virtualNetwor /** * Trigger commit migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7688,8 +7361,8 @@ public void invokeCommitMigration(String resourceGroupName, String virtualNetwor /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7715,19 +7388,17 @@ public Mono>> invokeAbortMigrationWithResponseAsync(St new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.invokeAbortMigration(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, apiVersion, accept, context)) + .withContext(context -> service.invokeAbortMigration(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7754,17 +7425,16 @@ private Mono>> invokeAbortMigrationWithResponseAsync(S new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.invokeAbortMigration(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, apiVersion, accept, context); + return service.invokeAbortMigration(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, context); } /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7782,8 +7452,8 @@ public PollerFlux, Void> beginInvokeAbortMigrationAsync(String /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7803,8 +7473,8 @@ private PollerFlux, Void> beginInvokeAbortMigrationAsync(String /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7819,8 +7489,8 @@ public SyncPoller, Void> beginInvokeAbortMigration(String resou /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7837,8 +7507,8 @@ public SyncPoller, Void> beginInvokeAbortMigration(String resou /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7853,8 +7523,8 @@ public Mono invokeAbortMigrationAsync(String resourceGroupName, String vir /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7871,8 +7541,8 @@ private Mono invokeAbortMigrationAsync(String resourceGroupName, String vi /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7885,8 +7555,8 @@ public void invokeAbortMigration(String resourceGroupName, String virtualNetwork /** * Trigger abort migration for the virtual network gateway. * - * @param resourceGroupName The resource group name of the virtual network gateway. - * @param virtualNetworkGatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. * @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. @@ -7897,6 +7567,153 @@ public void invokeAbortMigration(String resourceGroupName, String virtualNetwork invokeAbortMigrationAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } + /** + * Gets a xml format representation for vpn device configuration script. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to the generate vpn device script 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 a xml format representation for vpn device configuration script along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> vpnDeviceConfigurationScriptWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkGatewayConnectionName == null) { + return Mono.error(new IllegalArgumentException( + "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.vpnDeviceConfigurationScript(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayConnectionName, contentType, + accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets a xml format representation for vpn device configuration script. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to the generate vpn device script operation. + * @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 a xml format representation for vpn device configuration script along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> vpnDeviceConfigurationScriptWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkGatewayConnectionName == null) { + return Mono.error(new IllegalArgumentException( + "Parameter virtualNetworkGatewayConnectionName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.vpnDeviceConfigurationScript(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayConnectionName, contentType, + accept, parameters, context); + } + + /** + * Gets a xml format representation for vpn device configuration script. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to the generate vpn device script 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 a xml format representation for vpn device configuration script on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono vpnDeviceConfigurationScriptAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters) { + return vpnDeviceConfigurationScriptWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, + parameters).flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets a xml format representation for vpn device configuration script. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to the generate vpn device script operation. + * @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 a xml format representation for vpn device configuration script along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response vpnDeviceConfigurationScriptWithResponse(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, Context context) { + return vpnDeviceConfigurationScriptWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, + parameters, context).block(); + } + + /** + * Gets a xml format representation for vpn device configuration script. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway connection. + * @param parameters Parameters supplied to the generate vpn device script 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 a xml format representation for vpn device configuration script. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public String vpnDeviceConfigurationScript(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnDeviceScriptParameters parameters) { + return vpnDeviceConfigurationScriptWithResponse(resourceGroupName, virtualNetworkGatewayConnectionName, + parameters, Context.NONE).getValue(); + } + /** * Get the next page of items. * @@ -8006,4 +7823,12 @@ private Mono> listNextSinglePageAsync( .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } + + private static final TypeReference> TYPE_REFERENCE_LIST_EXPRESS_ROUTE_FAILOVER_TEST_DETAILS_INNER + = new TypeReference>() { + }; + + private static final TypeReference> TYPE_REFERENCE_LIST_EXPRESS_ROUTE_FAILOVER_SINGLE_TEST_DETAILS_INNER + = new TypeReference>() { + }; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java index 447e09ce8352..bc9c76e7b51d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,8 +33,8 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualNetworkPeeringsClient; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkPeeringInner; +import com.azure.resourcemanager.network.implementation.models.VirtualNetworkPeeringListResult; import com.azure.resourcemanager.network.models.SyncRemoteAddressSpace; -import com.azure.resourcemanager.network.models.VirtualNetworkPeeringListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -68,297 +68,65 @@ public final class VirtualNetworkPeeringsClientImpl implements VirtualNetworkPee * The interface defining all the services for NetworkManagementClientVirtualNetworkPeerings to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVirtualNetworkPeerings") public interface VirtualNetworkPeeringsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, - @PathParam("virtualNetworkPeeringName") String virtualNetworkPeeringName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @PathParam("virtualNetworkPeeringName") String virtualNetworkPeeringName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @PathParam("virtualNetworkPeeringName") String virtualNetworkPeeringName, @QueryParam("syncRemoteAddressSpace") SyncRemoteAddressSpace syncRemoteAddressSpace, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualNetworkPeeringInner virtualNetworkPeeringParameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VirtualNetworkPeeringInner virtualNetworkPeeringParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkName") String virtualNetworkName, + @PathParam("virtualNetworkPeeringName") String virtualNetworkPeeringName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualNetworkName") String virtualNetworkName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName, - String virtualNetworkPeeringName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (virtualNetworkPeeringName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualNetworkPeeringName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualNetworkName, String virtualNetworkPeeringName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (virtualNetworkPeeringName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualNetworkPeeringName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName, apiVersion, this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, - String virtualNetworkPeeringName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, - String virtualNetworkPeeringName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 virtualNetworkName, - String virtualNetworkPeeringName) { - return this.beginDeleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName).getSyncPoller(); - } - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 virtualNetworkName, - String virtualNetworkPeeringName, Context context) { - return this.beginDeleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, context) - .getSyncPoller(); - } - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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) - public Mono deleteAsync(String resourceGroupName, String virtualNetworkName, - String virtualNetworkPeeringName) { - return beginDeleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String virtualNetworkName, - String virtualNetworkPeeringName, Context context) { - return beginDeleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 virtualNetworkName, String virtualNetworkPeeringName) { - deleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName).block(); - } - - /** - * Deletes the specified virtual network peering. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the virtual network peering. - * @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 virtualNetworkName, String virtualNetworkPeeringName, - Context context) { - deleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, context).block(); - } - /** * Gets the specified virtual network peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param virtualNetworkPeeringName The name of the virtual network peering. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -374,6 +142,10 @@ public Mono> getWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -386,22 +158,18 @@ public Mono> getWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter virtualNetworkPeeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified virtual network peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param virtualNetworkPeeringName The name of the virtual network peering. * @param context The context to associate with this operation. @@ -418,6 +186,10 @@ private Mono> getWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -430,21 +202,17 @@ private Mono> getWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter virtualNetworkPeeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, virtualNetworkPeeringName, accept, context); } /** * Gets the specified virtual network peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param virtualNetworkPeeringName The name of the virtual network peering. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -462,7 +230,7 @@ public Mono getAsync(String resourceGroupName, Strin /** * Gets the specified virtual network peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param virtualNetworkPeeringName The name of the virtual network peering. * @param context The context to associate with this operation. @@ -480,7 +248,7 @@ public Response getWithResponse(String resourceGroup /** * Gets the specified virtual network peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param virtualNetworkPeeringName The name of the virtual network peering. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -498,9 +266,9 @@ public VirtualNetworkPeeringInner get(String resourceGroupName, String virtualNe /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -519,6 +287,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -531,10 +303,6 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter virtualNetworkPeeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (virtualNetworkPeeringParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkPeeringParameters is required and cannot be null.")); @@ -542,20 +310,21 @@ public Mono>> createOrUpdateWithResponseAsync(String r virtualNetworkPeeringParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - virtualNetworkName, virtualNetworkPeeringName, syncRemoteAddressSpace, apiVersion, - this.client.getSubscriptionId(), virtualNetworkPeeringParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, + syncRemoteAddressSpace, contentType, accept, virtualNetworkPeeringParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -576,6 +345,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -588,10 +361,6 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter virtualNetworkPeeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (virtualNetworkPeeringParameters == null) { return Mono.error(new IllegalArgumentException( "Parameter virtualNetworkPeeringParameters is required and cannot be null.")); @@ -599,19 +368,20 @@ private Mono>> createOrUpdateWithResponseAsync(String virtualNetworkPeeringParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - virtualNetworkPeeringName, syncRemoteAddressSpace, apiVersion, this.client.getSubscriptionId(), - virtualNetworkPeeringParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, syncRemoteAddressSpace, contentType, + accept, virtualNetworkPeeringParameters, context); } /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -635,9 +405,9 @@ public PollerFlux, VirtualNetworkPeeringI /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -660,9 +430,9 @@ public PollerFlux, VirtualNetworkPeeringI /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -688,9 +458,9 @@ private PollerFlux, VirtualNetworkPeering /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -712,9 +482,9 @@ public SyncPoller, VirtualNetworkPeeringI /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -739,9 +509,9 @@ public SyncPoller, VirtualNetworkPeeringI /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -763,9 +533,9 @@ public Mono createOrUpdateAsync(String resourceGroup /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -785,9 +555,9 @@ public Mono createOrUpdateAsync(String resourceGroup /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -810,9 +580,9 @@ private Mono createOrUpdateAsync(String resourceGrou /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -831,9 +601,9 @@ public VirtualNetworkPeeringInner createOrUpdate(String resourceGroupName, Strin /** * Creates or updates a peering in the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param virtualNetworkPeeringName The name of the peering. + * @param virtualNetworkPeeringName The name of the virtual network peering. * @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering * operation. * @param syncRemoteAddressSpace Parameter indicates the intention to sync the peering with the current address @@ -852,10 +622,240 @@ public VirtualNetworkPeeringInner createOrUpdate(String resourceGroupName, Strin virtualNetworkPeeringParameters, syncRemoteAddressSpace, context).block(); } + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName, + String virtualNetworkPeeringName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + if (virtualNetworkPeeringName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualNetworkPeeringName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext( + context -> service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualNetworkName, String virtualNetworkPeeringName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + if (virtualNetworkPeeringName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualNetworkPeeringName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, virtualNetworkPeeringName, context); + } + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, + String virtualNetworkPeeringName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, + String virtualNetworkPeeringName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 virtualNetworkName, + String virtualNetworkPeeringName) { + return this.beginDeleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName).getSyncPoller(); + } + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 virtualNetworkName, + String virtualNetworkPeeringName, Context context) { + return this.beginDeleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, context) + .getSyncPoller(); + } + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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) + public Mono deleteAsync(String resourceGroupName, String virtualNetworkName, + String virtualNetworkPeeringName) { + return beginDeleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String virtualNetworkName, + String virtualNetworkPeeringName, Context context) { + return beginDeleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 virtualNetworkName, String virtualNetworkPeeringName) { + deleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName).block(); + } + + /** + * Deletes the specified virtual network peering. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param virtualNetworkPeeringName The name of the virtual network peering. + * @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 virtualNetworkName, String virtualNetworkPeeringName, + Context context) { + deleteAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, context).block(); + } + /** * Gets all virtual network peerings in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -870,6 +870,10 @@ private Mono> listSinglePageAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -878,15 +882,11 @@ private Mono> listSinglePageAsync(Stri return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, 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())); @@ -895,7 +895,7 @@ private Mono> listSinglePageAsync(Stri /** * Gets all virtual network peerings in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -911,6 +911,10 @@ private Mono> listSinglePageAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -919,16 +923,12 @@ private Mono> listSinglePageAsync(Stri return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -936,7 +936,7 @@ private Mono> listSinglePageAsync(Stri /** * Gets all virtual network peerings in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -952,7 +952,7 @@ public PagedFlux listAsync(String resourceGroupName, /** * Gets all virtual network peerings in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -970,7 +970,7 @@ private PagedFlux listAsync(String resourceGroupName /** * Gets all virtual network peerings in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -985,7 +985,7 @@ public PagedIterable list(String resourceGroupName, /** * Gets all virtual network peerings in a virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java index a2cfd37c4771..96ac229c12c3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,8 +34,8 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualNetworkTapsClient; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkTapInner; +import com.azure.resourcemanager.network.implementation.models.VirtualNetworkTapListResult; import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.network.models.VirtualNetworkTapListResult; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -73,298 +73,100 @@ public final class VirtualNetworkTapsClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("tapName") String tapName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("tapName") String tapName, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("tapName") String tapName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("tapName") String tapName, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VirtualNetworkTapInner parameters, @HeaderParam("Accept") String accept, - Context context); + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("tapName") String tapName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualNetworkTapInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("tapName") String tapName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject tapParameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") TagsObject tapParameters, @HeaderParam("Accept") String accept, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("tapName") String tapName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + 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) - Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String tapName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (tapName == null) { - return Mono.error(new IllegalArgumentException("Parameter tapName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, tapName, apiVersion, - this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified virtual network tap. + * Get a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @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}. + * @return a VirtualNetworkTap along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String tapName, - Context context) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String tapName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (tapName == null) { - return Mono.error(new IllegalArgumentException("Parameter tapName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, tapName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String tapName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, tapName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String tapName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, tapName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 tapName) { - return this.beginDeleteAsync(resourceGroupName, tapName).getSyncPoller(); - } - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 tapName, Context context) { - return this.beginDeleteAsync(resourceGroupName, tapName, context).getSyncPoller(); - } - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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) - public Mono deleteAsync(String resourceGroupName, String tapName) { - return beginDeleteAsync(resourceGroupName, tapName).last().flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String tapName, Context context) { - return beginDeleteAsync(resourceGroupName, tapName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 tapName) { - deleteAsync(resourceGroupName, tapName).block(); - } - - /** - * Deletes the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. - * @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 tapName, Context context) { - deleteAsync(resourceGroupName, tapName, context).block(); - } - - /** - * Gets information about the specified virtual network tap. - * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of virtual network tap. - * @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 information about the specified virtual network tap along with {@link Response} on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String tapName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -372,29 +174,24 @@ public Mono> getByResourceGroupWithResponseAsyn if (tapName == null) { return Mono.error(new IllegalArgumentException("Parameter tapName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, tapName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, tapName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Gets information about the specified virtual network tap. + * Get a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param tapName The name of virtual network tap. * @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 information about the specified virtual network tap along with {@link Response} on successful completion - * of {@link Mono}. + * @return a VirtualNetworkTap along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, @@ -403,6 +200,10 @@ private Mono> getByResourceGroupWithResponseAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -410,26 +211,22 @@ private Mono> getByResourceGroupWithResponseAsy if (tapName == null) { return Mono.error(new IllegalArgumentException("Parameter tapName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, tapName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, tapName, accept, context); } /** - * Gets information about the specified virtual network tap. + * Get a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param tapName The name of virtual network tap. * @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 information about the specified virtual network tap on successful completion of {@link Mono}. + * @return a VirtualNetworkTap on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getByResourceGroupAsync(String resourceGroupName, String tapName) { @@ -438,15 +235,15 @@ public Mono getByResourceGroupAsync(String resourceGroup } /** - * Gets information about the specified virtual network tap. + * Get a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param tapName The name of virtual network tap. * @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 information about the specified virtual network tap along with {@link Response}. + * @return a VirtualNetworkTap along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getByResourceGroupWithResponse(String resourceGroupName, String tapName, @@ -455,14 +252,14 @@ public Response getByResourceGroupWithResponse(String re } /** - * Gets information about the specified virtual network tap. + * Get a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param tapName The name of virtual network tap. * @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 information about the specified virtual network tap. + * @return a VirtualNetworkTap. */ @ServiceMethod(returns = ReturnType.SINGLE) public VirtualNetworkTapInner getByResourceGroup(String resourceGroupName, String tapName) { @@ -470,10 +267,10 @@ public VirtualNetworkTapInner getByResourceGroup(String resourceGroupName, Strin } /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -487,6 +284,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -494,28 +295,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (tapName == null) { return Mono.error(new IllegalArgumentException("Parameter tapName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, tapName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, tapName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -530,6 +328,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -537,27 +339,24 @@ private Mono>> createOrUpdateWithResponseAsync(String if (tapName == null) { return Mono.error(new IllegalArgumentException("Parameter tapName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, tapName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, tapName, contentType, accept, parameters, context); } /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -574,10 +373,10 @@ private Mono>> createOrUpdateWithResponseAsync(String } /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -596,10 +395,10 @@ private PollerFlux, VirtualNetworkTapInner> b } /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -613,10 +412,10 @@ private PollerFlux, VirtualNetworkTapInner> b } /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -631,10 +430,10 @@ public SyncPoller, VirtualNetworkTapInner> be } /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -649,10 +448,10 @@ public Mono createOrUpdateAsync(String resourceGroupName } /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -668,10 +467,10 @@ private Mono createOrUpdateAsync(String resourceGroupNam } /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -685,10 +484,10 @@ public VirtualNetworkTapInner createOrUpdate(String resourceGroupName, String ta } /** - * Creates or updates a Virtual Network Tap. + * Create a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the virtual network tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param parameters Parameters supplied to the create or update virtual network tap operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -703,10 +502,10 @@ public VirtualNetworkTapInner createOrUpdate(String resourceGroupName, String ta } /** - * Updates an VirtualNetworkTap tags. + * Update a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param tapParameters Parameters supplied to update VirtualNetworkTap tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -720,6 +519,10 @@ public Mono> updateTagsWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -727,28 +530,26 @@ public Mono> updateTagsWithResponseAsync(String if (tapName == null) { return Mono.error(new IllegalArgumentException("Parameter tapName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (tapParameters == null) { return Mono.error(new IllegalArgumentException("Parameter tapParameters is required and cannot be null.")); } else { tapParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, tapName, - apiVersion, this.client.getSubscriptionId(), tapParameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, tapName, contentType, accept, tapParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Updates an VirtualNetworkTap tags. + * Update a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param tapParameters Parameters supplied to update VirtualNetworkTap tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -763,6 +564,10 @@ private Mono> updateTagsWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -770,27 +575,24 @@ private Mono> updateTagsWithResponseAsync(Strin if (tapName == null) { return Mono.error(new IllegalArgumentException("Parameter tapName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (tapParameters == null) { return Mono.error(new IllegalArgumentException("Parameter tapParameters is required and cannot be null.")); } else { tapParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, tapName, apiVersion, - this.client.getSubscriptionId(), tapParameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, tapName, contentType, accept, tapParameters, context); } /** - * Updates an VirtualNetworkTap tags. + * Update a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param tapParameters Parameters supplied to update VirtualNetworkTap tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -805,10 +607,10 @@ public Mono updateTagsAsync(String resourceGroupName, St } /** - * Updates an VirtualNetworkTap tags. + * Update a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param tapParameters Parameters supplied to update VirtualNetworkTap tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -823,10 +625,10 @@ public Response updateTagsWithResponse(String resourceGr } /** - * Updates an VirtualNetworkTap tags. + * Update a VirtualNetworkTap. * - * @param resourceGroupName The name of the resource group. - * @param tapName The name of the tap. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. * @param tapParameters Parameters supplied to update VirtualNetworkTap tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -838,16 +640,216 @@ public VirtualNetworkTapInner updateTags(String resourceGroupName, String tapNam return updateTagsWithResponse(resourceGroupName, tapName, tapParameters, Context.NONE).getValue(); } + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, String tapName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (tapName == null) { + return Mono.error(new IllegalArgumentException("Parameter tapName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, tapName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String tapName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (tapName == null) { + return Mono.error(new IllegalArgumentException("Parameter tapName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + tapName, context); + } + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String tapName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, tapName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String tapName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, tapName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 tapName) { + return this.beginDeleteAsync(resourceGroupName, tapName).getSyncPoller(); + } + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 tapName, Context context) { + return this.beginDeleteAsync(resourceGroupName, tapName, context).getSyncPoller(); + } + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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) + public Mono deleteAsync(String resourceGroupName, String tapName) { + return beginDeleteAsync(resourceGroupName, tapName).last().flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String tapName, Context context) { + return beginDeleteAsync(resourceGroupName, tapName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 tapName) { + deleteAsync(resourceGroupName, tapName).block(); + } + + /** + * Delete a VirtualNetworkTap. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param tapName The name of virtual network tap. + * @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 tapName, Context context) { + deleteAsync(resourceGroupName, tapName, context).block(); + } + /** * Gets all the VirtualNetworkTaps in a subscription. * + * @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 all the VirtualNetworkTaps in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -856,11 +858,15 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -869,6 +875,7 @@ private Mono> listSinglePageAsync() { /** * Gets all the VirtualNetworkTaps in a subscription. * + * @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. @@ -877,7 +884,8 @@ private Mono> listSinglePageAsync() { * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -886,10 +894,16 @@ private Mono> listSinglePageAsync(Context return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -897,18 +911,22 @@ private Mono> listSinglePageAsync(Context /** * Gets all the VirtualNetworkTaps in a subscription. * + * @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 all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); } /** * Gets all the VirtualNetworkTaps in a subscription. * + * @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. @@ -916,26 +934,29 @@ public PagedFlux listAsync() { * @return all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); } /** * Gets all the VirtualNetworkTaps in a subscription. * + * @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 all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** * Gets all the VirtualNetworkTaps in a subscription. * + * @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. @@ -943,30 +964,24 @@ public PagedIterable list() { * @return all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** * Gets all the VirtualNetworkTaps in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the VirtualNetworkTaps in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -974,8 +989,8 @@ private Mono> listByResourceGroupSinglePag final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); @@ -984,7 +999,6 @@ private Mono> listByResourceGroupSinglePag /** * Gets all the VirtualNetworkTaps in a subscription. * - * @param resourceGroupName The name of the resource group. * @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. @@ -993,16 +1007,11 @@ private Mono> listByResourceGroupSinglePag * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1010,9 +1019,7 @@ private Mono> listByResourceGroupSinglePag final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1020,22 +1027,18 @@ private Mono> listByResourceGroupSinglePag /** * Gets all the VirtualNetworkTaps in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); } /** * Gets all the VirtualNetworkTaps in a subscription. * - * @param resourceGroupName The name of the resource group. * @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. @@ -1043,29 +1046,26 @@ public PagedFlux listByResourceGroupAsync(String resourc * @return all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); } /** * Gets all the VirtualNetworkTaps in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + public PagedIterable list() { + return new PagedIterable<>(listAsync()); } /** * Gets all the VirtualNetworkTaps in a subscription. * - * @param resourceGroupName The name of the resource group. * @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. @@ -1073,8 +1073,8 @@ public PagedIterable listByResourceGroup(String resource * @return all the VirtualNetworkTaps in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** @@ -1088,7 +1088,7 @@ public PagedIterable listByResourceGroup(String resource * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1098,7 +1098,8 @@ private Mono> listAllNextSinglePageAsync(S } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + .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())); @@ -1116,7 +1117,8 @@ private Mono> listAllNextSinglePageAsync(S * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, + Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1126,7 +1128,7 @@ private Mono> listAllNextSinglePageAsync(S } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return 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)); } @@ -1142,7 +1144,7 @@ private Mono> listAllNextSinglePageAsync(S * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1152,8 +1154,7 @@ private Mono> listByResourceGroupNextSingl } final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context)) + .withContext(context -> service.listAllNext(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())); @@ -1171,8 +1172,7 @@ private Mono> listByResourceGroupNextSingl * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, - Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1182,7 +1182,7 @@ private Mono> listByResourceGroupNextSingl } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java index 4d6ecf989012..3ccd3f7fd2af 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -38,10 +38,10 @@ import com.azure.resourcemanager.network.fluent.models.PublicIpDdosProtectionStatusResultInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkUsageInner; +import com.azure.resourcemanager.network.implementation.models.VirtualNetworkDdosProtectionStatusResult; +import com.azure.resourcemanager.network.implementation.models.VirtualNetworkListResult; +import com.azure.resourcemanager.network.implementation.models.VirtualNetworkListUsageResult; import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.network.models.VirtualNetworkDdosProtectionStatusResult; -import com.azure.resourcemanager.network.models.VirtualNetworkListResult; -import com.azure.resourcemanager.network.models.VirtualNetworkListUsageResult; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -79,108 +79,110 @@ public final class VirtualNetworksClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VirtualNetworkInner parameters, @HeaderParam("Accept") String accept, + @PathParam("virtualNetworkName") String virtualNetworkName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") VirtualNetworkInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @BodyParam("application/json") TagsObject parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualNetworkName") String virtualNetworkName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject parameters, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}") + @ExpectedResponses({ 200, 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("virtualNetworkName") String virtualNetworkName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/checkIPAddressAvailability") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> checkIpAddressAvailability(@HostParam("$host") String endpoint, + Mono> checkIpAddressAvailability( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("ipAddress") String ipAddress, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listUsage(@HostParam("$host") String endpoint, + Mono> listUsage(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualNetworkName") String virtualNetworkName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/ddosProtectionStatus") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> listDdosProtectionStatus(@HostParam("$host") String endpoint, + Mono>> listDdosProtectionStatus(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("top") Integer top, - @QueryParam("skipToken") String skipToken, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @QueryParam("skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listNext( + @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> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + Mono> listAllNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -188,7 +190,7 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listUsageNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -196,219 +198,14 @@ Mono> listUsageNext( @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listDdosProtectionStatusNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualNetworkName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualNetworkName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualNetworkName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualNetworkName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 virtualNetworkName) { - return this.beginDeleteAsync(resourceGroupName, virtualNetworkName).getSyncPoller(); - } - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 virtualNetworkName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, virtualNetworkName, context).getSyncPoller(); - } - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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) - public Mono deleteAsync(String resourceGroupName, String virtualNetworkName) { - return beginDeleteAsync(resourceGroupName, virtualNetworkName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String virtualNetworkName, Context context) { - return beginDeleteAsync(resourceGroupName, virtualNetworkName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 virtualNetworkName) { - deleteAsync(resourceGroupName, virtualNetworkName).block(); - } - - /** - * Deletes the specified virtual network. - * - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkName The name of the virtual network. - * @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 virtualNetworkName, Context context) { - deleteAsync(resourceGroupName, virtualNetworkName, context).block(); - } - /** * Gets the specified virtual network by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -424,6 +221,10 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -432,22 +233,18 @@ public Mono> getByResourceGroupWithResponseAsync(S return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - virtualNetworkName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified virtual network by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -464,6 +261,10 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -472,21 +273,17 @@ private Mono> getByResourceGroupWithResponseAsync( return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, expand, accept, context); } /** * Gets the specified virtual network by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -503,7 +300,7 @@ public Mono getByResourceGroupAsync(String resourceGroupNam /** * Gets the specified virtual network by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -521,7 +318,7 @@ public Response getByResourceGroupWithResponse(String resou /** * Gets the specified virtual network by resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -537,7 +334,7 @@ public VirtualNetworkInner getByResourceGroup(String resourceGroupName, String v /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -552,6 +349,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -560,27 +361,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - virtualNetworkName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -596,6 +395,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -604,26 +407,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, contentType, accept, parameters, context); } /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -643,7 +443,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -665,7 +465,7 @@ private PollerFlux, VirtualNetworkInner> beginCr /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -682,7 +482,7 @@ private PollerFlux, VirtualNetworkInner> beginCr /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -701,7 +501,7 @@ public SyncPoller, VirtualNetworkInner> beginCre /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -719,7 +519,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -738,7 +538,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -755,7 +555,7 @@ public VirtualNetworkInner createOrUpdate(String resourceGroupName, String virtu /** * Creates or updates a virtual network in the specified resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to the create or update virtual network operation. * @param context The context to associate with this operation. @@ -773,7 +573,7 @@ public VirtualNetworkInner createOrUpdate(String resourceGroupName, String virtu /** * Updates a virtual network tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to update virtual network tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -788,6 +588,10 @@ public Mono> updateTagsWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -796,27 +600,25 @@ public Mono> updateTagsWithResponseAsync(String re return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates a virtual network tags. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to update virtual network tags. * @param context The context to associate with this operation. @@ -832,6 +634,10 @@ private Mono> updateTagsWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -840,84 +646,286 @@ private Mono> updateTagsWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, contentType, accept, parameters, context); + } + + /** + * Updates a virtual network tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to update virtual network tags. + * @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 virtual Network resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateTagsAsync(String resourceGroupName, String virtualNetworkName, + TagsObject parameters) { + return updateTagsWithResponseAsync(resourceGroupName, virtualNetworkName, parameters) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Updates a virtual network tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to update virtual network tags. + * @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 virtual Network resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response updateTagsWithResponse(String resourceGroupName, String virtualNetworkName, + TagsObject parameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, virtualNetworkName, parameters, context).block(); + } + + /** + * Updates a virtual network tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to update virtual network tags. + * @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 virtual Network resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VirtualNetworkInner updateTags(String resourceGroupName, String virtualNetworkName, TagsObject parameters) { + return updateTagsWithResponse(resourceGroupName, virtualNetworkName, parameters, Context.NONE).getValue(); + } + + /** + * Deletes the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualNetworkName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualNetworkName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, context); + } + + /** + * Deletes the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualNetworkName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualNetworkName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualNetworkName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 virtualNetworkName) { + return this.beginDeleteAsync(resourceGroupName, virtualNetworkName).getSyncPoller(); + } + + /** + * Deletes the specified virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 virtualNetworkName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, virtualNetworkName, context).getSyncPoller(); } /** - * Updates a virtual network tags. + * Deletes the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to update virtual network tags. * @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 virtual Network resource on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String virtualNetworkName, - TagsObject parameters) { - return updateTagsWithResponseAsync(resourceGroupName, virtualNetworkName, parameters) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono deleteAsync(String resourceGroupName, String virtualNetworkName) { + return beginDeleteAsync(resourceGroupName, virtualNetworkName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates a virtual network tags. + * Deletes the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to update virtual network tags. * @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 virtual Network resource along with {@link Response}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, String virtualNetworkName, - TagsObject parameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, virtualNetworkName, parameters, context).block(); + private Mono deleteAsync(String resourceGroupName, String virtualNetworkName, Context context) { + return beginDeleteAsync(resourceGroupName, virtualNetworkName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Updates a virtual network tags. + * Deletes the specified virtual network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to update virtual network tags. * @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 virtual Network resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualNetworkInner updateTags(String resourceGroupName, String virtualNetworkName, TagsObject parameters) { - return updateTagsWithResponse(resourceGroupName, virtualNetworkName, parameters, Context.NONE).getValue(); + public void delete(String resourceGroupName, String virtualNetworkName) { + deleteAsync(resourceGroupName, virtualNetworkName).block(); } /** - * Gets all virtual networks in a subscription. + * Deletes the specified virtual network. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @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 all virtual networks in a subscription along with {@link PagedResponse} on successful completion of + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String virtualNetworkName, Context context) { + deleteAsync(resourceGroupName, virtualNetworkName, context).block(); + } + + /** + * Gets all virtual networks in a 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 all virtual networks in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -926,28 +934,34 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Gets all virtual networks in a subscription. + * Gets all virtual networks in a 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 all virtual networks in a subscription along with {@link PagedResponse} on successful completion of + * @return all virtual networks in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -956,87 +970,94 @@ private Mono> listSinglePageAsync(Context con return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all virtual networks in a subscription. + * Gets all virtual networks in a 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 all virtual networks in a subscription as paginated response with {@link PagedFlux}. + * @return all virtual networks in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Gets all virtual networks in a subscription. + * Gets all virtual networks in a 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 all virtual networks in a subscription as paginated response with {@link PagedFlux}. + * @return all virtual networks in a resource group as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Gets all virtual networks in a subscription. + * Gets all virtual networks in a 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 all virtual networks in a subscription as paginated response with {@link PagedIterable}. + * @return all virtual networks in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Gets all virtual networks in a subscription. + * Gets all virtual networks in a 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 all virtual networks in a subscription as paginated response with {@link PagedIterable}. + * @return all virtual networks in a resource group as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Gets all virtual networks in a resource group. + * Gets all virtual networks in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all virtual networks in a resource group along with {@link PagedResponse} on successful completion of + * @return all virtual networks in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1044,35 +1065,29 @@ private Mono> listByResourceGroupSinglePageAs final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Gets all virtual networks in a resource group. + * Gets all virtual networks in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all virtual networks in a resource group along with {@link PagedResponse} on successful completion of + * @return all virtual networks in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); @@ -1080,77 +1095,68 @@ private Mono> listByResourceGroupSinglePageAs final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Gets all virtual networks in a resource group. + * Gets all virtual networks in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all virtual networks in a resource group as paginated response with {@link PagedFlux}. + * @return all virtual networks in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); } /** - * Gets all virtual networks in a resource group. + * Gets all virtual networks in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all virtual networks in a resource group as paginated response with {@link PagedFlux}. + * @return all virtual networks in a subscription as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); } /** - * Gets all virtual networks in a resource group. + * Gets all virtual networks in a subscription. * - * @param resourceGroupName The name of the resource group. - * @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 all virtual networks in a resource group as paginated response with {@link PagedIterable}. + * @return all virtual networks in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + public PagedIterable list() { + return new PagedIterable<>(listAsync()); } /** - * Gets all virtual networks in a resource group. + * Gets all virtual networks in a subscription. * - * @param resourceGroupName The name of the resource group. * @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 all virtual networks in a resource group as paginated response with {@link PagedIterable}. + * @return all virtual networks in a subscription as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** * Checks whether a private IP address is available for use. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param ipAddress The private IP address to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1166,6 +1172,10 @@ public Mono> checkIpAddressAvailabili return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1177,22 +1187,18 @@ public Mono> checkIpAddressAvailabili if (ipAddress == null) { return Mono.error(new IllegalArgumentException("Parameter ipAddress is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.checkIpAddressAvailability(this.client.getEndpoint(), resourceGroupName, - virtualNetworkName, ipAddress, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.checkIpAddressAvailability(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, ipAddress, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Checks whether a private IP address is available for use. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param ipAddress The private IP address to be verified. * @param context The context to associate with this operation. @@ -1209,6 +1215,10 @@ private Mono> checkIpAddressAvailabil return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1220,21 +1230,17 @@ private Mono> checkIpAddressAvailabil if (ipAddress == null) { return Mono.error(new IllegalArgumentException("Parameter ipAddress is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.checkIpAddressAvailability(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - ipAddress, apiVersion, this.client.getSubscriptionId(), accept, context); + return service.checkIpAddressAvailability(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, ipAddress, accept, context); } /** * Checks whether a private IP address is available for use. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param ipAddress The private IP address to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1252,7 +1258,7 @@ public Mono checkIpAddressAvailabilityAsync(St /** * Checks whether a private IP address is available for use. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param ipAddress The private IP address to be verified. * @param context The context to associate with this operation. @@ -1271,7 +1277,7 @@ public Response checkIpAddressAvailabilityWith /** * Checks whether a private IP address is available for use. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param ipAddress The private IP address to be verified. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1289,7 +1295,7 @@ public IpAddressAvailabilityResultInner checkIpAddressAvailability(String resour /** * Lists usage stats. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1304,6 +1310,10 @@ private Mono> listUsageSinglePageAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1312,15 +1322,11 @@ private Mono> listUsageSinglePageAsync(S return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listUsage(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listUsage(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, 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())); @@ -1329,7 +1335,7 @@ private Mono> listUsageSinglePageAsync(S /** * Lists usage stats. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1345,6 +1351,10 @@ private Mono> listUsageSinglePageAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1353,16 +1363,12 @@ private Mono> listUsageSinglePageAsync(S return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listUsage(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listUsage(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualNetworkName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1370,7 +1376,7 @@ private Mono> listUsageSinglePageAsync(S /** * Lists usage stats. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1386,7 +1392,7 @@ public PagedFlux listUsageAsync(String resourceGroupNa /** * Lists usage stats. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1404,7 +1410,7 @@ private PagedFlux listUsageAsync(String resourceGroupN /** * Lists usage stats. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1420,7 +1426,7 @@ public PagedIterable listUsage(String resourceGroupNam /** * Lists usage stats. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1438,7 +1444,7 @@ public PagedIterable listUsage(String resourceGroupNam /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param top The max number of ip addresses to return. * @param skipToken The skipToken that is given with nextLink. @@ -1455,6 +1461,10 @@ private Mono> listDdosPro return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1463,16 +1473,12 @@ private Mono> listDdosPro return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil.withContext(context -> { Mono>> mono = service - .listDdosProtectionStatus(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, top, - skipToken, apiVersion, this.client.getSubscriptionId(), accept, context) + .listDdosProtectionStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, top, skipToken, accept, context) .cache(); return Mono.zip(mono, this.client @@ -1491,7 +1497,7 @@ private Mono> listDdosPro /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param top The max number of ip addresses to return. * @param skipToken The skipToken that is given with nextLink. @@ -1509,6 +1515,10 @@ private Mono> listDdosPro return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1517,17 +1527,14 @@ private Mono> listDdosPro return Mono .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - Mono>> mono = service - .listDdosProtectionStatus(this.client.getEndpoint(), resourceGroupName, virtualNetworkName, top, skipToken, - apiVersion, this.client.getSubscriptionId(), accept, context) - .cache(); + Mono>> mono + = service + .listDdosProtectionStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkName, top, skipToken, accept, context) + .cache(); return Mono .zip(mono, this.client @@ -1543,7 +1550,7 @@ private Mono> listDdosPro /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param top The max number of ip addresses to return. * @param skipToken The skipToken that is given with nextLink. @@ -1564,7 +1571,7 @@ public PagedFlux listDdosProtectionStat /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1585,7 +1592,7 @@ public PagedFlux listDdosProtectionStat /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param top The max number of ip addresses to return. * @param skipToken The skipToken that is given with nextLink. @@ -1606,7 +1613,7 @@ private PagedFlux listDdosProtectionSta /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1626,7 +1633,7 @@ public PagedIterable listDdosProtection /** * Gets the Ddos Protection Status of all IP Addresses under the Virtual Network. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param top The max number of ip addresses to return. * @param skipToken The skipToken that is given with nextLink. @@ -1651,11 +1658,11 @@ public PagedIterable listDdosProtection * @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 all virtual networks in a subscription along with {@link PagedResponse} on successful completion of + * @return all virtual networks in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1664,8 +1671,7 @@ private Mono> listAllNextSinglePageAsync(Stri new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listAllNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(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())); @@ -1679,11 +1685,11 @@ private Mono> listAllNextSinglePageAsync(Stri * @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 all virtual networks in a subscription along with {@link PagedResponse} on successful completion of + * @return all virtual networks in a resource group along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1693,7 +1699,7 @@ private Mono> listAllNextSinglePageAsync(Stri } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1705,11 +1711,11 @@ private Mono> listAllNextSinglePageAsync(Stri * @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 all virtual networks in a resource group along with {@link PagedResponse} on successful completion of + * @return all virtual networks in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listAllNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1718,7 +1724,8 @@ private Mono> listNextSinglePageAsync(String new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext(context -> service.listAllNext(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())); @@ -1732,11 +1739,11 @@ private Mono> listNextSinglePageAsync(String * @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 all virtual networks in a resource group along with {@link PagedResponse} on successful completion of + * @return all virtual networks in a subscription along with {@link PagedResponse} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listAllNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1746,7 +1753,7 @@ private Mono> listNextSinglePageAsync(String } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listAllNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java index 904d2eed01cc..caaceb85ed4b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -32,8 +32,8 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualRouterPeeringsClient; import com.azure.resourcemanager.network.fluent.models.VirtualRouterPeeringInner; +import com.azure.resourcemanager.network.implementation.models.VirtualRouterPeeringListResult; import com.azure.resourcemanager.network.models.ErrorException; -import com.azure.resourcemanager.network.models.VirtualRouterPeeringListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -67,290 +67,65 @@ public final class VirtualRouterPeeringsClientImpl implements VirtualRouterPeeri * The interface defining all the services for NetworkManagementClientVirtualRouterPeerings to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVirtualRouterPeerings") public interface VirtualRouterPeeringsService { - @Headers({ "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}") - @ExpectedResponses({ 200, 202, 204 }) - @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualRouterName") String virtualRouterName, @PathParam("peeringName") String peeringName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualRouterName") String virtualRouterName, @PathParam("peeringName") String peeringName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualRouterName") String virtualRouterName, @PathParam("peeringName") String peeringName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualRouterPeeringInner parameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ErrorException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VirtualRouterPeeringInner parameters, @HeaderParam("Accept") String accept, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualRouterName") String virtualRouterName, @PathParam("peeringName") String peeringName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualRouterName") String virtualRouterName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualRouterName") String virtualRouterName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Deletes the specified peering from a Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName, - String peeringName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualRouterName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); - } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, virtualRouterName, - peeringName, apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified peering from a Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, - String peeringName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualRouterName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); - } - if (peeringName == null) { - return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, virtualRouterName, peeringName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified peering from a Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName, - String peeringName) { - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, virtualRouterName, peeringName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified peering from a Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, - String peeringName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteWithResponseAsync(resourceGroupName, virtualRouterName, peeringName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified peering from a Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, - String peeringName) { - return this.beginDeleteAsync(resourceGroupName, virtualRouterName, peeringName).getSyncPoller(); - } - - /** - * Deletes the specified peering from a Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, - String peeringName, Context context) { - return this.beginDeleteAsync(resourceGroupName, virtualRouterName, peeringName, context).getSyncPoller(); - } - - /** - * Deletes the specified peering from a Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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) - public Mono deleteAsync(String resourceGroupName, String virtualRouterName, String peeringName) { - return beginDeleteAsync(resourceGroupName, virtualRouterName, peeringName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified peering from a Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, String peeringName, - Context context) { - return beginDeleteAsync(resourceGroupName, virtualRouterName, peeringName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified peering from a Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, String peeringName) { - deleteAsync(resourceGroupName, virtualRouterName, peeringName).block(); - } - - /** - * Deletes the specified peering from a Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the peering. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, String peeringName, Context context) { - deleteAsync(resourceGroupName, virtualRouterName, peeringName, context).block(); - } - /** * Gets the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -364,6 +139,10 @@ public Mono> getWithResponseAsync(String res return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -375,24 +154,21 @@ public Mono> getWithResponseAsync(String res if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), resourceGroupName, virtualRouterName, - peeringName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualRouterName, peeringName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -407,6 +183,10 @@ private Mono> getWithResponseAsync(String re return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -418,23 +198,20 @@ private Mono> getWithResponseAsync(String re if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), resourceGroupName, virtualRouterName, peeringName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualRouterName, peeringName, accept, context); } /** * Gets the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -450,9 +227,10 @@ public Mono getAsync(String resourceGroupName, String /** * Gets the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -468,9 +246,10 @@ public Response getWithResponse(String resourceGroupN /** * Gets the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -484,9 +263,10 @@ public VirtualRouterPeeringInner get(String resourceGroupName, String virtualRou /** * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -500,6 +280,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -511,30 +295,28 @@ public Mono>> createOrUpdateWithResponseAsync(String r if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, virtualRouterName, - peeringName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualRouterName, peeringName, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -549,6 +331,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -560,28 +346,26 @@ private Mono>> createOrUpdateWithResponseAsync(String if (peeringName == null) { return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, virtualRouterName, peeringName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualRouterName, peeringName, contentType, accept, parameters, context); } /** * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -601,9 +385,10 @@ public PollerFlux, VirtualRouterPeeringInn /** * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -625,9 +410,10 @@ private PollerFlux, VirtualRouterPeeringIn /** * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -644,9 +430,10 @@ public SyncPoller, VirtualRouterPeeringInn /** * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -665,9 +452,10 @@ public SyncPoller, VirtualRouterPeeringInn /** * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -684,9 +472,10 @@ public Mono createOrUpdateAsync(String resourceGroupN /** * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -704,9 +493,10 @@ private Mono createOrUpdateAsync(String resourceGroup /** * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -722,9 +512,10 @@ public VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String /** * Creates or updates the specified Virtual Router Peering. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. - * @param peeringName The name of the Virtual Router Peering. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @param parameters Parameters supplied to the create or update Virtual Router Peering operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -739,23 +530,28 @@ public VirtualRouterPeeringInner createOrUpdate(String resourceGroupName, String } /** - * Lists all Virtual Router Peerings in a Virtual Router resource. + * Deletes the specified peering from a Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String virtualRouterName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName, + String peeringName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -764,15 +560,244 @@ private Mono> listSinglePageAsync(Strin return Mono .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); } + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualRouterName, peeringName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified peering from a Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, + String peeringName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualRouterName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); + } + if (peeringName == null) { + return Mono.error(new IllegalArgumentException("Parameter peeringName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualRouterName, peeringName, context); + } + + /** + * Deletes the specified peering from a Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName, + String peeringName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, virtualRouterName, peeringName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified peering from a Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, + String peeringName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, virtualRouterName, peeringName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified peering from a Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, + String peeringName) { + return this.beginDeleteAsync(resourceGroupName, virtualRouterName, peeringName).getSyncPoller(); + } + + /** + * Deletes the specified peering from a Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, + String peeringName, Context context) { + return this.beginDeleteAsync(resourceGroupName, virtualRouterName, peeringName, context).getSyncPoller(); + } + + /** + * Deletes the specified peering from a Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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) + public Mono deleteAsync(String resourceGroupName, String virtualRouterName, String peeringName) { + return beginDeleteAsync(resourceGroupName, virtualRouterName, peeringName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified peering from a Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, String peeringName, + Context context) { + return beginDeleteAsync(resourceGroupName, virtualRouterName, peeringName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified peering from a Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, String peeringName) { + deleteAsync(resourceGroupName, virtualRouterName, peeringName).block(); + } + + /** + * Deletes the specified peering from a Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param peeringName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, String peeringName, Context context) { + deleteAsync(resourceGroupName, virtualRouterName, peeringName, context).block(); + } + + /** + * Lists all Virtual Router Peerings in a Virtual Router resource. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 VirtualRouterPeering list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, + String virtualRouterName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualRouterName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), resourceGroupName, virtualRouterName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualRouterName, 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())); @@ -781,13 +806,13 @@ private Mono> listSinglePageAsync(Strin /** * Lists all Virtual Router Peerings in a Virtual Router resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call along with {@link PagedResponse} on successful + * @return the response of a VirtualRouterPeering list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -797,6 +822,10 @@ private Mono> listSinglePageAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -805,16 +834,12 @@ private Mono> listSinglePageAsync(Strin return Mono .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .list(this.client.getEndpoint(), resourceGroupName, virtualRouterName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualRouterName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -822,12 +847,12 @@ private Mono> listSinglePageAsync(Strin /** * Lists all Virtual Router Peerings in a Virtual Router resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call as paginated response with {@link PagedFlux}. + * @return the response of a VirtualRouterPeering list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String virtualRouterName) { @@ -838,13 +863,13 @@ public PagedFlux listAsync(String resourceGroupName, /** * Lists all Virtual Router Peerings in a Virtual Router resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call as paginated response with {@link PagedFlux}. + * @return the response of a VirtualRouterPeering list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String virtualRouterName, @@ -856,12 +881,12 @@ private PagedFlux listAsync(String resourceGroupName, /** * Lists all Virtual Router Peerings in a Virtual Router resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call as paginated response with {@link PagedIterable}. + * @return the response of a VirtualRouterPeering list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String virtualRouterName) { @@ -871,13 +896,13 @@ public PagedIterable list(String resourceGroupName, S /** * Lists all Virtual Router Peerings in a Virtual Router resource. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call as paginated response with {@link PagedIterable}. + * @return the response of a VirtualRouterPeering list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String virtualRouterName, @@ -892,7 +917,7 @@ public PagedIterable list(String resourceGroupName, S * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call along with {@link PagedResponse} on successful + * @return the response of a VirtualRouterPeering list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -919,7 +944,7 @@ private Mono> listNextSinglePageAsync(S * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouterPeerings API service call along with {@link PagedResponse} on successful + * @return the response of a VirtualRouterPeering list operation along with {@link PagedResponse} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java index 8114d4375a90..ce7881ca66bc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -32,8 +32,8 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualRoutersClient; import com.azure.resourcemanager.network.fluent.models.VirtualRouterInner; +import com.azure.resourcemanager.network.implementation.models.VirtualRouterListResult; import com.azure.resourcemanager.network.models.ErrorException; -import com.azure.resourcemanager.network.models.VirtualRouterListResult; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -71,52 +71,52 @@ public final class VirtualRoutersClientImpl implements InnerSupportsGet>> delete(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualRouterName") String virtualRouterName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualRouterName") String virtualRouterName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("$expand") String expand, + @PathParam("virtualRouterName") String virtualRouterName, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualRouterName") String virtualRouterName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VirtualRouterInner parameters, @HeaderParam("Accept") String accept, + @PathParam("virtualRouterName") String virtualRouterName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") VirtualRouterInner parameters, Context context); + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}") + @ExpectedResponses({ 200, 202, 204 }) + @UnexpectedResponseExceptionType(ErrorException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualRouterName") String virtualRouterName, Context context); + @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/virtualRouters") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -125,7 +125,7 @@ Mono> list(@HostParam("$host") String endpoint @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -133,218 +133,13 @@ Mono> listByResourceGroupNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ErrorException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); - } - - /** - * Deletes the specified Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, - String virtualRouterName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualRouterName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, virtualRouterName, - apiVersion, this.client.getSubscriptionId(), accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the specified Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualRouterName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, virtualRouterName, apiVersion, - this.client.getSubscriptionId(), accept, context); - } - - /** - * Deletes the specified Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualRouterName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the specified Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualRouterName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the specified Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName) { - return this.beginDeleteAsync(resourceGroupName, virtualRouterName).getSyncPoller(); - } - - /** - * Deletes the specified Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, virtualRouterName, context).getSyncPoller(); - } - - /** - * Deletes the specified Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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) - public Mono deleteAsync(String resourceGroupName, String virtualRouterName) { - return beginDeleteAsync(resourceGroupName, virtualRouterName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, Context context) { - return beginDeleteAsync(resourceGroupName, virtualRouterName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the specified Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName) { - deleteAsync(resourceGroupName, virtualRouterName).block(); - } - - /** - * Deletes the specified Virtual Router. - * - * @param resourceGroupName The name of the resource group. - * @param virtualRouterName The name of the Virtual Router. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorException 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 virtualRouterName, Context context) { - deleteAsync(resourceGroupName, virtualRouterName, context).block(); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Gets the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param expand Expands referenced resources. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -359,6 +154,10 @@ public Mono> getByResourceGroupWithResponseAsync(St return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -367,22 +166,18 @@ public Mono> getByResourceGroupWithResponseAsync(St return Mono .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - virtualRouterName, apiVersion, this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualRouterName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -398,6 +193,10 @@ private Mono> getByResourceGroupWithResponseAsync(S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -406,21 +205,17 @@ private Mono> getByResourceGroupWithResponseAsync(S return Mono .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, virtualRouterName, apiVersion, - this.client.getSubscriptionId(), expand, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualRouterName, expand, accept, context); } /** * Gets the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -437,7 +232,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName /** * Gets the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param expand Expands referenced resources. * @param context The context to associate with this operation. @@ -455,7 +250,7 @@ public Response getByResourceGroupWithResponse(String resour /** * Gets the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. @@ -471,7 +266,7 @@ public VirtualRouterInner getByResourceGroup(String resourceGroupName, String vi /** * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -486,6 +281,10 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -494,27 +293,25 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, - virtualRouterName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualRouterName, contentType, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param parameters Parameters supplied to the create or update Virtual Router. * @param context The context to associate with this operation. @@ -530,6 +327,10 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -538,26 +339,23 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, virtualRouterName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualRouterName, contentType, accept, parameters, context); } /** * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -577,7 +375,7 @@ private Mono>> createOrUpdateWithResponseAsync(String /** * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param parameters Parameters supplied to the create or update Virtual Router. * @param context The context to associate with this operation. @@ -599,7 +397,7 @@ private PollerFlux, VirtualRouterInner> beginCrea /** * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -616,7 +414,7 @@ public SyncPoller, VirtualRouterInner> beginCreat /** * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param parameters Parameters supplied to the create or update Virtual Router. * @param context The context to associate with this operation. @@ -634,7 +432,7 @@ public SyncPoller, VirtualRouterInner> beginCreat /** * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -652,7 +450,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param parameters Parameters supplied to the create or update Virtual Router. * @param context The context to associate with this operation. @@ -671,7 +469,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param parameters Parameters supplied to the create or update Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -688,7 +486,7 @@ public VirtualRouterInner createOrUpdate(String resourceGroupName, String virtua /** * Creates or updates the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualRouterName The name of the Virtual Router. * @param parameters Parameters supplied to the create or update Virtual Router. * @param context The context to associate with this operation. @@ -704,34 +502,237 @@ public VirtualRouterInner createOrUpdate(String resourceGroupName, String virtua } /** - * Lists all Virtual Routers in a resource group. + * Deletes the specified Virtual Router. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, + String virtualRouterName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualRouterName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualRouterName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the specified Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } + if (virtualRouterName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualRouterName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualRouterName, context); + } + + /** + * Deletes the specified Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualRouterName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes the specified Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualRouterName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes the specified Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName) { + return this.beginDeleteAsync(resourceGroupName, virtualRouterName).getSyncPoller(); + } + + /** + * Deletes the specified Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, virtualRouterName, context).getSyncPoller(); + } + + /** + * Deletes the specified Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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) + public Mono deleteAsync(String resourceGroupName, String virtualRouterName) { + return beginDeleteAsync(resourceGroupName, virtualRouterName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, Context context) { + return beginDeleteAsync(resourceGroupName, virtualRouterName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes the specified Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName) { + deleteAsync(resourceGroupName, virtualRouterName).block(); + } + + /** + * Deletes the specified Virtual Router. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualRouterName The name of the Virtual Router. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 virtualRouterName, Context context) { + deleteAsync(resourceGroupName, virtualRouterName, context).block(); + } + + /** + * Lists all Virtual Routers in a resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorException 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 VirtualRouter list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -740,13 +741,13 @@ private Mono> listByResourceGroupSinglePageAsy /** * Lists all Virtual Routers in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a VirtualRouter list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, @@ -755,20 +756,20 @@ private Mono> listByResourceGroupSinglePageAsy return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, apiVersion, - this.client.getSubscriptionId(), accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -776,11 +777,11 @@ private Mono> listByResourceGroupSinglePageAsy /** * Lists all Virtual Routers in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call as paginated response with {@link PagedFlux}. + * @return the response of a VirtualRouter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listByResourceGroupAsync(String resourceGroupName) { @@ -791,12 +792,12 @@ public PagedFlux listByResourceGroupAsync(String resourceGro /** * Lists all Virtual Routers in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call as paginated response with {@link PagedFlux}. + * @return the response of a VirtualRouter list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { @@ -807,11 +808,11 @@ private PagedFlux listByResourceGroupAsync(String resourceGr /** * Lists all Virtual Routers in a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call as paginated response with {@link PagedIterable}. + * @return the response of a VirtualRouter list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByResourceGroup(String resourceGroupName) { @@ -821,12 +822,12 @@ public PagedIterable listByResourceGroup(String resourceGrou /** * Lists all Virtual Routers in a resource group. * - * @param resourceGroupName The name of the 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 ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call as paginated response with {@link PagedIterable}. + * @return the response of a VirtualRouter list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { @@ -949,8 +950,8 @@ public PagedIterable list(Context context) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a VirtualRouter list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { @@ -978,8 +979,8 @@ private Mono> listByResourceGroupNextSinglePag * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ErrorException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response for ListVirtualRouters API service call along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return the response of a VirtualRouter list operation along with {@link PagedResponse} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java index b9185840d6e5..2ee50850c0da 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -14,6 +14,7 @@ import com.azure.core.annotation.HostParam; import com.azure.core.annotation.Patch; import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; import com.azure.core.annotation.Put; import com.azure.core.annotation.QueryParam; import com.azure.core.annotation.ReturnType; @@ -33,9 +34,12 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualWansClient; -import com.azure.resourcemanager.network.fluent.models.VirtualWanInner; -import com.azure.resourcemanager.network.models.ListVirtualWansResult; +import com.azure.resourcemanager.network.fluent.models.VirtualWANInner; +import com.azure.resourcemanager.network.fluent.models.VirtualWanSecurityProvidersInner; +import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; +import com.azure.resourcemanager.network.implementation.models.ListVirtualWANsResult; import com.azure.resourcemanager.network.models.TagsObject; +import com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -46,8 +50,8 @@ /** * An instance of this class provides access to all the operations defined in VirtualWansClient. */ -public final class VirtualWansClientImpl implements InnerSupportsGet, - InnerSupportsListing, InnerSupportsDelete, VirtualWansClient { +public final class VirtualWansClientImpl implements InnerSupportsGet, + InnerSupportsListing, InnerSupportsDelete, VirtualWansClient { /** * The proxy service used to perform REST calls. */ @@ -73,124 +77,142 @@ public final class VirtualWansClientImpl implements InnerSupportsGet> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("VirtualWANName") String virtualWanName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + @PathParam("VirtualWANName") String virtualWANName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("VirtualWANName") String virtualWanName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") VirtualWanInner wanParameters, @HeaderParam("Accept") String accept, + @PathParam("VirtualWANName") String virtualWANName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") VirtualWANInner wANParameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("VirtualWANName") String virtualWanName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") TagsObject wanParameters, @HeaderParam("Accept") String accept, + @PathParam("VirtualWANName") String virtualWANName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") TagsObject wANParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("VirtualWANName") String virtualWanName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("VirtualWANName") String virtualWANName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/virtualWans") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> supportedSecurityProviders( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualWANName") String virtualWANName, @HeaderParam("Accept") String accept, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/generateVpnProfile") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> generatevirtualwanvpnserverconfigurationvpnprofile( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualWANName") String virtualWANName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualWanVpnProfileParameters vpnClientParams, Context context); + @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + 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) - Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String virtualWanName) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String virtualWANName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, - virtualWanName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualWANName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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. @@ -198,51 +220,51 @@ public Mono> getByResourceGroupWithResponseAsync(Strin * @return virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String virtualWanName, Context context) { + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String virtualWANName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, virtualWanName, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualWANName, accept, context); } /** * Retrieves the details of a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String virtualWanName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, virtualWanName) + public Mono getByResourceGroupAsync(String resourceGroupName, String virtualWANName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, virtualWANName) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** * Retrieves the details of a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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. @@ -250,32 +272,32 @@ public Mono getByResourceGroupAsync(String resourceGroupName, S * @return virtualWAN Resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, String virtualWanName, + public Response getByResourceGroupWithResponse(String resourceGroupName, String virtualWANName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, virtualWanName, context).block(); + return getByResourceGroupWithResponseAsync(resourceGroupName, virtualWANName, context).block(); } /** * Retrieves the details of a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualWanInner getByResourceGroup(String resourceGroupName, String virtualWanName) { - return getByResourceGroupWithResponse(resourceGroupName, virtualWanName, Context.NONE).getValue(); + public VirtualWANInner getByResourceGroup(String resourceGroupName, String virtualWANName) { + return getByResourceGroupWithResponse(resourceGroupName, virtualWANName, Context.NONE).getValue(); } /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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. @@ -283,7 +305,7 @@ public VirtualWanInner getByResourceGroup(String resourceGroupName, String virtu */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String virtualWanName, VirtualWanInner wanParameters) { + String virtualWANName, VirtualWANInner wANParameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -296,28 +318,30 @@ public Mono>> createOrUpdateWithResponseAsync(String r return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } - if (wanParameters == null) { - return Mono.error(new IllegalArgumentException("Parameter wanParameters is required and cannot be null.")); + if (wANParameters == null) { + return Mono.error(new IllegalArgumentException("Parameter wANParameters is required and cannot be null.")); } else { - wanParameters.validate(); + wANParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualWanName, apiVersion, wanParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualWANName, contentType, accept, wANParameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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. @@ -326,7 +350,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String virtualWanName, VirtualWanInner wanParameters, Context context) { + String virtualWANName, VirtualWANInner wANParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -339,47 +363,48 @@ private Mono>> createOrUpdateWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } - if (wanParameters == null) { - return Mono.error(new IllegalArgumentException("Parameter wanParameters is required and cannot be null.")); + if (wANParameters == null) { + return Mono.error(new IllegalArgumentException("Parameter wANParameters is required and cannot be null.")); } else { - wanParameters.validate(); + wANParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualWanName, apiVersion, wanParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualWANName, contentType, accept, wANParameters, context); } /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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 virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VirtualWanInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualWanName, VirtualWanInner wanParameters) { + public PollerFlux, VirtualWANInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualWANName, VirtualWANInner wANParameters) { Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, virtualWanName, wanParameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - VirtualWanInner.class, VirtualWanInner.class, this.client.getContext()); + = createOrUpdateWithResponseAsync(resourceGroupName, virtualWANName, wANParameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + VirtualWANInner.class, VirtualWANInner.class, this.client.getContext()); } /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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. @@ -387,38 +412,38 @@ public PollerFlux, VirtualWanInner> beginCreateOrUpd * @return the {@link PollerFlux} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VirtualWanInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualWanName, VirtualWanInner wanParameters, Context context) { + private PollerFlux, VirtualWANInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualWANName, VirtualWANInner wANParameters, Context context) { context = this.client.mergeContext(context); Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, virtualWanName, wanParameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - VirtualWanInner.class, VirtualWanInner.class, context); + = createOrUpdateWithResponseAsync(resourceGroupName, virtualWANName, wANParameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + VirtualWANInner.class, VirtualWANInner.class, context); } /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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 virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, - String virtualWanName, VirtualWanInner wanParameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, virtualWanName, wanParameters).getSyncPoller(); + public SyncPoller, VirtualWANInner> beginCreateOrUpdate(String resourceGroupName, + String virtualWANName, VirtualWANInner wANParameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters).getSyncPoller(); } /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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. @@ -426,35 +451,35 @@ public SyncPoller, VirtualWanInner> beginCreateOrUpd * @return the {@link SyncPoller} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, - String virtualWanName, VirtualWanInner wanParameters, Context context) { - return this.beginCreateOrUpdateAsync(resourceGroupName, virtualWanName, wanParameters, context).getSyncPoller(); + public SyncPoller, VirtualWANInner> beginCreateOrUpdate(String resourceGroupName, + String virtualWANName, VirtualWANInner wANParameters, Context context) { + return this.beginCreateOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters, context).getSyncPoller(); } /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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 virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String virtualWanName, - VirtualWanInner wanParameters) { - return beginCreateOrUpdateAsync(resourceGroupName, virtualWanName, wanParameters).last() + public Mono createOrUpdateAsync(String resourceGroupName, String virtualWANName, + VirtualWANInner wANParameters) { + return beginCreateOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters).last() .flatMap(this.client::getLroFinalResultOrError); } /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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. @@ -462,35 +487,35 @@ public Mono createOrUpdateAsync(String resourceGroupName, Strin * @return virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String virtualWanName, - VirtualWanInner wanParameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, virtualWanName, wanParameters, context).last() + private Mono createOrUpdateAsync(String resourceGroupName, String virtualWANName, + VirtualWANInner wANParameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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 virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWanName, - VirtualWanInner wanParameters) { - return createOrUpdateAsync(resourceGroupName, virtualWanName, wanParameters).block(); + public VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWANName, + VirtualWANInner wANParameters) { + return createOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters).block(); } /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being created or updated. - * @param wanParameters Parameters supplied to create or update VirtualWAN. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to create or update VirtualWAN. * @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. @@ -498,25 +523,25 @@ public VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWa * @return virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWanName, - VirtualWanInner wanParameters, Context context) { - return createOrUpdateAsync(resourceGroupName, virtualWanName, wanParameters, context).block(); + public VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWANName, + VirtualWANInner wANParameters, Context context) { + return createOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters, context).block(); } /** * Updates a VirtualWAN tags. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being updated. - * @param wanParameters Parameters supplied to Update VirtualWAN tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to Update VirtualWAN tags. * @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 virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWanName, - TagsObject wanParameters) { + public Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWANName, + TagsObject wANParameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -529,28 +554,30 @@ public Mono> updateTagsWithResponseAsync(String resour return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } - if (wanParameters == null) { - return Mono.error(new IllegalArgumentException("Parameter wanParameters is required and cannot be null.")); + if (wANParameters == null) { + return Mono.error(new IllegalArgumentException("Parameter wANParameters is required and cannot be null.")); } else { - wanParameters.validate(); + wANParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualWanName, apiVersion, wanParameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualWANName, contentType, accept, wANParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates a VirtualWAN tags. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being updated. - * @param wanParameters Parameters supplied to Update VirtualWAN tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to Update VirtualWAN tags. * @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. @@ -558,8 +585,8 @@ public Mono> updateTagsWithResponseAsync(String resour * @return virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWanName, - TagsObject wanParameters, Context context) { + private Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWANName, + TagsObject wANParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -572,45 +599,46 @@ private Mono> updateTagsWithResponseAsync(String resou return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } - if (wanParameters == null) { - return Mono.error(new IllegalArgumentException("Parameter wanParameters is required and cannot be null.")); + if (wANParameters == null) { + return Mono.error(new IllegalArgumentException("Parameter wANParameters is required and cannot be null.")); } else { - wanParameters.validate(); + wANParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualWanName, apiVersion, wanParameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualWANName, contentType, accept, wANParameters, context); } /** * Updates a VirtualWAN tags. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being updated. - * @param wanParameters Parameters supplied to Update VirtualWAN tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to Update VirtualWAN tags. * @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 virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String virtualWanName, - TagsObject wanParameters) { - return updateTagsWithResponseAsync(resourceGroupName, virtualWanName, wanParameters) + public Mono updateTagsAsync(String resourceGroupName, String virtualWANName, + TagsObject wANParameters) { + return updateTagsWithResponseAsync(resourceGroupName, virtualWANName, wANParameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** * Updates a VirtualWAN tags. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being updated. - * @param wanParameters Parameters supplied to Update VirtualWAN tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to Update VirtualWAN tags. * @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. @@ -618,39 +646,39 @@ public Mono updateTagsAsync(String resourceGroupName, String vi * @return virtualWAN Resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, String virtualWanName, - TagsObject wanParameters, Context context) { - return updateTagsWithResponseAsync(resourceGroupName, virtualWanName, wanParameters, context).block(); + public Response updateTagsWithResponse(String resourceGroupName, String virtualWANName, + TagsObject wANParameters, Context context) { + return updateTagsWithResponseAsync(resourceGroupName, virtualWANName, wANParameters, context).block(); } /** * Updates a VirtualWAN tags. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being updated. - * @param wanParameters Parameters supplied to Update VirtualWAN tags. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. + * @param wANParameters Parameters supplied to Update VirtualWAN tags. * @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 virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualWanInner updateTags(String resourceGroupName, String virtualWanName, TagsObject wanParameters) { - return updateTagsWithResponse(resourceGroupName, virtualWanName, wanParameters, Context.NONE).getValue(); + public VirtualWANInner updateTags(String resourceGroupName, String virtualWANName, TagsObject wANParameters) { + return updateTagsWithResponse(resourceGroupName, virtualWANName, wANParameters, Context.NONE).getValue(); } /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualWanName) { + public Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualWANName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -663,22 +691,21 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualWanName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualWANName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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. @@ -686,7 +713,7 @@ public Mono>> deleteWithResponseAsync(String resourceG * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualWanName, + private Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualWANName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -700,29 +727,28 @@ private Mono>> deleteWithResponseAsync(String resource return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualWanName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualWANName, context); } /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualWanName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualWanName); + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualWANName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualWANName); return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } @@ -730,8 +756,8 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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. @@ -739,10 +765,10 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualWanName, + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String virtualWANName, Context context) { context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualWanName, context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, virtualWANName, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); } @@ -750,23 +776,23 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWanName) { - return this.beginDeleteAsync(resourceGroupName, virtualWanName).getSyncPoller(); + public SyncPoller, Void> beginDelete(String resourceGroupName, String virtualWANName) { + return this.beginDeleteAsync(resourceGroupName, virtualWANName).getSyncPoller(); } /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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. @@ -774,32 +800,32 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDelete(String resourceGroupName, String virtualWanName, + public SyncPoller, Void> beginDelete(String resourceGroupName, String virtualWANName, Context context) { - return this.beginDeleteAsync(resourceGroupName, virtualWanName, context).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, virtualWANName, context).getSyncPoller(); } /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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) - public Mono deleteAsync(String resourceGroupName, String virtualWanName) { - return beginDeleteAsync(resourceGroupName, virtualWanName).last() + public Mono deleteAsync(String resourceGroupName, String virtualWANName) { + return beginDeleteAsync(resourceGroupName, virtualWANName).last() .flatMap(this.client::getLroFinalResultOrError); } /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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. @@ -807,44 +833,44 @@ public Mono deleteAsync(String resourceGroupName, String virtualWanName) { * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String virtualWanName, Context context) { - return beginDeleteAsync(resourceGroupName, virtualWanName, context).last() + private Mono deleteAsync(String resourceGroupName, String virtualWANName, Context context) { + return beginDeleteAsync(resourceGroupName, virtualWANName, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWanName) { - deleteAsync(resourceGroupName, virtualWanName).block(); + public void delete(String resourceGroupName, String virtualWANName) { + deleteAsync(resourceGroupName, virtualWANName).block(); } /** * Deletes a VirtualWAN. * - * @param resourceGroupName The resource group name of the VirtualWan. - * @param virtualWanName The name of the VirtualWAN being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN being retrieved. * @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 virtualWanName, Context context) { - deleteAsync(resourceGroupName, virtualWanName, context).block(); + public void delete(String resourceGroupName, String virtualWANName, Context context) { + deleteAsync(resourceGroupName, virtualWANName, context).block(); } /** * Lists all the VirtualWANs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualWan. + * @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. @@ -852,7 +878,7 @@ public void delete(String resourceGroupName, String virtualWanName, Context cont * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -868,9 +894,9 @@ private Mono> listByResourceGroupSinglePageAsync( final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, apiVersion, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } @@ -878,7 +904,7 @@ private Mono> listByResourceGroupSinglePageAsync( /** * Lists all the VirtualWANs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualWan. + * @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. @@ -887,7 +913,7 @@ private Mono> listByResourceGroupSinglePageAsync( * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -905,8 +931,8 @@ private Mono> listByResourceGroupSinglePageAsync( final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - apiVersion, accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -914,14 +940,14 @@ private Mono> listByResourceGroupSinglePageAsync( /** * Lists all the VirtualWANs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualWan. + * @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 result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); } @@ -929,7 +955,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGroupN /** * Lists all the VirtualWANs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualWan. + * @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. @@ -937,7 +963,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGroupN * @return result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); } @@ -945,21 +971,21 @@ private PagedFlux listByResourceGroupAsync(String resourceGroup /** * Lists all the VirtualWANs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualWan. + * @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 result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { + public PagedIterable listByResourceGroup(String resourceGroupName) { return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** * Lists all the VirtualWANs in a resource group. * - * @param resourceGroupName The resource group name of the VirtualWan. + * @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. @@ -967,7 +993,7 @@ public PagedIterable listByResourceGroup(String resourceGroupNa * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } @@ -980,7 +1006,7 @@ public PagedIterable listByResourceGroup(String resourceGroupNa * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -992,9 +1018,9 @@ private Mono> listSinglePageAsync() { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + .>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())); } @@ -1010,7 +1036,7 @@ private Mono> listSinglePageAsync() { * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1022,7 +1048,7 @@ private Mono> listSinglePageAsync(Context context final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1035,7 +1061,7 @@ private Mono> listSinglePageAsync(Context context * @return result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { + public PagedFlux listAsync() { return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); } @@ -1049,7 +1075,7 @@ public PagedFlux listAsync() { * @return result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { + private PagedFlux listAsync(Context context) { return new PagedFlux<>(() -> listSinglePageAsync(context), nextLink -> listNextSinglePageAsync(nextLink, context)); } @@ -1062,7 +1088,7 @@ private PagedFlux listAsync(Context context) { * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { + public PagedIterable list() { return new PagedIterable<>(listAsync()); } @@ -1076,10 +1102,396 @@ public PagedIterable list() { * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { + public PagedIterable list(Context context) { return new PagedIterable<>(listAsync(context)); } + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> + supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWANName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.supportedSecurityProviders(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualWANName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWANName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.supportedSecurityProviders(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualWANName, accept, context); + } + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono supportedSecurityProvidersAsync(String resourceGroupName, + String virtualWANName) { + return supportedSecurityProvidersWithResponseAsync(resourceGroupName, virtualWANName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response supportedSecurityProvidersWithResponse(String resourceGroupName, + String virtualWANName, Context context) { + return supportedSecurityProvidersWithResponseAsync(resourceGroupName, virtualWANName, context).block(); + } + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VirtualWanSecurityProvidersInner supportedSecurityProviders(String resourceGroupName, + String virtualWANName) { + return supportedSecurityProvidersWithResponse(resourceGroupName, virtualWANName, Context.NONE).getValue(); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( + String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); + } + if (vpnClientParams == null) { + return Mono + .error(new IllegalArgumentException("Parameter vpnClientParams is required and cannot be null.")); + } else { + vpnClientParams.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.generatevirtualwanvpnserverconfigurationvpnprofile( + this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualWANName, contentType, accept, vpnClientParams, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( + String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); + } + if (vpnClientParams == null) { + return Mono + .error(new IllegalArgumentException("Parameter vpnClientParams is required and cannot be null.")); + } else { + vpnClientParams.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.generatevirtualwanvpnserverconfigurationvpnprofile(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualWANName, contentType, accept, vpnClientParams, + context); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams) { + Mono>> mono = generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( + resourceGroupName, virtualWANName, vpnClientParams); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, + this.client.getContext()); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( + resourceGroupName, virtualWANName, vpnClientParams, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, context); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams) { + return this + .beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams) + .getSyncPoller(); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams, Context context) { + return this + .beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams, context) + .getSyncPoller(); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync( + String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams) { + return beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams).last().flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync( + String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, + Context context) { + return beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams, context).last().flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, + String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams) { + return generatevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams).block(); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, + String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, Context context) { + return generatevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams, context).block(); + } + /** * Get the next page of items. * @@ -1091,7 +1503,7 @@ public PagedIterable list(Context context) { * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1103,7 +1515,7 @@ private Mono> listByResourceGroupNextSinglePageAs return FluxUtil .withContext( context -> service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + .>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())); } @@ -1120,7 +1532,7 @@ private Mono> listByResourceGroupNextSinglePageAs * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1147,7 +1559,7 @@ private Mono> listByResourceGroupNextSinglePageAs * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1157,7 +1569,7 @@ private Mono> listNextSinglePageAsync(String next } final String accept = "application/json"; return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + .>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())); } @@ -1174,7 +1586,7 @@ private Mono> listNextSinglePageAsync(String next * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java index f16cce5c6ebf..fff90b8b9d87 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,9 +34,11 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VpnConnectionsClient; import com.azure.resourcemanager.network.fluent.models.VpnConnectionInner; -import com.azure.resourcemanager.network.models.ListVpnConnectionsResult; +import com.azure.resourcemanager.network.implementation.models.ListVpnConnectionsResult; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStopParameters; +import com.azure.resourcemanager.network.models.VpnConnectionsStartPacketCaptureFinalResult; +import com.azure.resourcemanager.network.models.VpnConnectionsStopPacketCaptureFinalResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -70,85 +72,80 @@ public final class VpnConnectionsClientImpl implements VpnConnectionsClient { * The interface defining all the services for NetworkManagementClientVpnConnections to be used by the proxy service * to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVpnConnections") public interface VpnConnectionsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") VpnConnectionInner vpnConnectionParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnConnectionInner vpnConnectionParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/startpacketcapture") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> startPacketCapture(@HostParam("$host") String endpoint, + Mono>> startPacketCapture(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @PathParam("vpnConnectionName") String vpnConnectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnConnectionPacketCaptureStartParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("vpnConnectionName") String vpnConnectionName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnConnectionPacketCaptureStartParameters parameters, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/stoppacketcapture") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> stopPacketCapture(@HostParam("$host") String endpoint, + Mono>> stopPacketCapture(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @PathParam("vpnConnectionName") String vpnConnectionName, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnConnectionPacketCaptureStopParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("vpnConnectionName") String vpnConnectionName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnConnectionPacketCaptureStopParameters parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByVpnGateway(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> listByVpnGateway(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByVpnGatewayNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -179,16 +176,16 @@ public Mono> getWithResponseAsync(String resourceGr final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, connectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -220,15 +217,15 @@ private Mono> getWithResponseAsync(String resourceG final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, gatewayName, - connectionName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, connectionName, accept, context); } /** * Retrieves the details of a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -244,8 +241,8 @@ public Mono getAsync(String resourceGroupName, String gatewa /** * Retrieves the details of a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -262,8 +259,8 @@ public Response getWithResponse(String resourceGroupName, St /** * Retrieves the details of a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -278,9 +275,9 @@ public VpnConnectionInner get(String resourceGroupName, String gatewayName, Stri /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -315,19 +312,21 @@ public Mono>> createOrUpdateWithResponseAsync(String r vpnConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, apiVersion, vpnConnectionParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, connectionName, contentType, accept, + vpnConnectionParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -363,18 +362,19 @@ private Mono>> createOrUpdateWithResponseAsync(String vpnConnectionParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, connectionName, apiVersion, vpnConnectionParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, connectionName, contentType, accept, vpnConnectionParameters, context); } /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -394,9 +394,9 @@ public PollerFlux, VpnConnectionInner> beginCreat /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -418,9 +418,9 @@ private PollerFlux, VpnConnectionInner> beginCrea /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -437,9 +437,9 @@ public SyncPoller, VpnConnectionInner> beginCreat /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -458,9 +458,9 @@ public SyncPoller, VpnConnectionInner> beginCreat /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -477,9 +477,9 @@ public Mono createOrUpdateAsync(String resourceGroupName, St /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -497,9 +497,9 @@ private Mono createOrUpdateAsync(String resourceGroupName, S /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -515,9 +515,9 @@ public VpnConnectionInner createOrUpdate(String resourceGroupName, String gatewa /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -535,9 +535,9 @@ public VpnConnectionInner createOrUpdate(String resourceGroupName, String gatewa /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -565,19 +565,18 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, connectionName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -606,18 +605,17 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, connectionName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, connectionName, context); } /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -634,9 +632,9 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -656,9 +654,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -673,9 +671,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -691,9 +689,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -708,9 +706,9 @@ public Mono deleteAsync(String resourceGroupName, String gatewayName, Stri /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -727,9 +725,9 @@ private Mono deleteAsync(String resourceGroupName, String gatewayName, Str /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -742,9 +740,9 @@ public void delete(String resourceGroupName, String gatewayName, String connecti /** * Deletes a vpn connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @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. @@ -758,8 +756,8 @@ public void delete(String resourceGroupName, String gatewayName, String connecti /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -775,6 +773,10 @@ public Mono>> startPacketCaptureWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -786,27 +788,23 @@ public Mono>> startPacketCaptureWithResponseAsync(Stri return Mono .error(new IllegalArgumentException("Parameter vpnConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters != null) { parameters.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.startPacketCapture(this.client.getEndpoint(), resourceGroupName, gatewayName, - vpnConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.startPacketCapture(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, vpnConnectionName, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -824,6 +822,10 @@ private Mono>> startPacketCaptureWithResponseAsync(Str return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -835,25 +837,21 @@ private Mono>> startPacketCaptureWithResponseAsync(Str return Mono .error(new IllegalArgumentException("Parameter vpnConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters != null) { parameters.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.startPacketCapture(this.client.getEndpoint(), resourceGroupName, gatewayName, vpnConnectionName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.startPacketCapture(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, vpnConnectionName, accept, parameters, context); } /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -863,19 +861,23 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters) { + public + PollerFlux, VpnConnectionsStartPacketCaptureFinalResult> + beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - this.client.getContext()); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), VpnConnectionsStartPacketCaptureFinalResult.class, + VpnConnectionsStartPacketCaptureFinalResult.class, this.client.getContext()); } /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -883,20 +885,23 @@ public PollerFlux, String> beginStartPacketCaptureAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName) { + public + PollerFlux, VpnConnectionsStartPacketCaptureFinalResult> + beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - this.client.getContext()); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), VpnConnectionsStartPacketCaptureFinalResult.class, + VpnConnectionsStartPacketCaptureFinalResult.class, this.client.getContext()); } /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -907,21 +912,24 @@ public PollerFlux, String> beginStartPacketCaptureAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, - Context context) { + private + PollerFlux, VpnConnectionsStartPacketCaptureFinalResult> + beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - context); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), VpnConnectionsStartPacketCaptureFinalResult.class, + VpnConnectionsStartPacketCaptureFinalResult.class, context); } /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -929,8 +937,9 @@ private PollerFlux, String> beginStartPacketCaptureAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName) { + public + SyncPoller, VpnConnectionsStartPacketCaptureFinalResult> + beginStartPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters) .getSyncPoller(); @@ -939,8 +948,8 @@ public SyncPoller, String> beginStartPacketCapture(String res /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -951,8 +960,10 @@ public SyncPoller, String> beginStartPacketCapture(String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context) { + public + SyncPoller, VpnConnectionsStartPacketCaptureFinalResult> + beginStartPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters, Context context) { return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .getSyncPoller(); } @@ -960,8 +971,8 @@ public SyncPoller, String> beginStartPacketCapture(String res /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -971,8 +982,8 @@ public SyncPoller, String> beginStartPacketCapture(String res * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters) { + public Mono startPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -980,8 +991,8 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String gat /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -989,8 +1000,8 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String gat * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName) { + public Mono startPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -999,8 +1010,8 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String gat /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -1011,8 +1022,9 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String gat * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters, Context context) { + private Mono startPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, + Context context) { return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -1021,8 +1033,8 @@ private Mono startPacketCaptureAsync(String resourceGroupName, String ga /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1030,7 +1042,8 @@ private Mono startPacketCaptureAsync(String resourceGroupName, String ga * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { + public VpnConnectionsStartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).block(); } @@ -1038,8 +1051,8 @@ public String startPacketCapture(String resourceGroupName, String gatewayName, S /** * Starts packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to start packet capture on gateway * connection. @@ -1050,16 +1063,16 @@ public String startPacketCapture(String resourceGroupName, String gatewayName, S * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters, Context context) { + public VpnConnectionsStartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context).block(); } /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1074,6 +1087,10 @@ public Mono>> stopPacketCaptureWithResponseAsync(Strin return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1085,26 +1102,23 @@ public Mono>> stopPacketCaptureWithResponseAsync(Strin return Mono .error(new IllegalArgumentException("Parameter vpnConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters != null) { parameters.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.stopPacketCapture(this.client.getEndpoint(), resourceGroupName, gatewayName, - vpnConnectionName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.stopPacketCapture(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, vpnConnectionName, accept, parameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @param context The context to associate with this operation. @@ -1121,6 +1135,10 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1132,25 +1150,21 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri return Mono .error(new IllegalArgumentException("Parameter vpnConnectionName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters != null) { parameters.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.stopPacketCapture(this.client.getEndpoint(), resourceGroupName, gatewayName, vpnConnectionName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context); + return service.stopPacketCapture(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, vpnConnectionName, accept, parameters, context); } /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1159,19 +1173,23 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters) { + public + PollerFlux, VpnConnectionsStopPacketCaptureFinalResult> + beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - this.client.getContext()); + return this.client + .getLroResult(mono, + this.client.getHttpPipeline(), VpnConnectionsStopPacketCaptureFinalResult.class, + VpnConnectionsStopPacketCaptureFinalResult.class, this.client.getContext()); } /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1179,20 +1197,23 @@ public PollerFlux, String> beginStopPacketCaptureAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName) { + public + PollerFlux, VpnConnectionsStopPacketCaptureFinalResult> + beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - this.client.getContext()); + return this.client + .getLroResult(mono, + this.client.getHttpPipeline(), VpnConnectionsStopPacketCaptureFinalResult.class, + VpnConnectionsStopPacketCaptureFinalResult.class, this.client.getContext()); } /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @param context The context to associate with this operation. @@ -1202,21 +1223,24 @@ public PollerFlux, String> beginStopPacketCaptureAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, - Context context) { + private + PollerFlux, VpnConnectionsStopPacketCaptureFinalResult> + beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - context); + return this.client + .getLroResult(mono, + this.client.getHttpPipeline(), VpnConnectionsStopPacketCaptureFinalResult.class, + VpnConnectionsStopPacketCaptureFinalResult.class, context); } /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1224,8 +1248,9 @@ private PollerFlux, String> beginStopPacketCaptureAsync(Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName) { + public + SyncPoller, VpnConnectionsStopPacketCaptureFinalResult> + beginStopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters) .getSyncPoller(); @@ -1234,8 +1259,8 @@ public SyncPoller, String> beginStopPacketCapture(String reso /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @param context The context to associate with this operation. @@ -1245,8 +1270,10 @@ public SyncPoller, String> beginStopPacketCapture(String reso * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context) { + public + SyncPoller, VpnConnectionsStopPacketCaptureFinalResult> + beginStopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters, Context context) { return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .getSyncPoller(); } @@ -1254,8 +1281,8 @@ public SyncPoller, String> beginStopPacketCapture(String reso /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1264,8 +1291,8 @@ public SyncPoller, String> beginStopPacketCapture(String reso * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters) { + public Mono stopPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1273,8 +1300,8 @@ public Mono stopPacketCaptureAsync(String resourceGroupName, String gate /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1282,7 +1309,8 @@ public Mono stopPacketCaptureAsync(String resourceGroupName, String gate * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName) { + public Mono stopPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1291,8 +1319,8 @@ public Mono stopPacketCaptureAsync(String resourceGroupName, String gate /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @param context The context to associate with this operation. @@ -1302,8 +1330,9 @@ public Mono stopPacketCaptureAsync(String resourceGroupName, String gate * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters, Context context) { + private Mono stopPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, + Context context) { return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -1312,8 +1341,8 @@ private Mono stopPacketCaptureAsync(String resourceGroupName, String gat /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1321,7 +1350,8 @@ private Mono stopPacketCaptureAsync(String resourceGroupName, String gat * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { + public VpnConnectionsStopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; return stopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).block(); } @@ -1329,8 +1359,8 @@ public String stopPacketCapture(String resourceGroupName, String gatewayName, St /** * Stops packet capture on Vpn connection in the specified resource group. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param vpnConnectionName The name of the vpn connection. * @param parameters Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. * @param context The context to associate with this operation. @@ -1340,15 +1370,15 @@ public String stopPacketCapture(String resourceGroupName, String gatewayName, St * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters, Context context) { + public VpnConnectionsStopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context).block(); } /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1377,8 +1407,8 @@ private Mono> listByVpnGatewaySinglePageAsync( final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByVpnGateway(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, apiVersion, accept, context)) + .withContext(context -> service.listByVpnGateway(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, 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())); @@ -1387,7 +1417,7 @@ private Mono> listByVpnGatewaySinglePageAsync( /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1418,8 +1448,8 @@ private Mono> listByVpnGatewaySinglePageAsync( final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByVpnGateway(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, apiVersion, accept, context) + .listByVpnGateway(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1427,7 +1457,7 @@ private Mono> listByVpnGatewaySinglePageAsync( /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1444,7 +1474,7 @@ public PagedFlux listByVpnGatewayAsync(String resourceGroupN /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1463,7 +1493,7 @@ private PagedFlux listByVpnGatewayAsync(String resourceGroup /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1479,7 +1509,7 @@ public PagedIterable listByVpnGateway(String resourceGroupNa /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java index 18742ba36a8a..b84fa2745162 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -35,7 +35,9 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VpnGatewaysClient; import com.azure.resourcemanager.network.fluent.models.VpnGatewayInner; -import com.azure.resourcemanager.network.models.ListVpnGatewaysResult; +import com.azure.resourcemanager.network.implementation.models.ListVpnGatewaysResult; +import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult2; +import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult2; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStopParameters; @@ -76,101 +78,98 @@ public final class VpnGatewaysClientImpl implements InnerSupportsGet> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") VpnGatewayInner vpnGatewayParameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnGatewayInner vpnGatewayParameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateTags(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") TagsObject vpnGatewayParameters, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject vpnGatewayParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset") - @ExpectedResponses({ 200, 202 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> reset(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @QueryParam("ipConfigurationId") String ipConfigurationId, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); + 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" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture") - @ExpectedResponses({ 200, 202 }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> startPacketCapture(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnGatewayPacketCaptureStartParameters parameters, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture") + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> stopPacketCapture(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + Mono>> reset(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @BodyParam("application/json") VpnGatewayPacketCaptureStopParameters parameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @QueryParam("ipConfigurationId") String ipConfigurationId, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways") - @ExpectedResponses({ 200 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture") + @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + Mono>> startPacketCapture(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnGatewayPacketCaptureStartParameters parameters, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways") - @ExpectedResponses({ 200 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture") + @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + Mono>> stopPacketCapture(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnGatewayPacketCaptureStopParameters parameters, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -178,13 +177,13 @@ Mono> listByResourceGroupNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -212,15 +211,15 @@ public Mono> getByResourceGroupWithResponseAsync(Strin final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, gatewayName, apiVersion, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -249,14 +248,14 @@ private Mono> getByResourceGroupWithResponseAsync(Stri final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, apiVersion, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, accept, context); } /** * Retrieves the details of a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -272,7 +271,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName, S /** * Retrieves the details of a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -289,7 +288,7 @@ public Response getByResourceGroupWithResponse(String resourceG /** * Retrieves the details of a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -304,7 +303,7 @@ public VpnGatewayInner getByResourceGroup(String resourceGroupName, String gatew /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -337,17 +336,19 @@ public Mono>> createOrUpdateWithResponseAsync(String r vpnGatewayParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, apiVersion, vpnGatewayParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, + vpnGatewayParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @param context The context to associate with this operation. @@ -381,16 +382,17 @@ private Mono>> createOrUpdateWithResponseAsync(String vpnGatewayParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, apiVersion, vpnGatewayParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, vpnGatewayParameters, context); } /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -410,7 +412,7 @@ public PollerFlux, VpnGatewayInner> beginCreateOrUpd /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @param context The context to associate with this operation. @@ -432,7 +434,7 @@ private PollerFlux, VpnGatewayInner> beginCreateOrUp /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -449,7 +451,7 @@ public SyncPoller, VpnGatewayInner> beginCreateOrUpd /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @param context The context to associate with this operation. @@ -468,7 +470,7 @@ public SyncPoller, VpnGatewayInner> beginCreateOrUpd /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -486,7 +488,7 @@ public Mono createOrUpdateAsync(String resourceGroupName, Strin /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @param context The context to associate with this operation. @@ -505,7 +507,7 @@ private Mono createOrUpdateAsync(String resourceGroupName, Stri /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -522,7 +524,7 @@ public VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayNa /** * Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to create or Update a virtual wan vpn gateway. * @param context The context to associate with this operation. @@ -540,7 +542,7 @@ public VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayNa /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -573,17 +575,19 @@ public Mono>> updateTagsWithResponseAsync(String resou vpnGatewayParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, apiVersion, vpnGatewayParameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, vpnGatewayParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @param context The context to associate with this operation. @@ -617,16 +621,17 @@ private Mono>> updateTagsWithResponseAsync(String reso vpnGatewayParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, apiVersion, vpnGatewayParameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, vpnGatewayParameters, context); } /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -646,7 +651,7 @@ public PollerFlux, VpnGatewayInner> beginUpdateTagsA /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @param context The context to associate with this operation. @@ -668,7 +673,7 @@ private PollerFlux, VpnGatewayInner> beginUpdateTags /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -685,7 +690,7 @@ public SyncPoller, VpnGatewayInner> beginUpdateTags( /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @param context The context to associate with this operation. @@ -703,7 +708,7 @@ public SyncPoller, VpnGatewayInner> beginUpdateTags( /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -721,7 +726,7 @@ public Mono updateTagsAsync(String resourceGroupName, String ga /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @param context The context to associate with this operation. @@ -740,7 +745,7 @@ private Mono updateTagsAsync(String resourceGroupName, String g /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -756,7 +761,7 @@ public VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, /** * Updates virtual wan vpn gateway tags. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. * @param context The context to associate with this operation. @@ -774,7 +779,7 @@ public VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -799,17 +804,16 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -836,16 +840,15 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, context); } /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -862,7 +865,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -882,7 +885,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -897,7 +900,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -914,7 +917,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -929,7 +932,7 @@ public Mono deleteAsync(String resourceGroupName, String gatewayName) { /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -946,7 +949,7 @@ private Mono deleteAsync(String resourceGroupName, String gatewayName, Con /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -960,7 +963,7 @@ public void delete(String resourceGroupName, String gatewayName) { /** * Deletes a virtual wan vpn gateway. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -973,281 +976,266 @@ public void delete(String resourceGroupName, String gatewayName, Context context } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. + * @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 vpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + * @return result of the request to list VpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName, - String ipConfigurationId) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.reset(this.client.getEndpoint(), resourceGroupName, gatewayName, - ipConfigurationId, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. + * @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 vpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + * @return result of the request to list VpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName, - String ipConfigurationId, Context context) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.reset(this.client.getEndpoint(), resourceGroupName, gatewayName, ipConfigurationId, apiVersion, - this.client.getSubscriptionId(), accept, context); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. + * @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 {@link PollerFlux} for polling of vpnGateway Resource. + * @return result of the request to list VpnGateways as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VpnGatewayInner> beginResetAsync(String resourceGroupName, - String gatewayName, String ipConfigurationId) { - Mono>> mono - = resetWithResponseAsync(resourceGroupName, gatewayName, ipConfigurationId); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - VpnGatewayInner.class, VpnGatewayInner.class, this.client.getContext()); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @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 {@link PollerFlux} for polling of vpnGateway Resource. + * @return result of the request to list VpnGateways as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VpnGatewayInner> beginResetAsync(String resourceGroupName, - String gatewayName) { - final String ipConfigurationId = null; - Mono>> mono - = resetWithResponseAsync(resourceGroupName, gatewayName, ipConfigurationId); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - VpnGatewayInner.class, VpnGatewayInner.class, this.client.getContext()); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. - * @param context The context to associate with this operation. + * @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 {@link PollerFlux} for polling of vpnGateway Resource. + * @return result of the request to list VpnGateways as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VpnGatewayInner> beginResetAsync(String resourceGroupName, - String gatewayName, String ipConfigurationId, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = resetWithResponseAsync(resourceGroupName, gatewayName, ipConfigurationId, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - VpnGatewayInner.class, VpnGatewayInner.class, context); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @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 {@link SyncPoller} for polling of vpnGateway Resource. + * @return result of the request to list VpnGateways as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VpnGatewayInner> beginReset(String resourceGroupName, - String gatewayName) { - final String ipConfigurationId = null; - return this.beginResetAsync(resourceGroupName, gatewayName, ipConfigurationId).getSyncPoller(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a subscription. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. - * @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 vpnGateway Resource. + * @return result of the request to list VpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VpnGatewayInner> beginReset(String resourceGroupName, - String gatewayName, String ipConfigurationId, Context context) { - return this.beginResetAsync(resourceGroupName, gatewayName, ipConfigurationId, context).getSyncPoller(); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a subscription. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. + * @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 vpnGateway Resource on successful completion of {@link Mono}. + * @return result of the request to list VpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono resetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId) { - return beginResetAsync(resourceGroupName, gatewayName, ipConfigurationId).last() - .flatMap(this.client::getLroFinalResultOrError); + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a subscription. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @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 vpnGateway Resource on successful completion of {@link Mono}. + * @return result of the request to list VpnGateways as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono resetAsync(String resourceGroupName, String gatewayName) { - final String ipConfigurationId = null; - return beginResetAsync(resourceGroupName, gatewayName, ipConfigurationId).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a subscription. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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 vpnGateway Resource on successful completion of {@link Mono}. + * @return result of the request to list VpnGateways as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono resetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId, - Context context) { - return beginResetAsync(resourceGroupName, gatewayName, ipConfigurationId, context).last() - .flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listNextSinglePageAsync(nextLink, context)); } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a subscription. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @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 vpnGateway Resource. + * @return result of the request to list VpnGateways as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnGatewayInner reset(String resourceGroupName, String gatewayName) { - final String ipConfigurationId = null; - return resetAsync(resourceGroupName, gatewayName, ipConfigurationId).block(); - } + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } /** - * Resets the primary of the vpn gateway in the specified resource group. + * Lists all the VpnGateways in a subscription. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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 vpnGateway Resource. + * @return result of the request to list VpnGateways as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnGatewayInner reset(String resourceGroupName, String gatewayName, String ipConfigurationId, - Context context) { - return resetAsync(resourceGroupName, gatewayName, ipConfigurationId, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. + * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> startPacketCaptureWithResponseAsync(String resourceGroupName, - String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) { + public Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName, + String ipConfigurationId) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1255,27 +1243,20 @@ public Mono>> startPacketCaptureWithResponseAsync(Stri if (gatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters != null) { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.startPacketCapture(this.client.getEndpoint(), resourceGroupName, - gatewayName, apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.reset(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, ipConfigurationId, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. + * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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. @@ -1283,12 +1264,16 @@ public Mono>> startPacketCaptureWithResponseAsync(Stri * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> startPacketCaptureWithResponseAsync(String resourceGroupName, - String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context) { + private Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName, + String ipConfigurationId, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1296,44 +1281,37 @@ private Mono>> startPacketCaptureWithResponseAsync(Str if (gatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (parameters != null) { - parameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.startPacketCapture(this.client.getEndpoint(), resourceGroupName, gatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.reset(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, ipConfigurationId, accept, context); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. + * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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) - public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) { + public PollerFlux, VpnGatewayInner> beginResetAsync(String resourceGroupName, + String gatewayName, String ipConfigurationId) { Mono>> mono - = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - this.client.getContext()); + = resetWithResponseAsync(resourceGroupName, gatewayName, ipConfigurationId); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + VpnGatewayInner.class, VpnGatewayInner.class, this.client.getContext()); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1341,21 +1319,21 @@ public PollerFlux, String> beginStartPacketCaptureAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + public PollerFlux, VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName) { - final VpnGatewayPacketCaptureStartParameters parameters = null; + final String ipConfigurationId = null; Mono>> mono - = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - this.client.getContext()); + = resetWithResponseAsync(resourceGroupName, gatewayName, ipConfigurationId); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + VpnGatewayInner.class, VpnGatewayInner.class, this.client.getContext()); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. + * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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. @@ -1363,19 +1341,19 @@ public PollerFlux, String> beginStartPacketCaptureAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, - String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context) { + private PollerFlux, VpnGatewayInner> beginResetAsync(String resourceGroupName, + String gatewayName, String ipConfigurationId, Context context) { context = this.client.mergeContext(context); Mono>> mono - = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, - context); + = resetWithResponseAsync(resourceGroupName, gatewayName, ipConfigurationId, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + VpnGatewayInner.class, VpnGatewayInner.class, context); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1383,18 +1361,18 @@ private PollerFlux, String> beginStartPacketCaptureAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, + public SyncPoller, VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName) { - final VpnGatewayPacketCaptureStartParameters parameters = null; - return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); + final String ipConfigurationId = null; + return this.beginResetAsync(resourceGroupName, gatewayName, ipConfigurationId).getSyncPoller(); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. + * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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. @@ -1402,33 +1380,32 @@ public SyncPoller, String> beginStartPacketCapture(String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStartParameters parameters, Context context) { - return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); + public SyncPoller, VpnGatewayInner> beginReset(String resourceGroupName, + String gatewayName, String ipConfigurationId, Context context) { + return this.beginResetAsync(resourceGroupName, gatewayName, ipConfigurationId, context).getSyncPoller(); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. + * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStartParameters parameters) { - return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() + public Mono resetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId) { + return beginResetAsync(resourceGroupName, gatewayName, ipConfigurationId).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1436,18 +1413,18 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String gat * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName) { - final VpnGatewayPacketCaptureStartParameters parameters = null; - return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() + public Mono resetAsync(String resourceGroupName, String gatewayName) { + final String ipConfigurationId = null; + return beginResetAsync(resourceGroupName, gatewayName, ipConfigurationId).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. + * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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. @@ -1455,16 +1432,16 @@ public Mono startPacketCaptureAsync(String resourceGroupName, String gat * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStartParameters parameters, Context context) { - return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).last() + private Mono resetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId, + Context context) { + return beginResetAsync(resourceGroupName, gatewayName, ipConfigurationId, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1472,17 +1449,17 @@ private Mono startPacketCaptureAsync(String resourceGroupName, String ga * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String startPacketCapture(String resourceGroupName, String gatewayName) { - final VpnGatewayPacketCaptureStartParameters parameters = null; - return startPacketCaptureAsync(resourceGroupName, gatewayName, parameters).block(); + public VpnGatewayInner reset(String resourceGroupName, String gatewayName) { + final String ipConfigurationId = null; + return resetAsync(resourceGroupName, gatewayName, ipConfigurationId).block(); } /** - * Starts packet capture on vpn gateway in the specified resource group. + * Resets the primary of the vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. + * @param ipConfigurationId VpnGateway ipConfigurationId to specify the gateway instance. * @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. @@ -1490,29 +1467,33 @@ public String startPacketCapture(String resourceGroupName, String gatewayName) { * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String startPacketCapture(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStartParameters parameters, Context context) { - return startPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).block(); + public VpnGatewayInner reset(String resourceGroupName, String gatewayName, String ipConfigurationId, + Context context) { + return resetAsync(resourceGroupName, gatewayName, ipConfigurationId, context).block(); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. + * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @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} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> stopPacketCaptureWithResponseAsync(String resourceGroupName, - String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) { + public Mono>> startPacketCaptureWithResponseAsync(String resourceGroupName, + String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1520,27 +1501,23 @@ public Mono>> stopPacketCaptureWithResponseAsync(Strin if (gatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters != null) { parameters.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.stopPacketCapture(this.client.getEndpoint(), resourceGroupName, gatewayName, - apiVersion, this.client.getSubscriptionId(), parameters, accept, context)) + .withContext(context -> service.startPacketCapture(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. + * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @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. @@ -1548,12 +1525,16 @@ public Mono>> stopPacketCaptureWithResponseAsync(Strin * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> stopPacketCaptureWithResponseAsync(String resourceGroupName, - String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context) { + private Mono>> startPacketCaptureWithResponseAsync(String resourceGroupName, + String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1561,44 +1542,42 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri if (gatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters != null) { parameters.validate(); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.stopPacketCapture(this.client.getEndpoint(), resourceGroupName, gatewayName, apiVersion, - this.client.getSubscriptionId(), parameters, accept, context); + return service.startPacketCapture(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, accept, parameters, context); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. + * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @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) - public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) { + public PollerFlux, StartPacketCaptureFinalResult2> + beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStartParameters parameters) { Mono>> mono - = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StartPacketCaptureFinalResult2.class, StartPacketCaptureFinalResult2.class, this.client.getContext()); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1606,21 +1585,22 @@ public PollerFlux, String> beginStopPacketCaptureAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String gatewayName) { - final VpnGatewayPacketCaptureStopParameters parameters = null; + public PollerFlux, StartPacketCaptureFinalResult2> + beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName) { + final VpnGatewayPacketCaptureStartParameters parameters = null; Mono>> mono - = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StartPacketCaptureFinalResult2.class, StartPacketCaptureFinalResult2.class, this.client.getContext()); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. + * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @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. @@ -1628,19 +1608,21 @@ public PollerFlux, String> beginStopPacketCaptureAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, - String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context) { + private PollerFlux, StartPacketCaptureFinalResult2> + beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStartParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono - = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StartPacketCaptureFinalResult2.class, StartPacketCaptureFinalResult2.class, context); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1648,17 +1630,18 @@ private PollerFlux, String> beginStopPacketCaptureAsync(Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName) { - final VpnGatewayPacketCaptureStopParameters parameters = null; - return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); + public SyncPoller, StartPacketCaptureFinalResult2> + beginStartPacketCapture(String resourceGroupName, String gatewayName) { + final VpnGatewayPacketCaptureStartParameters parameters = null; + return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. + * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @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. @@ -1666,33 +1649,34 @@ public SyncPoller, String> beginStopPacketCapture(String reso * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStopParameters parameters, Context context) { - return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); + public SyncPoller, StartPacketCaptureFinalResult2> + beginStartPacketCapture(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStartParameters parameters, Context context) { + return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. + * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @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 on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStopParameters parameters) { - return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() + public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStartParameters parameters) { + return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1700,18 +1684,18 @@ public Mono stopPacketCaptureAsync(String resourceGroupName, String gate * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName) { - final VpnGatewayPacketCaptureStopParameters parameters = null; - return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() + public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName) { + final VpnGatewayPacketCaptureStartParameters parameters = null; + return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. + * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @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. @@ -1719,16 +1703,16 @@ public Mono stopPacketCaptureAsync(String resourceGroupName, String gate * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStopParameters parameters, Context context) { - return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).last() + private Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStartParameters parameters, Context context) { + return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1736,17 +1720,17 @@ private Mono stopPacketCaptureAsync(String resourceGroupName, String gat * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String stopPacketCapture(String resourceGroupName, String gatewayName) { - final VpnGatewayPacketCaptureStopParameters parameters = null; - return stopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).block(); + public StartPacketCaptureFinalResult2 startPacketCapture(String resourceGroupName, String gatewayName) { + final VpnGatewayPacketCaptureStartParameters parameters = null; + return startPacketCaptureAsync(resourceGroupName, gatewayName, parameters).block(); } /** - * Stops packet capture on vpn gateway in the specified resource group. + * Starts packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. - * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. + * @param parameters Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway. * @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. @@ -1754,23 +1738,25 @@ public String stopPacketCapture(String resourceGroupName, String gatewayName) { * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String stopPacketCapture(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStopParameters parameters, Context context) { - return stopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).block(); + public StartPacketCaptureFinalResult2 startPacketCapture(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStartParameters parameters, Context context) { + return startPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).block(); } /** - * Lists all the VpnGateways in a resource group. + * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @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 result of the request to list VpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + public Mono>> stopPacketCaptureWithResponseAsync(String resourceGroupName, + String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1783,30 +1769,35 @@ private Mono> listByResourceGroupSinglePageAsync( return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (parameters != null) { + parameters.validate(); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, apiVersion, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.stopPacketCapture(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Lists all the VpnGateways in a resource group. + * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @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 result of the request to list VpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { + private Mono>> stopPacketCaptureWithResponseAsync(String resourceGroupName, + String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1819,183 +1810,208 @@ private Mono> listByResourceGroupSinglePageAsync( return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (parameters != null) { + parameters.validate(); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.stopPacketCapture(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, accept, parameters, context); } /** - * Lists all the VpnGateways in a resource group. + * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @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 result of the request to list VpnGateways as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, StopPacketCaptureFinalResult2> + beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStopParameters parameters) { + Mono>> mono + = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StopPacketCaptureFinalResult2.class, StopPacketCaptureFinalResult2.class, + this.client.getContext()); } /** - * Lists all the VpnGateways in a resource group. + * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. * @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 result of the request to list VpnGateways as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, StopPacketCaptureFinalResult2> + beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName) { + final VpnGatewayPacketCaptureStopParameters parameters = null; + Mono>> mono + = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StopPacketCaptureFinalResult2.class, StopPacketCaptureFinalResult2.class, + this.client.getContext()); } /** - * Lists all the VpnGateways in a resource group. + * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. + * @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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, StopPacketCaptureFinalResult2> + beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStopParameters parameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), StopPacketCaptureFinalResult2.class, StopPacketCaptureFinalResult2.class, + context); } /** - * Lists all the VpnGateways in a resource group. + * Stops packet capture on vpn gateway in the specified resource group. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. * @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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, StopPacketCaptureFinalResult2> + beginStopPacketCapture(String resourceGroupName, String gatewayName) { + final VpnGatewayPacketCaptureStopParameters parameters = null; + return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); } /** - * Lists all the VpnGateways in a subscription. + * Stops packet capture on vpn gateway in the specified resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. + * @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 result of the request to list VpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - 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())); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, StopPacketCaptureFinalResult2> beginStopPacketCapture( + String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, + Context context) { + return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); } /** - * Lists all the VpnGateways in a subscription. + * Stops packet capture on vpn gateway in the specified resource group. * - * @param context The context to associate with this operation. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @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 result of the request to list VpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStopParameters parameters) { + return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Lists all the VpnGateways in a subscription. + * Stops packet capture on vpn gateway in the specified resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 result of the request to list VpnGateways as paginated response with {@link PagedFlux}. + * @return the response body on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName) { + final VpnGatewayPacketCaptureStopParameters parameters = null; + return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Lists all the VpnGateways in a subscription. + * Stops packet capture on vpn gateway in the specified resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @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 result of the request to list VpnGateways as paginated response with {@link PagedFlux}. + * @return the response body on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStopParameters parameters, Context context) { + return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Lists all the VpnGateways in a subscription. + * Stops packet capture on vpn gateway in the specified resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. + * @return the response. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.SINGLE) + public StopPacketCaptureFinalResult2 stopPacketCapture(String resourceGroupName, String gatewayName) { + final VpnGatewayPacketCaptureStopParameters parameters = null; + return stopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).block(); } /** - * Lists all the VpnGateways in a subscription. + * Stops packet capture on vpn gateway in the specified resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway. * @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 result of the request to list VpnGateways as paginated response with {@link PagedIterable}. + * @return the response. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public StopPacketCaptureFinalResult2 stopPacketCapture(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStopParameters parameters, Context context) { + return stopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java index 3d243afc31dd..b9f3cd50e386 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,8 +34,9 @@ import com.azure.resourcemanager.network.fluent.VpnLinkConnectionsClient; import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyResultInner; import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkConnectionInner; -import com.azure.resourcemanager.network.models.ConnectionSharedKeyResultList; -import com.azure.resourcemanager.network.models.ListVpnSiteLinkConnectionsResult; +import com.azure.resourcemanager.network.implementation.models.ConnectionSharedKeyResultList; +import com.azure.resourcemanager.network.implementation.models.ListVpnSiteLinkConnectionsResult; +import com.azure.resourcemanager.network.models.GetIkeSasFinalResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -69,92 +70,90 @@ public final class VpnLinkConnectionsClientImpl implements VpnLinkConnectionsCli * The interface defining all the services for NetworkManagementClientVpnLinkConnections to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVpnLinkConnections") public interface VpnLinkConnectionsService { @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection") - @ExpectedResponses({ 202 }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> resetConnection(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> getDefaultSharedKey(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, @PathParam("connectionName") String connectionName, - @PathParam("linkConnectionName") String linkConnectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("linkConnectionName") String linkConnectionName, @HeaderParam("Accept") String accept, + Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys") - @ExpectedResponses({ 200 }) + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default") + @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getAllSharedKeys(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> setOrInitDefaultSharedKey(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, @PathParam("connectionName") String connectionName, - @PathParam("linkConnectionName") String linkConnectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("linkConnectionName") String linkConnectionName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") ConnectionSharedKeyResultInner connectionSharedKeyParameters, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getDefaultSharedKey(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> getAllSharedKeys(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, @PathParam("connectionName") String connectionName, - @PathParam("linkConnectionName") String linkConnectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("linkConnectionName") String linkConnectionName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default") - @ExpectedResponses({ 200, 201 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default/listSharedKey") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> setOrInitDefaultSharedKey(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> listDefaultSharedKey(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, @PathParam("connectionName") String connectionName, - @PathParam("linkConnectionName") String linkConnectionName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") ConnectionSharedKeyResultInner connectionSharedKeyParameters, - @HeaderParam("Accept") String accept, Context context); + @PathParam("linkConnectionName") String linkConnectionName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default/listSharedKey") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listDefaultSharedKey(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> listByVpnConnection(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @PathParam("connectionName") String connectionName, - @PathParam("linkConnectionName") String linkConnectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/getikesas") - @ExpectedResponses({ 200, 202 }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection") + @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getIkeSas(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> resetConnection(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, @PathParam("connectionName") String connectionName, - @PathParam("linkConnectionName") String linkConnectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("linkConnectionName") String linkConnectionName, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections") - @ExpectedResponses({ 200 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/getikesas") + @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByVpnConnection(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> getIkeSas(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @PathParam("connectionName") String connectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("connectionName") String connectionName, + @PathParam("linkConnectionName") String linkConnectionName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getAllSharedKeysNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -162,24 +161,25 @@ Mono> getAllSharedKeysNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByVpnConnectionNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** - * Resets the VpnLink connection specified. + * Gets the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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}. + * @return the shared key of VpnLink connection specified along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> resetConnectionWithResponseAsync(String resourceGroupName, + public Mono> getDefaultSharedKeyWithResponseAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -206,27 +206,30 @@ public Mono>> resetConnectionWithResponseAsync(String final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.resetConnection(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, linkConnectionName, apiVersion, accept, context)) + .withContext(context -> service.getDefaultSharedKey(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, connectionName, linkConnectionName, + accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Resets the VpnLink connection specified. + * Gets the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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 Response} on successful completion of {@link Mono}. + * @return the shared key of VpnLink connection specified along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> resetConnectionWithResponseAsync(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName, Context context) { + private Mono> getDefaultSharedKeyWithResponseAsync( + String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -252,185 +255,87 @@ private Mono>> resetConnectionWithResponseAsync(String final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.resetConnection(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, connectionName, linkConnectionName, apiVersion, accept, context); - } - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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) - public PollerFlux, Void> beginResetConnectionAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName) { - Mono>> mono - = resetConnectionWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginResetConnectionAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono = resetConnectionWithResponseAsync(resourceGroupName, gatewayName, - connectionName, linkConnectionName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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> beginResetConnection(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName) { - return this.beginResetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName) - .getSyncPoller(); - } - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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> beginResetConnection(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName, Context context) { - return this - .beginResetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context) - .getSyncPoller(); + return service.getDefaultSharedKey(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, connectionName, linkConnectionName, accept, context); } /** - * Resets the VpnLink connection specified. + * Gets the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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. + * @return the shared key of VpnLink connection specified on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono resetConnectionAsync(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName) { - return beginResetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).last() - .flatMap(this.client::getLroFinalResultOrError); + public Mono getDefaultSharedKeyAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName) { + return getDefaultSharedKeyWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Resets the VpnLink connection specified. + * Gets the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono resetConnectionAsync(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName, Context context) { - return beginResetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context) - .last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Resets the VpnLink connection specified. - * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn link connection. - * @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 shared key of VpnLink connection specified along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void resetConnection(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName) { - resetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).block(); + public Response getDefaultSharedKeyWithResponse(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName, Context context) { + return getDefaultSharedKeyWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, + context).block(); } /** - * Resets the VpnLink connection specified. + * Gets the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. - * @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 shared key of VpnLink connection specified. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void resetConnection(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName, Context context) { - resetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context).block(); + public ConnectionSharedKeyResultInner getDefaultSharedKey(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName) { + return getDefaultSharedKeyWithResponse(resourceGroupName, gatewayName, connectionName, linkConnectionName, + Context.NONE).getValue(); } /** - * Lists all shared keys of VpnLink connection specified. + * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set + * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. + * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link + * connection. * @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 list of shared keys for the vpn link connection along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return sharedKey Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getAllSharedKeysSinglePageAsync( - String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { + public Mono>> setOrInitDefaultSharedKeyWithResponseAsync(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName, + ConnectionSharedKeyResultInner connectionSharedKeyParameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -453,34 +358,42 @@ private Mono> getAllSharedKeysSing return Mono .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); } + if (connectionSharedKeyParameters == null) { + return Mono.error(new IllegalArgumentException( + "Parameter connectionSharedKeyParameters is required and cannot be null.")); + } else { + connectionSharedKeyParameters.validate(); + } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getAllSharedKeys(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, linkConnectionName, apiVersion, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .withContext(context -> service.setOrInitDefaultSharedKey(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, connectionName, linkConnectionName, + contentType, accept, connectionSharedKeyParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Lists all shared keys of VpnLink connection specified. + * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set + * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. + * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link + * connection. * @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 list of shared keys for the vpn link connection along with {@link PagedResponse} on successful - * completion of {@link Mono}. + * @return sharedKey Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getAllSharedKeysSinglePageAsync( - String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, - Context context) { + private Mono>> setOrInitDefaultSharedKeyWithResponseAsync(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName, + ConnectionSharedKeyResultInner connectionSharedKeyParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -503,266 +416,236 @@ private Mono> getAllSharedKeysSing return Mono .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); } + if (connectionSharedKeyParameters == null) { + return Mono.error(new IllegalArgumentException( + "Parameter connectionSharedKeyParameters is required and cannot be null.")); + } else { + connectionSharedKeyParameters.validate(); + } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .getAllSharedKeys(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, connectionName, linkConnectionName, apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.setOrInitDefaultSharedKey(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, connectionName, linkConnectionName, contentType, accept, + connectionSharedKeyParameters, context); } /** - * Lists all shared keys of VpnLink connection specified. + * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set + * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. + * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link + * connection. * @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 list of shared keys for the vpn link connection as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of sharedKey Resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getAllSharedKeysAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName) { - return new PagedFlux<>( - () -> getAllSharedKeysSinglePageAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName), - nextLink -> getAllSharedKeysNextSinglePageAsync(nextLink)); - } - - /** - * Lists all shared keys of VpnLink connection specified. + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, ConnectionSharedKeyResultInner> + beginSetOrInitDefaultSharedKeyAsync(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters) { + Mono>> mono = setOrInitDefaultSharedKeyWithResponseAsync(resourceGroupName, + gatewayName, connectionName, linkConnectionName, connectionSharedKeyParameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ConnectionSharedKeyResultInner.class, ConnectionSharedKeyResultInner.class, + this.client.getContext()); + } + + /** + * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set + * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. + * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link + * connection. * @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 list of shared keys for the vpn link connection as paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of sharedKey Resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getAllSharedKeysAsync(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName, Context context) { - return new PagedFlux<>(() -> getAllSharedKeysSinglePageAsync(resourceGroupName, gatewayName, connectionName, - linkConnectionName, context), nextLink -> getAllSharedKeysNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, ConnectionSharedKeyResultInner> + beginSetOrInitDefaultSharedKeyAsync(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = setOrInitDefaultSharedKeyWithResponseAsync(resourceGroupName, + gatewayName, connectionName, linkConnectionName, connectionSharedKeyParameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ConnectionSharedKeyResultInner.class, ConnectionSharedKeyResultInner.class, + context); } /** - * Lists all shared keys of VpnLink connection specified. + * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set + * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. + * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link + * connection. * @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 list of shared keys for the vpn link connection as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of sharedKey Resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getAllSharedKeys(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName) { - return new PagedIterable<>( - getAllSharedKeysAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, ConnectionSharedKeyResultInner> + beginSetOrInitDefaultSharedKey(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters) { + return this + .beginSetOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, + connectionSharedKeyParameters) + .getSyncPoller(); } /** - * Lists all shared keys of VpnLink connection specified. + * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set + * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. + * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link + * connection. * @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 list of shared keys for the vpn link connection as paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of sharedKey Resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getAllSharedKeys(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName, Context context) { - return new PagedIterable<>( - getAllSharedKeysAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, ConnectionSharedKeyResultInner> + beginSetOrInitDefaultSharedKey(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters, Context context) { + return this + .beginSetOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, + connectionSharedKeyParameters, context) + .getSyncPoller(); } /** - * Gets the shared key of VpnLink connection specified. + * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set + * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. + * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link + * connection. * @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 shared key of VpnLink connection specified along with {@link Response} on successful completion of - * {@link Mono}. + * @return sharedKey Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getDefaultSharedKeyWithResponseAsync(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (connectionName == null) { - return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); - } - if (linkConnectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.getDefaultSharedKey(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, linkConnectionName, apiVersion, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + public Mono setOrInitDefaultSharedKeyAsync(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName, + ConnectionSharedKeyResultInner connectionSharedKeyParameters) { + return beginSetOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, + connectionSharedKeyParameters).last().flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the shared key of VpnLink connection specified. + * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set + * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. + * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link + * connection. * @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 shared key of VpnLink connection specified along with {@link Response} on successful completion of - * {@link Mono}. + * @return sharedKey Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getDefaultSharedKeyWithResponseAsync( - String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (connectionName == null) { - return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); - } - if (linkConnectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getDefaultSharedKey(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, linkConnectionName, apiVersion, accept, context); + private Mono setOrInitDefaultSharedKeyAsync(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName, + ConnectionSharedKeyResultInner connectionSharedKeyParameters, Context context) { + return beginSetOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, + connectionSharedKeyParameters, context).last().flatMap(this.client::getLroFinalResultOrError); } /** - * Gets the shared key of VpnLink connection specified. + * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set + * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. + * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link + * connection. * @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 shared key of VpnLink connection specified on successful completion of {@link Mono}. + * @return sharedKey Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getDefaultSharedKeyAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName) { - return getDefaultSharedKeyWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public ConnectionSharedKeyResultInner setOrInitDefaultSharedKey(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName, + ConnectionSharedKeyResultInner connectionSharedKeyParameters) { + return setOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, + connectionSharedKeyParameters).block(); } /** - * Gets the shared key of VpnLink connection specified. + * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set + * operation. If key length is given, the operation creates a random key of the pre-defined length. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. + * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link + * connection. * @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 shared key of VpnLink connection specified along with {@link Response}. + * @return sharedKey Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getDefaultSharedKeyWithResponse(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName, Context context) { - return getDefaultSharedKeyWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, - context).block(); + public ConnectionSharedKeyResultInner setOrInitDefaultSharedKey(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters, + Context context) { + return setOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, + connectionSharedKeyParameters, context).block(); } /** - * Gets the shared key of VpnLink connection specified. + * Lists all shared keys of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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 shared key of VpnLink connection specified. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ConnectionSharedKeyResultInner getDefaultSharedKey(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName) { - return getDefaultSharedKeyWithResponse(resourceGroupName, gatewayName, connectionName, linkConnectionName, - Context.NONE).getValue(); - } - - /** - * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set - * operation. If key length is given, the operation creates a random key of the pre-defined length. - * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. - * @param linkConnectionName The name of the vpn link connection. - * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link - * connection. - * @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 sharedKey Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the list of shared keys for the vpn link connection along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> setOrInitDefaultSharedKeyWithResponseAsync(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName, - ConnectionSharedKeyResultInner connectionSharedKeyParameters) { + private Mono> getAllSharedKeysSinglePageAsync( + String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -785,41 +668,35 @@ public Mono>> setOrInitDefaultSharedKeyWithResponseAsy return Mono .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); } - if (connectionSharedKeyParameters == null) { - return Mono.error(new IllegalArgumentException( - "Parameter connectionSharedKeyParameters is required and cannot be null.")); - } else { - connectionSharedKeyParameters.validate(); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.setOrInitDefaultSharedKey(this.client.getEndpoint(), + .withContext(context -> service.getAllSharedKeys(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, gatewayName, connectionName, linkConnectionName, - apiVersion, connectionSharedKeyParameters, accept, context)) + 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())); } /** - * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set - * operation. If key length is given, the operation creates a random key of the pre-defined length. + * Lists all shared keys of VpnLink connection specified. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. - * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link - * connection. * @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 sharedKey Resource along with {@link Response} on successful completion of {@link Mono}. + * @return the list of shared keys for the vpn link connection along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> setOrInitDefaultSharedKeyWithResponseAsync(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName, - ConnectionSharedKeyResultInner connectionSharedKeyParameters, Context context) { + private Mono> getAllSharedKeysSinglePageAsync( + String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -833,233 +710,109 @@ private Mono>> setOrInitDefaultSharedKeyWithResponseAs .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (connectionName == null) { - return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); - } - if (linkConnectionName == null) { - return Mono - .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); - } - if (connectionSharedKeyParameters == null) { - return Mono.error(new IllegalArgumentException( - "Parameter connectionSharedKeyParameters is required and cannot be null.")); - } else { - connectionSharedKeyParameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.setOrInitDefaultSharedKey(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, linkConnectionName, apiVersion, - connectionSharedKeyParameters, accept, context); - } - - /** - * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set - * operation. If key length is given, the operation creates a random key of the pre-defined length. - * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. - * @param linkConnectionName The name of the vpn link connection. - * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link - * connection. - * @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 sharedKey Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ConnectionSharedKeyResultInner> - beginSetOrInitDefaultSharedKeyAsync(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters) { - Mono>> mono = setOrInitDefaultSharedKeyWithResponseAsync(resourceGroupName, - gatewayName, connectionName, linkConnectionName, connectionSharedKeyParameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ConnectionSharedKeyResultInner.class, ConnectionSharedKeyResultInner.class, - this.client.getContext()); - } - - /** - * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set - * operation. If key length is given, the operation creates a random key of the pre-defined length. - * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. - * @param linkConnectionName The name of the vpn link connection. - * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link - * connection. - * @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 PollerFlux} for polling of sharedKey Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ConnectionSharedKeyResultInner> - beginSetOrInitDefaultSharedKeyAsync(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono = setOrInitDefaultSharedKeyWithResponseAsync(resourceGroupName, - gatewayName, connectionName, linkConnectionName, connectionSharedKeyParameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ConnectionSharedKeyResultInner.class, ConnectionSharedKeyResultInner.class, - context); - } - - /** - * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set - * operation. If key length is given, the operation creates a random key of the pre-defined length. - * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. - * @param linkConnectionName The name of the vpn link connection. - * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link - * connection. - * @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 sharedKey Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ConnectionSharedKeyResultInner> - beginSetOrInitDefaultSharedKey(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters) { - return this - .beginSetOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, - connectionSharedKeyParameters) - .getSyncPoller(); - } - - /** - * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set - * operation. If key length is given, the operation creates a random key of the pre-defined length. - * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. - * @param linkConnectionName The name of the vpn link connection. - * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link - * connection. - * @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 sharedKey Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ConnectionSharedKeyResultInner> - beginSetOrInitDefaultSharedKey(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters, Context context) { - return this - .beginSetOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, - connectionSharedKeyParameters, context) - .getSyncPoller(); + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (connectionName == null) { + return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); + } + if (linkConnectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .getAllSharedKeys(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, connectionName, linkConnectionName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } /** - * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set - * operation. If key length is given, the operation creates a random key of the pre-defined length. + * Lists all shared keys of VpnLink connection specified. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. - * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link - * connection. * @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 sharedKey Resource on successful completion of {@link Mono}. + * @return the list of shared keys for the vpn link connection as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono setOrInitDefaultSharedKeyAsync(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName, - ConnectionSharedKeyResultInner connectionSharedKeyParameters) { - return beginSetOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, - connectionSharedKeyParameters).last().flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getAllSharedKeysAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName) { + return new PagedFlux<>( + () -> getAllSharedKeysSinglePageAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName), + nextLink -> getAllSharedKeysNextSinglePageAsync(nextLink)); } /** - * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set - * operation. If key length is given, the operation creates a random key of the pre-defined length. + * Lists all shared keys of VpnLink connection specified. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. - * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link - * connection. * @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 sharedKey Resource on successful completion of {@link Mono}. + * @return the list of shared keys for the vpn link connection as paginated response with {@link PagedFlux}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono setOrInitDefaultSharedKeyAsync(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName, - ConnectionSharedKeyResultInner connectionSharedKeyParameters, Context context) { - return beginSetOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, - connectionSharedKeyParameters, context).last().flatMap(this.client::getLroFinalResultOrError); + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getAllSharedKeysAsync(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName, Context context) { + return new PagedFlux<>(() -> getAllSharedKeysSinglePageAsync(resourceGroupName, gatewayName, connectionName, + linkConnectionName, context), nextLink -> getAllSharedKeysNextSinglePageAsync(nextLink, context)); } /** - * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set - * operation. If key length is given, the operation creates a random key of the pre-defined length. + * Lists all shared keys of VpnLink connection specified. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. - * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link - * connection. * @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 sharedKey Resource. + * @return the list of shared keys for the vpn link connection as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ConnectionSharedKeyResultInner setOrInitDefaultSharedKey(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName, - ConnectionSharedKeyResultInner connectionSharedKeyParameters) { - return setOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, - connectionSharedKeyParameters).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getAllSharedKeys(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName) { + return new PagedIterable<>( + getAllSharedKeysAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName)); } /** - * Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set - * operation. If key length is given, the operation creates a random key of the pre-defined length. + * Lists all shared keys of VpnLink connection specified. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param connectionName The name of the connection. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. - * @param connectionSharedKeyParameters Parameters supplied to set or auto generate the shared key for the vpn link - * connection. * @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 sharedKey Resource. + * @return the list of shared keys for the vpn link connection as paginated response with {@link PagedIterable}. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ConnectionSharedKeyResultInner setOrInitDefaultSharedKey(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName, ConnectionSharedKeyResultInner connectionSharedKeyParameters, - Context context) { - return setOrInitDefaultSharedKeyAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, - connectionSharedKeyParameters, context).block(); + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getAllSharedKeys(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName, Context context) { + return new PagedIterable<>( + getAllSharedKeysAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context)); } /** * Gets the value of the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1096,17 +849,17 @@ public Mono> listDefaultSharedKeyWithRe final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.listDefaultSharedKey(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, linkConnectionName, apiVersion, accept, context)) + .withContext(context -> service.listDefaultSharedKey(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, connectionName, linkConnectionName, + accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gets the value of the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param context The context to associate with this operation. @@ -1145,15 +898,15 @@ private Mono> listDefaultSharedKeyWithR final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listDefaultSharedKey(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, linkConnectionName, apiVersion, accept, context); + return service.listDefaultSharedKey(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, connectionName, linkConnectionName, accept, context); } /** * Gets the value of the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1171,8 +924,8 @@ public Mono listDefaultSharedKeyAsync(String res /** * Gets the value of the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param context The context to associate with this operation. @@ -1191,8 +944,8 @@ public Response listDefaultSharedKeyWithResponse /** * Gets the value of the shared key of VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1200,28 +953,192 @@ public Response listDefaultSharedKeyWithResponse * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the value of the shared key of VpnLink connection specified. */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ConnectionSharedKeyResultInner listDefaultSharedKey(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName) { - return listDefaultSharedKeyWithResponse(resourceGroupName, gatewayName, connectionName, linkConnectionName, - Context.NONE).getValue(); + @ServiceMethod(returns = ReturnType.SINGLE) + public ConnectionSharedKeyResultInner listDefaultSharedKey(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName) { + return listDefaultSharedKeyWithResponse(resourceGroupName, gatewayName, connectionName, linkConnectionName, + Context.NONE).getValue(); + } + + /** + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @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 result of the request to list all vpn connections to a virtual wan vpn gateway along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByVpnConnectionSinglePageAsync(String resourceGroupName, + String gatewayName, String connectionName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (connectionName == null) { + return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listByVpnConnection(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, connectionName, 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())); + } + + /** + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @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 result of the request to list all vpn connections to a virtual wan vpn gateway along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByVpnConnectionSinglePageAsync(String resourceGroupName, + String gatewayName, String connectionName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (connectionName == null) { + return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listByVpnConnection(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, connectionName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByVpnConnectionAsync(String resourceGroupName, String gatewayName, + String connectionName) { + return new PagedFlux<>(() -> listByVpnConnectionSinglePageAsync(resourceGroupName, gatewayName, connectionName), + nextLink -> listByVpnConnectionNextSinglePageAsync(nextLink)); + } + + /** + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByVpnConnectionAsync(String resourceGroupName, String gatewayName, + String connectionName, Context context) { + return new PagedFlux<>( + () -> listByVpnConnectionSinglePageAsync(resourceGroupName, gatewayName, connectionName, context), + nextLink -> listByVpnConnectionNextSinglePageAsync(nextLink, context)); + } + + /** + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByVpnConnection(String resourceGroupName, String gatewayName, + String connectionName) { + return new PagedIterable<>(listByVpnConnectionAsync(resourceGroupName, gatewayName, connectionName)); + } + + /** + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByVpnConnection(String resourceGroupName, String gatewayName, + String connectionName, Context context) { + return new PagedIterable<>(listByVpnConnectionAsync(resourceGroupName, gatewayName, connectionName, context)); } /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getIkeSasWithResponseAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName) { + public Mono>> resetConnectionWithResponseAsync(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1245,29 +1162,29 @@ public Mono>> getIkeSasWithResponseAsync(String resour .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getIkeSas(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, linkConnectionName, apiVersion, accept, context)) + .withContext(context -> service.resetConnection(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, connectionName, linkConnectionName, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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} on successful completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getIkeSasWithResponseAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName, Context context) { + private Mono>> resetConnectionWithResponseAsync(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1291,17 +1208,16 @@ private Mono>> getIkeSasWithResponseAsync(String resou .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getIkeSas(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, connectionName, linkConnectionName, apiVersion, accept, context); + return service.resetConnection(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, connectionName, linkConnectionName, context); } /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1310,19 +1226,19 @@ private Mono>> getIkeSasWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, String gatewayName, + public PollerFlux, Void> beginResetConnectionAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { Mono>> mono - = getIkeSasWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + = resetConnectionWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param context The context to associate with this operation. @@ -1332,20 +1248,20 @@ public PollerFlux, String> beginGetIkeSasAsync(String resourc * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, String gatewayName, + private PollerFlux, Void> beginResetConnectionAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context) { context = this.client.mergeContext(context); - Mono>> mono - = getIkeSasWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + Mono>> mono = resetConnectionWithResponseAsync(resourceGroupName, gatewayName, + connectionName, linkConnectionName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); } /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1354,17 +1270,17 @@ private PollerFlux, String> beginGetIkeSasAsync(String resour * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginGetIkeSas(String resourceGroupName, String gatewayName, + public SyncPoller, Void> beginResetConnection(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { - return this.beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName) + return this.beginResetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName) .getSyncPoller(); } /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @param context The context to associate with this operation. @@ -1374,103 +1290,103 @@ public SyncPoller, String> beginGetIkeSas(String resourceGrou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, String> beginGetIkeSas(String resourceGroupName, String gatewayName, + public SyncPoller, Void> beginResetConnection(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context) { - return this.beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context) + return this + .beginResetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context) .getSyncPoller(); } /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, + public Mono resetConnectionAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { - return beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).last() + return beginResetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, + private Mono resetConnectionAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context) { - return beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context).last() + return beginResetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context) + .last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + public void resetConnection(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { - return getIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).block(); + resetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).block(); } /** - * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * Resets the VpnLink connection specified. * - * @param resourceGroupName The name of the resource group. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. * @param linkConnectionName The name of the vpn link connection. * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public String getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + public void resetConnection(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context) { - return getIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context).block(); + resetConnectionAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context).block(); } /** - * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. * - * @param resourceGroupName The resource group name of the vpn gateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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 result of the request to list all vpn connections to a virtual wan vpn gateway along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByVpnConnectionSinglePageAsync(String resourceGroupName, - String gatewayName, String connectionName) { + public Mono>> getIkeSasWithResponseAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1489,33 +1405,35 @@ private Mono> listByVpnConnectionSingl if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } + if (linkConnectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil .withContext( - context -> service.listByVpnConnection(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, apiVersion, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + context -> service.getIkeSas(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, connectionName, linkConnectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. * - * @param resourceGroupName The resource group name of the vpn gateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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 result of the request to list all vpn connections to a virtual wan vpn gateway along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByVpnConnectionSinglePageAsync(String resourceGroupName, - String gatewayName, String connectionName, Context context) { + private Mono>> getIkeSasWithResponseAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1534,91 +1452,175 @@ private Mono> listByVpnConnectionSingl if (connectionName == null) { return Mono.error(new IllegalArgumentException("Parameter connectionName is required and cannot be null.")); } + if (linkConnectionName == null) { + return Mono + .error(new IllegalArgumentException("Parameter linkConnectionName is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByVpnConnection(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - gatewayName, connectionName, apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); + return service.getIkeSas(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, connectionName, linkConnectionName, accept, context); } /** - * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. * - * @param resourceGroupName The resource group name of the vpn gateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with - * {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByVpnConnectionAsync(String resourceGroupName, String gatewayName, - String connectionName) { - return new PagedFlux<>(() -> listByVpnConnectionSinglePageAsync(resourceGroupName, gatewayName, connectionName), - nextLink -> listByVpnConnectionNextSinglePageAsync(nextLink)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, GetIkeSasFinalResult> beginGetIkeSasAsync( + String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { + Mono>> mono + = getIkeSasWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + GetIkeSasFinalResult.class, GetIkeSasFinalResult.class, this.client.getContext()); } /** - * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. * - * @param resourceGroupName The resource group name of the vpn gateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with - * {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByVpnConnectionAsync(String resourceGroupName, String gatewayName, - String connectionName, Context context) { - return new PagedFlux<>( - () -> listByVpnConnectionSinglePageAsync(resourceGroupName, gatewayName, connectionName, context), - nextLink -> listByVpnConnectionNextSinglePageAsync(nextLink, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, GetIkeSasFinalResult> beginGetIkeSasAsync( + String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = getIkeSasWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + GetIkeSasFinalResult.class, GetIkeSasFinalResult.class, context); } /** - * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. * - * @param resourceGroupName The resource group name of the vpn gateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with - * {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByVpnConnection(String resourceGroupName, String gatewayName, - String connectionName) { - return new PagedIterable<>(listByVpnConnectionAsync(resourceGroupName, gatewayName, connectionName)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, GetIkeSasFinalResult> beginGetIkeSas(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName) { + return this.beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName) + .getSyncPoller(); } /** - * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. * - * @param resourceGroupName The resource group name of the vpn gateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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 result of the request to list all vpn connections to a virtual wan vpn gateway as paginated response with - * {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByVpnConnection(String resourceGroupName, String gatewayName, - String connectionName, Context context) { - return new PagedIterable<>(listByVpnConnectionAsync(resourceGroupName, gatewayName, connectionName, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, GetIkeSasFinalResult> beginGetIkeSas(String resourceGroupName, + String gatewayName, String connectionName, String linkConnectionName, Context context) { + return this.beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context) + .getSyncPoller(); + } + + /** + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getIkeSasAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName) { + return beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getIkeSasAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName, Context context) { + return beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public GetIkeSasFinalResult getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName) { + return getIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).block(); + } + + /** + * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public GetIkeSasFinalResult getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName, Context context) { + return getIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java index f959787de805..2b9bfbc7c6ad 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -62,33 +62,31 @@ public final class VpnServerConfigurationsAssociatedWithVirtualWansClientImpl * NetworkManagementClientVpnServerConfigurationsAssociatedWithVirtualWans to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVpnServerConfigurationsAssociatedWithVirtualWans") public interface VpnServerConfigurationsAssociatedWithVirtualWansService { @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> list(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualWANName") String virtualWanName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualWANName") String virtualWANName, @HeaderParam("Accept") String accept, Context context); } /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> listWithResponseAsync(String resourceGroupName, String virtualWanName) { + public Mono>> listWithResponseAsync(String resourceGroupName, String virtualWANName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -101,31 +99,30 @@ public Mono>> listWithResponseAsync(String resourceGro return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualWanName, apiVersion, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualWANName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response along with {@link Response} on - * successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> listWithResponseAsync(String resourceGroupName, String virtualWanName, + private Mono>> listWithResponseAsync(String resourceGroupName, String virtualWANName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -139,30 +136,30 @@ private Mono>> listWithResponseAsync(String resourceGr return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualWanName, apiVersion, accept, context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + virtualWANName, accept, context); } /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, VpnServerConfigurationsResponseInner> - beginListAsync(String resourceGroupName, String virtualWanName) { - Mono>> mono = listWithResponseAsync(resourceGroupName, virtualWanName); + beginListAsync(String resourceGroupName, String virtualWANName) { + Mono>> mono = listWithResponseAsync(resourceGroupName, virtualWANName); return this.client.getLroResult( mono, this.client.getHttpPipeline(), VpnServerConfigurationsResponseInner.class, VpnServerConfigurationsResponseInner.class, this.client.getContext()); @@ -171,19 +168,19 @@ private Mono>> listWithResponseAsync(String resourceGr /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 PollerFlux} for polling of vpnServerConfigurations list associated with VirtualWan Response. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, VpnServerConfigurationsResponseInner> - beginListAsync(String resourceGroupName, String virtualWanName, Context context) { + beginListAsync(String resourceGroupName, String virtualWANName, Context context) { context = this.client.mergeContext(context); - Mono>> mono = listWithResponseAsync(resourceGroupName, virtualWanName, context); + Mono>> mono = listWithResponseAsync(resourceGroupName, virtualWANName, context); return this.client.getLroResult( mono, this.client.getHttpPipeline(), VpnServerConfigurationsResponseInner.class, VpnServerConfigurationsResponseInner.class, context); @@ -192,99 +189,97 @@ private Mono>> listWithResponseAsync(String resourceGr /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, VpnServerConfigurationsResponseInner> - beginList(String resourceGroupName, String virtualWanName) { - return this.beginListAsync(resourceGroupName, virtualWanName).getSyncPoller(); + beginList(String resourceGroupName, String virtualWANName) { + return this.beginListAsync(resourceGroupName, virtualWANName).getSyncPoller(); } /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, VpnServerConfigurationsResponseInner> - beginList(String resourceGroupName, String virtualWanName, Context context) { - return this.beginListAsync(resourceGroupName, virtualWanName, context).getSyncPoller(); + beginList(String resourceGroupName, String virtualWANName, Context context) { + return this.beginListAsync(resourceGroupName, virtualWANName, context).getSyncPoller(); } /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listAsync(String resourceGroupName, String virtualWanName) { - return beginListAsync(resourceGroupName, virtualWanName).last().flatMap(this.client::getLroFinalResultOrError); + public Mono listAsync(String resourceGroupName, String virtualWANName) { + return beginListAsync(resourceGroupName, virtualWANName).last().flatMap(this.client::getLroFinalResultOrError); } /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response on successful completion of - * {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono listAsync(String resourceGroupName, String virtualWanName, + private Mono listAsync(String resourceGroupName, String virtualWANName, Context context) { - return beginListAsync(resourceGroupName, virtualWanName, context).last() + return beginListAsync(resourceGroupName, virtualWANName, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VpnServerConfigurationsResponseInner list(String resourceGroupName, String virtualWanName) { - return listAsync(resourceGroupName, virtualWanName).block(); + public VpnServerConfigurationsResponseInner list(String resourceGroupName, String virtualWANName) { + return listAsync(resourceGroupName, virtualWANName).block(); } /** * Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN whose associated VpnServerConfigurations is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @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 vpnServerConfigurations list associated with VirtualWan Response. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VpnServerConfigurationsResponseInner list(String resourceGroupName, String virtualWanName, Context context) { - return listAsync(resourceGroupName, virtualWanName, context).block(); + public VpnServerConfigurationsResponseInner list(String resourceGroupName, String virtualWANName, Context context) { + return listAsync(resourceGroupName, virtualWANName, context).block(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java index 582f8ae680d1..ca53365de86b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -36,7 +36,7 @@ import com.azure.resourcemanager.network.fluent.VpnServerConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.RadiusAuthServerListResultInner; import com.azure.resourcemanager.network.fluent.models.VpnServerConfigurationInner; -import com.azure.resourcemanager.network.models.ListVpnServerConfigurationsResult; +import com.azure.resourcemanager.network.implementation.models.ListVpnServerConfigurationsResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -75,78 +75,74 @@ public final class VpnServerConfigurationsClientImpl implements InnerSupportsGet * The interface defining all the services for NetworkManagementClientVpnServerConfigurations to be used by the * proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVpnServerConfigurations") public interface VpnServerConfigurationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnServerConfigurationName") String vpnServerConfigurationName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnServerConfigurationName") String vpnServerConfigurationName, - @QueryParam("api-version") String apiVersion, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") VpnServerConfigurationInner vpnServerConfigurationParameters, - @HeaderParam("Accept") String accept, Context context); + Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnServerConfigurationName") String vpnServerConfigurationName, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") TagsObject vpnServerConfigurationParameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject vpnServerConfigurationParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("vpnServerConfigurationName") String vpnServerConfigurationName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @PathParam("vpnServerConfigurationName") String vpnServerConfigurationName, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/vpnServerConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + 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" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/listRadiusSecrets") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listRadiusSecrets(@HostParam("$host") String endpoint, + Mono> listRadiusSecrets(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnServerConfigurationName") String vpnServerConfigurationName, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -154,7 +150,7 @@ Mono> listRadiusSecrets(@HostParam("$h @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -162,15 +158,16 @@ Mono> listByResourceGroupNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -198,17 +195,17 @@ public Mono> getByResourceGroupWithRespons final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, vpnServerConfigurationName, apiVersion, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnServerConfigurationName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -237,15 +234,16 @@ private Mono> getByResourceGroupWithRespon final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnServerConfigurationName, apiVersion, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnServerConfigurationName, accept, context); } /** * Retrieves the details of a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -261,8 +259,9 @@ public Mono getByResourceGroupAsync(String resource /** * Retrieves the details of a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -278,8 +277,9 @@ public Response getByResourceGroupWithResponse(Stri /** * Retrieves the details of a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -293,8 +293,9 @@ public VpnServerConfigurationInner getByResourceGroup(String resourceGroupName, /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -327,19 +328,21 @@ public Mono>> createOrUpdateWithResponseAsync(String r vpnServerConfigurationParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, vpnServerConfigurationName, apiVersion, vpnServerConfigurationParameters, accept, - context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnServerConfigurationName, contentType, accept, + vpnServerConfigurationParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -374,17 +377,20 @@ private Mono>> createOrUpdateWithResponseAsync(String vpnServerConfigurationParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnServerConfigurationName, apiVersion, vpnServerConfigurationParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnServerConfigurationName, contentType, accept, vpnServerConfigurationParameters, + context); } /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -405,8 +411,9 @@ public PollerFlux, VpnServerConfiguratio /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -429,8 +436,9 @@ private PollerFlux, VpnServerConfigurati /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -449,8 +457,9 @@ public SyncPoller, VpnServerConfiguratio /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -471,8 +480,9 @@ public SyncPoller, VpnServerConfiguratio /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -490,8 +500,9 @@ public Mono createOrUpdateAsync(String resourceGrou /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -510,8 +521,9 @@ private Mono createOrUpdateAsync(String resourceGro /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -528,8 +540,9 @@ public VpnServerConfigurationInner createOrUpdate(String resourceGroupName, Stri /** * Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to create or update VpnServerConfiguration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -547,8 +560,9 @@ public VpnServerConfigurationInner createOrUpdate(String resourceGroupName, Stri /** * Updates VpnServerConfiguration tags. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to update VpnServerConfiguration tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -581,19 +595,21 @@ public Mono> updateTagsWithResponseAsync(S vpnServerConfigurationParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, vpnServerConfigurationName, apiVersion, vpnServerConfigurationParameters, accept, - context)) + .withContext(context -> service.updateTags(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnServerConfigurationName, contentType, accept, + vpnServerConfigurationParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates VpnServerConfiguration tags. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to update VpnServerConfiguration tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -627,17 +643,20 @@ private Mono> updateTagsWithResponseAsync( vpnServerConfigurationParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnServerConfigurationName, apiVersion, vpnServerConfigurationParameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnServerConfigurationName, contentType, accept, vpnServerConfigurationParameters, + context); } /** * Updates VpnServerConfiguration tags. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to update VpnServerConfiguration tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -654,8 +673,9 @@ public Mono updateTagsAsync(String resourceGroupNam /** * Updates VpnServerConfiguration tags. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to update VpnServerConfiguration tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -673,8 +693,9 @@ public Response updateTagsWithResponse(String resou /** * Updates VpnServerConfiguration tags. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @param vpnServerConfigurationParameters Parameters supplied to update VpnServerConfiguration tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -691,8 +712,9 @@ public VpnServerConfigurationInner updateTags(String resourceGroupName, String v /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -718,18 +740,18 @@ public Mono>> deleteWithResponseAsync(String resourceG new IllegalArgumentException("Parameter vpnServerConfigurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, vpnServerConfigurationName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnServerConfigurationName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -756,17 +778,17 @@ private Mono>> deleteWithResponseAsync(String resource new IllegalArgumentException("Parameter vpnServerConfigurationName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnServerConfigurationName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + vpnServerConfigurationName, context); } /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -783,8 +805,9 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -804,8 +827,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -819,8 +843,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -836,8 +861,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -852,8 +878,9 @@ public Mono deleteAsync(String resourceGroupName, String vpnServerConfigur /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -869,8 +896,9 @@ private Mono deleteAsync(String resourceGroupName, String vpnServerConfigu /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -883,8 +911,9 @@ public void delete(String resourceGroupName, String vpnServerConfigurationName) /** * Deletes a VpnServerConfiguration. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -898,7 +927,7 @@ public void delete(String resourceGroupName, String vpnServerConfigurationName, /** * Lists all the vpnServerConfigurations in a resource group. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. + * @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. @@ -923,8 +952,8 @@ public void delete(String resourceGroupName, String vpnServerConfigurationName, final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, apiVersion, accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -933,7 +962,7 @@ public void delete(String resourceGroupName, String vpnServerConfigurationName, /** * Lists all the vpnServerConfigurations in a resource group. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. + * @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. @@ -960,8 +989,8 @@ public void delete(String resourceGroupName, String vpnServerConfigurationName, final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - apiVersion, accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -969,7 +998,7 @@ public void delete(String resourceGroupName, String vpnServerConfigurationName, /** * Lists all the vpnServerConfigurations in a resource group. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. + * @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. @@ -984,7 +1013,7 @@ public PagedFlux listByResourceGroupAsync(String re /** * Lists all the vpnServerConfigurations in a resource group. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. + * @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. @@ -1000,7 +1029,7 @@ private PagedFlux listByResourceGroupAsync(String r /** * Lists all the vpnServerConfigurations in a resource group. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. + * @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. @@ -1015,7 +1044,7 @@ public PagedIterable listByResourceGroup(String res /** * Lists all the vpnServerConfigurations in a resource group. * - * @param resourceGroupName The resource group name of the VpnServerConfiguration. + * @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. @@ -1049,7 +1078,7 @@ private Mono> listSinglePageAsync() { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -1079,7 +1108,7 @@ private Mono> listSinglePageAsync(Con final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -1143,7 +1172,8 @@ public PagedIterable list(Context context) { * List all Radius servers with respective radius secrets from VpnServerConfiguration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -1157,6 +1187,10 @@ public Mono> listRadiusSecretsWithResp return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1165,15 +1199,11 @@ public Mono> listRadiusSecretsWithResp return Mono.error( new IllegalArgumentException("Parameter vpnServerConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listRadiusSecrets(this.client.getEndpoint(), resourceGroupName, - vpnServerConfigurationName, apiVersion, this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listRadiusSecrets(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnServerConfigurationName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1181,7 +1211,8 @@ public Mono> listRadiusSecretsWithResp * List all Radius servers with respective radius secrets from VpnServerConfiguration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -1196,6 +1227,10 @@ private Mono> listRadiusSecretsWithRes return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -1204,22 +1239,19 @@ private Mono> listRadiusSecretsWithRes return Mono.error( new IllegalArgumentException("Parameter vpnServerConfigurationName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listRadiusSecrets(this.client.getEndpoint(), resourceGroupName, vpnServerConfigurationName, - apiVersion, this.client.getSubscriptionId(), accept, context); + return service.listRadiusSecrets(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnServerConfigurationName, accept, context); } /** * List all Radius servers with respective radius secrets from VpnServerConfiguration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -1236,7 +1268,8 @@ public Mono listRadiusSecretsAsync(String resou * List all Radius servers with respective radius secrets from VpnServerConfiguration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. @@ -1253,7 +1286,8 @@ public Response listRadiusSecretsWithResponse(S * List all Radius servers with respective radius secrets from VpnServerConfiguration. * * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param vpnServerConfigurationName The name of the VpnServerConfiguration. + * @param vpnServerConfigurationName The name of the resource that is unique within a resource group. This name can + * be used to access the resource. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java index 0dcd6e6e6017..0df9c8f73e0a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -54,28 +54,28 @@ public final class VpnSiteLinkConnectionsClientImpl implements VpnSiteLinkConnec * The interface defining all the services for NetworkManagementClientVpnSiteLinkConnections to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVpnSiteLinkConnections") public interface VpnSiteLinkConnectionsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, @PathParam("connectionName") String connectionName, - @PathParam("linkConnectionName") String linkConnectionName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("linkConnectionName") String linkConnectionName, @HeaderParam("Accept") String accept, + Context context); } /** * Retrieves the details of a vpn site link connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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. @@ -109,18 +109,18 @@ public Mono> getWithResponseAsync(String re final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, gatewayName, connectionName, linkConnectionName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, connectionName, linkConnectionName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a vpn site link connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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. @@ -155,17 +155,17 @@ private Mono> getWithResponseAsync(String r final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, gatewayName, - connectionName, linkConnectionName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, connectionName, linkConnectionName, accept, context); } /** * Retrieves the details of a vpn site link connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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. @@ -181,10 +181,10 @@ public Mono getAsync(String resourceGroupName, Strin /** * Retrieves the details of a vpn site link connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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. @@ -201,10 +201,10 @@ public Response getWithResponse(String resourceGroup /** * Retrieves the details of a vpn site link connection. * - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the vpn gateway. * @param connectionName The name of the vpn connection. - * @param linkConnectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn link connection. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java index 8798ca63b468..bb4498c6e5a4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.VpnSiteLinksClient; import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkInner; -import com.azure.resourcemanager.network.models.ListVpnSiteLinksResult; +import com.azure.resourcemanager.network.implementation.models.ListVpnSiteLinksResult; import reactor.core.publisher.Mono; /** @@ -59,43 +59,44 @@ public final class VpnSiteLinksClientImpl implements VpnSiteLinksClient { * The interface defining all the services for NetworkManagementClientVpnSiteLinks to be used by the proxy service * to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVpnSiteLinks") public interface VpnSiteLinksService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnSiteName") String vpnSiteName, - @PathParam("vpnSiteLinkName") String vpnSiteLinkName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + @PathParam("vpnSiteLinkName") String vpnSiteLinkName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByVpnSite(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> listByVpnSite(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnSiteName") String vpnSiteName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByVpnSiteNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a VPN site link. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. - * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. + * @param vpnSiteLinkName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -126,17 +127,18 @@ public Mono> getWithResponseAsync(String resourceGrou final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, vpnSiteName, vpnSiteLinkName, apiVersion, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnSiteName, vpnSiteLinkName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a VPN site link. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. - * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. + * @param vpnSiteLinkName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -168,16 +170,17 @@ private Mono> getWithResponseAsync(String resourceGro final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, vpnSiteName, - vpnSiteLinkName, apiVersion, accept, context); + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + vpnSiteName, vpnSiteLinkName, accept, context); } /** * Retrieves the details of a VPN site link. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. - * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. + * @param vpnSiteLinkName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -192,9 +195,10 @@ public Mono getAsync(String resourceGroupName, String vpnSiteN /** * Retrieves the details of a VPN site link. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. - * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. + * @param vpnSiteLinkName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -210,9 +214,10 @@ public Response getWithResponse(String resourceGroupName, Stri /** * Retrieves the details of a VPN site link. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. - * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. + * @param vpnSiteLinkName The name of the resource that is unique within a resource group. This name can be used to + * access the resource. * @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. @@ -226,8 +231,8 @@ public VpnSiteLinkInner get(String resourceGroupName, String vpnSiteName, String /** * Lists all the vpnSiteLinks in a resource group for a vpn site. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -255,8 +260,8 @@ private Mono> listByVpnSiteSinglePageAsync(Strin final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByVpnSite(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, vpnSiteName, apiVersion, accept, context)) + .withContext(context -> service.listByVpnSite(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnSiteName, 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())); @@ -265,8 +270,8 @@ private Mono> listByVpnSiteSinglePageAsync(Strin /** * Lists all the vpnSiteLinks in a resource group for a vpn site. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -296,8 +301,8 @@ private Mono> listByVpnSiteSinglePageAsync(Strin final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByVpnSite(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, vpnSiteName, - apiVersion, accept, context) + .listByVpnSite(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + vpnSiteName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -305,8 +310,8 @@ private Mono> listByVpnSiteSinglePageAsync(Strin /** * Lists all the vpnSiteLinks in a resource group for a vpn site. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -321,8 +326,8 @@ public PagedFlux listByVpnSiteAsync(String resourceGroupName, /** * Lists all the vpnSiteLinks in a resource group for a vpn site. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -339,8 +344,8 @@ private PagedFlux listByVpnSiteAsync(String resourceGroupName, /** * Lists all the vpnSiteLinks in a resource group for a vpn site. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -354,8 +359,8 @@ public PagedIterable listByVpnSite(String resourceGroupName, S /** * Lists all the vpnSiteLinks in a resource group for a vpn site. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java index 89f22643adb6..f41ff1ba8a9c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -34,7 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VpnSitesClient; import com.azure.resourcemanager.network.fluent.models.VpnSiteInner; -import com.azure.resourcemanager.network.models.ListVpnSitesResult; +import com.azure.resourcemanager.network.implementation.models.ListVpnSitesResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -72,62 +72,60 @@ public final class VpnSitesClientImpl implements InnerSupportsGet, * The interface defining all the services for NetworkManagementClientVpnSites to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVpnSites") public interface VpnSitesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnSiteName") String vpnSiteName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnSiteName") String vpnSiteName, - @QueryParam("api-version") String apiVersion, @BodyParam("application/json") VpnSiteInner vpnSiteParameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") VpnSiteInner vpnSiteParameters, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnSiteName") String vpnSiteName, - @QueryParam("api-version") String apiVersion, @BodyParam("application/json") TagsObject vpnSiteParameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject vpnSiteParameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vpnSiteName") String vpnSiteName, - @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); + 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}/providers/Microsoft.Network/vpnSites") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + 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" }) @@ -135,7 +133,7 @@ Mono> list(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroupNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -143,13 +141,13 @@ Mono> listByResourceGroupNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** * Retrieves the details of a VPN site. * - * @param resourceGroupName The resource group name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vpnSiteName The name of the VpnSite being retrieved. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -177,15 +175,15 @@ public Mono> getByResourceGroupWithResponseAsync(String r final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, vpnSiteName, apiVersion, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnSiteName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieves the details of a VPN site. * - * @param resourceGroupName The resource group name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vpnSiteName The name of the VpnSite being retrieved. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -214,14 +212,14 @@ private Mono> getByResourceGroupWithResponseAsync(String final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnSiteName, apiVersion, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnSiteName, accept, context); } /** * Retrieves the details of a VPN site. * - * @param resourceGroupName The resource group name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vpnSiteName The name of the VpnSite being retrieved. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -237,7 +235,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName, Stri /** * Retrieves the details of a VPN site. * - * @param resourceGroupName The resource group name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vpnSiteName The name of the VpnSite being retrieved. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -254,7 +252,7 @@ public Response getByResourceGroupWithResponse(String resourceGrou /** * Retrieves the details of a VPN site. * - * @param resourceGroupName The resource group name of the VpnSite. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vpnSiteName The name of the VpnSite being retrieved. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -269,8 +267,8 @@ public VpnSiteInner getByResourceGroup(String resourceGroupName, String vpnSiteN /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -302,18 +300,20 @@ public Mono>> createOrUpdateWithResponseAsync(String r vpnSiteParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, vpnSiteName, apiVersion, vpnSiteParameters, accept, context)) + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnSiteName, contentType, accept, vpnSiteParameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -346,17 +346,18 @@ private Mono>> createOrUpdateWithResponseAsync(String vpnSiteParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnSiteName, apiVersion, vpnSiteParameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnSiteName, contentType, accept, vpnSiteParameters, context); } /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -375,8 +376,8 @@ public PollerFlux, VpnSiteInner> beginCreateOrUpdateAsy /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -397,8 +398,8 @@ private PollerFlux, VpnSiteInner> beginCreateOrUpdateAs /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -414,8 +415,8 @@ public SyncPoller, VpnSiteInner> beginCreateOrUpdate(St /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -433,8 +434,8 @@ public SyncPoller, VpnSiteInner> beginCreateOrUpdate(St /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -451,8 +452,8 @@ public Mono createOrUpdateAsync(String resourceGroupName, String v /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -470,8 +471,8 @@ private Mono createOrUpdateAsync(String resourceGroupName, String /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -486,8 +487,8 @@ public VpnSiteInner createOrUpdate(String resourceGroupName, String vpnSiteName, /** * Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being created or updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to create or update VpnSite. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -504,8 +505,8 @@ public VpnSiteInner createOrUpdate(String resourceGroupName, String vpnSiteName, /** * Updates VpnSite tags. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to update VpnSite tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -537,18 +538,20 @@ public Mono> updateTagsWithResponseAsync(String resourceG vpnSiteParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, vpnSiteName, apiVersion, vpnSiteParameters, accept, context)) + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnSiteName, contentType, accept, vpnSiteParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Updates VpnSite tags. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to update VpnSite tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -581,17 +584,18 @@ private Mono> updateTagsWithResponseAsync(String resource vpnSiteParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnSiteName, apiVersion, vpnSiteParameters, accept, context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, vpnSiteName, contentType, accept, vpnSiteParameters, context); } /** * Updates VpnSite tags. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to update VpnSite tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -608,8 +612,8 @@ public Mono updateTagsAsync(String resourceGroupName, String vpnSi /** * Updates VpnSite tags. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to update VpnSite tags. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -626,8 +630,8 @@ public Response updateTagsWithResponse(String resourceGroupName, S /** * Updates VpnSite tags. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being updated. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @param vpnSiteParameters Parameters supplied to update VpnSite tags. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -642,8 +646,8 @@ public VpnSiteInner updateTags(String resourceGroupName, String vpnSiteName, Tag /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -667,18 +671,17 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error(new IllegalArgumentException("Parameter vpnSiteName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, vpnSiteName, apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, vpnSiteName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -704,17 +707,16 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error(new IllegalArgumentException("Parameter vpnSiteName is required and cannot be null.")); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - vpnSiteName, apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + vpnSiteName, context); } /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -730,8 +732,8 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -750,8 +752,8 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -765,8 +767,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -782,8 +784,8 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -797,8 +799,8 @@ public Mono deleteAsync(String resourceGroupName, String vpnSiteName) { /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -814,8 +816,8 @@ private Mono deleteAsync(String resourceGroupName, String vpnSiteName, Con /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -828,8 +830,8 @@ public void delete(String resourceGroupName, String vpnSiteName) { /** * Deletes a VpnSite. * - * @param resourceGroupName The resource group name of the VpnSite. - * @param vpnSiteName The name of the VpnSite being deleted. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vpnSiteName The name of the VpnSite being retrieved. * @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. @@ -843,7 +845,7 @@ public void delete(String resourceGroupName, String vpnSiteName, Context context /** * Lists all the vpnSites in a resource group. * - * @param resourceGroupName The resource group name of the VpnSite. + * @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. @@ -867,8 +869,8 @@ private Mono> listByResourceGroupSinglePageAsync(Str final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), - this.client.getSubscriptionId(), resourceGroupName, apiVersion, accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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())); @@ -877,7 +879,7 @@ private Mono> listByResourceGroupSinglePageAsync(Str /** * Lists all the vpnSites in a resource group. * - * @param resourceGroupName The resource group name of the VpnSite. + * @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. @@ -904,8 +906,8 @@ private Mono> listByResourceGroupSinglePageAsync(Str final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listByResourceGroup(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - apiVersion, accept, context) + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -913,7 +915,7 @@ private Mono> listByResourceGroupSinglePageAsync(Str /** * Lists all the vpnSites in a resource group. * - * @param resourceGroupName The resource group name of the VpnSite. + * @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. @@ -928,7 +930,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGroupName /** * Lists all the vpnSites in a resource group. * - * @param resourceGroupName The resource group name of the VpnSite. + * @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. @@ -944,7 +946,7 @@ private PagedFlux listByResourceGroupAsync(String resourceGroupNam /** * Lists all the vpnSites in a resource group. * - * @param resourceGroupName The resource group name of the VpnSite. + * @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. @@ -958,7 +960,7 @@ public PagedIterable listByResourceGroup(String resourceGroupName) /** * Lists all the vpnSites in a resource group. * - * @param resourceGroupName The resource group name of the VpnSite. + * @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. @@ -991,7 +993,7 @@ private Mono> listSinglePageAsync() { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -1021,7 +1023,7 @@ private Mono> listSinglePageAsync(Context context) { final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, accept, context) + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java index 9d4195e97b05..6e508cf35952 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -60,26 +60,25 @@ public final class VpnSitesConfigurationsClientImpl implements VpnSitesConfigura * The interface defining all the services for NetworkManagementClientVpnSitesConfigurations to be used by the proxy * service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientVpnSitesConfigurations") public interface VpnSitesConfigurationsService { - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> download(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, + Mono>> download(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualWANName") String virtualWanName, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") GetVpnSitesConfigurationRequest request, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualWANName") String virtualWANName, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") GetVpnSitesConfigurationRequest request, Context context); } /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -87,7 +86,7 @@ Mono>> download(@HostParam("$host") String endpoint, * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> downloadWithResponseAsync(String resourceGroupName, String virtualWanName, + public Mono>> downloadWithResponseAsync(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -101,8 +100,8 @@ public Mono>> downloadWithResponseAsync(String resourc return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } if (request == null) { return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); @@ -110,18 +109,18 @@ public Mono>> downloadWithResponseAsync(String resourc request.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; return FluxUtil - .withContext(context -> service.download(this.client.getEndpoint(), this.client.getSubscriptionId(), - resourceGroupName, virtualWanName, apiVersion, request, accept, context)) + .withContext(context -> service.download(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualWANName, contentType, request, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -130,7 +129,7 @@ public Mono>> downloadWithResponseAsync(String resourc * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> downloadWithResponseAsync(String resourceGroupName, String virtualWanName, + private Mono>> downloadWithResponseAsync(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -144,8 +143,8 @@ private Mono>> downloadWithResponseAsync(String resour return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (virtualWanName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWanName is required and cannot be null.")); + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); } if (request == null) { return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); @@ -153,17 +152,17 @@ private Mono>> downloadWithResponseAsync(String resour request.validate(); } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; + final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.download(this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, - virtualWanName, apiVersion, request, accept, context); + return service.download(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualWANName, contentType, request, context); } /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -171,9 +170,9 @@ private Mono>> downloadWithResponseAsync(String resour * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDownloadAsync(String resourceGroupName, String virtualWanName, + public PollerFlux, Void> beginDownloadAsync(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request) { - Mono>> mono = downloadWithResponseAsync(resourceGroupName, virtualWanName, request); + Mono>> mono = downloadWithResponseAsync(resourceGroupName, virtualWANName, request); return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } @@ -181,8 +180,8 @@ public PollerFlux, Void> beginDownloadAsync(String resourceGrou /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -191,11 +190,11 @@ public PollerFlux, Void> beginDownloadAsync(String resourceGrou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDownloadAsync(String resourceGroupName, String virtualWanName, + private PollerFlux, Void> beginDownloadAsync(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request, Context context) { context = this.client.mergeContext(context); Mono>> mono - = downloadWithResponseAsync(resourceGroupName, virtualWanName, request, context); + = downloadWithResponseAsync(resourceGroupName, virtualWANName, request, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); } @@ -203,8 +202,8 @@ private PollerFlux, Void> beginDownloadAsync(String resourceGro /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -212,16 +211,16 @@ private PollerFlux, Void> beginDownloadAsync(String resourceGro * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDownload(String resourceGroupName, String virtualWanName, + public SyncPoller, Void> beginDownload(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request) { - return this.beginDownloadAsync(resourceGroupName, virtualWanName, request).getSyncPoller(); + return this.beginDownloadAsync(resourceGroupName, virtualWANName, request).getSyncPoller(); } /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -230,16 +229,16 @@ public SyncPoller, Void> beginDownload(String resourceGroupName * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDownload(String resourceGroupName, String virtualWanName, + public SyncPoller, Void> beginDownload(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request, Context context) { - return this.beginDownloadAsync(resourceGroupName, virtualWanName, request, context).getSyncPoller(); + return this.beginDownloadAsync(resourceGroupName, virtualWANName, request, context).getSyncPoller(); } /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -247,17 +246,17 @@ public SyncPoller, Void> beginDownload(String resourceGroupName * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono downloadAsync(String resourceGroupName, String virtualWanName, + public Mono downloadAsync(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request) { - return beginDownloadAsync(resourceGroupName, virtualWanName, request).last() + return beginDownloadAsync(resourceGroupName, virtualWANName, request).last() .flatMap(this.client::getLroFinalResultOrError); } /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -266,32 +265,32 @@ public Mono downloadAsync(String resourceGroupName, String virtualWanName, * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono downloadAsync(String resourceGroupName, String virtualWanName, + private Mono downloadAsync(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request, Context context) { - return beginDownloadAsync(resourceGroupName, virtualWanName, request, context).last() + return beginDownloadAsync(resourceGroupName, virtualWANName, request, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @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 download(String resourceGroupName, String virtualWanName, GetVpnSitesConfigurationRequest request) { - downloadAsync(resourceGroupName, virtualWanName, request).block(); + public void download(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request) { + downloadAsync(resourceGroupName, virtualWANName, request).block(); } /** * Gives the sas-url to download the configurations for vpn-sites in a resource group. * - * @param resourceGroupName The resource group name. - * @param virtualWanName The name of the VirtualWAN for which configuration of all vpn-sites is needed. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. * @param request Parameters supplied to download vpn-sites configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -299,8 +298,8 @@ public void download(String resourceGroupName, String virtualWanName, GetVpnSite * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void download(String resourceGroupName, String virtualWanName, GetVpnSitesConfigurationRequest request, + public void download(String resourceGroupName, String virtualWANName, GetVpnSitesConfigurationRequest request, Context context) { - downloadAsync(resourceGroupName, virtualWanName, request, context).block(); + downloadAsync(resourceGroupName, virtualWANName, request, context).block(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java index 1ce3f9af677b..f55ff972a842 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -33,7 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.WebApplicationFirewallPoliciesClient; import com.azure.resourcemanager.network.fluent.models.WebApplicationFirewallPolicyInner; -import com.azure.resourcemanager.network.models.WebApplicationFirewallPolicyListResult; +import com.azure.resourcemanager.network.implementation.models.WebApplicationFirewallPolicyListResult; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -72,52 +72,52 @@ public final class WebApplicationFirewallPoliciesClientImpl implements * The interface defining all the services for NetworkManagementClientWebApplicationFirewallPolicies to be used by * the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientWebApplicationFirewallPolicies") public interface WebApplicationFirewallPoliciesService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("policyName") String policyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("policyName") String policyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") WebApplicationFirewallPolicyInner parameters, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WebApplicationFirewallPolicyInner parameters, Context context); - @Headers({ "Content-Type: application/json" }) + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("policyName") String policyName, - @PathParam("subscriptionId") String subscriptionId, @QueryParam("api-version") String apiVersion, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies") + @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}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies") + @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" }) @@ -125,7 +125,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -133,260 +133,14 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listAllNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } - /** - * Lists all of the protection policies within a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list WebApplicationFirewallPolicies along with {@link PagedResponse} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), resourceGroupName, - this.client.getSubscriptionId(), apiVersion, 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 all of the protection policies within a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list WebApplicationFirewallPolicies along with {@link PagedResponse} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), resourceGroupName, this.client.getSubscriptionId(), - apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all of the protection policies within a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list WebApplicationFirewallPolicies as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all of the protection policies within a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list WebApplicationFirewallPolicies as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, - Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all of the protection policies within a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list WebApplicationFirewallPolicies as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); - } - - /** - * Lists all of the protection policies within a resource group. - * - * @param resourceGroupName The name of the resource group. - * @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 result of the request to list WebApplicationFirewallPolicies as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, - Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); - } - - /** - * Gets all the WAF policies in a 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 all the WAF policies in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, - 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())); - } - - /** - * Gets all the WAF policies in a 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 all the WAF policies in a subscription along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), this.client.getSubscriptionId(), apiVersion, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); - } - - /** - * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listAllNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); - } - - /** - * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); - } - /** * Retrieve protection policy with specified name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -401,6 +155,10 @@ public PagedIterable list(Context context) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -408,22 +166,18 @@ public PagedIterable list(Context context) { if (policyName == null) { return Mono.error(new IllegalArgumentException("Parameter policyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, policyName, - this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, policyName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Retrieve protection policy with specified name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -439,6 +193,10 @@ public PagedIterable list(Context context) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -446,21 +204,17 @@ public PagedIterable list(Context context) { if (policyName == null) { return Mono.error(new IllegalArgumentException("Parameter policyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), resourceGroupName, policyName, - this.client.getSubscriptionId(), apiVersion, accept, context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, policyName, accept, context); } /** * Retrieve protection policy with specified name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -477,7 +231,7 @@ public Mono getByResourceGroupAsync(String re /** * Retrieve protection policy with specified name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -494,7 +248,7 @@ public Response getByResourceGroupWithRespons /** * Retrieve protection policy with specified name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -509,7 +263,7 @@ public WebApplicationFirewallPolicyInner getByResourceGroup(String resourceGroup /** * Creates or update policy with specified rule set name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param parameters Policy to be created. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -525,6 +279,10 @@ public Mono> createOrUpdateWithRespo return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -532,27 +290,23 @@ public Mono> createOrUpdateWithRespo if (policyName == null) { return Mono.error(new IllegalArgumentException("Parameter policyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, policyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context)) + return FluxUtil.withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, policyName, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Creates or update policy with specified rule set name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param parameters Policy to be created. * @param context The context to associate with this operation. @@ -569,6 +323,10 @@ private Mono> createOrUpdateWithResp return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -576,26 +334,23 @@ private Mono> createOrUpdateWithResp if (policyName == null) { return Mono.error(new IllegalArgumentException("Parameter policyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), resourceGroupName, policyName, - this.client.getSubscriptionId(), apiVersion, parameters, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, policyName, contentType, accept, parameters, context); } /** * Creates or update policy with specified rule set name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param parameters Policy to be created. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -613,7 +368,7 @@ public Mono createOrUpdateAsync(String resour /** * Creates or update policy with specified rule set name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param parameters Policy to be created. * @param context The context to associate with this operation. @@ -631,7 +386,7 @@ public Response createOrUpdateWithResponse(St /** * Creates or update policy with specified rule set name within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param parameters Policy to be created. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -648,7 +403,7 @@ public WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -661,6 +416,10 @@ public Mono>> deleteWithResponseAsync(String resourceG return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -668,22 +427,17 @@ public Mono>> deleteWithResponseAsync(String resourceG if (policyName == null) { return Mono.error(new IllegalArgumentException("Parameter policyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), resourceGroupName, policyName, - this.client.getSubscriptionId(), apiVersion, accept, context)) + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, policyName, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -698,6 +452,10 @@ private Mono>> deleteWithResponseAsync(String resource return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); @@ -705,21 +463,16 @@ private Mono>> deleteWithResponseAsync(String resource if (policyName == null) { return Mono.error(new IllegalArgumentException("Parameter policyName is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; - final String accept = "application/json"; context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), resourceGroupName, policyName, this.client.getSubscriptionId(), - apiVersion, accept, context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + policyName, context); } /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -736,7 +489,7 @@ public PollerFlux, Void> beginDeleteAsync(String resourceGroupN /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -756,7 +509,7 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -771,7 +524,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -788,7 +541,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -803,7 +556,7 @@ public Mono deleteAsync(String resourceGroupName, String policyName) { /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -820,7 +573,7 @@ private Mono deleteAsync(String resourceGroupName, String policyName, Cont /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -834,7 +587,7 @@ public void delete(String resourceGroupName, String policyName) { /** * Deletes Policy. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param policyName The name of the policy. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -846,6 +599,248 @@ public void delete(String resourceGroupName, String policyName, Context context) deleteAsync(resourceGroupName, policyName, context).block(); } + /** + * Lists all of the protection policies within a 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 paged collection of WebApplicationFirewallPolicy items along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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 all of the protection policies within a 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 paged collection of WebApplicationFirewallPolicy items along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all of the protection policies within a 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 paged collection of WebApplicationFirewallPolicy items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all of the protection policies within a 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 paged collection of WebApplicationFirewallPolicy items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, + Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all of the protection policies within a 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 paged collection of WebApplicationFirewallPolicy items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + } + + /** + * Lists all of the protection policies within a 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 paged collection of WebApplicationFirewallPolicy items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, + Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + } + + /** + * Gets all the WAF policies in a 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 all the WAF policies in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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())); + } + + /** + * Gets all the WAF policies in a 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 all the WAF policies in a subscription along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listAllNextSinglePageAsync(nextLink)); + } + + /** + * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listAllNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Gets all the WAF policies in a 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 all the WAF policies in a subscription as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); + } + /** * Get the next page of items. * @@ -853,8 +848,8 @@ public void delete(String resourceGroupName, String policyName, Context context) * @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 result of the request to list WebApplicationFirewallPolicies along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return paged collection of WebApplicationFirewallPolicy items along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -880,8 +875,8 @@ private Mono> listNextSinglePag * @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 result of the request to list WebApplicationFirewallPolicies along with {@link PagedResponse} on - * successful completion of {@link Mono}. + * @return paged collection of WebApplicationFirewallPolicy items along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java index 8d1ad3d5426a..16b25b3de7e1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.implementation; @@ -27,7 +27,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.WebCategoriesClient; import com.azure.resourcemanager.network.fluent.models.AzureWebCategoryInner; -import com.azure.resourcemanager.network.models.AzureWebCategoryListResult; +import com.azure.resourcemanager.network.implementation.models.AzureWebCategoryListResult; import reactor.core.publisher.Mono; /** @@ -59,22 +59,23 @@ public final class WebCategoriesClientImpl implements WebCategoriesClient { * The interface defining all the services for NetworkManagementClientWebCategories to be used by the proxy service * to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientWebCategories") public interface WebCategoriesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, @PathParam("name") String name, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, Context context); + @PathParam("name") String name, @QueryParam("$expand") String expand, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -83,7 +84,7 @@ Mono> list(@HostParam("$host") String endpo @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listBySubscriptionNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } @@ -103,18 +104,18 @@ public Mono> getWithResponseAsync(String name, S return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (name == null) { - return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (name == null) { + return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.get(this.client.getEndpoint(), name, apiVersion, - this.client.getSubscriptionId(), expand, accept, context)) + .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + name, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -135,17 +136,17 @@ private Mono> getWithResponseAsync(String name, return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (name == null) { - return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null.")); - } if (this.client.getSubscriptionId() == null) { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (name == null) { + return Mono.error(new IllegalArgumentException("Parameter name is required and cannot be null.")); + } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.get(this.client.getEndpoint(), name, apiVersion, this.client.getSubscriptionId(), expand, accept, + return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), name, expand, accept, context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveConnectivityConfigurationsListResult.java similarity index 59% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveConnectivityConfigurationsListResult.java index e42c2547376d..1cf0a59bbca3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveConnectivityConfigurationsListResult.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.models.ActiveConnectivityConfiguration; +import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationInner; import java.io.IOException; import java.util.List; @@ -17,13 +17,13 @@ * Result of the request to list active connectivity configurations. It contains a list of active connectivity * configurations and a skiptoken to get the next set of results. */ -@Fluent -public final class ActiveConnectivityConfigurationsListResultInner - implements JsonSerializable { +@Immutable +public final class ActiveConnectivityConfigurationsListResult + implements JsonSerializable { /* * Gets a page of active connectivity configurations. */ - private List value; + private List value; /* * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in @@ -32,9 +32,9 @@ public final class ActiveConnectivityConfigurationsListResultInner private String skipToken; /** - * Creates an instance of ActiveConnectivityConfigurationsListResultInner class. + * Creates an instance of ActiveConnectivityConfigurationsListResult class. */ - public ActiveConnectivityConfigurationsListResultInner() { + private ActiveConnectivityConfigurationsListResult() { } /** @@ -42,21 +42,10 @@ public ActiveConnectivityConfigurationsListResultInner() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } - /** - * Set the value property: Gets a page of active connectivity configurations. - * - * @param value the value value to set. - * @return the ActiveConnectivityConfigurationsListResultInner object itself. - */ - public ActiveConnectivityConfigurationsListResultInner withValue(List value) { - this.value = value; - return this; - } - /** * Get the skipToken property: When present, the value can be passed to a subsequent query call (together with the * same query and scopes used in the current request) to retrieve the next page of data. @@ -67,18 +56,6 @@ public String skipToken() { return this.skipToken; } - /** - * Set the skipToken property: When present, the value can be passed to a subsequent query call (together with the - * same query and scopes used in the current request) to retrieve the next page of data. - * - * @param skipToken the skipToken value to set. - * @return the ActiveConnectivityConfigurationsListResultInner object itself. - */ - public ActiveConnectivityConfigurationsListResultInner withSkipToken(String skipToken) { - this.skipToken = skipToken; - return this; - } - /** * Validates the instance. * @@ -102,33 +79,33 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ActiveConnectivityConfigurationsListResultInner from the JsonReader. + * Reads an instance of ActiveConnectivityConfigurationsListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ActiveConnectivityConfigurationsListResultInner 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 ActiveConnectivityConfigurationsListResultInner. + * @return An instance of ActiveConnectivityConfigurationsListResult 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 ActiveConnectivityConfigurationsListResult. */ - public static ActiveConnectivityConfigurationsListResultInner fromJson(JsonReader jsonReader) throws IOException { + public static ActiveConnectivityConfigurationsListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ActiveConnectivityConfigurationsListResultInner deserializedActiveConnectivityConfigurationsListResultInner - = new ActiveConnectivityConfigurationsListResultInner(); + ActiveConnectivityConfigurationsListResult deserializedActiveConnectivityConfigurationsListResult + = new ActiveConnectivityConfigurationsListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> ActiveConnectivityConfiguration.fromJson(reader1)); - deserializedActiveConnectivityConfigurationsListResultInner.value = value; + List value + = reader.readArray(reader1 -> ActiveConnectivityConfigurationInner.fromJson(reader1)); + deserializedActiveConnectivityConfigurationsListResult.value = value; } else if ("skipToken".equals(fieldName)) { - deserializedActiveConnectivityConfigurationsListResultInner.skipToken = reader.getString(); + deserializedActiveConnectivityConfigurationsListResult.skipToken = reader.getString(); } else { reader.skipChildren(); } } - return deserializedActiveConnectivityConfigurationsListResultInner; + return deserializedActiveConnectivityConfigurationsListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveSecurityAdminRulesListResult.java similarity index 57% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveSecurityAdminRulesListResult.java index 8306f20d2c99..99e8143517e6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveSecurityAdminRulesListResult.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.models.ActiveBaseSecurityAdminRule; +import com.azure.resourcemanager.network.fluent.models.ActiveBaseSecurityAdminRuleInner; import java.io.IOException; import java.util.List; @@ -17,13 +17,12 @@ * Result of the request to list active security admin rules. It contains a list of active security admin rules and a * skiptoken to get the next set of results. */ -@Fluent -public final class ActiveSecurityAdminRulesListResultInner - implements JsonSerializable { +@Immutable +public final class ActiveSecurityAdminRulesListResult implements JsonSerializable { /* * Gets a page of active security admin rules. */ - private List value; + private List value; /* * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in @@ -32,9 +31,9 @@ public final class ActiveSecurityAdminRulesListResultInner private String skipToken; /** - * Creates an instance of ActiveSecurityAdminRulesListResultInner class. + * Creates an instance of ActiveSecurityAdminRulesListResult class. */ - public ActiveSecurityAdminRulesListResultInner() { + private ActiveSecurityAdminRulesListResult() { } /** @@ -42,21 +41,10 @@ public ActiveSecurityAdminRulesListResultInner() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } - /** - * Set the value property: Gets a page of active security admin rules. - * - * @param value the value value to set. - * @return the ActiveSecurityAdminRulesListResultInner object itself. - */ - public ActiveSecurityAdminRulesListResultInner withValue(List value) { - this.value = value; - return this; - } - /** * Get the skipToken property: When present, the value can be passed to a subsequent query call (together with the * same query and scopes used in the current request) to retrieve the next page of data. @@ -67,18 +55,6 @@ public String skipToken() { return this.skipToken; } - /** - * Set the skipToken property: When present, the value can be passed to a subsequent query call (together with the - * same query and scopes used in the current request) to retrieve the next page of data. - * - * @param skipToken the skipToken value to set. - * @return the ActiveSecurityAdminRulesListResultInner object itself. - */ - public ActiveSecurityAdminRulesListResultInner withSkipToken(String skipToken) { - this.skipToken = skipToken; - return this; - } - /** * Validates the instance. * @@ -102,33 +78,33 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ActiveSecurityAdminRulesListResultInner from the JsonReader. + * Reads an instance of ActiveSecurityAdminRulesListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ActiveSecurityAdminRulesListResultInner 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 ActiveSecurityAdminRulesListResultInner. + * @return An instance of ActiveSecurityAdminRulesListResult 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 ActiveSecurityAdminRulesListResult. */ - public static ActiveSecurityAdminRulesListResultInner fromJson(JsonReader jsonReader) throws IOException { + public static ActiveSecurityAdminRulesListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ActiveSecurityAdminRulesListResultInner deserializedActiveSecurityAdminRulesListResultInner - = new ActiveSecurityAdminRulesListResultInner(); + ActiveSecurityAdminRulesListResult deserializedActiveSecurityAdminRulesListResult + = new ActiveSecurityAdminRulesListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> ActiveBaseSecurityAdminRule.fromJson(reader1)); - deserializedActiveSecurityAdminRulesListResultInner.value = value; + List value + = reader.readArray(reader1 -> ActiveBaseSecurityAdminRuleInner.fromJson(reader1)); + deserializedActiveSecurityAdminRulesListResult.value = value; } else if ("skipToken".equals(fieldName)) { - deserializedActiveSecurityAdminRulesListResultInner.skipToken = reader.getString(); + deserializedActiveSecurityAdminRulesListResult.skipToken = reader.getString(); } else { reader.skipChildren(); } } - return deserializedActiveSecurityAdminRulesListResultInner; + return deserializedActiveSecurityAdminRulesListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRuleCollectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRuleCollectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java index 3f9a9f1a89c9..59cdb4880dc0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRuleCollectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Security admin configuration rule collection list result. + * The response of a AdminRuleCollection list operation. */ -@Fluent +@Immutable public final class AdminRuleCollectionListResult implements JsonSerializable { /* - * A list of network manager security admin configuration rule collections + * The AdminRuleCollection items on this page */ private List value; /* - * Gets the URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of AdminRuleCollectionListResult class. */ - public AdminRuleCollectionListResult() { + private AdminRuleCollectionListResult() { } /** - * Get the value property: A list of network manager security admin configuration rule collections. + * Get the value property: The AdminRuleCollection items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of network manager security admin configuration rule collections. - * - * @param value the value value to set. - * @return the AdminRuleCollectionListResult object itself. - */ - public AdminRuleCollectionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the AdminRuleCollectionListResult object itself. - */ - public AdminRuleCollectionListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model AdminRuleCollectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(AdminRuleCollectionListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AdminRuleCollectionListResult 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 AdminRuleCollectionListResult. */ public static AdminRuleCollectionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRuleListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRuleListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java index 8dc368dbf2f5..3acf8487d86c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRuleListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * security configuration admin rule list result. + * Paged collection of BaseAdminRule items. */ -@Fluent +@Immutable public final class AdminRuleListResult implements JsonSerializable { /* - * A list of admin rules + * The BaseAdminRule items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of AdminRuleListResult class. */ - public AdminRuleListResult() { + private AdminRuleListResult() { } /** - * Get the value property: A list of admin rules. + * Get the value property: The BaseAdminRule items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of admin rules. - * - * @param value the value value to set. - * @return the AdminRuleListResult object itself. - */ - public AdminRuleListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the AdminRuleListResult object itself. - */ - public AdminRuleListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model AdminRuleListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(AdminRuleListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AdminRuleListResult 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 AdminRuleListResult. */ public static AdminRuleListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAvailableSslPredefinedPolicies.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAvailableSslPredefinedPolicies.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java index 8bf4fb2135b0..9f5d48dab2c0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAvailableSslPredefinedPolicies.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for ApplicationGatewayAvailableSslOptions API service call. */ -@Fluent +@Immutable public final class ApplicationGatewayAvailableSslPredefinedPolicies implements JsonSerializable { /* - * List of available Ssl predefined policy. + * The ApplicationGatewaySslPredefinedPolicy items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ApplicationGatewayAvailableSslPredefinedPolicies class. */ - public ApplicationGatewayAvailableSslPredefinedPolicies() { + private ApplicationGatewayAvailableSslPredefinedPolicies() { } /** - * Get the value property: List of available Ssl predefined policy. + * Get the value property: The ApplicationGatewaySslPredefinedPolicy items on this page. * * @return the value value. */ @@ -45,19 +46,7 @@ public List value() { } /** - * Set the value property: List of available Ssl predefined policy. - * - * @param value the value value to set. - * @return the ApplicationGatewayAvailableSslPredefinedPolicies object itself. - */ - public ApplicationGatewayAvailableSslPredefinedPolicies - withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -65,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ApplicationGatewayAvailableSslPredefinedPolicies object itself. - */ - public ApplicationGatewayAvailableSslPredefinedPolicies withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ApplicationGatewayAvailableSslPredefinedPolicies")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ApplicationGatewayAvailableSslPredefinedPolicies.class); + /** * {@inheritDoc} */ @@ -104,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ApplicationGatewayAvailableSslPredefinedPolicies 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 ApplicationGatewayAvailableSslPredefinedPolicies. */ public static ApplicationGatewayAvailableSslPredefinedPolicies fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java index ce3fbd0301da..b217d5645be5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListApplicationGateways API service call. + * The response of a ApplicationGateway list operation. */ -@Fluent +@Immutable public final class ApplicationGatewayListResult implements JsonSerializable { /* - * List of an application gateways in a resource group. + * The ApplicationGateway items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ApplicationGatewayListResult class. */ - public ApplicationGatewayListResult() { + private ApplicationGatewayListResult() { } /** - * Get the value property: List of an application gateways in a resource group. + * Get the value property: The ApplicationGateway items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of an application gateways in a resource group. - * - * @param value the value value to set. - * @return the ApplicationGatewayListResult object itself. - */ - public ApplicationGatewayListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ApplicationGatewayListResult object itself. - */ - public ApplicationGatewayListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ApplicationGatewayListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ApplicationGatewayListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ApplicationGatewayListResult 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 ApplicationGatewayListResult. */ public static ApplicationGatewayListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateEndpointConnectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateEndpointConnectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java index e38d93ab3358..2a79c67a28a9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateEndpointConnectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,30 +15,29 @@ import java.util.List; /** - * Response for ListApplicationGatewayPrivateEndpointConnection API service call. Gets all private endpoint connections - * for an application gateway. + * The response of a ApplicationGatewayPrivateEndpointConnection list operation. */ -@Fluent +@Immutable public final class ApplicationGatewayPrivateEndpointConnectionListResult implements JsonSerializable { /* - * List of private endpoint connections on an application gateway. + * The ApplicationGatewayPrivateEndpointConnection items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ApplicationGatewayPrivateEndpointConnectionListResult class. */ - public ApplicationGatewayPrivateEndpointConnectionListResult() { + private ApplicationGatewayPrivateEndpointConnectionListResult() { } /** - * Get the value property: List of private endpoint connections on an application gateway. + * Get the value property: The ApplicationGatewayPrivateEndpointConnection items on this page. * * @return the value value. */ @@ -46,19 +46,7 @@ public List value() { } /** - * Set the value property: List of private endpoint connections on an application gateway. - * - * @param value the value value to set. - * @return the ApplicationGatewayPrivateEndpointConnectionListResult object itself. - */ - public ApplicationGatewayPrivateEndpointConnectionListResult - withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -66,28 +54,24 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ApplicationGatewayPrivateEndpointConnectionListResult object itself. - */ - public ApplicationGatewayPrivateEndpointConnectionListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ApplicationGatewayPrivateEndpointConnectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER + = new ClientLogger(ApplicationGatewayPrivateEndpointConnectionListResult.class); + /** * {@inheritDoc} */ @@ -105,6 +89,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ApplicationGatewayPrivateEndpointConnectionListResult 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 ApplicationGatewayPrivateEndpointConnectionListResult. */ public static ApplicationGatewayPrivateEndpointConnectionListResult fromJson(JsonReader jsonReader) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkResourceListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkResourceListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java index 736e4cf4e8dd..85ea69416357 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkResourceListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,30 +15,29 @@ import java.util.List; /** - * Response for ListApplicationGatewayPrivateLinkResources API service call. Gets all private link resources for an - * application gateway. + * The response of a ApplicationGatewayPrivateLinkResource list operation. */ -@Fluent +@Immutable public final class ApplicationGatewayPrivateLinkResourceListResult implements JsonSerializable { /* - * List of private link resources of an application gateway. + * The ApplicationGatewayPrivateLinkResource items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ApplicationGatewayPrivateLinkResourceListResult class. */ - public ApplicationGatewayPrivateLinkResourceListResult() { + private ApplicationGatewayPrivateLinkResourceListResult() { } /** - * Get the value property: List of private link resources of an application gateway. + * Get the value property: The ApplicationGatewayPrivateLinkResource items on this page. * * @return the value value. */ @@ -46,19 +46,7 @@ public List value() { } /** - * Set the value property: List of private link resources of an application gateway. - * - * @param value the value value to set. - * @return the ApplicationGatewayPrivateLinkResourceListResult object itself. - */ - public ApplicationGatewayPrivateLinkResourceListResult - withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -66,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ApplicationGatewayPrivateLinkResourceListResult object itself. - */ - public ApplicationGatewayPrivateLinkResourceListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ApplicationGatewayPrivateLinkResourceListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ApplicationGatewayPrivateLinkResourceListResult.class); + /** * {@inheritDoc} */ @@ -105,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ApplicationGatewayPrivateLinkResourceListResult 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 ApplicationGatewayPrivateLinkResourceListResult. */ public static ApplicationGatewayPrivateLinkResourceListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafDynamicManifestResultList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafDynamicManifestResultList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java index 6787375b1117..469e50cfc9f8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafDynamicManifestResultList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for ApplicationGatewayWafDynamicManifests API service call. */ -@Fluent +@Immutable public final class ApplicationGatewayWafDynamicManifestResultList implements JsonSerializable { /* - * The list of application gateway waf manifest. + * The ApplicationGatewayWafDynamicManifestResult items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ApplicationGatewayWafDynamicManifestResultList class. */ - public ApplicationGatewayWafDynamicManifestResultList() { + private ApplicationGatewayWafDynamicManifestResultList() { } /** - * Get the value property: The list of application gateway waf manifest. + * Get the value property: The ApplicationGatewayWafDynamicManifestResult items on this page. * * @return the value value. */ @@ -45,19 +46,7 @@ public List value() { } /** - * Set the value property: The list of application gateway waf manifest. - * - * @param value the value value to set. - * @return the ApplicationGatewayWafDynamicManifestResultList object itself. - */ - public ApplicationGatewayWafDynamicManifestResultList - withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -65,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ApplicationGatewayWafDynamicManifestResultList object itself. - */ - public ApplicationGatewayWafDynamicManifestResultList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ApplicationGatewayWafDynamicManifestResultList")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ApplicationGatewayWafDynamicManifestResultList.class); + /** * {@inheritDoc} */ @@ -104,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ApplicationGatewayWafDynamicManifestResultList 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 ApplicationGatewayWafDynamicManifestResultList. */ public static ApplicationGatewayWafDynamicManifestResultList fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationSecurityGroupListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationSecurityGroupListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java index b3d6967853f9..2bc803920e31 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationSecurityGroupListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * A list of application security groups. + * The response of a ApplicationSecurityGroup list operation. */ -@Fluent +@Immutable public final class ApplicationSecurityGroupListResult implements JsonSerializable { /* - * A list of application security groups. + * The ApplicationSecurityGroup items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ApplicationSecurityGroupListResult class. */ - public ApplicationSecurityGroupListResult() { + private ApplicationSecurityGroupListResult() { } /** - * Get the value property: A list of application security groups. + * Get the value property: The ApplicationSecurityGroup items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of application security groups. - * - * @param value the value value to set. - * @return the ApplicationSecurityGroupListResult object itself. - */ - public ApplicationSecurityGroupListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ApplicationSecurityGroupListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ApplicationSecurityGroupListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ApplicationSecurityGroupListResult 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 ApplicationSecurityGroupListResult. */ public static ApplicationSecurityGroupListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthorizationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthorizationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java index 45ab3802374a..75097302ed9d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthorizationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + * Paged collection of ExpressRouteCircuitAuthorization items. */ -@Fluent +@Immutable public final class AuthorizationListResult implements JsonSerializable { /* - * The authorizations in an ExpressRoute Circuit. + * The ExpressRouteCircuitAuthorization items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of AuthorizationListResult class. */ - public AuthorizationListResult() { + private AuthorizationListResult() { } /** - * Get the value property: The authorizations in an ExpressRoute Circuit. + * Get the value property: The ExpressRouteCircuitAuthorization items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: The authorizations in an ExpressRoute Circuit. - * - * @param value the value value to set. - * @return the AuthorizationListResult object itself. - */ - public AuthorizationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the AuthorizationListResult object itself. - */ - public AuthorizationListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model AuthorizationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(AuthorizationListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AuthorizationListResult 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 AuthorizationListResult. */ public static AuthorizationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AutoApprovedPrivateLinkServicesResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java similarity index 75% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AutoApprovedPrivateLinkServicesResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java index 58252b6422da..1b87148769a6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AutoApprovedPrivateLinkServicesResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * An array of private link service id that can be linked to a private end point with auto approved. */ -@Fluent +@Immutable public final class AutoApprovedPrivateLinkServicesResult implements JsonSerializable { /* - * An array of auto approved private link service. + * The AutoApprovedPrivateLinkService items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of AutoApprovedPrivateLinkServicesResult class. */ - public AutoApprovedPrivateLinkServicesResult() { + private AutoApprovedPrivateLinkServicesResult() { } /** - * Get the value property: An array of auto approved private link service. + * Get the value property: The AutoApprovedPrivateLinkService items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: An array of auto approved private link service. - * - * @param value the value value to set. - * @return the AutoApprovedPrivateLinkServicesResult object itself. - */ - public AutoApprovedPrivateLinkServicesResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model AutoApprovedPrivateLinkServicesResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(AutoApprovedPrivateLinkServicesResult.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AutoApprovedPrivateLinkServicesResult 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 AutoApprovedPrivateLinkServicesResult. */ public static AutoApprovedPrivateLinkServicesResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableDelegationsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java similarity index 74% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableDelegationsResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java index 2d43e89ebee1..abbfbc3e2396 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableDelegationsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * An array of available delegations. */ -@Fluent +@Immutable public final class AvailableDelegationsResult implements JsonSerializable { /* - * An array of available delegations. + * The AvailableDelegation items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of AvailableDelegationsResult class. */ - public AvailableDelegationsResult() { + private AvailableDelegationsResult() { } /** - * Get the value property: An array of available delegations. + * Get the value property: The AvailableDelegation items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: An array of available delegations. - * - * @param value the value value to set. - * @return the AvailableDelegationsResult object itself. - */ - public AvailableDelegationsResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model AvailableDelegationsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(AvailableDelegationsResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AvailableDelegationsResult 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 AvailableDelegationsResult. */ public static AvailableDelegationsResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailablePrivateEndpointTypesResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java similarity index 75% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailablePrivateEndpointTypesResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java index 5101f7473afd..66e45b347fb9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailablePrivateEndpointTypesResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * An array of available PrivateEndpoint types. */ -@Fluent +@Immutable public final class AvailablePrivateEndpointTypesResult implements JsonSerializable { /* - * An array of available privateEndpoint type. + * The AvailablePrivateEndpointType items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of AvailablePrivateEndpointTypesResult class. */ - public AvailablePrivateEndpointTypesResult() { + private AvailablePrivateEndpointTypesResult() { } /** - * Get the value property: An array of available privateEndpoint type. + * Get the value property: The AvailablePrivateEndpointType items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: An array of available privateEndpoint type. - * - * @param value the value value to set. - * @return the AvailablePrivateEndpointTypesResult object itself. - */ - public AvailablePrivateEndpointTypesResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model AvailablePrivateEndpointTypesResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(AvailablePrivateEndpointTypesResult.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AvailablePrivateEndpointTypesResult 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 AvailablePrivateEndpointTypesResult. */ public static AvailablePrivateEndpointTypesResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableServiceAliasesResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java similarity index 74% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableServiceAliasesResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java index 7cc5a1f244be..9f4778633075 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableServiceAliasesResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * An array of available service aliases. */ -@Fluent +@Immutable public final class AvailableServiceAliasesResult implements JsonSerializable { /* - * An array of available service aliases. + * The AvailableServiceAlias items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of AvailableServiceAliasesResult class. */ - public AvailableServiceAliasesResult() { + private AvailableServiceAliasesResult() { } /** - * Get the value property: An array of available service aliases. + * Get the value property: The AvailableServiceAlias items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: An array of available service aliases. - * - * @param value the value value to set. - * @return the AvailableServiceAliasesResult object itself. - */ - public AvailableServiceAliasesResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model AvailableServiceAliasesResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(AvailableServiceAliasesResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AvailableServiceAliasesResult 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 AvailableServiceAliasesResult. */ public static AvailableServiceAliasesResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallFqdnTagListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallFqdnTagListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java index c532d7d668c8..2557952fa71f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallFqdnTagListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListAzureFirewallFqdnTags API service call. + * The response of a AzureFirewallFqdnTag list operation. */ -@Fluent +@Immutable public final class AzureFirewallFqdnTagListResult implements JsonSerializable { /* - * List of Azure Firewall FQDN Tags in a resource group. + * The AzureFirewallFqdnTag items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of AzureFirewallFqdnTagListResult class. */ - public AzureFirewallFqdnTagListResult() { + private AzureFirewallFqdnTagListResult() { } /** - * Get the value property: List of Azure Firewall FQDN Tags in a resource group. + * Get the value property: The AzureFirewallFqdnTag items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Azure Firewall FQDN Tags in a resource group. - * - * @param value the value value to set. - * @return the AzureFirewallFqdnTagListResult object itself. - */ - public AzureFirewallFqdnTagListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the AzureFirewallFqdnTagListResult object itself. - */ - public AzureFirewallFqdnTagListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model AzureFirewallFqdnTagListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(AzureFirewallFqdnTagListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AzureFirewallFqdnTagListResult 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 AzureFirewallFqdnTagListResult. */ public static AzureFirewallFqdnTagListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java index ba14f358d610..6d4431ec4e12 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListAzureFirewalls API service call. + * The response of a AzureFirewall list operation. */ -@Fluent +@Immutable public final class AzureFirewallListResult implements JsonSerializable { /* - * List of Azure Firewalls in a resource group. + * The AzureFirewall items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of AzureFirewallListResult class. */ - public AzureFirewallListResult() { + private AzureFirewallListResult() { } /** - * Get the value property: List of Azure Firewalls in a resource group. + * Get the value property: The AzureFirewall items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Azure Firewalls in a resource group. - * - * @param value the value value to set. - * @return the AzureFirewallListResult object itself. - */ - public AzureFirewallListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the AzureFirewallListResult object itself. - */ - public AzureFirewallListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model AzureFirewallListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(AzureFirewallListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AzureFirewallListResult 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 AzureFirewallListResult. */ public static AzureFirewallListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureWebCategoryListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureWebCategoryListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java index 1d15c992829a..833eb0a314b5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureWebCategoryListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListAzureWebCategories API service call. + * List of Azure Web Categories for a given Subscription. */ -@Fluent +@Immutable public final class AzureWebCategoryListResult implements JsonSerializable { /* - * List of Azure Web Categories for a given Subscription. + * The AzureWebCategory items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of AzureWebCategoryListResult class. */ - public AzureWebCategoryListResult() { + private AzureWebCategoryListResult() { } /** - * Get the value property: List of Azure Web Categories for a given Subscription. + * Get the value property: The AzureWebCategory items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Azure Web Categories for a given Subscription. - * - * @param value the value value to set. - * @return the AzureWebCategoryListResult object itself. - */ - public AzureWebCategoryListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the AzureWebCategoryListResult object itself. - */ - public AzureWebCategoryListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model AzureWebCategoryListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(AzureWebCategoryListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AzureWebCategoryListResult 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 AzureWebCategoryListResult. */ public static AzureWebCategoryListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionActiveSessionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionActiveSessionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java index 410be9bad575..2f47b6dd36ee 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionActiveSessionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * Response for GetActiveSessions. */ -@Fluent +@Immutable public final class BastionActiveSessionListResult implements JsonSerializable { /* - * List of active sessions on the bastion. + * The BastionActiveSession items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of BastionActiveSessionListResult class. */ - public BastionActiveSessionListResult() { + private BastionActiveSessionListResult() { } /** - * Get the value property: List of active sessions on the bastion. + * Get the value property: The BastionActiveSession items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of active sessions on the bastion. - * - * @param value the value value to set. - * @return the BastionActiveSessionListResult object itself. - */ - public BastionActiveSessionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the BastionActiveSessionListResult object itself. - */ - public BastionActiveSessionListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model BastionActiveSessionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(BastionActiveSessionListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of BastionActiveSessionListResult 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 BastionActiveSessionListResult. */ public static BastionActiveSessionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java index 688893d37b28..f4052a26bcb6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListBastionHosts API service call. + * The response of a BastionHost list operation. */ -@Fluent +@Immutable public final class BastionHostListResult implements JsonSerializable { /* - * List of Bastion Hosts in a resource group. + * The BastionHost items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of BastionHostListResult class. */ - public BastionHostListResult() { + private BastionHostListResult() { } /** - * Get the value property: List of Bastion Hosts in a resource group. + * Get the value property: The BastionHost items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Bastion Hosts in a resource group. - * - * @param value the value value to set. - * @return the BastionHostListResult object itself. - */ - public BastionHostListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the BastionHostListResult object itself. - */ - public BastionHostListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model BastionHostListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(BastionHostListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of BastionHostListResult 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 BastionHostListResult. */ public static BastionHostListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionSessionDeleteResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionSessionDeleteResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java index 78b3f62bc113..afcf3ddc7efb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionSessionDeleteResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * Response for DisconnectActiveSessions. */ -@Fluent +@Immutable public final class BastionSessionDeleteResult implements JsonSerializable { /* - * List of sessions with their corresponding state. + * The BastionSessionState items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of BastionSessionDeleteResult class. */ - public BastionSessionDeleteResult() { + private BastionSessionDeleteResult() { } /** - * Get the value property: List of sessions with their corresponding state. + * Get the value property: The BastionSessionState items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of sessions with their corresponding state. - * - * @param value the value value to set. - * @return the BastionSessionDeleteResult object itself. - */ - public BastionSessionDeleteResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the BastionSessionDeleteResult object itself. - */ - public BastionSessionDeleteResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model BastionSessionDeleteResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(BastionSessionDeleteResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of BastionSessionDeleteResult 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 BastionSessionDeleteResult. */ public static BastionSessionDeleteResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java index e59ad44095fa..2ebdc4b260b4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * Response for all the Bastion Shareable Link endpoints. */ -@Fluent +@Immutable public final class BastionShareableLinkListResult implements JsonSerializable { /* - * List of Bastion Shareable Links for the request. + * The BastionShareableLink items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of BastionShareableLinkListResult class. */ - public BastionShareableLinkListResult() { + private BastionShareableLinkListResult() { } /** - * Get the value property: List of Bastion Shareable Links for the request. + * Get the value property: The BastionShareableLink items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Bastion Shareable Links for the request. - * - * @param value the value value to set. - * @return the BastionShareableLinkListResult object itself. - */ - public BastionShareableLinkListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the BastionShareableLinkListResult object itself. - */ - public BastionShareableLinkListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model BastionShareableLinkListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(BastionShareableLinkListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of BastionShareableLinkListResult 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 BastionShareableLinkListResult. */ public static BastionShareableLinkListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java new file mode 100644 index 000000000000..758636688a3c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java @@ -0,0 +1,88 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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.network.fluent.models.BgpPeerStatusInner; +import java.io.IOException; +import java.util.List; + +/** + * Response for list BGP peer status API service call. + */ +@Immutable +public final class BgpPeerStatusListResult implements JsonSerializable { + /* + * List of BGP peers. + */ + private List value; + + /** + * Creates an instance of BgpPeerStatusListResult class. + */ + private BgpPeerStatusListResult() { + } + + /** + * Get the value property: List of BGP peers. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (value() != null) { + value().forEach(e -> e.validate()); + } + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of BgpPeerStatusListResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of BgpPeerStatusListResult 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 BgpPeerStatusListResult. + */ + public static BgpPeerStatusListResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + BgpPeerStatusListResult deserializedBgpPeerStatusListResult = new BgpPeerStatusListResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("value".equals(fieldName)) { + List value = reader.readArray(reader1 -> BgpPeerStatusInner.fromJson(reader1)); + deserializedBgpPeerStatusListResult.value = value; + } else { + reader.skipChildren(); + } + } + + return deserializedBgpPeerStatusListResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpServiceCommunityListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpServiceCommunityListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java index d51936b2a282..53f07a72e25f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpServiceCommunityListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListServiceCommunity API service call. + * The response of a BgpServiceCommunity list operation. */ -@Fluent +@Immutable public final class BgpServiceCommunityListResult implements JsonSerializable { /* - * A list of service community resources. + * The BgpServiceCommunity items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of BgpServiceCommunityListResult class. */ - public BgpServiceCommunityListResult() { + private BgpServiceCommunityListResult() { } /** - * Get the value property: A list of service community resources. + * Get the value property: The BgpServiceCommunity items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of service community resources. - * - * @param value the value value to set. - * @return the BgpServiceCommunityListResult object itself. - */ - public BgpServiceCommunityListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the BgpServiceCommunityListResult object itself. - */ - public BgpServiceCommunityListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model BgpServiceCommunityListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(BgpServiceCommunityListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of BgpServiceCommunityListResult 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 BgpServiceCommunityListResult. */ public static BgpServiceCommunityListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java similarity index 80% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java index b341576e4085..9e4e271b14e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,17 +16,22 @@ /** * List of connection monitors. */ -@Fluent +@Immutable public final class ConnectionMonitorListResult implements JsonSerializable { /* * Information about connection monitors. */ private List value; + /* + * URL to get the next set of results. + */ + private String nextLink; + /** * Creates an instance of ConnectionMonitorListResult class. */ - public ConnectionMonitorListResult() { + private ConnectionMonitorListResult() { } /** @@ -39,14 +44,12 @@ public List value() { } /** - * Set the value property: Information about connection monitors. + * Get the nextLink property: URL to get the next set of results. * - * @param value the value value to set. - * @return the ConnectionMonitorListResult object itself. + * @return the nextLink value. */ - public ConnectionMonitorListResult withValue(List value) { - this.value = value; - return this; + public String nextLink() { + return this.nextLink; } /** @@ -67,6 +70,7 @@ public void validate() { 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(); } @@ -89,6 +93,8 @@ public static ConnectionMonitorListResult fromJson(JsonReader jsonReader) throws List value = reader.readArray(reader1 -> ConnectionMonitorResultInner.fromJson(reader1)); deserializedConnectionMonitorListResult.value = value; + } else if ("nextLink".equals(fieldName)) { + deserializedConnectionMonitorListResult.nextLink = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionSharedKeyResultList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionSharedKeyResultList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java index 3d310b383f1c..2895cf3d6131 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionSharedKeyResultList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,26 +18,26 @@ * The list of shared keys for the vpn link connection. It should only contain one shared key for each vpn link * connection. */ -@Fluent +@Immutable public final class ConnectionSharedKeyResultList implements JsonSerializable { /* - * List of SharedKeys. + * The ConnectionSharedKeyResult items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ConnectionSharedKeyResultList class. */ - public ConnectionSharedKeyResultList() { + private ConnectionSharedKeyResultList() { } /** - * Get the value property: List of SharedKeys. + * Get the value property: The ConnectionSharedKeyResult items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of SharedKeys. - * - * @param value the value value to set. - * @return the ConnectionSharedKeyResultList object itself. - */ - public ConnectionSharedKeyResultList withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ConnectionSharedKeyResultList object itself. - */ - public ConnectionSharedKeyResultList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ConnectionSharedKeyResultList")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ConnectionSharedKeyResultList.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ConnectionSharedKeyResultList 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 ConnectionSharedKeyResultList. */ public static ConnectionSharedKeyResultList fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java index 6a72f431b2e4..2e27c93c8fd3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,30 +15,29 @@ import java.util.List; /** - * Result of the request to list network manager connectivity configurations. It contains a list of configurations and a - * link to get the next set of results. + * The response of a ConnectivityConfiguration list operation. */ -@Fluent +@Immutable public final class ConnectivityConfigurationListResult implements JsonSerializable { /* - * Gets a page of Connectivity Configurations + * The ConnectivityConfiguration items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ConnectivityConfigurationListResult class. */ - public ConnectivityConfigurationListResult() { + private ConnectivityConfigurationListResult() { } /** - * Get the value property: Gets a page of Connectivity Configurations. + * Get the value property: The ConnectivityConfiguration items on this page. * * @return the value value. */ @@ -46,18 +46,7 @@ public List value() { } /** - * Set the value property: Gets a page of Connectivity Configurations. - * - * @param value the value value to set. - * @return the ConnectivityConfigurationListResult object itself. - */ - public ConnectivityConfigurationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -65,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the ConnectivityConfigurationListResult object itself. - */ - public ConnectivityConfigurationListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ConnectivityConfigurationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ConnectivityConfigurationListResult.class); + /** * {@inheritDoc} */ @@ -104,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ConnectivityConfigurationListResult 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 ConnectivityConfigurationListResult. */ public static ConnectivityConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java index a0c4064712a4..11d53cf16265 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListCustomIpPrefixes API service call. + * The response of a CustomIpPrefix list operation. */ -@Fluent +@Immutable public final class CustomIpPrefixListResult implements JsonSerializable { /* - * A list of Custom IP prefixes that exists in a resource group. + * The CustomIpPrefix items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of CustomIpPrefixListResult class. */ - public CustomIpPrefixListResult() { + private CustomIpPrefixListResult() { } /** - * Get the value property: A list of Custom IP prefixes that exists in a resource group. + * Get the value property: The CustomIpPrefix items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of Custom IP prefixes that exists in a resource group. - * - * @param value the value value to set. - * @return the CustomIpPrefixListResult object itself. - */ - public CustomIpPrefixListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the CustomIpPrefixListResult object itself. - */ - public CustomIpPrefixListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model CustomIpPrefixListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(CustomIpPrefixListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of CustomIpPrefixListResult 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 CustomIpPrefixListResult. */ public static CustomIpPrefixListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosProtectionPlanListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosProtectionPlanListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java index f03ce0ce0585..604462516c34 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosProtectionPlanListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * A list of DDoS protection plans. + * The response of a DdosProtectionPlan list operation. */ -@Fluent +@Immutable public final class DdosProtectionPlanListResult implements JsonSerializable { /* - * A list of DDoS protection plans. + * The DdosProtectionPlan items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of DdosProtectionPlanListResult class. */ - public DdosProtectionPlanListResult() { + private DdosProtectionPlanListResult() { } /** - * Get the value property: A list of DDoS protection plans. + * Get the value property: The DdosProtectionPlan items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of DDoS protection plans. - * - * @param value the value value to set. - * @return the DdosProtectionPlanListResult object itself. - */ - public DdosProtectionPlanListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model DdosProtectionPlanListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(DdosProtectionPlanListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of DdosProtectionPlanListResult 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 DdosProtectionPlanListResult. */ public static DdosProtectionPlanListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DscpConfigurationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DscpConfigurationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java index f539f4b6c23d..8f34a82a096e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DscpConfigurationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the DscpConfigurationList API service call. + * The response of a DscpConfiguration list operation. */ -@Fluent +@Immutable public final class DscpConfigurationListResult implements JsonSerializable { /* - * A list of dscp configurations in a resource group. + * The DscpConfiguration items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of DscpConfigurationListResult class. */ - public DscpConfigurationListResult() { + private DscpConfigurationListResult() { } /** - * Get the value property: A list of dscp configurations in a resource group. + * Get the value property: The DscpConfiguration items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of dscp configurations in a resource group. - * - * @param value the value value to set. - * @return the DscpConfigurationListResult object itself. - */ - public DscpConfigurationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model DscpConfigurationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(DscpConfigurationListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of DscpConfigurationListResult 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 DscpConfigurationListResult. */ public static DscpConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/EffectiveRouteMapRouteList.java similarity index 51% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/EffectiveRouteMapRouteList.java index 550bd1cb7e9b..266823574138 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/EffectiveRouteMapRouteList.java @@ -1,32 +1,32 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.models.EffectiveRouteMapRoute; +import com.azure.resourcemanager.network.fluent.models.EffectiveRouteMapRouteInner; import java.io.IOException; import java.util.List; /** * EffectiveRouteMapRoute List. */ -@Fluent -public final class EffectiveRouteMapRouteListInner implements JsonSerializable { +@Immutable +public final class EffectiveRouteMapRouteList implements JsonSerializable { /* * The list of Effective RouteMap Routes configured on the connection resource. */ - private List value; + private List value; /** - * Creates an instance of EffectiveRouteMapRouteListInner class. + * Creates an instance of EffectiveRouteMapRouteList class. */ - public EffectiveRouteMapRouteListInner() { + private EffectiveRouteMapRouteList() { } /** @@ -34,21 +34,10 @@ public EffectiveRouteMapRouteListInner() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } - /** - * Set the value property: The list of Effective RouteMap Routes configured on the connection resource. - * - * @param value the value value to set. - * @return the EffectiveRouteMapRouteListInner object itself. - */ - public EffectiveRouteMapRouteListInner withValue(List value) { - this.value = value; - return this; - } - /** * Validates the instance. * @@ -71,31 +60,30 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of EffectiveRouteMapRouteListInner from the JsonReader. + * Reads an instance of EffectiveRouteMapRouteList from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of EffectiveRouteMapRouteListInner 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 EffectiveRouteMapRouteListInner. + * @return An instance of EffectiveRouteMapRouteList 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 EffectiveRouteMapRouteList. */ - public static EffectiveRouteMapRouteListInner fromJson(JsonReader jsonReader) throws IOException { + public static EffectiveRouteMapRouteList fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - EffectiveRouteMapRouteListInner deserializedEffectiveRouteMapRouteListInner - = new EffectiveRouteMapRouteListInner(); + EffectiveRouteMapRouteList deserializedEffectiveRouteMapRouteList = new EffectiveRouteMapRouteList(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> EffectiveRouteMapRoute.fromJson(reader1)); - deserializedEffectiveRouteMapRouteListInner.value = value; + List value + = reader.readArray(reader1 -> EffectiveRouteMapRouteInner.fromJson(reader1)); + deserializedEffectiveRouteMapRouteList.value = value; } else { reader.skipChildren(); } } - return deserializedEffectiveRouteMapRouteListInner; + return deserializedEffectiveRouteMapRouteList; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EndpointServicesListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EndpointServicesListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java index 999b10672ea1..9ba4085879ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EndpointServicesListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListAvailableEndpointServices API service call. + * Paged collection of EndpointServiceResult items. */ -@Fluent +@Immutable public final class EndpointServicesListResult implements JsonSerializable { /* - * List of available endpoint services in a region. + * The EndpointServiceResult items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of EndpointServicesListResult class. */ - public EndpointServicesListResult() { + private EndpointServicesListResult() { } /** - * Get the value property: List of available endpoint services in a region. + * Get the value property: The EndpointServiceResult items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of available endpoint services in a region. - * - * @param value the value value to set. - * @return the EndpointServicesListResult object itself. - */ - public EndpointServicesListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the EndpointServicesListResult object itself. - */ - public EndpointServicesListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model EndpointServicesListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(EndpointServicesListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of EndpointServicesListResult 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 EndpointServicesListResult. */ public static EndpointServicesListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitConnectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java similarity index 67% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitConnectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java index aab755912645..be3e6fd30f40 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitConnectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,30 +15,29 @@ import java.util.List; /** - * Response for ListConnections API service call retrieves all global reach connections that belongs to a Private - * Peering for an ExpressRouteCircuit. + * The response of a ExpressRouteCircuitConnection list operation. */ -@Fluent +@Immutable public final class ExpressRouteCircuitConnectionListResult implements JsonSerializable { /* - * The global reach connection associated with Private Peering in an ExpressRoute Circuit. + * The ExpressRouteCircuitConnection items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteCircuitConnectionListResult class. */ - public ExpressRouteCircuitConnectionListResult() { + private ExpressRouteCircuitConnectionListResult() { } /** - * Get the value property: The global reach connection associated with Private Peering in an ExpressRoute Circuit. + * Get the value property: The ExpressRouteCircuitConnection items on this page. * * @return the value value. */ @@ -46,18 +46,7 @@ public List value() { } /** - * Set the value property: The global reach connection associated with Private Peering in an ExpressRoute Circuit. - * - * @param value the value value to set. - * @return the ExpressRouteCircuitConnectionListResult object itself. - */ - public ExpressRouteCircuitConnectionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -65,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRouteCircuitConnectionListResult object itself. - */ - public ExpressRouteCircuitConnectionListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteCircuitConnectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRouteCircuitConnectionListResult.class); + /** * {@inheritDoc} */ @@ -104,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteCircuitConnectionListResult 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 ExpressRouteCircuitConnectionListResult. */ public static ExpressRouteCircuitConnectionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java index 36cad591db8a..b13c18e36ca9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListExpressRouteCircuit API service call. + * The response of a ExpressRouteCircuit list operation. */ -@Fluent +@Immutable public final class ExpressRouteCircuitListResult implements JsonSerializable { /* - * A list of ExpressRouteCircuits in a resource group. + * The ExpressRouteCircuit items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteCircuitListResult class. */ - public ExpressRouteCircuitListResult() { + private ExpressRouteCircuitListResult() { } /** - * Get the value property: A list of ExpressRouteCircuits in a resource group. + * Get the value property: The ExpressRouteCircuit items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of ExpressRouteCircuits in a resource group. - * - * @param value the value value to set. - * @return the ExpressRouteCircuitListResult object itself. - */ - public ExpressRouteCircuitListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRouteCircuitListResult object itself. - */ - public ExpressRouteCircuitListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteCircuitListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRouteCircuitListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteCircuitListResult 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 ExpressRouteCircuitListResult. */ public static ExpressRouteCircuitListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java index 1eb57bbcd28f..ad4498570855 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + * The response of a ExpressRouteCircuitPeering list operation. */ -@Fluent +@Immutable public final class ExpressRouteCircuitPeeringListResult implements JsonSerializable { /* - * The peerings in an express route circuit. + * The ExpressRouteCircuitPeering items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteCircuitPeeringListResult class. */ - public ExpressRouteCircuitPeeringListResult() { + private ExpressRouteCircuitPeeringListResult() { } /** - * Get the value property: The peerings in an express route circuit. + * Get the value property: The ExpressRouteCircuitPeering items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: The peerings in an express route circuit. - * - * @param value the value value to set. - * @return the ExpressRouteCircuitPeeringListResult object itself. - */ - public ExpressRouteCircuitPeeringListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRouteCircuitPeeringListResult object itself. - */ - public ExpressRouteCircuitPeeringListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteCircuitPeeringListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRouteCircuitPeeringListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteCircuitPeeringListResult 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 ExpressRouteCircuitPeeringListResult. */ public static ExpressRouteCircuitPeeringListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteConnectionList.java similarity index 57% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteConnectionList.java index a347be152596..2bc1f0c6f408 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteConnectionList.java @@ -1,31 +1,32 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.fluent.models.ExpressRouteConnectionInner; import java.io.IOException; import java.util.List; /** * ExpressRouteConnection list. */ -@Fluent -public final class ExpressRouteConnectionListInner implements JsonSerializable { +@Immutable +public final class ExpressRouteConnectionList implements JsonSerializable { /* * The list of ExpressRoute connections. */ private List value; /** - * Creates an instance of ExpressRouteConnectionListInner class. + * Creates an instance of ExpressRouteConnectionList class. */ - public ExpressRouteConnectionListInner() { + private ExpressRouteConnectionList() { } /** @@ -37,17 +38,6 @@ public List value() { return this.value; } - /** - * Set the value property: The list of ExpressRoute connections. - * - * @param value the value value to set. - * @return the ExpressRouteConnectionListInner object itself. - */ - public ExpressRouteConnectionListInner withValue(List value) { - this.value = value; - return this; - } - /** * Validates the instance. * @@ -70,17 +60,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ExpressRouteConnectionListInner from the JsonReader. + * Reads an instance of ExpressRouteConnectionList from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ExpressRouteConnectionListInner 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 ExpressRouteConnectionListInner. + * @return An instance of ExpressRouteConnectionList 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 ExpressRouteConnectionList. */ - public static ExpressRouteConnectionListInner fromJson(JsonReader jsonReader) throws IOException { + public static ExpressRouteConnectionList fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ExpressRouteConnectionListInner deserializedExpressRouteConnectionListInner - = new ExpressRouteConnectionListInner(); + ExpressRouteConnectionList deserializedExpressRouteConnectionList = new ExpressRouteConnectionList(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -88,13 +77,13 @@ public static ExpressRouteConnectionListInner fromJson(JsonReader jsonReader) th if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> ExpressRouteConnectionInner.fromJson(reader1)); - deserializedExpressRouteConnectionListInner.value = value; + deserializedExpressRouteConnectionList.value = value; } else { reader.skipChildren(); } } - return deserializedExpressRouteConnectionListInner; + return deserializedExpressRouteConnectionList; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java index c9e638e5e1ee..59dd5b0a48ea 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for ListExpressRouteCrossConnection API service call. + * The response of a ExpressRouteCrossConnection list operation. */ -@Fluent +@Immutable public final class ExpressRouteCrossConnectionListResult implements JsonSerializable { /* - * A list of ExpressRouteCrossConnection resources. + * The ExpressRouteCrossConnection items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteCrossConnectionListResult class. */ - public ExpressRouteCrossConnectionListResult() { + private ExpressRouteCrossConnectionListResult() { } /** - * Get the value property: A list of ExpressRouteCrossConnection resources. + * Get the value property: The ExpressRouteCrossConnection items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of ExpressRouteCrossConnection resources. - * - * @param value the value value to set. - * @return the ExpressRouteCrossConnectionListResult object itself. - */ - public ExpressRouteCrossConnectionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteCrossConnectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRouteCrossConnectionListResult.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteCrossConnectionListResult 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 ExpressRouteCrossConnectionListResult. */ public static ExpressRouteCrossConnectionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionPeeringList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java similarity index 75% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionPeeringList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java index ba35300b7000..1e2249118338 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionPeeringList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. */ -@Fluent +@Immutable public final class ExpressRouteCrossConnectionPeeringList implements JsonSerializable { /* - * The peerings in an express route cross connection. + * The ExpressRouteCrossConnectionPeering items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteCrossConnectionPeeringList class. */ - public ExpressRouteCrossConnectionPeeringList() { + private ExpressRouteCrossConnectionPeeringList() { } /** - * Get the value property: The peerings in an express route cross connection. + * Get the value property: The ExpressRouteCrossConnectionPeering items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: The peerings in an express route cross connection. - * - * @param value the value value to set. - * @return the ExpressRouteCrossConnectionPeeringList object itself. - */ - public ExpressRouteCrossConnectionPeeringList withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteCrossConnectionPeeringList")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRouteCrossConnectionPeeringList.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteCrossConnectionPeeringList 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 ExpressRouteCrossConnectionPeeringList. */ public static ExpressRouteCrossConnectionPeeringList fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteGatewayList.java similarity index 58% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteGatewayList.java index cbe42282ca6e..17e2cb9f0b64 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteGatewayList.java @@ -1,31 +1,32 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.fluent.models.ExpressRouteGatewayInner; import java.io.IOException; import java.util.List; /** * List of ExpressRoute gateways. */ -@Fluent -public final class ExpressRouteGatewayListInner implements JsonSerializable { +@Immutable +public final class ExpressRouteGatewayList implements JsonSerializable { /* * List of ExpressRoute gateways. */ private List value; /** - * Creates an instance of ExpressRouteGatewayListInner class. + * Creates an instance of ExpressRouteGatewayList class. */ - public ExpressRouteGatewayListInner() { + private ExpressRouteGatewayList() { } /** @@ -37,17 +38,6 @@ public List value() { return this.value; } - /** - * Set the value property: List of ExpressRoute gateways. - * - * @param value the value value to set. - * @return the ExpressRouteGatewayListInner object itself. - */ - public ExpressRouteGatewayListInner withValue(List value) { - this.value = value; - return this; - } - /** * Validates the instance. * @@ -70,16 +60,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ExpressRouteGatewayListInner from the JsonReader. + * Reads an instance of ExpressRouteGatewayList from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ExpressRouteGatewayListInner 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 ExpressRouteGatewayListInner. + * @return An instance of ExpressRouteGatewayList 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 ExpressRouteGatewayList. */ - public static ExpressRouteGatewayListInner fromJson(JsonReader jsonReader) throws IOException { + public static ExpressRouteGatewayList fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ExpressRouteGatewayListInner deserializedExpressRouteGatewayListInner = new ExpressRouteGatewayListInner(); + ExpressRouteGatewayList deserializedExpressRouteGatewayList = new ExpressRouteGatewayList(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -87,13 +77,13 @@ public static ExpressRouteGatewayListInner fromJson(JsonReader jsonReader) throw if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> ExpressRouteGatewayInner.fromJson(reader1)); - deserializedExpressRouteGatewayListInner.value = value; + deserializedExpressRouteGatewayList.value = value; } else { reader.skipChildren(); } } - return deserializedExpressRouteGatewayListInner; + return deserializedExpressRouteGatewayList; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java index 88aec797cd83..fac182b702e9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -18,26 +19,26 @@ * * Response for ListExpressRouteLinks API service call. */ -@Fluent +@Immutable public final class ExpressRouteLinkListResult implements JsonSerializable { /* - * The list of ExpressRouteLink sub-resources. + * The ExpressRouteLink items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteLinkListResult class. */ - public ExpressRouteLinkListResult() { + private ExpressRouteLinkListResult() { } /** - * Get the value property: The list of ExpressRouteLink sub-resources. + * Get the value property: The ExpressRouteLink items on this page. * * @return the value value. */ @@ -46,18 +47,7 @@ public List value() { } /** - * Set the value property: The list of ExpressRouteLink sub-resources. - * - * @param value the value value to set. - * @return the ExpressRouteLinkListResult object itself. - */ - public ExpressRouteLinkListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -65,28 +55,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRouteLinkListResult object itself. - */ - public ExpressRouteLinkListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteLinkListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRouteLinkListResult.class); + /** * {@inheritDoc} */ @@ -104,6 +89,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteLinkListResult 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 ExpressRouteLinkListResult. */ public static ExpressRouteLinkListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java index b1201bc92908..7481d43dfb08 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,29 +17,29 @@ /** * ExpressRoute Port Authorization List Result * - * Response for ListExpressRoutePortAuthorizations API service call. + * Paged collection of ExpressRoutePortAuthorization items. */ -@Fluent +@Immutable public final class ExpressRoutePortAuthorizationListResult implements JsonSerializable { /* - * The authorizations in an ExpressRoute Port. + * The ExpressRoutePortAuthorization items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRoutePortAuthorizationListResult class. */ - public ExpressRoutePortAuthorizationListResult() { + private ExpressRoutePortAuthorizationListResult() { } /** - * Get the value property: The authorizations in an ExpressRoute Port. + * Get the value property: The ExpressRoutePortAuthorization items on this page. * * @return the value value. */ @@ -47,18 +48,7 @@ public List value() { } /** - * Set the value property: The authorizations in an ExpressRoute Port. - * - * @param value the value value to set. - * @return the ExpressRoutePortAuthorizationListResult object itself. - */ - public ExpressRoutePortAuthorizationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -66,28 +56,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRoutePortAuthorizationListResult object itself. - */ - public ExpressRoutePortAuthorizationListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRoutePortAuthorizationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRoutePortAuthorizationListResult.class); + /** * {@inheritDoc} */ @@ -105,6 +90,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRoutePortAuthorizationListResult 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 ExpressRoutePortAuthorizationListResult. */ public static ExpressRoutePortAuthorizationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java index 3462754b3792..f060460df6a4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,28 +17,28 @@ /** * ExpressRoute Port List Result * - * Response for ListExpressRoutePorts API service call. + * Paged collection of ExpressRoutePort items. */ -@Fluent +@Immutable public final class ExpressRoutePortListResult implements JsonSerializable { /* - * A list of ExpressRoutePort resources. + * The ExpressRoutePort items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRoutePortListResult class. */ - public ExpressRoutePortListResult() { + private ExpressRoutePortListResult() { } /** - * Get the value property: A list of ExpressRoutePort resources. + * Get the value property: The ExpressRoutePort items on this page. * * @return the value value. */ @@ -46,18 +47,7 @@ public List value() { } /** - * Set the value property: A list of ExpressRoutePort resources. - * - * @param value the value value to set. - * @return the ExpressRoutePortListResult object itself. - */ - public ExpressRoutePortListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -65,28 +55,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRoutePortListResult object itself. - */ - public ExpressRoutePortListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRoutePortListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRoutePortListResult.class); + /** * {@inheritDoc} */ @@ -104,6 +89,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRoutePortListResult 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 ExpressRoutePortListResult. */ public static ExpressRoutePortListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java index 0ed46dee498a..0cea0a6be327 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,29 +17,29 @@ /** * ExpressRoutePorts Location List Result * - * Response for ListExpressRoutePortsLocations API service call. + * Paged collection of ExpressRoutePortsLocation items. */ -@Fluent +@Immutable public final class ExpressRoutePortsLocationListResult implements JsonSerializable { /* - * The list of all ExpressRoutePort peering locations. + * The ExpressRoutePortsLocation items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRoutePortsLocationListResult class. */ - public ExpressRoutePortsLocationListResult() { + private ExpressRoutePortsLocationListResult() { } /** - * Get the value property: The list of all ExpressRoutePort peering locations. + * Get the value property: The ExpressRoutePortsLocation items on this page. * * @return the value value. */ @@ -47,18 +48,7 @@ public List value() { } /** - * Set the value property: The list of all ExpressRoutePort peering locations. - * - * @param value the value value to set. - * @return the ExpressRoutePortsLocationListResult object itself. - */ - public ExpressRoutePortsLocationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -66,28 +56,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRoutePortsLocationListResult object itself. - */ - public ExpressRoutePortsLocationListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRoutePortsLocationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRoutePortsLocationListResult.class); + /** * {@inheritDoc} */ @@ -105,6 +90,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRoutePortsLocationListResult 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 ExpressRoutePortsLocationListResult. */ public static ExpressRoutePortsLocationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java index da8595a946fa..eb2eb086a1ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for the ListExpressRouteServiceProvider API service call. + * The response of a ExpressRouteServiceProvider list operation. */ -@Fluent +@Immutable public final class ExpressRouteServiceProviderListResult implements JsonSerializable { /* - * A list of ExpressRouteResourceProvider resources. + * The ExpressRouteServiceProvider items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ExpressRouteServiceProviderListResult class. */ - public ExpressRouteServiceProviderListResult() { + private ExpressRouteServiceProviderListResult() { } /** - * Get the value property: A list of ExpressRouteResourceProvider resources. + * Get the value property: The ExpressRouteServiceProvider items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of ExpressRouteResourceProvider resources. - * - * @param value the value value to set. - * @return the ExpressRouteServiceProviderListResult object itself. - */ - public ExpressRouteServiceProviderListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRouteServiceProviderListResult object itself. - */ - public ExpressRouteServiceProviderListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ExpressRouteServiceProviderListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ExpressRouteServiceProviderListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteServiceProviderListResult 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 ExpressRouteServiceProviderListResult. */ public static ExpressRouteServiceProviderListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java index bbda65fe47e2..07015103af84 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListFirewallPolicies API service call. + * The response of a FirewallPolicy list operation. */ -@Fluent +@Immutable public final class FirewallPolicyListResult implements JsonSerializable { /* - * List of Firewall Policies in a resource group. + * The FirewallPolicy items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of FirewallPolicyListResult class. */ - public FirewallPolicyListResult() { + private FirewallPolicyListResult() { } /** - * Get the value property: List of Firewall Policies in a resource group. + * Get the value property: The FirewallPolicy items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Firewall Policies in a resource group. - * - * @param value the value value to set. - * @return the FirewallPolicyListResult object itself. - */ - public FirewallPolicyListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the FirewallPolicyListResult object itself. - */ - public FirewallPolicyListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model FirewallPolicyListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(FirewallPolicyListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of FirewallPolicyListResult 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 FirewallPolicyListResult. */ public static FirewallPolicyListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionGroupListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionGroupListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java index 792bb0f4691b..bf9e1aae395c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionGroupListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for ListFirewallPolicyRuleCollectionGroups API service call. + * The response of a FirewallPolicyRuleCollectionGroup list operation. */ -@Fluent +@Immutable public final class FirewallPolicyRuleCollectionGroupListResult implements JsonSerializable { /* - * List of FirewallPolicyRuleCollectionGroups in a FirewallPolicy. + * The FirewallPolicyRuleCollectionGroup items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of FirewallPolicyRuleCollectionGroupListResult class. */ - public FirewallPolicyRuleCollectionGroupListResult() { + private FirewallPolicyRuleCollectionGroupListResult() { } /** - * Get the value property: List of FirewallPolicyRuleCollectionGroups in a FirewallPolicy. + * Get the value property: The FirewallPolicyRuleCollectionGroup items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of FirewallPolicyRuleCollectionGroups in a FirewallPolicy. - * - * @param value the value value to set. - * @return the FirewallPolicyRuleCollectionGroupListResult object itself. - */ - public FirewallPolicyRuleCollectionGroupListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the FirewallPolicyRuleCollectionGroupListResult object itself. - */ - public FirewallPolicyRuleCollectionGroupListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model FirewallPolicyRuleCollectionGroupListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(FirewallPolicyRuleCollectionGroupListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of FirewallPolicyRuleCollectionGroupListResult 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 FirewallPolicyRuleCollectionGroupListResult. */ public static FirewallPolicyRuleCollectionGroupListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java index c995d1a60410..7ba047dacffe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * List of flow logs. + * The response of a FlowLog list operation. */ -@Fluent +@Immutable public final class FlowLogListResult implements JsonSerializable { /* - * Information about flow log resource. + * The FlowLog items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of FlowLogListResult class. */ - public FlowLogListResult() { + private FlowLogListResult() { } /** - * Get the value property: Information about flow log resource. + * Get the value property: The FlowLog items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: Information about flow log resource. - * - * @param value the value value to set. - * @return the FlowLogListResult object itself. - */ - public FlowLogListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,16 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model FlowLogListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(FlowLogListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +76,7 @@ public void validate() { 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(); } @@ -90,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of FlowLogListResult 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 FlowLogListResult. */ public static FlowLogListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GatewayRouteListResult.java similarity index 51% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GatewayRouteListResult.java index 9368ee82522f..ad6c74c3e7b8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GatewayRouteListResult.java @@ -1,32 +1,32 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.models.GatewayRoute; +import com.azure.resourcemanager.network.fluent.models.GatewayRouteInner; import java.io.IOException; import java.util.List; /** * List of virtual network gateway routes. */ -@Fluent -public final class GatewayRouteListResultInner implements JsonSerializable { +@Immutable +public final class GatewayRouteListResult implements JsonSerializable { /* * List of gateway routes. */ - private List value; + private List value; /** - * Creates an instance of GatewayRouteListResultInner class. + * Creates an instance of GatewayRouteListResult class. */ - public GatewayRouteListResultInner() { + private GatewayRouteListResult() { } /** @@ -34,21 +34,10 @@ public GatewayRouteListResultInner() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } - /** - * Set the value property: List of gateway routes. - * - * @param value the value value to set. - * @return the GatewayRouteListResultInner object itself. - */ - public GatewayRouteListResultInner withValue(List value) { - this.value = value; - return this; - } - /** * Validates the instance. * @@ -71,29 +60,29 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of GatewayRouteListResultInner from the JsonReader. + * Reads an instance of GatewayRouteListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of GatewayRouteListResultInner 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 GatewayRouteListResultInner. + * @return An instance of GatewayRouteListResult 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 GatewayRouteListResult. */ - public static GatewayRouteListResultInner fromJson(JsonReader jsonReader) throws IOException { + public static GatewayRouteListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - GatewayRouteListResultInner deserializedGatewayRouteListResultInner = new GatewayRouteListResultInner(); + GatewayRouteListResult deserializedGatewayRouteListResult = new GatewayRouteListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value = reader.readArray(reader1 -> GatewayRoute.fromJson(reader1)); - deserializedGatewayRouteListResultInner.value = value; + List value = reader.readArray(reader1 -> GatewayRouteInner.fromJson(reader1)); + deserializedGatewayRouteListResult.value = value; } else { reader.skipChildren(); } } - return deserializedGatewayRouteListResultInner; + return deserializedGatewayRouteListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetServiceGatewayAddressLocationsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java similarity index 75% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetServiceGatewayAddressLocationsResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java index 4461d8efc7f9..adf44b1bf551 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetServiceGatewayAddressLocationsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for get service gateway address locations. */ -@Fluent +@Immutable public final class GetServiceGatewayAddressLocationsResult implements JsonSerializable { /* - * A list of address locations of service gateway. + * The ServiceGatewayAddressLocationResponse items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of GetServiceGatewayAddressLocationsResult class. */ - public GetServiceGatewayAddressLocationsResult() { + private GetServiceGatewayAddressLocationsResult() { } /** - * Get the value property: A list of address locations of service gateway. + * Get the value property: The ServiceGatewayAddressLocationResponse items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of address locations of service gateway. - * - * @param value the value value to set. - * @return the GetServiceGatewayAddressLocationsResult object itself. - */ - public GetServiceGatewayAddressLocationsResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model GetServiceGatewayAddressLocationsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(GetServiceGatewayAddressLocationsResult.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of GetServiceGatewayAddressLocationsResult 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 GetServiceGatewayAddressLocationsResult. */ public static GetServiceGatewayAddressLocationsResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetServiceGatewayServicesResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java similarity index 74% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetServiceGatewayServicesResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java index 971aa6b4f927..727d636787eb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetServiceGatewayServicesResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * Response for get service gateway services. */ -@Fluent +@Immutable public final class GetServiceGatewayServicesResult implements JsonSerializable { /* - * A list of services of service gateway. + * The ServiceGatewayService items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of GetServiceGatewayServicesResult class. */ - public GetServiceGatewayServicesResult() { + private GetServiceGatewayServicesResult() { } /** - * Get the value property: A list of services of service gateway. + * Get the value property: The ServiceGatewayService items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of services of service gateway. - * - * @param value the value value to set. - * @return the GetServiceGatewayServicesResult object itself. - */ - public GetServiceGatewayServicesResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model GetServiceGatewayServicesResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(GetServiceGatewayServicesResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of GetServiceGatewayServicesResult 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 GetServiceGatewayServicesResult. */ public static GetServiceGatewayServicesResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatRuleListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatRuleListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java index 4e39537f050d..4813a203779d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatRuleListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListInboundNatRule API service call. + * The response of a InboundNatRule list operation. */ -@Fluent +@Immutable public final class InboundNatRuleListResult implements JsonSerializable { /* - * A list of inbound NAT rules in a load balancer. + * The InboundNatRule items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of InboundNatRuleListResult class. */ - public InboundNatRuleListResult() { + private InboundNatRuleListResult() { } /** - * Get the value property: A list of inbound NAT rules in a load balancer. + * Get the value property: The InboundNatRule items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of inbound NAT rules in a load balancer. - * - * @param value the value value to set. - * @return the InboundNatRuleListResult object itself. - */ - public InboundNatRuleListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,16 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model InboundNatRuleListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(InboundNatRuleListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +76,7 @@ public void validate() { 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(); } @@ -90,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of InboundNatRuleListResult 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 InboundNatRuleListResult. */ public static InboundNatRuleListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java index 8c6486f8b5ed..0fbb45a578a5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListIpAllocations API service call. + * The response of a IpAllocation list operation. */ -@Fluent +@Immutable public final class IpAllocationListResult implements JsonSerializable { /* - * A list of IpAllocation resources. + * The IpAllocation items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of IpAllocationListResult class. */ - public IpAllocationListResult() { + private IpAllocationListResult() { } /** - * Get the value property: A list of IpAllocation resources. + * Get the value property: The IpAllocation items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of IpAllocation resources. - * - * @param value the value value to set. - * @return the IpAllocationListResult object itself. - */ - public IpAllocationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the IpAllocationListResult object itself. - */ - public IpAllocationListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model IpAllocationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(IpAllocationListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of IpAllocationListResult 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 IpAllocationListResult. */ public static IpAllocationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpGroupListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpGroupListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java index 6f646c8bf01a..139c442d636a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpGroupListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListIpGroups API service call. + * The response of a IpGroup list operation. */ -@Fluent +@Immutable public final class IpGroupListResult implements JsonSerializable { /* - * The list of IpGroups information resources. + * The IpGroup items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of IpGroupListResult class. */ - public IpGroupListResult() { + private IpGroupListResult() { } /** - * Get the value property: The list of IpGroups information resources. + * Get the value property: The IpGroup items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: The list of IpGroups information resources. - * - * @param value the value value to set. - * @return the IpGroupListResult object itself. - */ - public IpGroupListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the IpGroupListResult object itself. - */ - public IpGroupListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model IpGroupListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(IpGroupListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of IpGroupListResult 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 IpGroupListResult. */ public static IpGroupListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java index 0b50bb6985dc..e79a44b2dea0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * List of IpamPool. */ -@Fluent +@Immutable public final class IpamPoolList implements JsonSerializable { /* - * The value property. + * The IpamPool items on this page */ private List value; /* - * The link used to get the next page of operations. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of IpamPoolList class. */ - public IpamPoolList() { + private IpamPoolList() { } /** - * Get the value property: The value property. + * Get the value property: The IpamPool items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: The value property. - * - * @param value the value value to set. - * @return the IpamPoolList object itself. - */ - public IpamPoolList withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The link used to get the next page of operations. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link used to get the next page of operations. - * - * @param nextLink the nextLink value to set. - * @return the IpamPoolList object itself. - */ - public IpamPoolList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model IpamPoolList")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(IpamPoolList.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of IpamPoolList 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 IpamPoolList. */ public static IpamPoolList fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListHubRouteTablesResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListHubRouteTablesResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java index 8acf28209296..029d120a74a0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListHubRouteTablesResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * List of RouteTables and a URL nextLink to get the next set of results. */ -@Fluent +@Immutable public final class ListHubRouteTablesResult implements JsonSerializable { /* - * List of RouteTables. + * The HubRouteTable items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListHubRouteTablesResult class. */ - public ListHubRouteTablesResult() { + private ListHubRouteTablesResult() { } /** - * Get the value property: List of RouteTables. + * Get the value property: The HubRouteTable items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of RouteTables. - * - * @param value the value value to set. - * @return the ListHubRouteTablesResult object itself. - */ - public ListHubRouteTablesResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListHubRouteTablesResult object itself. - */ - public ListHubRouteTablesResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ListHubRouteTablesResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListHubRouteTablesResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListHubRouteTablesResult 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 ListHubRouteTablesResult. */ public static ListHubRouteTablesResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListHubVirtualNetworkConnectionsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListHubVirtualNetworkConnectionsResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java index 005f5e2870a9..0b2e845e41d3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListHubVirtualNetworkConnectionsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results. */ -@Fluent +@Immutable public final class ListHubVirtualNetworkConnectionsResult implements JsonSerializable { /* - * List of HubVirtualNetworkConnections. + * The HubVirtualNetworkConnection items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListHubVirtualNetworkConnectionsResult class. */ - public ListHubVirtualNetworkConnectionsResult() { + private ListHubVirtualNetworkConnectionsResult() { } /** - * Get the value property: List of HubVirtualNetworkConnections. + * Get the value property: The HubVirtualNetworkConnection items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of HubVirtualNetworkConnections. - * - * @param value the value value to set. - * @return the ListHubVirtualNetworkConnectionsResult object itself. - */ - public ListHubVirtualNetworkConnectionsResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListHubVirtualNetworkConnectionsResult object itself. - */ - public ListHubVirtualNetworkConnectionsResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ListHubVirtualNetworkConnectionsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListHubVirtualNetworkConnectionsResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListHubVirtualNetworkConnectionsResult 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 ListHubVirtualNetworkConnectionsResult. */ public static ListHubVirtualNetworkConnectionsResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListP2SVpnGatewaysResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListP2SVpnGatewaysResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java index 2f6a3a22af3c..3651d7a0c242 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListP2SVpnGatewaysResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,26 +18,26 @@ * Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next * set of results. */ -@Fluent +@Immutable public final class ListP2SVpnGatewaysResult implements JsonSerializable { /* - * List of P2SVpnGateways. + * The P2SVpnGateway items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListP2SVpnGatewaysResult class. */ - public ListP2SVpnGatewaysResult() { + private ListP2SVpnGatewaysResult() { } /** - * Get the value property: List of P2SVpnGateways. + * Get the value property: The P2SVpnGateway items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of P2SVpnGateways. - * - * @param value the value value to set. - * @return the ListP2SVpnGatewaysResult object itself. - */ - public ListP2SVpnGatewaysResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListP2SVpnGatewaysResult object itself. - */ - public ListP2SVpnGatewaysResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ListP2SVpnGatewaysResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListP2SVpnGatewaysResult.class); + /** * {@inheritDoc} */ @@ -103,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListP2SVpnGatewaysResult 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 ListP2SVpnGatewaysResult. */ public static ListP2SVpnGatewaysResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListRouteMapsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListRouteMapsResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java index 36bae177818c..3da2e0412c5c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListRouteMapsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * List of RouteMaps and a URL nextLink to get the next set of results. */ -@Fluent +@Immutable public final class ListRouteMapsResult implements JsonSerializable { /* - * List of RouteMaps. + * The RouteMap items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListRouteMapsResult class. */ - public ListRouteMapsResult() { + private ListRouteMapsResult() { } /** - * Get the value property: List of RouteMaps. + * Get the value property: The RouteMap items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of RouteMaps. - * - * @param value the value value to set. - * @return the ListRouteMapsResult object itself. - */ - public ListRouteMapsResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListRouteMapsResult object itself. - */ - public ListRouteMapsResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ListRouteMapsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListRouteMapsResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListRouteMapsResult 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 ListRouteMapsResult. */ public static ListRouteMapsResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListRoutingIntentResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListRoutingIntentResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java index 5840c9bff23c..d75a913a7cb1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListRoutingIntentResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * List of the routing intent result and a URL nextLink to get the next set of results. */ -@Fluent +@Immutable public final class ListRoutingIntentResult implements JsonSerializable { /* - * List of RoutingIntent resource. + * The RoutingIntent items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListRoutingIntentResult class. */ - public ListRoutingIntentResult() { + private ListRoutingIntentResult() { } /** - * Get the value property: List of RoutingIntent resource. + * Get the value property: The RoutingIntent items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of RoutingIntent resource. - * - * @param value the value value to set. - * @return the ListRoutingIntentResult object itself. - */ - public ListRoutingIntentResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListRoutingIntentResult object itself. - */ - public ListRoutingIntentResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ListRoutingIntentResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListRoutingIntentResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListRoutingIntentResult 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 ListRoutingIntentResult. */ public static ListRoutingIntentResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubBgpConnectionResults.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubBgpConnectionResults.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java index 796e3eee46aa..997bbf608572 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubBgpConnectionResults.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * VirtualHubBgpConnections list. */ -@Fluent +@Immutable public final class ListVirtualHubBgpConnectionResults implements JsonSerializable { /* - * The list of VirtualHubBgpConnections. + * The BgpConnection items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVirtualHubBgpConnectionResults class. */ - public ListVirtualHubBgpConnectionResults() { + private ListVirtualHubBgpConnectionResults() { } /** - * Get the value property: The list of VirtualHubBgpConnections. + * Get the value property: The BgpConnection items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: The list of VirtualHubBgpConnections. - * - * @param value the value value to set. - * @return the ListVirtualHubBgpConnectionResults object itself. - */ - public ListVirtualHubBgpConnectionResults withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ListVirtualHubBgpConnectionResults object itself. - */ - public ListVirtualHubBgpConnectionResults withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ListVirtualHubBgpConnectionResults")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVirtualHubBgpConnectionResults.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVirtualHubBgpConnectionResults 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 ListVirtualHubBgpConnectionResults. */ public static ListVirtualHubBgpConnectionResults fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubIpConfigurationResults.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubIpConfigurationResults.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java index 07ef282f474b..03ebd0a6e64c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubIpConfigurationResults.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * VirtualHubIpConfigurations list. */ -@Fluent +@Immutable public final class ListVirtualHubIpConfigurationResults implements JsonSerializable { /* - * The list of VirtualHubIpConfigurations. + * The HubIpConfiguration items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVirtualHubIpConfigurationResults class. */ - public ListVirtualHubIpConfigurationResults() { + private ListVirtualHubIpConfigurationResults() { } /** - * Get the value property: The list of VirtualHubIpConfigurations. + * Get the value property: The HubIpConfiguration items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: The list of VirtualHubIpConfigurations. - * - * @param value the value value to set. - * @return the ListVirtualHubIpConfigurationResults object itself. - */ - public ListVirtualHubIpConfigurationResults withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ListVirtualHubIpConfigurationResults object itself. - */ - public ListVirtualHubIpConfigurationResults withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ListVirtualHubIpConfigurationResults")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVirtualHubIpConfigurationResults.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVirtualHubIpConfigurationResults 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 ListVirtualHubIpConfigurationResults. */ public static ListVirtualHubIpConfigurationResults fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubRouteTableV2SResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java similarity index 54% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubRouteTableV2SResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java index 1089dd71ce4b..59c4ab30bf83 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubRouteTableV2SResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * List of VirtualHubRouteTableV2s and a URL nextLink to get the next set of results. */ -@Fluent -public final class ListVirtualHubRouteTableV2SResult implements JsonSerializable { +@Immutable +public final class ListVirtualHubRouteTableV2sResult implements JsonSerializable { /* - * List of VirtualHubRouteTableV2s. + * The VirtualHubRouteTableV2 items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** - * Creates an instance of ListVirtualHubRouteTableV2SResult class. + * Creates an instance of ListVirtualHubRouteTableV2sResult class. */ - public ListVirtualHubRouteTableV2SResult() { + private ListVirtualHubRouteTableV2sResult() { } /** - * Get the value property: List of VirtualHubRouteTableV2s. + * Get the value property: The VirtualHubRouteTableV2 items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of VirtualHubRouteTableV2s. - * - * @param value the value value to set. - * @return the ListVirtualHubRouteTableV2SResult object itself. - */ - public ListVirtualHubRouteTableV2SResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVirtualHubRouteTableV2SResult object itself. - */ - public ListVirtualHubRouteTableV2SResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ListVirtualHubRouteTableV2sResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVirtualHubRouteTableV2sResult.class); + /** * {@inheritDoc} */ @@ -97,17 +82,18 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ListVirtualHubRouteTableV2SResult from the JsonReader. + * Reads an instance of ListVirtualHubRouteTableV2sResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ListVirtualHubRouteTableV2SResult if the JsonReader was pointing to an instance of it, or + * @return An instance of ListVirtualHubRouteTableV2sResult 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 ListVirtualHubRouteTableV2SResult. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ListVirtualHubRouteTableV2sResult. */ - public static ListVirtualHubRouteTableV2SResult fromJson(JsonReader jsonReader) throws IOException { + public static ListVirtualHubRouteTableV2sResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ListVirtualHubRouteTableV2SResult deserializedListVirtualHubRouteTableV2SResult - = new ListVirtualHubRouteTableV2SResult(); + ListVirtualHubRouteTableV2sResult deserializedListVirtualHubRouteTableV2sResult + = new ListVirtualHubRouteTableV2sResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -115,15 +101,15 @@ public static ListVirtualHubRouteTableV2SResult fromJson(JsonReader jsonReader) if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> VirtualHubRouteTableV2Inner.fromJson(reader1)); - deserializedListVirtualHubRouteTableV2SResult.value = value; + deserializedListVirtualHubRouteTableV2sResult.value = value; } else if ("nextLink".equals(fieldName)) { - deserializedListVirtualHubRouteTableV2SResult.nextLink = reader.getString(); + deserializedListVirtualHubRouteTableV2sResult.nextLink = reader.getString(); } else { reader.skipChildren(); } } - return deserializedListVirtualHubRouteTableV2SResult; + return deserializedListVirtualHubRouteTableV2sResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubsResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java index 7c54320e264e..d0044db67ad6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualHubsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,26 +18,26 @@ * Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set * of results. */ -@Fluent +@Immutable public final class ListVirtualHubsResult implements JsonSerializable { /* - * List of VirtualHubs. + * The VirtualHub items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVirtualHubsResult class. */ - public ListVirtualHubsResult() { + private ListVirtualHubsResult() { } /** - * Get the value property: List of VirtualHubs. + * Get the value property: The VirtualHub items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of VirtualHubs. - * - * @param value the value value to set. - * @return the ListVirtualHubsResult object itself. - */ - public ListVirtualHubsResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVirtualHubsResult object itself. - */ - public ListVirtualHubsResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ListVirtualHubsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVirtualHubsResult.class); + /** * {@inheritDoc} */ @@ -103,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVirtualHubsResult 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 ListVirtualHubsResult. */ public static ListVirtualHubsResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualNetworkGatewayNatRulesResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualNetworkGatewayNatRulesResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java index 6a19f443abf6..d8c55c751f4b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualNetworkGatewayNatRulesResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,27 +18,27 @@ * Result of the request to list all nat rules to a virtual network gateway. It contains a list of Nat rules and a URL * nextLink to get the next set of results. */ -@Fluent +@Immutable public final class ListVirtualNetworkGatewayNatRulesResult implements JsonSerializable { /* - * List of Nat Rules. + * The VirtualNetworkGatewayNatRule items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVirtualNetworkGatewayNatRulesResult class. */ - public ListVirtualNetworkGatewayNatRulesResult() { + private ListVirtualNetworkGatewayNatRulesResult() { } /** - * Get the value property: List of Nat Rules. + * Get the value property: The VirtualNetworkGatewayNatRule items on this page. * * @return the value value. */ @@ -46,18 +47,7 @@ public List value() { } /** - * Set the value property: List of Nat Rules. - * - * @param value the value value to set. - * @return the ListVirtualNetworkGatewayNatRulesResult object itself. - */ - public ListVirtualNetworkGatewayNatRulesResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -65,28 +55,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVirtualNetworkGatewayNatRulesResult object itself. - */ - public ListVirtualNetworkGatewayNatRulesResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ListVirtualNetworkGatewayNatRulesResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVirtualNetworkGatewayNatRulesResult.class); + /** * {@inheritDoc} */ @@ -104,6 +89,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVirtualNetworkGatewayNatRulesResult 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 ListVirtualNetworkGatewayNatRulesResult. */ public static ListVirtualNetworkGatewayNatRulesResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualWansResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java similarity index 50% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualWansResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java index 4cb0c11e00eb..e5acb1c28dee 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVirtualWansResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java @@ -1,15 +1,16 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.VirtualWanInner; +import com.azure.resourcemanager.network.fluent.models.VirtualWANInner; import java.io.IOException; import java.util.List; @@ -17,46 +18,35 @@ * Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set * of results. */ -@Fluent -public final class ListVirtualWansResult implements JsonSerializable { +@Immutable +public final class ListVirtualWANsResult implements JsonSerializable { /* - * List of VirtualWANs. + * The VirtualWAN items on this page */ - private List value; + private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** - * Creates an instance of ListVirtualWansResult class. + * Creates an instance of ListVirtualWANsResult class. */ - public ListVirtualWansResult() { + private ListVirtualWANsResult() { } /** - * Get the value property: List of VirtualWANs. + * Get the value property: The VirtualWAN items on this page. * * @return the value value. */ - public List value() { + public List value() { return this.value; } /** - * Set the value property: List of VirtualWANs. - * - * @param value the value value to set. - * @return the ListVirtualWansResult object itself. - */ - public ListVirtualWansResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVirtualWansResult object itself. - */ - public ListVirtualWansResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ListVirtualWANsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVirtualWANsResult.class); + /** * {@inheritDoc} */ @@ -98,31 +82,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ListVirtualWansResult from the JsonReader. + * Reads an instance of ListVirtualWANsResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ListVirtualWansResult if the JsonReader was pointing to an instance of it, or null if it + * @return An instance of ListVirtualWANsResult 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 ListVirtualWansResult. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the ListVirtualWANsResult. */ - public static ListVirtualWansResult fromJson(JsonReader jsonReader) throws IOException { + public static ListVirtualWANsResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ListVirtualWansResult deserializedListVirtualWansResult = new ListVirtualWansResult(); + ListVirtualWANsResult deserializedListVirtualWANsResult = new ListVirtualWANsResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value = reader.readArray(reader1 -> VirtualWanInner.fromJson(reader1)); - deserializedListVirtualWansResult.value = value; + List value = reader.readArray(reader1 -> VirtualWANInner.fromJson(reader1)); + deserializedListVirtualWANsResult.value = value; } else if ("nextLink".equals(fieldName)) { - deserializedListVirtualWansResult.nextLink = reader.getString(); + deserializedListVirtualWANsResult.nextLink = reader.getString(); } else { reader.skipChildren(); } } - return deserializedListVirtualWansResult; + return deserializedListVirtualWANsResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnConnectionsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnConnectionsResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java index bfa35371bee5..15e1cfc6f6b7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnConnectionsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,26 +18,26 @@ * Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections * and a URL nextLink to get the next set of results. */ -@Fluent +@Immutable public final class ListVpnConnectionsResult implements JsonSerializable { /* - * List of Vpn Connections. + * The VpnConnection items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVpnConnectionsResult class. */ - public ListVpnConnectionsResult() { + private ListVpnConnectionsResult() { } /** - * Get the value property: List of Vpn Connections. + * Get the value property: The VpnConnection items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of Vpn Connections. - * - * @param value the value value to set. - * @return the ListVpnConnectionsResult object itself. - */ - public ListVpnConnectionsResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVpnConnectionsResult object itself. - */ - public ListVpnConnectionsResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ListVpnConnectionsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVpnConnectionsResult.class); + /** * {@inheritDoc} */ @@ -103,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVpnConnectionsResult 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 ListVpnConnectionsResult. */ public static ListVpnConnectionsResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnGatewayNatRulesResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnGatewayNatRulesResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java index 124158d0112c..93d5eaf71845 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnGatewayNatRulesResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,26 +18,26 @@ * Result of the request to list all nat rules to a virtual wan vpn gateway. It contains a list of Nat rules and a URL * nextLink to get the next set of results. */ -@Fluent +@Immutable public final class ListVpnGatewayNatRulesResult implements JsonSerializable { /* - * List of Nat Rules. + * The VpnGatewayNatRule items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVpnGatewayNatRulesResult class. */ - public ListVpnGatewayNatRulesResult() { + private ListVpnGatewayNatRulesResult() { } /** - * Get the value property: List of Nat Rules. + * Get the value property: The VpnGatewayNatRule items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of Nat Rules. - * - * @param value the value value to set. - * @return the ListVpnGatewayNatRulesResult object itself. - */ - public ListVpnGatewayNatRulesResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVpnGatewayNatRulesResult object itself. - */ - public ListVpnGatewayNatRulesResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ListVpnGatewayNatRulesResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVpnGatewayNatRulesResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVpnGatewayNatRulesResult 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 ListVpnGatewayNatRulesResult. */ public static ListVpnGatewayNatRulesResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnGatewaysResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnGatewaysResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java index bef15d38b865..d6c64e98c8fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnGatewaysResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,26 +18,26 @@ * Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set * of results. */ -@Fluent +@Immutable public final class ListVpnGatewaysResult implements JsonSerializable { /* - * List of VpnGateways. + * The VpnGateway items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVpnGatewaysResult class. */ - public ListVpnGatewaysResult() { + private ListVpnGatewaysResult() { } /** - * Get the value property: List of VpnGateways. + * Get the value property: The VpnGateway items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of VpnGateways. - * - * @param value the value value to set. - * @return the ListVpnGatewaysResult object itself. - */ - public ListVpnGatewaysResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVpnGatewaysResult object itself. - */ - public ListVpnGatewaysResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ListVpnGatewaysResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVpnGatewaysResult.class); + /** * {@inheritDoc} */ @@ -103,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVpnGatewaysResult 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 ListVpnGatewaysResult. */ public static ListVpnGatewaysResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnServerConfigurationPolicyGroupsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnServerConfigurationPolicyGroupsResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java index a0dadff7095b..64312e847e7b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnServerConfigurationPolicyGroupsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,27 +18,27 @@ * Result of the request to list VpnServerConfigurationPolicyGroups. It contains a list of * VpnServerConfigurationPolicyGroups and a URL nextLink to get the next set of results. */ -@Fluent +@Immutable public final class ListVpnServerConfigurationPolicyGroupsResult implements JsonSerializable { /* - * List of VpnServerConfigurationPolicyGroups. + * The VpnServerConfigurationPolicyGroup items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVpnServerConfigurationPolicyGroupsResult class. */ - public ListVpnServerConfigurationPolicyGroupsResult() { + private ListVpnServerConfigurationPolicyGroupsResult() { } /** - * Get the value property: List of VpnServerConfigurationPolicyGroups. + * Get the value property: The VpnServerConfigurationPolicyGroup items on this page. * * @return the value value. */ @@ -46,18 +47,7 @@ public List value() { } /** - * Set the value property: List of VpnServerConfigurationPolicyGroups. - * - * @param value the value value to set. - * @return the ListVpnServerConfigurationPolicyGroupsResult object itself. - */ - public ListVpnServerConfigurationPolicyGroupsResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -65,28 +55,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVpnServerConfigurationPolicyGroupsResult object itself. - */ - public ListVpnServerConfigurationPolicyGroupsResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ListVpnServerConfigurationPolicyGroupsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVpnServerConfigurationPolicyGroupsResult.class); + /** * {@inheritDoc} */ @@ -104,6 +89,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVpnServerConfigurationPolicyGroupsResult 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 ListVpnServerConfigurationPolicyGroupsResult. */ public static ListVpnServerConfigurationPolicyGroupsResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnServerConfigurationsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnServerConfigurationsResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java index f50496ccb2be..c9b71c3005fa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnServerConfigurationsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,26 +18,26 @@ * Result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL * nextLink to get the next set of results. */ -@Fluent +@Immutable public final class ListVpnServerConfigurationsResult implements JsonSerializable { /* - * List of VpnServerConfigurations. + * The VpnServerConfiguration items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVpnServerConfigurationsResult class. */ - public ListVpnServerConfigurationsResult() { + private ListVpnServerConfigurationsResult() { } /** - * Get the value property: List of VpnServerConfigurations. + * Get the value property: The VpnServerConfiguration items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of VpnServerConfigurations. - * - * @param value the value value to set. - * @return the ListVpnServerConfigurationsResult object itself. - */ - public ListVpnServerConfigurationsResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVpnServerConfigurationsResult object itself. - */ - public ListVpnServerConfigurationsResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ListVpnServerConfigurationsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVpnServerConfigurationsResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVpnServerConfigurationsResult 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 ListVpnServerConfigurationsResult. */ public static ListVpnServerConfigurationsResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnSiteLinkConnectionsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnSiteLinkConnectionsResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java index e74a31b78b69..09d20053b4bb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnSiteLinkConnectionsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,26 +18,26 @@ * Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections * and a URL nextLink to get the next set of results. */ -@Fluent +@Immutable public final class ListVpnSiteLinkConnectionsResult implements JsonSerializable { /* - * List of VpnSiteLinkConnections. + * The VpnSiteLinkConnection items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVpnSiteLinkConnectionsResult class. */ - public ListVpnSiteLinkConnectionsResult() { + private ListVpnSiteLinkConnectionsResult() { } /** - * Get the value property: List of VpnSiteLinkConnections. + * Get the value property: The VpnSiteLinkConnection items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of VpnSiteLinkConnections. - * - * @param value the value value to set. - * @return the ListVpnSiteLinkConnectionsResult object itself. - */ - public ListVpnSiteLinkConnectionsResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVpnSiteLinkConnectionsResult object itself. - */ - public ListVpnSiteLinkConnectionsResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ListVpnSiteLinkConnectionsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVpnSiteLinkConnectionsResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVpnSiteLinkConnectionsResult 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 ListVpnSiteLinkConnectionsResult. */ public static ListVpnSiteLinkConnectionsResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnSiteLinksResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnSiteLinksResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java index eb0864357c2a..28d46f7fc846 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnSiteLinksResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,26 +18,26 @@ * Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set * of results. */ -@Fluent +@Immutable public final class ListVpnSiteLinksResult implements JsonSerializable { /* - * List of VpnSitesLinks. + * The VpnSiteLink items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVpnSiteLinksResult class. */ - public ListVpnSiteLinksResult() { + private ListVpnSiteLinksResult() { } /** - * Get the value property: List of VpnSitesLinks. + * Get the value property: The VpnSiteLink items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of VpnSitesLinks. - * - * @param value the value value to set. - * @return the ListVpnSiteLinksResult object itself. - */ - public ListVpnSiteLinksResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVpnSiteLinksResult object itself. - */ - public ListVpnSiteLinksResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ListVpnSiteLinksResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVpnSiteLinksResult.class); + /** * {@inheritDoc} */ @@ -103,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVpnSiteLinksResult 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 ListVpnSiteLinksResult. */ public static ListVpnSiteLinksResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnSitesResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnSitesResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java index f1e37f3912a2..32187e667a7e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ListVpnSitesResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -17,26 +18,26 @@ * Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of * results. */ -@Fluent +@Immutable public final class ListVpnSitesResult implements JsonSerializable { /* - * List of VpnSites. + * The VpnSite items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ListVpnSitesResult class. */ - public ListVpnSitesResult() { + private ListVpnSitesResult() { } /** - * Get the value property: List of VpnSites. + * Get the value property: The VpnSite items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of VpnSites. - * - * @param value the value value to set. - * @return the ListVpnSitesResult object itself. - */ - public ListVpnSitesResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the ListVpnSitesResult object itself. - */ - public ListVpnSitesResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ListVpnSitesResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ListVpnSitesResult.class); + /** * {@inheritDoc} */ @@ -103,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ListVpnSitesResult 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 ListVpnSitesResult. */ public static ListVpnSitesResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressPoolListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java similarity index 74% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressPoolListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java index 7b4452218bac..40199fe46b36 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressPoolListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for ListBackendAddressPool API service call. + * Paged collection of BackendAddressPool items. */ -@Fluent +@Immutable public final class LoadBalancerBackendAddressPoolListResult implements JsonSerializable { /* - * A list of backend address pools in a load balancer. + * The BackendAddressPool items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of LoadBalancerBackendAddressPoolListResult class. */ - public LoadBalancerBackendAddressPoolListResult() { + private LoadBalancerBackendAddressPoolListResult() { } /** - * Get the value property: A list of backend address pools in a load balancer. + * Get the value property: The BackendAddressPool items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of backend address pools in a load balancer. - * - * @param value the value value to set. - * @return the LoadBalancerBackendAddressPoolListResult object itself. - */ - public LoadBalancerBackendAddressPoolListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model LoadBalancerBackendAddressPoolListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(LoadBalancerBackendAddressPoolListResult.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of LoadBalancerBackendAddressPoolListResult 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 LoadBalancerBackendAddressPoolListResult. */ public static LoadBalancerBackendAddressPoolListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerFrontendIpConfigurationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java similarity index 55% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerFrontendIpConfigurationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java index 49cf98ea82c2..c3654013b699 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerFrontendIpConfigurationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for ListFrontendIPConfiguration API service call. + * Paged collection of FrontendIPConfiguration items. */ -@Fluent -public final class LoadBalancerFrontendIpConfigurationListResult - implements JsonSerializable { +@Immutable +public final class LoadBalancerFrontendIPConfigurationListResult + implements JsonSerializable { /* - * A list of frontend IP configurations in a load balancer. + * The FrontendIPConfiguration items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** - * Creates an instance of LoadBalancerFrontendIpConfigurationListResult class. + * Creates an instance of LoadBalancerFrontendIPConfigurationListResult class. */ - public LoadBalancerFrontendIpConfigurationListResult() { + private LoadBalancerFrontendIPConfigurationListResult() { } /** - * Get the value property: A list of frontend IP configurations in a load balancer. + * Get the value property: The FrontendIPConfiguration items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of frontend IP configurations in a load balancer. - * - * @param value the value value to set. - * @return the LoadBalancerFrontendIpConfigurationListResult object itself. - */ - public LoadBalancerFrontendIpConfigurationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model LoadBalancerFrontendIPConfigurationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(LoadBalancerFrontendIPConfigurationListResult.class); + /** * {@inheritDoc} */ @@ -82,21 +78,23 @@ public void validate() { 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 LoadBalancerFrontendIpConfigurationListResult from the JsonReader. + * Reads an instance of LoadBalancerFrontendIPConfigurationListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of LoadBalancerFrontendIpConfigurationListResult if the JsonReader was pointing to an + * @return An instance of LoadBalancerFrontendIPConfigurationListResult 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 LoadBalancerFrontendIpConfigurationListResult. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the LoadBalancerFrontendIPConfigurationListResult. */ - public static LoadBalancerFrontendIpConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { + public static LoadBalancerFrontendIPConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - LoadBalancerFrontendIpConfigurationListResult deserializedLoadBalancerFrontendIpConfigurationListResult - = new LoadBalancerFrontendIpConfigurationListResult(); + LoadBalancerFrontendIPConfigurationListResult deserializedLoadBalancerFrontendIPConfigurationListResult + = new LoadBalancerFrontendIPConfigurationListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -104,15 +102,15 @@ public static LoadBalancerFrontendIpConfigurationListResult fromJson(JsonReader if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> FrontendIpConfigurationInner.fromJson(reader1)); - deserializedLoadBalancerFrontendIpConfigurationListResult.value = value; + deserializedLoadBalancerFrontendIPConfigurationListResult.value = value; } else if ("nextLink".equals(fieldName)) { - deserializedLoadBalancerFrontendIpConfigurationListResult.nextLink = reader.getString(); + deserializedLoadBalancerFrontendIPConfigurationListResult.nextLink = reader.getString(); } else { reader.skipChildren(); } } - return deserializedLoadBalancerFrontendIpConfigurationListResult; + return deserializedLoadBalancerFrontendIPConfigurationListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java index 4ea77d9ba736..f47331642382 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListLoadBalancers API service call. + * The response of a LoadBalancer list operation. */ -@Fluent +@Immutable public final class LoadBalancerListResult implements JsonSerializable { /* - * A list of load balancers in a resource group. + * The LoadBalancer items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of LoadBalancerListResult class. */ - public LoadBalancerListResult() { + private LoadBalancerListResult() { } /** - * Get the value property: A list of load balancers in a resource group. + * Get the value property: The LoadBalancer items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of load balancers in a resource group. - * - * @param value the value value to set. - * @return the LoadBalancerListResult object itself. - */ - public LoadBalancerListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,16 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model LoadBalancerListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(LoadBalancerListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +76,7 @@ public void validate() { 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(); } @@ -90,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of LoadBalancerListResult 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 LoadBalancerListResult. */ public static LoadBalancerListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerLoadBalancingRuleListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java similarity index 74% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerLoadBalancingRuleListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java index 7a7b9ed7a715..260c7bdbaad3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerLoadBalancingRuleListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for ListLoadBalancingRule API service call. + * Paged collection of LoadBalancingRule items. */ -@Fluent +@Immutable public final class LoadBalancerLoadBalancingRuleListResult implements JsonSerializable { /* - * A list of load balancing rules in a load balancer. + * The LoadBalancingRule items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of LoadBalancerLoadBalancingRuleListResult class. */ - public LoadBalancerLoadBalancingRuleListResult() { + private LoadBalancerLoadBalancingRuleListResult() { } /** - * Get the value property: A list of load balancing rules in a load balancer. + * Get the value property: The LoadBalancingRule items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of load balancing rules in a load balancer. - * - * @param value the value value to set. - * @return the LoadBalancerLoadBalancingRuleListResult object itself. - */ - public LoadBalancerLoadBalancingRuleListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model LoadBalancerLoadBalancingRuleListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(LoadBalancerLoadBalancingRuleListResult.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of LoadBalancerLoadBalancingRuleListResult 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 LoadBalancerLoadBalancingRuleListResult. */ public static LoadBalancerLoadBalancingRuleListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java index 80a9cc9e5bac..a062f61f5aa4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListOutboundRule API service call. + * Paged collection of OutboundRule items. */ -@Fluent +@Immutable public final class LoadBalancerOutboundRuleListResult implements JsonSerializable { /* - * A list of outbound rules in a load balancer. + * The OutboundRule items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of LoadBalancerOutboundRuleListResult class. */ - public LoadBalancerOutboundRuleListResult() { + private LoadBalancerOutboundRuleListResult() { } /** - * Get the value property: A list of outbound rules in a load balancer. + * Get the value property: The OutboundRule items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of outbound rules in a load balancer. - * - * @param value the value value to set. - * @return the LoadBalancerOutboundRuleListResult object itself. - */ - public LoadBalancerOutboundRuleListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model LoadBalancerOutboundRuleListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(LoadBalancerOutboundRuleListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of LoadBalancerOutboundRuleListResult 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 LoadBalancerOutboundRuleListResult. */ public static LoadBalancerOutboundRuleListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerProbeListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerProbeListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java index 3c75beb1f4b8..1240de19c76c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerProbeListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListProbe API service call. + * Paged collection of Probe items. */ -@Fluent +@Immutable public final class LoadBalancerProbeListResult implements JsonSerializable { /* - * A list of probes in a load balancer. + * The Probe items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of LoadBalancerProbeListResult class. */ - public LoadBalancerProbeListResult() { + private LoadBalancerProbeListResult() { } /** - * Get the value property: A list of probes in a load balancer. + * Get the value property: The Probe items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of probes in a load balancer. - * - * @param value the value value to set. - * @return the LoadBalancerProbeListResult object itself. - */ - public LoadBalancerProbeListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model LoadBalancerProbeListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(LoadBalancerProbeListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of LoadBalancerProbeListResult 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 LoadBalancerProbeListResult. */ public static LoadBalancerProbeListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LocalNetworkGatewayListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LocalNetworkGatewayListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java index 6d6249eb6808..3cfb0a1f98a0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LocalNetworkGatewayListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListLocalNetworkGateways API service call. + * The response of a LocalNetworkGateway list operation. */ -@Fluent +@Immutable public final class LocalNetworkGatewayListResult implements JsonSerializable { /* - * A list of local network gateways that exists in a resource group. + * The LocalNetworkGateway items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of LocalNetworkGatewayListResult class. */ - public LocalNetworkGatewayListResult() { + private LocalNetworkGatewayListResult() { } /** - * Get the value property: A list of local network gateways that exists in a resource group. + * Get the value property: The LocalNetworkGateway items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of local network gateways that exists in a resource group. - * - * @param value the value value to set. - * @return the LocalNetworkGatewayListResult object itself. - */ - public LocalNetworkGatewayListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model LocalNetworkGatewayListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(LocalNetworkGatewayListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of LocalNetworkGatewayListResult 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 LocalNetworkGatewayListResult. */ public static LocalNetworkGatewayListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewayListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewayListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java index 5537c8b4f972..1fd00be3b6ec 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewayListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListNatGateways API service call. + * The response of a NatGateway list operation. */ -@Fluent +@Immutable public final class NatGatewayListResult implements JsonSerializable { /* - * A list of Nat Gateways that exists in a resource group. + * The NatGateway items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NatGatewayListResult class. */ - public NatGatewayListResult() { + private NatGatewayListResult() { } /** - * Get the value property: A list of Nat Gateways that exists in a resource group. + * Get the value property: The NatGateway items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of Nat Gateways that exists in a resource group. - * - * @param value the value value to set. - * @return the NatGatewayListResult object itself. - */ - public NatGatewayListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the NatGatewayListResult object itself. - */ - public NatGatewayListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model NatGatewayListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NatGatewayListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NatGatewayListResult 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 NatGatewayListResult. */ public static NatGatewayListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java index a066353eceb8..872e9e8492d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list NetworkGroup. It contains a list of groups and a URL link to get the next set of - * results. + * The response of a NetworkGroup list operation. */ -@Fluent +@Immutable public final class NetworkGroupListResult implements JsonSerializable { /* - * Gets a page of NetworkGroup + * The NetworkGroup items on this page */ private List value; /* - * Gets the URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkGroupListResult class. */ - public NetworkGroupListResult() { + private NetworkGroupListResult() { } /** - * Get the value property: Gets a page of NetworkGroup. + * Get the value property: The NetworkGroup items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of NetworkGroup. - * - * @param value the value value to set. - * @return the NetworkGroupListResult object itself. - */ - public NetworkGroupListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkGroupListResult object itself. - */ - public NetworkGroupListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model NetworkGroupListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkGroupListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkGroupListResult 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 NetworkGroupListResult. */ public static NetworkGroupListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java similarity index 55% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java index 89b06aa151eb..280efed86847 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for list ip configurations API service call. + * The response of a NetworkInterfaceIPConfiguration list operation. */ -@Fluent -public final class NetworkInterfaceIpConfigurationListResult - implements JsonSerializable { +@Immutable +public final class NetworkInterfaceIPConfigurationListResult + implements JsonSerializable { /* - * A list of ip configurations. + * The NetworkInterfaceIPConfiguration items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** - * Creates an instance of NetworkInterfaceIpConfigurationListResult class. + * Creates an instance of NetworkInterfaceIPConfigurationListResult class. */ - public NetworkInterfaceIpConfigurationListResult() { + private NetworkInterfaceIPConfigurationListResult() { } /** - * Get the value property: A list of ip configurations. + * Get the value property: The NetworkInterfaceIPConfiguration items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of ip configurations. - * - * @param value the value value to set. - * @return the NetworkInterfaceIpConfigurationListResult object itself. - */ - public NetworkInterfaceIpConfigurationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkInterfaceIPConfigurationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkInterfaceIPConfigurationListResult.class); + /** * {@inheritDoc} */ @@ -82,21 +78,23 @@ public void validate() { 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 NetworkInterfaceIpConfigurationListResult from the JsonReader. + * Reads an instance of NetworkInterfaceIPConfigurationListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkInterfaceIpConfigurationListResult if the JsonReader was pointing to an instance of + * @return An instance of NetworkInterfaceIPConfigurationListResult 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 NetworkInterfaceIpConfigurationListResult. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the NetworkInterfaceIPConfigurationListResult. */ - public static NetworkInterfaceIpConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { + public static NetworkInterfaceIPConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkInterfaceIpConfigurationListResult deserializedNetworkInterfaceIpConfigurationListResult - = new NetworkInterfaceIpConfigurationListResult(); + NetworkInterfaceIPConfigurationListResult deserializedNetworkInterfaceIPConfigurationListResult + = new NetworkInterfaceIPConfigurationListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -104,15 +102,15 @@ public static NetworkInterfaceIpConfigurationListResult fromJson(JsonReader json if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> NetworkInterfaceIpConfigurationInner.fromJson(reader1)); - deserializedNetworkInterfaceIpConfigurationListResult.value = value; + deserializedNetworkInterfaceIPConfigurationListResult.value = value; } else if ("nextLink".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationListResult.nextLink = reader.getString(); + deserializedNetworkInterfaceIPConfigurationListResult.nextLink = reader.getString(); } else { reader.skipChildren(); } } - return deserializedNetworkInterfaceIpConfigurationListResult; + return deserializedNetworkInterfaceIPConfigurationListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java index a970fe4956f9..1122abc6a94f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListNetworkInterface API service call. + * The response of a NetworkInterface list operation. */ -@Fluent +@Immutable public final class NetworkInterfaceListResult implements JsonSerializable { /* - * A list of network interfaces in a resource group. + * The NetworkInterface items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkInterfaceListResult class. */ - public NetworkInterfaceListResult() { + private NetworkInterfaceListResult() { } /** - * Get the value property: A list of network interfaces in a resource group. + * Get the value property: The NetworkInterface items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of network interfaces in a resource group. - * - * @param value the value value to set. - * @return the NetworkInterfaceListResult object itself. - */ - public NetworkInterfaceListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkInterfaceListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkInterfaceListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkInterfaceListResult 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 NetworkInterfaceListResult. */ public static NetworkInterfaceListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceLoadBalancerListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceLoadBalancerListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java index 0d8773f900ac..fd1299ca0896 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceLoadBalancerListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for list ip configurations API service call. + * Paged collection of LoadBalancer items. */ -@Fluent +@Immutable public final class NetworkInterfaceLoadBalancerListResult implements JsonSerializable { /* - * A list of load balancers. + * The LoadBalancer items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkInterfaceLoadBalancerListResult class. */ - public NetworkInterfaceLoadBalancerListResult() { + private NetworkInterfaceLoadBalancerListResult() { } /** - * Get the value property: A list of load balancers. + * Get the value property: The LoadBalancer items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of load balancers. - * - * @param value the value value to set. - * @return the NetworkInterfaceLoadBalancerListResult object itself. - */ - public NetworkInterfaceLoadBalancerListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkInterfaceLoadBalancerListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkInterfaceLoadBalancerListResult.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkInterfaceLoadBalancerListResult 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 NetworkInterfaceLoadBalancerListResult. */ public static NetworkInterfaceLoadBalancerListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceTapConfigurationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceTapConfigurationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java index bc76f3e053d1..8bee592570c2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceTapConfigurationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for list tap configurations API service call. + * The response of a NetworkInterfaceTapConfiguration list operation. */ -@Fluent +@Immutable public final class NetworkInterfaceTapConfigurationListResult implements JsonSerializable { /* - * A list of tap configurations. + * The NetworkInterfaceTapConfiguration items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkInterfaceTapConfigurationListResult class. */ - public NetworkInterfaceTapConfigurationListResult() { + private NetworkInterfaceTapConfigurationListResult() { } /** - * Get the value property: A list of tap configurations. + * Get the value property: The NetworkInterfaceTapConfiguration items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of tap configurations. - * - * @param value the value value to set. - * @return the NetworkInterfaceTapConfigurationListResult object itself. - */ - public NetworkInterfaceTapConfigurationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkInterfaceTapConfigurationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkInterfaceTapConfigurationListResult.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkInterfaceTapConfigurationListResult 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 NetworkInterfaceTapConfigurationListResult. */ public static NetworkInterfaceTapConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerConnectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerConnectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java index 6ad194738f4f..12ef25c88e41 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerConnectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * List of network manager connections. + * The response of a NetworkManagerConnection list operation. */ -@Fluent +@Immutable public final class NetworkManagerConnectionListResult implements JsonSerializable { /* - * List of network manager connections. + * The NetworkManagerConnection items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkManagerConnectionListResult class. */ - public NetworkManagerConnectionListResult() { + private NetworkManagerConnectionListResult() { } /** - * Get the value property: List of network manager connections. + * Get the value property: The NetworkManagerConnection items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of network manager connections. - * - * @param value the value value to set. - * @return the NetworkManagerConnectionListResult object itself. - */ - public NetworkManagerConnectionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkManagerConnectionListResult object itself. - */ - public NetworkManagerConnectionListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkManagerConnectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkManagerConnectionListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkManagerConnectionListResult 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 NetworkManagerConnectionListResult. */ public static NetworkManagerConnectionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerDeploymentStatusListResult.java similarity index 57% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerDeploymentStatusListResult.java index 3634f3c603f9..9c4d3f6e6d66 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerDeploymentStatusListResult.java @@ -1,28 +1,28 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.models.NetworkManagerDeploymentStatus; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerDeploymentStatusInner; import java.io.IOException; import java.util.List; /** * A list of Network Manager Deployment Status. */ -@Fluent -public final class NetworkManagerDeploymentStatusListResultInner - implements JsonSerializable { +@Immutable +public final class NetworkManagerDeploymentStatusListResult + implements JsonSerializable { /* * Gets a page of Network Manager Deployment Status */ - private List value; + private List value; /* * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in @@ -31,9 +31,9 @@ public final class NetworkManagerDeploymentStatusListResultInner private String skipToken; /** - * Creates an instance of NetworkManagerDeploymentStatusListResultInner class. + * Creates an instance of NetworkManagerDeploymentStatusListResult class. */ - public NetworkManagerDeploymentStatusListResultInner() { + private NetworkManagerDeploymentStatusListResult() { } /** @@ -41,21 +41,10 @@ public NetworkManagerDeploymentStatusListResultInner() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } - /** - * Set the value property: Gets a page of Network Manager Deployment Status. - * - * @param value the value value to set. - * @return the NetworkManagerDeploymentStatusListResultInner object itself. - */ - public NetworkManagerDeploymentStatusListResultInner withValue(List value) { - this.value = value; - return this; - } - /** * Get the skipToken property: When present, the value can be passed to a subsequent query call (together with the * same query and scopes used in the current request) to retrieve the next page of data. @@ -66,18 +55,6 @@ public String skipToken() { return this.skipToken; } - /** - * Set the skipToken property: When present, the value can be passed to a subsequent query call (together with the - * same query and scopes used in the current request) to retrieve the next page of data. - * - * @param skipToken the skipToken value to set. - * @return the NetworkManagerDeploymentStatusListResultInner object itself. - */ - public NetworkManagerDeploymentStatusListResultInner withSkipToken(String skipToken) { - this.skipToken = skipToken; - return this; - } - /** * Validates the instance. * @@ -101,33 +78,33 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkManagerDeploymentStatusListResultInner from the JsonReader. + * Reads an instance of NetworkManagerDeploymentStatusListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkManagerDeploymentStatusListResultInner 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 NetworkManagerDeploymentStatusListResultInner. + * @return An instance of NetworkManagerDeploymentStatusListResult 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 NetworkManagerDeploymentStatusListResult. */ - public static NetworkManagerDeploymentStatusListResultInner fromJson(JsonReader jsonReader) throws IOException { + public static NetworkManagerDeploymentStatusListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkManagerDeploymentStatusListResultInner deserializedNetworkManagerDeploymentStatusListResultInner - = new NetworkManagerDeploymentStatusListResultInner(); + NetworkManagerDeploymentStatusListResult deserializedNetworkManagerDeploymentStatusListResult + = new NetworkManagerDeploymentStatusListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> NetworkManagerDeploymentStatus.fromJson(reader1)); - deserializedNetworkManagerDeploymentStatusListResultInner.value = value; + List value + = reader.readArray(reader1 -> NetworkManagerDeploymentStatusInner.fromJson(reader1)); + deserializedNetworkManagerDeploymentStatusListResult.value = value; } else if ("skipToken".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatusListResultInner.skipToken = reader.getString(); + deserializedNetworkManagerDeploymentStatusListResult.skipToken = reader.getString(); } else { reader.skipChildren(); } } - return deserializedNetworkManagerDeploymentStatusListResultInner; + return deserializedNetworkManagerDeploymentStatusListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java similarity index 61% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java index eb2b4fdb8f35..a75e8a194c3c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.models.EffectiveConnectivityConfiguration; +import com.azure.resourcemanager.network.fluent.models.EffectiveConnectivityConfigurationInner; import java.io.IOException; import java.util.List; @@ -17,13 +17,13 @@ * Result of the request to list networkManagerEffectiveConnectivityConfiguration. It contains a list of groups and a * skiptoken to get the next set of results. */ -@Fluent -public final class NetworkManagerEffectiveConnectivityConfigurationListResultInner - implements JsonSerializable { +@Immutable +public final class NetworkManagerEffectiveConnectivityConfigurationListResult + implements JsonSerializable { /* * Gets a page of NetworkManagerEffectiveConnectivityConfiguration */ - private List value; + private List value; /* * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in @@ -32,9 +32,9 @@ public final class NetworkManagerEffectiveConnectivityConfigurationListResultInn private String skipToken; /** - * Creates an instance of NetworkManagerEffectiveConnectivityConfigurationListResultInner class. + * Creates an instance of NetworkManagerEffectiveConnectivityConfigurationListResult class. */ - public NetworkManagerEffectiveConnectivityConfigurationListResultInner() { + private NetworkManagerEffectiveConnectivityConfigurationListResult() { } /** @@ -42,22 +42,10 @@ public NetworkManagerEffectiveConnectivityConfigurationListResultInner() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } - /** - * Set the value property: Gets a page of NetworkManagerEffectiveConnectivityConfiguration. - * - * @param value the value value to set. - * @return the NetworkManagerEffectiveConnectivityConfigurationListResultInner object itself. - */ - public NetworkManagerEffectiveConnectivityConfigurationListResultInner - withValue(List value) { - this.value = value; - return this; - } - /** * Get the skipToken property: When present, the value can be passed to a subsequent query call (together with the * same query and scopes used in the current request) to retrieve the next page of data. @@ -68,18 +56,6 @@ public String skipToken() { return this.skipToken; } - /** - * Set the skipToken property: When present, the value can be passed to a subsequent query call (together with the - * same query and scopes used in the current request) to retrieve the next page of data. - * - * @param skipToken the skipToken value to set. - * @return the NetworkManagerEffectiveConnectivityConfigurationListResultInner object itself. - */ - public NetworkManagerEffectiveConnectivityConfigurationListResultInner withSkipToken(String skipToken) { - this.skipToken = skipToken; - return this; - } - /** * Validates the instance. * @@ -103,36 +79,36 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkManagerEffectiveConnectivityConfigurationListResultInner from the JsonReader. + * Reads an instance of NetworkManagerEffectiveConnectivityConfigurationListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkManagerEffectiveConnectivityConfigurationListResultInner if the JsonReader was - * pointing to an instance of it, or null if it was pointing to JSON null. + * @return An instance of NetworkManagerEffectiveConnectivityConfigurationListResult 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 - * NetworkManagerEffectiveConnectivityConfigurationListResultInner. + * NetworkManagerEffectiveConnectivityConfigurationListResult. */ - public static NetworkManagerEffectiveConnectivityConfigurationListResultInner fromJson(JsonReader jsonReader) + public static NetworkManagerEffectiveConnectivityConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkManagerEffectiveConnectivityConfigurationListResultInner deserializedNetworkManagerEffectiveConnectivityConfigurationListResultInner - = new NetworkManagerEffectiveConnectivityConfigurationListResultInner(); + NetworkManagerEffectiveConnectivityConfigurationListResult deserializedNetworkManagerEffectiveConnectivityConfigurationListResult + = new NetworkManagerEffectiveConnectivityConfigurationListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> EffectiveConnectivityConfiguration.fromJson(reader1)); - deserializedNetworkManagerEffectiveConnectivityConfigurationListResultInner.value = value; + List value + = reader.readArray(reader1 -> EffectiveConnectivityConfigurationInner.fromJson(reader1)); + deserializedNetworkManagerEffectiveConnectivityConfigurationListResult.value = value; } else if ("skipToken".equals(fieldName)) { - deserializedNetworkManagerEffectiveConnectivityConfigurationListResultInner.skipToken + deserializedNetworkManagerEffectiveConnectivityConfigurationListResult.skipToken = reader.getString(); } else { reader.skipChildren(); } } - return deserializedNetworkManagerEffectiveConnectivityConfigurationListResultInner; + return deserializedNetworkManagerEffectiveConnectivityConfigurationListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java similarity index 59% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java index d78a940768da..1478a802ff76 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.models.EffectiveBaseSecurityAdminRule; +import com.azure.resourcemanager.network.fluent.models.EffectiveBaseSecurityAdminRuleInner; import java.io.IOException; import java.util.List; @@ -17,13 +17,13 @@ * Result of the request to list networkManagerEffectiveSecurityAdminRules. It contains a list of groups and a skiptoken * to get the next set of results. */ -@Fluent -public final class NetworkManagerEffectiveSecurityAdminRulesListResultInner - implements JsonSerializable { +@Immutable +public final class NetworkManagerEffectiveSecurityAdminRulesListResult + implements JsonSerializable { /* * Gets a page of NetworkManagerEffectiveSecurityAdminRules */ - private List value; + private List value; /* * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in @@ -32,9 +32,9 @@ public final class NetworkManagerEffectiveSecurityAdminRulesListResultInner private String skipToken; /** - * Creates an instance of NetworkManagerEffectiveSecurityAdminRulesListResultInner class. + * Creates an instance of NetworkManagerEffectiveSecurityAdminRulesListResult class. */ - public NetworkManagerEffectiveSecurityAdminRulesListResultInner() { + private NetworkManagerEffectiveSecurityAdminRulesListResult() { } /** @@ -42,22 +42,10 @@ public NetworkManagerEffectiveSecurityAdminRulesListResultInner() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } - /** - * Set the value property: Gets a page of NetworkManagerEffectiveSecurityAdminRules. - * - * @param value the value value to set. - * @return the NetworkManagerEffectiveSecurityAdminRulesListResultInner object itself. - */ - public NetworkManagerEffectiveSecurityAdminRulesListResultInner - withValue(List value) { - this.value = value; - return this; - } - /** * Get the skipToken property: When present, the value can be passed to a subsequent query call (together with the * same query and scopes used in the current request) to retrieve the next page of data. @@ -68,18 +56,6 @@ public String skipToken() { return this.skipToken; } - /** - * Set the skipToken property: When present, the value can be passed to a subsequent query call (together with the - * same query and scopes used in the current request) to retrieve the next page of data. - * - * @param skipToken the skipToken value to set. - * @return the NetworkManagerEffectiveSecurityAdminRulesListResultInner object itself. - */ - public NetworkManagerEffectiveSecurityAdminRulesListResultInner withSkipToken(String skipToken) { - this.skipToken = skipToken; - return this; - } - /** * Validates the instance. * @@ -103,35 +79,34 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkManagerEffectiveSecurityAdminRulesListResultInner from the JsonReader. + * Reads an instance of NetworkManagerEffectiveSecurityAdminRulesListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkManagerEffectiveSecurityAdminRulesListResultInner 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 - * NetworkManagerEffectiveSecurityAdminRulesListResultInner. + * @return An instance of NetworkManagerEffectiveSecurityAdminRulesListResult 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 NetworkManagerEffectiveSecurityAdminRulesListResult. */ - public static NetworkManagerEffectiveSecurityAdminRulesListResultInner fromJson(JsonReader jsonReader) + public static NetworkManagerEffectiveSecurityAdminRulesListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkManagerEffectiveSecurityAdminRulesListResultInner deserializedNetworkManagerEffectiveSecurityAdminRulesListResultInner - = new NetworkManagerEffectiveSecurityAdminRulesListResultInner(); + NetworkManagerEffectiveSecurityAdminRulesListResult deserializedNetworkManagerEffectiveSecurityAdminRulesListResult + = new NetworkManagerEffectiveSecurityAdminRulesListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> EffectiveBaseSecurityAdminRule.fromJson(reader1)); - deserializedNetworkManagerEffectiveSecurityAdminRulesListResultInner.value = value; + List value + = reader.readArray(reader1 -> EffectiveBaseSecurityAdminRuleInner.fromJson(reader1)); + deserializedNetworkManagerEffectiveSecurityAdminRulesListResult.value = value; } else if ("skipToken".equals(fieldName)) { - deserializedNetworkManagerEffectiveSecurityAdminRulesListResultInner.skipToken = reader.getString(); + deserializedNetworkManagerEffectiveSecurityAdminRulesListResult.skipToken = reader.getString(); } else { reader.skipChildren(); } } - return deserializedNetworkManagerEffectiveSecurityAdminRulesListResultInner; + return deserializedNetworkManagerEffectiveSecurityAdminRulesListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java index 17c3859cca5f..8ed976ab80a1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list NetworkManager. It contains a list of network managers and a URL link to get the next - * set of results. + * The response of a NetworkManager list operation. */ -@Fluent +@Immutable public final class NetworkManagerListResult implements JsonSerializable { /* - * Gets a page of NetworkManager + * The NetworkManager items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkManagerListResult class. */ - public NetworkManagerListResult() { + private NetworkManagerListResult() { } /** - * Get the value property: Gets a page of NetworkManager. + * Get the value property: The NetworkManager items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of NetworkManager. - * - * @param value the value value to set. - * @return the NetworkManagerListResult object itself. - */ - public NetworkManagerListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkManagerListResult object itself. - */ - public NetworkManagerListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model NetworkManagerListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkManagerListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkManagerListResult 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 NetworkManagerListResult. */ public static NetworkManagerListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingConfigurationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingConfigurationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java index 9a62409cafcf..7df945fce8bc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingConfigurationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * A list of network manager routing configurations. + * The response of a NetworkManagerRoutingConfiguration list operation. */ -@Fluent +@Immutable public final class NetworkManagerRoutingConfigurationListResult implements JsonSerializable { /* - * Gets a page of routing configurations + * The NetworkManagerRoutingConfiguration items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkManagerRoutingConfigurationListResult class. */ - public NetworkManagerRoutingConfigurationListResult() { + private NetworkManagerRoutingConfigurationListResult() { } /** - * Get the value property: Gets a page of routing configurations. + * Get the value property: The NetworkManagerRoutingConfiguration items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: Gets a page of routing configurations. - * - * @param value the value value to set. - * @return the NetworkManagerRoutingConfigurationListResult object itself. - */ - public NetworkManagerRoutingConfigurationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkManagerRoutingConfigurationListResult object itself. - */ - public NetworkManagerRoutingConfigurationListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkManagerRoutingConfigurationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkManagerRoutingConfigurationListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkManagerRoutingConfigurationListResult 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 NetworkManagerRoutingConfigurationListResult. */ public static NetworkManagerRoutingConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProfileListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProfileListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java index f15449dc1f10..10b6a7fd04a2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProfileListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListNetworkProfiles API service call. + * The response of a NetworkProfile list operation. */ -@Fluent +@Immutable public final class NetworkProfileListResult implements JsonSerializable { /* - * A list of network profiles that exist in a resource group. + * The NetworkProfile items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkProfileListResult class. */ - public NetworkProfileListResult() { + private NetworkProfileListResult() { } /** - * Get the value property: A list of network profiles that exist in a resource group. + * Get the value property: The NetworkProfile items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of network profiles that exist in a resource group. - * - * @param value the value value to set. - * @return the NetworkProfileListResult object itself. - */ - public NetworkProfileListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkProfileListResult object itself. - */ - public NetworkProfileListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model NetworkProfileListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkProfileListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkProfileListResult 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 NetworkProfileListResult. */ public static NetworkProfileListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java index 8e7400bcad5f..9c963f5d2573 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListNetworkSecurityGroups API service call. + * The response of a NetworkSecurityGroup list operation. */ -@Fluent +@Immutable public final class NetworkSecurityGroupListResult implements JsonSerializable { /* - * A list of NetworkSecurityGroup resources. + * The NetworkSecurityGroup items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkSecurityGroupListResult class. */ - public NetworkSecurityGroupListResult() { + private NetworkSecurityGroupListResult() { } /** - * Get the value property: A list of NetworkSecurityGroup resources. + * Get the value property: The NetworkSecurityGroup items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of NetworkSecurityGroup resources. - * - * @param value the value value to set. - * @return the NetworkSecurityGroupListResult object itself. - */ - public NetworkSecurityGroupListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkSecurityGroupListResult object itself. - */ - public NetworkSecurityGroupListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkSecurityGroupListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkSecurityGroupListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkSecurityGroupListResult 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 NetworkSecurityGroupListResult. */ public static NetworkSecurityGroupListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityPerimeterListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityPerimeterListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java index 8d0a343b1d47..dd1c38925952 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityPerimeterListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list NetworkSecurityPerimeter. It contains a list of network security perimeters and a URL - * link to get the next set of results. + * The response of a NetworkSecurityPerimeter list operation. */ -@Fluent +@Immutable public final class NetworkSecurityPerimeterListResult implements JsonSerializable { /* - * Gets a page of NetworkSecurityPerimeter + * The NetworkSecurityPerimeter items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkSecurityPerimeterListResult class. */ - public NetworkSecurityPerimeterListResult() { + private NetworkSecurityPerimeterListResult() { } /** - * Get the value property: Gets a page of NetworkSecurityPerimeter. + * Get the value property: The NetworkSecurityPerimeter items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of NetworkSecurityPerimeter. - * - * @param value the value value to set. - * @return the NetworkSecurityPerimeterListResult object itself. - */ - public NetworkSecurityPerimeterListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkSecurityPerimeterListResult object itself. - */ - public NetworkSecurityPerimeterListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkSecurityPerimeterListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkSecurityPerimeterListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkSecurityPerimeterListResult 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 NetworkSecurityPerimeterListResult. */ public static NetworkSecurityPerimeterListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceConnectionList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceConnectionList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java index f6f885bc63d3..29ddcefeb764 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceConnectionList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * NetworkVirtualApplianceConnection list. */ -@Fluent +@Immutable public final class NetworkVirtualApplianceConnectionList implements JsonSerializable { /* - * The list of NetworkVirtualAppliance connections. + * The NetworkVirtualApplianceConnection items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkVirtualApplianceConnectionList class. */ - public NetworkVirtualApplianceConnectionList() { + private NetworkVirtualApplianceConnectionList() { } /** - * Get the value property: The list of NetworkVirtualAppliance connections. + * Get the value property: The NetworkVirtualApplianceConnection items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: The list of NetworkVirtualAppliance connections. - * - * @param value the value value to set. - * @return the NetworkVirtualApplianceConnectionList object itself. - */ - public NetworkVirtualApplianceConnectionList withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkVirtualApplianceConnectionList object itself. - */ - public NetworkVirtualApplianceConnectionList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkVirtualApplianceConnectionList")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkVirtualApplianceConnectionList.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkVirtualApplianceConnectionList 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 NetworkVirtualApplianceConnectionList. */ public static NetworkVirtualApplianceConnectionList fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java index d27353025133..85758fea827d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListNetworkVirtualAppliances API service call. + * The response of a NetworkVirtualAppliance list operation. */ -@Fluent +@Immutable public final class NetworkVirtualApplianceListResult implements JsonSerializable { /* - * List of Network Virtual Appliances. + * The NetworkVirtualAppliance items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkVirtualApplianceListResult class. */ - public NetworkVirtualApplianceListResult() { + private NetworkVirtualApplianceListResult() { } /** - * Get the value property: List of Network Virtual Appliances. + * Get the value property: The NetworkVirtualAppliance items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Network Virtual Appliances. - * - * @param value the value value to set. - * @return the NetworkVirtualApplianceListResult object itself. - */ - public NetworkVirtualApplianceListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkVirtualApplianceListResult object itself. - */ - public NetworkVirtualApplianceListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkVirtualApplianceListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkVirtualApplianceListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkVirtualApplianceListResult 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 NetworkVirtualApplianceListResult. */ public static NetworkVirtualApplianceListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSiteListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSiteListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java index bedc8082a035..559d12a2f966 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSiteListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for ListNetworkVirtualApplianceSites API service call. + * Paged collection of VirtualApplianceSite items. */ -@Fluent +@Immutable public final class NetworkVirtualApplianceSiteListResult implements JsonSerializable { /* - * List of Network Virtual Appliance sites. + * The VirtualApplianceSite items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkVirtualApplianceSiteListResult class. */ - public NetworkVirtualApplianceSiteListResult() { + private NetworkVirtualApplianceSiteListResult() { } /** - * Get the value property: List of Network Virtual Appliance sites. + * Get the value property: The VirtualApplianceSite items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of Network Virtual Appliance sites. - * - * @param value the value value to set. - * @return the NetworkVirtualApplianceSiteListResult object itself. - */ - public NetworkVirtualApplianceSiteListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkVirtualApplianceSiteListResult object itself. - */ - public NetworkVirtualApplianceSiteListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkVirtualApplianceSiteListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkVirtualApplianceSiteListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkVirtualApplianceSiteListResult 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 NetworkVirtualApplianceSiteListResult. */ public static NetworkVirtualApplianceSiteListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java index cfa14caef2e0..809b900428f4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for ListNetworkVirtualApplianceSkus API service call. + * The response of a NetworkVirtualApplianceSku list operation. */ -@Fluent +@Immutable public final class NetworkVirtualApplianceSkuListResult implements JsonSerializable { /* - * List of Network Virtual Appliance Skus that are available. + * The NetworkVirtualApplianceSku items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NetworkVirtualApplianceSkuListResult class. */ - public NetworkVirtualApplianceSkuListResult() { + private NetworkVirtualApplianceSkuListResult() { } /** - * Get the value property: List of Network Virtual Appliance Skus that are available. + * Get the value property: The NetworkVirtualApplianceSku items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: List of Network Virtual Appliance Skus that are available. - * - * @param value the value value to set. - * @return the NetworkVirtualApplianceSkuListResult object itself. - */ - public NetworkVirtualApplianceSkuListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the NetworkVirtualApplianceSkuListResult object itself. - */ - public NetworkVirtualApplianceSkuListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NetworkVirtualApplianceSkuListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkVirtualApplianceSkuListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkVirtualApplianceSkuListResult 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 NetworkVirtualApplianceSkuListResult. */ public static NetworkVirtualApplianceSkuListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkWatcherListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java similarity index 80% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkWatcherListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java index 3169e62d72d3..80c1ecf7c029 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkWatcherListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,17 +16,22 @@ /** * Response for ListNetworkWatchers API service call. */ -@Fluent +@Immutable public final class NetworkWatcherListResult implements JsonSerializable { /* * List of network watcher resources. */ private List value; + /* + * URL to get the next set of results. + */ + private String nextLink; + /** * Creates an instance of NetworkWatcherListResult class. */ - public NetworkWatcherListResult() { + private NetworkWatcherListResult() { } /** @@ -39,14 +44,12 @@ public List value() { } /** - * Set the value property: List of network watcher resources. + * Get the nextLink property: URL to get the next set of results. * - * @param value the value value to set. - * @return the NetworkWatcherListResult object itself. + * @return the nextLink value. */ - public NetworkWatcherListResult withValue(List value) { - this.value = value; - return this; + public String nextLink() { + return this.nextLink; } /** @@ -67,6 +70,7 @@ public void validate() { 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(); } @@ -89,6 +93,8 @@ public static NetworkWatcherListResult fromJson(JsonReader jsonReader) throws IO List value = reader.readArray(reader1 -> NetworkWatcherInner.fromJson(reader1)); deserializedNetworkWatcherListResult.value = value; + } else if ("nextLink".equals(fieldName)) { + deserializedNetworkWatcherListResult.nextLink = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspAccessRuleListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspAccessRuleListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java index f1542d41acea..d14bd7c8277a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspAccessRuleListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list NSP access rules. Contains a list of NSP access rules and a URL link to get the next - * set of results. + * The response of a NspAccessRule list operation. */ -@Fluent +@Immutable public final class NspAccessRuleListResult implements JsonSerializable { /* - * Gets a page of NSP access rule + * The NspAccessRule items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NspAccessRuleListResult class. */ - public NspAccessRuleListResult() { + private NspAccessRuleListResult() { } /** - * Get the value property: Gets a page of NSP access rule. + * Get the value property: The NspAccessRule items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of NSP access rule. - * - * @param value the value value to set. - * @return the NspAccessRuleListResult object itself. - */ - public NspAccessRuleListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NspAccessRuleListResult object itself. - */ - public NspAccessRuleListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model NspAccessRuleListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NspAccessRuleListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NspAccessRuleListResult 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 NspAccessRuleListResult. */ public static NspAccessRuleListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspAssociationsListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspAssociationsListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java index 52c2e108f65e..007fdeca2f96 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspAssociationsListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list NSP resource associations. Contains a list of NSP resource associations and a URL link - * to get the next set of results. + * Paged collection of NspAssociation items. */ -@Fluent +@Immutable public final class NspAssociationsListResult implements JsonSerializable { /* - * Gets a page of NSP resource associations + * The NspAssociation items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NspAssociationsListResult class. */ - public NspAssociationsListResult() { + private NspAssociationsListResult() { } /** - * Get the value property: Gets a page of NSP resource associations. + * Get the value property: The NspAssociation items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of NSP resource associations. - * - * @param value the value value to set. - * @return the NspAssociationsListResult object itself. - */ - public NspAssociationsListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NspAssociationsListResult object itself. - */ - public NspAssociationsListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log( + new IllegalArgumentException("Missing required property value in model NspAssociationsListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NspAssociationsListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NspAssociationsListResult 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 NspAssociationsListResult. */ public static NspAssociationsListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java index 8e934b665c83..eb7537c069bf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list NSP link resources. Contains a list of NSP link resources and a URL link to get the - * next set of results. + * The response of a NspLink list operation. */ -@Fluent +@Immutable public final class NspLinkListResult implements JsonSerializable { /* - * Gets a page of NSP Link resources. + * The NspLink items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NspLinkListResult class. */ - public NspLinkListResult() { + private NspLinkListResult() { } /** - * Get the value property: Gets a page of NSP Link resources. + * Get the value property: The NspLink items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of NSP Link resources. - * - * @param value the value value to set. - * @return the NspLinkListResult object itself. - */ - public NspLinkListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NspLinkListResult object itself. - */ - public NspLinkListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model NspLinkListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NspLinkListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NspLinkListResult 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 NspLinkListResult. */ public static NspLinkListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkReferenceListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java similarity index 68% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkReferenceListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java index 240a1f8df1eb..2b7f8a2a1c06 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkReferenceListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list NSP linkReference resources. Contains a list of NSP linkReference resources and a URL - * link to get the next set of results. + * The response of a NspLinkReference list operation. */ -@Fluent +@Immutable public final class NspLinkReferenceListResult implements JsonSerializable { /* - * Gets a page of NSP LinkReference resources. + * The NspLinkReference items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NspLinkReferenceListResult class. */ - public NspLinkReferenceListResult() { + private NspLinkReferenceListResult() { } /** - * Get the value property: Gets a page of NSP LinkReference resources. + * Get the value property: The NspLinkReference items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of NSP LinkReference resources. - * - * @param value the value value to set. - * @return the NspLinkReferenceListResult object itself. - */ - public NspLinkReferenceListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NspLinkReferenceListResult object itself. - */ - public NspLinkReferenceListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NspLinkReferenceListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NspLinkReferenceListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NspLinkReferenceListResult 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 NspLinkReferenceListResult. */ public static NspLinkReferenceListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLoggingConfigurationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLoggingConfigurationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java index f99fe774b3b5..38c8ec5f6e28 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLoggingConfigurationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list NSP logging configuration. Contains a list of NSP logging configurations and a URL link - * to get the next set of results. + * The response of a NspLoggingConfiguration list operation. */ -@Fluent +@Immutable public final class NspLoggingConfigurationListResult implements JsonSerializable { /* - * Gets a page of NSP logging configuration + * The NspLoggingConfiguration items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NspLoggingConfigurationListResult class. */ - public NspLoggingConfigurationListResult() { + private NspLoggingConfigurationListResult() { } /** - * Get the value property: Gets a page of NSP logging configuration. + * Get the value property: The NspLoggingConfiguration items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of NSP logging configuration. - * - * @param value the value value to set. - * @return the NspLoggingConfigurationListResult object itself. - */ - public NspLoggingConfigurationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NspLoggingConfigurationListResult object itself. - */ - public NspLoggingConfigurationListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model NspLoggingConfigurationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NspLoggingConfigurationListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NspLoggingConfigurationListResult 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 NspLoggingConfigurationListResult. */ public static NspLoggingConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspProfileListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspProfileListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java index c91afdd42783..33fe161571f0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspProfileListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list NSP profiles. Contains a list of NSP profiles and a URL link to get the next set of - * results. + * The response of a NspProfile list operation. */ -@Fluent +@Immutable public final class NspProfileListResult implements JsonSerializable { /* - * Gets a page of NSP profile + * The NspProfile items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NspProfileListResult class. */ - public NspProfileListResult() { + private NspProfileListResult() { } /** - * Get the value property: Gets a page of NSP profile. + * Get the value property: The NspProfile items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of NSP profile. - * - * @param value the value value to set. - * @return the NspProfileListResult object itself. - */ - public NspProfileListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NspProfileListResult object itself. - */ - public NspProfileListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model NspProfileListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NspProfileListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NspProfileListResult 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 NspProfileListResult. */ public static NspProfileListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspServiceTagsListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspServiceTagsListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java index ec7f4158d97e..4f3510bd3773 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspServiceTagsListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * Result of the request to list NSP service tags. */ -@Fluent +@Immutable public final class NspServiceTagsListResult implements JsonSerializable { /* - * Gets paged list of NSP service tags. + * The NspServiceTagsResource items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of NspServiceTagsListResult class. */ - public NspServiceTagsListResult() { + private NspServiceTagsListResult() { } /** - * Get the value property: Gets paged list of NSP service tags. + * Get the value property: The NspServiceTagsResource items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets paged list of NSP service tags. - * - * @param value the value value to set. - * @return the NspServiceTagsListResult object itself. - */ - public NspServiceTagsListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the NspServiceTagsListResult object itself. - */ - public NspServiceTagsListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model NspServiceTagsListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(NspServiceTagsListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NspServiceTagsListResult 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 NspServiceTagsListResult. */ public static NspServiceTagsListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OperationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java similarity index 66% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OperationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java index 1d4840f887cc..38ff0bbd0d6c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OperationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set - * of results. + * Paged collection of Operation items. */ -@Fluent +@Immutable public final class OperationListResult implements JsonSerializable { /* - * List of Network operations supported by the Network resource provider. + * The Operation items on this page */ private List value; /* - * URL to get the next set of operation list results if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of OperationListResult class. */ - public OperationListResult() { + private OperationListResult() { } /** - * Get the value property: List of Network operations supported by the Network resource provider. + * Get the value property: The Operation items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Network operations supported by the Network resource provider. - * - * @param value the value value to set. - * @return the OperationListResult object itself. - */ - public OperationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of operation list results if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of operation list results if there are any. - * - * @param nextLink the nextLink value to set. - * @return the OperationListResult object itself. - */ - public OperationListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model OperationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(OperationListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of OperationListResult 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 OperationListResult. */ public static OperationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java similarity index 80% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java index 3f7620f2bc7a..605cb2daf0bb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,17 +16,22 @@ /** * List of packet capture sessions. */ -@Fluent +@Immutable public final class PacketCaptureListResult implements JsonSerializable { /* * Information about packet capture sessions. */ private List value; + /* + * URL to get the next set of results. + */ + private String nextLink; + /** * Creates an instance of PacketCaptureListResult class. */ - public PacketCaptureListResult() { + private PacketCaptureListResult() { } /** @@ -39,14 +44,12 @@ public List value() { } /** - * Set the value property: Information about packet capture sessions. + * Get the nextLink property: URL to get the next set of results. * - * @param value the value value to set. - * @return the PacketCaptureListResult object itself. + * @return the nextLink value. */ - public PacketCaptureListResult withValue(List value) { - this.value = value; - return this; + public String nextLink() { + return this.nextLink; } /** @@ -67,6 +70,7 @@ public void validate() { 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(); } @@ -89,6 +93,8 @@ public static PacketCaptureListResult fromJson(JsonReader jsonReader) throws IOE List value = reader.readArray(reader1 -> PacketCaptureResultInner.fromJson(reader1)); deserializedPacketCaptureListResult.value = value; + } else if ("nextLink".equals(fieldName)) { + deserializedPacketCaptureListResult.nextLink = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeerExpressRouteCircuitConnectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java similarity index 67% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeerExpressRouteCircuitConnectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java index 3ff30d1a8c20..122d3252ce77 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeerExpressRouteCircuitConnectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,31 +15,29 @@ import java.util.List; /** - * Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs - * to a Private Peering for an ExpressRouteCircuit. + * The response of a PeerExpressRouteCircuitConnection list operation. */ -@Fluent +@Immutable public final class PeerExpressRouteCircuitConnectionListResult implements JsonSerializable { /* - * The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit. + * The PeerExpressRouteCircuitConnection items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of PeerExpressRouteCircuitConnectionListResult class. */ - public PeerExpressRouteCircuitConnectionListResult() { + private PeerExpressRouteCircuitConnectionListResult() { } /** - * Get the value property: The global reach peer circuit connection associated with Private Peering in an - * ExpressRoute Circuit. + * Get the value property: The PeerExpressRouteCircuitConnection items on this page. * * @return the value value. */ @@ -47,19 +46,7 @@ public List value() { } /** - * Set the value property: The global reach peer circuit connection associated with Private Peering in an - * ExpressRoute Circuit. - * - * @param value the value value to set. - * @return the PeerExpressRouteCircuitConnectionListResult object itself. - */ - public PeerExpressRouteCircuitConnectionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -67,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the PeerExpressRouteCircuitConnectionListResult object itself. - */ - public PeerExpressRouteCircuitConnectionListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model PeerExpressRouteCircuitConnectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(PeerExpressRouteCircuitConnectionListResult.class); + /** * {@inheritDoc} */ @@ -106,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of PeerExpressRouteCircuitConnectionListResult 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 PeerExpressRouteCircuitConnectionListResult. */ public static PeerExpressRouteCircuitConnectionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PerimeterAssociableResourcesListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PerimeterAssociableResourcesListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java index 800b55840f61..a4efca816279 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PerimeterAssociableResourcesListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Paged list of perimeter associable resources. + * Paged collection of PerimeterAssociableResource items. */ -@Fluent +@Immutable public final class PerimeterAssociableResourcesListResult implements JsonSerializable { /* - * Gets paged list of perimeter associable resources. + * The PerimeterAssociableResource items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of PerimeterAssociableResourcesListResult class. */ - public PerimeterAssociableResourcesListResult() { + private PerimeterAssociableResourcesListResult() { } /** - * Get the value property: Gets paged list of perimeter associable resources. + * Get the value property: The PerimeterAssociableResource items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: Gets paged list of perimeter associable resources. - * - * @param value the value value to set. - * @return the PerimeterAssociableResourcesListResult object itself. - */ - public PerimeterAssociableResourcesListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the PerimeterAssociableResourcesListResult object itself. - */ - public PerimeterAssociableResourcesListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model PerimeterAssociableResourcesListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(PerimeterAssociableResourcesListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of PerimeterAssociableResourcesListResult 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 PerimeterAssociableResourcesListResult. */ public static PerimeterAssociableResourcesListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PoolAssociationList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PoolAssociationList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java index 027f6a2a4da6..c8633ed9ae5a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PoolAssociationList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * List of PoolAssociation. */ -@Fluent +@Immutable public final class PoolAssociationList implements JsonSerializable { /* - * The value property. + * The PoolAssociation items on this page */ private List value; /* - * The link used to get the next page of operations. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of PoolAssociationList class. */ - public PoolAssociationList() { + private PoolAssociationList() { } /** - * Get the value property: The value property. + * Get the value property: The PoolAssociation items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: The value property. - * - * @param value the value value to set. - * @return the PoolAssociationList object itself. - */ - public PoolAssociationList withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The link used to get the next page of operations. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link used to get the next page of operations. - * - * @param nextLink the nextLink value to set. - * @return the PoolAssociationList object itself. - */ - public PoolAssociationList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model PoolAssociationList")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(PoolAssociationList.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of PoolAssociationList 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 PoolAssociationList. */ public static PoolAssociationList fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneGroupListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java similarity index 75% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneGroupListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java index 5cd7fceed35d..f4a0c333e064 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneGroupListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * Response for the ListPrivateDnsZoneGroups API service call. */ -@Fluent +@Immutable public final class PrivateDnsZoneGroupListResult implements JsonSerializable { /* - * A list of private dns zone group resources in a private endpoint. + * The PrivateDnsZoneGroup items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of PrivateDnsZoneGroupListResult class. */ - public PrivateDnsZoneGroupListResult() { + private PrivateDnsZoneGroupListResult() { } /** - * Get the value property: A list of private dns zone group resources in a private endpoint. + * Get the value property: The PrivateDnsZoneGroup items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of private dns zone group resources in a private endpoint. - * - * @param value the value value to set. - * @return the PrivateDnsZoneGroupListResult object itself. - */ - public PrivateDnsZoneGroupListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model PrivateDnsZoneGroupListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(PrivateDnsZoneGroupListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of PrivateDnsZoneGroupListResult 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 PrivateDnsZoneGroupListResult. */ public static PrivateDnsZoneGroupListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointConnectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointConnectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java index 2f43c16357a0..9e541e91fba2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointConnectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for the ListPrivateEndpointConnection API service call. + * The response of a PrivateEndpointConnection list operation. */ -@Fluent +@Immutable public final class PrivateEndpointConnectionListResult implements JsonSerializable { /* - * A list of PrivateEndpointConnection resources for a specific private link service. + * The PrivateEndpointConnection items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of PrivateEndpointConnectionListResult class. */ - public PrivateEndpointConnectionListResult() { + private PrivateEndpointConnectionListResult() { } /** - * Get the value property: A list of PrivateEndpointConnection resources for a specific private link service. + * Get the value property: The PrivateEndpointConnection items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of PrivateEndpointConnection resources for a specific private link service. - * - * @param value the value value to set. - * @return the PrivateEndpointConnectionListResult object itself. - */ - public PrivateEndpointConnectionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model PrivateEndpointConnectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(PrivateEndpointConnectionListResult.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of PrivateEndpointConnectionListResult 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 PrivateEndpointConnectionListResult. */ public static PrivateEndpointConnectionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java index 728973ca9a1e..a8bf636eedcd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListPrivateEndpoints API service call. + * The response of a PrivateEndpoint list operation. */ -@Fluent +@Immutable public final class PrivateEndpointListResult implements JsonSerializable { /* - * A list of private endpoint resources in a resource group. + * The PrivateEndpoint items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of PrivateEndpointListResult class. */ - public PrivateEndpointListResult() { + private PrivateEndpointListResult() { } /** - * Get the value property: A list of private endpoint resources in a resource group. + * Get the value property: The PrivateEndpoint items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of private endpoint resources in a resource group. - * - * @param value the value value to set. - * @return the PrivateEndpointListResult object itself. - */ - public PrivateEndpointListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log( + new IllegalArgumentException("Missing required property value in model PrivateEndpointListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(PrivateEndpointListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of PrivateEndpointListResult 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 PrivateEndpointListResult. */ public static PrivateEndpointListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java index bcead5ca813d..26491967a29a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListPrivateLinkService API service call. + * The response of a PrivateLinkService list operation. */ -@Fluent +@Immutable public final class PrivateLinkServiceListResult implements JsonSerializable { /* - * A list of PrivateLinkService resources in a resource group. + * The PrivateLinkService items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of PrivateLinkServiceListResult class. */ - public PrivateLinkServiceListResult() { + private PrivateLinkServiceListResult() { } /** - * Get the value property: A list of PrivateLinkService resources in a resource group. + * Get the value property: The PrivateLinkService items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of PrivateLinkService resources in a resource group. - * - * @param value the value value to set. - * @return the PrivateLinkServiceListResult object itself. - */ - public PrivateLinkServiceListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model PrivateLinkServiceListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(PrivateLinkServiceListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of PrivateLinkServiceListResult 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 PrivateLinkServiceListResult. */ public static PrivateLinkServiceListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java similarity index 53% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java index 4f378db78155..ab2546675473 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListPublicIpAddresses API service call. + * The response of a PublicIPAddress list operation. */ -@Fluent -public final class PublicIpAddressListResult implements JsonSerializable { +@Immutable +public final class PublicIPAddressListResult implements JsonSerializable { /* - * A list of public IP addresses that exists in a resource group. + * The PublicIPAddress items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** - * Creates an instance of PublicIpAddressListResult class. + * Creates an instance of PublicIPAddressListResult class. */ - public PublicIpAddressListResult() { + private PublicIPAddressListResult() { } /** - * Get the value property: A list of public IP addresses that exists in a resource group. + * Get the value property: The PublicIPAddress items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of public IP addresses that exists in a resource group. - * - * @param value the value value to set. - * @return the PublicIpAddressListResult object itself. - */ - public PublicIpAddressListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the PublicIpAddressListResult object itself. - */ - public PublicIpAddressListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log( + new IllegalArgumentException("Missing required property value in model PublicIPAddressListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(PublicIPAddressListResult.class); + /** * {@inheritDoc} */ @@ -97,16 +82,17 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of PublicIpAddressListResult from the JsonReader. + * Reads an instance of PublicIPAddressListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of PublicIpAddressListResult if the JsonReader was pointing to an instance of it, or null if + * @return An instance of PublicIPAddressListResult 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 PublicIpAddressListResult. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the PublicIPAddressListResult. */ - public static PublicIpAddressListResult fromJson(JsonReader jsonReader) throws IOException { + public static PublicIPAddressListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - PublicIpAddressListResult deserializedPublicIpAddressListResult = new PublicIpAddressListResult(); + PublicIPAddressListResult deserializedPublicIPAddressListResult = new PublicIPAddressListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -114,15 +100,15 @@ public static PublicIpAddressListResult fromJson(JsonReader jsonReader) throws I if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> PublicIpAddressInner.fromJson(reader1)); - deserializedPublicIpAddressListResult.value = value; + deserializedPublicIPAddressListResult.value = value; } else if ("nextLink".equals(fieldName)) { - deserializedPublicIpAddressListResult.nextLink = reader.getString(); + deserializedPublicIPAddressListResult.nextLink = reader.getString(); } else { reader.skipChildren(); } } - return deserializedPublicIpAddressListResult; + return deserializedPublicIPAddressListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java similarity index 53% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java index 1b767e436e31..e1e31dc72d5e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListPublicIpPrefixes API service call. + * The response of a PublicIPPrefix list operation. */ -@Fluent -public final class PublicIpPrefixListResult implements JsonSerializable { +@Immutable +public final class PublicIPPrefixListResult implements JsonSerializable { /* - * A list of public IP prefixes that exists in a resource group. + * The PublicIPPrefix items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** - * Creates an instance of PublicIpPrefixListResult class. + * Creates an instance of PublicIPPrefixListResult class. */ - public PublicIpPrefixListResult() { + private PublicIPPrefixListResult() { } /** - * Get the value property: A list of public IP prefixes that exists in a resource group. + * Get the value property: The PublicIPPrefix items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of public IP prefixes that exists in a resource group. - * - * @param value the value value to set. - * @return the PublicIpPrefixListResult object itself. - */ - public PublicIpPrefixListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the PublicIpPrefixListResult object itself. - */ - public PublicIpPrefixListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model PublicIPPrefixListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(PublicIPPrefixListResult.class); + /** * {@inheritDoc} */ @@ -97,16 +81,17 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of PublicIpPrefixListResult from the JsonReader. + * Reads an instance of PublicIPPrefixListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of PublicIpPrefixListResult if the JsonReader was pointing to an instance of it, or null if + * @return An instance of PublicIPPrefixListResult 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 PublicIpPrefixListResult. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the PublicIPPrefixListResult. */ - public static PublicIpPrefixListResult fromJson(JsonReader jsonReader) throws IOException { + public static PublicIPPrefixListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - PublicIpPrefixListResult deserializedPublicIpPrefixListResult = new PublicIpPrefixListResult(); + PublicIPPrefixListResult deserializedPublicIPPrefixListResult = new PublicIPPrefixListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -114,15 +99,15 @@ public static PublicIpPrefixListResult fromJson(JsonReader jsonReader) throws IO if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> PublicIpPrefixInner.fromJson(reader1)); - deserializedPublicIpPrefixListResult.value = value; + deserializedPublicIPPrefixListResult.value = value; } else if ("nextLink".equals(fieldName)) { - deserializedPublicIpPrefixListResult.nextLink = reader.getString(); + deserializedPublicIPPrefixListResult.nextLink = reader.getString(); } else { reader.skipChildren(); } } - return deserializedPublicIpPrefixListResult; + return deserializedPublicIPPrefixListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java index e47a8a20a607..0368635270d2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * A list of Reachability Analysis Intents. + * The response of a ReachabilityAnalysisIntent list operation. */ -@Fluent +@Immutable public final class ReachabilityAnalysisIntentListResult implements JsonSerializable { /* - * Gets a page of Reachability Analysis Intents + * The ReachabilityAnalysisIntent items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ReachabilityAnalysisIntentListResult class. */ - public ReachabilityAnalysisIntentListResult() { + private ReachabilityAnalysisIntentListResult() { } /** - * Get the value property: Gets a page of Reachability Analysis Intents. + * Get the value property: The ReachabilityAnalysisIntent items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: Gets a page of Reachability Analysis Intents. - * - * @param value the value value to set. - * @return the ReachabilityAnalysisIntentListResult object itself. - */ - public ReachabilityAnalysisIntentListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the ReachabilityAnalysisIntentListResult object itself. - */ - public ReachabilityAnalysisIntentListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ReachabilityAnalysisIntentListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ReachabilityAnalysisIntentListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ReachabilityAnalysisIntentListResult 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 ReachabilityAnalysisIntentListResult. */ public static ReachabilityAnalysisIntentListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java index 9775bb1637a1..95b5eead742f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * A list of Reachability Analysis Run. + * The response of a ReachabilityAnalysisRun list operation. */ -@Fluent +@Immutable public final class ReachabilityAnalysisRunListResult implements JsonSerializable { /* - * Gets a page of Reachability Analysis Runs. + * The ReachabilityAnalysisRun items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ReachabilityAnalysisRunListResult class. */ - public ReachabilityAnalysisRunListResult() { + private ReachabilityAnalysisRunListResult() { } /** - * Get the value property: Gets a page of Reachability Analysis Runs. + * Get the value property: The ReachabilityAnalysisRun items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of Reachability Analysis Runs. - * - * @param value the value value to set. - * @return the ReachabilityAnalysisRunListResult object itself. - */ - public ReachabilityAnalysisRunListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the ReachabilityAnalysisRunListResult object itself. - */ - public ReachabilityAnalysisRunListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ReachabilityAnalysisRunListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ReachabilityAnalysisRunListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ReachabilityAnalysisRunListResult 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 ReachabilityAnalysisRunListResult. */ public static ReachabilityAnalysisRunListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java index fd6504eba815..4339aa97a253 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListRouteFilters API service call. + * The response of a RouteFilter list operation. */ -@Fluent +@Immutable public final class RouteFilterListResult implements JsonSerializable { /* - * A list of route filters in a resource group. + * The RouteFilter items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of RouteFilterListResult class. */ - public RouteFilterListResult() { + private RouteFilterListResult() { } /** - * Get the value property: A list of route filters in a resource group. + * Get the value property: The RouteFilter items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of route filters in a resource group. - * - * @param value the value value to set. - * @return the RouteFilterListResult object itself. - */ - public RouteFilterListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the RouteFilterListResult object itself. - */ - public RouteFilterListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model RouteFilterListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(RouteFilterListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of RouteFilterListResult 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 RouteFilterListResult. */ public static RouteFilterListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java index d2f7c0e61b7a..7cf102ca45ea 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * Response for the ListRouteFilterRules API service call. */ -@Fluent +@Immutable public final class RouteFilterRuleListResult implements JsonSerializable { /* - * A list of RouteFilterRules in a resource group. + * The RouteFilterRule items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of RouteFilterRuleListResult class. */ - public RouteFilterRuleListResult() { + private RouteFilterRuleListResult() { } /** - * Get the value property: A list of RouteFilterRules in a resource group. + * Get the value property: The RouteFilterRule items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of RouteFilterRules in a resource group. - * - * @param value the value value to set. - * @return the RouteFilterRuleListResult object itself. - */ - public RouteFilterRuleListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the RouteFilterRuleListResult object itself. - */ - public RouteFilterRuleListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log( + new IllegalArgumentException("Missing required property value in model RouteFilterRuleListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(RouteFilterRuleListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of RouteFilterRuleListResult 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 RouteFilterRuleListResult. */ public static RouteFilterRuleListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java index 5bf43913817a..789d527b2c48 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListRoute API service call. + * The response of a Route list operation. */ -@Fluent +@Immutable public final class RouteListResult implements JsonSerializable { /* - * A list of routes in a resource group. + * The Route items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of RouteListResult class. */ - public RouteListResult() { + private RouteListResult() { } /** - * Get the value property: A list of routes in a resource group. + * Get the value property: The Route items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of routes in a resource group. - * - * @param value the value value to set. - * @return the RouteListResult object itself. - */ - public RouteListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the RouteListResult object itself. - */ - public RouteListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model RouteListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(RouteListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of RouteListResult 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 RouteListResult. */ public static RouteListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteTableListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteTableListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java index 28cf42a67917..30e660d5d67c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteTableListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListRouteTable API service call. + * The response of a RouteTable list operation. */ -@Fluent +@Immutable public final class RouteTableListResult implements JsonSerializable { /* - * A list of route tables in a resource group. + * The RouteTable items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of RouteTableListResult class. */ - public RouteTableListResult() { + private RouteTableListResult() { } /** - * Get the value property: A list of route tables in a resource group. + * Get the value property: The RouteTable items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of route tables in a resource group. - * - * @param value the value value to set. - * @return the RouteTableListResult object itself. - */ - public RouteTableListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the RouteTableListResult object itself. - */ - public RouteTableListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model RouteTableListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(RouteTableListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of RouteTableListResult 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 RouteTableListResult. */ public static RouteTableListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleCollectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleCollectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java index 2ca158fddf77..4fbb73ca5801 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleCollectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Routing configuration rule collection list result. + * The response of a RoutingRuleCollection list operation. */ -@Fluent +@Immutable public final class RoutingRuleCollectionListResult implements JsonSerializable { /* - * A list of network manager routing configuration rule collections + * The RoutingRuleCollection items on this page */ private List value; /* - * Gets the URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of RoutingRuleCollectionListResult class. */ - public RoutingRuleCollectionListResult() { + private RoutingRuleCollectionListResult() { } /** - * Get the value property: A list of network manager routing configuration rule collections. + * Get the value property: The RoutingRuleCollection items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of network manager routing configuration rule collections. - * - * @param value the value value to set. - * @return the RoutingRuleCollectionListResult object itself. - */ - public RoutingRuleCollectionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the RoutingRuleCollectionListResult object itself. - */ - public RoutingRuleCollectionListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model RoutingRuleCollectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(RoutingRuleCollectionListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of RoutingRuleCollectionListResult 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 RoutingRuleCollectionListResult. */ public static RoutingRuleCollectionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java index 4383ef61f3cb..e2b556b1552d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Routing configuration rule list result. + * The response of a RoutingRule list operation. */ -@Fluent +@Immutable public final class RoutingRuleListResult implements JsonSerializable { /* - * A list of routing rules. + * The RoutingRule items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of RoutingRuleListResult class. */ - public RoutingRuleListResult() { + private RoutingRuleListResult() { } /** - * Get the value property: A list of routing rules. + * Get the value property: The RoutingRule items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of routing rules. - * - * @param value the value value to set. - * @return the RoutingRuleListResult object itself. - */ - public RoutingRuleListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the RoutingRuleListResult object itself. - */ - public RoutingRuleListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model RoutingRuleListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(RoutingRuleListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of RoutingRuleListResult 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 RoutingRuleListResult. */ public static RoutingRuleListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java index 3c3d5d304531..d91058d1517c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * List of scope connections. + * The response of a ScopeConnection list operation. */ -@Fluent +@Immutable public final class ScopeConnectionListResult implements JsonSerializable { /* - * List of scope connections. + * The ScopeConnection items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ScopeConnectionListResult class. */ - public ScopeConnectionListResult() { + private ScopeConnectionListResult() { } /** - * Get the value property: List of scope connections. + * Get the value property: The ScopeConnection items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of scope connections. - * - * @param value the value value to set. - * @return the ScopeConnectionListResult object itself. - */ - public ScopeConnectionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the ScopeConnectionListResult object itself. - */ - public ScopeConnectionListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log( + new IllegalArgumentException("Missing required property value in model ScopeConnectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ScopeConnectionListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ScopeConnectionListResult 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 ScopeConnectionListResult. */ public static ScopeConnectionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityAdminConfigurationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityAdminConfigurationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java index cee737b56468..ef7d1b6f386c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityAdminConfigurationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * A list of network manager security admin configurations. + * The response of a SecurityAdminConfiguration list operation. */ -@Fluent +@Immutable public final class SecurityAdminConfigurationListResult implements JsonSerializable { /* - * Gets a page of security admin configurations + * The SecurityAdminConfiguration items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of SecurityAdminConfigurationListResult class. */ - public SecurityAdminConfigurationListResult() { + private SecurityAdminConfigurationListResult() { } /** - * Get the value property: Gets a page of security admin configurations. + * Get the value property: The SecurityAdminConfiguration items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: Gets a page of security admin configurations. - * - * @param value the value value to set. - * @return the SecurityAdminConfigurationListResult object itself. - */ - public SecurityAdminConfigurationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the SecurityAdminConfigurationListResult object itself. - */ - public SecurityAdminConfigurationListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model SecurityAdminConfigurationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(SecurityAdminConfigurationListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of SecurityAdminConfigurationListResult 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 SecurityAdminConfigurationListResult. */ public static SecurityAdminConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java index 6a55651c67ff..f2fe3ddfc377 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListSecurityPartnerProviders API service call. + * The response of a SecurityPartnerProvider list operation. */ -@Fluent +@Immutable public final class SecurityPartnerProviderListResult implements JsonSerializable { /* - * List of Security Partner Providers in a resource group. + * The SecurityPartnerProvider items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of SecurityPartnerProviderListResult class. */ - public SecurityPartnerProviderListResult() { + private SecurityPartnerProviderListResult() { } /** - * Get the value property: List of Security Partner Providers in a resource group. + * Get the value property: The SecurityPartnerProvider items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Security Partner Providers in a resource group. - * - * @param value the value value to set. - * @return the SecurityPartnerProviderListResult object itself. - */ - public SecurityPartnerProviderListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the SecurityPartnerProviderListResult object itself. - */ - public SecurityPartnerProviderListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model SecurityPartnerProviderListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(SecurityPartnerProviderListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of SecurityPartnerProviderListResult 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 SecurityPartnerProviderListResult. */ public static SecurityPartnerProviderListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java index 09893b049843..35502b280bc4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security - * group. + * The response of a SecurityRule list operation. */ -@Fluent +@Immutable public final class SecurityRuleListResult implements JsonSerializable { /* - * The security rules in a network security group. + * The SecurityRule items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of SecurityRuleListResult class. */ - public SecurityRuleListResult() { + private SecurityRuleListResult() { } /** - * Get the value property: The security rules in a network security group. + * Get the value property: The SecurityRule items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: The security rules in a network security group. - * - * @param value the value value to set. - * @return the SecurityRuleListResult object itself. - */ - public SecurityRuleListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the SecurityRuleListResult object itself. - */ - public SecurityRuleListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model SecurityRuleListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(SecurityRuleListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of SecurityRuleListResult 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 SecurityRuleListResult. */ public static SecurityRuleListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserConfigurationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserConfigurationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java index 98918343f5eb..099418ab3094 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserConfigurationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * A list of network manager security user configurations. + * The response of a SecurityUserConfiguration list operation. */ -@Fluent +@Immutable public final class SecurityUserConfigurationListResult implements JsonSerializable { /* - * Gets a page of security user configurations + * The SecurityUserConfiguration items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of SecurityUserConfigurationListResult class. */ - public SecurityUserConfigurationListResult() { + private SecurityUserConfigurationListResult() { } /** - * Get the value property: Gets a page of security user configurations. + * Get the value property: The SecurityUserConfiguration items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: Gets a page of security user configurations. - * - * @param value the value value to set. - * @return the SecurityUserConfigurationListResult object itself. - */ - public SecurityUserConfigurationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the SecurityUserConfigurationListResult object itself. - */ - public SecurityUserConfigurationListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model SecurityUserConfigurationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(SecurityUserConfigurationListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of SecurityUserConfigurationListResult 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 SecurityUserConfigurationListResult. */ public static SecurityUserConfigurationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserRuleCollectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserRuleCollectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java index 2498ed4c25ab..b813b56667ab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserRuleCollectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Security user configuration rule collection list result. + * The response of a SecurityUserRuleCollection list operation. */ -@Fluent +@Immutable public final class SecurityUserRuleCollectionListResult implements JsonSerializable { /* - * A list of network manager security user configuration rule collections + * The SecurityUserRuleCollection items on this page */ private List value; /* - * Gets the URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of SecurityUserRuleCollectionListResult class. */ - public SecurityUserRuleCollectionListResult() { + private SecurityUserRuleCollectionListResult() { } /** - * Get the value property: A list of network manager security user configuration rule collections. + * Get the value property: The SecurityUserRuleCollection items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of network manager security user configuration rule collections. - * - * @param value the value value to set. - * @return the SecurityUserRuleCollectionListResult object itself. - */ - public SecurityUserRuleCollectionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the SecurityUserRuleCollectionListResult object itself. - */ - public SecurityUserRuleCollectionListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model SecurityUserRuleCollectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(SecurityUserRuleCollectionListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of SecurityUserRuleCollectionListResult 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 SecurityUserRuleCollectionListResult. */ public static SecurityUserRuleCollectionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserRuleListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserRuleListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java index cd4553ab34f9..f658740fd640 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserRuleListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * security user rule list result. + * The response of a SecurityUserRule list operation. */ -@Fluent +@Immutable public final class SecurityUserRuleListResult implements JsonSerializable { /* - * A list of security user rules + * The SecurityUserRule items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of SecurityUserRuleListResult class. */ - public SecurityUserRuleListResult() { + private SecurityUserRuleListResult() { } /** - * Get the value property: A list of security user rules. + * Get the value property: The SecurityUserRule items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of security user rules. - * - * @param value the value value to set. - * @return the SecurityUserRuleListResult object itself. - */ - public SecurityUserRuleListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the SecurityUserRuleListResult object itself. - */ - public SecurityUserRuleListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model SecurityUserRuleListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(SecurityUserRuleListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of SecurityUserRuleListResult 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 SecurityUserRuleListResult. */ public static SecurityUserRuleListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPolicyDefinitionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java similarity index 68% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPolicyDefinitionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java index 516d337debde..0e4965028600 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPolicyDefinitionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,30 +15,29 @@ import java.util.List; /** - * Response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition - * that belongs to a service endpoint policy. + * The response of a ServiceEndpointPolicyDefinition list operation. */ -@Fluent +@Immutable public final class ServiceEndpointPolicyDefinitionListResult implements JsonSerializable { /* - * The service endpoint policy definition in a service endpoint policy. + * The ServiceEndpointPolicyDefinition items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ServiceEndpointPolicyDefinitionListResult class. */ - public ServiceEndpointPolicyDefinitionListResult() { + private ServiceEndpointPolicyDefinitionListResult() { } /** - * Get the value property: The service endpoint policy definition in a service endpoint policy. + * Get the value property: The ServiceEndpointPolicyDefinition items on this page. * * @return the value value. */ @@ -46,18 +46,7 @@ public List value() { } /** - * Set the value property: The service endpoint policy definition in a service endpoint policy. - * - * @param value the value value to set. - * @return the ServiceEndpointPolicyDefinitionListResult object itself. - */ - public ServiceEndpointPolicyDefinitionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -65,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the ServiceEndpointPolicyDefinitionListResult object itself. - */ - public ServiceEndpointPolicyDefinitionListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ServiceEndpointPolicyDefinitionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ServiceEndpointPolicyDefinitionListResult.class); + /** * {@inheritDoc} */ @@ -104,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ServiceEndpointPolicyDefinitionListResult 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 ServiceEndpointPolicyDefinitionListResult. */ public static ServiceEndpointPolicyDefinitionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPolicyListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPolicyListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java index c64267bfa4cc..96a648ac955b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPolicyListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListServiceEndpointPolicies API service call. + * The response of a ServiceEndpointPolicy list operation. */ -@Fluent +@Immutable public final class ServiceEndpointPolicyListResult implements JsonSerializable { /* - * A list of ServiceEndpointPolicy resources. + * The ServiceEndpointPolicy items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ServiceEndpointPolicyListResult class. */ - public ServiceEndpointPolicyListResult() { + private ServiceEndpointPolicyListResult() { } /** - * Get the value property: A list of ServiceEndpointPolicy resources. + * Get the value property: The ServiceEndpointPolicy items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of ServiceEndpointPolicy resources. - * - * @param value the value value to set. - * @return the ServiceEndpointPolicyListResult object itself. - */ - public ServiceEndpointPolicyListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ServiceEndpointPolicyListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ServiceEndpointPolicyListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ServiceEndpointPolicyListResult 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 ServiceEndpointPolicyListResult. */ public static ServiceEndpointPolicyListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java index 2a9b606014f9..5364777d8fbe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListServiceGateways API service call. + * The response of a ServiceGateway list operation. */ -@Fluent +@Immutable public final class ServiceGatewayListResult implements JsonSerializable { /* - * A list of service gateway in a resource group. + * The ServiceGateway items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ServiceGatewayListResult class. */ - public ServiceGatewayListResult() { + private ServiceGatewayListResult() { } /** - * Get the value property: A list of service gateway in a resource group. + * Get the value property: The ServiceGateway items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of service gateway in a resource group. - * - * @param value the value value to set. - * @return the ServiceGatewayListResult object itself. - */ - public ServiceGatewayListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,16 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model ServiceGatewayListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ServiceGatewayListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +76,7 @@ public void validate() { 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(); } @@ -90,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ServiceGatewayListResult 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 ServiceGatewayListResult. */ public static ServiceGatewayListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java similarity index 75% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java index a2b940c0c69d..2d1a987797e2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * Response for Get ServiceTagInformation API service call. Retrieves the list of service tag information resources. */ -@Fluent +@Immutable public final class ServiceTagInformationListResult implements JsonSerializable { /* - * The list of service tag information resources. + * The ServiceTagInformation items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of ServiceTagInformationListResult class. */ - public ServiceTagInformationListResult() { + private ServiceTagInformationListResult() { } /** - * Get the value property: The list of service tag information resources. + * Get the value property: The ServiceTagInformation items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: The list of service tag information resources. - * - * @param value the value value to set. - * @return the ServiceTagInformationListResult object itself. - */ - public ServiceTagInformationListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model ServiceTagInformationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(ServiceTagInformationListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ServiceTagInformationListResult 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 ServiceTagInformationListResult. */ public static ServiceTagInformationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SignaturesOverridesList.java similarity index 59% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SignaturesOverridesList.java index e160f6970230..d96384eff743 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SignaturesOverridesList.java @@ -1,31 +1,32 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.fluent.models.SignaturesOverridesInner; import java.io.IOException; import java.util.List; /** * Describes an object containing an array with a single item. */ -@Fluent -public final class SignaturesOverridesListInner implements JsonSerializable { +@Immutable +public final class SignaturesOverridesList implements JsonSerializable { /* * Describes a list consisting exactly one item describing the policy's signature override status */ private List value; /** - * Creates an instance of SignaturesOverridesListInner class. + * Creates an instance of SignaturesOverridesList class. */ - public SignaturesOverridesListInner() { + private SignaturesOverridesList() { } /** @@ -38,18 +39,6 @@ public List value() { return this.value; } - /** - * Set the value property: Describes a list consisting exactly one item describing the policy's signature override - * status. - * - * @param value the value value to set. - * @return the SignaturesOverridesListInner object itself. - */ - public SignaturesOverridesListInner withValue(List value) { - this.value = value; - return this; - } - /** * Validates the instance. * @@ -72,16 +61,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of SignaturesOverridesListInner from the JsonReader. + * Reads an instance of SignaturesOverridesList from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of SignaturesOverridesListInner 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 SignaturesOverridesListInner. + * @return An instance of SignaturesOverridesList 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 SignaturesOverridesList. */ - public static SignaturesOverridesListInner fromJson(JsonReader jsonReader) throws IOException { + public static SignaturesOverridesList fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - SignaturesOverridesListInner deserializedSignaturesOverridesListInner = new SignaturesOverridesListInner(); + SignaturesOverridesList deserializedSignaturesOverridesList = new SignaturesOverridesList(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -89,13 +78,13 @@ public static SignaturesOverridesListInner fromJson(JsonReader jsonReader) throw if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> SignaturesOverridesInner.fromJson(reader1)); - deserializedSignaturesOverridesListInner.value = value; + deserializedSignaturesOverridesList.value = value; } else { reader.skipChildren(); } } - return deserializedSignaturesOverridesListInner; + return deserializedSignaturesOverridesList; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java index acc1099c4cf7..8a8dab8e05da 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * List of StaticCidr. */ -@Fluent +@Immutable public final class StaticCidrList implements JsonSerializable { /* - * The value property. + * The StaticCidr items on this page */ private List value; /* - * The link used to get the next page of operations. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of StaticCidrList class. */ - public StaticCidrList() { + private StaticCidrList() { } /** - * Get the value property: The value property. + * Get the value property: The StaticCidr items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: The value property. - * - * @param value the value value to set. - * @return the StaticCidrList object itself. - */ - public StaticCidrList withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The link used to get the next page of operations. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link used to get the next page of operations. - * - * @param nextLink the nextLink value to set. - * @return the StaticCidrList object itself. - */ - public StaticCidrList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model StaticCidrList")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(StaticCidrList.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of StaticCidrList 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 StaticCidrList. */ public static StaticCidrList fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticMemberListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticMemberListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java index c2dbc2b7f4d9..96c67e4668aa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticMemberListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,28 @@ import java.util.List; /** - * Result of the request to list StaticMember. It contains a list of groups and a URL link to get the next set of - * results. + * The response of a StaticMember list operation. */ -@Fluent +@Immutable public final class StaticMemberListResult implements JsonSerializable { /* - * Gets a page of StaticMember + * The StaticMember items on this page */ private List value; /* - * Gets the URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of StaticMemberListResult class. */ - public StaticMemberListResult() { + private StaticMemberListResult() { } /** - * Get the value property: Gets a page of StaticMember. + * Get the value property: The StaticMember items on this page. * * @return the value value. */ @@ -45,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of StaticMember. - * - * @param value the value value to set. - * @return the StaticMemberListResult object itself. - */ - public StaticMemberListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the StaticMemberListResult object itself. - */ - public StaticMemberListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model StaticMemberListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(StaticMemberListResult.class); + /** * {@inheritDoc} */ @@ -103,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of StaticMemberListResult 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 StaticMemberListResult. */ public static StaticMemberListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubnetListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubnetListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java index 69ce2489254e..e541529a1547 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubnetListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network. + * The response of a Subnet list operation. */ -@Fluent +@Immutable public final class SubnetListResult implements JsonSerializable { /* - * The subnets in a virtual network. + * The Subnet items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of SubnetListResult class. */ - public SubnetListResult() { + private SubnetListResult() { } /** - * Get the value property: The subnets in a virtual network. + * Get the value property: The Subnet items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: The subnets in a virtual network. - * - * @param value the value value to set. - * @return the SubnetListResult object itself. - */ - public SubnetListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the SubnetListResult object itself. - */ - public SubnetListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model SubnetListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(SubnetListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of SubnetListResult 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 SubnetListResult. */ public static SubnetListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SwapResourceListResult.java similarity index 59% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SwapResourceListResult.java index 2961944708ad..386d23fcb1c7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SwapResourceListResult.java @@ -1,31 +1,32 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.fluent.models.SwapResourceInner; import java.io.IOException; import java.util.List; /** * SwapResource List with single entry to represent slot type on the specified cloud service. */ -@Fluent -public final class SwapResourceListResultInner implements JsonSerializable { +@Immutable +public final class SwapResourceListResult implements JsonSerializable { /* * The value property. */ private List value; /** - * Creates an instance of SwapResourceListResultInner class. + * Creates an instance of SwapResourceListResult class. */ - public SwapResourceListResultInner() { + private SwapResourceListResult() { } /** @@ -37,17 +38,6 @@ public List value() { return this.value; } - /** - * Set the value property: The value property. - * - * @param value the value value to set. - * @return the SwapResourceListResultInner object itself. - */ - public SwapResourceListResultInner withValue(List value) { - this.value = value; - return this; - } - /** * Validates the instance. * @@ -70,29 +60,29 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of SwapResourceListResultInner from the JsonReader. + * Reads an instance of SwapResourceListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of SwapResourceListResultInner 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 SwapResourceListResultInner. + * @return An instance of SwapResourceListResult 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 SwapResourceListResult. */ - public static SwapResourceListResultInner fromJson(JsonReader jsonReader) throws IOException { + public static SwapResourceListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - SwapResourceListResultInner deserializedSwapResourceListResultInner = new SwapResourceListResultInner(); + SwapResourceListResult deserializedSwapResourceListResult = new SwapResourceListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> SwapResourceInner.fromJson(reader1)); - deserializedSwapResourceListResultInner.value = value; + deserializedSwapResourceListResult.value = value; } else { reader.skipChildren(); } } - return deserializedSwapResourceListResultInner; + return deserializedSwapResourceListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsagesListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsagesListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java index bce0385eeed9..9daa45c68f73 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsagesListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +17,26 @@ /** * The list usages operation response. */ -@Fluent +@Immutable public final class UsagesListResult implements JsonSerializable { /* - * The list network resource usages. + * The Usage items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of UsagesListResult class. */ - public UsagesListResult() { + private UsagesListResult() { } /** - * Get the value property: The list network resource usages. + * Get the value property: The Usage items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: The list network resource usages. - * - * @param value the value value to set. - * @return the UsagesListResult object itself. - */ - public UsagesListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the UsagesListResult object itself. - */ - public UsagesListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model UsagesListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(UsagesListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of UsagesListResult 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 UsagesListResult. */ public static UsagesListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java index 48cd2c4a1c81..a5480e701510 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * A list of Verifier Workspace. + * The response of a VerifierWorkspace list operation. */ -@Fluent +@Immutable public final class VerifierWorkspaceListResult implements JsonSerializable { /* - * Gets a page of Verifier Workspaces. + * The VerifierWorkspace items on this page */ private List value; /* - * Gets the URL to get the next page of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VerifierWorkspaceListResult class. */ - public VerifierWorkspaceListResult() { + private VerifierWorkspaceListResult() { } /** - * Get the value property: Gets a page of Verifier Workspaces. + * Get the value property: The VerifierWorkspace items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: Gets a page of Verifier Workspaces. - * - * @param value the value value to set. - * @return the VerifierWorkspaceListResult object itself. - */ - public VerifierWorkspaceListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: Gets the URL to get the next page of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: Gets the URL to get the next page of results. - * - * @param nextLink the nextLink value to set. - * @return the VerifierWorkspaceListResult object itself. - */ - public VerifierWorkspaceListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model VerifierWorkspaceListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VerifierWorkspaceListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VerifierWorkspaceListResult 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 VerifierWorkspaceListResult. */ public static VerifierWorkspaceListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualHubEffectiveRouteList.java similarity index 52% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualHubEffectiveRouteList.java index 9bbbda0c2349..c5a4827f49fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualHubEffectiveRouteList.java @@ -1,54 +1,43 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.models.BgpPeerStatus; +import com.azure.resourcemanager.network.fluent.models.VirtualHubEffectiveRouteInner; import java.io.IOException; import java.util.List; /** - * Response for list BGP peer status API service call. + * EffectiveRoutes List. */ -@Fluent -public final class BgpPeerStatusListResultInner implements JsonSerializable { +@Immutable +public final class VirtualHubEffectiveRouteList implements JsonSerializable { /* - * List of BGP peers. + * The list of effective routes configured on the virtual hub or the specified resource. */ - private List value; + private List value; /** - * Creates an instance of BgpPeerStatusListResultInner class. + * Creates an instance of VirtualHubEffectiveRouteList class. */ - public BgpPeerStatusListResultInner() { + private VirtualHubEffectiveRouteList() { } /** - * Get the value property: List of BGP peers. + * Get the value property: The list of effective routes configured on the virtual hub or the specified resource. * * @return the value value. */ - public List value() { + public List value() { return this.value; } - /** - * Set the value property: List of BGP peers. - * - * @param value the value value to set. - * @return the BgpPeerStatusListResultInner object itself. - */ - public BgpPeerStatusListResultInner withValue(List value) { - this.value = value; - return this; - } - /** * Validates the instance. * @@ -71,29 +60,30 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of BgpPeerStatusListResultInner from the JsonReader. + * Reads an instance of VirtualHubEffectiveRouteList from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of BgpPeerStatusListResultInner if the JsonReader was pointing to an instance of it, or null + * @return An instance of VirtualHubEffectiveRouteList 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 BgpPeerStatusListResultInner. + * @throws IOException If an error occurs while reading the VirtualHubEffectiveRouteList. */ - public static BgpPeerStatusListResultInner fromJson(JsonReader jsonReader) throws IOException { + public static VirtualHubEffectiveRouteList fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BgpPeerStatusListResultInner deserializedBgpPeerStatusListResultInner = new BgpPeerStatusListResultInner(); + VirtualHubEffectiveRouteList deserializedVirtualHubEffectiveRouteList = new VirtualHubEffectiveRouteList(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value = reader.readArray(reader1 -> BgpPeerStatus.fromJson(reader1)); - deserializedBgpPeerStatusListResultInner.value = value; + List value + = reader.readArray(reader1 -> VirtualHubEffectiveRouteInner.fromJson(reader1)); + deserializedVirtualHubEffectiveRouteList.value = value; } else { reader.skipChildren(); } } - return deserializedBgpPeerStatusListResultInner; + return deserializedVirtualHubEffectiveRouteList; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java index c012fabfdd66..3f7170e062e2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListVirtualNetworkAppliance API service call. + * The response of a VirtualNetworkAppliance list operation. */ -@Fluent +@Immutable public final class VirtualNetworkApplianceListResult implements JsonSerializable { /* - * A list of virtual network appliances in a resource group. + * The VirtualNetworkAppliance items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualNetworkApplianceListResult class. */ - public VirtualNetworkApplianceListResult() { + private VirtualNetworkApplianceListResult() { } /** - * Get the value property: A list of virtual network appliances in a resource group. + * Get the value property: The VirtualNetworkAppliance items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of virtual network appliances in a resource group. - * - * @param value the value value to set. - * @return the VirtualNetworkApplianceListResult object itself. - */ - public VirtualNetworkApplianceListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model VirtualNetworkApplianceListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualNetworkApplianceListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualNetworkApplianceListResult 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 VirtualNetworkApplianceListResult. */ public static VirtualNetworkApplianceListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkDdosProtectionStatusResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkDdosProtectionStatusResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java index 3325eedfd698..94d6835734a9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkDdosProtectionStatusResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for GetVirtualNetworkDdosProtectionStatusOperation. */ -@Fluent +@Immutable public final class VirtualNetworkDdosProtectionStatusResult implements JsonSerializable { /* - * The Ddos Protection Status Result for each public ip under a virtual network. + * The PublicIpDdosProtectionStatusResult items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualNetworkDdosProtectionStatusResult class. */ - public VirtualNetworkDdosProtectionStatusResult() { + private VirtualNetworkDdosProtectionStatusResult() { } /** - * Get the value property: The Ddos Protection Status Result for each public ip under a virtual network. + * Get the value property: The PublicIpDdosProtectionStatusResult items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: The Ddos Protection Status Result for each public ip under a virtual network. - * - * @param value the value value to set. - * @return the VirtualNetworkDdosProtectionStatusResult object itself. - */ - public VirtualNetworkDdosProtectionStatusResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -64,28 +54,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the VirtualNetworkDdosProtectionStatusResult object itself. - */ - public VirtualNetworkDdosProtectionStatusResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model VirtualNetworkDdosProtectionStatusResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualNetworkDdosProtectionStatusResult.class); + /** * {@inheritDoc} */ @@ -103,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualNetworkDdosProtectionStatusResult 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 VirtualNetworkDdosProtectionStatusResult. */ public static VirtualNetworkDdosProtectionStatusResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java index c4de17528b59..ebb71c65f3d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,29 +15,29 @@ import java.util.List; /** - * Response for the ListVirtualNetworkGatewayConnections API service call. + * The response of a VirtualNetworkGatewayConnection list operation. */ -@Fluent +@Immutable public final class VirtualNetworkGatewayConnectionListResult implements JsonSerializable { /* - * A list of VirtualNetworkGatewayConnection resources that exists in a resource group. + * The VirtualNetworkGatewayConnection items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualNetworkGatewayConnectionListResult class. */ - public VirtualNetworkGatewayConnectionListResult() { + private VirtualNetworkGatewayConnectionListResult() { } /** - * Get the value property: A list of VirtualNetworkGatewayConnection resources that exists in a resource group. + * Get the value property: The VirtualNetworkGatewayConnection items on this page. * * @return the value value. */ @@ -45,18 +46,7 @@ public List value() { } /** - * Set the value property: A list of VirtualNetworkGatewayConnection resources that exists in a resource group. - * - * @param value the value value to set. - * @return the VirtualNetworkGatewayConnectionListResult object itself. - */ - public VirtualNetworkGatewayConnectionListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -70,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model VirtualNetworkGatewayConnectionListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualNetworkGatewayConnectionListResult.class); + /** * {@inheritDoc} */ @@ -82,6 +78,7 @@ public void validate() { 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(); } @@ -91,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualNetworkGatewayConnectionListResult 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 VirtualNetworkGatewayConnectionListResult. */ public static VirtualNetworkGatewayConnectionListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayListConnectionsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java similarity index 75% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayListConnectionsResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java index daa0fffee636..ab32e162960b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayListConnectionsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,27 +17,27 @@ /** * Response for the VirtualNetworkGatewayListConnections API service call. */ -@Fluent +@Immutable public final class VirtualNetworkGatewayListConnectionsResult implements JsonSerializable { /* - * A list of VirtualNetworkGatewayConnection resources that exists in a resource group. + * The VirtualNetworkGatewayConnectionListEntity items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualNetworkGatewayListConnectionsResult class. */ - public VirtualNetworkGatewayListConnectionsResult() { + private VirtualNetworkGatewayListConnectionsResult() { } /** - * Get the value property: A list of VirtualNetworkGatewayConnection resources that exists in a resource group. + * Get the value property: The VirtualNetworkGatewayConnectionListEntity items on this page. * * @return the value value. */ @@ -45,19 +46,7 @@ public List value() { } /** - * Set the value property: A list of VirtualNetworkGatewayConnection resources that exists in a resource group. - * - * @param value the value value to set. - * @return the VirtualNetworkGatewayListConnectionsResult object itself. - */ - public VirtualNetworkGatewayListConnectionsResult - withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -71,11 +60,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model VirtualNetworkGatewayListConnectionsResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualNetworkGatewayListConnectionsResult.class); + /** * {@inheritDoc} */ @@ -83,6 +78,7 @@ public void validate() { 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(); } @@ -92,6 +88,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualNetworkGatewayListConnectionsResult 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 VirtualNetworkGatewayListConnectionsResult. */ public static VirtualNetworkGatewayListConnectionsResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java index 90c17a40d84a..64d992aa704a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListVirtualNetworkGateways API service call. + * The response of a VirtualNetworkGateway list operation. */ -@Fluent +@Immutable public final class VirtualNetworkGatewayListResult implements JsonSerializable { /* - * A list of VirtualNetworkGateway resources that exists in a resource group. + * The VirtualNetworkGateway items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualNetworkGatewayListResult class. */ - public VirtualNetworkGatewayListResult() { + private VirtualNetworkGatewayListResult() { } /** - * Get the value property: A list of VirtualNetworkGateway resources that exists in a resource group. + * Get the value property: The VirtualNetworkGateway items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of VirtualNetworkGateway resources that exists in a resource group. - * - * @param value the value value to set. - * @return the VirtualNetworkGatewayListResult object itself. - */ - public VirtualNetworkGatewayListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -69,11 +59,17 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model VirtualNetworkGatewayListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualNetworkGatewayListResult.class); + /** * {@inheritDoc} */ @@ -81,6 +77,7 @@ public void validate() { 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(); } @@ -90,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualNetworkGatewayListResult 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 VirtualNetworkGatewayListResult. */ public static VirtualNetworkGatewayListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java index 361939ff2af7..c35bdee5afdd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for the ListVirtualNetworks API service call. + * The response of a VirtualNetwork list operation. */ -@Fluent +@Immutable public final class VirtualNetworkListResult implements JsonSerializable { /* - * A list of VirtualNetwork resources in a resource group. + * The VirtualNetwork items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualNetworkListResult class. */ - public VirtualNetworkListResult() { + private VirtualNetworkListResult() { } /** - * Get the value property: A list of VirtualNetwork resources in a resource group. + * Get the value property: The VirtualNetwork items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of VirtualNetwork resources in a resource group. - * - * @param value the value value to set. - * @return the VirtualNetworkListResult object itself. - */ - public VirtualNetworkListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the VirtualNetworkListResult object itself. - */ - public VirtualNetworkListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model VirtualNetworkListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualNetworkListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualNetworkListResult 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 VirtualNetworkListResult. */ public static VirtualNetworkListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkListUsageResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java similarity index 79% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkListUsageResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java index 0bf62f372e96..18f477ff7a4c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkListUsageResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,26 +16,26 @@ /** * Response for the virtual networks GetUsage API service call. */ -@Fluent +@Immutable public final class VirtualNetworkListUsageResult implements JsonSerializable { /* - * VirtualNetwork usage stats. + * The VirtualNetworkUsage items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualNetworkListUsageResult class. */ - public VirtualNetworkListUsageResult() { + private VirtualNetworkListUsageResult() { } /** - * Get the value property: VirtualNetwork usage stats. + * Get the value property: The VirtualNetworkUsage items on this page. * * @return the value value. */ @@ -44,7 +44,7 @@ public List value() { } /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -52,17 +52,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the VirtualNetworkListUsageResult object itself. - */ - public VirtualNetworkListUsageResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * @@ -90,6 +79,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualNetworkListUsageResult 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 VirtualNetworkListUsageResult. */ public static VirtualNetworkListUsageResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java index bd5b44fdf0c3..e08263dbb2dc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network. + * The response of a VirtualNetworkPeering list operation. */ -@Fluent +@Immutable public final class VirtualNetworkPeeringListResult implements JsonSerializable { /* - * The peerings in a virtual network. + * The VirtualNetworkPeering items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualNetworkPeeringListResult class. */ - public VirtualNetworkPeeringListResult() { + private VirtualNetworkPeeringListResult() { } /** - * Get the value property: The peerings in a virtual network. + * Get the value property: The VirtualNetworkPeering items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: The peerings in a virtual network. - * - * @param value the value value to set. - * @return the VirtualNetworkPeeringListResult object itself. - */ - public VirtualNetworkPeeringListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the VirtualNetworkPeeringListResult object itself. - */ - public VirtualNetworkPeeringListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model VirtualNetworkPeeringListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualNetworkPeeringListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualNetworkPeeringListResult 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 VirtualNetworkPeeringListResult. */ public static VirtualNetworkPeeringListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkTapListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkTapListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java index 1721dbde3313..778403799a7e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkTapListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListVirtualNetworkTap API service call. + * The response of a VirtualNetworkTap list operation. */ -@Fluent +@Immutable public final class VirtualNetworkTapListResult implements JsonSerializable { /* - * A list of VirtualNetworkTaps in a resource group. + * The VirtualNetworkTap items on this page */ private List value; /* - * The URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualNetworkTapListResult class. */ - public VirtualNetworkTapListResult() { + private VirtualNetworkTapListResult() { } /** - * Get the value property: A list of VirtualNetworkTaps in a resource group. + * Get the value property: The VirtualNetworkTap items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: A list of VirtualNetworkTaps in a resource group. - * - * @param value the value value to set. - * @return the VirtualNetworkTapListResult object itself. - */ - public VirtualNetworkTapListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: The URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the VirtualNetworkTapListResult object itself. - */ - public VirtualNetworkTapListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model VirtualNetworkTapListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualNetworkTapListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualNetworkTapListResult 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 VirtualNetworkTapListResult. */ public static VirtualNetworkTapListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualRouterListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java similarity index 71% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualRouterListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java index 3dd11d442f83..6fa0a2fa84b7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualRouterListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListVirtualRouters API service call. + * The response of a VirtualRouter list operation. */ -@Fluent +@Immutable public final class VirtualRouterListResult implements JsonSerializable { /* - * List of Virtual Routers. + * The VirtualRouter items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualRouterListResult class. */ - public VirtualRouterListResult() { + private VirtualRouterListResult() { } /** - * Get the value property: List of Virtual Routers. + * Get the value property: The VirtualRouter items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of Virtual Routers. - * - * @param value the value value to set. - * @return the VirtualRouterListResult object itself. - */ - public VirtualRouterListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,22 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the VirtualRouterListResult object itself. - */ - public VirtualRouterListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model VirtualRouterListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualRouterListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +86,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualRouterListResult 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 VirtualRouterListResult. */ public static VirtualRouterListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualRouterPeeringListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualRouterPeeringListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java index 089a8e6f9deb..280ad82c147f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualRouterPeeringListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,28 +15,28 @@ import java.util.List; /** - * Response for ListVirtualRouterPeerings API service call. + * The response of a VirtualRouterPeering list operation. */ -@Fluent +@Immutable public final class VirtualRouterPeeringListResult implements JsonSerializable { /* - * List of VirtualRouterPeerings in a VirtualRouter. + * The VirtualRouterPeering items on this page */ private List value; /* - * URL to get the next set of results. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of VirtualRouterPeeringListResult class. */ - public VirtualRouterPeeringListResult() { + private VirtualRouterPeeringListResult() { } /** - * Get the value property: List of VirtualRouterPeerings in a VirtualRouter. + * Get the value property: The VirtualRouterPeering items on this page. * * @return the value value. */ @@ -44,18 +45,7 @@ public List value() { } /** - * Set the value property: List of VirtualRouterPeerings in a VirtualRouter. - * - * @param value the value value to set. - * @return the VirtualRouterPeeringListResult object itself. - */ - public VirtualRouterPeeringListResult withValue(List value) { - this.value = value; - return this; - } - - /** - * Get the nextLink property: URL to get the next set of results. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -63,28 +53,23 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: URL to get the next set of results. - * - * @param nextLink the nextLink value to set. - * @return the VirtualRouterPeeringListResult object itself. - */ - public VirtualRouterPeeringListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property value in model VirtualRouterPeeringListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(VirtualRouterPeeringListResult.class); + /** * {@inheritDoc} */ @@ -102,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VirtualRouterPeeringListResult 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 VirtualRouterPeeringListResult. */ public static VirtualRouterPeeringListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VpnClientConnectionHealthDetailListResult.java similarity index 57% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VpnClientConnectionHealthDetailListResult.java index 800759b84d76..7f739b5d95c7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VpnClientConnectionHealthDetailListResult.java @@ -1,33 +1,33 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.implementation.models; -import com.azure.core.annotation.Fluent; +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.network.models.VpnClientConnectionHealthDetail; +import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailInner; import java.io.IOException; import java.util.List; /** * List of virtual network gateway vpn client connection health. */ -@Fluent -public final class VpnClientConnectionHealthDetailListResultInner - implements JsonSerializable { +@Immutable +public final class VpnClientConnectionHealthDetailListResult + implements JsonSerializable { /* * List of vpn client connection health. */ - private List value; + private List value; /** - * Creates an instance of VpnClientConnectionHealthDetailListResultInner class. + * Creates an instance of VpnClientConnectionHealthDetailListResult class. */ - public VpnClientConnectionHealthDetailListResultInner() { + private VpnClientConnectionHealthDetailListResult() { } /** @@ -35,21 +35,10 @@ public VpnClientConnectionHealthDetailListResultInner() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } - /** - * Set the value property: List of vpn client connection health. - * - * @param value the value value to set. - * @return the VpnClientConnectionHealthDetailListResultInner object itself. - */ - public VpnClientConnectionHealthDetailListResultInner withValue(List value) { - this.value = value; - return this; - } - /** * Validates the instance. * @@ -72,31 +61,31 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of VpnClientConnectionHealthDetailListResultInner from the JsonReader. + * Reads an instance of VpnClientConnectionHealthDetailListResult from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VpnClientConnectionHealthDetailListResultInner 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 VpnClientConnectionHealthDetailListResultInner. + * @return An instance of VpnClientConnectionHealthDetailListResult 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 VpnClientConnectionHealthDetailListResult. */ - public static VpnClientConnectionHealthDetailListResultInner fromJson(JsonReader jsonReader) throws IOException { + public static VpnClientConnectionHealthDetailListResult fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VpnClientConnectionHealthDetailListResultInner deserializedVpnClientConnectionHealthDetailListResultInner - = new VpnClientConnectionHealthDetailListResultInner(); + VpnClientConnectionHealthDetailListResult deserializedVpnClientConnectionHealthDetailListResult + = new VpnClientConnectionHealthDetailListResult(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> VpnClientConnectionHealthDetail.fromJson(reader1)); - deserializedVpnClientConnectionHealthDetailListResultInner.value = value; + List value + = reader.readArray(reader1 -> VpnClientConnectionHealthDetailInner.fromJson(reader1)); + deserializedVpnClientConnectionHealthDetailListResult.value = value; } else { reader.skipChildren(); } } - return deserializedVpnClientConnectionHealthDetailListResultInner; + return deserializedVpnClientConnectionHealthDetailListResult; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java similarity index 81% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java index 778d2dcfaf1a..20513a1f8af9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.models; +package com.azure.resourcemanager.network.implementation.models; import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; @@ -14,30 +14,29 @@ import java.util.List; /** - * Result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy - * objects and a URL link to get the next set of results. + * Paged collection of WebApplicationFirewallPolicy items. */ @Immutable public final class WebApplicationFirewallPolicyListResult implements JsonSerializable { /* - * List of WebApplicationFirewallPolicies within a resource group. + * The WebApplicationFirewallPolicy items on this page */ private List value; /* - * URL to get the next set of WebApplicationFirewallPolicy objects if there are any. + * The link to the next page of items */ private String nextLink; /** * Creates an instance of WebApplicationFirewallPolicyListResult class. */ - public WebApplicationFirewallPolicyListResult() { + private WebApplicationFirewallPolicyListResult() { } /** - * Get the value property: List of WebApplicationFirewallPolicies within a resource group. + * Get the value property: The WebApplicationFirewallPolicy items on this page. * * @return the value value. */ @@ -46,7 +45,7 @@ public List value() { } /** - * Get the nextLink property: URL to get the next set of WebApplicationFirewallPolicy objects if there are any. + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -71,6 +70,7 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); + jsonWriter.writeStringField("nextLink", this.nextLink); return jsonWriter.writeEndObject(); } @@ -80,6 +80,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of WebApplicationFirewallPolicyListResult 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 WebApplicationFirewallPolicyListResult. */ public static WebApplicationFirewallPolicyListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java index dfde4614464b..c26c0e9d0044 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Access.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Access.java index a4a605ccbfd2..03ee336c090b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Access.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Access.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class Access extends ExpandableStringEnum { /** - * Static value Allow for Access. + * Allow. */ public static final Access ALLOW = fromString("Allow"); /** - * Static value Deny for Access. + * Deny. */ public static final Access DENY = fromString("Deny"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AccessMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AccessMode.java index 05f35860ba72..28cd722810b7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AccessMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AccessMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class AccessMode extends ExpandableStringEnum { /** - * Static value Default for AccessMode. + * Allows unrestricted access to the private link service. */ public static final AccessMode DEFAULT = fromString("Default"); /** - * Static value Restricted for AccessMode. + * Limits access to subscriptions which are inside visibility list only. */ public static final AccessMode RESTRICTED = fromString("Restricted"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java index 185fe1e517bc..c6d855922bbe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class AccessRuleDirection extends ExpandableStringEnum { /** - * Static value Inbound for AccessRuleDirection. + * Inbound. */ public static final AccessRuleDirection INBOUND = fromString("Inbound"); /** - * Static value Outbound for AccessRuleDirection. + * Outbound. */ public static final AccessRuleDirection OUTBOUND = fromString("Outbound"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Action.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Action.java index 60f33c3fca39..ddeee00d2325 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Action.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Action.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActionType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActionType.java index 6928d76faa64..648ab45e6d96 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActionType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActionType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,32 +12,32 @@ */ public final class ActionType extends ExpandableStringEnum { /** - * Static value AnomalyScoring for ActionType. + * AnomalyScoring. */ public static final ActionType ANOMALY_SCORING = fromString("AnomalyScoring"); /** - * Static value Allow for ActionType. + * Allow. */ public static final ActionType ALLOW = fromString("Allow"); /** - * Static value Block for ActionType. + * Block. */ public static final ActionType BLOCK = fromString("Block"); /** - * Static value Log for ActionType. + * Log. */ public static final ActionType LOG = fromString("Log"); /** - * Static value JSChallenge for ActionType. + * JSChallenge. */ public static final ActionType JSCHALLENGE = fromString("JSChallenge"); /** - * Static value CAPTCHA for ActionType. + * CAPTCHA. */ public static final ActionType CAPTCHA = fromString("CAPTCHA"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java index 2e47f3ab74be..f3df41c92287 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java deleted file mode 100644 index 7bdff65909f3..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java +++ /dev/null @@ -1,362 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.network.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.util.CoreUtils; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.ConnectivityConfigurationProperties; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.time.format.DateTimeFormatter; -import java.util.List; - -/** - * Active connectivity configuration. - */ -@Fluent -public final class ActiveConnectivityConfiguration extends EffectiveConnectivityConfiguration { - /* - * Deployment time string. - */ - private OffsetDateTime commitTime; - - /* - * Deployment region. - */ - private String region; - - /* - * Properties of a network manager connectivity configuration - */ - private ConnectivityConfigurationProperties innerProperties; - - /** - * Creates an instance of ActiveConnectivityConfiguration class. - */ - public ActiveConnectivityConfiguration() { - } - - /** - * Get the commitTime property: Deployment time string. - * - * @return the commitTime value. - */ - public OffsetDateTime commitTime() { - return this.commitTime; - } - - /** - * Set the commitTime property: Deployment time string. - * - * @param commitTime the commitTime value to set. - * @return the ActiveConnectivityConfiguration object itself. - */ - public ActiveConnectivityConfiguration withCommitTime(OffsetDateTime commitTime) { - this.commitTime = commitTime; - return this; - } - - /** - * Get the region property: Deployment region. - * - * @return the region value. - */ - public String region() { - return this.region; - } - - /** - * Set the region property: Deployment region. - * - * @param region the region value to set. - * @return the ActiveConnectivityConfiguration object itself. - */ - public ActiveConnectivityConfiguration withRegion(String region) { - this.region = region; - return this; - } - - /** - * Get the innerProperties property: Properties of a network manager connectivity configuration. - * - * @return the innerProperties value. - */ - private ConnectivityConfigurationProperties innerProperties() { - return this.innerProperties; - } - - /** - * {@inheritDoc} - */ - @Override - public ActiveConnectivityConfiguration withId(String id) { - super.withId(id); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ActiveConnectivityConfiguration withConfigurationGroups(List configurationGroups) { - super.withConfigurationGroups(configurationGroups); - return this; - } - - /** - * Get the description property: A description of the connectivity configuration. - * - * @return the description value. - */ - public String description() { - return this.innerProperties() == null ? null : this.innerProperties().description(); - } - - /** - * Set the description property: A description of the connectivity configuration. - * - * @param description the description value to set. - * @return the ActiveConnectivityConfiguration object itself. - */ - public ActiveConnectivityConfiguration withDescription(String description) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withDescription(description); - return this; - } - - /** - * Get the connectivityTopology property: Connectivity topology type. - * - * @return the connectivityTopology value. - */ - public ConnectivityTopology connectivityTopology() { - return this.innerProperties() == null ? null : this.innerProperties().connectivityTopology(); - } - - /** - * Set the connectivityTopology property: Connectivity topology type. - * - * @param connectivityTopology the connectivityTopology value to set. - * @return the ActiveConnectivityConfiguration object itself. - */ - public ActiveConnectivityConfiguration withConnectivityTopology(ConnectivityTopology connectivityTopology) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withConnectivityTopology(connectivityTopology); - return this; - } - - /** - * Get the hubs property: List of hubItems. - * - * @return the hubs value. - */ - public List hubs() { - return this.innerProperties() == null ? null : this.innerProperties().hubs(); - } - - /** - * Set the hubs property: List of hubItems. - * - * @param hubs the hubs value to set. - * @return the ActiveConnectivityConfiguration object itself. - */ - public ActiveConnectivityConfiguration withHubs(List hubs) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withHubs(hubs); - return this; - } - - /** - * Get the isGlobal property: Flag if global mesh is supported. - * - * @return the isGlobal value. - */ - public IsGlobal isGlobal() { - return this.innerProperties() == null ? null : this.innerProperties().isGlobal(); - } - - /** - * Set the isGlobal property: Flag if global mesh is supported. - * - * @param isGlobal the isGlobal value to set. - * @return the ActiveConnectivityConfiguration object itself. - */ - public ActiveConnectivityConfiguration withIsGlobal(IsGlobal isGlobal) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withIsGlobal(isGlobal); - return this; - } - - /** - * Get the connectivityCapabilities property: Collection of additional settings to enhance specific topology - * behaviors of the connectivity configuration resource. - * - * @return the connectivityCapabilities value. - */ - public ConnectivityConfigurationPropertiesConnectivityCapabilities connectivityCapabilities() { - return this.innerProperties() == null ? null : this.innerProperties().connectivityCapabilities(); - } - - /** - * Set the connectivityCapabilities property: Collection of additional settings to enhance specific topology - * behaviors of the connectivity configuration resource. - * - * @param connectivityCapabilities the connectivityCapabilities value to set. - * @return the ActiveConnectivityConfiguration object itself. - */ - public ActiveConnectivityConfiguration withConnectivityCapabilities( - ConnectivityConfigurationPropertiesConnectivityCapabilities connectivityCapabilities) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withConnectivityCapabilities(connectivityCapabilities); - return this; - } - - /** - * Get the appliesToGroups property: Groups for configuration. - * - * @return the appliesToGroups value. - */ - public List appliesToGroups() { - return this.innerProperties() == null ? null : this.innerProperties().appliesToGroups(); - } - - /** - * Set the appliesToGroups property: Groups for configuration. - * - * @param appliesToGroups the appliesToGroups value to set. - * @return the ActiveConnectivityConfiguration object itself. - */ - public ActiveConnectivityConfiguration withAppliesToGroups(List appliesToGroups) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withAppliesToGroups(appliesToGroups); - return this; - } - - /** - * Get the provisioningState property: The provisioning state of the connectivity configuration resource. - * - * @return the provisioningState value. - */ - public ProvisioningState provisioningState() { - return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); - } - - /** - * Get the deleteExistingPeering property: Flag if need to remove current existing peerings. - * - * @return the deleteExistingPeering value. - */ - public DeleteExistingPeering deleteExistingPeering() { - return this.innerProperties() == null ? null : this.innerProperties().deleteExistingPeering(); - } - - /** - * Set the deleteExistingPeering property: Flag if need to remove current existing peerings. - * - * @param deleteExistingPeering the deleteExistingPeering value to set. - * @return the ActiveConnectivityConfiguration object itself. - */ - public ActiveConnectivityConfiguration withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering) { - if (this.innerProperties() == null) { - this.innerProperties = new ConnectivityConfigurationProperties(); - } - this.innerProperties().withDeleteExistingPeering(deleteExistingPeering); - return this; - } - - /** - * Get the resourceGuid property: Unique identifier for this resource. - * - * @return the resourceGuid value. - */ - public String resourceGuid() { - return this.innerProperties() == null ? null : this.innerProperties().resourceGuid(); - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - @Override - public void validate() { - if (innerProperties() != null) { - innerProperties().validate(); - } - if (configurationGroups() != null) { - configurationGroups().forEach(e -> e.validate()); - } - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", id()); - jsonWriter.writeJsonField("properties", innerProperties()); - jsonWriter.writeArrayField("configurationGroups", configurationGroups(), - (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("commitTime", - this.commitTime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.commitTime)); - jsonWriter.writeStringField("region", this.region); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ActiveConnectivityConfiguration from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ActiveConnectivityConfiguration 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 ActiveConnectivityConfiguration. - */ - public static ActiveConnectivityConfiguration fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ActiveConnectivityConfiguration deserializedActiveConnectivityConfiguration - = new ActiveConnectivityConfiguration(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedActiveConnectivityConfiguration.withId(reader.getString()); - } else if ("properties".equals(fieldName)) { - deserializedActiveConnectivityConfiguration.innerProperties - = ConnectivityConfigurationProperties.fromJson(reader); - } else if ("configurationGroups".equals(fieldName)) { - List configurationGroups - = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedActiveConnectivityConfiguration.withConfigurationGroups(configurationGroups); - } else if ("commitTime".equals(fieldName)) { - deserializedActiveConnectivityConfiguration.commitTime = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("region".equals(fieldName)) { - deserializedActiveConnectivityConfiguration.region = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedActiveConnectivityConfiguration; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java index 7ac8777fce98..1a05b33de099 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java @@ -1,14 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.fluent.models.ActiveBaseSecurityAdminRuleInner; import com.azure.resourcemanager.network.fluent.models.DefaultAdminPropertiesFormat; import java.io.IOException; import java.time.OffsetDateTime; @@ -18,8 +19,8 @@ /** * Network default admin rule. */ -@Fluent -public final class ActiveDefaultSecurityAdminRule extends ActiveBaseSecurityAdminRule { +@Immutable +public final class ActiveDefaultSecurityAdminRule extends ActiveBaseSecurityAdminRuleInner { /* * Whether the rule is custom or default. */ @@ -30,10 +31,45 @@ public final class ActiveDefaultSecurityAdminRule extends ActiveBaseSecurityAdmi */ private DefaultAdminPropertiesFormat innerProperties; + /* + * Effective configuration groups. + */ + private List ruleGroups; + + /* + * Groups for rule collection + */ + private List ruleCollectionAppliesToGroups; + + /* + * A description of the rule collection. + */ + private String ruleCollectionDescription; + + /* + * A description of the security admin configuration. + */ + private String configurationDescription; + + /* + * Deployment region. + */ + private String region; + + /* + * Deployment time string. + */ + private OffsetDateTime commitTime; + + /* + * Resource ID. + */ + private String id; + /** * Creates an instance of ActiveDefaultSecurityAdminRule class. */ - public ActiveDefaultSecurityAdminRule() { + private ActiveDefaultSecurityAdminRule() { } /** @@ -51,72 +87,78 @@ public EffectiveAdminRuleKind kind() { * * @return the innerProperties value. */ - DefaultAdminPropertiesFormat innerProperties() { + private DefaultAdminPropertiesFormat innerProperties() { return this.innerProperties; } /** - * {@inheritDoc} + * Get the ruleGroups property: Effective configuration groups. + * + * @return the ruleGroups value. */ @Override - public ActiveDefaultSecurityAdminRule withId(String id) { - super.withId(id); - return this; + public List ruleGroups() { + return this.ruleGroups; } /** - * {@inheritDoc} + * Get the ruleCollectionAppliesToGroups property: Groups for rule collection. + * + * @return the ruleCollectionAppliesToGroups value. */ @Override - public ActiveDefaultSecurityAdminRule withCommitTime(OffsetDateTime commitTime) { - super.withCommitTime(commitTime); - return this; + public List ruleCollectionAppliesToGroups() { + return this.ruleCollectionAppliesToGroups; } /** - * {@inheritDoc} + * Get the ruleCollectionDescription property: A description of the rule collection. + * + * @return the ruleCollectionDescription value. */ @Override - public ActiveDefaultSecurityAdminRule withRegion(String region) { - super.withRegion(region); - return this; + public String ruleCollectionDescription() { + return this.ruleCollectionDescription; } /** - * {@inheritDoc} + * Get the configurationDescription property: A description of the security admin configuration. + * + * @return the configurationDescription value. */ @Override - public ActiveDefaultSecurityAdminRule withConfigurationDescription(String configurationDescription) { - super.withConfigurationDescription(configurationDescription); - return this; + public String configurationDescription() { + return this.configurationDescription; } /** - * {@inheritDoc} + * Get the region property: Deployment region. + * + * @return the region value. */ @Override - public ActiveDefaultSecurityAdminRule withRuleCollectionDescription(String ruleCollectionDescription) { - super.withRuleCollectionDescription(ruleCollectionDescription); - return this; + public String region() { + return this.region; } /** - * {@inheritDoc} + * Get the commitTime property: Deployment time string. + * + * @return the commitTime value. */ @Override - public ActiveDefaultSecurityAdminRule - withRuleCollectionAppliesToGroups(List ruleCollectionAppliesToGroups) { - super.withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); - return this; + public OffsetDateTime commitTime() { + return this.commitTime; } /** - * {@inheritDoc} + * Get the id property: Resource ID. + * + * @return the id value. */ @Override - public ActiveDefaultSecurityAdminRule withRuleGroups(List ruleGroups) { - super.withRuleGroups(ruleGroups); - return this; + public String id() { + return this.id; } /** @@ -137,20 +179,6 @@ public String flag() { return this.innerProperties() == null ? null : this.innerProperties().flag(); } - /** - * Set the flag property: Default rule flag. - * - * @param flag the flag value to set. - * @return the ActiveDefaultSecurityAdminRule object itself. - */ - public ActiveDefaultSecurityAdminRule withFlag(String flag) { - if (this.innerProperties() == null) { - this.innerProperties = new DefaultAdminPropertiesFormat(); - } - this.innerProperties().withFlag(flag); - return this; - } - /** * Get the protocol property: Network protocol this rule applies to. * @@ -298,25 +326,25 @@ public static ActiveDefaultSecurityAdminRule fromJson(JsonReader jsonReader) thr reader.nextToken(); if ("id".equals(fieldName)) { - deserializedActiveDefaultSecurityAdminRule.withId(reader.getString()); + deserializedActiveDefaultSecurityAdminRule.id = reader.getString(); } else if ("commitTime".equals(fieldName)) { - deserializedActiveDefaultSecurityAdminRule.withCommitTime(reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()))); + deserializedActiveDefaultSecurityAdminRule.commitTime = reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); } else if ("region".equals(fieldName)) { - deserializedActiveDefaultSecurityAdminRule.withRegion(reader.getString()); + deserializedActiveDefaultSecurityAdminRule.region = reader.getString(); } else if ("configurationDescription".equals(fieldName)) { - deserializedActiveDefaultSecurityAdminRule.withConfigurationDescription(reader.getString()); + deserializedActiveDefaultSecurityAdminRule.configurationDescription = reader.getString(); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedActiveDefaultSecurityAdminRule.withRuleCollectionDescription(reader.getString()); + deserializedActiveDefaultSecurityAdminRule.ruleCollectionDescription = reader.getString(); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedActiveDefaultSecurityAdminRule - .withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); + deserializedActiveDefaultSecurityAdminRule.ruleCollectionAppliesToGroups + = ruleCollectionAppliesToGroups; } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedActiveDefaultSecurityAdminRule.withRuleGroups(ruleGroups); + deserializedActiveDefaultSecurityAdminRule.ruleGroups = ruleGroups; } else if ("kind".equals(fieldName)) { deserializedActiveDefaultSecurityAdminRule.kind = EffectiveAdminRuleKind.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java index 6c2e80b0bf72..feba457876ec 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java @@ -1,14 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.fluent.models.ActiveBaseSecurityAdminRuleInner; import com.azure.resourcemanager.network.fluent.models.AdminPropertiesFormat; import java.io.IOException; import java.time.OffsetDateTime; @@ -18,8 +19,8 @@ /** * Network admin rule. */ -@Fluent -public final class ActiveSecurityAdminRule extends ActiveBaseSecurityAdminRule { +@Immutable +public final class ActiveSecurityAdminRule extends ActiveBaseSecurityAdminRuleInner { /* * Whether the rule is custom or default. */ @@ -30,10 +31,45 @@ public final class ActiveSecurityAdminRule extends ActiveBaseSecurityAdminRule { */ private AdminPropertiesFormat innerProperties; + /* + * Effective configuration groups. + */ + private List ruleGroups; + + /* + * Groups for rule collection + */ + private List ruleCollectionAppliesToGroups; + + /* + * A description of the rule collection. + */ + private String ruleCollectionDescription; + + /* + * A description of the security admin configuration. + */ + private String configurationDescription; + + /* + * Deployment region. + */ + private String region; + + /* + * Deployment time string. + */ + private OffsetDateTime commitTime; + + /* + * Resource ID. + */ + private String id; + /** * Creates an instance of ActiveSecurityAdminRule class. */ - public ActiveSecurityAdminRule() { + private ActiveSecurityAdminRule() { } /** @@ -51,72 +87,78 @@ public EffectiveAdminRuleKind kind() { * * @return the innerProperties value. */ - AdminPropertiesFormat innerProperties() { + private AdminPropertiesFormat innerProperties() { return this.innerProperties; } /** - * {@inheritDoc} + * Get the ruleGroups property: Effective configuration groups. + * + * @return the ruleGroups value. */ @Override - public ActiveSecurityAdminRule withId(String id) { - super.withId(id); - return this; + public List ruleGroups() { + return this.ruleGroups; } /** - * {@inheritDoc} + * Get the ruleCollectionAppliesToGroups property: Groups for rule collection. + * + * @return the ruleCollectionAppliesToGroups value. */ @Override - public ActiveSecurityAdminRule withCommitTime(OffsetDateTime commitTime) { - super.withCommitTime(commitTime); - return this; + public List ruleCollectionAppliesToGroups() { + return this.ruleCollectionAppliesToGroups; } /** - * {@inheritDoc} + * Get the ruleCollectionDescription property: A description of the rule collection. + * + * @return the ruleCollectionDescription value. */ @Override - public ActiveSecurityAdminRule withRegion(String region) { - super.withRegion(region); - return this; + public String ruleCollectionDescription() { + return this.ruleCollectionDescription; } /** - * {@inheritDoc} + * Get the configurationDescription property: A description of the security admin configuration. + * + * @return the configurationDescription value. */ @Override - public ActiveSecurityAdminRule withConfigurationDescription(String configurationDescription) { - super.withConfigurationDescription(configurationDescription); - return this; + public String configurationDescription() { + return this.configurationDescription; } /** - * {@inheritDoc} + * Get the region property: Deployment region. + * + * @return the region value. */ @Override - public ActiveSecurityAdminRule withRuleCollectionDescription(String ruleCollectionDescription) { - super.withRuleCollectionDescription(ruleCollectionDescription); - return this; + public String region() { + return this.region; } /** - * {@inheritDoc} + * Get the commitTime property: Deployment time string. + * + * @return the commitTime value. */ @Override - public ActiveSecurityAdminRule - withRuleCollectionAppliesToGroups(List ruleCollectionAppliesToGroups) { - super.withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); - return this; + public OffsetDateTime commitTime() { + return this.commitTime; } /** - * {@inheritDoc} + * Get the id property: Resource ID. + * + * @return the id value. */ @Override - public ActiveSecurityAdminRule withRuleGroups(List ruleGroups) { - super.withRuleGroups(ruleGroups); - return this; + public String id() { + return this.id; } /** @@ -128,20 +170,6 @@ public String description() { return this.innerProperties() == null ? null : this.innerProperties().description(); } - /** - * Set the description property: A description for this rule. Restricted to 140 chars. - * - * @param description the description value to set. - * @return the ActiveSecurityAdminRule object itself. - */ - public ActiveSecurityAdminRule withDescription(String description) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withDescription(description); - return this; - } - /** * Get the protocol property: Network protocol this rule applies to. * @@ -151,20 +179,6 @@ public SecurityConfigurationRuleProtocol protocol() { return this.innerProperties() == null ? null : this.innerProperties().protocol(); } - /** - * Set the protocol property: Network protocol this rule applies to. - * - * @param protocol the protocol value to set. - * @return the ActiveSecurityAdminRule object itself. - */ - public ActiveSecurityAdminRule withProtocol(SecurityConfigurationRuleProtocol protocol) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withProtocol(protocol); - return this; - } - /** * Get the sources property: The CIDR or source IP ranges. * @@ -174,20 +188,6 @@ public List sources() { return this.innerProperties() == null ? null : this.innerProperties().sources(); } - /** - * Set the sources property: The CIDR or source IP ranges. - * - * @param sources the sources value to set. - * @return the ActiveSecurityAdminRule object itself. - */ - public ActiveSecurityAdminRule withSources(List sources) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withSources(sources); - return this; - } - /** * Get the destinations property: The destination address prefixes. CIDR or destination IP ranges. * @@ -197,20 +197,6 @@ public List destinations() { return this.innerProperties() == null ? null : this.innerProperties().destinations(); } - /** - * Set the destinations property: The destination address prefixes. CIDR or destination IP ranges. - * - * @param destinations the destinations value to set. - * @return the ActiveSecurityAdminRule object itself. - */ - public ActiveSecurityAdminRule withDestinations(List destinations) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withDestinations(destinations); - return this; - } - /** * Get the sourcePortRanges property: The source port ranges. * @@ -220,20 +206,6 @@ public List sourcePortRanges() { return this.innerProperties() == null ? null : this.innerProperties().sourcePortRanges(); } - /** - * Set the sourcePortRanges property: The source port ranges. - * - * @param sourcePortRanges the sourcePortRanges value to set. - * @return the ActiveSecurityAdminRule object itself. - */ - public ActiveSecurityAdminRule withSourcePortRanges(List sourcePortRanges) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withSourcePortRanges(sourcePortRanges); - return this; - } - /** * Get the destinationPortRanges property: The destination port ranges. * @@ -243,20 +215,6 @@ public List destinationPortRanges() { return this.innerProperties() == null ? null : this.innerProperties().destinationPortRanges(); } - /** - * Set the destinationPortRanges property: The destination port ranges. - * - * @param destinationPortRanges the destinationPortRanges value to set. - * @return the ActiveSecurityAdminRule object itself. - */ - public ActiveSecurityAdminRule withDestinationPortRanges(List destinationPortRanges) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withDestinationPortRanges(destinationPortRanges); - return this; - } - /** * Get the access property: Indicates the access allowed for this particular rule. * @@ -266,20 +224,6 @@ public SecurityConfigurationRuleAccess access() { return this.innerProperties() == null ? null : this.innerProperties().access(); } - /** - * Set the access property: Indicates the access allowed for this particular rule. - * - * @param access the access value to set. - * @return the ActiveSecurityAdminRule object itself. - */ - public ActiveSecurityAdminRule withAccess(SecurityConfigurationRuleAccess access) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withAccess(access); - return this; - } - /** * Get the priority property: The priority of the rule. The value can be between 1 and 4096. The priority number * must be unique for each rule in the collection. The lower the priority number, the higher the priority of the @@ -291,22 +235,6 @@ public Integer priority() { return this.innerProperties() == null ? null : this.innerProperties().priority(); } - /** - * Set the priority property: The priority of the rule. The value can be between 1 and 4096. The priority number - * must be unique for each rule in the collection. The lower the priority number, the higher the priority of the - * rule. - * - * @param priority the priority value to set. - * @return the ActiveSecurityAdminRule object itself. - */ - public ActiveSecurityAdminRule withPriority(Integer priority) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withPriority(priority); - return this; - } - /** * Get the direction property: Indicates if the traffic matched against the rule in inbound or outbound. * @@ -316,20 +244,6 @@ public SecurityConfigurationRuleDirection direction() { return this.innerProperties() == null ? null : this.innerProperties().direction(); } - /** - * Set the direction property: Indicates if the traffic matched against the rule in inbound or outbound. - * - * @param direction the direction value to set. - * @return the ActiveSecurityAdminRule object itself. - */ - public ActiveSecurityAdminRule withDirection(SecurityConfigurationRuleDirection direction) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withDirection(direction); - return this; - } - /** * Get the provisioningState property: The provisioning state of the resource. * @@ -402,25 +316,24 @@ public static ActiveSecurityAdminRule fromJson(JsonReader jsonReader) throws IOE reader.nextToken(); if ("id".equals(fieldName)) { - deserializedActiveSecurityAdminRule.withId(reader.getString()); + deserializedActiveSecurityAdminRule.id = reader.getString(); } else if ("commitTime".equals(fieldName)) { - deserializedActiveSecurityAdminRule.withCommitTime(reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()))); + deserializedActiveSecurityAdminRule.commitTime = reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); } else if ("region".equals(fieldName)) { - deserializedActiveSecurityAdminRule.withRegion(reader.getString()); + deserializedActiveSecurityAdminRule.region = reader.getString(); } else if ("configurationDescription".equals(fieldName)) { - deserializedActiveSecurityAdminRule.withConfigurationDescription(reader.getString()); + deserializedActiveSecurityAdminRule.configurationDescription = reader.getString(); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedActiveSecurityAdminRule.withRuleCollectionDescription(reader.getString()); + deserializedActiveSecurityAdminRule.ruleCollectionDescription = reader.getString(); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedActiveSecurityAdminRule - .withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); + deserializedActiveSecurityAdminRule.ruleCollectionAppliesToGroups = ruleCollectionAppliesToGroups; } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedActiveSecurityAdminRule.withRuleGroups(ruleGroups); + deserializedActiveSecurityAdminRule.ruleGroups = ruleGroups; } else if ("kind".equals(fieldName)) { deserializedActiveSecurityAdminRule.kind = EffectiveAdminRuleKind.fromString(reader.getString()); } else if ("properties".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java index 651cbaf197fb..47f8ab031735 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java index 5a1d3d587393..5a2ddf3556f1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class AddressPrefixType extends ExpandableStringEnum { /** - * Static value IPPrefix for AddressPrefixType. + * IPPrefix. */ public static final AddressPrefixType IPPREFIX = fromString("IPPrefix"); /** - * Static value ServiceTag for AddressPrefixType. + * ServiceTag. */ public static final AddressPrefixType SERVICE_TAG = fromString("ServiceTag"); /** - * Static value NetworkGroup for AddressPrefixType. + * NetworkGroup. */ public static final AddressPrefixType NETWORK_GROUP = fromString("NetworkGroup"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java index fc4126421ebd..801c45b3f388 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java index 502a8fd99091..e946263afbff 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ */ public final class AddressSpaceAggregationOption extends ExpandableStringEnum { /** - * Static value None for AddressSpaceAggregationOption. + * None. */ public static final AddressSpaceAggregationOption NONE = fromString("None"); /** - * Static value Manual for AddressSpaceAggregationOption. + * Manual. */ public static final AddressSpaceAggregationOption MANUAL = fromString("Manual"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java index e86c6dfc7d12..7e20e83b6e8c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,12 +16,12 @@ */ public final class AddressUpdateAction extends ExpandableStringEnum { /** - * Static value FullUpdate for AddressUpdateAction. + * FullUpdate. */ public static final AddressUpdateAction FULL_UPDATE = fromString("FullUpdate"); /** - * Static value PartialUpdate for AddressUpdateAction. + * PartialUpdate. */ public static final AddressUpdateAction PARTIAL_UPDATE = fromString("PartialUpdate"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRule.java index e32dab0b2ec1..cf6edfce10a5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -40,17 +40,17 @@ public final class AdminRule extends BaseAdminRuleInner { private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -100,7 +100,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -110,7 +110,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -120,7 +120,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -387,7 +387,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of AdminRule 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 AdminRule. */ public static AdminRule fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java index 3b80cbaafb1b..1d176c883c0f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class AdminRuleKind extends ExpandableStringEnum { /** - * Static value Custom for AdminRuleKind. + * Custom. */ public static final AdminRuleKind CUSTOM = fromString("Custom"); /** - * Static value Default for AdminRuleKind. + * Default. */ public static final AdminRuleKind DEFAULT = fromString("Default"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminState.java index 4ee54acc3b9a..52bfd20a8d15 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ */ public final class AdminState extends ExpandableStringEnum { /** - * Static value Enabled for AdminState. + * Enabled. */ public static final AdminState ENABLED = fromString("Enabled"); /** - * Static value Disabled for AdminState. + * Disabled. */ public static final AdminState DISABLED = fromString("Disabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java index ba57b4c6a683..b3c4f6fa99b6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java index 0126bb95eba8..91ea25964159 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,58 +13,58 @@ public final class AdvertisedPublicPrefixPropertiesValidationState extends ExpandableStringEnum { /** - * Static value NotConfigured for AdvertisedPublicPrefixPropertiesValidationState. + * NotConfigured. */ public static final AdvertisedPublicPrefixPropertiesValidationState NOT_CONFIGURED = fromString("NotConfigured"); /** - * Static value Configuring for AdvertisedPublicPrefixPropertiesValidationState. + * Configuring. */ public static final AdvertisedPublicPrefixPropertiesValidationState CONFIGURING = fromString("Configuring"); /** - * Static value Configured for AdvertisedPublicPrefixPropertiesValidationState. + * Configured. */ public static final AdvertisedPublicPrefixPropertiesValidationState CONFIGURED = fromString("Configured"); /** - * Static value ValidationNeeded for AdvertisedPublicPrefixPropertiesValidationState. + * ValidationNeeded. */ public static final AdvertisedPublicPrefixPropertiesValidationState VALIDATION_NEEDED = fromString("ValidationNeeded"); /** - * Static value ValidationFailed for AdvertisedPublicPrefixPropertiesValidationState. + * ValidationFailed. */ public static final AdvertisedPublicPrefixPropertiesValidationState VALIDATION_FAILED = fromString("ValidationFailed"); /** - * Static value ManualValidationNeeded for AdvertisedPublicPrefixPropertiesValidationState. + * ManualValidationNeeded. */ public static final AdvertisedPublicPrefixPropertiesValidationState MANUAL_VALIDATION_NEEDED = fromString("ManualValidationNeeded"); /** - * Static value AsnValidationFailed for AdvertisedPublicPrefixPropertiesValidationState. + * AsnValidationFailed. */ public static final AdvertisedPublicPrefixPropertiesValidationState ASN_VALIDATION_FAILED = fromString("AsnValidationFailed"); /** - * Static value CertificateMissingInRoutingRegistry for AdvertisedPublicPrefixPropertiesValidationState. + * CertificateMissingInRoutingRegistry. */ public static final AdvertisedPublicPrefixPropertiesValidationState CERTIFICATE_MISSING_IN_ROUTING_REGISTRY = fromString("CertificateMissingInRoutingRegistry"); /** - * Static value InvalidSignatureEncoding for AdvertisedPublicPrefixPropertiesValidationState. + * InvalidSignatureEncoding. */ public static final AdvertisedPublicPrefixPropertiesValidationState INVALID_SIGNATURE_ENCODING = fromString("InvalidSignatureEncoding"); /** - * Static value SignatureVerificationFailed for AdvertisedPublicPrefixPropertiesValidationState. + * SignatureVerificationFailed. */ public static final AdvertisedPublicPrefixPropertiesValidationState SIGNATURE_VERIFICATION_FAILED = fromString("SignatureVerificationFailed"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java index 3e422b13eed5..dfe1ff21e41d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java index 952e6f4f54ff..a685b09db8fd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java index 7c2c117eb661..179b061a8b0d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -139,7 +139,7 @@ public List backendAddresses() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java index 3656ea6d76ac..5e4b1fa0dc85 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * Application gateway BackendHealthHttp settings. */ -@Fluent +@Immutable public final class ApplicationGatewayBackendHealthHttpSettings implements JsonSerializable { /* @@ -32,7 +32,7 @@ public final class ApplicationGatewayBackendHealthHttpSettings /** * Creates an instance of ApplicationGatewayBackendHealthHttpSettings class. */ - public ApplicationGatewayBackendHealthHttpSettings() { + private ApplicationGatewayBackendHealthHttpSettings() { } /** @@ -44,18 +44,6 @@ public ApplicationGatewayBackendHttpSettings backendHttpSettings() { return this.backendHttpSettings; } - /** - * Set the backendHttpSettings property: Reference to an ApplicationGatewayBackendHttpSettings resource. - * - * @param backendHttpSettings the backendHttpSettings value to set. - * @return the ApplicationGatewayBackendHealthHttpSettings object itself. - */ - public ApplicationGatewayBackendHealthHttpSettings - withBackendHttpSettings(ApplicationGatewayBackendHttpSettings backendHttpSettings) { - this.backendHttpSettings = backendHttpSettings; - return this; - } - /** * Get the servers property: List of ApplicationGatewayBackendHealthServer resources. * @@ -65,18 +53,6 @@ public List servers() { return this.servers; } - /** - * Set the servers property: List of ApplicationGatewayBackendHealthServer resources. - * - * @param servers the servers value to set. - * @return the ApplicationGatewayBackendHealthHttpSettings object itself. - */ - public ApplicationGatewayBackendHealthHttpSettings - withServers(List servers) { - this.servers = servers; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java index 80640c597ce7..e8b53b6f7800 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Application gateway BackendHealth pool. */ -@Fluent +@Immutable public final class ApplicationGatewayBackendHealthPool implements JsonSerializable { /* @@ -31,7 +31,7 @@ public final class ApplicationGatewayBackendHealthPool /** * Creates an instance of ApplicationGatewayBackendHealthPool class. */ - public ApplicationGatewayBackendHealthPool() { + private ApplicationGatewayBackendHealthPool() { } /** @@ -43,18 +43,6 @@ public ApplicationGatewayBackendAddressPool backendAddressPool() { return this.backendAddressPool; } - /** - * Set the backendAddressPool property: Reference to an ApplicationGatewayBackendAddressPool resource. - * - * @param backendAddressPool the backendAddressPool value to set. - * @return the ApplicationGatewayBackendHealthPool object itself. - */ - public ApplicationGatewayBackendHealthPool - withBackendAddressPool(ApplicationGatewayBackendAddressPool backendAddressPool) { - this.backendAddressPool = backendAddressPool; - return this; - } - /** * Get the backendHttpSettingsCollection property: List of ApplicationGatewayBackendHealthHttpSettings resources. * @@ -64,18 +52,6 @@ public List backendHttpSettingsColl return this.backendHttpSettingsCollection; } - /** - * Set the backendHttpSettingsCollection property: List of ApplicationGatewayBackendHealthHttpSettings resources. - * - * @param backendHttpSettingsCollection the backendHttpSettingsCollection value to set. - * @return the ApplicationGatewayBackendHealthPool object itself. - */ - public ApplicationGatewayBackendHealthPool withBackendHttpSettingsCollection( - List backendHttpSettingsCollection) { - this.backendHttpSettingsCollection = backendHttpSettingsCollection; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java index dcbad95c25dd..7bc7e2b6211c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,27 +13,27 @@ public final class ApplicationGatewayBackendHealthServerHealth extends ExpandableStringEnum { /** - * Static value Unknown for ApplicationGatewayBackendHealthServerHealth. + * Unknown. */ public static final ApplicationGatewayBackendHealthServerHealth UNKNOWN = fromString("Unknown"); /** - * Static value Up for ApplicationGatewayBackendHealthServerHealth. + * Up. */ public static final ApplicationGatewayBackendHealthServerHealth UP = fromString("Up"); /** - * Static value Down for ApplicationGatewayBackendHealthServerHealth. + * Down. */ public static final ApplicationGatewayBackendHealthServerHealth DOWN = fromString("Down"); /** - * Static value Partial for ApplicationGatewayBackendHealthServerHealth. + * Partial. */ public static final ApplicationGatewayBackendHealthServerHealth PARTIAL = fromString("Partial"); /** - * Static value Draining for ApplicationGatewayBackendHealthServerHealth. + * Draining. */ public static final ApplicationGatewayBackendHealthServerHealth DRAINING = fromString("Draining"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java index 356ee828231f..8d6974ec973e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -463,27 +463,27 @@ public ApplicationGatewayBackendHttpSettings withValidateCertChainAndExpiry(Bool } /** - * Get the validateSni property: When enabled, verifies if the Common Name of the certificate provided by the + * Get the validateSNI property: When enabled, verifies if the Common Name of the certificate provided by the * backend server matches the Server Name Indication (SNI) value. Default value is true. * - * @return the validateSni value. + * @return the validateSNI value. */ - public Boolean validateSni() { - return this.innerProperties() == null ? null : this.innerProperties().validateSni(); + public Boolean validateSNI() { + return this.innerProperties() == null ? null : this.innerProperties().validateSNI(); } /** - * Set the validateSni property: When enabled, verifies if the Common Name of the certificate provided by the + * Set the validateSNI property: When enabled, verifies if the Common Name of the certificate provided by the * backend server matches the Server Name Indication (SNI) value. Default value is true. * - * @param validateSni the validateSni value to set. + * @param validateSNI the validateSNI value to set. * @return the ApplicationGatewayBackendHttpSettings object itself. */ - public ApplicationGatewayBackendHttpSettings withValidateSni(Boolean validateSni) { + public ApplicationGatewayBackendHttpSettings withValidateSNI(Boolean validateSNI) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayBackendHttpSettingsPropertiesFormat(); } - this.innerProperties().withValidateSni(validateSni); + this.innerProperties().withValidateSNI(validateSNI); return this; } @@ -517,7 +517,7 @@ public ApplicationGatewayBackendHttpSettings withSniName(String sniName) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java index a11fae0a0bb5..e088d9022d6f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -296,7 +296,7 @@ public ApplicationGatewayBackendSettings withEnableL4ClientIpPreservation(Boolea * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java index 65984f363b7d..1e170224b02f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java index 72a6adab7b82..4a8135b4a555 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class ApplicationGatewayClientAuthVerificationModes extends ExpandableStringEnum { /** - * Static value Strict for ApplicationGatewayClientAuthVerificationModes. + * Strict. */ public static final ApplicationGatewayClientAuthVerificationModes STRICT = fromString("Strict"); /** - * Static value Passthrough for ApplicationGatewayClientAuthVerificationModes. + * Passthrough. */ public static final ApplicationGatewayClientAuthVerificationModes PASSTHROUGH = fromString("Passthrough"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java index 35c3e08f4418..f21b88f18e33 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class ApplicationGatewayClientRevocationOptions extends ExpandableStringEnum { /** - * Static value None for ApplicationGatewayClientRevocationOptions. + * None. */ public static final ApplicationGatewayClientRevocationOptions NONE = fromString("None"); /** - * Static value OCSP for ApplicationGatewayClientRevocationOptions. + * OCSP. */ public static final ApplicationGatewayClientRevocationOptions OCSP = fromString("OCSP"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java index 3c9fa0346a84..c5bf26087031 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java index 142b9020e634..cb308da28aef 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class ApplicationGatewayCookieBasedAffinity extends ExpandableStringEnum { /** - * Static value Enabled for ApplicationGatewayCookieBasedAffinity. + * Enabled. */ public static final ApplicationGatewayCookieBasedAffinity ENABLED = fromString("Enabled"); /** - * Static value Disabled for ApplicationGatewayCookieBasedAffinity. + * Disabled. */ public static final ApplicationGatewayCookieBasedAffinity DISABLED = fromString("Disabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java index b6346c88ecb9..2a292bc0119e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java index 992541d86e28..70214e17e9ed 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,47 +13,47 @@ public final class ApplicationGatewayCustomErrorStatusCode extends ExpandableStringEnum { /** - * Static value HttpStatus400 for ApplicationGatewayCustomErrorStatusCode. + * HttpStatus400. */ public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS400 = fromString("HttpStatus400"); /** - * Static value HttpStatus403 for ApplicationGatewayCustomErrorStatusCode. + * HttpStatus403. */ public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS403 = fromString("HttpStatus403"); /** - * Static value HttpStatus404 for ApplicationGatewayCustomErrorStatusCode. + * HttpStatus404. */ public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS404 = fromString("HttpStatus404"); /** - * Static value HttpStatus405 for ApplicationGatewayCustomErrorStatusCode. + * HttpStatus405. */ public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS405 = fromString("HttpStatus405"); /** - * Static value HttpStatus408 for ApplicationGatewayCustomErrorStatusCode. + * HttpStatus408. */ public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS408 = fromString("HttpStatus408"); /** - * Static value HttpStatus500 for ApplicationGatewayCustomErrorStatusCode. + * HttpStatus500. */ public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS500 = fromString("HttpStatus500"); /** - * Static value HttpStatus502 for ApplicationGatewayCustomErrorStatusCode. + * HttpStatus502. */ public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS502 = fromString("HttpStatus502"); /** - * Static value HttpStatus503 for ApplicationGatewayCustomErrorStatusCode. + * HttpStatus503. */ public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS503 = fromString("HttpStatus503"); /** - * Static value HttpStatus504 for ApplicationGatewayCustomErrorStatusCode. + * HttpStatus504. */ public static final ApplicationGatewayCustomErrorStatusCode HTTP_STATUS504 = fromString("HttpStatus504"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java index c94456f05baa..8d1ada3950eb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayEntraJwtValidationConfigPropertiesFormat; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayEntraJWTValidationConfigPropertiesFormat; import java.io.IOException; import java.util.List; @@ -17,11 +17,11 @@ * Entra JWT Validation Configuration of an application gateway. */ @Fluent -public final class ApplicationGatewayEntraJwtValidationConfig extends SubResource { +public final class ApplicationGatewayEntraJWTValidationConfig extends SubResource { /* * Properties of the application gateway entra jwt validation configuration. */ - private ApplicationGatewayEntraJwtValidationConfigPropertiesFormat innerProperties; + private ApplicationGatewayEntraJWTValidationConfigPropertiesFormat innerProperties; /* * Name of the entra jwt validation configuration that is unique within an application gateway. @@ -34,9 +34,9 @@ public final class ApplicationGatewayEntraJwtValidationConfig extends SubResourc private String etag; /** - * Creates an instance of ApplicationGatewayEntraJwtValidationConfig class. + * Creates an instance of ApplicationGatewayEntraJWTValidationConfig class. */ - public ApplicationGatewayEntraJwtValidationConfig() { + public ApplicationGatewayEntraJWTValidationConfig() { } /** @@ -44,7 +44,7 @@ public ApplicationGatewayEntraJwtValidationConfig() { * * @return the innerProperties value. */ - private ApplicationGatewayEntraJwtValidationConfigPropertiesFormat innerProperties() { + private ApplicationGatewayEntraJWTValidationConfigPropertiesFormat innerProperties() { return this.innerProperties; } @@ -63,9 +63,9 @@ public String name() { * gateway. * * @param name the name value to set. - * @return the ApplicationGatewayEntraJwtValidationConfig object itself. + * @return the ApplicationGatewayEntraJWTValidationConfig object itself. */ - public ApplicationGatewayEntraJwtValidationConfig withName(String name) { + public ApplicationGatewayEntraJWTValidationConfig withName(String name) { this.name = name; return this; } @@ -83,7 +83,7 @@ public String etag() { * {@inheritDoc} */ @Override - public ApplicationGatewayEntraJwtValidationConfig withId(String id) { + public ApplicationGatewayEntraJWTValidationConfig withId(String id) { super.withId(id); return this; } @@ -101,12 +101,12 @@ public ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction() { * Set the unAuthorizedRequestAction property: Unauthorized request action. * * @param unAuthorizedRequestAction the unAuthorizedRequestAction value to set. - * @return the ApplicationGatewayEntraJwtValidationConfig object itself. + * @return the ApplicationGatewayEntraJWTValidationConfig object itself. */ - public ApplicationGatewayEntraJwtValidationConfig + public ApplicationGatewayEntraJWTValidationConfig withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat(); + this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); } this.innerProperties().withUnAuthorizedRequestAction(unAuthorizedRequestAction); return this; @@ -125,11 +125,11 @@ public String tenantId() { * Set the tenantId property: The Tenant ID of the Microsoft Entra ID application. * * @param tenantId the tenantId value to set. - * @return the ApplicationGatewayEntraJwtValidationConfig object itself. + * @return the ApplicationGatewayEntraJWTValidationConfig object itself. */ - public ApplicationGatewayEntraJwtValidationConfig withTenantId(String tenantId) { + public ApplicationGatewayEntraJWTValidationConfig withTenantId(String tenantId) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat(); + this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); } this.innerProperties().withTenantId(tenantId); return this; @@ -148,11 +148,11 @@ public String clientId() { * Set the clientId property: The Client ID of the Microsoft Entra ID application. * * @param clientId the clientId value to set. - * @return the ApplicationGatewayEntraJwtValidationConfig object itself. + * @return the ApplicationGatewayEntraJWTValidationConfig object itself. */ - public ApplicationGatewayEntraJwtValidationConfig withClientId(String clientId) { + public ApplicationGatewayEntraJWTValidationConfig withClientId(String clientId) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat(); + this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); } this.innerProperties().withClientId(clientId); return this; @@ -173,11 +173,11 @@ public List audiences() { * maximum of 5 audiences are permitted. * * @param audiences the audiences value to set. - * @return the ApplicationGatewayEntraJwtValidationConfig object itself. + * @return the ApplicationGatewayEntraJWTValidationConfig object itself. */ - public ApplicationGatewayEntraJwtValidationConfig withAudiences(List audiences) { + public ApplicationGatewayEntraJWTValidationConfig withAudiences(List audiences) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat(); + this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); } this.innerProperties().withAudiences(audiences); return this; @@ -188,7 +188,7 @@ public ApplicationGatewayEntraJwtValidationConfig withAudiences(List aud * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -216,36 +216,36 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ApplicationGatewayEntraJwtValidationConfig from the JsonReader. + * Reads an instance of ApplicationGatewayEntraJWTValidationConfig from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ApplicationGatewayEntraJwtValidationConfig if the JsonReader was pointing to an instance + * @return An instance of ApplicationGatewayEntraJWTValidationConfig 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 ApplicationGatewayEntraJwtValidationConfig. + * @throws IOException If an error occurs while reading the ApplicationGatewayEntraJWTValidationConfig. */ - public static ApplicationGatewayEntraJwtValidationConfig fromJson(JsonReader jsonReader) throws IOException { + public static ApplicationGatewayEntraJWTValidationConfig fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ApplicationGatewayEntraJwtValidationConfig deserializedApplicationGatewayEntraJwtValidationConfig - = new ApplicationGatewayEntraJwtValidationConfig(); + ApplicationGatewayEntraJWTValidationConfig deserializedApplicationGatewayEntraJWTValidationConfig + = new ApplicationGatewayEntraJWTValidationConfig(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedApplicationGatewayEntraJwtValidationConfig.withId(reader.getString()); + deserializedApplicationGatewayEntraJWTValidationConfig.withId(reader.getString()); } else if ("properties".equals(fieldName)) { - deserializedApplicationGatewayEntraJwtValidationConfig.innerProperties - = ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.fromJson(reader); + deserializedApplicationGatewayEntraJWTValidationConfig.innerProperties + = ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedApplicationGatewayEntraJwtValidationConfig.name = reader.getString(); + deserializedApplicationGatewayEntraJWTValidationConfig.name = reader.getString(); } else if ("etag".equals(fieldName)) { - deserializedApplicationGatewayEntraJwtValidationConfig.etag = reader.getString(); + deserializedApplicationGatewayEntraJWTValidationConfig.etag = reader.getString(); } else { reader.skipChildren(); } } - return deserializedApplicationGatewayEntraJwtValidationConfig; + return deserializedApplicationGatewayEntraJWTValidationConfig; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java index 16c4759b7e33..e382824b69ea 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java index b657b3da798c..5f5b27aeb091 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -116,6 +116,16 @@ public void validate() { .log(new IllegalArgumentException( "Missing required property matchVariable in model ApplicationGatewayFirewallExclusion")); } + if (selectorMatchOperator() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property selectorMatchOperator in model ApplicationGatewayFirewallExclusion")); + } + if (selector() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property selector in model ApplicationGatewayFirewallExclusion")); + } } private static final ClientLogger LOGGER = new ClientLogger(ApplicationGatewayFirewallExclusion.class); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java index 51b5b39cfc45..901fa9838ce1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -16,7 +16,7 @@ /** * Properties of the web application firewall rule set. */ -@Fluent +@Immutable public final class ApplicationGatewayFirewallManifestRuleSet implements JsonSerializable { /* @@ -47,7 +47,7 @@ public final class ApplicationGatewayFirewallManifestRuleSet /** * Creates an instance of ApplicationGatewayFirewallManifestRuleSet class. */ - public ApplicationGatewayFirewallManifestRuleSet() { + private ApplicationGatewayFirewallManifestRuleSet() { } /** @@ -59,17 +59,6 @@ public String ruleSetType() { return this.ruleSetType; } - /** - * Set the ruleSetType property: The type of the web application firewall rule set. - * - * @param ruleSetType the ruleSetType value to set. - * @return the ApplicationGatewayFirewallManifestRuleSet object itself. - */ - public ApplicationGatewayFirewallManifestRuleSet withRuleSetType(String ruleSetType) { - this.ruleSetType = ruleSetType; - return this; - } - /** * Get the ruleSetVersion property: The version of the web application firewall rule set type. * @@ -79,17 +68,6 @@ public String ruleSetVersion() { return this.ruleSetVersion; } - /** - * Set the ruleSetVersion property: The version of the web application firewall rule set type. - * - * @param ruleSetVersion the ruleSetVersion value to set. - * @return the ApplicationGatewayFirewallManifestRuleSet object itself. - */ - public ApplicationGatewayFirewallManifestRuleSet withRuleSetVersion(String ruleSetVersion) { - this.ruleSetVersion = ruleSetVersion; - return this; - } - /** * Get the status property: The rule set status. * @@ -99,17 +77,6 @@ public ApplicationGatewayRuleSetStatusOptions status() { return this.status; } - /** - * Set the status property: The rule set status. - * - * @param status the status value to set. - * @return the ApplicationGatewayFirewallManifestRuleSet object itself. - */ - public ApplicationGatewayFirewallManifestRuleSet withStatus(ApplicationGatewayRuleSetStatusOptions status) { - this.status = status; - return this; - } - /** * Get the tiers property: Tier of an application gateway that support the rule set. * @@ -119,17 +86,6 @@ public List tiers() { return this.tiers; } - /** - * Set the tiers property: Tier of an application gateway that support the rule set. - * - * @param tiers the tiers value to set. - * @return the ApplicationGatewayFirewallManifestRuleSet object itself. - */ - public ApplicationGatewayFirewallManifestRuleSet withTiers(List tiers) { - this.tiers = tiers; - return this; - } - /** * Get the ruleGroups property: The rule groups of the web application firewall rule set. * @@ -139,18 +95,6 @@ public List ruleGroups() { return this.ruleGroups; } - /** - * Set the ruleGroups property: The rule groups of the web application firewall rule set. - * - * @param ruleGroups the ruleGroups value to set. - * @return the ApplicationGatewayFirewallManifestRuleSet object itself. - */ - public ApplicationGatewayFirewallManifestRuleSet - withRuleGroups(List ruleGroups) { - this.ruleGroups = ruleGroups; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java index 350a5f7b88f0..7d9459f13909 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ApplicationGatewayFirewallMode extends ExpandableStringEnum { /** - * Static value Detection for ApplicationGatewayFirewallMode. + * Detection. */ public static final ApplicationGatewayFirewallMode DETECTION = fromString("Detection"); /** - * Static value Prevention for ApplicationGatewayFirewallMode. + * Prevention. */ public static final ApplicationGatewayFirewallMode PREVENTION = fromString("Prevention"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java index 9f5dbea1a187..c84b04a4ed6b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class ApplicationGatewayFirewallRateLimitDuration extends ExpandableStringEnum { /** - * Static value OneMin for ApplicationGatewayFirewallRateLimitDuration. + * OneMin. */ public static final ApplicationGatewayFirewallRateLimitDuration ONE_MIN = fromString("OneMin"); /** - * Static value FiveMins for ApplicationGatewayFirewallRateLimitDuration. + * FiveMins. */ public static final ApplicationGatewayFirewallRateLimitDuration FIVE_MINS = fromString("FiveMins"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java index 13c8b2e728c3..be1805e37bac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * A web application firewall rule. */ -@Fluent +@Immutable public final class ApplicationGatewayFirewallRule implements JsonSerializable { /* * The identifier of the web application firewall rule. @@ -49,7 +49,7 @@ public final class ApplicationGatewayFirewallRule implements JsonSerializable { /* @@ -37,7 +37,7 @@ public final class ApplicationGatewayFirewallRuleGroup /** * Creates an instance of ApplicationGatewayFirewallRuleGroup class. */ - public ApplicationGatewayFirewallRuleGroup() { + private ApplicationGatewayFirewallRuleGroup() { } /** @@ -49,17 +49,6 @@ public String ruleGroupName() { return this.ruleGroupName; } - /** - * Set the ruleGroupName property: The name of the web application firewall rule group. - * - * @param ruleGroupName the ruleGroupName value to set. - * @return the ApplicationGatewayFirewallRuleGroup object itself. - */ - public ApplicationGatewayFirewallRuleGroup withRuleGroupName(String ruleGroupName) { - this.ruleGroupName = ruleGroupName; - return this; - } - /** * Get the description property: The description of the web application firewall rule group. * @@ -69,17 +58,6 @@ public String description() { return this.description; } - /** - * Set the description property: The description of the web application firewall rule group. - * - * @param description the description value to set. - * @return the ApplicationGatewayFirewallRuleGroup object itself. - */ - public ApplicationGatewayFirewallRuleGroup withDescription(String description) { - this.description = description; - return this; - } - /** * Get the rules property: The rules of the web application firewall rule group. * @@ -89,17 +67,6 @@ public List rules() { return this.rules; } - /** - * Set the rules property: The rules of the web application firewall rule group. - * - * @param rules the rules value to set. - * @return the ApplicationGatewayFirewallRuleGroup object itself. - */ - public ApplicationGatewayFirewallRuleGroup withRules(List rules) { - this.rules = rules; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java index 0a6fbe904934..371dcf20c2b1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.Resource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -17,7 +17,7 @@ /** * A web application firewall rule set. */ -@Fluent +@Immutable public final class ApplicationGatewayFirewallRuleSet extends Resource { /* * Properties of the application gateway firewall rule set. @@ -42,7 +42,7 @@ public final class ApplicationGatewayFirewallRuleSet extends Resource { /** * Creates an instance of ApplicationGatewayFirewallRuleSet class. */ - public ApplicationGatewayFirewallRuleSet() { + private ApplicationGatewayFirewallRuleSet() { } /** @@ -63,17 +63,6 @@ public String id() { return this.id; } - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the ApplicationGatewayFirewallRuleSet object itself. - */ - public ApplicationGatewayFirewallRuleSet withId(String id) { - this.id = id; - return this; - } - /** * Get the type property: The type of the resource. * @@ -94,30 +83,12 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public ApplicationGatewayFirewallRuleSet withLocation(String location) { - super.withLocation(location); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ApplicationGatewayFirewallRuleSet withTags(Map tags) { - super.withTags(tags); - return this; - } - /** * Get the provisioningState property: The provisioning state of the web application firewall rule set. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -130,20 +101,6 @@ public String ruleSetType() { return this.innerProperties() == null ? null : this.innerProperties().ruleSetType(); } - /** - * Set the ruleSetType property: The type of the web application firewall rule set. - * - * @param ruleSetType the ruleSetType value to set. - * @return the ApplicationGatewayFirewallRuleSet object itself. - */ - public ApplicationGatewayFirewallRuleSet withRuleSetType(String ruleSetType) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFirewallRuleSetPropertiesFormat(); - } - this.innerProperties().withRuleSetType(ruleSetType); - return this; - } - /** * Get the ruleSetVersion property: The version of the web application firewall rule set type. * @@ -153,20 +110,6 @@ public String ruleSetVersion() { return this.innerProperties() == null ? null : this.innerProperties().ruleSetVersion(); } - /** - * Set the ruleSetVersion property: The version of the web application firewall rule set type. - * - * @param ruleSetVersion the ruleSetVersion value to set. - * @return the ApplicationGatewayFirewallRuleSet object itself. - */ - public ApplicationGatewayFirewallRuleSet withRuleSetVersion(String ruleSetVersion) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFirewallRuleSetPropertiesFormat(); - } - this.innerProperties().withRuleSetVersion(ruleSetVersion); - return this; - } - /** * Get the ruleGroups property: The rule groups of the web application firewall rule set. * @@ -176,20 +119,6 @@ public List ruleGroups() { return this.innerProperties() == null ? null : this.innerProperties().ruleGroups(); } - /** - * Set the ruleGroups property: The rule groups of the web application firewall rule set. - * - * @param ruleGroups the ruleGroups value to set. - * @return the ApplicationGatewayFirewallRuleSet object itself. - */ - public ApplicationGatewayFirewallRuleSet withRuleGroups(List ruleGroups) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFirewallRuleSetPropertiesFormat(); - } - this.innerProperties().withRuleGroups(ruleGroups); - return this; - } - /** * Get the tiers property: Tier of an application gateway that support the rule set. * @@ -199,20 +128,6 @@ public List tiers() { return this.innerProperties() == null ? null : this.innerProperties().tiers(); } - /** - * Set the tiers property: Tier of an application gateway that support the rule set. - * - * @param tiers the tiers value to set. - * @return the ApplicationGatewayFirewallRuleSet object itself. - */ - public ApplicationGatewayFirewallRuleSet withTiers(List tiers) { - if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFirewallRuleSetPropertiesFormat(); - } - this.innerProperties().withTiers(tiers); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java index cc3376eccecf..f9582f11f1fc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,28 +13,28 @@ public final class ApplicationGatewayFirewallUserSessionVariable extends ExpandableStringEnum { /** - * Static value ClientAddr for ApplicationGatewayFirewallUserSessionVariable. + * ClientAddr. */ public static final ApplicationGatewayFirewallUserSessionVariable CLIENT_ADDR = fromString("ClientAddr"); /** - * Static value GeoLocation for ApplicationGatewayFirewallUserSessionVariable. + * GeoLocation. */ public static final ApplicationGatewayFirewallUserSessionVariable GEO_LOCATION = fromString("GeoLocation"); /** - * Static value None for ApplicationGatewayFirewallUserSessionVariable. + * None. */ public static final ApplicationGatewayFirewallUserSessionVariable NONE = fromString("None"); /** - * Static value ClientAddrXFFHeader for ApplicationGatewayFirewallUserSessionVariable. + * ClientAddrXFFHeader. */ public static final ApplicationGatewayFirewallUserSessionVariable CLIENT_ADDR_XFFHEADER = fromString("ClientAddrXFFHeader"); /** - * Static value GeoLocationXFFHeader for ApplicationGatewayFirewallUserSessionVariable. + * GeoLocationXFFHeader. */ public static final ApplicationGatewayFirewallUserSessionVariable GEO_LOCATION_XFFHEADER = fromString("GeoLocationXFFHeader"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java index b0524b202134..5a9e67c3ca07 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -15,7 +15,7 @@ /** * Defines an application gateway for containers reference. */ -@Fluent +@Immutable public final class ApplicationGatewayForContainersReferenceDefinition implements JsonSerializable { /* @@ -26,7 +26,7 @@ public final class ApplicationGatewayForContainersReferenceDefinition /** * Creates an instance of ApplicationGatewayForContainersReferenceDefinition class. */ - public ApplicationGatewayForContainersReferenceDefinition() { + private ApplicationGatewayForContainersReferenceDefinition() { } /** @@ -38,17 +38,6 @@ public String id() { return this.id; } - /** - * Set the id property: Resource Id of the application gateway for containers. - * - * @param id the id value to set. - * @return the ApplicationGatewayForContainersReferenceDefinition object itself. - */ - public ApplicationGatewayForContainersReferenceDefinition withId(String id) { - this.id = id; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java index a8347973e441..6a8db5d2539e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayFrontendIpConfigurationPropertiesFormat; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayFrontendIPConfigurationPropertiesFormat; import java.io.IOException; /** @@ -20,7 +20,7 @@ public final class ApplicationGatewayFrontendIpConfiguration extends SubResource /* * Properties of the application gateway frontend IP configuration. */ - private ApplicationGatewayFrontendIpConfigurationPropertiesFormat innerProperties; + private ApplicationGatewayFrontendIPConfigurationPropertiesFormat innerProperties; /* * Name of the frontend IP configuration that is unique within an Application Gateway. @@ -48,7 +48,7 @@ public ApplicationGatewayFrontendIpConfiguration() { * * @return the innerProperties value. */ - private ApplicationGatewayFrontendIpConfigurationPropertiesFormat innerProperties() { + private ApplicationGatewayFrontendIPConfigurationPropertiesFormat innerProperties() { return this.innerProperties; } @@ -116,7 +116,7 @@ public String privateIpAddress() { */ public ApplicationGatewayFrontendIpConfiguration withPrivateIpAddress(String privateIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); } this.innerProperties().withPrivateIpAddress(privateIpAddress); return this; @@ -140,7 +140,7 @@ public IpAllocationMethod privateIpAllocationMethod() { public ApplicationGatewayFrontendIpConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -163,7 +163,7 @@ public SubResource subnet() { */ public ApplicationGatewayFrontendIpConfiguration withSubnet(SubResource subnet) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); } this.innerProperties().withSubnet(subnet); return this; @@ -186,7 +186,7 @@ public SubResource publicIpAddress() { */ public ApplicationGatewayFrontendIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -210,7 +210,7 @@ public SubResource privateLinkConfiguration() { public ApplicationGatewayFrontendIpConfiguration withPrivateLinkConfiguration(SubResource privateLinkConfiguration) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); } this.innerProperties().withPrivateLinkConfiguration(privateLinkConfiguration); return this; @@ -221,7 +221,7 @@ public SubResource privateLinkConfiguration() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -268,7 +268,7 @@ public static ApplicationGatewayFrontendIpConfiguration fromJson(JsonReader json deserializedApplicationGatewayFrontendIpConfiguration.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedApplicationGatewayFrontendIpConfiguration.innerProperties - = ApplicationGatewayFrontendIpConfigurationPropertiesFormat.fromJson(reader); + = ApplicationGatewayFrontendIPConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedApplicationGatewayFrontendIpConfiguration.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java index f5b06ad56fd7..016481bdcce2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -127,7 +127,7 @@ public ApplicationGatewayFrontendPort withPort(Integer port) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java index 65af7ac699d0..1b253cf63db2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java index bb121c3a2e57..08387577eba4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java index 6374cb321f03..ed4ebc3c2c8e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -268,7 +268,7 @@ public ApplicationGatewayHttpListener withRequireServerNameIndication(Boolean re * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java index 1fbfc9b0bc65..617e1df1a268 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,17 +13,17 @@ public final class ApplicationGatewayLoadDistributionAlgorithm extends ExpandableStringEnum { /** - * Static value RoundRobin for ApplicationGatewayLoadDistributionAlgorithm. + * RoundRobin. */ public static final ApplicationGatewayLoadDistributionAlgorithm ROUND_ROBIN = fromString("RoundRobin"); /** - * Static value LeastConnections for ApplicationGatewayLoadDistributionAlgorithm. + * LeastConnections. */ public static final ApplicationGatewayLoadDistributionAlgorithm LEAST_CONNECTIONS = fromString("LeastConnections"); /** - * Static value IpHash for ApplicationGatewayLoadDistributionAlgorithm. + * IpHash. */ public static final ApplicationGatewayLoadDistributionAlgorithm IP_HASH = fromString("IpHash"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java index 3b2cd98268d6..f99d83cd85d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -153,7 +153,7 @@ public ApplicationGatewayLoadDistributionAlgorithm loadDistributionAlgorithm() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java index 463bfafbdb3c..afe758b3b6fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java index 215a43667f5d..8d72bddcfd93 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java index 240ff9e7df66..e3bc47cded46 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class ApplicationGatewayOperationalState extends ExpandableStringEnum { /** - * Static value Stopped for ApplicationGatewayOperationalState. + * Stopped. */ public static final ApplicationGatewayOperationalState STOPPED = fromString("Stopped"); /** - * Static value Starting for ApplicationGatewayOperationalState. + * Starting. */ public static final ApplicationGatewayOperationalState STARTING = fromString("Starting"); /** - * Static value Running for ApplicationGatewayOperationalState. + * Running. */ public static final ApplicationGatewayOperationalState RUNNING = fromString("Running"); /** - * Static value Stopping for ApplicationGatewayOperationalState. + * Stopping. */ public static final ApplicationGatewayOperationalState STOPPING = fromString("Stopping"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java index 57c5874f7883..443394ecf1d1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -129,7 +129,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java index 80e43e96122c..b7d57b9267cb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -100,25 +100,25 @@ public ApplicationGatewayPrivateLinkIpConfiguration withId(String id) { } /** - * Get the privateIpAddress property: The private IP address of the IP configuration. + * Get the privateIPAddress property: The private IP address of the IP configuration. * - * @return the privateIpAddress value. + * @return the privateIPAddress value. */ - public String privateIpAddress() { - return this.innerProperties() == null ? null : this.innerProperties().privateIpAddress(); + public String privateIPAddress() { + return this.innerProperties() == null ? null : this.innerProperties().privateIPAddress(); } /** - * Set the privateIpAddress property: The private IP address of the IP configuration. + * Set the privateIPAddress property: The private IP address of the IP configuration. * - * @param privateIpAddress the privateIpAddress value to set. + * @param privateIPAddress the privateIPAddress value to set. * @return the ApplicationGatewayPrivateLinkIpConfiguration object itself. */ - public ApplicationGatewayPrivateLinkIpConfiguration withPrivateIpAddress(String privateIpAddress) { + public ApplicationGatewayPrivateLinkIpConfiguration withPrivateIPAddress(String privateIPAddress) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayPrivateLinkIpConfigurationProperties(); } - this.innerProperties().withPrivateIpAddress(privateIpAddress); + this.innerProperties().withPrivateIPAddress(privateIPAddress); return this; } @@ -198,7 +198,7 @@ public ApplicationGatewayPrivateLinkIpConfiguration withPrimary(Boolean primary) * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java index b8511c3716e4..f23bf6043216 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java index 386bbd17f421..0d284993158a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class ApplicationGatewayProtocol extends ExpandableStringEnum { /** - * Static value Http for ApplicationGatewayProtocol. + * Supported for httpListeners and backendHttpSettingsCollection properties. */ public static final ApplicationGatewayProtocol HTTP = fromString("Http"); /** - * Static value Https for ApplicationGatewayProtocol. + * Supported for httpListeners and backendHttpSettingsCollection properties. */ public static final ApplicationGatewayProtocol HTTPS = fromString("Https"); /** - * Static value Tcp for ApplicationGatewayProtocol. + * Supported for listeners and backendSettingsCollection properties. */ public static final ApplicationGatewayProtocol TCP = fromString("Tcp"); /** - * Static value Tls for ApplicationGatewayProtocol. + * Supported for listeners and backendSettingsCollection properties. */ public static final ApplicationGatewayProtocol TLS = fromString("Tls"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java index 9ee51f472001..a538b734abb5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class ApplicationGatewayRedirectType extends ExpandableStringEnum { /** - * Static value Permanent for ApplicationGatewayRedirectType. + * Permanent. */ public static final ApplicationGatewayRedirectType PERMANENT = fromString("Permanent"); /** - * Static value Found for ApplicationGatewayRedirectType. + * Found. */ public static final ApplicationGatewayRedirectType FOUND = fromString("Found"); /** - * Static value SeeOther for ApplicationGatewayRedirectType. + * SeeOther. */ public static final ApplicationGatewayRedirectType SEE_OTHER = fromString("SeeOther"); /** - * Static value Temporary for ApplicationGatewayRedirectType. + * Temporary. */ public static final ApplicationGatewayRedirectType TEMPORARY = fromString("Temporary"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java index e2f0d6a02fdd..a0511b8e9841 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class ApplicationGatewayRequestRoutingRuleType extends ExpandableStringEnum { /** - * Static value Basic for ApplicationGatewayRequestRoutingRuleType. + * Basic. */ public static final ApplicationGatewayRequestRoutingRuleType BASIC = fromString("Basic"); /** - * Static value PathBasedRouting for ApplicationGatewayRequestRoutingRuleType. + * PathBasedRouting. */ public static final ApplicationGatewayRequestRoutingRuleType PATH_BASED_ROUTING = fromString("PathBasedRouting"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java index c2829bf39add..da773e3c3ce1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java index 23cb249b4e53..9c2334a86e01 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java index bec5fe316562..67f6d947b4df 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java index 264889084181..f0825d22e2f5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -114,7 +114,7 @@ public ApplicationGatewayRewriteRuleSet withRewriteRules(List { /** - * Static value Preview for ApplicationGatewayRuleSetStatusOptions. + * Preview. */ public static final ApplicationGatewayRuleSetStatusOptions PREVIEW = fromString("Preview"); /** - * Static value GA for ApplicationGatewayRuleSetStatusOptions. + * GA. */ public static final ApplicationGatewayRuleSetStatusOptions GA = fromString("GA"); /** - * Static value Supported for ApplicationGatewayRuleSetStatusOptions. + * Supported. */ public static final ApplicationGatewayRuleSetStatusOptions SUPPORTED = fromString("Supported"); /** - * Static value Deprecated for ApplicationGatewayRuleSetStatusOptions. + * Deprecated. */ public static final ApplicationGatewayRuleSetStatusOptions DEPRECATED = fromString("Deprecated"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java index 68555fab3f09..6732d01e8dbd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java index e2b6f63d6dac..895e19b6aa52 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ApplicationGatewaySkuFamily extends ExpandableStringEnum { /** - * Static value Generation_1 for ApplicationGatewaySkuFamily. + * Generation_1. */ public static final ApplicationGatewaySkuFamily GENERATION_1 = fromString("Generation_1"); /** - * Static value Generation_2 for ApplicationGatewaySkuFamily. + * Generation_2. */ public static final ApplicationGatewaySkuFamily GENERATION_2 = fromString("Generation_2"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java index 75d2ed8d0310..6c49b616b501 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,42 +12,42 @@ */ public final class ApplicationGatewaySkuName extends ExpandableStringEnum { /** - * Static value Standard_Small for ApplicationGatewaySkuName. + * Standard_Small. */ public static final ApplicationGatewaySkuName STANDARD_SMALL = fromString("Standard_Small"); /** - * Static value Standard_Medium for ApplicationGatewaySkuName. + * Standard_Medium. */ public static final ApplicationGatewaySkuName STANDARD_MEDIUM = fromString("Standard_Medium"); /** - * Static value Standard_Large for ApplicationGatewaySkuName. + * Standard_Large. */ public static final ApplicationGatewaySkuName STANDARD_LARGE = fromString("Standard_Large"); /** - * Static value WAF_Medium for ApplicationGatewaySkuName. + * WAF_Medium. */ public static final ApplicationGatewaySkuName WAF_MEDIUM = fromString("WAF_Medium"); /** - * Static value WAF_Large for ApplicationGatewaySkuName. + * WAF_Large. */ public static final ApplicationGatewaySkuName WAF_LARGE = fromString("WAF_Large"); /** - * Static value Standard_v2 for ApplicationGatewaySkuName. + * Standard_v2. */ public static final ApplicationGatewaySkuName STANDARD_V2 = fromString("Standard_v2"); /** - * Static value WAF_v2 for ApplicationGatewaySkuName. + * WAF_v2. */ public static final ApplicationGatewaySkuName WAF_V2 = fromString("WAF_v2"); /** - * Static value Basic for ApplicationGatewaySkuName. + * Basic. */ public static final ApplicationGatewaySkuName BASIC = fromString("Basic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java index 584f48bd5075..e348fb16199f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,169 +12,169 @@ */ public final class ApplicationGatewaySslCipherSuite extends ExpandableStringEnum { /** - * Static value TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 = fromString("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"); /** - * Static value TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = fromString("TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"); /** - * Static value TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = fromString("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"); /** - * Static value TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = fromString("TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"); /** - * Static value TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 for ApplicationGatewaySslCipherSuite. + * TLS_DHE_RSA_WITH_AES_256_GCM_SHA384. */ public static final ApplicationGatewaySslCipherSuite TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 = fromString("TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"); /** - * Static value TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 for ApplicationGatewaySslCipherSuite. + * TLS_DHE_RSA_WITH_AES_128_GCM_SHA256. */ public static final ApplicationGatewaySslCipherSuite TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 = fromString("TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"); /** - * Static value TLS_DHE_RSA_WITH_AES_256_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_DHE_RSA_WITH_AES_256_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_DHE_RSA_WITH_AES_256_CBC_SHA = fromString("TLS_DHE_RSA_WITH_AES_256_CBC_SHA"); /** - * Static value TLS_DHE_RSA_WITH_AES_128_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_DHE_RSA_WITH_AES_128_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_DHE_RSA_WITH_AES_128_CBC_SHA = fromString("TLS_DHE_RSA_WITH_AES_128_CBC_SHA"); /** - * Static value TLS_RSA_WITH_AES_256_GCM_SHA384 for ApplicationGatewaySslCipherSuite. + * TLS_RSA_WITH_AES_256_GCM_SHA384. */ public static final ApplicationGatewaySslCipherSuite TLS_RSA_WITH_AES_256_GCM_SHA384 = fromString("TLS_RSA_WITH_AES_256_GCM_SHA384"); /** - * Static value TLS_RSA_WITH_AES_128_GCM_SHA256 for ApplicationGatewaySslCipherSuite. + * TLS_RSA_WITH_AES_128_GCM_SHA256. */ public static final ApplicationGatewaySslCipherSuite TLS_RSA_WITH_AES_128_GCM_SHA256 = fromString("TLS_RSA_WITH_AES_128_GCM_SHA256"); /** - * Static value TLS_RSA_WITH_AES_256_CBC_SHA256 for ApplicationGatewaySslCipherSuite. + * TLS_RSA_WITH_AES_256_CBC_SHA256. */ public static final ApplicationGatewaySslCipherSuite TLS_RSA_WITH_AES_256_CBC_SHA256 = fromString("TLS_RSA_WITH_AES_256_CBC_SHA256"); /** - * Static value TLS_RSA_WITH_AES_128_CBC_SHA256 for ApplicationGatewaySslCipherSuite. + * TLS_RSA_WITH_AES_128_CBC_SHA256. */ public static final ApplicationGatewaySslCipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256 = fromString("TLS_RSA_WITH_AES_128_CBC_SHA256"); /** - * Static value TLS_RSA_WITH_AES_256_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_RSA_WITH_AES_256_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_RSA_WITH_AES_256_CBC_SHA = fromString("TLS_RSA_WITH_AES_256_CBC_SHA"); /** - * Static value TLS_RSA_WITH_AES_128_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_RSA_WITH_AES_128_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_RSA_WITH_AES_128_CBC_SHA = fromString("TLS_RSA_WITH_AES_128_CBC_SHA"); /** - * Static value TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = fromString("TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"); /** - * Static value TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = fromString("TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"); /** - * Static value TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 = fromString("TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"); /** - * Static value TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = fromString("TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"); /** - * Static value TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = fromString("TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"); /** - * Static value TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = fromString("TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"); /** - * Static value TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 for ApplicationGatewaySslCipherSuite. + * TLS_DHE_DSS_WITH_AES_256_CBC_SHA256. */ public static final ApplicationGatewaySslCipherSuite TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = fromString("TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"); /** - * Static value TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 for ApplicationGatewaySslCipherSuite. + * TLS_DHE_DSS_WITH_AES_128_CBC_SHA256. */ public static final ApplicationGatewaySslCipherSuite TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = fromString("TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"); /** - * Static value TLS_DHE_DSS_WITH_AES_256_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_DHE_DSS_WITH_AES_256_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_DHE_DSS_WITH_AES_256_CBC_SHA = fromString("TLS_DHE_DSS_WITH_AES_256_CBC_SHA"); /** - * Static value TLS_DHE_DSS_WITH_AES_128_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_DHE_DSS_WITH_AES_128_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_DHE_DSS_WITH_AES_128_CBC_SHA = fromString("TLS_DHE_DSS_WITH_AES_128_CBC_SHA"); /** - * Static value TLS_RSA_WITH_3DES_EDE_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_RSA_WITH_3DES_EDE_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_RSA_WITH_3DES_EDE_CBC_SHA = fromString("TLS_RSA_WITH_3DES_EDE_CBC_SHA"); /** - * Static value TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA for ApplicationGatewaySslCipherSuite. + * TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA. */ public static final ApplicationGatewaySslCipherSuite TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = fromString("TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"); /** - * Static value TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = fromString("TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"); /** - * Static value TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 for ApplicationGatewaySslCipherSuite. + * TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384. */ public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = fromString("TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java index 7e9e43fcd58d..90582839ca47 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java index d2dc811b936c..4e13dcffdf4e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,31 +12,31 @@ */ public final class ApplicationGatewaySslPolicyName extends ExpandableStringEnum { /** - * Static value AppGwSslPolicy20150501 for ApplicationGatewaySslPolicyName. + * AppGwSslPolicy20150501. */ public static final ApplicationGatewaySslPolicyName APP_GW_SSL_POLICY20150501 = fromString("AppGwSslPolicy20150501"); /** - * Static value AppGwSslPolicy20170401 for ApplicationGatewaySslPolicyName. + * AppGwSslPolicy20170401. */ public static final ApplicationGatewaySslPolicyName APP_GW_SSL_POLICY20170401 = fromString("AppGwSslPolicy20170401"); /** - * Static value AppGwSslPolicy20170401S for ApplicationGatewaySslPolicyName. + * AppGwSslPolicy20170401S. */ public static final ApplicationGatewaySslPolicyName APP_GW_SSL_POLICY20170401S = fromString("AppGwSslPolicy20170401S"); /** - * Static value AppGwSslPolicy20220101 for ApplicationGatewaySslPolicyName. + * AppGwSslPolicy20220101. */ public static final ApplicationGatewaySslPolicyName APP_GW_SSL_POLICY20220101 = fromString("AppGwSslPolicy20220101"); /** - * Static value AppGwSslPolicy20220101S for ApplicationGatewaySslPolicyName. + * AppGwSslPolicy20220101S. */ public static final ApplicationGatewaySslPolicyName APP_GW_SSL_POLICY20220101S = fromString("AppGwSslPolicy20220101S"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java index 0186bdce2ae3..953aa883833a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class ApplicationGatewaySslPolicyType extends ExpandableStringEnum { /** - * Static value Predefined for ApplicationGatewaySslPolicyType. + * Predefined. */ public static final ApplicationGatewaySslPolicyType PREDEFINED = fromString("Predefined"); /** - * Static value Custom for ApplicationGatewaySslPolicyType. + * Custom. */ public static final ApplicationGatewaySslPolicyType CUSTOM = fromString("Custom"); /** - * Static value CustomV2 for ApplicationGatewaySslPolicyType. + * CustomV2. */ public static final ApplicationGatewaySslPolicyType CUSTOM_V2 = fromString("CustomV2"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java index 39a091e6f21f..e57ad036804e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -179,7 +179,7 @@ public ApplicationGatewayClientAuthConfiguration clientAuthConfiguration() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java index 68079caa3324..dc4febe5a420 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class ApplicationGatewaySslProtocol extends ExpandableStringEnum { /** - * Static value TLSv1_0 for ApplicationGatewaySslProtocol. + * TLSv1_0. */ public static final ApplicationGatewaySslProtocol TLSV1_0 = fromString("TLSv1_0"); /** - * Static value TLSv1_1 for ApplicationGatewaySslProtocol. + * TLSv1_1. */ public static final ApplicationGatewaySslProtocol TLSV1_1 = fromString("TLSv1_1"); /** - * Static value TLSv1_2 for ApplicationGatewaySslProtocol. + * TLSv1_2. */ public static final ApplicationGatewaySslProtocol TLSV1_2 = fromString("TLSv1_2"); /** - * Static value TLSv1_3 for ApplicationGatewaySslProtocol. + * TLSv1_3. */ public static final ApplicationGatewaySslProtocol TLSV1_3 = fromString("TLSv1_3"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java index b6be970f364b..629c50166bba 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class ApplicationGatewayTier extends ExpandableStringEnum { /** - * Static value Standard for ApplicationGatewayTier. + * Standard. */ public static final ApplicationGatewayTier STANDARD = fromString("Standard"); /** - * Static value WAF for ApplicationGatewayTier. + * WAF. */ public static final ApplicationGatewayTier WAF = fromString("WAF"); /** - * Static value Standard_v2 for ApplicationGatewayTier. + * Standard_v2. */ public static final ApplicationGatewayTier STANDARD_V2 = fromString("Standard_v2"); /** - * Static value WAF_v2 for ApplicationGatewayTier. + * WAF_v2. */ public static final ApplicationGatewayTier WAF_V2 = fromString("WAF_v2"); /** - * Static value Basic for ApplicationGatewayTier. + * Basic. */ public static final ApplicationGatewayTier BASIC = fromString("Basic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java index 93f40b4ba0e0..c37ce23ea1b5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class ApplicationGatewayTierTypes extends ExpandableStringEnum { /** - * Static value Standard for ApplicationGatewayTierTypes. + * Standard. */ public static final ApplicationGatewayTierTypes STANDARD = fromString("Standard"); /** - * Static value WAF for ApplicationGatewayTierTypes. + * WAF. */ public static final ApplicationGatewayTierTypes WAF = fromString("WAF"); /** - * Static value Standard_v2 for ApplicationGatewayTierTypes. + * Standard_v2. */ public static final ApplicationGatewayTierTypes STANDARD_V2 = fromString("Standard_v2"); /** - * Static value WAF_v2 for ApplicationGatewayTierTypes. + * WAF_v2. */ public static final ApplicationGatewayTierTypes WAF_V2 = fromString("WAF_v2"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java index 7d3675ad1348..2b659ff74509 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -145,7 +145,7 @@ public String clientCertIssuerDN() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java index 05c616abb7b7..0ba1af48f778 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -152,7 +152,7 @@ public ApplicationGatewayTrustedRootCertificate withKeyVaultSecretId(String keyV * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java index 55322e652ea9..578684260ca0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class ApplicationGatewayUnAuthorizedRequestAction extends ExpandableStringEnum { /** - * Static value Deny for ApplicationGatewayUnAuthorizedRequestAction. + * Deny. */ public static final ApplicationGatewayUnAuthorizedRequestAction DENY = fromString("Deny"); /** - * Static value Allow for ApplicationGatewayUnAuthorizedRequestAction. + * Allow. */ public static final ApplicationGatewayUnAuthorizedRequestAction ALLOW = fromString("Allow"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java index 13cab2748c83..5e61bf2da604 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java index 84a10aeb1c50..4df817cc8a26 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,27 +13,27 @@ public final class ApplicationGatewayWafRuleActionTypes extends ExpandableStringEnum { /** - * Static value None for ApplicationGatewayWafRuleActionTypes. + * None. */ public static final ApplicationGatewayWafRuleActionTypes NONE = fromString("None"); /** - * Static value AnomalyScoring for ApplicationGatewayWafRuleActionTypes. + * AnomalyScoring. */ public static final ApplicationGatewayWafRuleActionTypes ANOMALY_SCORING = fromString("AnomalyScoring"); /** - * Static value Allow for ApplicationGatewayWafRuleActionTypes. + * Allow. */ public static final ApplicationGatewayWafRuleActionTypes ALLOW = fromString("Allow"); /** - * Static value Block for ApplicationGatewayWafRuleActionTypes. + * Block. */ public static final ApplicationGatewayWafRuleActionTypes BLOCK = fromString("Block"); /** - * Static value Log for ApplicationGatewayWafRuleActionTypes. + * Log. */ public static final ApplicationGatewayWafRuleActionTypes LOG = fromString("Log"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java index b89d313ade9c..ec3556b9fdd6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,17 +13,17 @@ public final class ApplicationGatewayWafRuleSensitivityTypes extends ExpandableStringEnum { /** - * Static value Low for ApplicationGatewayWafRuleSensitivityTypes. + * Low. */ public static final ApplicationGatewayWafRuleSensitivityTypes LOW = fromString("Low"); /** - * Static value Medium for ApplicationGatewayWafRuleSensitivityTypes. + * Medium. */ public static final ApplicationGatewayWafRuleSensitivityTypes MEDIUM = fromString("Medium"); /** - * Static value High for ApplicationGatewayWafRuleSensitivityTypes. + * High. */ public static final ApplicationGatewayWafRuleSensitivityTypes HIGH = fromString("High"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java index a50f6b9f2f5b..0fd711d9d360 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class ApplicationGatewayWafRuleStateTypes extends ExpandableStringEnum { /** - * Static value Enabled for ApplicationGatewayWafRuleStateTypes. + * Enabled. */ public static final ApplicationGatewayWafRuleStateTypes ENABLED = fromString("Enabled"); /** - * Static value Disabled for ApplicationGatewayWafRuleStateTypes. + * Disabled. */ public static final ApplicationGatewayWafRuleStateTypes DISABLED = fromString("Disabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java index d815ed730195..bb08568d66a5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java index 8dbf902502d7..a8f717b18c89 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -59,7 +59,7 @@ public final class ApplicationRule extends FirewallPolicyRule { /* * Terminate TLS connections for this rule. */ - private Boolean terminateTls; + private Boolean terminateTLS; /* * List of destination azure web categories. @@ -228,22 +228,22 @@ public ApplicationRule withSourceIpGroups(List sourceIpGroups) { } /** - * Get the terminateTls property: Terminate TLS connections for this rule. + * Get the terminateTLS property: Terminate TLS connections for this rule. * - * @return the terminateTls value. + * @return the terminateTLS value. */ - public Boolean terminateTls() { - return this.terminateTls; + public Boolean terminateTLS() { + return this.terminateTLS; } /** - * Set the terminateTls property: Terminate TLS connections for this rule. + * Set the terminateTLS property: Terminate TLS connections for this rule. * - * @param terminateTls the terminateTls value to set. + * @param terminateTLS the terminateTLS value to set. * @return the ApplicationRule object itself. */ - public ApplicationRule withTerminateTls(Boolean terminateTls) { - this.terminateTls = terminateTls; + public ApplicationRule withTerminateTLS(Boolean terminateTLS) { + this.terminateTLS = terminateTLS; return this; } @@ -339,7 +339,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("fqdnTags", this.fqdnTags, (writer, element) -> writer.writeString(element)); jsonWriter.writeArrayField("sourceIpGroups", this.sourceIpGroups, (writer, element) -> writer.writeString(element)); - jsonWriter.writeBooleanField("terminateTLS", this.terminateTls); + jsonWriter.writeBooleanField("terminateTLS", this.terminateTLS); jsonWriter.writeArrayField("webCategories", this.webCategories, (writer, element) -> writer.writeString(element)); jsonWriter.writeArrayField("httpHeadersToInsert", this.httpHeadersToInsert, @@ -391,7 +391,7 @@ public static ApplicationRule fromJson(JsonReader jsonReader) throws IOException List sourceIpGroups = reader.readArray(reader1 -> reader1.getString()); deserializedApplicationRule.sourceIpGroups = sourceIpGroups; } else if ("terminateTLS".equals(fieldName)) { - deserializedApplicationRule.terminateTls = reader.getNullable(JsonReader::getBoolean); + deserializedApplicationRule.terminateTLS = reader.getNullable(JsonReader::getBoolean); } else if ("webCategories".equals(fieldName)) { List webCategories = reader.readArray(reader1 -> reader1.getString()); deserializedApplicationRule.webCategories = webCategories; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java index 8434fca73ad6..fca52d0bd11e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class AssociationAccessMode extends ExpandableStringEnum { /** - * Static value Learning for AssociationAccessMode. + * Learning. */ public static final AssociationAccessMode LEARNING = fromString("Learning"); /** - * Static value Enforced for AssociationAccessMode. + * Enforced. */ public static final AssociationAccessMode ENFORCED = fromString("Enforced"); /** - * Static value Audit for AssociationAccessMode. + * Audit. */ public static final AssociationAccessMode AUDIT = fromString("Audit"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AssociationType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AssociationType.java index 9a01e144d932..c211063b23f9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AssociationType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AssociationType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class AssociationType extends ExpandableStringEnum { /** - * Static value Associated for AssociationType. + * Associated. */ public static final AssociationType ASSOCIATED = fromString("Associated"); /** - * Static value Contains for AssociationType. + * Contains. */ public static final AssociationType CONTAINS = fromString("Contains"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java index 7e29cda38988..de577f376655 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class AuthenticationMethod extends ExpandableStringEnum { /** - * Static value EAPTLS for AuthenticationMethod. + * EAPTLS. */ public static final AuthenticationMethod EAPTLS = fromString("EAPTLS"); /** - * Static value EAPMSCHAPv2 for AuthenticationMethod. + * EAPMSCHAPv2. */ public static final AuthenticationMethod EAPMSCHAPV2 = fromString("EAPMSCHAPv2"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java index 503a660916bb..004baa6d028b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class AuthorizationUseStatus extends ExpandableStringEnum { /** - * Static value Available for AuthorizationUseStatus. + * Available. */ public static final AuthorizationUseStatus AVAILABLE = fromString("Available"); /** - * Static value InUse for AuthorizationUseStatus. + * InUse. */ public static final AuthorizationUseStatus IN_USE = fromString("InUse"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java index 004d7e0670ea..0960697dd45c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class AutoLearnPrivateRangesMode extends ExpandableStringEnum { /** - * Static value Enabled for AutoLearnPrivateRangesMode. + * Enabled. */ public static final AutoLearnPrivateRangesMode ENABLED = fromString("Enabled"); /** - * Static value Disabled for AutoLearnPrivateRangesMode. + * Disabled. */ public static final AutoLearnPrivateRangesMode DISABLED = fromString("Disabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Availability.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Availability.java index e1548f4552f2..3b8f25998f40 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Availability.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Availability.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Availability of the metric. */ -@Fluent +@Immutable public final class Availability implements JsonSerializable { /* * The time grain of the availability. @@ -34,7 +34,7 @@ public final class Availability implements JsonSerializable { /** * Creates an instance of Availability class. */ - public Availability() { + private Availability() { } /** @@ -46,17 +46,6 @@ public String timeGrain() { return this.timeGrain; } - /** - * Set the timeGrain property: The time grain of the availability. - * - * @param timeGrain the timeGrain value to set. - * @return the Availability object itself. - */ - public Availability withTimeGrain(String timeGrain) { - this.timeGrain = timeGrain; - return this; - } - /** * Get the retention property: The retention of the availability. * @@ -66,17 +55,6 @@ public String retention() { return this.retention; } - /** - * Set the retention property: The retention of the availability. - * - * @param retention the retention value to set. - * @return the Availability object itself. - */ - public Availability withRetention(String retention) { - this.retention = retention; - return this; - } - /** * Get the blobDuration property: Duration of the availability blob. * @@ -86,17 +64,6 @@ public String blobDuration() { return this.blobDuration; } - /** - * Set the blobDuration property: Duration of the availability blob. - * - * @param blobDuration the blobDuration value to set. - * @return the Availability object itself. - */ - public Availability withBlobDuration(String blobDuration) { - this.blobDuration = blobDuration; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java index 01715b1b7c14..4cfd7766c46c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * City or town details. */ -@Fluent +@Immutable public final class AvailableProvidersListCity implements JsonSerializable { /* * The city or town name. @@ -30,7 +30,7 @@ public final class AvailableProvidersListCity implements JsonSerializable providers() { return this.providers; } - /** - * Set the providers property: A list of Internet service providers. - * - * @param providers the providers value to set. - * @return the AvailableProvidersListCity object itself. - */ - public AvailableProvidersListCity withProviders(List providers) { - this.providers = providers; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java index 521078155cc7..992e3bdb21ad 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Country details. */ -@Fluent +@Immutable public final class AvailableProvidersListCountry implements JsonSerializable { /* * The country name. @@ -35,7 +35,7 @@ public final class AvailableProvidersListCountry implements JsonSerializable providers() { return this.providers; } - /** - * Set the providers property: A list of Internet service providers. - * - * @param providers the providers value to set. - * @return the AvailableProvidersListCountry object itself. - */ - public AvailableProvidersListCountry withProviders(List providers) { - this.providers = providers; - return this; - } - /** * Get the states property: List of available states in the country. * @@ -87,17 +65,6 @@ public List states() { return this.states; } - /** - * Set the states property: List of available states in the country. - * - * @param states the states value to set. - * @return the AvailableProvidersListCountry object itself. - */ - public AvailableProvidersListCountry withStates(List states) { - this.states = states; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java index 70e4e56da0f7..433379119cab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java index d5ba3d1b8771..5ebcd3db71c8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * State details. */ -@Fluent +@Immutable public final class AvailableProvidersListState implements JsonSerializable { /* * The state name. @@ -35,7 +35,7 @@ public final class AvailableProvidersListState implements JsonSerializable providers() { return this.providers; } - /** - * Set the providers property: A list of Internet service providers. - * - * @param providers the providers value to set. - * @return the AvailableProvidersListState object itself. - */ - public AvailableProvidersListState withProviders(List providers) { - this.providers = providers; - return this; - } - /** * Get the cities property: List of available cities or towns in the state. * @@ -87,17 +65,6 @@ public List cities() { return this.cities; } - /** - * Set the cities property: List of available cities or towns in the state. - * - * @param cities the cities value to set. - * @return the AvailableProvidersListState object itself. - */ - public AvailableProvidersListState withCities(List cities) { - this.cities = cities; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java index e2ec09fb4355..8bab2c99c8c4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java index d88591015b81..1d793059fb27 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -162,7 +162,7 @@ public AzureFirewallApplicationRuleCollection withRules(List { /** - * Static value Http for AzureFirewallApplicationRuleProtocolType. + * Http. */ public static final AzureFirewallApplicationRuleProtocolType HTTP = fromString("Http"); /** - * Static value Https for AzureFirewallApplicationRuleProtocolType. + * Https. */ public static final AzureFirewallApplicationRuleProtocolType HTTPS = fromString("Https"); /** - * Static value Mssql for AzureFirewallApplicationRuleProtocolType. + * Mssql. */ public static final AzureFirewallApplicationRuleProtocolType MSSQL = fromString("Mssql"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java index 1754f4210228..6dddd951020c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java index 688c62f3ab40..6508bd41bcb7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -9,18 +9,18 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.AzureFirewallIpConfigurationPropertiesFormat; +import com.azure.resourcemanager.network.fluent.models.AzureFirewallIPConfigurationPropertiesFormat; import java.io.IOException; /** * IP configuration of an Azure Firewall. */ @Fluent -public final class AzureFirewallIpConfiguration extends SubResource { +public final class AzureFirewallIPConfiguration extends SubResource { /* * Properties of the azure firewall IP configuration. */ - private AzureFirewallIpConfigurationPropertiesFormat innerProperties; + private AzureFirewallIPConfigurationPropertiesFormat innerProperties; /* * Name of the resource that is unique within a resource group. This name can be used to access the resource. @@ -38,9 +38,9 @@ public final class AzureFirewallIpConfiguration extends SubResource { private String type; /** - * Creates an instance of AzureFirewallIpConfiguration class. + * Creates an instance of AzureFirewallIPConfiguration class. */ - public AzureFirewallIpConfiguration() { + public AzureFirewallIPConfiguration() { } /** @@ -48,7 +48,7 @@ public AzureFirewallIpConfiguration() { * * @return the innerProperties value. */ - private AzureFirewallIpConfigurationPropertiesFormat innerProperties() { + private AzureFirewallIPConfigurationPropertiesFormat innerProperties() { return this.innerProperties; } @@ -67,9 +67,9 @@ public String name() { * access the resource. * * @param name the name value to set. - * @return the AzureFirewallIpConfiguration object itself. + * @return the AzureFirewallIPConfiguration object itself. */ - public AzureFirewallIpConfiguration withName(String name) { + public AzureFirewallIPConfiguration withName(String name) { this.name = name; return this; } @@ -96,7 +96,7 @@ public String type() { * {@inheritDoc} */ @Override - public AzureFirewallIpConfiguration withId(String id) { + public AzureFirewallIPConfiguration withId(String id) { super.withId(id); return this; } @@ -126,11 +126,11 @@ public SubResource subnet() { * 'AzureFirewallManagementSubnet'. * * @param subnet the subnet value to set. - * @return the AzureFirewallIpConfiguration object itself. + * @return the AzureFirewallIPConfiguration object itself. */ - public AzureFirewallIpConfiguration withSubnet(SubResource subnet) { + public AzureFirewallIPConfiguration withSubnet(SubResource subnet) { if (this.innerProperties() == null) { - this.innerProperties = new AzureFirewallIpConfigurationPropertiesFormat(); + this.innerProperties = new AzureFirewallIPConfigurationPropertiesFormat(); } this.innerProperties().withSubnet(subnet); return this; @@ -151,11 +151,11 @@ public SubResource publicIpAddress() { * is not null. * * @param publicIpAddress the publicIpAddress value to set. - * @return the AzureFirewallIpConfiguration object itself. + * @return the AzureFirewallIPConfiguration object itself. */ - public AzureFirewallIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { + public AzureFirewallIPConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new AzureFirewallIpConfigurationPropertiesFormat(); + this.innerProperties = new AzureFirewallIPConfigurationPropertiesFormat(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -166,7 +166,7 @@ public AzureFirewallIpConfiguration withPublicIpAddress(SubResource publicIpAddr * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -194,37 +194,37 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of AzureFirewallIpConfiguration from the JsonReader. + * Reads an instance of AzureFirewallIPConfiguration from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of AzureFirewallIpConfiguration if the JsonReader was pointing to an instance of it, or null + * @return An instance of AzureFirewallIPConfiguration 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 AzureFirewallIpConfiguration. + * @throws IOException If an error occurs while reading the AzureFirewallIPConfiguration. */ - public static AzureFirewallIpConfiguration fromJson(JsonReader jsonReader) throws IOException { + public static AzureFirewallIPConfiguration fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - AzureFirewallIpConfiguration deserializedAzureFirewallIpConfiguration = new AzureFirewallIpConfiguration(); + AzureFirewallIPConfiguration deserializedAzureFirewallIPConfiguration = new AzureFirewallIPConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedAzureFirewallIpConfiguration.withId(reader.getString()); + deserializedAzureFirewallIPConfiguration.withId(reader.getString()); } else if ("properties".equals(fieldName)) { - deserializedAzureFirewallIpConfiguration.innerProperties - = AzureFirewallIpConfigurationPropertiesFormat.fromJson(reader); + deserializedAzureFirewallIPConfiguration.innerProperties + = AzureFirewallIPConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedAzureFirewallIpConfiguration.name = reader.getString(); + deserializedAzureFirewallIPConfiguration.name = reader.getString(); } else if ("etag".equals(fieldName)) { - deserializedAzureFirewallIpConfiguration.etag = reader.getString(); + deserializedAzureFirewallIPConfiguration.etag = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedAzureFirewallIpConfiguration.type = reader.getString(); + deserializedAzureFirewallIPConfiguration.type = reader.getString(); } else { reader.skipChildren(); } } - return deserializedAzureFirewallIpConfiguration; + return deserializedAzureFirewallIPConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java index 2592f0ab47b3..272537d7bc8b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -29,7 +29,7 @@ public final class AzureFirewallIpGroups implements JsonSerializable { /** - * Static value Snat for AzureFirewallNatRCActionType. + * Snat. */ public static final AzureFirewallNatRCActionType SNAT = fromString("Snat"); /** - * Static value Dnat for AzureFirewallNatRCActionType. + * Dnat. */ public static final AzureFirewallNatRCActionType DNAT = fromString("Dnat"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java index 2d84e7abc051..51fff619f89d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java index 3a9f29367c9f..501807067326 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -162,7 +162,7 @@ public AzureFirewallNatRuleCollection withRules(List rules * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java index 0c3a0ec80099..34714ad47e5d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java index b3aa544c5be1..47899681e6f4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -162,7 +162,7 @@ public AzureFirewallNetworkRuleCollection withRules(List { /** - * Static value TCP for AzureFirewallNetworkRuleProtocol. + * TCP. */ public static final AzureFirewallNetworkRuleProtocol TCP = fromString("TCP"); /** - * Static value UDP for AzureFirewallNetworkRuleProtocol. + * UDP. */ public static final AzureFirewallNetworkRuleProtocol UDP = fromString("UDP"); /** - * Static value Any for AzureFirewallNetworkRuleProtocol. + * Any. */ public static final AzureFirewallNetworkRuleProtocol ANY = fromString("Any"); /** - * Static value ICMP for AzureFirewallNetworkRuleProtocol. + * ICMP. */ public static final AzureFirewallNetworkRuleProtocol ICMP = fromString("ICMP"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java index 08c0d4ef1b9a..f686b2abe301 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java index 64f8dbc4281f..6e931d2d66a6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,32 +13,32 @@ public final class AzureFirewallPacketCaptureFlagsType extends ExpandableStringEnum { /** - * Static value fin for AzureFirewallPacketCaptureFlagsType. + * fin. */ public static final AzureFirewallPacketCaptureFlagsType FIN = fromString("fin"); /** - * Static value syn for AzureFirewallPacketCaptureFlagsType. + * syn. */ public static final AzureFirewallPacketCaptureFlagsType SYN = fromString("syn"); /** - * Static value rst for AzureFirewallPacketCaptureFlagsType. + * rst. */ public static final AzureFirewallPacketCaptureFlagsType RST = fromString("rst"); /** - * Static value push for AzureFirewallPacketCaptureFlagsType. + * push. */ public static final AzureFirewallPacketCaptureFlagsType PUSH = fromString("push"); /** - * Static value ack for AzureFirewallPacketCaptureFlagsType. + * ack. */ public static final AzureFirewallPacketCaptureFlagsType ACK = fromString("ack"); /** - * Static value urg for AzureFirewallPacketCaptureFlagsType. + * urg. */ public static final AzureFirewallPacketCaptureFlagsType URG = fromString("urg"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java index 45cb2c0a1c09..c70eb5fc2ada 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,17 +16,17 @@ public final class AzureFirewallPacketCaptureOperationType extends ExpandableStringEnum { /** - * Static value Start for AzureFirewallPacketCaptureOperationType. + * Start. */ public static final AzureFirewallPacketCaptureOperationType START = fromString("Start"); /** - * Static value Status for AzureFirewallPacketCaptureOperationType. + * Status. */ public static final AzureFirewallPacketCaptureOperationType STATUS = fromString("Status"); /** - * Static value Stop for AzureFirewallPacketCaptureOperationType. + * Stop. */ public static final AzureFirewallPacketCaptureOperationType STOP = fromString("Stop"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java index 267a95ff6508..97472c1bc474 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,60 +13,60 @@ public final class AzureFirewallPacketCaptureResponseCode extends ExpandableStringEnum { /** - * Static value NotImplemented for AzureFirewallPacketCaptureResponseCode. + * NotImplemented. */ public static final AzureFirewallPacketCaptureResponseCode NOT_IMPLEMENTED = fromString("NotImplemented"); /** - * Static value AzureFirewallPacketCaptureStartSucceeded for AzureFirewallPacketCaptureResponseCode. + * AzureFirewallPacketCaptureStartSucceeded. */ public static final AzureFirewallPacketCaptureResponseCode AZURE_FIREWALL_PACKET_CAPTURE_START_SUCCEEDED = fromString("AzureFirewallPacketCaptureStartSucceeded"); /** - * Static value AzureFirewallPacketCaptureStartFailed for AzureFirewallPacketCaptureResponseCode. + * AzureFirewallPacketCaptureStartFailed. */ public static final AzureFirewallPacketCaptureResponseCode AZURE_FIREWALL_PACKET_CAPTURE_START_FAILED = fromString("AzureFirewallPacketCaptureStartFailed"); /** - * Static value AzureFirewallPacketCaptureStartFailedToUpload for AzureFirewallPacketCaptureResponseCode. + * AzureFirewallPacketCaptureStartFailedToUpload. */ public static final AzureFirewallPacketCaptureResponseCode AZURE_FIREWALL_PACKET_CAPTURE_START_FAILED_TO_UPLOAD = fromString("AzureFirewallPacketCaptureStartFailedToUpload"); /** - * Static value AzureFirewallPacketCaptureStartFailure for AzureFirewallPacketCaptureResponseCode. + * AzureFirewallPacketCaptureStartFailure. */ public static final AzureFirewallPacketCaptureResponseCode AZURE_FIREWALL_PACKET_CAPTURE_START_FAILURE = fromString("AzureFirewallPacketCaptureStartFailure"); /** - * Static value AzureFirewallPacketCaptureInProgress for AzureFirewallPacketCaptureResponseCode. + * AzureFirewallPacketCaptureInProgress. */ public static final AzureFirewallPacketCaptureResponseCode AZURE_FIREWALL_PACKET_CAPTURE_IN_PROGRESS = fromString("AzureFirewallPacketCaptureInProgress"); /** - * Static value AzureFirewallPacketCaptureNotInProgress for AzureFirewallPacketCaptureResponseCode. + * AzureFirewallPacketCaptureNotInProgress. */ public static final AzureFirewallPacketCaptureResponseCode AZURE_FIREWALL_PACKET_CAPTURE_NOT_IN_PROGRESS = fromString("AzureFirewallPacketCaptureNotInProgress"); /** - * Static value AzureFirewallPacketCaptureStopSucceeded for AzureFirewallPacketCaptureResponseCode. + * AzureFirewallPacketCaptureStopSucceeded. */ public static final AzureFirewallPacketCaptureResponseCode AZURE_FIREWALL_PACKET_CAPTURE_STOP_SUCCEEDED = fromString("AzureFirewallPacketCaptureStopSucceeded"); /** - * Static value AzureFirewallPacketCaptureFailed for AzureFirewallPacketCaptureResponseCode. + * AzureFirewallPacketCaptureFailed. */ public static final AzureFirewallPacketCaptureResponseCode AZURE_FIREWALL_PACKET_CAPTURE_FAILED = fromString("AzureFirewallPacketCaptureFailed"); /** - * Static value AzureFirewallPacketCaptureCompleted for AzureFirewallPacketCaptureResponseCode. + * AzureFirewallPacketCaptureCompleted. */ public static final AzureFirewallPacketCaptureResponseCode AZURE_FIREWALL_PACKET_CAPTURE_COMPLETED = fromString("AzureFirewallPacketCaptureCompleted"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java index 34fb473fb708..c7fcf42b1050 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java index d1903524e966..8711db57546f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -15,16 +15,16 @@ * Public IP Address associated with azure firewall. */ @Fluent -public final class AzureFirewallPublicIpAddress implements JsonSerializable { +public final class AzureFirewallPublicIPAddress implements JsonSerializable { /* * Public IP Address value. */ private String address; /** - * Creates an instance of AzureFirewallPublicIpAddress class. + * Creates an instance of AzureFirewallPublicIPAddress class. */ - public AzureFirewallPublicIpAddress() { + public AzureFirewallPublicIPAddress() { } /** @@ -40,9 +40,9 @@ public String address() { * Set the address property: Public IP Address value. * * @param address the address value to set. - * @return the AzureFirewallPublicIpAddress object itself. + * @return the AzureFirewallPublicIPAddress object itself. */ - public AzureFirewallPublicIpAddress withAddress(String address) { + public AzureFirewallPublicIPAddress withAddress(String address) { this.address = address; return this; } @@ -66,28 +66,28 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of AzureFirewallPublicIpAddress from the JsonReader. + * Reads an instance of AzureFirewallPublicIPAddress from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of AzureFirewallPublicIpAddress if the JsonReader was pointing to an instance of it, or null + * @return An instance of AzureFirewallPublicIPAddress 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 AzureFirewallPublicIpAddress. + * @throws IOException If an error occurs while reading the AzureFirewallPublicIPAddress. */ - public static AzureFirewallPublicIpAddress fromJson(JsonReader jsonReader) throws IOException { + public static AzureFirewallPublicIPAddress fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - AzureFirewallPublicIpAddress deserializedAzureFirewallPublicIpAddress = new AzureFirewallPublicIpAddress(); + AzureFirewallPublicIPAddress deserializedAzureFirewallPublicIPAddress = new AzureFirewallPublicIPAddress(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("address".equals(fieldName)) { - deserializedAzureFirewallPublicIpAddress.address = reader.getString(); + deserializedAzureFirewallPublicIPAddress.address = reader.getString(); } else { reader.skipChildren(); } } - return deserializedAzureFirewallPublicIpAddress; + return deserializedAzureFirewallPublicIPAddress; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java index 389f3f90b29c..cae90fabc1ad 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java index 48b6791c590b..4539c4aa0237 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class AzureFirewallRCActionType extends ExpandableStringEnum { /** - * Static value Allow for AzureFirewallRCActionType. + * Allow. */ public static final AzureFirewallRCActionType ALLOW = fromString("Allow"); /** - * Static value Deny for AzureFirewallRCActionType. + * Deny. */ public static final AzureFirewallRCActionType DENY = fromString("Deny"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java index ac721e2ac449..998eee5a496f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java index 9cce5a2e24df..f3bcb87dc0a2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class AzureFirewallSkuName extends ExpandableStringEnum { /** - * Static value AZFW_VNet for AzureFirewallSkuName. + * AZFW_VNet. */ public static final AzureFirewallSkuName AZFW_VNET = fromString("AZFW_VNet"); /** - * Static value AZFW_Hub for AzureFirewallSkuName. + * AZFW_Hub. */ public static final AzureFirewallSkuName AZFW_HUB = fromString("AZFW_Hub"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java index 327d9b71126b..1edf79134457 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class AzureFirewallSkuTier extends ExpandableStringEnum { /** - * Static value Standard for AzureFirewallSkuTier. + * Standard. */ public static final AzureFirewallSkuTier STANDARD = fromString("Standard"); /** - * Static value Premium for AzureFirewallSkuTier. + * Premium. */ public static final AzureFirewallSkuTier PREMIUM = fromString("Premium"); /** - * Static value Basic for AzureFirewallSkuTier. + * Basic. */ public static final AzureFirewallSkuTier BASIC = fromString("Basic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java index 04e96959c0cf..b53d44450b4b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class AzureFirewallThreatIntelMode extends ExpandableStringEnum { /** - * Static value Alert for AzureFirewallThreatIntelMode. + * Alert. */ public static final AzureFirewallThreatIntelMode ALERT = fromString("Alert"); /** - * Static value Deny for AzureFirewallThreatIntelMode. + * Deny. */ public static final AzureFirewallThreatIntelMode DENY = fromString("Deny"); /** - * Static value Off for AzureFirewallThreatIntelMode. + * Off. */ public static final AzureFirewallThreatIntelMode OFF = fromString("Off"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java index af51fe8d75f3..85ba86c6beb8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Azure reachability report details for a given provider location. */ -@Fluent +@Immutable public final class AzureReachabilityReportItem implements JsonSerializable { /* * The Internet service provider. @@ -35,7 +35,7 @@ public final class AzureReachabilityReportItem implements JsonSerializable latencies() { return this.latencies; } - /** - * Set the latencies property: List of latency details for each of the time series. - * - * @param latencies the latencies value to set. - * @return the AzureReachabilityReportItem object itself. - */ - public AzureReachabilityReportItem withLatencies(List latencies) { - this.latencies = latencies; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java index 25dd08c38da8..3927e698b754 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * Details on latency for a time series. */ -@Fluent +@Immutable public final class AzureReachabilityReportLatencyInfo implements JsonSerializable { /* * The time stamp. @@ -32,7 +32,7 @@ public final class AzureReachabilityReportLatencyInfo implements JsonSerializabl /** * Creates an instance of AzureReachabilityReportLatencyInfo class. */ - public AzureReachabilityReportLatencyInfo() { + private AzureReachabilityReportLatencyInfo() { } /** @@ -44,17 +44,6 @@ public OffsetDateTime timestamp() { return this.timestamp; } - /** - * Set the timestamp property: The time stamp. - * - * @param timestamp the timestamp value to set. - * @return the AzureReachabilityReportLatencyInfo object itself. - */ - public AzureReachabilityReportLatencyInfo withTimestamp(OffsetDateTime timestamp) { - this.timestamp = timestamp; - return this; - } - /** * Get the score property: The relative latency score between 1 and 100, higher values indicating a faster * connection. @@ -65,18 +54,6 @@ public Integer score() { return this.score; } - /** - * Set the score property: The relative latency score between 1 and 100, higher values indicating a faster - * connection. - * - * @param score the score value to set. - * @return the AzureReachabilityReportLatencyInfo object itself. - */ - public AzureReachabilityReportLatencyInfo withScore(Integer score) { - this.score = score; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java index d4a7c4a85ded..e3bd446ca14a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java index 21fc979a74c3..ddfd0a9b431f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java index fd02b1bc319e..68a09f7412c8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class BastionConnectProtocol extends ExpandableStringEnum { /** - * Static value SSH for BastionConnectProtocol. + * SSH. */ public static final BastionConnectProtocol SSH = fromString("SSH"); /** - * Static value RDP for BastionConnectProtocol. + * RDP. */ public static final BastionConnectProtocol RDP = fromString("RDP"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java index 6240234ea503..ed1407064a78 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -9,18 +9,18 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.BastionHostIpConfigurationPropertiesFormat; +import com.azure.resourcemanager.network.fluent.models.BastionHostIPConfigurationPropertiesFormat; import java.io.IOException; /** * IP configuration of an Bastion Host. */ @Fluent -public final class BastionHostIpConfiguration extends SubResource { +public final class BastionHostIPConfiguration extends SubResource { /* * Represents the ip configuration associated with the resource. */ - private BastionHostIpConfigurationPropertiesFormat innerProperties; + private BastionHostIPConfigurationPropertiesFormat innerProperties; /* * Name of the resource that is unique within a resource group. This name can be used to access the resource. @@ -38,9 +38,9 @@ public final class BastionHostIpConfiguration extends SubResource { private String type; /** - * Creates an instance of BastionHostIpConfiguration class. + * Creates an instance of BastionHostIPConfiguration class. */ - public BastionHostIpConfiguration() { + public BastionHostIPConfiguration() { } /** @@ -48,7 +48,7 @@ public BastionHostIpConfiguration() { * * @return the innerProperties value. */ - private BastionHostIpConfigurationPropertiesFormat innerProperties() { + private BastionHostIPConfigurationPropertiesFormat innerProperties() { return this.innerProperties; } @@ -67,9 +67,9 @@ public String name() { * access the resource. * * @param name the name value to set. - * @return the BastionHostIpConfiguration object itself. + * @return the BastionHostIPConfiguration object itself. */ - public BastionHostIpConfiguration withName(String name) { + public BastionHostIPConfiguration withName(String name) { this.name = name; return this; } @@ -96,7 +96,7 @@ public String type() { * {@inheritDoc} */ @Override - public BastionHostIpConfiguration withId(String id) { + public BastionHostIPConfiguration withId(String id) { super.withId(id); return this; } @@ -114,11 +114,11 @@ public SubResource subnet() { * Set the subnet property: Reference of the subnet resource. * * @param subnet the subnet value to set. - * @return the BastionHostIpConfiguration object itself. + * @return the BastionHostIPConfiguration object itself. */ - public BastionHostIpConfiguration withSubnet(SubResource subnet) { + public BastionHostIPConfiguration withSubnet(SubResource subnet) { if (this.innerProperties() == null) { - this.innerProperties = new BastionHostIpConfigurationPropertiesFormat(); + this.innerProperties = new BastionHostIPConfigurationPropertiesFormat(); } this.innerProperties().withSubnet(subnet); return this; @@ -137,11 +137,11 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: Reference of the PublicIP resource. Null for private only bastion. * * @param publicIpAddress the publicIpAddress value to set. - * @return the BastionHostIpConfiguration object itself. + * @return the BastionHostIPConfiguration object itself. */ - public BastionHostIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { + public BastionHostIPConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new BastionHostIpConfigurationPropertiesFormat(); + this.innerProperties = new BastionHostIPConfigurationPropertiesFormat(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -152,7 +152,7 @@ public BastionHostIpConfiguration withPublicIpAddress(SubResource publicIpAddres * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -169,11 +169,11 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: Private IP allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the BastionHostIpConfiguration object itself. + * @return the BastionHostIPConfiguration object itself. */ - public BastionHostIpConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { + public BastionHostIPConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new BastionHostIpConfigurationPropertiesFormat(); + this.innerProperties = new BastionHostIPConfigurationPropertiesFormat(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -203,37 +203,37 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of BastionHostIpConfiguration from the JsonReader. + * Reads an instance of BastionHostIPConfiguration from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of BastionHostIpConfiguration if the JsonReader was pointing to an instance of it, or null if + * @return An instance of BastionHostIPConfiguration 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 BastionHostIpConfiguration. + * @throws IOException If an error occurs while reading the BastionHostIPConfiguration. */ - public static BastionHostIpConfiguration fromJson(JsonReader jsonReader) throws IOException { + public static BastionHostIPConfiguration fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BastionHostIpConfiguration deserializedBastionHostIpConfiguration = new BastionHostIpConfiguration(); + BastionHostIPConfiguration deserializedBastionHostIPConfiguration = new BastionHostIPConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedBastionHostIpConfiguration.withId(reader.getString()); + deserializedBastionHostIPConfiguration.withId(reader.getString()); } else if ("properties".equals(fieldName)) { - deserializedBastionHostIpConfiguration.innerProperties - = BastionHostIpConfigurationPropertiesFormat.fromJson(reader); + deserializedBastionHostIPConfiguration.innerProperties + = BastionHostIPConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedBastionHostIpConfiguration.name = reader.getString(); + deserializedBastionHostIPConfiguration.name = reader.getString(); } else if ("etag".equals(fieldName)) { - deserializedBastionHostIpConfiguration.etag = reader.getString(); + deserializedBastionHostIPConfiguration.etag = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedBastionHostIpConfiguration.type = reader.getString(); + deserializedBastionHostIPConfiguration.type = reader.getString(); } else { reader.skipChildren(); } } - return deserializedBastionHostIpConfiguration; + return deserializedBastionHostIPConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java index f2c640b01001..47969984874d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -21,7 +21,7 @@ public final class BastionHostPropertiesFormatNetworkAcls /* * Sets the IP ACL rules for Developer Bastion Host. */ - private List ipRules; + private List ipRules; /** * Creates an instance of BastionHostPropertiesFormatNetworkAcls class. @@ -34,7 +34,7 @@ public BastionHostPropertiesFormatNetworkAcls() { * * @return the ipRules value. */ - public List ipRules() { + public List ipRules() { return this.ipRules; } @@ -44,7 +44,7 @@ public List ipRules() { * @param ipRules the ipRules value to set. * @return the BastionHostPropertiesFormatNetworkAcls object itself. */ - public BastionHostPropertiesFormatNetworkAcls withIpRules(List ipRules) { + public BastionHostPropertiesFormatNetworkAcls withIpRules(List ipRules) { this.ipRules = ipRules; return this; } @@ -87,7 +87,7 @@ public static BastionHostPropertiesFormatNetworkAcls fromJson(JsonReader jsonRea reader.nextToken(); if ("ipRules".equals(fieldName)) { - List ipRules = reader.readArray(reader1 -> IpRule.fromJson(reader1)); + List ipRules = reader.readArray(reader1 -> IPRule.fromJson(reader1)); deserializedBastionHostPropertiesFormatNetworkAcls.ipRules = ipRules; } else { reader.skipChildren(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java index ca8caee997f8..2bed702e702e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class BastionHostSkuName extends ExpandableStringEnum { /** - * Static value Basic for BastionHostSkuName. + * Basic. */ public static final BastionHostSkuName BASIC = fromString("Basic"); /** - * Static value Standard for BastionHostSkuName. + * Standard. */ public static final BastionHostSkuName STANDARD = fromString("Standard"); /** - * Static value Developer for BastionHostSkuName. + * Developer. */ public static final BastionHostSkuName DEVELOPER = fromString("Developer"); /** - * Static value Premium for BastionHostSkuName. + * Premium. */ public static final BastionHostSkuName PREMIUM = fromString("Premium"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java index 265a7b28d5f6..c6aa620604b8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java index c430e75b60d9..5b059a2007d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java index a6807f01d7f0..c896e857d674 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,8 +15,8 @@ /** * Contains bgp community information offered in Service Community resources. */ -@Fluent -public final class BgpCommunity implements JsonSerializable { +@Immutable +public final class BGPCommunity implements JsonSerializable { /* * The region which the service support. e.g. For O365, region is Global. */ @@ -49,9 +49,9 @@ public final class BgpCommunity implements JsonSerializable { private String serviceGroup; /** - * Creates an instance of BgpCommunity class. + * Creates an instance of BGPCommunity class. */ - public BgpCommunity() { + private BGPCommunity() { } /** @@ -63,17 +63,6 @@ public String serviceSupportedRegion() { return this.serviceSupportedRegion; } - /** - * Set the serviceSupportedRegion property: The region which the service support. e.g. For O365, region is Global. - * - * @param serviceSupportedRegion the serviceSupportedRegion value to set. - * @return the BgpCommunity object itself. - */ - public BgpCommunity withServiceSupportedRegion(String serviceSupportedRegion) { - this.serviceSupportedRegion = serviceSupportedRegion; - return this; - } - /** * Get the communityName property: The name of the bgp community. e.g. Skype. * @@ -83,17 +72,6 @@ public String communityName() { return this.communityName; } - /** - * Set the communityName property: The name of the bgp community. e.g. Skype. - * - * @param communityName the communityName value to set. - * @return the BgpCommunity object itself. - */ - public BgpCommunity withCommunityName(String communityName) { - this.communityName = communityName; - return this; - } - /** * Get the communityValue property: The value of the bgp community. For more information: * https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing. @@ -104,18 +82,6 @@ public String communityValue() { return this.communityValue; } - /** - * Set the communityValue property: The value of the bgp community. For more information: - * https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing. - * - * @param communityValue the communityValue value to set. - * @return the BgpCommunity object itself. - */ - public BgpCommunity withCommunityValue(String communityValue) { - this.communityValue = communityValue; - return this; - } - /** * Get the communityPrefixes property: The prefixes that the bgp community contains. * @@ -125,17 +91,6 @@ public List communityPrefixes() { return this.communityPrefixes; } - /** - * Set the communityPrefixes property: The prefixes that the bgp community contains. - * - * @param communityPrefixes the communityPrefixes value to set. - * @return the BgpCommunity object itself. - */ - public BgpCommunity withCommunityPrefixes(List communityPrefixes) { - this.communityPrefixes = communityPrefixes; - return this; - } - /** * Get the isAuthorizedToUse property: Customer is authorized to use bgp community or not. * @@ -145,17 +100,6 @@ public Boolean isAuthorizedToUse() { return this.isAuthorizedToUse; } - /** - * Set the isAuthorizedToUse property: Customer is authorized to use bgp community or not. - * - * @param isAuthorizedToUse the isAuthorizedToUse value to set. - * @return the BgpCommunity object itself. - */ - public BgpCommunity withIsAuthorizedToUse(Boolean isAuthorizedToUse) { - this.isAuthorizedToUse = isAuthorizedToUse; - return this; - } - /** * Get the serviceGroup property: The service group of the bgp community contains. * @@ -165,17 +109,6 @@ public String serviceGroup() { return this.serviceGroup; } - /** - * Set the serviceGroup property: The service group of the bgp community contains. - * - * @param serviceGroup the serviceGroup value to set. - * @return the BgpCommunity object itself. - */ - public BgpCommunity withServiceGroup(String serviceGroup) { - this.serviceGroup = serviceGroup; - return this; - } - /** * Validates the instance. * @@ -201,39 +134,39 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of BgpCommunity from the JsonReader. + * Reads an instance of BGPCommunity from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of BgpCommunity if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of BGPCommunity 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 BgpCommunity. + * @throws IOException If an error occurs while reading the BGPCommunity. */ - public static BgpCommunity fromJson(JsonReader jsonReader) throws IOException { + public static BGPCommunity fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BgpCommunity deserializedBgpCommunity = new BgpCommunity(); + BGPCommunity deserializedBGPCommunity = new BGPCommunity(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("serviceSupportedRegion".equals(fieldName)) { - deserializedBgpCommunity.serviceSupportedRegion = reader.getString(); + deserializedBGPCommunity.serviceSupportedRegion = reader.getString(); } else if ("communityName".equals(fieldName)) { - deserializedBgpCommunity.communityName = reader.getString(); + deserializedBGPCommunity.communityName = reader.getString(); } else if ("communityValue".equals(fieldName)) { - deserializedBgpCommunity.communityValue = reader.getString(); + deserializedBGPCommunity.communityValue = reader.getString(); } else if ("communityPrefixes".equals(fieldName)) { List communityPrefixes = reader.readArray(reader1 -> reader1.getString()); - deserializedBgpCommunity.communityPrefixes = communityPrefixes; + deserializedBGPCommunity.communityPrefixes = communityPrefixes; } else if ("isAuthorizedToUse".equals(fieldName)) { - deserializedBgpCommunity.isAuthorizedToUse = reader.getNullable(JsonReader::getBoolean); + deserializedBGPCommunity.isAuthorizedToUse = reader.getNullable(JsonReader::getBoolean); } else if ("serviceGroup".equals(fieldName)) { - deserializedBgpCommunity.serviceGroup = reader.getString(); + deserializedBGPCommunity.serviceGroup = reader.getString(); } else { reader.skipChildren(); } } - return deserializedBgpCommunity; + return deserializedBGPCommunity; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java index a5e92bd4abbc..e41e1c6f137b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class BgpPeerState extends ExpandableStringEnum { /** - * Static value Unknown for BgpPeerState. + * Unknown. */ public static final BgpPeerState UNKNOWN = fromString("Unknown"); /** - * Static value Stopped for BgpPeerState. + * Stopped. */ public static final BgpPeerState STOPPED = fromString("Stopped"); /** - * Static value Idle for BgpPeerState. + * Idle. */ public static final BgpPeerState IDLE = fromString("Idle"); /** - * Static value Connecting for BgpPeerState. + * Connecting. */ public static final BgpPeerState CONNECTING = fromString("Connecting"); /** - * Static value Connected for BgpPeerState. + * Connected. */ public static final BgpPeerState CONNECTED = fromString("Connected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java index ce1a67b5b522..b09609fed46c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -35,7 +35,7 @@ public final class BgpSettings implements JsonSerializable { /* * BGP peering address with IP configuration ID for virtual network gateway. */ - private List bgpPeeringAddresses; + private List bgpPeeringAddresses; /** * Creates an instance of BgpSettings class. @@ -108,7 +108,7 @@ public BgpSettings withPeerWeight(Integer peerWeight) { * * @return the bgpPeeringAddresses value. */ - public List bgpPeeringAddresses() { + public List bgpPeeringAddresses() { return this.bgpPeeringAddresses; } @@ -118,7 +118,7 @@ public List bgpPeeringAddresses() { * @param bgpPeeringAddresses the bgpPeeringAddresses value to set. * @return the BgpSettings object itself. */ - public BgpSettings withBgpPeeringAddresses(List bgpPeeringAddresses) { + public BgpSettings withBgpPeeringAddresses(List bgpPeeringAddresses) { this.bgpPeeringAddresses = bgpPeeringAddresses; return this; } @@ -170,8 +170,8 @@ public static BgpSettings fromJson(JsonReader jsonReader) throws IOException { } else if ("peerWeight".equals(fieldName)) { deserializedBgpSettings.peerWeight = reader.getNullable(JsonReader::getInt); } else if ("bgpPeeringAddresses".equals(fieldName)) { - List bgpPeeringAddresses - = reader.readArray(reader1 -> IpConfigurationBgpPeeringAddress.fromJson(reader1)); + List bgpPeeringAddresses + = reader.readArray(reader1 -> IPConfigurationBgpPeeringAddress.fromJson(reader1)); deserializedBgpSettings.bgpPeeringAddresses = bgpPeeringAddresses; } else { reader.skipChildren(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java index dd908e499bd7..190e607e9c43 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java index 1ad3c3a2c8fd..cc8029d7bafe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java index 7e52f3374317..871514ccb988 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ChildResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ChildResource.java index b503c883c4db..1675e43c0150 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ChildResource.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ChildResource.java @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Immutable; -import com.azure.core.management.ProxyResource; import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; @@ -15,26 +15,26 @@ * Proxy resource representation. */ @Immutable -public class ChildResource extends ProxyResource { +public class ChildResource implements JsonSerializable { /* - * A unique read-only string that changes whenever the resource is updated. + * Resource ID. */ - private String etag; + private String id; /* - * The type of the resource. + * Resource name. */ - private String type; + private String name; /* - * The name of the resource. + * Resource type. */ - private String name; + private String type; /* - * Fully qualified resource Id for the resource. + * A unique read-only string that changes whenever the resource is updated. */ - private String id; + private String etag; /** * Creates an instance of ChildResource class. @@ -43,53 +43,83 @@ public ChildResource() { } /** - * Get the etag property: A unique read-only string that changes whenever the resource is updated. + * Get the id property: Resource ID. * - * @return the etag value. + * @return the id value. */ - public String etag() { - return this.etag; + public String id() { + return this.id; } /** - * Set the etag property: A unique read-only string that changes whenever the resource is updated. + * Set the id property: Resource ID. * - * @param etag the etag value to set. + * @param id the id value to set. * @return the ChildResource object itself. */ - ChildResource withEtag(String etag) { - this.etag = etag; + ChildResource withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: Resource name. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Resource name. + * + * @param name the name value to set. + * @return the ChildResource object itself. + */ + ChildResource withName(String name) { + this.name = name; return this; } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ - @Override public String type() { return this.type; } /** - * Get the name property: The name of the resource. + * Set the type property: Resource type. * - * @return the name value. + * @param type the type value to set. + * @return the ChildResource object itself. */ - @Override - public String name() { - return this.name; + ChildResource withType(String type) { + this.type = type; + return this; } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the etag property: A unique read-only string that changes whenever the resource is updated. * - * @return the id value. + * @return the etag value. */ - @Override - public String id() { - return this.id; + public String etag() { + return this.etag; + } + + /** + * Set the etag property: A unique read-only string that changes whenever the resource is updated. + * + * @param etag the etag value to set. + * @return the ChildResource object itself. + */ + ChildResource withEtag(String etag) { + this.etag = etag; + return this; } /** @@ -115,7 +145,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ChildResource 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 ChildResource. */ public static ChildResource fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java index 96a459df1cd1..946237823480 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class CircuitConnectionStatus extends ExpandableStringEnum { /** - * Static value Connected for CircuitConnectionStatus. + * Connected. */ public static final CircuitConnectionStatus CONNECTED = fromString("Connected"); /** - * Static value Connecting for CircuitConnectionStatus. + * Connecting. */ public static final CircuitConnectionStatus CONNECTING = fromString("Connecting"); /** - * Static value Disconnected for CircuitConnectionStatus. + * Disconnected. */ public static final CircuitConnectionStatus DISCONNECTED = fromString("Disconnected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java index 379928391f86..0643e0fc7343 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The CircuitMetadataMap model. */ -@Fluent +@Immutable public final class CircuitMetadataMap implements JsonSerializable { /* * Express Route Circuit Name @@ -34,7 +34,7 @@ public final class CircuitMetadataMap implements JsonSerializable { /** - * Static value Provisioning for CommissionedState. + * Provisioning. */ public static final CommissionedState PROVISIONING = fromString("Provisioning"); /** - * Static value Provisioned for CommissionedState. + * Provisioned. */ public static final CommissionedState PROVISIONED = fromString("Provisioned"); /** - * Static value Commissioning for CommissionedState. + * Commissioning. */ public static final CommissionedState COMMISSIONING = fromString("Commissioning"); /** - * Static value CommissionedNoInternetAdvertise for CommissionedState. + * CommissionedNoInternetAdvertise. */ public static final CommissionedState COMMISSIONED_NO_INTERNET_ADVERTISE = fromString("CommissionedNoInternetAdvertise"); /** - * Static value Commissioned for CommissionedState. + * Commissioned. */ public static final CommissionedState COMMISSIONED = fromString("Commissioned"); /** - * Static value Decommissioning for CommissionedState. + * Decommissioning. */ public static final CommissionedState DECOMMISSIONING = fromString("Decommissioning"); /** - * Static value Deprovisioning for CommissionedState. + * Deprovisioning. */ public static final CommissionedState DEPROVISIONING = fromString("Deprovisioning"); /** - * Static value Deprovisioned for CommissionedState. + * Deprovisioned. */ public static final CommissionedState DEPROVISIONED = fromString("Deprovisioned"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java index 698c9909d224..617d283e341a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -24,17 +24,18 @@ public class CommonProxyResource extends CommonResource { private SystemData systemData; /* - * The type of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ private String type; /* - * The name of the resource. + * The name of the resource */ private String name; /* - * Fully qualified resource Id for the resource. + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ private String id; @@ -55,7 +56,8 @@ public SystemData systemData() { } /** - * Get the type property: The type of the resource. + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * * @return the type value. */ @@ -75,7 +77,8 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * * @return the id value. */ @@ -108,7 +111,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of CommonProxyResource 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 CommonProxyResource. */ public static CommonProxyResource fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonResource.java index 86828d354e26..e5922ec6a8c8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonResource.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonResource.java @@ -1,13 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Immutable; -import com.azure.core.management.ProxyResource; import com.azure.core.management.SystemData; import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; @@ -18,26 +18,27 @@ * Common fields that are returned in the response for all Azure Resource Manager resources. */ @Immutable -public class CommonResource extends ProxyResource { +public class CommonResource implements JsonSerializable { /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ - private SystemData systemData; + private String id; /* - * The type of the resource. + * The name of the resource */ - private String type; + private String name; /* - * The name of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ - private String name; + private String type; /* - * Fully qualified resource Id for the resource. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private String id; + private SystemData systemData; /** * Creates an instance of CommonResource class. @@ -46,53 +47,87 @@ public CommonResource() { } /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * - * @return the systemData value. + * @return the id value. */ - public SystemData systemData() { - return this.systemData; + public String id() { + return this.id; } /** - * Set the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Set the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * - * @param systemData the systemData value to set. + * @param id the id value to set. * @return the CommonResource object itself. */ - CommonResource withSystemData(SystemData systemData) { - this.systemData = systemData; + CommonResource withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: The name of the resource. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: The name of the resource. + * + * @param name the name value to set. + * @return the CommonResource object itself. + */ + CommonResource withName(String name) { + this.name = name; return this; } /** - * Get the type property: The type of the resource. + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * * @return the type value. */ - @Override public String type() { return this.type; } /** - * Get the name property: The name of the resource. + * Set the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * - * @return the name value. + * @param type the type value to set. + * @return the CommonResource object itself. */ - @Override - public String name() { - return this.name; + CommonResource withType(String type) { + this.type = type; + return this; } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. * - * @return the id value. + * @return the systemData value. */ - @Override - public String id() { - return this.id; + public SystemData systemData() { + return this.systemData; + } + + /** + * Set the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @param systemData the systemData value to set. + * @return the CommonResource object itself. + */ + CommonResource withSystemData(SystemData systemData) { + this.systemData = systemData; + return this; } /** @@ -118,7 +153,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of CommonResource 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 CommonResource. */ public static CommonResource fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java index 5b7838d262d1..ab55a8b2d289 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -37,17 +37,18 @@ public class CommonTrackedResource extends CommonResource { private SystemData systemData; /* - * The type of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ private String type; /* - * The name of the resource. + * The name of the resource */ private String name; /* - * Fully qualified resource Id for the resource. + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ private String id; @@ -108,7 +109,8 @@ public SystemData systemData() { } /** - * Get the type property: The type of the resource. + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". * * @return the type value. */ @@ -128,7 +130,8 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". * * @return the id value. */ diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java index fbe40ad98936..7909f61997ba 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * The network configuration group resource. */ -@Fluent +@Immutable public final class ConfigurationGroup implements JsonSerializable { /* * Network group ID. @@ -30,7 +30,7 @@ public final class ConfigurationGroup implements JsonSerializable { /** - * Static value SecurityAdmin for ConfigurationType. + * SecurityAdmin. */ public static final ConfigurationType SECURITY_ADMIN = fromString("SecurityAdmin"); /** - * Static value Connectivity for ConfigurationType. + * Connectivity. */ public static final ConfigurationType CONNECTIVITY = fromString("Connectivity"); /** - * Static value SecurityUser for ConfigurationType. + * SecurityUser. */ public static final ConfigurationType SECURITY_USER = fromString("SecurityUser"); /** - * Static value Routing for ConfigurationType. + * Routing. */ public static final ConfigurationType ROUTING = fromString("Routing"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java index 8d4d641ee230..42dd5cbc54ec 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,15 @@ */ public final class ConnectedGroupAddressOverlap extends ExpandableStringEnum { /** - * Static value Allowed for ConnectedGroupAddressOverlap. + * Default. Allows connected group members to have overlapping IP address space. */ public static final ConnectedGroupAddressOverlap ALLOWED = fromString("Allowed"); /** - * Static value Disallowed for ConnectedGroupAddressOverlap. + * Strictly disallows connected group members from having overlapping IP address space. Prevents the addition of a + * virtual network with overlapping address to the connected group, blocks peering between a virtual network and a + * connected group member if any connected group member has an overlapping range, and restricts address space + * modifications that would introduce overlap. */ public static final ConnectedGroupAddressOverlap DISALLOWED = fromString("Disallowed"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java index 3eb87671c047..7dfca6f8a79d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class ConnectedGroupPrivateEndpointsScale extends ExpandableStringEnum { /** - * Static value Standard for ConnectedGroupPrivateEndpointsScale. + * Default. Allows for up to 2K private endpoints in the connected group. */ public static final ConnectedGroupPrivateEndpointsScale STANDARD = fromString("Standard"); /** - * Static value HighScale for ConnectedGroupPrivateEndpointsScale. + * Allows for up to 20K private endpoints in the connected group. */ public static final ConnectedGroupPrivateEndpointsScale HIGH_SCALE = fromString("HighScale"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java index 559cc410e1fd..e93b48121923 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ConnectionAuthenticationType extends ExpandableStringEnum { /** - * Static value PSK for ConnectionAuthenticationType. + * Pre-shared key authentication method for VPN gateway connections. */ public static final ConnectionAuthenticationType PSK = fromString("PSK"); /** - * Static value Certificate for ConnectionAuthenticationType. + * Certificate-based authentication method for VPN gateway connections. */ public static final ConnectionAuthenticationType CERTIFICATE = fromString("Certificate"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java index 007fd01c027a..a161a606af49 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java index aa0e36020281..fc1fd84ad43c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java index 606411a8f54b..c7bf58dac14c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java index 9c49f93465f4..3de8dd509964 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java index 5fff85099e28..d77b0dbcabd0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,7 +13,7 @@ public final class ConnectionMonitorEndpointFilterItemType extends ExpandableStringEnum { /** - * Static value AgentAddress for ConnectionMonitorEndpointFilterItemType. + * AgentAddress. */ public static final ConnectionMonitorEndpointFilterItemType AGENT_ADDRESS = fromString("AgentAddress"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java index a887104cc145..db569b627351 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,7 +13,7 @@ public final class ConnectionMonitorEndpointFilterType extends ExpandableStringEnum { /** - * Static value Include for ConnectionMonitorEndpointFilterType. + * Include. */ public static final ConnectionMonitorEndpointFilterType INCLUDE = fromString("Include"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java index fe349f55886b..75892e26583e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java index 382be1a43aa3..a9ac66254380 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java index 360e8788c884..5104c2b49c6d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java index 6f855437eb17..9a67b5546260 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -25,7 +25,7 @@ public final class ConnectionMonitorHttpConfiguration implements JsonSerializabl /* * The HTTP method to use. */ - private HttpConfigurationMethod method; + private HTTPConfigurationMethod method; /* * The path component of the URI. For instance, "/dir1/dir2". @@ -35,7 +35,7 @@ public final class ConnectionMonitorHttpConfiguration implements JsonSerializabl /* * The HTTP headers to transmit with the request. */ - private List requestHeaders; + private List requestHeaders; /* * HTTP status codes to consider successful. For instance, "2xx,301-304,418". @@ -45,7 +45,7 @@ public final class ConnectionMonitorHttpConfiguration implements JsonSerializabl /* * Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit. */ - private Boolean preferHttps; + private Boolean preferHTTPS; /** * Creates an instance of ConnectionMonitorHttpConfiguration class. @@ -78,7 +78,7 @@ public ConnectionMonitorHttpConfiguration withPort(Integer port) { * * @return the method value. */ - public HttpConfigurationMethod method() { + public HTTPConfigurationMethod method() { return this.method; } @@ -88,7 +88,7 @@ public HttpConfigurationMethod method() { * @param method the method value to set. * @return the ConnectionMonitorHttpConfiguration object itself. */ - public ConnectionMonitorHttpConfiguration withMethod(HttpConfigurationMethod method) { + public ConnectionMonitorHttpConfiguration withMethod(HTTPConfigurationMethod method) { this.method = method; return this; } @@ -118,7 +118,7 @@ public ConnectionMonitorHttpConfiguration withPath(String path) { * * @return the requestHeaders value. */ - public List requestHeaders() { + public List requestHeaders() { return this.requestHeaders; } @@ -128,7 +128,7 @@ public List requestHeaders() { * @param requestHeaders the requestHeaders value to set. * @return the ConnectionMonitorHttpConfiguration object itself. */ - public ConnectionMonitorHttpConfiguration withRequestHeaders(List requestHeaders) { + public ConnectionMonitorHttpConfiguration withRequestHeaders(List requestHeaders) { this.requestHeaders = requestHeaders; return this; } @@ -156,24 +156,24 @@ public ConnectionMonitorHttpConfiguration withValidStatusCodeRanges(List } /** - * Get the preferHttps property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is + * Get the preferHTTPS property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is * not explicit. * - * @return the preferHttps value. + * @return the preferHTTPS value. */ - public Boolean preferHttps() { - return this.preferHttps; + public Boolean preferHTTPS() { + return this.preferHTTPS; } /** - * Set the preferHttps property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is + * Set the preferHTTPS property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is * not explicit. * - * @param preferHttps the preferHttps value to set. + * @param preferHTTPS the preferHTTPS value to set. * @return the ConnectionMonitorHttpConfiguration object itself. */ - public ConnectionMonitorHttpConfiguration withPreferHttps(Boolean preferHttps) { - this.preferHttps = preferHttps; + public ConnectionMonitorHttpConfiguration withPreferHTTPS(Boolean preferHTTPS) { + this.preferHTTPS = preferHTTPS; return this; } @@ -201,7 +201,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("validStatusCodeRanges", this.validStatusCodeRanges, (writer, element) -> writer.writeString(element)); - jsonWriter.writeBooleanField("preferHTTPS", this.preferHttps); + jsonWriter.writeBooleanField("preferHTTPS", this.preferHTTPS); return jsonWriter.writeEndObject(); } @@ -225,17 +225,17 @@ public static ConnectionMonitorHttpConfiguration fromJson(JsonReader jsonReader) deserializedConnectionMonitorHttpConfiguration.port = reader.getNullable(JsonReader::getInt); } else if ("method".equals(fieldName)) { deserializedConnectionMonitorHttpConfiguration.method - = HttpConfigurationMethod.fromString(reader.getString()); + = HTTPConfigurationMethod.fromString(reader.getString()); } else if ("path".equals(fieldName)) { deserializedConnectionMonitorHttpConfiguration.path = reader.getString(); } else if ("requestHeaders".equals(fieldName)) { - List requestHeaders = reader.readArray(reader1 -> HttpHeader.fromJson(reader1)); + List requestHeaders = reader.readArray(reader1 -> HTTPHeader.fromJson(reader1)); deserializedConnectionMonitorHttpConfiguration.requestHeaders = requestHeaders; } else if ("validStatusCodeRanges".equals(fieldName)) { List validStatusCodeRanges = reader.readArray(reader1 -> reader1.getString()); deserializedConnectionMonitorHttpConfiguration.validStatusCodeRanges = validStatusCodeRanges; } else if ("preferHTTPS".equals(fieldName)) { - deserializedConnectionMonitorHttpConfiguration.preferHttps + deserializedConnectionMonitorHttpConfiguration.preferHTTPS = reader.getNullable(JsonReader::getBoolean); } else { reader.skipChildren(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java index 27dc18e0c513..b36460e9ef3e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java index 4cd72fc1498a..9d0a5abd7ee4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java index 24c183230029..e86994040b50 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java index 1c2992458b40..c3ee2670649e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -24,7 +24,7 @@ public final class ConnectionMonitorSuccessThreshold implements JsonSerializable /* * The maximum round-trip time in milliseconds permitted for a test to evaluate as successful. */ - private Float roundTripTimeMs; + private Double roundTripTimeMs; /** * Creates an instance of ConnectionMonitorSuccessThreshold class. @@ -60,7 +60,7 @@ public ConnectionMonitorSuccessThreshold withChecksFailedPercent(Integer checksF * * @return the roundTripTimeMs value. */ - public Float roundTripTimeMs() { + public Double roundTripTimeMs() { return this.roundTripTimeMs; } @@ -71,7 +71,7 @@ public Float roundTripTimeMs() { * @param roundTripTimeMs the roundTripTimeMs value to set. * @return the ConnectionMonitorSuccessThreshold object itself. */ - public ConnectionMonitorSuccessThreshold withRoundTripTimeMs(Float roundTripTimeMs) { + public ConnectionMonitorSuccessThreshold withRoundTripTimeMs(Double roundTripTimeMs) { this.roundTripTimeMs = roundTripTimeMs; return this; } @@ -116,7 +116,7 @@ public static ConnectionMonitorSuccessThreshold fromJson(JsonReader jsonReader) = reader.getNullable(JsonReader::getInt); } else if ("roundTripTimeMs".equals(fieldName)) { deserializedConnectionMonitorSuccessThreshold.roundTripTimeMs - = reader.getNullable(JsonReader::getFloat); + = reader.getNullable(JsonReader::getDouble); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java index ae1b8fce5f98..b67ad0ee08e3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java index f0b4cd7cd823..dfb463f96c25 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -36,7 +36,7 @@ public final class ConnectionMonitorTestConfiguration implements JsonSerializabl * The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version * depending on other parameters. */ - private PreferredIpVersion preferredIpVersion; + private PreferredIPVersion preferredIPVersion; /* * The parameters used to perform test evaluation over HTTP. @@ -125,24 +125,24 @@ public ConnectionMonitorTestConfiguration withProtocol(ConnectionMonitorTestConf } /** - * Get the preferredIpVersion property: The preferred IP version to use in test evaluation. The connection monitor + * Get the preferredIPVersion property: The preferred IP version to use in test evaluation. The connection monitor * may choose to use a different version depending on other parameters. * - * @return the preferredIpVersion value. + * @return the preferredIPVersion value. */ - public PreferredIpVersion preferredIpVersion() { - return this.preferredIpVersion; + public PreferredIPVersion preferredIPVersion() { + return this.preferredIPVersion; } /** - * Set the preferredIpVersion property: The preferred IP version to use in test evaluation. The connection monitor + * Set the preferredIPVersion property: The preferred IP version to use in test evaluation. The connection monitor * may choose to use a different version depending on other parameters. * - * @param preferredIpVersion the preferredIpVersion value to set. + * @param preferredIPVersion the preferredIPVersion value to set. * @return the ConnectionMonitorTestConfiguration object itself. */ - public ConnectionMonitorTestConfiguration withPreferredIpVersion(PreferredIpVersion preferredIpVersion) { - this.preferredIpVersion = preferredIpVersion; + public ConnectionMonitorTestConfiguration withPreferredIPVersion(PreferredIPVersion preferredIPVersion) { + this.preferredIPVersion = preferredIPVersion; return this; } @@ -270,7 +270,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("protocol", this.protocol == null ? null : this.protocol.toString()); jsonWriter.writeNumberField("testFrequencySec", this.testFrequencySec); jsonWriter.writeStringField("preferredIPVersion", - this.preferredIpVersion == null ? null : this.preferredIpVersion.toString()); + this.preferredIPVersion == null ? null : this.preferredIPVersion.toString()); jsonWriter.writeJsonField("httpConfiguration", this.httpConfiguration); jsonWriter.writeJsonField("tcpConfiguration", this.tcpConfiguration); jsonWriter.writeJsonField("icmpConfiguration", this.icmpConfiguration); @@ -304,8 +304,8 @@ public static ConnectionMonitorTestConfiguration fromJson(JsonReader jsonReader) deserializedConnectionMonitorTestConfiguration.testFrequencySec = reader.getNullable(JsonReader::getInt); } else if ("preferredIPVersion".equals(fieldName)) { - deserializedConnectionMonitorTestConfiguration.preferredIpVersion - = PreferredIpVersion.fromString(reader.getString()); + deserializedConnectionMonitorTestConfiguration.preferredIPVersion + = PreferredIPVersion.fromString(reader.getString()); } else if ("httpConfiguration".equals(fieldName)) { deserializedConnectionMonitorTestConfiguration.httpConfiguration = ConnectionMonitorHttpConfiguration.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java index 1ac8804f07eb..fe6a71ff0e66 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,17 +13,17 @@ public final class ConnectionMonitorTestConfigurationProtocol extends ExpandableStringEnum { /** - * Static value Tcp for ConnectionMonitorTestConfigurationProtocol. + * Tcp. */ public static final ConnectionMonitorTestConfigurationProtocol TCP = fromString("Tcp"); /** - * Static value Http for ConnectionMonitorTestConfigurationProtocol. + * Http. */ public static final ConnectionMonitorTestConfigurationProtocol HTTP = fromString("Http"); /** - * Static value Icmp for ConnectionMonitorTestConfigurationProtocol. + * Icmp. */ public static final ConnectionMonitorTestConfigurationProtocol ICMP = fromString("Icmp"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java index 7b3230f600c3..1b7c9c668c8c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java index e09318d9b247..40f7c593fcca 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ConnectionMonitorType extends ExpandableStringEnum { /** - * Static value MultiEndpoint for ConnectionMonitorType. + * MultiEndpoint. */ public static final ConnectionMonitorType MULTI_ENDPOINT = fromString("MultiEndpoint"); /** - * Static value SingleSourceDestination for ConnectionMonitorType. + * SingleSourceDestination. */ public static final ConnectionMonitorType SINGLE_SOURCE_DESTINATION = fromString("SingleSourceDestination"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java index d4efca3a132b..9462e5389d24 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java index b0e5c3f34332..ba085e88fa96 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class ConnectionStatus extends ExpandableStringEnum { /** - * Static value Unknown for ConnectionStatus. + * Unknown. */ public static final ConnectionStatus UNKNOWN = fromString("Unknown"); /** - * Static value Connected for ConnectionStatus. + * Connected. */ public static final ConnectionStatus CONNECTED = fromString("Connected"); /** - * Static value Disconnected for ConnectionStatus. + * Disconnected. */ public static final ConnectionStatus DISCONNECTED = fromString("Disconnected"); /** - * Static value Degraded for ConnectionStatus. + * Degraded. */ public static final ConnectionStatus DEGRADED = fromString("Degraded"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java index 7a78b666344f..1bbb41d1d2e4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java index 69f530dee89b..e789d5b36f35 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java index 3e63c52f9bfa..3cb221088fc7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java index e0ad64ac616e..9bcf369ccdc4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -65,7 +65,7 @@ public final class ConnectivityHop implements JsonSerializable /** * Creates an instance of ConnectivityHop class. */ - public ConnectivityHop() { + private ConnectivityHop() { } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java index 92daaf55620a..756c5206e0ae 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -41,7 +41,7 @@ public final class ConnectivityIssue implements JsonSerializable { /** - * Static value HubAndSpoke for ConnectivityTopology. + * HubAndSpoke. */ public static final ConnectivityTopology HUB_AND_SPOKE = fromString("HubAndSpoke"); /** - * Static value Mesh for ConnectivityTopology. + * Mesh. */ public static final ConnectivityTopology MESH = fromString("Mesh"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Container.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Container.java index fd8ae74e2c54..05bd00ee87c6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Container.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Container.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -14,21 +14,12 @@ /** * Reference to container resource in remote resource provider. */ -@Fluent +@Immutable public final class Container extends SubResource { /** * Creates an instance of Container class. */ - public Container() { - } - - /** - * {@inheritDoc} - */ - @Override - public Container withId(String id) { - super.withId(id); - return this; + private Container() { } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java index c932eef02807..5c903cef3628 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * Container network interface child resource. */ -@Fluent +@Immutable public final class ContainerNetworkInterface extends SubResource { /* * Container network interface properties. @@ -41,7 +41,7 @@ public final class ContainerNetworkInterface extends SubResource { /** * Creates an instance of ContainerNetworkInterface class. */ - public ContainerNetworkInterface() { + private ContainerNetworkInterface() { } /** @@ -62,17 +62,6 @@ public String name() { return this.name; } - /** - * Set the name property: The name of the resource. This name can be used to access the resource. - * - * @param name the name value to set. - * @return the ContainerNetworkInterface object itself. - */ - public ContainerNetworkInterface withName(String name) { - this.name = name; - return this; - } - /** * Get the type property: Sub Resource type. * @@ -91,15 +80,6 @@ public String etag() { return this.etag; } - /** - * {@inheritDoc} - */ - @Override - public ContainerNetworkInterface withId(String id) { - super.withId(id); - return this; - } - /** * Get the containerNetworkInterfaceConfiguration property: Container network interface configuration from which * this container network interface is created. @@ -119,20 +99,6 @@ public Container container() { return this.innerProperties() == null ? null : this.innerProperties().container(); } - /** - * Set the container property: Reference to the container to which this container network interface is attached. - * - * @param container the container value to set. - * @return the ContainerNetworkInterface object itself. - */ - public ContainerNetworkInterface withContainer(Container container) { - if (this.innerProperties() == null) { - this.innerProperties = new ContainerNetworkInterfacePropertiesFormat(); - } - this.innerProperties().withContainer(container); - return this; - } - /** * Get the ipConfigurations property: Reference to the ip configuration on this container nic. * @@ -147,7 +113,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java index b13045ec72da..88578c26a9d1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -157,7 +157,7 @@ public List containerNetworkInterfaces() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java index 8a227f20ea60..e14dd5fe214b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * The ip configuration for a container network interface. */ -@Fluent +@Immutable public final class ContainerNetworkInterfaceIpConfiguration implements JsonSerializable { /* @@ -41,7 +41,7 @@ public final class ContainerNetworkInterfaceIpConfiguration /** * Creates an instance of ContainerNetworkInterfaceIpConfiguration class. */ - public ContainerNetworkInterfaceIpConfiguration() { + private ContainerNetworkInterfaceIpConfiguration() { } /** @@ -62,17 +62,6 @@ public String name() { return this.name; } - /** - * Set the name property: The name of the resource. This name can be used to access the resource. - * - * @param name the name value to set. - * @return the ContainerNetworkInterfaceIpConfiguration object itself. - */ - public ContainerNetworkInterfaceIpConfiguration withName(String name) { - this.name = name; - return this; - } - /** * Get the type property: Sub Resource type. * @@ -97,7 +86,7 @@ public String etag() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java index a52802b9b319..6ef95586f80b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,32 +12,32 @@ */ public final class CoverageLevel extends ExpandableStringEnum { /** - * Static value Default for CoverageLevel. + * Default. */ public static final CoverageLevel DEFAULT = fromString("Default"); /** - * Static value Low for CoverageLevel. + * Low. */ public static final CoverageLevel LOW = fromString("Low"); /** - * Static value BelowAverage for CoverageLevel. + * BelowAverage. */ public static final CoverageLevel BELOW_AVERAGE = fromString("BelowAverage"); /** - * Static value Average for CoverageLevel. + * Average. */ public static final CoverageLevel AVERAGE = fromString("Average"); /** - * Static value AboveAverage for CoverageLevel. + * AboveAverage. */ public static final CoverageLevel ABOVE_AVERAGE = fromString("AboveAverage"); /** - * Static value Full for CoverageLevel. + * Full. */ public static final CoverageLevel FULL = fromString("Full"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java deleted file mode 100644 index 9527486121a7..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.network.models; - -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The type of identity that created the resource. - */ -public final class CreatedByType extends ExpandableStringEnum { - /** - * Static value User for CreatedByType. - */ - public static final CreatedByType USER = fromString("User"); - - /** - * Static value Application for CreatedByType. - */ - public static final CreatedByType APPLICATION = fromString("Application"); - - /** - * Static value ManagedIdentity for CreatedByType. - */ - public static final CreatedByType MANAGED_IDENTITY = fromString("ManagedIdentity"); - - /** - * Static value Key for CreatedByType. - */ - public static final CreatedByType KEY = fromString("Key"); - - /** - * Creates a new instance of CreatedByType value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Deprecated - public CreatedByType() { - } - - /** - * Creates or finds a CreatedByType from its string representation. - * - * @param name a name to look for. - * @return the corresponding CreatedByType. - */ - public static CreatedByType fromString(String name) { - return fromString(name, CreatedByType.class); - } - - /** - * Gets known CreatedByType values. - * - * @return known CreatedByType values. - */ - public static Collection values() { - return values(CreatedByType.class); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Criterion.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Criterion.java index 89b0b7c694f9..3ef097883859 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Criterion.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Criterion.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java index 231546dc621f..9fdfa39b8fb8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -35,7 +35,7 @@ public final class CrossTenantScopes implements JsonSerializable { /** - * Static value Singular for CustomIpPrefixType. + * Singular. */ public static final CustomIpPrefixType SINGULAR = fromString("Singular"); /** - * Static value Parent for CustomIpPrefixType. + * Parent. */ public static final CustomIpPrefixType PARENT = fromString("Parent"); /** - * Static value Child for CustomIpPrefixType. + * Child. */ public static final CustomIpPrefixType CHILD = fromString("Child"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java index d2b068d9ee90..325bd22ec767 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,7 +12,7 @@ */ public final class DdosDetectionMode extends ExpandableStringEnum { /** - * Static value TrafficThreshold for DdosDetectionMode. + * TrafficThreshold. */ public static final DdosDetectionMode TRAFFIC_THRESHOLD = fromString("TrafficThreshold"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java index 407bb283cef4..3e955f62f31f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -22,6 +22,11 @@ public final class DdosDetectionRule extends SubResource { */ private String name; + /* + * The resource ID of the DDoS detection rule. + */ + private String id; + /* * A unique read-only string that changes whenever the resource is updated. */ @@ -63,6 +68,16 @@ public DdosDetectionRule withName(String name) { return this; } + /** + * Get the id property: The resource ID of the DDoS detection rule. + * + * @return the id value. + */ + @Override + public String id() { + return this.id; + } + /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -90,21 +105,12 @@ private DdosDetectionRulePropertiesFormat innerProperties() { return this.innerProperties; } - /** - * {@inheritDoc} - */ - @Override - public DdosDetectionRule withId(String id) { - super.withId(id); - return this; - } - /** * Get the provisioningState property: The provisioning state of the DDoS detection rule. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -171,7 +177,6 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", id()); jsonWriter.writeStringField("name", this.name); jsonWriter.writeJsonField("properties", this.innerProperties); return jsonWriter.writeEndObject(); @@ -192,10 +197,10 @@ public static DdosDetectionRule fromJson(JsonReader jsonReader) throws IOExcepti String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { - deserializedDdosDetectionRule.withId(reader.getString()); - } else if ("name".equals(fieldName)) { + if ("name".equals(fieldName)) { deserializedDdosDetectionRule.name = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedDdosDetectionRule.id = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedDdosDetectionRule.etag = reader.getString(); } else if ("type".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java index e18354988f5e..d1d9cdd8d4fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java index a9e02e79822e..7c421df279c5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class DdosSettingsProtectionMode extends ExpandableStringEnum { /** - * Static value VirtualNetworkInherited for DdosSettingsProtectionMode. + * VirtualNetworkInherited. */ public static final DdosSettingsProtectionMode VIRTUAL_NETWORK_INHERITED = fromString("VirtualNetworkInherited"); /** - * Static value Enabled for DdosSettingsProtectionMode. + * Enabled. */ public static final DdosSettingsProtectionMode ENABLED = fromString("Enabled"); /** - * Static value Disabled for DdosSettingsProtectionMode. + * Disabled. */ public static final DdosSettingsProtectionMode DISABLED = fromString("Disabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java index 51b18227573e..8d4314a2b584 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class DdosTrafficType extends ExpandableStringEnum { /** - * Static value Tcp for DdosTrafficType. + * Tcp. */ public static final DdosTrafficType TCP = fromString("Tcp"); /** - * Static value Udp for DdosTrafficType. + * Udp. */ public static final DdosTrafficType UDP = fromString("Udp"); /** - * Static value TcpSyn for DdosTrafficType. + * TcpSyn. */ public static final DdosTrafficType TCP_SYN = fromString("TcpSyn"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java index 06643ea9ecd2..63c272ae59e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -40,17 +40,17 @@ public final class DefaultAdminRule extends BaseAdminRuleInner { private String etag; /* - * The type of the resource. + * Resource type. */ private String type; /* - * The name of the resource. + * Resource name. */ private String name; /* - * Fully qualified resource Id for the resource. + * Resource ID. */ private String id; @@ -100,7 +100,7 @@ public String etag() { } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @return the type value. */ @@ -110,7 +110,7 @@ public String type() { } /** - * Get the name property: The name of the resource. + * Get the name property: Resource name. * * @return the name value. */ @@ -120,7 +120,7 @@ public String name() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the id property: Resource ID. * * @return the id value. */ @@ -282,7 +282,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of DefaultAdminRule 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 DefaultAdminRule. */ public static DefaultAdminRule fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Delegation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Delegation.java index 83420d5e78d3..e9ec2d707c34 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Delegation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Delegation.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -152,7 +152,7 @@ public List actions() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java index 7421d2743f4d..5e69a7f9e59b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -24,7 +24,7 @@ public final class DelegationProperties implements JsonSerializable { + /** + * Creates an instance of DeleteBastionShareableLinkFinalResult class. + */ + private DeleteBastionShareableLinkFinalResult() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DeleteBastionShareableLinkFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DeleteBastionShareableLinkFinalResult 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 DeleteBastionShareableLinkFinalResult. + */ + public static DeleteBastionShareableLinkFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + DeleteBastionShareableLinkFinalResult deserializedDeleteBastionShareableLinkFinalResult + = new DeleteBastionShareableLinkFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedDeleteBastionShareableLinkFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java index 21af68be4fdd..37fa6a364094 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class DeleteExistingPeering extends ExpandableStringEnum { /** - * Static value False for DeleteExistingPeering. + * False. */ public static final DeleteExistingPeering FALSE = fromString("False"); /** - * Static value True for DeleteExistingPeering. + * True. */ public static final DeleteExistingPeering TRUE = fromString("True"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java index d7263812e772..95efadff27a1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class DeleteOptions extends ExpandableStringEnum { /** - * Static value Delete for DeleteOptions. + * Delete. */ public static final DeleteOptions DELETE = fromString("Delete"); /** - * Static value Detach for DeleteOptions. + * Detach. */ public static final DeleteOptions DETACH = fromString("Detach"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java index 4c53b677989d..7be3bb0fea18 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class DeploymentStatus extends ExpandableStringEnum { /** - * Static value NotStarted for DeploymentStatus. + * NotStarted. */ public static final DeploymentStatus NOT_STARTED = fromString("NotStarted"); /** - * Static value Deploying for DeploymentStatus. + * Deploying. */ public static final DeploymentStatus DEPLOYING = fromString("Deploying"); /** - * Static value Deployed for DeploymentStatus. + * Deployed. */ public static final DeploymentStatus DEPLOYED = fromString("Deployed"); /** - * Static value Failed for DeploymentStatus. + * Failed. */ public static final DeploymentStatus FAILED = fromString("Failed"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java index a1f9fb6c69bd..930743b6fd78 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class DestinationPortBehavior extends ExpandableStringEnum { /** - * Static value None for DestinationPortBehavior. + * None. */ public static final DestinationPortBehavior NONE = fromString("None"); /** - * Static value ListenIfAvailable for DestinationPortBehavior. + * ListenIfAvailable. */ public static final DestinationPortBehavior LISTEN_IF_AVAILABLE = fromString("ListenIfAvailable"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java index 997b0c9c12e6..30b9010dba4b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DhGroup.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DhGroup.java index 2330c8d21b98..61c731507d3d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DhGroup.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DhGroup.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,42 +12,42 @@ */ public final class DhGroup extends ExpandableStringEnum { /** - * Static value None for DhGroup. + * None. */ public static final DhGroup NONE = fromString("None"); /** - * Static value DHGroup1 for DhGroup. + * DHGroup1. */ public static final DhGroup DHGROUP1 = fromString("DHGroup1"); /** - * Static value DHGroup2 for DhGroup. + * DHGroup2. */ public static final DhGroup DHGROUP2 = fromString("DHGroup2"); /** - * Static value DHGroup14 for DhGroup. + * DHGroup14. */ public static final DhGroup DHGROUP14 = fromString("DHGroup14"); /** - * Static value DHGroup2048 for DhGroup. + * DHGroup2048. */ public static final DhGroup DHGROUP2048 = fromString("DHGroup2048"); /** - * Static value ECP256 for DhGroup. + * ECP256. */ public static final DhGroup ECP256 = fromString("ECP256"); /** - * Static value ECP384 for DhGroup. + * ECP384. */ public static final DhGroup ECP384 = fromString("ECP384"); /** - * Static value DHGroup24 for DhGroup. + * DHGroup24. */ public static final DhGroup DHGROUP24 = fromString("DHGroup24"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java index cd86670c403d..1eba78c6b70e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Dimension.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Dimension.java index c22a5019ca63..41827f38722b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Dimension.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Dimension.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Dimension of the metric. */ -@Fluent +@Immutable public final class Dimension implements JsonSerializable { /* * The name of the dimension. @@ -34,7 +34,7 @@ public final class Dimension implements JsonSerializable { /** * Creates an instance of Dimension class. */ - public Dimension() { + private Dimension() { } /** @@ -46,17 +46,6 @@ public String name() { return this.name; } - /** - * Set the name property: The name of the dimension. - * - * @param name the name value to set. - * @return the Dimension object itself. - */ - public Dimension withName(String name) { - this.name = name; - return this; - } - /** * Get the displayName property: The display name of the dimension. * @@ -66,17 +55,6 @@ public String displayName() { return this.displayName; } - /** - * Set the displayName property: The display name of the dimension. - * - * @param displayName the displayName value to set. - * @return the Dimension object itself. - */ - public Dimension withDisplayName(String displayName) { - this.displayName = displayName; - return this; - } - /** * Get the internalName property: The internal name of the dimension. * @@ -86,17 +64,6 @@ public String internalName() { return this.internalName; } - /** - * Set the internalName property: The internal name of the dimension. - * - * @param internalName the internalName value to set. - * @return the Dimension object itself. - */ - public Dimension withInternalName(String internalName) { - this.internalName = internalName; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Direction.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Direction.java index 426e193e5c8f..167ee372f122 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Direction.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Direction.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class Direction extends ExpandableStringEnum { /** - * Static value Inbound for Direction. + * Inbound. */ public static final Direction INBOUND = fromString("Inbound"); /** - * Static value Outbound for Direction. + * Outbound. */ public static final Direction OUTBOUND = fromString("Outbound"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java index 8025de26dcad..0826a6a41589 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class DisableBgpRoutePropagation extends ExpandableStringEnum { /** - * Static value False for DisableBgpRoutePropagation. + * BGP route propagation is enabled. */ public static final DisableBgpRoutePropagation FALSE = fromString("False"); /** - * Static value True for DisableBgpRoutePropagation. + * BGP route propagation is disabled. */ public static final DisableBgpRoutePropagation TRUE = fromString("True"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java index a1fe1dba1db2..1ef8b73bebbe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java new file mode 100644 index 000000000000..5f198b5508ec --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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 java.io.IOException; + +/** + * The DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult model. + */ +@Immutable +public final class DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult + implements JsonSerializable { + /** + * Creates an instance of DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult class. + */ + private DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult 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 + * DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult. + */ + public static DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult fromJson(JsonReader jsonReader) + throws IOException { + return jsonReader.readObject(reader -> { + DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult deserializedDisconnectVirtualNetworkGatewayVpnConnectionsFinalResult + = new DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedDisconnectVirtualNetworkGatewayVpnConnectionsFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java index ff96aeb4e5d8..7f4590d26204 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java index 65ac680144f4..06cd63ed98ba 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class EffectiveAdminRuleKind extends ExpandableStringEnum { /** - * Static value Custom for EffectiveAdminRuleKind. + * Custom. */ public static final EffectiveAdminRuleKind CUSTOM = fromString("Custom"); /** - * Static value Default for EffectiveAdminRuleKind. + * Default. */ public static final EffectiveAdminRuleKind DEFAULT = fromString("Default"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java index dcd4170ed35d..d3a04916dca1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java @@ -1,22 +1,23 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.fluent.models.DefaultAdminPropertiesFormat; +import com.azure.resourcemanager.network.fluent.models.EffectiveBaseSecurityAdminRuleInner; import java.io.IOException; import java.util.List; /** * Network default admin rule. */ -@Fluent -public final class EffectiveDefaultSecurityAdminRule extends EffectiveBaseSecurityAdminRule { +@Immutable +public final class EffectiveDefaultSecurityAdminRule extends EffectiveBaseSecurityAdminRuleInner { /* * Whether the rule is custom or default. */ @@ -27,10 +28,35 @@ public final class EffectiveDefaultSecurityAdminRule extends EffectiveBaseSecuri */ private DefaultAdminPropertiesFormat innerProperties; + /* + * Effective configuration groups. + */ + private List ruleGroups; + + /* + * Groups for rule collection + */ + private List ruleCollectionAppliesToGroups; + + /* + * A description of the rule collection. + */ + private String ruleCollectionDescription; + + /* + * A description of the security admin configuration. + */ + private String configurationDescription; + + /* + * Resource ID. + */ + private String id; + /** * Creates an instance of EffectiveDefaultSecurityAdminRule class. */ - public EffectiveDefaultSecurityAdminRule() { + private EffectiveDefaultSecurityAdminRule() { } /** @@ -48,54 +74,58 @@ public EffectiveAdminRuleKind kind() { * * @return the innerProperties value. */ - DefaultAdminPropertiesFormat innerProperties() { + private DefaultAdminPropertiesFormat innerProperties() { return this.innerProperties; } /** - * {@inheritDoc} + * Get the ruleGroups property: Effective configuration groups. + * + * @return the ruleGroups value. */ @Override - public EffectiveDefaultSecurityAdminRule withId(String id) { - super.withId(id); - return this; + public List ruleGroups() { + return this.ruleGroups; } /** - * {@inheritDoc} + * Get the ruleCollectionAppliesToGroups property: Groups for rule collection. + * + * @return the ruleCollectionAppliesToGroups value. */ @Override - public EffectiveDefaultSecurityAdminRule withConfigurationDescription(String configurationDescription) { - super.withConfigurationDescription(configurationDescription); - return this; + public List ruleCollectionAppliesToGroups() { + return this.ruleCollectionAppliesToGroups; } /** - * {@inheritDoc} + * Get the ruleCollectionDescription property: A description of the rule collection. + * + * @return the ruleCollectionDescription value. */ @Override - public EffectiveDefaultSecurityAdminRule withRuleCollectionDescription(String ruleCollectionDescription) { - super.withRuleCollectionDescription(ruleCollectionDescription); - return this; + public String ruleCollectionDescription() { + return this.ruleCollectionDescription; } /** - * {@inheritDoc} + * Get the configurationDescription property: A description of the security admin configuration. + * + * @return the configurationDescription value. */ @Override - public EffectiveDefaultSecurityAdminRule - withRuleCollectionAppliesToGroups(List ruleCollectionAppliesToGroups) { - super.withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); - return this; + public String configurationDescription() { + return this.configurationDescription; } /** - * {@inheritDoc} + * Get the id property: Resource ID. + * + * @return the id value. */ @Override - public EffectiveDefaultSecurityAdminRule withRuleGroups(List ruleGroups) { - super.withRuleGroups(ruleGroups); - return this; + public String id() { + return this.id; } /** @@ -116,20 +146,6 @@ public String flag() { return this.innerProperties() == null ? null : this.innerProperties().flag(); } - /** - * Set the flag property: Default rule flag. - * - * @param flag the flag value to set. - * @return the EffectiveDefaultSecurityAdminRule object itself. - */ - public EffectiveDefaultSecurityAdminRule withFlag(String flag) { - if (this.innerProperties() == null) { - this.innerProperties = new DefaultAdminPropertiesFormat(); - } - this.innerProperties().withFlag(flag); - return this; - } - /** * Get the protocol property: Network protocol this rule applies to. * @@ -274,20 +290,20 @@ public static EffectiveDefaultSecurityAdminRule fromJson(JsonReader jsonReader) reader.nextToken(); if ("id".equals(fieldName)) { - deserializedEffectiveDefaultSecurityAdminRule.withId(reader.getString()); + deserializedEffectiveDefaultSecurityAdminRule.id = reader.getString(); } else if ("configurationDescription".equals(fieldName)) { - deserializedEffectiveDefaultSecurityAdminRule.withConfigurationDescription(reader.getString()); + deserializedEffectiveDefaultSecurityAdminRule.configurationDescription = reader.getString(); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedEffectiveDefaultSecurityAdminRule.withRuleCollectionDescription(reader.getString()); + deserializedEffectiveDefaultSecurityAdminRule.ruleCollectionDescription = reader.getString(); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedEffectiveDefaultSecurityAdminRule - .withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); + deserializedEffectiveDefaultSecurityAdminRule.ruleCollectionAppliesToGroups + = ruleCollectionAppliesToGroups; } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedEffectiveDefaultSecurityAdminRule.withRuleGroups(ruleGroups); + deserializedEffectiveDefaultSecurityAdminRule.ruleGroups = ruleGroups; } else if ("kind".equals(fieldName)) { deserializedEffectiveDefaultSecurityAdminRule.kind = EffectiveAdminRuleKind.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java index 013ec6f5156b..9c81bcd696f7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -12,11 +12,12 @@ import com.azure.json.JsonWriter; import java.io.IOException; import java.util.List; +import java.util.Map; /** * Effective network security group. */ -@Fluent +@Immutable public final class EffectiveNetworkSecurityGroup implements JsonSerializable { /* * The ID of network security group that is applied. @@ -36,12 +37,12 @@ public final class EffectiveNetworkSecurityGroup implements JsonSerializable> tagMap; /** * Creates an instance of EffectiveNetworkSecurityGroup class. */ - public EffectiveNetworkSecurityGroup() { + private EffectiveNetworkSecurityGroup() { } /** @@ -53,17 +54,6 @@ public SubResource networkSecurityGroup() { return this.networkSecurityGroup; } - /** - * Set the networkSecurityGroup property: The ID of network security group that is applied. - * - * @param networkSecurityGroup the networkSecurityGroup value to set. - * @return the EffectiveNetworkSecurityGroup object itself. - */ - public EffectiveNetworkSecurityGroup withNetworkSecurityGroup(SubResource networkSecurityGroup) { - this.networkSecurityGroup = networkSecurityGroup; - return this; - } - /** * Get the association property: Associated resources. * @@ -73,17 +63,6 @@ public EffectiveNetworkSecurityGroupAssociation association() { return this.association; } - /** - * Set the association property: Associated resources. - * - * @param association the association value to set. - * @return the EffectiveNetworkSecurityGroup object itself. - */ - public EffectiveNetworkSecurityGroup withAssociation(EffectiveNetworkSecurityGroupAssociation association) { - this.association = association; - return this; - } - /** * Get the effectiveSecurityRules property: A collection of effective security rules. * @@ -93,38 +72,15 @@ public List effectiveSecurityRules() { return this.effectiveSecurityRules; } - /** - * Set the effectiveSecurityRules property: A collection of effective security rules. - * - * @param effectiveSecurityRules the effectiveSecurityRules value to set. - * @return the EffectiveNetworkSecurityGroup object itself. - */ - public EffectiveNetworkSecurityGroup - withEffectiveSecurityRules(List effectiveSecurityRules) { - this.effectiveSecurityRules = effectiveSecurityRules; - return this; - } - /** * Get the tagMap property: Mapping of tags to list of IP Addresses included within the tag. * * @return the tagMap value. */ - public String tagMap() { + public Map> tagMap() { return this.tagMap; } - /** - * Set the tagMap property: Mapping of tags to list of IP Addresses included within the tag. - * - * @param tagMap the tagMap value to set. - * @return the EffectiveNetworkSecurityGroup object itself. - */ - public EffectiveNetworkSecurityGroup withTagMap(String tagMap) { - this.tagMap = tagMap; - return this; - } - /** * Validates the instance. * @@ -149,7 +105,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("association", this.association); jsonWriter.writeArrayField("effectiveSecurityRules", this.effectiveSecurityRules, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeStringField("tagMap", this.tagMap); + jsonWriter.writeMapField("tagMap", this.tagMap, + (writer, element) -> writer.writeArray(element, (writer1, element1) -> writer1.writeString(element1))); return jsonWriter.writeEndObject(); } @@ -179,7 +136,9 @@ public static EffectiveNetworkSecurityGroup fromJson(JsonReader jsonReader) thro = reader.readArray(reader1 -> EffectiveNetworkSecurityRule.fromJson(reader1)); deserializedEffectiveNetworkSecurityGroup.effectiveSecurityRules = effectiveSecurityRules; } else if ("tagMap".equals(fieldName)) { - deserializedEffectiveNetworkSecurityGroup.tagMap = reader.getString(); + Map> tagMap + = reader.readMap(reader1 -> reader1.readArray(reader2 -> reader2.getString())); + deserializedEffectiveNetworkSecurityGroup.tagMap = tagMap; } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java index 0c37c4a11e5c..c71d0faba3f8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -15,7 +15,7 @@ /** * The effective network security group association. */ -@Fluent +@Immutable public final class EffectiveNetworkSecurityGroupAssociation implements JsonSerializable { /* @@ -36,7 +36,7 @@ public final class EffectiveNetworkSecurityGroupAssociation /** * Creates an instance of EffectiveNetworkSecurityGroupAssociation class. */ - public EffectiveNetworkSecurityGroupAssociation() { + private EffectiveNetworkSecurityGroupAssociation() { } /** @@ -48,17 +48,6 @@ public SubResource networkManager() { return this.networkManager; } - /** - * Set the networkManager property: The ID of the Azure network manager if assigned. - * - * @param networkManager the networkManager value to set. - * @return the EffectiveNetworkSecurityGroupAssociation object itself. - */ - public EffectiveNetworkSecurityGroupAssociation withNetworkManager(SubResource networkManager) { - this.networkManager = networkManager; - return this; - } - /** * Get the subnet property: The ID of the subnet if assigned. * @@ -68,17 +57,6 @@ public SubResource subnet() { return this.subnet; } - /** - * Set the subnet property: The ID of the subnet if assigned. - * - * @param subnet the subnet value to set. - * @return the EffectiveNetworkSecurityGroupAssociation object itself. - */ - public EffectiveNetworkSecurityGroupAssociation withSubnet(SubResource subnet) { - this.subnet = subnet; - return this; - } - /** * Get the networkInterface property: The ID of the network interface if assigned. * @@ -88,17 +66,6 @@ public SubResource networkInterface() { return this.networkInterface; } - /** - * Set the networkInterface property: The ID of the network interface if assigned. - * - * @param networkInterface the networkInterface value to set. - * @return the EffectiveNetworkSecurityGroupAssociation object itself. - */ - public EffectiveNetworkSecurityGroupAssociation withNetworkInterface(SubResource networkInterface) { - this.networkInterface = networkInterface; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java index 4d92991a4179..35f8a34970b7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Effective network security rules. */ -@Fluent +@Immutable public final class EffectiveNetworkSecurityRule implements JsonSerializable { /* * The name of the security rule specified by the user (if created by the user). @@ -99,7 +99,7 @@ public final class EffectiveNetworkSecurityRule implements JsonSerializable sourcePortRanges() { return this.sourcePortRanges; } - /** - * Set the sourcePortRanges property: The source port ranges. Expected values include a single integer between 0 and - * 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*). - * - * @param sourcePortRanges the sourcePortRanges value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule withSourcePortRanges(List sourcePortRanges) { - this.sourcePortRanges = sourcePortRanges; - return this; - } - /** * Get the destinationPortRanges property: The destination port ranges. Expected values include a single integer * between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*). @@ -214,18 +158,6 @@ public List destinationPortRanges() { return this.destinationPortRanges; } - /** - * Set the destinationPortRanges property: The destination port ranges. Expected values include a single integer - * between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*). - * - * @param destinationPortRanges the destinationPortRanges value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule withDestinationPortRanges(List destinationPortRanges) { - this.destinationPortRanges = destinationPortRanges; - return this; - } - /** * Get the sourceAddressPrefix property: The source address prefix. * @@ -235,17 +167,6 @@ public String sourceAddressPrefix() { return this.sourceAddressPrefix; } - /** - * Set the sourceAddressPrefix property: The source address prefix. - * - * @param sourceAddressPrefix the sourceAddressPrefix value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule withSourceAddressPrefix(String sourceAddressPrefix) { - this.sourceAddressPrefix = sourceAddressPrefix; - return this; - } - /** * Get the destinationAddressPrefix property: The destination address prefix. * @@ -255,17 +176,6 @@ public String destinationAddressPrefix() { return this.destinationAddressPrefix; } - /** - * Set the destinationAddressPrefix property: The destination address prefix. - * - * @param destinationAddressPrefix the destinationAddressPrefix value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule withDestinationAddressPrefix(String destinationAddressPrefix) { - this.destinationAddressPrefix = destinationAddressPrefix; - return this; - } - /** * Get the sourceAddressPrefixes property: The source address prefixes. Expected values include CIDR IP ranges, * Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). @@ -276,18 +186,6 @@ public List sourceAddressPrefixes() { return this.sourceAddressPrefixes; } - /** - * Set the sourceAddressPrefixes property: The source address prefixes. Expected values include CIDR IP ranges, - * Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). - * - * @param sourceAddressPrefixes the sourceAddressPrefixes value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule withSourceAddressPrefixes(List sourceAddressPrefixes) { - this.sourceAddressPrefixes = sourceAddressPrefixes; - return this; - } - /** * Get the destinationAddressPrefixes property: The destination address prefixes. Expected values include CIDR IP * ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). @@ -298,18 +196,6 @@ public List destinationAddressPrefixes() { return this.destinationAddressPrefixes; } - /** - * Set the destinationAddressPrefixes property: The destination address prefixes. Expected values include CIDR IP - * ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*). - * - * @param destinationAddressPrefixes the destinationAddressPrefixes value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule withDestinationAddressPrefixes(List destinationAddressPrefixes) { - this.destinationAddressPrefixes = destinationAddressPrefixes; - return this; - } - /** * Get the expandedSourceAddressPrefix property: The expanded source address prefix. * @@ -319,17 +205,6 @@ public List expandedSourceAddressPrefix() { return this.expandedSourceAddressPrefix; } - /** - * Set the expandedSourceAddressPrefix property: The expanded source address prefix. - * - * @param expandedSourceAddressPrefix the expandedSourceAddressPrefix value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule withExpandedSourceAddressPrefix(List expandedSourceAddressPrefix) { - this.expandedSourceAddressPrefix = expandedSourceAddressPrefix; - return this; - } - /** * Get the expandedDestinationAddressPrefix property: Expanded destination address prefix. * @@ -339,18 +214,6 @@ public List expandedDestinationAddressPrefix() { return this.expandedDestinationAddressPrefix; } - /** - * Set the expandedDestinationAddressPrefix property: Expanded destination address prefix. - * - * @param expandedDestinationAddressPrefix the expandedDestinationAddressPrefix value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule - withExpandedDestinationAddressPrefix(List expandedDestinationAddressPrefix) { - this.expandedDestinationAddressPrefix = expandedDestinationAddressPrefix; - return this; - } - /** * Get the access property: Whether network traffic is allowed or denied. * @@ -360,17 +223,6 @@ public SecurityRuleAccess access() { return this.access; } - /** - * Set the access property: Whether network traffic is allowed or denied. - * - * @param access the access value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule withAccess(SecurityRuleAccess access) { - this.access = access; - return this; - } - /** * Get the priority property: The priority of the rule. * @@ -380,17 +232,6 @@ public Integer priority() { return this.priority; } - /** - * Set the priority property: The priority of the rule. - * - * @param priority the priority value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule withPriority(Integer priority) { - this.priority = priority; - return this; - } - /** * Get the direction property: The direction of the rule. * @@ -400,17 +241,6 @@ public SecurityRuleDirection direction() { return this.direction; } - /** - * Set the direction property: The direction of the rule. - * - * @param direction the direction value to set. - * @return the EffectiveNetworkSecurityRule object itself. - */ - public EffectiveNetworkSecurityRule withDirection(SecurityRuleDirection direction) { - this.direction = direction; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java index ba84ad19e6e3..cb8a9068807f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Effective Route. */ -@Fluent +@Immutable public final class EffectiveRoute implements JsonSerializable { /* * The name of the user defined route. This is optional. @@ -55,7 +55,7 @@ public final class EffectiveRoute implements JsonSerializable { /** * Creates an instance of EffectiveRoute class. */ - public EffectiveRoute() { + private EffectiveRoute() { } /** @@ -67,17 +67,6 @@ public String name() { return this.name; } - /** - * Set the name property: The name of the user defined route. This is optional. - * - * @param name the name value to set. - * @return the EffectiveRoute object itself. - */ - public EffectiveRoute withName(String name) { - this.name = name; - return this; - } - /** * Get the disableBgpRoutePropagation property: If true, on-premises routes are not propagated to the network * interfaces in the subnet. @@ -88,18 +77,6 @@ public Boolean disableBgpRoutePropagation() { return this.disableBgpRoutePropagation; } - /** - * Set the disableBgpRoutePropagation property: If true, on-premises routes are not propagated to the network - * interfaces in the subnet. - * - * @param disableBgpRoutePropagation the disableBgpRoutePropagation value to set. - * @return the EffectiveRoute object itself. - */ - public EffectiveRoute withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation) { - this.disableBgpRoutePropagation = disableBgpRoutePropagation; - return this; - } - /** * Get the source property: Who created the route. * @@ -109,17 +86,6 @@ public EffectiveRouteSource source() { return this.source; } - /** - * Set the source property: Who created the route. - * - * @param source the source value to set. - * @return the EffectiveRoute object itself. - */ - public EffectiveRoute withSource(EffectiveRouteSource source) { - this.source = source; - return this; - } - /** * Get the state property: The value of effective route. * @@ -129,17 +95,6 @@ public EffectiveRouteState state() { return this.state; } - /** - * Set the state property: The value of effective route. - * - * @param state the state value to set. - * @return the EffectiveRoute object itself. - */ - public EffectiveRoute withState(EffectiveRouteState state) { - this.state = state; - return this; - } - /** * Get the addressPrefix property: The address prefixes of the effective routes in CIDR notation. * @@ -149,17 +104,6 @@ public List addressPrefix() { return this.addressPrefix; } - /** - * Set the addressPrefix property: The address prefixes of the effective routes in CIDR notation. - * - * @param addressPrefix the addressPrefix value to set. - * @return the EffectiveRoute object itself. - */ - public EffectiveRoute withAddressPrefix(List addressPrefix) { - this.addressPrefix = addressPrefix; - return this; - } - /** * Get the nextHopIpAddress property: The IP address of the next hop of the effective route. * @@ -169,17 +113,6 @@ public List nextHopIpAddress() { return this.nextHopIpAddress; } - /** - * Set the nextHopIpAddress property: The IP address of the next hop of the effective route. - * - * @param nextHopIpAddress the nextHopIpAddress value to set. - * @return the EffectiveRoute object itself. - */ - public EffectiveRoute withNextHopIpAddress(List nextHopIpAddress) { - this.nextHopIpAddress = nextHopIpAddress; - return this; - } - /** * Get the nextHopType property: The type of Azure hop the packet should be sent to. * @@ -189,17 +122,6 @@ public RouteNextHopType nextHopType() { return this.nextHopType; } - /** - * Set the nextHopType property: The type of Azure hop the packet should be sent to. - * - * @param nextHopType the nextHopType value to set. - * @return the EffectiveRoute object itself. - */ - public EffectiveRoute withNextHopType(RouteNextHopType nextHopType) { - this.nextHopType = nextHopType; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java index 8242cb2cf8e0..c8df61f5a2f5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class EffectiveRouteSource extends ExpandableStringEnum { /** - * Static value Unknown for EffectiveRouteSource. + * Unknown. */ public static final EffectiveRouteSource UNKNOWN = fromString("Unknown"); /** - * Static value User for EffectiveRouteSource. + * User. */ public static final EffectiveRouteSource USER = fromString("User"); /** - * Static value VirtualNetworkGateway for EffectiveRouteSource. + * VirtualNetworkGateway. */ public static final EffectiveRouteSource VIRTUAL_NETWORK_GATEWAY = fromString("VirtualNetworkGateway"); /** - * Static value Default for EffectiveRouteSource. + * Default. */ public static final EffectiveRouteSource DEFAULT = fromString("Default"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java index 6e7e9b07efc9..04b685908cf9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class EffectiveRouteState extends ExpandableStringEnum { /** - * Static value Active for EffectiveRouteState. + * Active. */ public static final EffectiveRouteState ACTIVE = fromString("Active"); /** - * Static value Invalid for EffectiveRouteState. + * Invalid. */ public static final EffectiveRouteState INVALID = fromString("Invalid"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java index c503e7629598..a637def85377 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java index e8908dfd5b2a..48e7ce39ce08 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java @@ -1,22 +1,23 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.fluent.models.AdminPropertiesFormat; +import com.azure.resourcemanager.network.fluent.models.EffectiveBaseSecurityAdminRuleInner; import java.io.IOException; import java.util.List; /** * Network admin rule. */ -@Fluent -public final class EffectiveSecurityAdminRule extends EffectiveBaseSecurityAdminRule { +@Immutable +public final class EffectiveSecurityAdminRule extends EffectiveBaseSecurityAdminRuleInner { /* * Whether the rule is custom or default. */ @@ -27,10 +28,35 @@ public final class EffectiveSecurityAdminRule extends EffectiveBaseSecurityAdmin */ private AdminPropertiesFormat innerProperties; + /* + * Effective configuration groups. + */ + private List ruleGroups; + + /* + * Groups for rule collection + */ + private List ruleCollectionAppliesToGroups; + + /* + * A description of the rule collection. + */ + private String ruleCollectionDescription; + + /* + * A description of the security admin configuration. + */ + private String configurationDescription; + + /* + * Resource ID. + */ + private String id; + /** * Creates an instance of EffectiveSecurityAdminRule class. */ - public EffectiveSecurityAdminRule() { + private EffectiveSecurityAdminRule() { } /** @@ -48,54 +74,58 @@ public EffectiveAdminRuleKind kind() { * * @return the innerProperties value. */ - AdminPropertiesFormat innerProperties() { + private AdminPropertiesFormat innerProperties() { return this.innerProperties; } /** - * {@inheritDoc} + * Get the ruleGroups property: Effective configuration groups. + * + * @return the ruleGroups value. */ @Override - public EffectiveSecurityAdminRule withId(String id) { - super.withId(id); - return this; + public List ruleGroups() { + return this.ruleGroups; } /** - * {@inheritDoc} + * Get the ruleCollectionAppliesToGroups property: Groups for rule collection. + * + * @return the ruleCollectionAppliesToGroups value. */ @Override - public EffectiveSecurityAdminRule withConfigurationDescription(String configurationDescription) { - super.withConfigurationDescription(configurationDescription); - return this; + public List ruleCollectionAppliesToGroups() { + return this.ruleCollectionAppliesToGroups; } /** - * {@inheritDoc} + * Get the ruleCollectionDescription property: A description of the rule collection. + * + * @return the ruleCollectionDescription value. */ @Override - public EffectiveSecurityAdminRule withRuleCollectionDescription(String ruleCollectionDescription) { - super.withRuleCollectionDescription(ruleCollectionDescription); - return this; + public String ruleCollectionDescription() { + return this.ruleCollectionDescription; } /** - * {@inheritDoc} + * Get the configurationDescription property: A description of the security admin configuration. + * + * @return the configurationDescription value. */ @Override - public EffectiveSecurityAdminRule - withRuleCollectionAppliesToGroups(List ruleCollectionAppliesToGroups) { - super.withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); - return this; + public String configurationDescription() { + return this.configurationDescription; } /** - * {@inheritDoc} + * Get the id property: Resource ID. + * + * @return the id value. */ @Override - public EffectiveSecurityAdminRule withRuleGroups(List ruleGroups) { - super.withRuleGroups(ruleGroups); - return this; + public String id() { + return this.id; } /** @@ -107,20 +137,6 @@ public String description() { return this.innerProperties() == null ? null : this.innerProperties().description(); } - /** - * Set the description property: A description for this rule. Restricted to 140 chars. - * - * @param description the description value to set. - * @return the EffectiveSecurityAdminRule object itself. - */ - public EffectiveSecurityAdminRule withDescription(String description) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withDescription(description); - return this; - } - /** * Get the protocol property: Network protocol this rule applies to. * @@ -130,20 +146,6 @@ public SecurityConfigurationRuleProtocol protocol() { return this.innerProperties() == null ? null : this.innerProperties().protocol(); } - /** - * Set the protocol property: Network protocol this rule applies to. - * - * @param protocol the protocol value to set. - * @return the EffectiveSecurityAdminRule object itself. - */ - public EffectiveSecurityAdminRule withProtocol(SecurityConfigurationRuleProtocol protocol) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withProtocol(protocol); - return this; - } - /** * Get the sources property: The CIDR or source IP ranges. * @@ -153,20 +155,6 @@ public List sources() { return this.innerProperties() == null ? null : this.innerProperties().sources(); } - /** - * Set the sources property: The CIDR or source IP ranges. - * - * @param sources the sources value to set. - * @return the EffectiveSecurityAdminRule object itself. - */ - public EffectiveSecurityAdminRule withSources(List sources) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withSources(sources); - return this; - } - /** * Get the destinations property: The destination address prefixes. CIDR or destination IP ranges. * @@ -176,20 +164,6 @@ public List destinations() { return this.innerProperties() == null ? null : this.innerProperties().destinations(); } - /** - * Set the destinations property: The destination address prefixes. CIDR or destination IP ranges. - * - * @param destinations the destinations value to set. - * @return the EffectiveSecurityAdminRule object itself. - */ - public EffectiveSecurityAdminRule withDestinations(List destinations) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withDestinations(destinations); - return this; - } - /** * Get the sourcePortRanges property: The source port ranges. * @@ -199,20 +173,6 @@ public List sourcePortRanges() { return this.innerProperties() == null ? null : this.innerProperties().sourcePortRanges(); } - /** - * Set the sourcePortRanges property: The source port ranges. - * - * @param sourcePortRanges the sourcePortRanges value to set. - * @return the EffectiveSecurityAdminRule object itself. - */ - public EffectiveSecurityAdminRule withSourcePortRanges(List sourcePortRanges) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withSourcePortRanges(sourcePortRanges); - return this; - } - /** * Get the destinationPortRanges property: The destination port ranges. * @@ -222,20 +182,6 @@ public List destinationPortRanges() { return this.innerProperties() == null ? null : this.innerProperties().destinationPortRanges(); } - /** - * Set the destinationPortRanges property: The destination port ranges. - * - * @param destinationPortRanges the destinationPortRanges value to set. - * @return the EffectiveSecurityAdminRule object itself. - */ - public EffectiveSecurityAdminRule withDestinationPortRanges(List destinationPortRanges) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withDestinationPortRanges(destinationPortRanges); - return this; - } - /** * Get the access property: Indicates the access allowed for this particular rule. * @@ -245,20 +191,6 @@ public SecurityConfigurationRuleAccess access() { return this.innerProperties() == null ? null : this.innerProperties().access(); } - /** - * Set the access property: Indicates the access allowed for this particular rule. - * - * @param access the access value to set. - * @return the EffectiveSecurityAdminRule object itself. - */ - public EffectiveSecurityAdminRule withAccess(SecurityConfigurationRuleAccess access) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withAccess(access); - return this; - } - /** * Get the priority property: The priority of the rule. The value can be between 1 and 4096. The priority number * must be unique for each rule in the collection. The lower the priority number, the higher the priority of the @@ -270,22 +202,6 @@ public Integer priority() { return this.innerProperties() == null ? null : this.innerProperties().priority(); } - /** - * Set the priority property: The priority of the rule. The value can be between 1 and 4096. The priority number - * must be unique for each rule in the collection. The lower the priority number, the higher the priority of the - * rule. - * - * @param priority the priority value to set. - * @return the EffectiveSecurityAdminRule object itself. - */ - public EffectiveSecurityAdminRule withPriority(Integer priority) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withPriority(priority); - return this; - } - /** * Get the direction property: Indicates if the traffic matched against the rule in inbound or outbound. * @@ -295,20 +211,6 @@ public SecurityConfigurationRuleDirection direction() { return this.innerProperties() == null ? null : this.innerProperties().direction(); } - /** - * Set the direction property: Indicates if the traffic matched against the rule in inbound or outbound. - * - * @param direction the direction value to set. - * @return the EffectiveSecurityAdminRule object itself. - */ - public EffectiveSecurityAdminRule withDirection(SecurityConfigurationRuleDirection direction) { - if (this.innerProperties() == null) { - this.innerProperties = new AdminPropertiesFormat(); - } - this.innerProperties().withDirection(direction); - return this; - } - /** * Get the provisioningState property: The provisioning state of the resource. * @@ -378,20 +280,20 @@ public static EffectiveSecurityAdminRule fromJson(JsonReader jsonReader) throws reader.nextToken(); if ("id".equals(fieldName)) { - deserializedEffectiveSecurityAdminRule.withId(reader.getString()); + deserializedEffectiveSecurityAdminRule.id = reader.getString(); } else if ("configurationDescription".equals(fieldName)) { - deserializedEffectiveSecurityAdminRule.withConfigurationDescription(reader.getString()); + deserializedEffectiveSecurityAdminRule.configurationDescription = reader.getString(); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedEffectiveSecurityAdminRule.withRuleCollectionDescription(reader.getString()); + deserializedEffectiveSecurityAdminRule.ruleCollectionDescription = reader.getString(); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedEffectiveSecurityAdminRule - .withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); + deserializedEffectiveSecurityAdminRule.ruleCollectionAppliesToGroups + = ruleCollectionAppliesToGroups; } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedEffectiveSecurityAdminRule.withRuleGroups(ruleGroups); + deserializedEffectiveSecurityAdminRule.ruleGroups = ruleGroups; } else if ("kind".equals(fieldName)) { deserializedEffectiveSecurityAdminRule.kind = EffectiveAdminRuleKind.fromString(reader.getString()); } else if ("properties".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java index d653af0f82d4..6fe47fd2eb27 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class EffectiveSecurityRuleProtocol extends ExpandableStringEnum { /** - * Static value Tcp for EffectiveSecurityRuleProtocol. + * Tcp. */ public static final EffectiveSecurityRuleProtocol TCP = fromString("Tcp"); /** - * Static value Udp for EffectiveSecurityRuleProtocol. + * Udp. */ public static final EffectiveSecurityRuleProtocol UDP = fromString("Udp"); /** - * Static value All for EffectiveSecurityRuleProtocol. + * All. */ public static final EffectiveSecurityRuleProtocol ALL = fromString("All"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EndpointType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EndpointType.java index d235d9f9fc3b..61cd6ece17aa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EndpointType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EndpointType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,47 +12,47 @@ */ public final class EndpointType extends ExpandableStringEnum { /** - * Static value AzureVM for EndpointType. + * AzureVM. */ public static final EndpointType AZURE_VM = fromString("AzureVM"); /** - * Static value AzureVNet for EndpointType. + * AzureVNet. */ public static final EndpointType AZURE_VNET = fromString("AzureVNet"); /** - * Static value AzureSubnet for EndpointType. + * AzureSubnet. */ public static final EndpointType AZURE_SUBNET = fromString("AzureSubnet"); /** - * Static value ExternalAddress for EndpointType. + * ExternalAddress. */ public static final EndpointType EXTERNAL_ADDRESS = fromString("ExternalAddress"); /** - * Static value MMAWorkspaceMachine for EndpointType. + * MMAWorkspaceMachine. */ public static final EndpointType MMAWORKSPACE_MACHINE = fromString("MMAWorkspaceMachine"); /** - * Static value MMAWorkspaceNetwork for EndpointType. + * MMAWorkspaceNetwork. */ public static final EndpointType MMAWORKSPACE_NETWORK = fromString("MMAWorkspaceNetwork"); /** - * Static value AzureArcVM for EndpointType. + * AzureArcVM. */ public static final EndpointType AZURE_ARC_VM = fromString("AzureArcVM"); /** - * Static value AzureVMSS for EndpointType. + * AzureVMSS. */ public static final EndpointType AZURE_VMSS = fromString("AzureVMSS"); /** - * Static value AzureArcNetwork for EndpointType. + * AzureArcNetwork. */ public static final EndpointType AZURE_ARC_NETWORK = fromString("AzureArcNetwork"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Error.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Error.java index 81e021a17d11..3b04d8094841 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Error.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Error.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -51,7 +51,7 @@ public final class Error extends ManagementError { /** * Creates an instance of Error class. */ - public Error() { + private Error() { } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java deleted file mode 100644 index a31e8382507c..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.network.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 java.io.IOException; - -/** - * The resource management error additional info. - */ -@Immutable -public final class ErrorAdditionalInfo implements JsonSerializable { - /* - * The additional info type. - */ - private String type; - - /* - * The additional info. - */ - private Object info; - - /** - * Creates an instance of ErrorAdditionalInfo class. - */ - public ErrorAdditionalInfo() { - } - - /** - * Get the type property: The additional info type. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Get the info property: The additional info. - * - * @return the info value. - */ - public Object info() { - return this.info; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ErrorAdditionalInfo from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ErrorAdditionalInfo 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 ErrorAdditionalInfo. - */ - public static ErrorAdditionalInfo fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ErrorAdditionalInfo deserializedErrorAdditionalInfo = new ErrorAdditionalInfo(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("type".equals(fieldName)) { - deserializedErrorAdditionalInfo.type = reader.getString(); - } else if ("info".equals(fieldName)) { - deserializedErrorAdditionalInfo.info = reader.readUntyped(); - } else { - reader.skipChildren(); - } - } - - return deserializedErrorAdditionalInfo; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java deleted file mode 100644 index ec1f9133e641..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.network.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 java.io.IOException; -import java.util.List; - -/** - * The error detail. - */ -@Immutable -public final class ErrorDetail implements JsonSerializable { - /* - * The error code. - */ - private String code; - - /* - * The error message. - */ - private String message; - - /* - * The error target. - */ - private String target; - - /* - * The error details. - */ - private List details; - - /* - * The error additional info. - */ - private List additionalInfo; - - /** - * Creates an instance of ErrorDetail class. - */ - public ErrorDetail() { - } - - /** - * Get the code property: The error code. - * - * @return the code value. - */ - public String code() { - return this.code; - } - - /** - * Get the message property: The error message. - * - * @return the message value. - */ - public String message() { - return this.message; - } - - /** - * Get the target property: The error target. - * - * @return the target value. - */ - public String target() { - return this.target; - } - - /** - * Get the details property: The error details. - * - * @return the details value. - */ - public List details() { - return this.details; - } - - /** - * Get the additionalInfo property: The error additional info. - * - * @return the additionalInfo value. - */ - public List additionalInfo() { - return this.additionalInfo; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (details() != null) { - details().forEach(e -> e.validate()); - } - if (additionalInfo() != null) { - additionalInfo().forEach(e -> e.validate()); - } - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ErrorDetail from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ErrorDetail 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 ErrorDetail. - */ - public static ErrorDetail fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ErrorDetail deserializedErrorDetail = new ErrorDetail(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("code".equals(fieldName)) { - deserializedErrorDetail.code = reader.getString(); - } else if ("message".equals(fieldName)) { - deserializedErrorDetail.message = reader.getString(); - } else if ("target".equals(fieldName)) { - deserializedErrorDetail.target = reader.getString(); - } else if ("details".equals(fieldName)) { - List details = reader.readArray(reader1 -> ErrorDetail.fromJson(reader1)); - deserializedErrorDetail.details = details; - } else if ("additionalInfo".equals(fieldName)) { - List additionalInfo - = reader.readArray(reader1 -> ErrorAdditionalInfo.fromJson(reader1)); - deserializedErrorDetail.additionalInfo = additionalInfo; - } else { - reader.skipChildren(); - } - } - - return deserializedErrorDetail; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorException.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorException.java index 7d575ef9c665..5e00fe514e2f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorException.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorException.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java index 72b280c2f10d..76b2f03cc06c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Results of network security group evaluation. */ -@Fluent +@Immutable public final class EvaluatedNetworkSecurityGroup implements JsonSerializable { /* * Network security group ID. @@ -40,7 +40,7 @@ public final class EvaluatedNetworkSecurityGroup implements JsonSerializable { /** - * Static value RequestURI for ExceptionEntryMatchVariable. + * RequestURI. */ public static final ExceptionEntryMatchVariable REQUEST_URI = fromString("RequestURI"); /** - * Static value RemoteAddr for ExceptionEntryMatchVariable. + * RemoteAddr. */ public static final ExceptionEntryMatchVariable REMOTE_ADDR = fromString("RemoteAddr"); /** - * Static value RequestHeader for ExceptionEntryMatchVariable. + * RequestHeader. */ public static final ExceptionEntryMatchVariable REQUEST_HEADER = fromString("RequestHeader"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java index bce595d028ba..ceab92e3a592 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,22 +13,22 @@ public final class ExceptionEntrySelectorMatchOperator extends ExpandableStringEnum { /** - * Static value Equals for ExceptionEntrySelectorMatchOperator. + * Equals. */ public static final ExceptionEntrySelectorMatchOperator EQUALS = fromString("Equals"); /** - * Static value Contains for ExceptionEntrySelectorMatchOperator. + * Contains. */ public static final ExceptionEntrySelectorMatchOperator CONTAINS = fromString("Contains"); /** - * Static value StartsWith for ExceptionEntrySelectorMatchOperator. + * StartsWith. */ public static final ExceptionEntrySelectorMatchOperator STARTS_WITH = fromString("StartsWith"); /** - * Static value EndsWith for ExceptionEntrySelectorMatchOperator. + * EndsWith. */ public static final ExceptionEntrySelectorMatchOperator ENDS_WITH = fromString("EndsWith"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java index 0b85a6ce1448..ad67d07d26c4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class ExceptionEntryValueMatchOperator extends ExpandableStringEnum { /** - * Static value Equals for ExceptionEntryValueMatchOperator. + * Equals. */ public static final ExceptionEntryValueMatchOperator EQUALS = fromString("Equals"); /** - * Static value Contains for ExceptionEntryValueMatchOperator. + * Contains. */ public static final ExceptionEntryValueMatchOperator CONTAINS = fromString("Contains"); /** - * Static value StartsWith for ExceptionEntryValueMatchOperator. + * StartsWith. */ public static final ExceptionEntryValueMatchOperator STARTS_WITH = fromString("StartsWith"); /** - * Static value EndsWith for ExceptionEntryValueMatchOperator. + * EndsWith. */ public static final ExceptionEntryValueMatchOperator ENDS_WITH = fromString("EndsWith"); /** - * Static value IPMatch for ExceptionEntryValueMatchOperator. + * IPMatch. */ public static final ExceptionEntryValueMatchOperator IPMATCH = fromString("IPMatch"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java index f1303a574195..1c5bb83a5e16 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java index 8aa23d23f762..226aff643d26 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java index 7e4a1b2a2375..34748a06bbe7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java index 37a9d7d56dba..30ef76c1fee0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java index 069d759e6905..a673b07864d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The ARP table associated with the ExpressRouteCircuit. */ -@Fluent +@Immutable public final class ExpressRouteCircuitArpTable implements JsonSerializable { /* * Entry age in minutes. @@ -39,7 +39,7 @@ public final class ExpressRouteCircuitArpTable implements JsonSerializable { /** - * Static value NotConfigured for ExpressRouteCircuitPeeringAdvertisedPublicPrefixState. + * NotConfigured. */ public static final ExpressRouteCircuitPeeringAdvertisedPublicPrefixState NOT_CONFIGURED = fromString("NotConfigured"); /** - * Static value Configuring for ExpressRouteCircuitPeeringAdvertisedPublicPrefixState. + * Configuring. */ public static final ExpressRouteCircuitPeeringAdvertisedPublicPrefixState CONFIGURING = fromString("Configuring"); /** - * Static value Configured for ExpressRouteCircuitPeeringAdvertisedPublicPrefixState. + * Configured. */ public static final ExpressRouteCircuitPeeringAdvertisedPublicPrefixState CONFIGURED = fromString("Configured"); /** - * Static value ValidationNeeded for ExpressRouteCircuitPeeringAdvertisedPublicPrefixState. + * ValidationNeeded. */ public static final ExpressRouteCircuitPeeringAdvertisedPublicPrefixState VALIDATION_NEEDED = fromString("ValidationNeeded"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java index 65400fd028a1..eccec71f2852 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java index 64aeb8ff91bd..f34806a8cdd5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java index 140343866eb0..d16e3f425368 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ExpressRouteCircuitPeeringState extends ExpandableStringEnum { /** - * Static value Disabled for ExpressRouteCircuitPeeringState. + * Disabled. */ public static final ExpressRouteCircuitPeeringState DISABLED = fromString("Disabled"); /** - * Static value Enabled for ExpressRouteCircuitPeeringState. + * Enabled. */ public static final ExpressRouteCircuitPeeringState ENABLED = fromString("Enabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java index d4faad266154..722c15316160 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java index 2e09eefe64b2..f7d328cec59d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The routes table associated with the ExpressRouteCircuit. */ -@Fluent +@Immutable public final class ExpressRouteCircuitRoutesTable implements JsonSerializable { /* * IP address of a network entity. @@ -44,7 +44,7 @@ public final class ExpressRouteCircuitRoutesTable implements JsonSerializable { /* @@ -47,7 +47,7 @@ public final class ExpressRouteCircuitRoutesTableSummary /** * Creates an instance of ExpressRouteCircuitRoutesTableSummary class. */ - public ExpressRouteCircuitRoutesTableSummary() { + private ExpressRouteCircuitRoutesTableSummary() { } /** @@ -59,17 +59,6 @@ public String neighbor() { return this.neighbor; } - /** - * Set the neighbor property: IP address of the neighbor. - * - * @param neighbor the neighbor value to set. - * @return the ExpressRouteCircuitRoutesTableSummary object itself. - */ - public ExpressRouteCircuitRoutesTableSummary withNeighbor(String neighbor) { - this.neighbor = neighbor; - return this; - } - /** * Get the v property: BGP version number spoken to the neighbor. * @@ -79,17 +68,6 @@ public Integer v() { return this.v; } - /** - * Set the v property: BGP version number spoken to the neighbor. - * - * @param v the v value to set. - * @return the ExpressRouteCircuitRoutesTableSummary object itself. - */ - public ExpressRouteCircuitRoutesTableSummary withV(Integer v) { - this.v = v; - return this; - } - /** * Get the as property: Autonomous system number. * @@ -99,17 +77,6 @@ public Integer as() { return this.as; } - /** - * Set the as property: Autonomous system number. - * - * @param as the as value to set. - * @return the ExpressRouteCircuitRoutesTableSummary object itself. - */ - public ExpressRouteCircuitRoutesTableSummary withAs(Integer as) { - this.as = as; - return this; - } - /** * Get the upDown property: The length of time that the BGP session has been in the Established state, or the * current status if not in the Established state. @@ -120,18 +87,6 @@ public String upDown() { return this.upDown; } - /** - * Set the upDown property: The length of time that the BGP session has been in the Established state, or the - * current status if not in the Established state. - * - * @param upDown the upDown value to set. - * @return the ExpressRouteCircuitRoutesTableSummary object itself. - */ - public ExpressRouteCircuitRoutesTableSummary withUpDown(String upDown) { - this.upDown = upDown; - return this; - } - /** * Get the statePfxRcd property: Current state of the BGP session, and the number of prefixes that have been * received from a neighbor or peer group. @@ -142,18 +97,6 @@ public String statePfxRcd() { return this.statePfxRcd; } - /** - * Set the statePfxRcd property: Current state of the BGP session, and the number of prefixes that have been - * received from a neighbor or peer group. - * - * @param statePfxRcd the statePfxRcd value to set. - * @return the ExpressRouteCircuitRoutesTableSummary object itself. - */ - public ExpressRouteCircuitRoutesTableSummary withStatePfxRcd(String statePfxRcd) { - this.statePfxRcd = statePfxRcd; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java index 9118edebaac4..32af9e79c174 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java index 3eea0b29cbe7..b420d1cd3c0d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java index 468cf680cf1c..199226b938be 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ExpressRouteCircuitSkuFamily extends ExpandableStringEnum { /** - * Static value UnlimitedData for ExpressRouteCircuitSkuFamily. + * UnlimitedData. */ public static final ExpressRouteCircuitSkuFamily UNLIMITED_DATA = fromString("UnlimitedData"); /** - * Static value MeteredData for ExpressRouteCircuitSkuFamily. + * MeteredData. */ public static final ExpressRouteCircuitSkuFamily METERED_DATA = fromString("MeteredData"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java index 3d9a25be9612..aac0508551a9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class ExpressRouteCircuitSkuTier extends ExpandableStringEnum { /** - * Static value Standard for ExpressRouteCircuitSkuTier. + * Standard. */ public static final ExpressRouteCircuitSkuTier STANDARD = fromString("Standard"); /** - * Static value Premium for ExpressRouteCircuitSkuTier. + * Premium. */ public static final ExpressRouteCircuitSkuTier PREMIUM = fromString("Premium"); /** - * Static value Basic for ExpressRouteCircuitSkuTier. + * Basic. */ public static final ExpressRouteCircuitSkuTier BASIC = fromString("Basic"); /** - * Static value Local for ExpressRouteCircuitSkuTier. + * Local. */ public static final ExpressRouteCircuitSkuTier LOCAL = fromString("Local"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java index 11f4e67082aa..f17461591694 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java index 432c852c9bb5..cb64f7b75cc2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The routes table associated with the ExpressRouteCircuit. */ -@Fluent +@Immutable public final class ExpressRouteCrossConnectionRoutesTableSummary implements JsonSerializable { /* @@ -42,7 +42,7 @@ public final class ExpressRouteCrossConnectionRoutesTableSummary /** * Creates an instance of ExpressRouteCrossConnectionRoutesTableSummary class. */ - public ExpressRouteCrossConnectionRoutesTableSummary() { + private ExpressRouteCrossConnectionRoutesTableSummary() { } /** @@ -54,17 +54,6 @@ public String neighbor() { return this.neighbor; } - /** - * Set the neighbor property: IP address of Neighbor router. - * - * @param neighbor the neighbor value to set. - * @return the ExpressRouteCrossConnectionRoutesTableSummary object itself. - */ - public ExpressRouteCrossConnectionRoutesTableSummary withNeighbor(String neighbor) { - this.neighbor = neighbor; - return this; - } - /** * Get the asn property: Autonomous system number. * @@ -74,17 +63,6 @@ public Integer asn() { return this.asn; } - /** - * Set the asn property: Autonomous system number. - * - * @param asn the asn value to set. - * @return the ExpressRouteCrossConnectionRoutesTableSummary object itself. - */ - public ExpressRouteCrossConnectionRoutesTableSummary withAsn(Integer asn) { - this.asn = asn; - return this; - } - /** * Get the upDown property: The length of time that the BGP session has been in the Established state, or the * current status if not in the Established state. @@ -95,18 +73,6 @@ public String upDown() { return this.upDown; } - /** - * Set the upDown property: The length of time that the BGP session has been in the Established state, or the - * current status if not in the Established state. - * - * @param upDown the upDown value to set. - * @return the ExpressRouteCrossConnectionRoutesTableSummary object itself. - */ - public ExpressRouteCrossConnectionRoutesTableSummary withUpDown(String upDown) { - this.upDown = upDown; - return this; - } - /** * Get the stateOrPrefixesReceived property: Current state of the BGP session, and the number of prefixes that have * been received from a neighbor or peer group. @@ -117,18 +83,6 @@ public String stateOrPrefixesReceived() { return this.stateOrPrefixesReceived; } - /** - * Set the stateOrPrefixesReceived property: Current state of the BGP session, and the number of prefixes that have - * been received from a neighbor or peer group. - * - * @param stateOrPrefixesReceived the stateOrPrefixesReceived value to set. - * @return the ExpressRouteCrossConnectionRoutesTableSummary object itself. - */ - public ExpressRouteCrossConnectionRoutesTableSummary withStateOrPrefixesReceived(String stateOrPrefixesReceived) { - this.stateOrPrefixesReceived = stateOrPrefixesReceived; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java index 8043794e573a..3cf780d42945 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The ExpressRouteFailoverCircuitResourceDetails model. */ -@Fluent +@Immutable public final class ExpressRouteFailoverCircuitResourceDetails implements JsonSerializable { /* @@ -35,7 +35,7 @@ public final class ExpressRouteFailoverCircuitResourceDetails /** * Creates an instance of ExpressRouteFailoverCircuitResourceDetails class. */ - public ExpressRouteFailoverCircuitResourceDetails() { + private ExpressRouteFailoverCircuitResourceDetails() { } /** @@ -47,17 +47,6 @@ public String nrpResourceUri() { return this.nrpResourceUri; } - /** - * Set the nrpResourceUri property: NRP Resource URI of the circuit. - * - * @param nrpResourceUri the nrpResourceUri value to set. - * @return the ExpressRouteFailoverCircuitResourceDetails object itself. - */ - public ExpressRouteFailoverCircuitResourceDetails withNrpResourceUri(String nrpResourceUri) { - this.nrpResourceUri = nrpResourceUri; - return this; - } - /** * Get the name property: Circuit Name. * @@ -67,17 +56,6 @@ public String name() { return this.name; } - /** - * Set the name property: Circuit Name. - * - * @param name the name value to set. - * @return the ExpressRouteFailoverCircuitResourceDetails object itself. - */ - public ExpressRouteFailoverCircuitResourceDetails withName(String name) { - this.name = name; - return this; - } - /** * Get the connectionName property: Connection name associated with the circuit. * @@ -87,17 +65,6 @@ public String connectionName() { return this.connectionName; } - /** - * Set the connectionName property: Connection name associated with the circuit. - * - * @param connectionName the connectionName value to set. - * @return the ExpressRouteFailoverCircuitResourceDetails object itself. - */ - public ExpressRouteFailoverCircuitResourceDetails withConnectionName(String connectionName) { - this.connectionName = connectionName; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java index a8666a88375c..08ed41c158fc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The ExpressRouteFailoverConnectionResourceDetails model. */ -@Fluent +@Immutable public final class ExpressRouteFailoverConnectionResourceDetails implements JsonSerializable { /* @@ -40,7 +40,7 @@ public final class ExpressRouteFailoverConnectionResourceDetails /** * Creates an instance of ExpressRouteFailoverConnectionResourceDetails class. */ - public ExpressRouteFailoverConnectionResourceDetails() { + private ExpressRouteFailoverConnectionResourceDetails() { } /** @@ -52,17 +52,6 @@ public String nrpResourceUri() { return this.nrpResourceUri; } - /** - * Set the nrpResourceUri property: NRP Resource URI of the connection. - * - * @param nrpResourceUri the nrpResourceUri value to set. - * @return the ExpressRouteFailoverConnectionResourceDetails object itself. - */ - public ExpressRouteFailoverConnectionResourceDetails withNrpResourceUri(String nrpResourceUri) { - this.nrpResourceUri = nrpResourceUri; - return this; - } - /** * Get the name property: Connection Name. * @@ -72,17 +61,6 @@ public String name() { return this.name; } - /** - * Set the name property: Connection Name. - * - * @param name the name value to set. - * @return the ExpressRouteFailoverConnectionResourceDetails object itself. - */ - public ExpressRouteFailoverConnectionResourceDetails withName(String name) { - this.name = name; - return this; - } - /** * Get the status property: The current status of the connection. * @@ -92,17 +70,6 @@ public FailoverConnectionStatus status() { return this.status; } - /** - * Set the status property: The current status of the connection. - * - * @param status the status value to set. - * @return the ExpressRouteFailoverConnectionResourceDetails object itself. - */ - public ExpressRouteFailoverConnectionResourceDetails withStatus(FailoverConnectionStatus status) { - this.status = status; - return this; - } - /** * Get the lastUpdatedTime property: Time when the connection was last updated. * @@ -112,17 +79,6 @@ public String lastUpdatedTime() { return this.lastUpdatedTime; } - /** - * Set the lastUpdatedTime property: Time when the connection was last updated. - * - * @param lastUpdatedTime the lastUpdatedTime value to set. - * @return the ExpressRouteFailoverConnectionResourceDetails object itself. - */ - public ExpressRouteFailoverConnectionResourceDetails withLastUpdatedTime(String lastUpdatedTime) { - this.lastUpdatedTime = lastUpdatedTime; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java index 61d2bf2cdf52..583505289f4a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * The ExpressRouteFailoverRedundantRoute model. */ -@Fluent +@Immutable public final class ExpressRouteFailoverRedundantRoute implements JsonSerializable { /* * A list of all the peering locations for the redundant routes @@ -30,7 +30,7 @@ public final class ExpressRouteFailoverRedundantRoute implements JsonSerializabl /** * Creates an instance of ExpressRouteFailoverRedundantRoute class. */ - public ExpressRouteFailoverRedundantRoute() { + private ExpressRouteFailoverRedundantRoute() { } /** @@ -42,17 +42,6 @@ public List peeringLocations() { return this.peeringLocations; } - /** - * Set the peeringLocations property: A list of all the peering locations for the redundant routes. - * - * @param peeringLocations the peeringLocations value to set. - * @return the ExpressRouteFailoverRedundantRoute object itself. - */ - public ExpressRouteFailoverRedundantRoute withPeeringLocations(List peeringLocations) { - this.peeringLocations = peeringLocations; - return this; - } - /** * Get the routes property: A list of all the redundant routes in the peering locations. * @@ -62,17 +51,6 @@ public List routes() { return this.routes; } - /** - * Set the routes property: A list of all the redundant routes in the peering locations. - * - * @param routes the routes value to set. - * @return the ExpressRouteFailoverRedundantRoute object itself. - */ - public ExpressRouteFailoverRedundantRoute withRoutes(List routes) { - this.routes = routes; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java index 6053e7e3ec05..b12d931b7c50 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java index 5ff529c7aaa8..61c281d936c1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java index 1e91ad549f47..ff97a602e77f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java index ac7746e4eb31..43b6988c7439 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ExpressRouteLinkAdminState extends ExpandableStringEnum { /** - * Static value Enabled for ExpressRouteLinkAdminState. + * Enabled. */ public static final ExpressRouteLinkAdminState ENABLED = fromString("Enabled"); /** - * Static value Disabled for ExpressRouteLinkAdminState. + * Disabled. */ public static final ExpressRouteLinkAdminState DISABLED = fromString("Disabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java index a8767078a42d..84b4d76037cb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ExpressRouteLinkConnectorType extends ExpandableStringEnum { /** - * Static value LC for ExpressRouteLinkConnectorType. + * LC. */ public static final ExpressRouteLinkConnectorType LC = fromString("LC"); /** - * Static value SC for ExpressRouteLinkConnectorType. + * SC. */ public static final ExpressRouteLinkConnectorType SC = fromString("SC"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java index cac5e1ea5cac..cb9eb3056652 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class ExpressRouteLinkMacSecCipher extends ExpandableStringEnum { /** - * Static value GcmAes256 for ExpressRouteLinkMacSecCipher. + * GcmAes256. */ public static final ExpressRouteLinkMacSecCipher GCM_AES256 = fromString("GcmAes256"); /** - * Static value GcmAes128 for ExpressRouteLinkMacSecCipher. + * GcmAes128. */ public static final ExpressRouteLinkMacSecCipher GCM_AES128 = fromString("GcmAes128"); /** - * Static value GcmAesXpn128 for ExpressRouteLinkMacSecCipher. + * GcmAesXpn128. */ public static final ExpressRouteLinkMacSecCipher GCM_AES_XPN128 = fromString("GcmAesXpn128"); /** - * Static value GcmAesXpn256 for ExpressRouteLinkMacSecCipher. + * GcmAesXpn256. */ public static final ExpressRouteLinkMacSecCipher GCM_AES_XPN256 = fromString("GcmAesXpn256"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java index f877b6ab90c6..a0ac01a707b7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java index 81727e1968ad..1f4b41900f7c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ExpressRouteLinkMacSecSciState extends ExpandableStringEnum { /** - * Static value Disabled for ExpressRouteLinkMacSecSciState. + * Disabled. */ public static final ExpressRouteLinkMacSecSciState DISABLED = fromString("Disabled"); /** - * Static value Enabled for ExpressRouteLinkMacSecSciState. + * Enabled. */ public static final ExpressRouteLinkMacSecSciState ENABLED = fromString("Enabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java index f156983c1223..89981b5aa48b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ExpressRoutePeeringState extends ExpandableStringEnum { /** - * Static value Disabled for ExpressRoutePeeringState. + * Disabled. */ public static final ExpressRoutePeeringState DISABLED = fromString("Disabled"); /** - * Static value Enabled for ExpressRoutePeeringState. + * Enabled. */ public static final ExpressRoutePeeringState ENABLED = fromString("Enabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java index 616b8dd1f465..4a3b62861ba6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class ExpressRoutePeeringType extends ExpandableStringEnum { /** - * Static value AzurePublicPeering for ExpressRoutePeeringType. + * AzurePublicPeering. */ public static final ExpressRoutePeeringType AZURE_PUBLIC_PEERING = fromString("AzurePublicPeering"); /** - * Static value AzurePrivatePeering for ExpressRoutePeeringType. + * AzurePrivatePeering. */ public static final ExpressRoutePeeringType AZURE_PRIVATE_PEERING = fromString("AzurePrivatePeering"); /** - * Static value MicrosoftPeering for ExpressRoutePeeringType. + * MicrosoftPeering. */ public static final ExpressRoutePeeringType MICROSOFT_PEERING = fromString("MicrosoftPeering"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java index d777eb82d730..7faf9ab5ae0f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class ExpressRoutePortAuthorizationUseStatus extends ExpandableStringEnum { /** - * Static value Available for ExpressRoutePortAuthorizationUseStatus. + * Available. */ public static final ExpressRoutePortAuthorizationUseStatus AVAILABLE = fromString("Available"); /** - * Static value InUse for ExpressRoutePortAuthorizationUseStatus. + * InUse. */ public static final ExpressRoutePortAuthorizationUseStatus IN_USE = fromString("InUse"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java index 8a3a95b28df8..f8953e331cb5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ExpressRoutePortsBillingType extends ExpandableStringEnum { /** - * Static value MeteredData for ExpressRoutePortsBillingType. + * MeteredData. */ public static final ExpressRoutePortsBillingType METERED_DATA = fromString("MeteredData"); /** - * Static value UnlimitedData for ExpressRoutePortsBillingType. + * UnlimitedData. */ public static final ExpressRoutePortsBillingType UNLIMITED_DATA = fromString("UnlimitedData"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java index e4235ea670e1..4b17e160f68e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ExpressRoutePortsEncapsulation extends ExpandableStringEnum { /** - * Static value Dot1Q for ExpressRoutePortsEncapsulation. + * Dot1Q. */ public static final ExpressRoutePortsEncapsulation DOT1Q = fromString("Dot1Q"); /** - * Static value QinQ for ExpressRoutePortsEncapsulation. + * QinQ. */ public static final ExpressRoutePortsEncapsulation QINQ = fromString("QinQ"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java index 9e1fa0fd48b8..abcf1c6c4f85 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -32,7 +32,7 @@ public final class ExpressRoutePortsLocationBandwidths /** * Creates an instance of ExpressRoutePortsLocationBandwidths class. */ - public ExpressRoutePortsLocationBandwidths() { + private ExpressRoutePortsLocationBandwidths() { } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java index 23f10573d061..b5d46f7eb890 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Contains bandwidths offered in ExpressRouteServiceProvider resources. */ -@Fluent +@Immutable public final class ExpressRouteServiceProviderBandwidthsOffered implements JsonSerializable { /* @@ -30,7 +30,7 @@ public final class ExpressRouteServiceProviderBandwidthsOffered /** * Creates an instance of ExpressRouteServiceProviderBandwidthsOffered class. */ - public ExpressRouteServiceProviderBandwidthsOffered() { + private ExpressRouteServiceProviderBandwidthsOffered() { } /** @@ -42,17 +42,6 @@ public String offerName() { return this.offerName; } - /** - * Set the offerName property: The OfferName. - * - * @param offerName the offerName value to set. - * @return the ExpressRouteServiceProviderBandwidthsOffered object itself. - */ - public ExpressRouteServiceProviderBandwidthsOffered withOfferName(String offerName) { - this.offerName = offerName; - return this; - } - /** * Get the valueInMbps property: The ValueInMbps. * @@ -62,17 +51,6 @@ public Integer valueInMbps() { return this.valueInMbps; } - /** - * Set the valueInMbps property: The ValueInMbps. - * - * @param valueInMbps the valueInMbps value to set. - * @return the ExpressRouteServiceProviderBandwidthsOffered object itself. - */ - public ExpressRouteServiceProviderBandwidthsOffered withValueInMbps(Integer valueInMbps) { - this.valueInMbps = valueInMbps; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java index 272bfa04ec0f..695552388113 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java index 5a584531190d..b0cfc6cd2dec 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,7 +12,7 @@ */ public final class ExtendedLocationTypes extends ExpandableStringEnum { /** - * Static value EdgeZone for ExtendedLocationTypes. + * EdgeZone. */ public static final ExtendedLocationTypes EDGE_ZONE = fromString("EdgeZone"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java index 5bc06514fe46..b04b314a9e1f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java index 31ee8dd0da7f..81d8a15a1f86 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class FailoverConnectionStatus extends ExpandableStringEnum { /** - * Static value Connected for FailoverConnectionStatus. + * Connected. */ public static final FailoverConnectionStatus CONNECTED = fromString("Connected"); /** - * Static value Disconnected for FailoverConnectionStatus. + * Disconnected. */ public static final FailoverConnectionStatus DISCONNECTED = fromString("Disconnected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java index d40cd9c7ff59..ab0a5890b0b7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,47 +12,47 @@ */ public final class FailoverTestStatus extends ExpandableStringEnum { /** - * Static value NotStarted for FailoverTestStatus. + * NotStarted. */ public static final FailoverTestStatus NOT_STARTED = fromString("NotStarted"); /** - * Static value Starting for FailoverTestStatus. + * Starting. */ public static final FailoverTestStatus STARTING = fromString("Starting"); /** - * Static value Running for FailoverTestStatus. + * Running. */ public static final FailoverTestStatus RUNNING = fromString("Running"); /** - * Static value StartFailed for FailoverTestStatus. + * StartFailed. */ public static final FailoverTestStatus START_FAILED = fromString("StartFailed"); /** - * Static value Stopping for FailoverTestStatus. + * Stopping. */ public static final FailoverTestStatus STOPPING = fromString("Stopping"); /** - * Static value Completed for FailoverTestStatus. + * Completed. */ public static final FailoverTestStatus COMPLETED = fromString("Completed"); /** - * Static value StopFailed for FailoverTestStatus. + * StopFailed. */ public static final FailoverTestStatus STOP_FAILED = fromString("StopFailed"); /** - * Static value Invalid for FailoverTestStatus. + * Invalid. */ public static final FailoverTestStatus INVALID = fromString("Invalid"); /** - * Static value Expired for FailoverTestStatus. + * Expired. */ public static final FailoverTestStatus EXPIRED = fromString("Expired"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java index 7d28e2900680..55ac9a62c81f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,47 +12,47 @@ */ public final class FailoverTestStatusForSingleTest extends ExpandableStringEnum { /** - * Static value NotStarted for FailoverTestStatusForSingleTest. + * NotStarted. */ public static final FailoverTestStatusForSingleTest NOT_STARTED = fromString("NotStarted"); /** - * Static value Starting for FailoverTestStatusForSingleTest. + * Starting. */ public static final FailoverTestStatusForSingleTest STARTING = fromString("Starting"); /** - * Static value Running for FailoverTestStatusForSingleTest. + * Running. */ public static final FailoverTestStatusForSingleTest RUNNING = fromString("Running"); /** - * Static value StartFailed for FailoverTestStatusForSingleTest. + * StartFailed. */ public static final FailoverTestStatusForSingleTest START_FAILED = fromString("StartFailed"); /** - * Static value Stopping for FailoverTestStatusForSingleTest. + * Stopping. */ public static final FailoverTestStatusForSingleTest STOPPING = fromString("Stopping"); /** - * Static value Completed for FailoverTestStatusForSingleTest. + * Completed. */ public static final FailoverTestStatusForSingleTest COMPLETED = fromString("Completed"); /** - * Static value StopFailed for FailoverTestStatusForSingleTest. + * StopFailed. */ public static final FailoverTestStatusForSingleTest STOP_FAILED = fromString("StopFailed"); /** - * Static value Invalid for FailoverTestStatusForSingleTest. + * Invalid. */ public static final FailoverTestStatusForSingleTest INVALID = fromString("Invalid"); /** - * Static value Expired for FailoverTestStatusForSingleTest. + * Expired. */ public static final FailoverTestStatusForSingleTest EXPIRED = fromString("Expired"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java index 6b97cc671ad7..668ed9c9d73e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class FailoverTestType extends ExpandableStringEnum { /** - * Static value SingleSiteFailover for FailoverTestType. + * SingleSiteFailover. */ public static final FailoverTestType SINGLE_SITE_FAILOVER = fromString("SingleSiteFailover"); /** - * Static value MultiSiteFailover for FailoverTestType. + * MultiSiteFailover. */ public static final FailoverTestType MULTI_SITE_FAILOVER = fromString("MultiSiteFailover"); /** - * Static value All for FailoverTestType. + * All. */ public static final FailoverTestType ALL = fromString("All"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FilterItems.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FilterItems.java index fdebe6df6083..1e4994880c5d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FilterItems.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FilterItems.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java index e9ad2cae152b..e23f84b23fb1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -53,7 +53,10 @@ public final class FirewallPacketCaptureParameters implements JsonSerializable filters; /* - * The Azure Firewall packet capture operation to perform + * The packet capture operation to perform. If the Start operation is selected, please provide all the fields in the + * firewallPacketCaptureParameters to successfully initiate the packet capture. If the Status or Stop operation is + * selected, only the operation field is required; all other fields in the firewallPacketCaptureParameters can be + * omitted to successfully retrieve the capture status or stop the capture. */ private AzureFirewallPacketCaptureOperationType operation; @@ -208,7 +211,10 @@ public FirewallPacketCaptureParameters withFilters(List { /** - * Static value Allow for FirewallPolicyFilterRuleCollectionActionType. + * Allow. */ public static final FirewallPolicyFilterRuleCollectionActionType ALLOW = fromString("Allow"); /** - * Static value Deny for FirewallPolicyFilterRuleCollectionActionType. + * Deny. */ public static final FirewallPolicyFilterRuleCollectionActionType DENY = fromString("Deny"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java index acc895e500bf..a9ed65681d2d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java index 4e0d60e10870..2fd28df1e15f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -10,42 +10,42 @@ /** * Describes if results should be in ascending/descending order. */ -public final class FirewallPolicyIdpsQuerySortOrder extends ExpandableStringEnum { +public final class FirewallPolicyIDPSQuerySortOrder extends ExpandableStringEnum { /** - * Static value Ascending for FirewallPolicyIdpsQuerySortOrder. + * Ascending. */ - public static final FirewallPolicyIdpsQuerySortOrder ASCENDING = fromString("Ascending"); + public static final FirewallPolicyIDPSQuerySortOrder ASCENDING = fromString("Ascending"); /** - * Static value Descending for FirewallPolicyIdpsQuerySortOrder. + * Descending. */ - public static final FirewallPolicyIdpsQuerySortOrder DESCENDING = fromString("Descending"); + public static final FirewallPolicyIDPSQuerySortOrder DESCENDING = fromString("Descending"); /** - * Creates a new instance of FirewallPolicyIdpsQuerySortOrder value. + * Creates a new instance of FirewallPolicyIDPSQuerySortOrder value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public FirewallPolicyIdpsQuerySortOrder() { + public FirewallPolicyIDPSQuerySortOrder() { } /** - * Creates or finds a FirewallPolicyIdpsQuerySortOrder from its string representation. + * Creates or finds a FirewallPolicyIDPSQuerySortOrder from its string representation. * * @param name a name to look for. - * @return the corresponding FirewallPolicyIdpsQuerySortOrder. + * @return the corresponding FirewallPolicyIDPSQuerySortOrder. */ - public static FirewallPolicyIdpsQuerySortOrder fromString(String name) { - return fromString(name, FirewallPolicyIdpsQuerySortOrder.class); + public static FirewallPolicyIDPSQuerySortOrder fromString(String name) { + return fromString(name, FirewallPolicyIDPSQuerySortOrder.class); } /** - * Gets known FirewallPolicyIdpsQuerySortOrder values. + * Gets known FirewallPolicyIDPSQuerySortOrder values. * - * @return known FirewallPolicyIdpsQuerySortOrder values. + * @return known FirewallPolicyIDPSQuerySortOrder values. */ - public static Collection values() { - return values(FirewallPolicyIdpsQuerySortOrder.class); + public static Collection values() { + return values(FirewallPolicyIDPSQuerySortOrder.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java index ac96b12667ac..9ef92b614238 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -8,55 +8,55 @@ * Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - * InternalOutbound, 5 - InternalInbound. */ -public enum FirewallPolicyIdpsSignatureDirection { +public enum FirewallPolicyIDPSSignatureDirection { /** - * Enum value 0. + * 0. */ ZERO(0), /** - * Enum value 1. + * 1. */ ONE(1), /** - * Enum value 2. + * 2. */ TWO(2), /** - * Enum value 3. + * 3. */ THREE(3), /** - * Enum value 4. + * 4. */ FOUR(4), /** - * Enum value 5. + * 5. */ FIVE(5); /** - * The actual serialized value for a FirewallPolicyIdpsSignatureDirection instance. + * The actual serialized value for a FirewallPolicyIDPSSignatureDirection instance. */ private final int value; - FirewallPolicyIdpsSignatureDirection(int value) { + FirewallPolicyIDPSSignatureDirection(int value) { this.value = value; } /** - * Parses a serialized value to a FirewallPolicyIdpsSignatureDirection instance. + * Parses a serialized value to a FirewallPolicyIDPSSignatureDirection instance. * * @param value the serialized value to parse. - * @return the parsed FirewallPolicyIdpsSignatureDirection object, or null if unable to parse. + * @return the parsed FirewallPolicyIDPSSignatureDirection object, or null if unable to parse. */ - public static FirewallPolicyIdpsSignatureDirection fromInt(int value) { - FirewallPolicyIdpsSignatureDirection[] items = FirewallPolicyIdpsSignatureDirection.values(); - for (FirewallPolicyIdpsSignatureDirection item : items) { + public static FirewallPolicyIDPSSignatureDirection fromInt(int value) { + FirewallPolicyIDPSSignatureDirection[] items = FirewallPolicyIDPSSignatureDirection.values(); + for (FirewallPolicyIDPSSignatureDirection item : items) { if (item.toInt() == value) { return item; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java index 3fe07442877f..d190a1dad368 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java @@ -1,46 +1,46 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; /** * The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny. */ -public enum FirewallPolicyIdpsSignatureMode { +public enum FirewallPolicyIDPSSignatureMode { /** - * Enum value 0. + * 0. */ ZERO(0), /** - * Enum value 1. + * 1. */ ONE(1), /** - * Enum value 2. + * 2. */ TWO(2); /** - * The actual serialized value for a FirewallPolicyIdpsSignatureMode instance. + * The actual serialized value for a FirewallPolicyIDPSSignatureMode instance. */ private final int value; - FirewallPolicyIdpsSignatureMode(int value) { + FirewallPolicyIDPSSignatureMode(int value) { this.value = value; } /** - * Parses a serialized value to a FirewallPolicyIdpsSignatureMode instance. + * Parses a serialized value to a FirewallPolicyIDPSSignatureMode instance. * * @param value the serialized value to parse. - * @return the parsed FirewallPolicyIdpsSignatureMode object, or null if unable to parse. + * @return the parsed FirewallPolicyIDPSSignatureMode object, or null if unable to parse. */ - public static FirewallPolicyIdpsSignatureMode fromInt(int value) { - FirewallPolicyIdpsSignatureMode[] items = FirewallPolicyIdpsSignatureMode.values(); - for (FirewallPolicyIdpsSignatureMode item : items) { + public static FirewallPolicyIDPSSignatureMode fromInt(int value) { + FirewallPolicyIDPSSignatureMode[] items = FirewallPolicyIDPSSignatureMode.values(); + for (FirewallPolicyIDPSSignatureMode item : items) { if (item.toInt() == value) { return item; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java index 40200ca829f2..22bcd1b406a4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java @@ -1,46 +1,46 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; /** * Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low. */ -public enum FirewallPolicyIdpsSignatureSeverity { +public enum FirewallPolicyIDPSSignatureSeverity { /** - * Enum value 1. + * 1. */ ONE(1), /** - * Enum value 2. + * 2. */ TWO(2), /** - * Enum value 3. + * 3. */ THREE(3); /** - * The actual serialized value for a FirewallPolicyIdpsSignatureSeverity instance. + * The actual serialized value for a FirewallPolicyIDPSSignatureSeverity instance. */ private final int value; - FirewallPolicyIdpsSignatureSeverity(int value) { + FirewallPolicyIDPSSignatureSeverity(int value) { this.value = value; } /** - * Parses a serialized value to a FirewallPolicyIdpsSignatureSeverity instance. + * Parses a serialized value to a FirewallPolicyIDPSSignatureSeverity instance. * * @param value the serialized value to parse. - * @return the parsed FirewallPolicyIdpsSignatureSeverity object, or null if unable to parse. + * @return the parsed FirewallPolicyIDPSSignatureSeverity object, or null if unable to parse. */ - public static FirewallPolicyIdpsSignatureSeverity fromInt(int value) { - FirewallPolicyIdpsSignatureSeverity[] items = FirewallPolicyIdpsSignatureSeverity.values(); - for (FirewallPolicyIdpsSignatureSeverity item : items) { + public static FirewallPolicyIDPSSignatureSeverity fromInt(int value) { + FirewallPolicyIDPSSignatureSeverity[] items = FirewallPolicyIDPSSignatureSeverity.values(); + for (FirewallPolicyIDPSSignatureSeverity item : items) { if (item.toInt() == value) { return item; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java index 12c8e67eb66b..988927309cb2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java index 5e4da5a02ecf..2be9bf6d0c89 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java index b67356cae208..b6dfed102004 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java index 9dd847132b81..031fcd488ba5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java index 534ebfe18cce..6659c493cf9b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -19,22 +19,22 @@ public final class FirewallPolicyIntrusionDetectionProfileType extends ExpandableStringEnum { /** - * Static value Off for FirewallPolicyIntrusionDetectionProfileType. + * Off. */ public static final FirewallPolicyIntrusionDetectionProfileType OFF = fromString("Off"); /** - * Static value Emerging for FirewallPolicyIntrusionDetectionProfileType. + * Emerging. */ public static final FirewallPolicyIntrusionDetectionProfileType EMERGING = fromString("Emerging"); /** - * Static value Core for FirewallPolicyIntrusionDetectionProfileType. + * Core. */ public static final FirewallPolicyIntrusionDetectionProfileType CORE = fromString("Core"); /** - * Static value Extended for FirewallPolicyIntrusionDetectionProfileType. + * Extended. */ public static final FirewallPolicyIntrusionDetectionProfileType EXTENDED = fromString("Extended"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java index 3209187c19bd..740c75cda21e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,22 +13,22 @@ public final class FirewallPolicyIntrusionDetectionProtocol extends ExpandableStringEnum { /** - * Static value TCP for FirewallPolicyIntrusionDetectionProtocol. + * TCP. */ public static final FirewallPolicyIntrusionDetectionProtocol TCP = fromString("TCP"); /** - * Static value UDP for FirewallPolicyIntrusionDetectionProtocol. + * UDP. */ public static final FirewallPolicyIntrusionDetectionProtocol UDP = fromString("UDP"); /** - * Static value ICMP for FirewallPolicyIntrusionDetectionProtocol. + * ICMP. */ public static final FirewallPolicyIntrusionDetectionProtocol ICMP = fromString("ICMP"); /** - * Static value ANY for FirewallPolicyIntrusionDetectionProtocol. + * ANY. */ public static final FirewallPolicyIntrusionDetectionProtocol ANY = fromString("ANY"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java index d8a792914f02..e55f51f642a8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java index 97b3871035b8..190a66625982 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,17 +13,17 @@ public final class FirewallPolicyIntrusionDetectionStateType extends ExpandableStringEnum { /** - * Static value Off for FirewallPolicyIntrusionDetectionStateType. + * Off. */ public static final FirewallPolicyIntrusionDetectionStateType OFF = fromString("Off"); /** - * Static value Alert for FirewallPolicyIntrusionDetectionStateType. + * Alert. */ public static final FirewallPolicyIntrusionDetectionStateType ALERT = fromString("Alert"); /** - * Static value Deny for FirewallPolicyIntrusionDetectionStateType. + * Deny. */ public static final FirewallPolicyIntrusionDetectionStateType DENY = fromString("Deny"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java index b694fa6e0561..06118d3346ab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java index e59c16b9b8ef..71242d290869 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java index d08e95beb584..0be72d5ba435 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java index 90c1c1bed6c8..6c8acf7bc0b9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java index 32f558516cf9..a3ad803bdb24 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,7 +13,7 @@ public final class FirewallPolicyNatRuleCollectionActionType extends ExpandableStringEnum { /** - * Static value DNAT for FirewallPolicyNatRuleCollectionActionType. + * DNAT. */ public static final FirewallPolicyNatRuleCollectionActionType DNAT = fromString("DNAT"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java index 439036b62d55..4d7312a465a9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java index 461f7307fde8..53584ddf813a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java index 894e33a611dd..cb26892fc15d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class FirewallPolicyRuleApplicationProtocolType extends ExpandableStringEnum { /** - * Static value Http for FirewallPolicyRuleApplicationProtocolType. + * Http. */ public static final FirewallPolicyRuleApplicationProtocolType HTTP = fromString("Http"); /** - * Static value Https for FirewallPolicyRuleApplicationProtocolType. + * Https. */ public static final FirewallPolicyRuleApplicationProtocolType HTTPS = fromString("Https"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java index 0a4e285bc266..e8e945b22e2a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java index 059cb7301056..0ada223d128c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,13 +12,13 @@ */ public final class FirewallPolicyRuleCollectionType extends ExpandableStringEnum { /** - * Static value FirewallPolicyNatRuleCollection for FirewallPolicyRuleCollectionType. + * FirewallPolicyNatRuleCollection. */ public static final FirewallPolicyRuleCollectionType FIREWALL_POLICY_NAT_RULE_COLLECTION = fromString("FirewallPolicyNatRuleCollection"); /** - * Static value FirewallPolicyFilterRuleCollection for FirewallPolicyRuleCollectionType. + * FirewallPolicyFilterRuleCollection. */ public static final FirewallPolicyRuleCollectionType FIREWALL_POLICY_FILTER_RULE_COLLECTION = fromString("FirewallPolicyFilterRuleCollection"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java index 50b7015c0b8a..3995b9834688 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class FirewallPolicyRuleNetworkProtocol extends ExpandableStringEnum { /** - * Static value TCP for FirewallPolicyRuleNetworkProtocol. + * TCP. */ public static final FirewallPolicyRuleNetworkProtocol TCP = fromString("TCP"); /** - * Static value UDP for FirewallPolicyRuleNetworkProtocol. + * UDP. */ public static final FirewallPolicyRuleNetworkProtocol UDP = fromString("UDP"); /** - * Static value Any for FirewallPolicyRuleNetworkProtocol. + * Any. */ public static final FirewallPolicyRuleNetworkProtocol ANY = fromString("Any"); /** - * Static value ICMP for FirewallPolicyRuleNetworkProtocol. + * ICMP. */ public static final FirewallPolicyRuleNetworkProtocol ICMP = fromString("ICMP"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java index a8e7ad136371..53d81e3a96e2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class FirewallPolicyRuleType extends ExpandableStringEnum { /** - * Static value ApplicationRule for FirewallPolicyRuleType. + * ApplicationRule. */ public static final FirewallPolicyRuleType APPLICATION_RULE = fromString("ApplicationRule"); /** - * Static value NetworkRule for FirewallPolicyRuleType. + * NetworkRule. */ public static final FirewallPolicyRuleType NETWORK_RULE = fromString("NetworkRule"); /** - * Static value NatRule for FirewallPolicyRuleType. + * NatRule. */ public static final FirewallPolicyRuleType NAT_RULE = fromString("NatRule"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java index 42bd69f75949..a52e3fc39efb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java index b2a9d59f298a..6c109bbf922b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class FirewallPolicySkuTier extends ExpandableStringEnum { /** - * Static value Standard for FirewallPolicySkuTier. + * Standard. */ public static final FirewallPolicySkuTier STANDARD = fromString("Standard"); /** - * Static value Premium for FirewallPolicySkuTier. + * Premium. */ public static final FirewallPolicySkuTier PREMIUM = fromString("Premium"); /** - * Static value Basic for FirewallPolicySkuTier. + * Basic. */ public static final FirewallPolicySkuTier BASIC = fromString("Basic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java index 75c3af49fa58..1468b470a02d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,7 +16,7 @@ * The private IP addresses/IP ranges to which traffic will not be SNAT. */ @Fluent -public final class FirewallPolicySnat implements JsonSerializable { +public final class FirewallPolicySNAT implements JsonSerializable { /* * List of private IP addresses/IP address ranges to not be SNAT. */ @@ -28,9 +28,9 @@ public final class FirewallPolicySnat implements JsonSerializable privateRanges() { * Set the privateRanges property: List of private IP addresses/IP address ranges to not be SNAT. * * @param privateRanges the privateRanges value to set. - * @return the FirewallPolicySnat object itself. + * @return the FirewallPolicySNAT object itself. */ - public FirewallPolicySnat withPrivateRanges(List privateRanges) { + public FirewallPolicySNAT withPrivateRanges(List privateRanges) { this.privateRanges = privateRanges; return this; } @@ -68,9 +68,9 @@ public AutoLearnPrivateRangesMode autoLearnPrivateRanges() { * SNAT. * * @param autoLearnPrivateRanges the autoLearnPrivateRanges value to set. - * @return the FirewallPolicySnat object itself. + * @return the FirewallPolicySNAT object itself. */ - public FirewallPolicySnat withAutoLearnPrivateRanges(AutoLearnPrivateRangesMode autoLearnPrivateRanges) { + public FirewallPolicySNAT withAutoLearnPrivateRanges(AutoLearnPrivateRangesMode autoLearnPrivateRanges) { this.autoLearnPrivateRanges = autoLearnPrivateRanges; return this; } @@ -97,32 +97,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of FirewallPolicySnat from the JsonReader. + * Reads an instance of FirewallPolicySNAT from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of FirewallPolicySnat if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of FirewallPolicySNAT 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 FirewallPolicySnat. + * @throws IOException If an error occurs while reading the FirewallPolicySNAT. */ - public static FirewallPolicySnat fromJson(JsonReader jsonReader) throws IOException { + public static FirewallPolicySNAT fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - FirewallPolicySnat deserializedFirewallPolicySnat = new FirewallPolicySnat(); + FirewallPolicySNAT deserializedFirewallPolicySNAT = new FirewallPolicySNAT(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateRanges".equals(fieldName)) { List privateRanges = reader.readArray(reader1 -> reader1.getString()); - deserializedFirewallPolicySnat.privateRanges = privateRanges; + deserializedFirewallPolicySNAT.privateRanges = privateRanges; } else if ("autoLearnPrivateRanges".equals(fieldName)) { - deserializedFirewallPolicySnat.autoLearnPrivateRanges + deserializedFirewallPolicySNAT.autoLearnPrivateRanges = AutoLearnPrivateRangesMode.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedFirewallPolicySnat; + return deserializedFirewallPolicySNAT; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java index 1918af171d9d..693f63e22a4b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -15,7 +15,7 @@ * SQL Settings in Firewall Policy. */ @Fluent -public final class FirewallPolicySql implements JsonSerializable { +public final class FirewallPolicySQL implements JsonSerializable { /* * A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port * 11000-11999. @@ -23,9 +23,9 @@ public final class FirewallPolicySql implements JsonSerializable { - FirewallPolicySql deserializedFirewallPolicySql = new FirewallPolicySql(); + FirewallPolicySQL deserializedFirewallPolicySQL = new FirewallPolicySQL(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("allowSqlRedirect".equals(fieldName)) { - deserializedFirewallPolicySql.allowSqlRedirect = reader.getNullable(JsonReader::getBoolean); + deserializedFirewallPolicySQL.allowSqlRedirect = reader.getNullable(JsonReader::getBoolean); } else { reader.skipChildren(); } } - return deserializedFirewallPolicySql; + return deserializedFirewallPolicySQL; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java index 3f7b2a105028..af0423c6440e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java index 90586df7205c..09b5e0644933 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java index f6e654b09730..75791896b8a0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java index 2e3090988790..4b9d3222a59a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,7 +12,7 @@ */ public final class FlowLogFormatType extends ExpandableStringEnum { /** - * Static value JSON for FlowLogFormatType. + * JSON. */ public static final FlowLogFormatType JSON = fromString("JSON"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java index 9300b4bf57c3..fb4e6e288af1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java index c2a52390267e..c3c67793717a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java index f6e4e2317c11..287d57e3a076 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java index bd41636327cb..eea761669b9e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,17 +13,17 @@ public final class GatewayLoadBalancerTunnelInterfaceType extends ExpandableStringEnum { /** - * Static value None for GatewayLoadBalancerTunnelInterfaceType. + * None. */ public static final GatewayLoadBalancerTunnelInterfaceType NONE = fromString("None"); /** - * Static value Internal for GatewayLoadBalancerTunnelInterfaceType. + * Internal. */ public static final GatewayLoadBalancerTunnelInterfaceType INTERNAL = fromString("Internal"); /** - * Static value External for GatewayLoadBalancerTunnelInterfaceType. + * External. */ public static final GatewayLoadBalancerTunnelInterfaceType EXTERNAL = fromString("External"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java index 9b1ecae85abe..e218f96b239d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class GatewayLoadBalancerTunnelProtocol extends ExpandableStringEnum { /** - * Static value None for GatewayLoadBalancerTunnelProtocol. + * None. */ public static final GatewayLoadBalancerTunnelProtocol NONE = fromString("None"); /** - * Static value Native for GatewayLoadBalancerTunnelProtocol. + * Native. */ public static final GatewayLoadBalancerTunnelProtocol NATIVE = fromString("Native"); /** - * Static value VXLAN for GatewayLoadBalancerTunnelProtocol. + * VXLAN. */ public static final GatewayLoadBalancerTunnelProtocol VXLAN = fromString("VXLAN"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java index 1a12abae1df5..9febcec66820 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Resiliency Recommendation details. */ -@Fluent +@Immutable public final class GatewayResiliencyRecommendation implements JsonSerializable { /* * Recommendation Title @@ -49,7 +49,7 @@ public final class GatewayResiliencyRecommendation implements JsonSerializable { /* * Route Set name @@ -36,7 +36,7 @@ public final class GatewayRouteSet implements JsonSerializable /** * Creates an instance of GatewayRouteSet class. */ - public GatewayRouteSet() { + private GatewayRouteSet() { } /** @@ -48,17 +48,6 @@ public String name() { return this.name; } - /** - * Set the name property: Route Set name. - * - * @param name the name value to set. - * @return the GatewayRouteSet object itself. - */ - public GatewayRouteSet withName(String name) { - this.name = name; - return this; - } - /** * Get the locations property: List of different locations from where the routes are learned. * @@ -68,17 +57,6 @@ public List locations() { return this.locations; } - /** - * Set the locations property: List of different locations from where the routes are learned. - * - * @param locations the locations value to set. - * @return the GatewayRouteSet object itself. - */ - public GatewayRouteSet withLocations(List locations) { - this.locations = locations; - return this; - } - /** * Get the details property: List of different Route Sources. * @@ -88,17 +66,6 @@ public Map> details() { return this.details; } - /** - * Set the details property: List of different Route Sources. - * - * @param details the details value to set. - * @return the GatewayRouteSet object itself. - */ - public GatewayRouteSet withDetails(Map> details) { - this.details = details; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java index ef0fe1c44802..b550b7811adc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,17 +16,17 @@ * The customer name to be printed on a letter of authorization. */ @Fluent -public final class GenerateExpressRoutePortsLoaRequest - implements JsonSerializable { +public final class GenerateExpressRoutePortsLOARequest + implements JsonSerializable { /* * The customer name. */ private String customerName; /** - * Creates an instance of GenerateExpressRoutePortsLoaRequest class. + * Creates an instance of GenerateExpressRoutePortsLOARequest class. */ - public GenerateExpressRoutePortsLoaRequest() { + public GenerateExpressRoutePortsLOARequest() { } /** @@ -42,9 +42,9 @@ public String customerName() { * Set the customerName property: The customer name. * * @param customerName the customerName value to set. - * @return the GenerateExpressRoutePortsLoaRequest object itself. + * @return the GenerateExpressRoutePortsLOARequest object itself. */ - public GenerateExpressRoutePortsLoaRequest withCustomerName(String customerName) { + public GenerateExpressRoutePortsLOARequest withCustomerName(String customerName) { this.customerName = customerName; return this; } @@ -58,11 +58,11 @@ public void validate() { if (customerName() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( - "Missing required property customerName in model GenerateExpressRoutePortsLoaRequest")); + "Missing required property customerName in model GenerateExpressRoutePortsLOARequest")); } } - private static final ClientLogger LOGGER = new ClientLogger(GenerateExpressRoutePortsLoaRequest.class); + private static final ClientLogger LOGGER = new ClientLogger(GenerateExpressRoutePortsLOARequest.class); /** * {@inheritDoc} @@ -75,30 +75,30 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of GenerateExpressRoutePortsLoaRequest from the JsonReader. + * Reads an instance of GenerateExpressRoutePortsLOARequest from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of GenerateExpressRoutePortsLoaRequest if the JsonReader was pointing to an instance of it, + * @return An instance of GenerateExpressRoutePortsLOARequest 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 GenerateExpressRoutePortsLoaRequest. + * @throws IOException If an error occurs while reading the GenerateExpressRoutePortsLOARequest. */ - public static GenerateExpressRoutePortsLoaRequest fromJson(JsonReader jsonReader) throws IOException { + public static GenerateExpressRoutePortsLOARequest fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - GenerateExpressRoutePortsLoaRequest deserializedGenerateExpressRoutePortsLoaRequest - = new GenerateExpressRoutePortsLoaRequest(); + GenerateExpressRoutePortsLOARequest deserializedGenerateExpressRoutePortsLOARequest + = new GenerateExpressRoutePortsLOARequest(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("customerName".equals(fieldName)) { - deserializedGenerateExpressRoutePortsLoaRequest.customerName = reader.getString(); + deserializedGenerateExpressRoutePortsLOARequest.customerName = reader.getString(); } else { reader.skipChildren(); } } - return deserializedGenerateExpressRoutePortsLoaRequest; + return deserializedGenerateExpressRoutePortsLOARequest; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java new file mode 100644 index 000000000000..a288ae135d56 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 GenerateVpnProfileFinalResult model. + */ +@Immutable +public final class GenerateVpnProfileFinalResult implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of GenerateVpnProfileFinalResult class. + */ + private GenerateVpnProfileFinalResult() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model GenerateVpnProfileFinalResult")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(GenerateVpnProfileFinalResult.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of GenerateVpnProfileFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of GenerateVpnProfileFinalResult 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 GenerateVpnProfileFinalResult. + */ + public static GenerateVpnProfileFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + GenerateVpnProfileFinalResult deserializedGenerateVpnProfileFinalResult + = new GenerateVpnProfileFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedGenerateVpnProfileFinalResult.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedGenerateVpnProfileFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java new file mode 100644 index 000000000000..a27f8509db55 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 GeneratevpnclientpackageFinalResult model. + */ +@Immutable +public final class GeneratevpnclientpackageFinalResult + implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of GeneratevpnclientpackageFinalResult class. + */ + private GeneratevpnclientpackageFinalResult() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model GeneratevpnclientpackageFinalResult")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(GeneratevpnclientpackageFinalResult.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of GeneratevpnclientpackageFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of GeneratevpnclientpackageFinalResult 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 GeneratevpnclientpackageFinalResult. + */ + public static GeneratevpnclientpackageFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + GeneratevpnclientpackageFinalResult deserializedGeneratevpnclientpackageFinalResult + = new GeneratevpnclientpackageFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedGeneratevpnclientpackageFinalResult.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedGeneratevpnclientpackageFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Geo.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Geo.java index d3ac27898dbf..d8ac21d44ca0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Geo.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Geo.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,47 +12,47 @@ */ public final class Geo extends ExpandableStringEnum { /** - * Static value GLOBAL for Geo. + * GLOBAL. */ public static final Geo GLOBAL = fromString("GLOBAL"); /** - * Static value AFRI for Geo. + * AFRI. */ public static final Geo AFRI = fromString("AFRI"); /** - * Static value APAC for Geo. + * APAC. */ public static final Geo APAC = fromString("APAC"); /** - * Static value EURO for Geo. + * EURO. */ public static final Geo EURO = fromString("EURO"); /** - * Static value LATAM for Geo. + * LATAM. */ public static final Geo LATAM = fromString("LATAM"); /** - * Static value NAM for Geo. + * NAM. */ public static final Geo NAM = fromString("NAM"); /** - * Static value ME for Geo. + * ME. */ public static final Geo ME = fromString("ME"); /** - * Static value OCEANIA for Geo. + * OCEANIA. */ public static final Geo OCEANIA = fromString("OCEANIA"); /** - * Static value AQ for Geo. + * AQ. */ public static final Geo AQ = fromString("AQ"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java new file mode 100644 index 000000000000..a1f2a87da063 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java @@ -0,0 +1,90 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 GetIkeSasFinalResult model. + */ +@Immutable +public final class GetIkeSasFinalResult implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of GetIkeSasFinalResult class. + */ + private GetIkeSasFinalResult() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property body in model GetIkeSasFinalResult")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(GetIkeSasFinalResult.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of GetIkeSasFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of GetIkeSasFinalResult 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 GetIkeSasFinalResult. + */ + public static GetIkeSasFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + GetIkeSasFinalResult deserializedGetIkeSasFinalResult = new GetIkeSasFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedGetIkeSasFinalResult.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedGetIkeSasFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java index 56c7b7b86069..1f41f3b4bffb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java index 66972889a196..c3ab65fbb05a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java new file mode 100644 index 000000000000..df4339d86daa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 GetVpnProfilePackageUrlFinalResult model. + */ +@Immutable +public final class GetVpnProfilePackageUrlFinalResult implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of GetVpnProfilePackageUrlFinalResult class. + */ + private GetVpnProfilePackageUrlFinalResult() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model GetVpnProfilePackageUrlFinalResult")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(GetVpnProfilePackageUrlFinalResult.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of GetVpnProfilePackageUrlFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of GetVpnProfilePackageUrlFinalResult 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 GetVpnProfilePackageUrlFinalResult. + */ + public static GetVpnProfilePackageUrlFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + GetVpnProfilePackageUrlFinalResult deserializedGetVpnProfilePackageUrlFinalResult + = new GetVpnProfilePackageUrlFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedGetVpnProfilePackageUrlFinalResult.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedGetVpnProfilePackageUrlFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java index 207f9b7af757..8dcbc106e378 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java index b82241f4cd15..7da801659990 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java index 503773a21747..e80a2daa1b19 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java index 48b2723f0aac..c9bf3d3b34ab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class GroupConnectivity extends ExpandableStringEnum { /** - * Static value None for GroupConnectivity. + * None. */ public static final GroupConnectivity NONE = fromString("None"); /** - * Static value DirectlyConnected for GroupConnectivity. + * DirectlyConnected. */ public static final GroupConnectivity DIRECTLY_CONNECTED = fromString("DirectlyConnected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java index 4cca753107ca..15f764daeed0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class GroupMemberType extends ExpandableStringEnum { /** - * Static value VirtualNetwork for GroupMemberType. + * VirtualNetwork. */ public static final GroupMemberType VIRTUAL_NETWORK = fromString("VirtualNetwork"); /** - * Static value Subnet for GroupMemberType. + * Subnet. */ public static final GroupMemberType SUBNET = fromString("Subnet"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java index 308ab5b01a79..70d06a675d2f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HopLink.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HopLink.java index a4083b44e06e..d2d7ed8d2396 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HopLink.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HopLink.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -52,7 +52,7 @@ public final class HopLink implements JsonSerializable { /** * Creates an instance of HopLink class. */ - public HopLink() { + private HopLink() { } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java index 15d4a2c94024..b91a14f85f29 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,16 +16,16 @@ * HTTP configuration of the connectivity check. */ @Fluent -public final class HttpConfiguration implements JsonSerializable { +public final class HTTPConfiguration implements JsonSerializable { /* * HTTP method. */ - private HttpMethod method; + private HTTPMethod method; /* * List of HTTP headers. */ - private List headers; + private List headers; /* * Valid status codes. @@ -33,9 +33,9 @@ public final class HttpConfiguration implements JsonSerializable validStatusCodes; /** - * Creates an instance of HttpConfiguration class. + * Creates an instance of HTTPConfiguration class. */ - public HttpConfiguration() { + public HTTPConfiguration() { } /** @@ -43,7 +43,7 @@ public HttpConfiguration() { * * @return the method value. */ - public HttpMethod method() { + public HTTPMethod method() { return this.method; } @@ -51,9 +51,9 @@ public HttpMethod method() { * Set the method property: HTTP method. * * @param method the method value to set. - * @return the HttpConfiguration object itself. + * @return the HTTPConfiguration object itself. */ - public HttpConfiguration withMethod(HttpMethod method) { + public HTTPConfiguration withMethod(HTTPMethod method) { this.method = method; return this; } @@ -63,7 +63,7 @@ public HttpConfiguration withMethod(HttpMethod method) { * * @return the headers value. */ - public List headers() { + public List headers() { return this.headers; } @@ -71,9 +71,9 @@ public List headers() { * Set the headers property: List of HTTP headers. * * @param headers the headers value to set. - * @return the HttpConfiguration object itself. + * @return the HTTPConfiguration object itself. */ - public HttpConfiguration withHeaders(List headers) { + public HTTPConfiguration withHeaders(List headers) { this.headers = headers; return this; } @@ -91,9 +91,9 @@ public List validStatusCodes() { * Set the validStatusCodes property: Valid status codes. * * @param validStatusCodes the validStatusCodes value to set. - * @return the HttpConfiguration object itself. + * @return the HTTPConfiguration object itself. */ - public HttpConfiguration withValidStatusCodes(List validStatusCodes) { + public HTTPConfiguration withValidStatusCodes(List validStatusCodes) { this.validStatusCodes = validStatusCodes; return this; } @@ -123,34 +123,34 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of HttpConfiguration from the JsonReader. + * Reads an instance of HTTPConfiguration from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of HttpConfiguration if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of HTTPConfiguration 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 HttpConfiguration. + * @throws IOException If an error occurs while reading the HTTPConfiguration. */ - public static HttpConfiguration fromJson(JsonReader jsonReader) throws IOException { + public static HTTPConfiguration fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - HttpConfiguration deserializedHttpConfiguration = new HttpConfiguration(); + HTTPConfiguration deserializedHTTPConfiguration = new HTTPConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("method".equals(fieldName)) { - deserializedHttpConfiguration.method = HttpMethod.fromString(reader.getString()); + deserializedHTTPConfiguration.method = HTTPMethod.fromString(reader.getString()); } else if ("headers".equals(fieldName)) { - List headers = reader.readArray(reader1 -> HttpHeader.fromJson(reader1)); - deserializedHttpConfiguration.headers = headers; + List headers = reader.readArray(reader1 -> HTTPHeader.fromJson(reader1)); + deserializedHTTPConfiguration.headers = headers; } else if ("validStatusCodes".equals(fieldName)) { List validStatusCodes = reader.readArray(reader1 -> reader1.getInt()); - deserializedHttpConfiguration.validStatusCodes = validStatusCodes; + deserializedHTTPConfiguration.validStatusCodes = validStatusCodes; } else { reader.skipChildren(); } } - return deserializedHttpConfiguration; + return deserializedHTTPConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java index 04fd9cc40b5e..73a312c27a6b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -10,42 +10,42 @@ /** * The HTTP method to use. */ -public final class HttpConfigurationMethod extends ExpandableStringEnum { +public final class HTTPConfigurationMethod extends ExpandableStringEnum { /** - * Static value Get for HttpConfigurationMethod. + * Get. */ - public static final HttpConfigurationMethod GET = fromString("Get"); + public static final HTTPConfigurationMethod GET = fromString("Get"); /** - * Static value Post for HttpConfigurationMethod. + * Post. */ - public static final HttpConfigurationMethod POST = fromString("Post"); + public static final HTTPConfigurationMethod POST = fromString("Post"); /** - * Creates a new instance of HttpConfigurationMethod value. + * Creates a new instance of HTTPConfigurationMethod value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public HttpConfigurationMethod() { + public HTTPConfigurationMethod() { } /** - * Creates or finds a HttpConfigurationMethod from its string representation. + * Creates or finds a HTTPConfigurationMethod from its string representation. * * @param name a name to look for. - * @return the corresponding HttpConfigurationMethod. + * @return the corresponding HTTPConfigurationMethod. */ - public static HttpConfigurationMethod fromString(String name) { - return fromString(name, HttpConfigurationMethod.class); + public static HTTPConfigurationMethod fromString(String name) { + return fromString(name, HTTPConfigurationMethod.class); } /** - * Gets known HttpConfigurationMethod values. + * Gets known HTTPConfigurationMethod values. * - * @return known HttpConfigurationMethod values. + * @return known HTTPConfigurationMethod values. */ - public static Collection values() { - return values(HttpConfigurationMethod.class); + public static Collection values() { + return values(HTTPConfigurationMethod.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java index ff7174a5ea00..fe35c46a3a3d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -15,7 +15,7 @@ * The HTTP header. */ @Fluent -public final class HttpHeader implements JsonSerializable { +public final class HTTPHeader implements JsonSerializable { /* * The name in HTTP header. */ @@ -27,9 +27,9 @@ public final class HttpHeader implements JsonSerializable { private String value; /** - * Creates an instance of HttpHeader class. + * Creates an instance of HTTPHeader class. */ - public HttpHeader() { + public HTTPHeader() { } /** @@ -45,9 +45,9 @@ public String name() { * Set the name property: The name in HTTP header. * * @param name the name value to set. - * @return the HttpHeader object itself. + * @return the HTTPHeader object itself. */ - public HttpHeader withName(String name) { + public HTTPHeader withName(String name) { this.name = name; return this; } @@ -65,9 +65,9 @@ public String value() { * Set the value property: The value in HTTP header. * * @param value the value value to set. - * @return the HttpHeader object itself. + * @return the HTTPHeader object itself. */ - public HttpHeader withValue(String value) { + public HTTPHeader withValue(String value) { this.value = value; return this; } @@ -92,30 +92,30 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of HttpHeader from the JsonReader. + * Reads an instance of HTTPHeader from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of HttpHeader if the JsonReader was pointing to an instance of it, or null if it was pointing + * @return An instance of HTTPHeader 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 HttpHeader. + * @throws IOException If an error occurs while reading the HTTPHeader. */ - public static HttpHeader fromJson(JsonReader jsonReader) throws IOException { + public static HTTPHeader fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - HttpHeader deserializedHttpHeader = new HttpHeader(); + HTTPHeader deserializedHTTPHeader = new HTTPHeader(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("name".equals(fieldName)) { - deserializedHttpHeader.name = reader.getString(); + deserializedHTTPHeader.name = reader.getString(); } else if ("value".equals(fieldName)) { - deserializedHttpHeader.value = reader.getString(); + deserializedHTTPHeader.value = reader.getString(); } else { reader.skipChildren(); } } - return deserializedHttpHeader; + return deserializedHTTPHeader; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java index 83a27f43983c..5f67025dd8fd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -10,37 +10,37 @@ /** * HTTP method. */ -public final class HttpMethod extends ExpandableStringEnum { +public final class HTTPMethod extends ExpandableStringEnum { /** - * Static value Get for HttpMethod. + * Get. */ - public static final HttpMethod GET = fromString("Get"); + public static final HTTPMethod GET = fromString("Get"); /** - * Creates a new instance of HttpMethod value. + * Creates a new instance of HTTPMethod value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public HttpMethod() { + public HTTPMethod() { } /** - * Creates or finds a HttpMethod from its string representation. + * Creates or finds a HTTPMethod from its string representation. * * @param name a name to look for. - * @return the corresponding HttpMethod. + * @return the corresponding HTTPMethod. */ - public static HttpMethod fromString(String name) { - return fromString(name, HttpMethod.class); + public static HTTPMethod fromString(String name) { + return fromString(name, HTTPMethod.class); } /** - * Gets known HttpMethod values. + * Gets known HTTPMethod values. * - * @return known HttpMethod values. + * @return known HTTPMethod values. */ - public static Collection values() { - return values(HttpMethod.class); + public static Collection values() { + return values(HTTPMethod.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Hub.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Hub.java index de52e05283c8..f07ed91e7a86 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Hub.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Hub.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java index 9cbd7b5b78d9..6a052dfd431a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class HubBgpConnectionStatus extends ExpandableStringEnum { /** - * Static value Unknown for HubBgpConnectionStatus. + * Unknown. */ public static final HubBgpConnectionStatus UNKNOWN = fromString("Unknown"); /** - * Static value Connecting for HubBgpConnectionStatus. + * Connecting. */ public static final HubBgpConnectionStatus CONNECTING = fromString("Connecting"); /** - * Static value Connected for HubBgpConnectionStatus. + * Connected. */ public static final HubBgpConnectionStatus CONNECTED = fromString("Connected"); /** - * Static value NotConnected for HubBgpConnectionStatus. + * NotConnected. */ public static final HubBgpConnectionStatus NOT_CONNECTED = fromString("NotConnected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java index 73fd4aed3bd2..4aa9ea85b7be 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -15,11 +15,11 @@ * IP addresses associated with azure firewall. */ @Fluent -public final class HubIpAddresses implements JsonSerializable { +public final class HubIPAddresses implements JsonSerializable { /* * Public IP addresses associated with azure firewall. */ - private HubPublicIpAddresses publicIPs; + private HubPublicIPAddresses publicIPs; /* * Private IP Address associated with azure firewall. @@ -27,9 +27,9 @@ public final class HubIpAddresses implements JsonSerializable { private String privateIpAddress; /** - * Creates an instance of HubIpAddresses class. + * Creates an instance of HubIPAddresses class. */ - public HubIpAddresses() { + public HubIPAddresses() { } /** @@ -37,7 +37,7 @@ public HubIpAddresses() { * * @return the publicIPs value. */ - public HubPublicIpAddresses publicIPs() { + public HubPublicIPAddresses publicIPs() { return this.publicIPs; } @@ -45,9 +45,9 @@ public HubPublicIpAddresses publicIPs() { * Set the publicIPs property: Public IP addresses associated with azure firewall. * * @param publicIPs the publicIPs value to set. - * @return the HubIpAddresses object itself. + * @return the HubIPAddresses object itself. */ - public HubIpAddresses withPublicIPs(HubPublicIpAddresses publicIPs) { + public HubIPAddresses withPublicIPs(HubPublicIPAddresses publicIPs) { this.publicIPs = publicIPs; return this; } @@ -65,9 +65,9 @@ public String privateIpAddress() { * Set the privateIpAddress property: Private IP Address associated with azure firewall. * * @param privateIpAddress the privateIpAddress value to set. - * @return the HubIpAddresses object itself. + * @return the HubIPAddresses object itself. */ - public HubIpAddresses withPrivateIpAddress(String privateIpAddress) { + public HubIPAddresses withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -95,30 +95,30 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of HubIpAddresses from the JsonReader. + * Reads an instance of HubIPAddresses from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of HubIpAddresses if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of HubIPAddresses 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 HubIpAddresses. + * @throws IOException If an error occurs while reading the HubIPAddresses. */ - public static HubIpAddresses fromJson(JsonReader jsonReader) throws IOException { + public static HubIPAddresses fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - HubIpAddresses deserializedHubIpAddresses = new HubIpAddresses(); + HubIPAddresses deserializedHubIPAddresses = new HubIPAddresses(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("publicIPs".equals(fieldName)) { - deserializedHubIpAddresses.publicIPs = HubPublicIpAddresses.fromJson(reader); + deserializedHubIPAddresses.publicIPs = HubPublicIPAddresses.fromJson(reader); } else if ("privateIPAddress".equals(fieldName)) { - deserializedHubIpAddresses.privateIpAddress = reader.getString(); + deserializedHubIPAddresses.privateIpAddress = reader.getString(); } else { reader.skipChildren(); } } - return deserializedHubIpAddresses; + return deserializedHubIPAddresses; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java index a17dd0d56a0d..61698f59ed17 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,11 +16,11 @@ * Public IP addresses associated with azure firewall. */ @Fluent -public final class HubPublicIpAddresses implements JsonSerializable { +public final class HubPublicIPAddresses implements JsonSerializable { /* * The list of Public IP addresses associated with azure firewall or IP addresses to be retained. */ - private List addresses; + private List addresses; /* * The number of Public IP addresses associated with azure firewall. @@ -28,9 +28,9 @@ public final class HubPublicIpAddresses implements JsonSerializable addresses() { + public List addresses() { return this.addresses; } @@ -48,9 +48,9 @@ public List addresses() { * retained. * * @param addresses the addresses value to set. - * @return the HubPublicIpAddresses object itself. + * @return the HubPublicIPAddresses object itself. */ - public HubPublicIpAddresses withAddresses(List addresses) { + public HubPublicIPAddresses withAddresses(List addresses) { this.addresses = addresses; return this; } @@ -68,9 +68,9 @@ public Integer count() { * Set the count property: The number of Public IP addresses associated with azure firewall. * * @param count the count value to set. - * @return the HubPublicIpAddresses object itself. + * @return the HubPublicIPAddresses object itself. */ - public HubPublicIpAddresses withCount(Integer count) { + public HubPublicIPAddresses withCount(Integer count) { this.count = count; return this; } @@ -98,32 +98,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of HubPublicIpAddresses from the JsonReader. + * Reads an instance of HubPublicIPAddresses from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of HubPublicIpAddresses if the JsonReader was pointing to an instance of it, or null if it + * @return An instance of HubPublicIPAddresses 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 HubPublicIpAddresses. + * @throws IOException If an error occurs while reading the HubPublicIPAddresses. */ - public static HubPublicIpAddresses fromJson(JsonReader jsonReader) throws IOException { + public static HubPublicIPAddresses fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - HubPublicIpAddresses deserializedHubPublicIpAddresses = new HubPublicIpAddresses(); + HubPublicIPAddresses deserializedHubPublicIPAddresses = new HubPublicIPAddresses(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("addresses".equals(fieldName)) { - List addresses - = reader.readArray(reader1 -> AzureFirewallPublicIpAddress.fromJson(reader1)); - deserializedHubPublicIpAddresses.addresses = addresses; + List addresses + = reader.readArray(reader1 -> AzureFirewallPublicIPAddress.fromJson(reader1)); + deserializedHubPublicIPAddresses.addresses = addresses; } else if ("count".equals(fieldName)) { - deserializedHubPublicIpAddresses.count = reader.getNullable(JsonReader::getInt); + deserializedHubPublicIPAddresses.count = reader.getNullable(JsonReader::getInt); } else { reader.skipChildren(); } } - return deserializedHubPublicIpAddresses; + return deserializedHubPublicIPAddresses; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubRoute.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubRoute.java index a02c71d943bb..464702b3fd3b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubRoute.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubRoute.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java index 91e172ed0872..05aa73ff2b48 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class HubRoutingPreference extends ExpandableStringEnum { /** - * Static value ExpressRoute for HubRoutingPreference. + * ExpressRoute. */ public static final HubRoutingPreference EXPRESS_ROUTE = fromString("ExpressRoute"); /** - * Static value VpnGateway for HubRoutingPreference. + * VpnGateway. */ public static final HubRoutingPreference VPN_GATEWAY = fromString("VpnGateway"); /** - * Static value ASPath for HubRoutingPreference. + * ASPath. */ public static final HubRoutingPreference ASPATH = fromString("ASPath"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java index d0c9a39fc317..032e42ba5b95 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,7 +16,7 @@ * Will describe the query to run against the IDPS signatures DB. */ @Fluent -public final class IdpsQueryObject implements JsonSerializable { +public final class IDPSQueryObject implements JsonSerializable { /* * Contain all filters names and values */ @@ -43,9 +43,9 @@ public final class IdpsQueryObject implements JsonSerializable private Integer skip; /** - * Creates an instance of IdpsQueryObject class. + * Creates an instance of IDPSQueryObject class. */ - public IdpsQueryObject() { + public IDPSQueryObject() { } /** @@ -61,9 +61,9 @@ public List filters() { * Set the filters property: Contain all filters names and values. * * @param filters the filters value to set. - * @return the IdpsQueryObject object itself. + * @return the IDPSQueryObject object itself. */ - public IdpsQueryObject withFilters(List filters) { + public IDPSQueryObject withFilters(List filters) { this.filters = filters; return this; } @@ -81,9 +81,9 @@ public String search() { * Set the search property: Search term in all columns. * * @param search the search value to set. - * @return the IdpsQueryObject object itself. + * @return the IDPSQueryObject object itself. */ - public IdpsQueryObject withSearch(String search) { + public IDPSQueryObject withSearch(String search) { this.search = search; return this; } @@ -101,9 +101,9 @@ public OrderBy orderBy() { * Set the orderBy property: Column to sort response by. * * @param orderBy the orderBy value to set. - * @return the IdpsQueryObject object itself. + * @return the IDPSQueryObject object itself. */ - public IdpsQueryObject withOrderBy(OrderBy orderBy) { + public IDPSQueryObject withOrderBy(OrderBy orderBy) { this.orderBy = orderBy; return this; } @@ -121,9 +121,9 @@ public Integer resultsPerPage() { * Set the resultsPerPage property: The number of the results to return in each page. * * @param resultsPerPage the resultsPerPage value to set. - * @return the IdpsQueryObject object itself. + * @return the IDPSQueryObject object itself. */ - public IdpsQueryObject withResultsPerPage(Integer resultsPerPage) { + public IDPSQueryObject withResultsPerPage(Integer resultsPerPage) { this.resultsPerPage = resultsPerPage; return this; } @@ -141,9 +141,9 @@ public Integer skip() { * Set the skip property: The number of records matching the filter to skip. * * @param skip the skip value to set. - * @return the IdpsQueryObject object itself. + * @return the IDPSQueryObject object itself. */ - public IdpsQueryObject withSkip(Integer skip) { + public IDPSQueryObject withSkip(Integer skip) { this.skip = skip; return this; } @@ -177,37 +177,37 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IdpsQueryObject from the JsonReader. + * Reads an instance of IDPSQueryObject from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IdpsQueryObject if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of IDPSQueryObject 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 IdpsQueryObject. + * @throws IOException If an error occurs while reading the IDPSQueryObject. */ - public static IdpsQueryObject fromJson(JsonReader jsonReader) throws IOException { + public static IDPSQueryObject fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IdpsQueryObject deserializedIdpsQueryObject = new IdpsQueryObject(); + IDPSQueryObject deserializedIDPSQueryObject = new IDPSQueryObject(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("filters".equals(fieldName)) { List filters = reader.readArray(reader1 -> FilterItems.fromJson(reader1)); - deserializedIdpsQueryObject.filters = filters; + deserializedIDPSQueryObject.filters = filters; } else if ("search".equals(fieldName)) { - deserializedIdpsQueryObject.search = reader.getString(); + deserializedIDPSQueryObject.search = reader.getString(); } else if ("orderBy".equals(fieldName)) { - deserializedIdpsQueryObject.orderBy = OrderBy.fromJson(reader); + deserializedIDPSQueryObject.orderBy = OrderBy.fromJson(reader); } else if ("resultsPerPage".equals(fieldName)) { - deserializedIdpsQueryObject.resultsPerPage = reader.getNullable(JsonReader::getInt); + deserializedIDPSQueryObject.resultsPerPage = reader.getNullable(JsonReader::getInt); } else if ("skip".equals(fieldName)) { - deserializedIdpsQueryObject.skip = reader.getNullable(JsonReader::getInt); + deserializedIDPSQueryObject.skip = reader.getNullable(JsonReader::getInt); } else { reader.skipChildren(); } } - return deserializedIdpsQueryObject; + return deserializedIDPSQueryObject; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java index 95a808770c93..b3c05e310cc9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,37 +12,37 @@ */ public final class IkeEncryption extends ExpandableStringEnum { /** - * Static value DES for IkeEncryption. + * DES. */ public static final IkeEncryption DES = fromString("DES"); /** - * Static value DES3 for IkeEncryption. + * DES3. */ public static final IkeEncryption DES3 = fromString("DES3"); /** - * Static value AES128 for IkeEncryption. + * AES128. */ public static final IkeEncryption AES128 = fromString("AES128"); /** - * Static value AES192 for IkeEncryption. + * AES192. */ public static final IkeEncryption AES192 = fromString("AES192"); /** - * Static value AES256 for IkeEncryption. + * AES256. */ public static final IkeEncryption AES256 = fromString("AES256"); /** - * Static value GCMAES256 for IkeEncryption. + * GCMAES256. */ public static final IkeEncryption GCMAES256 = fromString("GCMAES256"); /** - * Static value GCMAES128 for IkeEncryption. + * GCMAES128. */ public static final IkeEncryption GCMAES128 = fromString("GCMAES128"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java index 85d6b281cc52..176d1688ed54 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,32 +12,32 @@ */ public final class IkeIntegrity extends ExpandableStringEnum { /** - * Static value MD5 for IkeIntegrity. + * MD5. */ public static final IkeIntegrity MD5 = fromString("MD5"); /** - * Static value SHA1 for IkeIntegrity. + * SHA1. */ public static final IkeIntegrity SHA1 = fromString("SHA1"); /** - * Static value SHA256 for IkeIntegrity. + * SHA256. */ public static final IkeIntegrity SHA256 = fromString("SHA256"); /** - * Static value SHA384 for IkeIntegrity. + * SHA384. */ public static final IkeIntegrity SHA384 = fromString("SHA384"); /** - * Static value GCMAES256 for IkeIntegrity. + * GCMAES256. */ public static final IkeIntegrity GCMAES256 = fromString("GCMAES256"); /** - * Static value GCMAES128 for IkeIntegrity. + * GCMAES128. */ public static final IkeIntegrity GCMAES128 = fromString("GCMAES128"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java index a0130062fb2d..8215495ed930 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -305,7 +305,7 @@ public InboundNatPool withEnableTcpReset(Boolean enableTcpReset) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java index eadaf9dea026..d0102929dcec 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -39,7 +39,7 @@ public final class InboundNatRulePortMapping implements JsonSerializable { /** - * Static value AutoExpire for InboundSecurityRuleType. + * AutoExpire. */ public static final InboundSecurityRuleType AUTO_EXPIRE = fromString("AutoExpire"); /** - * Static value Permanent for InboundSecurityRuleType. + * Permanent. */ public static final InboundSecurityRuleType PERMANENT = fromString("Permanent"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java index ff16e328d88a..b4b08c94c194 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java index 3634914c143d..abb0232671d1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class InboundSecurityRulesProtocol extends ExpandableStringEnum { /** - * Static value TCP for InboundSecurityRulesProtocol. + * TCP. */ public static final InboundSecurityRulesProtocol TCP = fromString("TCP"); /** - * Static value UDP for InboundSecurityRulesProtocol. + * UDP. */ public static final InboundSecurityRulesProtocol UDP = fromString("UDP"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IntentContent.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IntentContent.java index 168b61c6517a..97016d59f052 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IntentContent.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IntentContent.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -15,7 +15,7 @@ /** * Intent information. */ -@Fluent +@Immutable public final class IntentContent implements JsonSerializable { /* * The description property. @@ -35,12 +35,12 @@ public final class IntentContent implements JsonSerializable { /* * IP traffic information. */ - private IpTraffic ipTraffic; + private IPTraffic ipTraffic; /** * Creates an instance of IntentContent class. */ - public IntentContent() { + private IntentContent() { } /** @@ -52,17 +52,6 @@ public String description() { return this.description; } - /** - * Set the description property: The description property. - * - * @param description the description value to set. - * @return the IntentContent object itself. - */ - public IntentContent withDescription(String description) { - this.description = description; - return this; - } - /** * Get the sourceResourceId property: Source resource id of the intent. * @@ -72,17 +61,6 @@ public String sourceResourceId() { return this.sourceResourceId; } - /** - * Set the sourceResourceId property: Source resource id of the intent. - * - * @param sourceResourceId the sourceResourceId value to set. - * @return the IntentContent object itself. - */ - public IntentContent withSourceResourceId(String sourceResourceId) { - this.sourceResourceId = sourceResourceId; - return this; - } - /** * Get the destinationResourceId property: Destination resource id of the intent. * @@ -92,37 +70,15 @@ public String destinationResourceId() { return this.destinationResourceId; } - /** - * Set the destinationResourceId property: Destination resource id of the intent. - * - * @param destinationResourceId the destinationResourceId value to set. - * @return the IntentContent object itself. - */ - public IntentContent withDestinationResourceId(String destinationResourceId) { - this.destinationResourceId = destinationResourceId; - return this; - } - /** * Get the ipTraffic property: IP traffic information. * * @return the ipTraffic value. */ - public IpTraffic ipTraffic() { + public IPTraffic ipTraffic() { return this.ipTraffic; } - /** - * Set the ipTraffic property: IP traffic information. - * - * @param ipTraffic the ipTraffic value to set. - * @return the IntentContent object itself. - */ - public IntentContent withIpTraffic(IpTraffic ipTraffic) { - this.ipTraffic = ipTraffic; - return this; - } - /** * Validates the instance. * @@ -182,7 +138,7 @@ public static IntentContent fromJson(JsonReader jsonReader) throws IOException { } else if ("destinationResourceId".equals(fieldName)) { deserializedIntentContent.destinationResourceId = reader.getString(); } else if ("ipTraffic".equals(fieldName)) { - deserializedIntentContent.ipTraffic = IpTraffic.fromJson(reader); + deserializedIntentContent.ipTraffic = IPTraffic.fromJson(reader); } else if ("description".equals(fieldName)) { deserializedIntentContent.description = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java index 0da6966c2f55..9cef178de646 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java index 50697fdd31b3..437b3996db43 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class IpAllocationMethod extends ExpandableStringEnum { /** - * Static value Static for IpAllocationMethod. + * Static. */ public static final IpAllocationMethod STATIC = fromString("Static"); /** - * Static value Dynamic for IpAllocationMethod. + * Dynamic. */ public static final IpAllocationMethod DYNAMIC = fromString("Dynamic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java index 5b16e6348965..78fae4ecf27a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class IpAllocationType extends ExpandableStringEnum { /** - * Static value Undefined for IpAllocationType. + * Undefined. */ public static final IpAllocationType UNDEFINED = fromString("Undefined"); /** - * Static value Hypernet for IpAllocationType. + * Hypernet. */ public static final IpAllocationType HYPERNET = fromString("Hypernet"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java index a50ab1b63e64..de3ac42a213c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,7 +16,7 @@ * Properties of IPConfigurationBgpPeeringAddress. */ @Fluent -public final class IpConfigurationBgpPeeringAddress implements JsonSerializable { +public final class IPConfigurationBgpPeeringAddress implements JsonSerializable { /* * The ID of IP configuration which belongs to gateway. */ @@ -38,9 +38,9 @@ public final class IpConfigurationBgpPeeringAddress implements JsonSerializable< private List tunnelIpAddresses; /** - * Creates an instance of IpConfigurationBgpPeeringAddress class. + * Creates an instance of IPConfigurationBgpPeeringAddress class. */ - public IpConfigurationBgpPeeringAddress() { + public IPConfigurationBgpPeeringAddress() { } /** @@ -56,9 +56,9 @@ public String ipconfigurationId() { * Set the ipconfigurationId property: The ID of IP configuration which belongs to gateway. * * @param ipconfigurationId the ipconfigurationId value to set. - * @return the IpConfigurationBgpPeeringAddress object itself. + * @return the IPConfigurationBgpPeeringAddress object itself. */ - public IpConfigurationBgpPeeringAddress withIpconfigurationId(String ipconfigurationId) { + public IPConfigurationBgpPeeringAddress withIpconfigurationId(String ipconfigurationId) { this.ipconfigurationId = ipconfigurationId; return this; } @@ -86,9 +86,9 @@ public List customBgpIpAddresses() { * Set the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration. * * @param customBgpIpAddresses the customBgpIpAddresses value to set. - * @return the IpConfigurationBgpPeeringAddress object itself. + * @return the IPConfigurationBgpPeeringAddress object itself. */ - public IpConfigurationBgpPeeringAddress withCustomBgpIpAddresses(List customBgpIpAddresses) { + public IPConfigurationBgpPeeringAddress withCustomBgpIpAddresses(List customBgpIpAddresses) { this.customBgpIpAddresses = customBgpIpAddresses; return this; } @@ -123,38 +123,38 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IpConfigurationBgpPeeringAddress from the JsonReader. + * Reads an instance of IPConfigurationBgpPeeringAddress from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IpConfigurationBgpPeeringAddress if the JsonReader was pointing to an instance of it, or + * @return An instance of IPConfigurationBgpPeeringAddress 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 IpConfigurationBgpPeeringAddress. + * @throws IOException If an error occurs while reading the IPConfigurationBgpPeeringAddress. */ - public static IpConfigurationBgpPeeringAddress fromJson(JsonReader jsonReader) throws IOException { + public static IPConfigurationBgpPeeringAddress fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IpConfigurationBgpPeeringAddress deserializedIpConfigurationBgpPeeringAddress - = new IpConfigurationBgpPeeringAddress(); + IPConfigurationBgpPeeringAddress deserializedIPConfigurationBgpPeeringAddress + = new IPConfigurationBgpPeeringAddress(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("ipconfigurationId".equals(fieldName)) { - deserializedIpConfigurationBgpPeeringAddress.ipconfigurationId = reader.getString(); + deserializedIPConfigurationBgpPeeringAddress.ipconfigurationId = reader.getString(); } else if ("defaultBgpIpAddresses".equals(fieldName)) { List defaultBgpIpAddresses = reader.readArray(reader1 -> reader1.getString()); - deserializedIpConfigurationBgpPeeringAddress.defaultBgpIpAddresses = defaultBgpIpAddresses; + deserializedIPConfigurationBgpPeeringAddress.defaultBgpIpAddresses = defaultBgpIpAddresses; } else if ("customBgpIpAddresses".equals(fieldName)) { List customBgpIpAddresses = reader.readArray(reader1 -> reader1.getString()); - deserializedIpConfigurationBgpPeeringAddress.customBgpIpAddresses = customBgpIpAddresses; + deserializedIPConfigurationBgpPeeringAddress.customBgpIpAddresses = customBgpIpAddresses; } else if ("tunnelIpAddresses".equals(fieldName)) { List tunnelIpAddresses = reader.readArray(reader1 -> reader1.getString()); - deserializedIpConfigurationBgpPeeringAddress.tunnelIpAddresses = tunnelIpAddresses; + deserializedIPConfigurationBgpPeeringAddress.tunnelIpAddresses = tunnelIpAddresses; } else { reader.skipChildren(); } } - return deserializedIpConfigurationBgpPeeringAddress; + return deserializedIPConfigurationBgpPeeringAddress; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java index f13ccb243be6..90cb2897b841 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class IpFlowProtocol extends ExpandableStringEnum { /** - * Static value TCP for IpFlowProtocol. + * TCP. */ public static final IpFlowProtocol TCP = fromString("TCP"); /** - * Static value UDP for IpFlowProtocol. + * UDP. */ public static final IpFlowProtocol UDP = fromString("UDP"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpRule.java index b9dd40d890c7..e7206d8680a3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,19 +12,19 @@ import java.io.IOException; /** - * The IpRule model. + * The IPRule model. */ @Fluent -public final class IpRule implements JsonSerializable { +public final class IPRule implements JsonSerializable { /* * Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. */ private String addressPrefix; /** - * Creates an instance of IpRule class. + * Creates an instance of IPRule class. */ - public IpRule() { + public IPRule() { } /** @@ -40,9 +40,9 @@ public String addressPrefix() { * Set the addressPrefix property: Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. * * @param addressPrefix the addressPrefix value to set. - * @return the IpRule object itself. + * @return the IPRule object itself. */ - public IpRule withAddressPrefix(String addressPrefix) { + public IPRule withAddressPrefix(String addressPrefix) { this.addressPrefix = addressPrefix; return this; } @@ -66,28 +66,28 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IpRule from the JsonReader. + * Reads an instance of IPRule from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IpRule if the JsonReader was pointing to an instance of it, or null if it was pointing to + * @return An instance of IPRule 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 IpRule. + * @throws IOException If an error occurs while reading the IPRule. */ - public static IpRule fromJson(JsonReader jsonReader) throws IOException { + public static IPRule fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IpRule deserializedIpRule = new IpRule(); + IPRule deserializedIPRule = new IPRule(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("addressPrefix".equals(fieldName)) { - deserializedIpRule.addressPrefix = reader.getString(); + deserializedIPRule.addressPrefix = reader.getString(); } else { reader.skipChildren(); } } - return deserializedIpRule; + return deserializedIPRule; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTag.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTag.java index 2fb6f11f254e..f51a521dda40 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTag.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTag.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java index e92d63369c6f..9e0605039bf1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -17,7 +17,7 @@ * IP traffic information. */ @Fluent -public final class IpTraffic implements JsonSerializable { +public final class IPTraffic implements JsonSerializable { /* * List of source IP addresses of the traffic.. */ @@ -44,9 +44,9 @@ public final class IpTraffic implements JsonSerializable { private List protocols; /** - * Creates an instance of IpTraffic class. + * Creates an instance of IPTraffic class. */ - public IpTraffic() { + public IPTraffic() { } /** @@ -62,9 +62,9 @@ public List sourceIps() { * Set the sourceIps property: List of source IP addresses of the traffic.. * * @param sourceIps the sourceIps value to set. - * @return the IpTraffic object itself. + * @return the IPTraffic object itself. */ - public IpTraffic withSourceIps(List sourceIps) { + public IPTraffic withSourceIps(List sourceIps) { this.sourceIps = sourceIps; return this; } @@ -82,9 +82,9 @@ public List destinationIps() { * Set the destinationIps property: List of destination IP addresses of the traffic.. * * @param destinationIps the destinationIps value to set. - * @return the IpTraffic object itself. + * @return the IPTraffic object itself. */ - public IpTraffic withDestinationIps(List destinationIps) { + public IPTraffic withDestinationIps(List destinationIps) { this.destinationIps = destinationIps; return this; } @@ -102,9 +102,9 @@ public List sourcePorts() { * Set the sourcePorts property: The source ports of the traffic. * * @param sourcePorts the sourcePorts value to set. - * @return the IpTraffic object itself. + * @return the IPTraffic object itself. */ - public IpTraffic withSourcePorts(List sourcePorts) { + public IPTraffic withSourcePorts(List sourcePorts) { this.sourcePorts = sourcePorts; return this; } @@ -122,9 +122,9 @@ public List destinationPorts() { * Set the destinationPorts property: The destination ports of the traffic. * * @param destinationPorts the destinationPorts value to set. - * @return the IpTraffic object itself. + * @return the IPTraffic object itself. */ - public IpTraffic withDestinationPorts(List destinationPorts) { + public IPTraffic withDestinationPorts(List destinationPorts) { this.destinationPorts = destinationPorts; return this; } @@ -142,9 +142,9 @@ public List protocols() { * Set the protocols property: The protocols property. * * @param protocols the protocols value to set. - * @return the IpTraffic object itself. + * @return the IPTraffic object itself. */ - public IpTraffic withProtocols(List protocols) { + public IPTraffic withProtocols(List protocols) { this.protocols = protocols; return this; } @@ -157,27 +157,27 @@ public IpTraffic withProtocols(List protocols) { public void validate() { if (sourceIps() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property sourceIps in model IpTraffic")); + .log(new IllegalArgumentException("Missing required property sourceIps in model IPTraffic")); } if (destinationIps() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property destinationIps in model IpTraffic")); + .log(new IllegalArgumentException("Missing required property destinationIps in model IPTraffic")); } if (sourcePorts() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property sourcePorts in model IpTraffic")); + .log(new IllegalArgumentException("Missing required property sourcePorts in model IPTraffic")); } if (destinationPorts() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property destinationPorts in model IpTraffic")); + .log(new IllegalArgumentException("Missing required property destinationPorts in model IPTraffic")); } if (protocols() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property protocols in model IpTraffic")); + .log(new IllegalArgumentException("Missing required property protocols in model IPTraffic")); } } - private static final ClientLogger LOGGER = new ClientLogger(IpTraffic.class); + private static final ClientLogger LOGGER = new ClientLogger(IPTraffic.class); /** * {@inheritDoc} @@ -197,43 +197,43 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IpTraffic from the JsonReader. + * Reads an instance of IPTraffic from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IpTraffic if the JsonReader was pointing to an instance of it, or null if it was pointing + * @return An instance of IPTraffic 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 IpTraffic. + * @throws IOException If an error occurs while reading the IPTraffic. */ - public static IpTraffic fromJson(JsonReader jsonReader) throws IOException { + public static IPTraffic fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IpTraffic deserializedIpTraffic = new IpTraffic(); + IPTraffic deserializedIPTraffic = new IPTraffic(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("sourceIps".equals(fieldName)) { List sourceIps = reader.readArray(reader1 -> reader1.getString()); - deserializedIpTraffic.sourceIps = sourceIps; + deserializedIPTraffic.sourceIps = sourceIps; } else if ("destinationIps".equals(fieldName)) { List destinationIps = reader.readArray(reader1 -> reader1.getString()); - deserializedIpTraffic.destinationIps = destinationIps; + deserializedIPTraffic.destinationIps = destinationIps; } else if ("sourcePorts".equals(fieldName)) { List sourcePorts = reader.readArray(reader1 -> reader1.getString()); - deserializedIpTraffic.sourcePorts = sourcePorts; + deserializedIPTraffic.sourcePorts = sourcePorts; } else if ("destinationPorts".equals(fieldName)) { List destinationPorts = reader.readArray(reader1 -> reader1.getString()); - deserializedIpTraffic.destinationPorts = destinationPorts; + deserializedIPTraffic.destinationPorts = destinationPorts; } else if ("protocols".equals(fieldName)) { List protocols = reader.readArray(reader1 -> NetworkProtocol.fromString(reader1.getString())); - deserializedIpTraffic.protocols = protocols; + deserializedIPTraffic.protocols = protocols; } else { reader.skipChildren(); } } - return deserializedIpTraffic; + return deserializedIPTraffic; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpType.java index a3f74accc523..7fc74494f138 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class IpType extends ExpandableStringEnum { /** - * Static value IPv4 for IpType. + * IPv4. */ public static final IpType IPV4 = fromString("IPv4"); /** - * Static value IPv6 for IpType. + * IPv6. */ public static final IpType IPV6 = fromString("IPv6"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpVersion.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpVersion.java index 3b820b2e1c81..c5675cfb98a2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpVersion.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpVersion.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class IpVersion extends ExpandableStringEnum { /** - * Static value IPv4 for IpVersion. + * IPv4. */ public static final IpVersion IPV4 = fromString("IPv4"); /** - * Static value IPv6 for IpVersion. + * IPv6. */ public static final IpVersion IPV6 = fromString("IPv6"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java index 9eeb4e465ef7..95451222b9cc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java index 74f130c9da5e..d7cf22fc9edb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -154,17 +154,6 @@ public ProvisioningState provisioningState() { return this.provisioningState; } - /** - * Set the provisioningState property: Provisioning states of a resource. - * - * @param provisioningState the provisioningState value to set. - * @return the IpamPoolProperties object itself. - */ - public IpamPoolProperties withProvisioningState(ProvisioningState provisioningState) { - this.provisioningState = provisioningState; - return this; - } - /** * Validates the instance. * @@ -191,8 +180,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("description", this.description); jsonWriter.writeStringField("displayName", this.displayName); jsonWriter.writeStringField("parentPoolName", this.parentPoolName); - jsonWriter.writeStringField("provisioningState", - this.provisioningState == null ? null : this.provisioningState.toString()); return jsonWriter.writeEndObject(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java index 7c69deb10251..af22a6595bfd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java index 02bd2edc685f..3a56646afb0c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java index 53d20320d02a..44764f125446 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,47 +12,47 @@ */ public final class IpsecEncryption extends ExpandableStringEnum { /** - * Static value None for IpsecEncryption. + * None. */ public static final IpsecEncryption NONE = fromString("None"); /** - * Static value DES for IpsecEncryption. + * DES. */ public static final IpsecEncryption DES = fromString("DES"); /** - * Static value DES3 for IpsecEncryption. + * DES3. */ public static final IpsecEncryption DES3 = fromString("DES3"); /** - * Static value AES128 for IpsecEncryption. + * AES128. */ public static final IpsecEncryption AES128 = fromString("AES128"); /** - * Static value AES192 for IpsecEncryption. + * AES192. */ public static final IpsecEncryption AES192 = fromString("AES192"); /** - * Static value AES256 for IpsecEncryption. + * AES256. */ public static final IpsecEncryption AES256 = fromString("AES256"); /** - * Static value GCMAES128 for IpsecEncryption. + * GCMAES128. */ public static final IpsecEncryption GCMAES128 = fromString("GCMAES128"); /** - * Static value GCMAES192 for IpsecEncryption. + * GCMAES192. */ public static final IpsecEncryption GCMAES192 = fromString("GCMAES192"); /** - * Static value GCMAES256 for IpsecEncryption. + * GCMAES256. */ public static final IpsecEncryption GCMAES256 = fromString("GCMAES256"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java index 5c807dedc1bf..7512e7f9fe17 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,32 +12,32 @@ */ public final class IpsecIntegrity extends ExpandableStringEnum { /** - * Static value MD5 for IpsecIntegrity. + * MD5. */ public static final IpsecIntegrity MD5 = fromString("MD5"); /** - * Static value SHA1 for IpsecIntegrity. + * SHA1. */ public static final IpsecIntegrity SHA1 = fromString("SHA1"); /** - * Static value SHA256 for IpsecIntegrity. + * SHA256. */ public static final IpsecIntegrity SHA256 = fromString("SHA256"); /** - * Static value GCMAES128 for IpsecIntegrity. + * GCMAES128. */ public static final IpsecIntegrity GCMAES128 = fromString("GCMAES128"); /** - * Static value GCMAES192 for IpsecIntegrity. + * GCMAES192. */ public static final IpsecIntegrity GCMAES192 = fromString("GCMAES192"); /** - * Static value GCMAES256 for IpsecIntegrity. + * GCMAES256. */ public static final IpsecIntegrity GCMAES256 = fromString("GCMAES256"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java index 02848cc28015..fe81b29207ca 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java index 9d413c8db43d..05d0ba0cba6f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java index 34434dca3b92..8beb67cb4b1e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java index 537f454b8add..7f67e46a9a66 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class IsGlobal extends ExpandableStringEnum { /** - * Static value False for IsGlobal. + * False. */ public static final IsGlobal FALSE = fromString("False"); /** - * Static value True for IsGlobal. + * True. */ public static final IsGlobal TRUE = fromString("True"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsRollback.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsRollback.java index 901bf69df463..57f8fdb4958b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsRollback.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsRollback.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class IsRollback extends ExpandableStringEnum { /** - * Static value true for IsRollback. + * true. */ public static final IsRollback TRUE = fromString("true"); /** - * Static value false for IsRollback. + * false. */ public static final IsRollback FALSE = fromString("false"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java index 0c5f3ece61dc..ae3843415f14 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class IsWorkloadProtected extends ExpandableStringEnum { /** - * Static value False for IsWorkloadProtected. + * False. */ public static final IsWorkloadProtected FALSE = fromString("False"); /** - * Static value True for IsWorkloadProtected. + * True. */ public static final IsWorkloadProtected TRUE = fromString("True"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IssueType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IssueType.java index 357242704fcc..df7cddfd68b2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IssueType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IssueType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,47 +12,47 @@ */ public final class IssueType extends ExpandableStringEnum { /** - * Static value Unknown for IssueType. + * Unknown. */ public static final IssueType UNKNOWN = fromString("Unknown"); /** - * Static value AgentStopped for IssueType. + * AgentStopped. */ public static final IssueType AGENT_STOPPED = fromString("AgentStopped"); /** - * Static value GuestFirewall for IssueType. + * GuestFirewall. */ public static final IssueType GUEST_FIREWALL = fromString("GuestFirewall"); /** - * Static value DnsResolution for IssueType. + * DnsResolution. */ public static final IssueType DNS_RESOLUTION = fromString("DnsResolution"); /** - * Static value SocketBind for IssueType. + * SocketBind. */ public static final IssueType SOCKET_BIND = fromString("SocketBind"); /** - * Static value NetworkSecurityRule for IssueType. + * NetworkSecurityRule. */ public static final IssueType NETWORK_SECURITY_RULE = fromString("NetworkSecurityRule"); /** - * Static value UserDefinedRoute for IssueType. + * UserDefinedRoute. */ public static final IssueType USER_DEFINED_ROUTE = fromString("UserDefinedRoute"); /** - * Static value PortThrottled for IssueType. + * PortThrottled. */ public static final IssueType PORT_THROTTLED = fromString("PortThrottled"); /** - * Static value Platform for IssueType. + * Platform. */ public static final IssueType PLATFORM = fromString("Platform"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java index e93c9a9a1109..5f0daef3e4dc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -134,37 +134,37 @@ public LoadBalancerBackendAddress withIpAddress(String ipAddress) { } /** - * Get the networkInterfaceIpConfiguration property: Reference to IP address defined in network interfaces. + * Get the networkInterfaceIPConfiguration property: Reference to IP address defined in network interfaces. * - * @return the networkInterfaceIpConfiguration value. + * @return the networkInterfaceIPConfiguration value. */ - public SubResource networkInterfaceIpConfiguration() { - return this.innerProperties() == null ? null : this.innerProperties().networkInterfaceIpConfiguration(); + public SubResource networkInterfaceIPConfiguration() { + return this.innerProperties() == null ? null : this.innerProperties().networkInterfaceIPConfiguration(); } /** - * Get the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined + * Get the loadBalancerFrontendIPConfiguration property: Reference to the frontend ip address configuration defined * in regional loadbalancer. * - * @return the loadBalancerFrontendIpConfiguration value. + * @return the loadBalancerFrontendIPConfiguration value. */ - public SubResource loadBalancerFrontendIpConfiguration() { - return this.innerProperties() == null ? null : this.innerProperties().loadBalancerFrontendIpConfiguration(); + public SubResource loadBalancerFrontendIPConfiguration() { + return this.innerProperties() == null ? null : this.innerProperties().loadBalancerFrontendIPConfiguration(); } /** - * Set the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined + * Set the loadBalancerFrontendIPConfiguration property: Reference to the frontend ip address configuration defined * in regional loadbalancer. * - * @param loadBalancerFrontendIpConfiguration the loadBalancerFrontendIpConfiguration value to set. + * @param loadBalancerFrontendIPConfiguration the loadBalancerFrontendIPConfiguration value to set. * @return the LoadBalancerBackendAddress object itself. */ public LoadBalancerBackendAddress - withLoadBalancerFrontendIpConfiguration(SubResource loadBalancerFrontendIpConfiguration) { + withLoadBalancerFrontendIPConfiguration(SubResource loadBalancerFrontendIPConfiguration) { if (this.innerProperties() == null) { this.innerProperties = new LoadBalancerBackendAddressPropertiesFormat(); } - this.innerProperties().withLoadBalancerFrontendIpConfiguration(loadBalancerFrontendIpConfiguration); + this.innerProperties().withLoadBalancerFrontendIPConfiguration(loadBalancerFrontendIPConfiguration); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java index d89791543e0f..2677599acca9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -14,17 +14,17 @@ public final class LoadBalancerBackendAddressAdminState extends ExpandableStringEnum { /** - * Static value None for LoadBalancerBackendAddressAdminState. + * None. */ public static final LoadBalancerBackendAddressAdminState NONE = fromString("None"); /** - * Static value Up for LoadBalancerBackendAddressAdminState. + * Up. */ public static final LoadBalancerBackendAddressAdminState UP = fromString("Up"); /** - * Static value Down for LoadBalancerBackendAddressAdminState. + * Down. */ public static final LoadBalancerBackendAddressAdminState DOWN = fromString("Down"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java index 761736a4cba2..2fffa1f9b190 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The information about health per rule per backend address. */ -@Fluent +@Immutable public final class LoadBalancerHealthPerRulePerBackendAddress implements JsonSerializable { /* @@ -25,7 +25,7 @@ public final class LoadBalancerHealthPerRulePerBackendAddress /* * Resource ID of the Network Interface IP Configuration. */ - private String networkInterfaceIpConfigurationId; + private String networkInterfaceIPConfigurationId; /* * The current health of the backend instances that is associated to the LB rule. @@ -40,7 +40,7 @@ public final class LoadBalancerHealthPerRulePerBackendAddress /** * Creates an instance of LoadBalancerHealthPerRulePerBackendAddress class. */ - public LoadBalancerHealthPerRulePerBackendAddress() { + private LoadBalancerHealthPerRulePerBackendAddress() { } /** @@ -53,35 +53,12 @@ public String ipAddress() { } /** - * Set the ipAddress property: The IP address belonging to the backend address. + * Get the networkInterfaceIPConfigurationId property: Resource ID of the Network Interface IP Configuration. * - * @param ipAddress the ipAddress value to set. - * @return the LoadBalancerHealthPerRulePerBackendAddress object itself. + * @return the networkInterfaceIPConfigurationId value. */ - public LoadBalancerHealthPerRulePerBackendAddress withIpAddress(String ipAddress) { - this.ipAddress = ipAddress; - return this; - } - - /** - * Get the networkInterfaceIpConfigurationId property: Resource ID of the Network Interface IP Configuration. - * - * @return the networkInterfaceIpConfigurationId value. - */ - public String networkInterfaceIpConfigurationId() { - return this.networkInterfaceIpConfigurationId; - } - - /** - * Set the networkInterfaceIpConfigurationId property: Resource ID of the Network Interface IP Configuration. - * - * @param networkInterfaceIpConfigurationId the networkInterfaceIpConfigurationId value to set. - * @return the LoadBalancerHealthPerRulePerBackendAddress object itself. - */ - public LoadBalancerHealthPerRulePerBackendAddress - withNetworkInterfaceIpConfigurationId(String networkInterfaceIpConfigurationId) { - this.networkInterfaceIpConfigurationId = networkInterfaceIpConfigurationId; - return this; + public String networkInterfaceIPConfigurationId() { + return this.networkInterfaceIPConfigurationId; } /** @@ -93,17 +70,6 @@ public String state() { return this.state; } - /** - * Set the state property: The current health of the backend instances that is associated to the LB rule. - * - * @param state the state value to set. - * @return the LoadBalancerHealthPerRulePerBackendAddress object itself. - */ - public LoadBalancerHealthPerRulePerBackendAddress withState(String state) { - this.state = state; - return this; - } - /** * Get the reason property: The explanation of the State. * @@ -113,17 +79,6 @@ public String reason() { return this.reason; } - /** - * Set the reason property: The explanation of the State. - * - * @param reason the reason value to set. - * @return the LoadBalancerHealthPerRulePerBackendAddress object itself. - */ - public LoadBalancerHealthPerRulePerBackendAddress withReason(String reason) { - this.reason = reason; - return this; - } - /** * Validates the instance. * @@ -139,7 +94,7 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("ipAddress", this.ipAddress); - jsonWriter.writeStringField("networkInterfaceIPConfigurationId", this.networkInterfaceIpConfigurationId); + jsonWriter.writeStringField("networkInterfaceIPConfigurationId", this.networkInterfaceIPConfigurationId); jsonWriter.writeStringField("state", this.state); jsonWriter.writeStringField("reason", this.reason); return jsonWriter.writeEndObject(); @@ -164,7 +119,7 @@ public static LoadBalancerHealthPerRulePerBackendAddress fromJson(JsonReader jso if ("ipAddress".equals(fieldName)) { deserializedLoadBalancerHealthPerRulePerBackendAddress.ipAddress = reader.getString(); } else if ("networkInterfaceIPConfigurationId".equals(fieldName)) { - deserializedLoadBalancerHealthPerRulePerBackendAddress.networkInterfaceIpConfigurationId + deserializedLoadBalancerHealthPerRulePerBackendAddress.networkInterfaceIPConfigurationId = reader.getString(); } else if ("state".equals(fieldName)) { deserializedLoadBalancerHealthPerRulePerBackendAddress.state = reader.getString(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java index 0175dd7953e0..c78454c7b4d2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class LoadBalancerOutboundRuleProtocol extends ExpandableStringEnum { /** - * Static value Tcp for LoadBalancerOutboundRuleProtocol. + * Tcp. */ public static final LoadBalancerOutboundRuleProtocol TCP = fromString("Tcp"); /** - * Static value Udp for LoadBalancerOutboundRuleProtocol. + * Udp. */ public static final LoadBalancerOutboundRuleProtocol UDP = fromString("Udp"); /** - * Static value All for LoadBalancerOutboundRuleProtocol. + * All. */ public static final LoadBalancerOutboundRuleProtocol ALL = fromString("All"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java index 2bb4e59cb711..63f6b8d146cf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class LoadBalancerScope extends ExpandableStringEnum { /** - * Static value Public for LoadBalancerScope. + * Public. */ public static final LoadBalancerScope PUBLIC = fromString("Public"); /** - * Static value Private for LoadBalancerScope. + * Private. */ public static final LoadBalancerScope PRIVATE = fromString("Private"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java index 5076371132c5..8a4c0cc2b578 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java index 2d77320ce054..a8168b864966 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class LoadBalancerSkuName extends ExpandableStringEnum { /** - * Static value Basic for LoadBalancerSkuName. + * Basic. */ public static final LoadBalancerSkuName BASIC = fromString("Basic"); /** - * Static value Standard for LoadBalancerSkuName. + * Standard. */ public static final LoadBalancerSkuName STANDARD = fromString("Standard"); /** - * Static value Gateway for LoadBalancerSkuName. + * Gateway. */ public static final LoadBalancerSkuName GATEWAY = fromString("Gateway"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java index eb246d733777..4fd86fa356a5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class LoadBalancerSkuTier extends ExpandableStringEnum { /** - * Static value Regional for LoadBalancerSkuTier. + * Regional. */ public static final LoadBalancerSkuTier REGIONAL = fromString("Regional"); /** - * Static value Global for LoadBalancerSkuTier. + * Global. */ public static final LoadBalancerSkuTier GLOBAL = fromString("Global"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java index b206d73cbce8..d401c6082230 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -20,7 +20,7 @@ public final class LoadBalancerVipSwapRequest implements JsonSerializable frontendIpConfigurations; + private List frontendIpConfigurations; /** * Creates an instance of LoadBalancerVipSwapRequest class. @@ -33,7 +33,7 @@ public LoadBalancerVipSwapRequest() { * * @return the frontendIpConfigurations value. */ - public List frontendIpConfigurations() { + public List frontendIpConfigurations() { return this.frontendIpConfigurations; } @@ -44,7 +44,7 @@ public List frontendIpConfigu * @return the LoadBalancerVipSwapRequest object itself. */ public LoadBalancerVipSwapRequest - withFrontendIpConfigurations(List frontendIpConfigurations) { + withFrontendIpConfigurations(List frontendIpConfigurations) { this.frontendIpConfigurations = frontendIpConfigurations; return this; } @@ -87,8 +87,8 @@ public static LoadBalancerVipSwapRequest fromJson(JsonReader jsonReader) throws reader.nextToken(); if ("frontendIPConfigurations".equals(fieldName)) { - List frontendIpConfigurations = reader - .readArray(reader1 -> LoadBalancerVipSwapRequestFrontendIpConfiguration.fromJson(reader1)); + List frontendIpConfigurations = reader + .readArray(reader1 -> LoadBalancerVipSwapRequestFrontendIPConfiguration.fromJson(reader1)); deserializedLoadBalancerVipSwapRequest.frontendIpConfigurations = frontendIpConfigurations; } else { reader.skipChildren(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java index 233cf5de262c..fb4fb01e9a73 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -10,15 +10,15 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.LoadBalancerVipSwapRequestFrontendIpConfigurationProperties; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerVipSwapRequestFrontendIPConfigurationProperties; import java.io.IOException; /** * VIP swap request's frontend IP configuration object. */ @Fluent -public final class LoadBalancerVipSwapRequestFrontendIpConfiguration - implements JsonSerializable { +public final class LoadBalancerVipSwapRequestFrontendIPConfiguration + implements JsonSerializable { /* * The ID of frontend IP configuration resource. */ @@ -27,12 +27,12 @@ public final class LoadBalancerVipSwapRequestFrontendIpConfiguration /* * The properties of VIP swap request's frontend IP configuration object. */ - private LoadBalancerVipSwapRequestFrontendIpConfigurationProperties innerProperties; + private LoadBalancerVipSwapRequestFrontendIPConfigurationProperties innerProperties; /** - * Creates an instance of LoadBalancerVipSwapRequestFrontendIpConfiguration class. + * Creates an instance of LoadBalancerVipSwapRequestFrontendIPConfiguration class. */ - public LoadBalancerVipSwapRequestFrontendIpConfiguration() { + public LoadBalancerVipSwapRequestFrontendIPConfiguration() { } /** @@ -48,9 +48,9 @@ public String id() { * Set the id property: The ID of frontend IP configuration resource. * * @param id the id value to set. - * @return the LoadBalancerVipSwapRequestFrontendIpConfiguration object itself. + * @return the LoadBalancerVipSwapRequestFrontendIPConfiguration object itself. */ - public LoadBalancerVipSwapRequestFrontendIpConfiguration withId(String id) { + public LoadBalancerVipSwapRequestFrontendIPConfiguration withId(String id) { this.id = id; return this; } @@ -60,7 +60,7 @@ public LoadBalancerVipSwapRequestFrontendIpConfiguration withId(String id) { * * @return the innerProperties value. */ - private LoadBalancerVipSwapRequestFrontendIpConfigurationProperties innerProperties() { + private LoadBalancerVipSwapRequestFrontendIPConfigurationProperties innerProperties() { return this.innerProperties; } @@ -77,11 +77,11 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: A reference to public IP address resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the LoadBalancerVipSwapRequestFrontendIpConfiguration object itself. + * @return the LoadBalancerVipSwapRequestFrontendIPConfiguration object itself. */ - public LoadBalancerVipSwapRequestFrontendIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { + public LoadBalancerVipSwapRequestFrontendIPConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new LoadBalancerVipSwapRequestFrontendIpConfigurationProperties(); + this.innerProperties = new LoadBalancerVipSwapRequestFrontendIPConfigurationProperties(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -110,32 +110,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of LoadBalancerVipSwapRequestFrontendIpConfiguration from the JsonReader. + * Reads an instance of LoadBalancerVipSwapRequestFrontendIPConfiguration from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of LoadBalancerVipSwapRequestFrontendIpConfiguration if the JsonReader was pointing to an + * @return An instance of LoadBalancerVipSwapRequestFrontendIPConfiguration 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 LoadBalancerVipSwapRequestFrontendIpConfiguration. + * @throws IOException If an error occurs while reading the LoadBalancerVipSwapRequestFrontendIPConfiguration. */ - public static LoadBalancerVipSwapRequestFrontendIpConfiguration fromJson(JsonReader jsonReader) throws IOException { + public static LoadBalancerVipSwapRequestFrontendIPConfiguration fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - LoadBalancerVipSwapRequestFrontendIpConfiguration deserializedLoadBalancerVipSwapRequestFrontendIpConfiguration - = new LoadBalancerVipSwapRequestFrontendIpConfiguration(); + LoadBalancerVipSwapRequestFrontendIPConfiguration deserializedLoadBalancerVipSwapRequestFrontendIPConfiguration + = new LoadBalancerVipSwapRequestFrontendIPConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedLoadBalancerVipSwapRequestFrontendIpConfiguration.id = reader.getString(); + deserializedLoadBalancerVipSwapRequestFrontendIPConfiguration.id = reader.getString(); } else if ("properties".equals(fieldName)) { - deserializedLoadBalancerVipSwapRequestFrontendIpConfiguration.innerProperties - = LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.fromJson(reader); + deserializedLoadBalancerVipSwapRequestFrontendIPConfiguration.innerProperties + = LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedLoadBalancerVipSwapRequestFrontendIpConfiguration; + return deserializedLoadBalancerVipSwapRequestFrontendIPConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java index 8ca0d04b0748..4d14edc677f0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class LoadDistribution extends ExpandableStringEnum { /** - * Static value Default for LoadDistribution. + * Default. */ public static final LoadDistribution DEFAULT = fromString("Default"); /** - * Static value SourceIP for LoadDistribution. + * SourceIP. */ public static final LoadDistribution SOURCE_IP = fromString("SourceIP"); /** - * Static value SourceIPProtocol for LoadDistribution. + * SourceIPProtocol. */ public static final LoadDistribution SOURCE_IPPROTOCOL = fromString("SourceIPProtocol"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java index 4b0fbc783a17..1b2aeabf8770 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Description of logging specification. */ -@Fluent +@Immutable public final class LogSpecification implements JsonSerializable { /* * The name of the specification. @@ -34,7 +34,7 @@ public final class LogSpecification implements JsonSerializable { /** - * Static value Disabled for ManagedRuleEnabledState. + * Disabled. */ public static final ManagedRuleEnabledState DISABLED = fromString("Disabled"); /** - * Static value Enabled for ManagedRuleEnabledState. + * Enabled. */ public static final ManagedRuleEnabledState ENABLED = fromString("Enabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java index 369e0cda6c55..440fde78fca3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java index 9bb768c0fe92..3ce53ce8bd63 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java index 51df2768ddf7..0e2497ff8d70 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java index e47e2ccae488..5074d542d36d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -16,7 +16,7 @@ /** * Defines a managed rule set rule group. */ -@Fluent +@Immutable public final class ManagedRuleSetRuleGroup implements JsonSerializable { /* * Name of the rule group @@ -31,7 +31,7 @@ public final class ManagedRuleSetRuleGroup implements JsonSerializable rules() { return this.rules; } - /** - * Set the rules property: List of rules within the rule group. - * - * @param rules the rules value to set. - * @return the ManagedRuleSetRuleGroup object itself. - */ - public ManagedRuleSetRuleGroup withRules(List rules) { - this.rules = rules; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java index dee37e8834a3..529777d9a1eb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java index d9c34b928da6..ca6a6e5188a0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java index 86ca386c46a2..609e8fdd8f9f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java index c7123cb56fe4..dccc29d7c702 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java index 362c54ba4531..741040fd9d91 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java index 9a0ab253d854..83ee4e2e76d4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Matched rule. */ -@Fluent +@Immutable public final class MatchedRule implements JsonSerializable { /* * Name of the matched network security rule. @@ -29,7 +29,7 @@ public final class MatchedRule implements JsonSerializable { /** * Creates an instance of MatchedRule class. */ - public MatchedRule() { + private MatchedRule() { } /** @@ -41,17 +41,6 @@ public String ruleName() { return this.ruleName; } - /** - * Set the ruleName property: Name of the matched network security rule. - * - * @param ruleName the ruleName value to set. - * @return the MatchedRule object itself. - */ - public MatchedRule withRuleName(String ruleName) { - this.ruleName = ruleName; - return this; - } - /** * Get the action property: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. * @@ -61,17 +50,6 @@ public String action() { return this.action; } - /** - * Set the action property: The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'. - * - * @param action the action value to set. - * @return the MatchedRule object itself. - */ - public MatchedRule withAction(String action) { - this.action = action; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java index ae3fa2b6e58c..afcf370a67b7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Description of metrics specification. */ -@Fluent +@Immutable public final class MetricSpecification implements JsonSerializable { /* * The name of the metric. @@ -90,7 +90,7 @@ public final class MetricSpecification implements JsonSerializable availabilities() { return this.availabilities; } - /** - * Set the availabilities property: List of availability. - * - * @param availabilities the availabilities value to set. - * @return the MetricSpecification object itself. - */ - public MetricSpecification withAvailabilities(List availabilities) { - this.availabilities = availabilities; - return this; - } - /** * Get the enableRegionalMdmAccount property: Whether regional MDM account enabled. * @@ -222,17 +156,6 @@ public Boolean enableRegionalMdmAccount() { return this.enableRegionalMdmAccount; } - /** - * Set the enableRegionalMdmAccount property: Whether regional MDM account enabled. - * - * @param enableRegionalMdmAccount the enableRegionalMdmAccount value to set. - * @return the MetricSpecification object itself. - */ - public MetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount) { - this.enableRegionalMdmAccount = enableRegionalMdmAccount; - return this; - } - /** * Get the fillGapWithZero property: Whether gaps would be filled with zeros. * @@ -242,17 +165,6 @@ public Boolean fillGapWithZero() { return this.fillGapWithZero; } - /** - * Set the fillGapWithZero property: Whether gaps would be filled with zeros. - * - * @param fillGapWithZero the fillGapWithZero value to set. - * @return the MetricSpecification object itself. - */ - public MetricSpecification withFillGapWithZero(Boolean fillGapWithZero) { - this.fillGapWithZero = fillGapWithZero; - return this; - } - /** * Get the metricFilterPattern property: Pattern for the filter of the metric. * @@ -262,17 +174,6 @@ public String metricFilterPattern() { return this.metricFilterPattern; } - /** - * Set the metricFilterPattern property: Pattern for the filter of the metric. - * - * @param metricFilterPattern the metricFilterPattern value to set. - * @return the MetricSpecification object itself. - */ - public MetricSpecification withMetricFilterPattern(String metricFilterPattern) { - this.metricFilterPattern = metricFilterPattern; - return this; - } - /** * Get the dimensions property: List of dimensions. * @@ -282,17 +183,6 @@ public List dimensions() { return this.dimensions; } - /** - * Set the dimensions property: List of dimensions. - * - * @param dimensions the dimensions value to set. - * @return the MetricSpecification object itself. - */ - public MetricSpecification withDimensions(List dimensions) { - this.dimensions = dimensions; - return this; - } - /** * Get the isInternal property: Whether the metric is internal. * @@ -302,17 +192,6 @@ public Boolean isInternal() { return this.isInternal; } - /** - * Set the isInternal property: Whether the metric is internal. - * - * @param isInternal the isInternal value to set. - * @return the MetricSpecification object itself. - */ - public MetricSpecification withIsInternal(Boolean isInternal) { - this.isInternal = isInternal; - return this; - } - /** * Get the sourceMdmAccount property: The source MDM account. * @@ -322,17 +201,6 @@ public String sourceMdmAccount() { return this.sourceMdmAccount; } - /** - * Set the sourceMdmAccount property: The source MDM account. - * - * @param sourceMdmAccount the sourceMdmAccount value to set. - * @return the MetricSpecification object itself. - */ - public MetricSpecification withSourceMdmAccount(String sourceMdmAccount) { - this.sourceMdmAccount = sourceMdmAccount; - return this; - } - /** * Get the sourceMdmNamespace property: The source MDM namespace. * @@ -342,17 +210,6 @@ public String sourceMdmNamespace() { return this.sourceMdmNamespace; } - /** - * Set the sourceMdmNamespace property: The source MDM namespace. - * - * @param sourceMdmNamespace the sourceMdmNamespace value to set. - * @return the MetricSpecification object itself. - */ - public MetricSpecification withSourceMdmNamespace(String sourceMdmNamespace) { - this.sourceMdmNamespace = sourceMdmNamespace; - return this; - } - /** * Get the resourceIdDimensionNameOverride property: The resource Id dimension name override. * @@ -362,17 +219,6 @@ public String resourceIdDimensionNameOverride() { return this.resourceIdDimensionNameOverride; } - /** - * Set the resourceIdDimensionNameOverride property: The resource Id dimension name override. - * - * @param resourceIdDimensionNameOverride the resourceIdDimensionNameOverride value to set. - * @return the MetricSpecification object itself. - */ - public MetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride) { - this.resourceIdDimensionNameOverride = resourceIdDimensionNameOverride; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java index 06528114400f..e2b6625fd1ee 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java index 26ea946f0ca9..d7bea357b035 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java index be8cb89764cb..28c7b8413ff5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class NatGatewaySkuName extends ExpandableStringEnum { /** - * Static value Standard for NatGatewaySkuName. + * Standard. */ public static final NatGatewaySkuName STANDARD = fromString("Standard"); /** - * Static value StandardV2 for NatGatewaySkuName. + * StandardV2. */ public static final NatGatewaySkuName STANDARD_V2 = fromString("StandardV2"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatRule.java index 597c4a0a78f4..5cb285a50b1d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java index 32c8aa73d2d9..795287d0de24 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Individual port mappings for inbound NAT rule created for backend pool. */ -@Fluent +@Immutable public final class NatRulePortMapping implements JsonSerializable { /* * Name of inbound NAT rule. @@ -34,7 +34,7 @@ public final class NatRulePortMapping implements JsonSerializable { /* @@ -30,7 +30,7 @@ public final class NetworkConfigurationDiagnosticResult /** * Creates an instance of NetworkConfigurationDiagnosticResult class. */ - public NetworkConfigurationDiagnosticResult() { + private NetworkConfigurationDiagnosticResult() { } /** @@ -42,17 +42,6 @@ public NetworkConfigurationDiagnosticProfile profile() { return this.profile; } - /** - * Set the profile property: Network configuration diagnostic profile. - * - * @param profile the profile value to set. - * @return the NetworkConfigurationDiagnosticResult object itself. - */ - public NetworkConfigurationDiagnosticResult withProfile(NetworkConfigurationDiagnosticProfile profile) { - this.profile = profile; - return this; - } - /** * Get the networkSecurityGroupResult property: Network security group result. * @@ -62,18 +51,6 @@ public NetworkSecurityGroupResult networkSecurityGroupResult() { return this.networkSecurityGroupResult; } - /** - * Set the networkSecurityGroupResult property: Network security group result. - * - * @param networkSecurityGroupResult the networkSecurityGroupResult value to set. - * @return the NetworkConfigurationDiagnosticResult object itself. - */ - public NetworkConfigurationDiagnosticResult - withNetworkSecurityGroupResult(NetworkSecurityGroupResult networkSecurityGroupResult) { - this.networkSecurityGroupResult = networkSecurityGroupResult; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java index 6e4203c7a9c8..2210687ee828 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java @@ -1,22 +1,27 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.http.HttpHeaderName; import com.azure.core.http.HttpHeaders; /** * The NetworkGroupsCreateOrUpdateHeaders model. */ -@Fluent +@Immutable public final class NetworkGroupsCreateOrUpdateHeaders { /* - * The Etag property. + * The ETag property. */ - private String etag; + private final String eTag; + + /* + * The Retry-After property. + */ + private final Integer retryAfter; // HttpHeaders containing the raw property values. /** @@ -25,27 +30,31 @@ public final class NetworkGroupsCreateOrUpdateHeaders { * @param rawHeaders The raw HttpHeaders that will be used to create the property values. */ public NetworkGroupsCreateOrUpdateHeaders(HttpHeaders rawHeaders) { - this.etag = rawHeaders.getValue(HttpHeaderName.ETAG); + this.eTag = rawHeaders.getValue(HttpHeaderName.ETAG); + String retryAfter = rawHeaders.getValue(HttpHeaderName.RETRY_AFTER); + if (retryAfter != null) { + this.retryAfter = Integer.parseInt(retryAfter); + } else { + this.retryAfter = null; + } } /** - * Get the etag property: The Etag property. + * Get the eTag property: The ETag property. * - * @return the etag value. + * @return the eTag value. */ - public String etag() { - return this.etag; + public String eTag() { + return this.eTag; } /** - * Set the etag property: The Etag property. + * Get the retryAfter property: The Retry-After property. * - * @param etag the etag value to set. - * @return the NetworkGroupsCreateOrUpdateHeaders object itself. + * @return the retryAfter value. */ - public NetworkGroupsCreateOrUpdateHeaders withEtag(String etag) { - this.etag = etag; - return this; + public Integer retryAfter() { + return this.retryAfter; } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java index fc1728fffb76..233fc6b34c2b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java index f6b5e409629d..db743c7ac595 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java index 96bf66e9be87..505fd8664ee6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class NetworkIntentPolicyBasedService extends ExpandableStringEnum { /** - * Static value None for NetworkIntentPolicyBasedService. + * None. */ public static final NetworkIntentPolicyBasedService NONE = fromString("None"); /** - * Static value All for NetworkIntentPolicyBasedService. + * All. */ public static final NetworkIntentPolicyBasedService ALL = fromString("All"); /** - * Static value AllowRulesOnly for NetworkIntentPolicyBasedService. + * AllowRulesOnly. */ public static final NetworkIntentPolicyBasedService ALLOW_RULES_ONLY = fromString("AllowRulesOnly"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java index ee5d69ca0cb0..d99d0608fbc1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java index 3c1ef758eed8..b1aa215a5645 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * Network interface and its custom security rules. */ -@Fluent +@Immutable public final class NetworkInterfaceAssociation implements JsonSerializable { /* * Network interface ID. @@ -31,7 +31,7 @@ public final class NetworkInterfaceAssociation implements JsonSerializable securityRules() { return this.securityRules; } - /** - * Set the securityRules property: Collection of custom security rules. - * - * @param securityRules the securityRules value to set. - * @return the NetworkInterfaceAssociation object itself. - */ - public NetworkInterfaceAssociation withSecurityRules(List securityRules) { - this.securityRules = securityRules; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java index 6197a7f9d3ad..285eb054f13e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class NetworkInterfaceAuxiliaryMode extends ExpandableStringEnum { /** - * Static value None for NetworkInterfaceAuxiliaryMode. + * None. */ public static final NetworkInterfaceAuxiliaryMode NONE = fromString("None"); /** - * Static value MaxConnections for NetworkInterfaceAuxiliaryMode. + * MaxConnections. */ public static final NetworkInterfaceAuxiliaryMode MAX_CONNECTIONS = fromString("MaxConnections"); /** - * Static value Floating for NetworkInterfaceAuxiliaryMode. + * Floating. */ public static final NetworkInterfaceAuxiliaryMode FLOATING = fromString("Floating"); /** - * Static value AcceleratedConnections for NetworkInterfaceAuxiliaryMode. + * AcceleratedConnections. */ public static final NetworkInterfaceAuxiliaryMode ACCELERATED_CONNECTIONS = fromString("AcceleratedConnections"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java index 76491b9dd45f..f4fd89b885cc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class NetworkInterfaceAuxiliarySku extends ExpandableStringEnum { /** - * Static value None for NetworkInterfaceAuxiliarySku. + * None. */ public static final NetworkInterfaceAuxiliarySku NONE = fromString("None"); /** - * Static value A1 for NetworkInterfaceAuxiliarySku. + * A1. */ public static final NetworkInterfaceAuxiliarySku A1 = fromString("A1"); /** - * Static value A2 for NetworkInterfaceAuxiliarySku. + * A2. */ public static final NetworkInterfaceAuxiliarySku A2 = fromString("A2"); /** - * Static value A4 for NetworkInterfaceAuxiliarySku. + * A4. */ public static final NetworkInterfaceAuxiliarySku A4 = fromString("A4"); /** - * Static value A8 for NetworkInterfaceAuxiliarySku. + * A8. */ public static final NetworkInterfaceAuxiliarySku A8 = fromString("A8"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java index 90d5459e9597..88e1847e0a38 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java index 645f802dcb38..3b26772b24af 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,8 +16,8 @@ * PrivateLinkConnection properties for the network interface. */ @Immutable -public final class NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties - implements JsonSerializable { +public final class NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties + implements JsonSerializable { /* * The group ID for current private link connection. */ @@ -34,9 +34,9 @@ public final class NetworkInterfaceIpConfigurationPrivateLinkConnectionPropertie private List fqdns; /** - * Creates an instance of NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties class. + * Creates an instance of NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties class. */ - public NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties() { + private NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties() { } /** @@ -84,38 +84,38 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties from the JsonReader. + * Reads an instance of NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties if the JsonReader was + * @return An instance of NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties 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 - * NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties. + * NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties. */ - public static NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties fromJson(JsonReader jsonReader) + public static NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties deserializedNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties - = new NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties(); + NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties deserializedNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties + = new NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("groupId".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.groupId + deserializedNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.groupId = reader.getString(); } else if ("requiredMemberName".equals(fieldName)) { - deserializedNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.requiredMemberName + deserializedNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.requiredMemberName = reader.getString(); } else if ("fqdns".equals(fieldName)) { List fqdns = reader.readArray(reader1 -> reader1.getString()); - deserializedNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.fqdns = fqdns; + deserializedNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.fqdns = fqdns; } else { reader.skipChildren(); } } - return deserializedNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties; + return deserializedNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java index aac5a315e242..bffdd3184e49 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class NetworkInterfaceMigrationPhase extends ExpandableStringEnum { /** - * Static value None for NetworkInterfaceMigrationPhase. + * None. */ public static final NetworkInterfaceMigrationPhase NONE = fromString("None"); /** - * Static value Prepare for NetworkInterfaceMigrationPhase. + * Prepare. */ public static final NetworkInterfaceMigrationPhase PREPARE = fromString("Prepare"); /** - * Static value Commit for NetworkInterfaceMigrationPhase. + * Commit. */ public static final NetworkInterfaceMigrationPhase COMMIT = fromString("Commit"); /** - * Static value Abort for NetworkInterfaceMigrationPhase. + * Abort. */ public static final NetworkInterfaceMigrationPhase ABORT = fromString("Abort"); /** - * Static value Committed for NetworkInterfaceMigrationPhase. + * Committed. */ public static final NetworkInterfaceMigrationPhase COMMITTED = fromString("Committed"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java index 194a342de723..d73e9b53dbd1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class NetworkInterfaceNicType extends ExpandableStringEnum { /** - * Static value Standard for NetworkInterfaceNicType. + * Standard. */ public static final NetworkInterfaceNicType STANDARD = fromString("Standard"); /** - * Static value Elastic for NetworkInterfaceNicType. + * Elastic. */ public static final NetworkInterfaceNicType ELASTIC = fromString("Elastic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java index b48806e6d25e..b00a27a54a8e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java index 7cca30274079..cb4fa9ff56ba 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java index e522f0a1ec8e..c7d051ba5184 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java index 4efc9976e5d2..f1a111cb43fa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java index 0334f9e9346a..5de0ce21c1d5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class NetworkProtocol extends ExpandableStringEnum { /** - * Static value Any for NetworkProtocol. + * Any. */ public static final NetworkProtocol ANY = fromString("Any"); /** - * Static value TCP for NetworkProtocol. + * TCP. */ public static final NetworkProtocol TCP = fromString("TCP"); /** - * Static value UDP for NetworkProtocol. + * UDP. */ public static final NetworkProtocol UDP = fromString("UDP"); /** - * Static value ICMP for NetworkProtocol. + * ICMP. */ public static final NetworkProtocol ICMP = fromString("ICMP"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProvisioningState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProvisioningState.java new file mode 100644 index 000000000000..584cf0a4a660 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProvisioningState.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.network.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The current provisioning state. + */ +public final class NetworkProvisioningState extends ExpandableStringEnum { + /** + * Succeeded. + */ + public static final NetworkProvisioningState SUCCEEDED = fromString("Succeeded"); + + /** + * Updating. + */ + public static final NetworkProvisioningState UPDATING = fromString("Updating"); + + /** + * Deleting. + */ + public static final NetworkProvisioningState DELETING = fromString("Deleting"); + + /** + * Failed. + */ + public static final NetworkProvisioningState FAILED = fromString("Failed"); + + /** + * Creates a new instance of NetworkProvisioningState value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public NetworkProvisioningState() { + } + + /** + * Creates or finds a NetworkProvisioningState from its string representation. + * + * @param name a name to look for. + * @return the corresponding NetworkProvisioningState. + */ + public static NetworkProvisioningState fromString(String name) { + return fromString(name, NetworkProvisioningState.class); + } + + /** + * Gets known NetworkProvisioningState values. + * + * @return known NetworkProvisioningState values. + */ + public static Collection values() { + return values(NetworkProvisioningState.class); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java index d3c493e5edbf..baddf93fe0d1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java index e01233340833..9ff12369e0da 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Network configuration diagnostic result corresponded provided traffic query. */ -@Fluent +@Immutable public final class NetworkSecurityGroupResult implements JsonSerializable { /* * The network traffic is allowed or denied. @@ -30,7 +30,7 @@ public final class NetworkSecurityGroupResult implements JsonSerializable { /* @@ -50,7 +50,7 @@ public final class NetworkSecurityRulesEvaluationResult /** * Creates an instance of NetworkSecurityRulesEvaluationResult class. */ - public NetworkSecurityRulesEvaluationResult() { + private NetworkSecurityRulesEvaluationResult() { } /** @@ -62,17 +62,6 @@ public String name() { return this.name; } - /** - * Set the name property: Name of the network security rule. - * - * @param name the name value to set. - * @return the NetworkSecurityRulesEvaluationResult object itself. - */ - public NetworkSecurityRulesEvaluationResult withName(String name) { - this.name = name; - return this; - } - /** * Get the protocolMatched property: Value indicating whether protocol is matched. * @@ -82,17 +71,6 @@ public Boolean protocolMatched() { return this.protocolMatched; } - /** - * Set the protocolMatched property: Value indicating whether protocol is matched. - * - * @param protocolMatched the protocolMatched value to set. - * @return the NetworkSecurityRulesEvaluationResult object itself. - */ - public NetworkSecurityRulesEvaluationResult withProtocolMatched(Boolean protocolMatched) { - this.protocolMatched = protocolMatched; - return this; - } - /** * Get the sourceMatched property: Value indicating whether source is matched. * @@ -102,17 +80,6 @@ public Boolean sourceMatched() { return this.sourceMatched; } - /** - * Set the sourceMatched property: Value indicating whether source is matched. - * - * @param sourceMatched the sourceMatched value to set. - * @return the NetworkSecurityRulesEvaluationResult object itself. - */ - public NetworkSecurityRulesEvaluationResult withSourceMatched(Boolean sourceMatched) { - this.sourceMatched = sourceMatched; - return this; - } - /** * Get the sourcePortMatched property: Value indicating whether source port is matched. * @@ -122,17 +89,6 @@ public Boolean sourcePortMatched() { return this.sourcePortMatched; } - /** - * Set the sourcePortMatched property: Value indicating whether source port is matched. - * - * @param sourcePortMatched the sourcePortMatched value to set. - * @return the NetworkSecurityRulesEvaluationResult object itself. - */ - public NetworkSecurityRulesEvaluationResult withSourcePortMatched(Boolean sourcePortMatched) { - this.sourcePortMatched = sourcePortMatched; - return this; - } - /** * Get the destinationMatched property: Value indicating whether destination is matched. * @@ -142,17 +98,6 @@ public Boolean destinationMatched() { return this.destinationMatched; } - /** - * Set the destinationMatched property: Value indicating whether destination is matched. - * - * @param destinationMatched the destinationMatched value to set. - * @return the NetworkSecurityRulesEvaluationResult object itself. - */ - public NetworkSecurityRulesEvaluationResult withDestinationMatched(Boolean destinationMatched) { - this.destinationMatched = destinationMatched; - return this; - } - /** * Get the destinationPortMatched property: Value indicating whether destination port is matched. * @@ -162,17 +107,6 @@ public Boolean destinationPortMatched() { return this.destinationPortMatched; } - /** - * Set the destinationPortMatched property: Value indicating whether destination port is matched. - * - * @param destinationPortMatched the destinationPortMatched value to set. - * @return the NetworkSecurityRulesEvaluationResult object itself. - */ - public NetworkSecurityRulesEvaluationResult withDestinationPortMatched(Boolean destinationPortMatched) { - this.destinationPortMatched = destinationPortMatched; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java index 964c48dbbcbe..55abfb3abd6b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java index ba530411a8b5..dfc2452c6c73 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java index 2f6d519a4e37..bfe786c1e863 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -32,7 +32,7 @@ public final class NetworkVirtualApplianceSkuInstances /** * Creates an instance of NetworkVirtualApplianceSkuInstances class. */ - public NetworkVirtualApplianceSkuInstances() { + private NetworkVirtualApplianceSkuInstances() { } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java index 4237130b9256..f88c86569ed4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHopType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHopType.java index a36d09d33161..f96634dc6d39 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHopType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextHopType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,32 +12,32 @@ */ public final class NextHopType extends ExpandableStringEnum { /** - * Static value Internet for NextHopType. + * Internet. */ public static final NextHopType INTERNET = fromString("Internet"); /** - * Static value VirtualAppliance for NextHopType. + * VirtualAppliance. */ public static final NextHopType VIRTUAL_APPLIANCE = fromString("VirtualAppliance"); /** - * Static value VirtualNetworkGateway for NextHopType. + * VirtualNetworkGateway. */ public static final NextHopType VIRTUAL_NETWORK_GATEWAY = fromString("VirtualNetworkGateway"); /** - * Static value VnetLocal for NextHopType. + * VnetLocal. */ public static final NextHopType VNET_LOCAL = fromString("VnetLocal"); /** - * Static value HyperNetGateway for NextHopType. + * HyperNetGateway. */ public static final NextHopType HYPER_NET_GATEWAY = fromString("HyperNetGateway"); /** - * Static value None for NextHopType. + * None. */ public static final NextHopType NONE = fromString("None"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextStep.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextStep.java index b6d4cd57ee49..9a7fd9fa251f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextStep.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NextStep.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class NextStep extends ExpandableStringEnum { /** - * Static value Unknown for NextStep. + * Unknown. */ public static final NextStep UNKNOWN = fromString("Unknown"); /** - * Static value Continue for NextStep. + * Continue. */ public static final NextStep CONTINUE = fromString("Continue"); /** - * Static value Terminate for NextStep. + * Terminate. */ public static final NextStep TERMINATE = fromString("Terminate"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java index cf23de6b5eb1..ca4d2b949119 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class NicTypeInRequest extends ExpandableStringEnum { /** - * Static value PublicNic for NicTypeInRequest. + * PublicNic. */ public static final NicTypeInRequest PUBLIC_NIC = fromString("PublicNic"); /** - * Static value PrivateNic for NicTypeInRequest. + * PrivateNic. */ public static final NicTypeInRequest PRIVATE_NIC = fromString("PrivateNic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java index 093b78115530..98eabd717f0c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,17 +13,17 @@ */ public final class NicTypeInResponse extends ExpandableStringEnum { /** - * Static value PublicNic for NicTypeInResponse. + * PublicNic. */ public static final NicTypeInResponse PUBLIC_NIC = fromString("PublicNic"); /** - * Static value PrivateNic for NicTypeInResponse. + * PrivateNic. */ public static final NicTypeInResponse PRIVATE_NIC = fromString("PrivateNic"); /** - * Static value AdditionalNic for NicTypeInResponse. + * AdditionalNic. */ public static final NicTypeInResponse ADDITIONAL_NIC = fromString("AdditionalNic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java new file mode 100644 index 000000000000..4c4c597a09e7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.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.network.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 java.io.IOException; + +/** + * There is no content to send for this request, but the headers may be useful. + */ +@Immutable +public final class NoContentResponse implements JsonSerializable { + /** + * Creates an instance of NoContentResponse class. + */ + private NoContentResponse() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of NoContentResponse from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of NoContentResponse 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 NoContentResponse. + */ + public static NoContentResponse fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + NoContentResponse deserializedNoContentResponse = new NoContentResponse(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedNoContentResponse; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java index 7f82b8b1e845..c8745bc3f0c6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,37 +12,37 @@ */ public final class NspLinkProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for NspLinkProvisioningState. + * Succeeded. */ public static final NspLinkProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Creating for NspLinkProvisioningState. + * Creating. */ public static final NspLinkProvisioningState CREATING = fromString("Creating"); /** - * Static value Updating for NspLinkProvisioningState. + * Updating. */ public static final NspLinkProvisioningState UPDATING = fromString("Updating"); /** - * Static value Deleting for NspLinkProvisioningState. + * Deleting. */ public static final NspLinkProvisioningState DELETING = fromString("Deleting"); /** - * Static value Accepted for NspLinkProvisioningState. + * Accepted. */ public static final NspLinkProvisioningState ACCEPTED = fromString("Accepted"); /** - * Static value Failed for NspLinkProvisioningState. + * Failed. */ public static final NspLinkProvisioningState FAILED = fromString("Failed"); /** - * Static value WaitForRemoteCompletion for NspLinkProvisioningState. + * WaitForRemoteCompletion. */ public static final NspLinkProvisioningState WAIT_FOR_REMOTE_COMPLETION = fromString("WaitForRemoteCompletion"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java index 81276f1d155c..1f6e6b1424c2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class NspLinkStatus extends ExpandableStringEnum { /** - * Static value Approved for NspLinkStatus. + * Approved. */ public static final NspLinkStatus APPROVED = fromString("Approved"); /** - * Static value Pending for NspLinkStatus. + * Pending. */ public static final NspLinkStatus PENDING = fromString("Pending"); /** - * Static value Rejected for NspLinkStatus. + * Rejected. */ public static final NspLinkStatus REJECTED = fromString("Rejected"); /** - * Static value Disconnected for NspLinkStatus. + * Disconnected. */ public static final NspLinkStatus DISCONNECTED = fromString("Disconnected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java index 7832e91650fa..5382d8055a96 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,32 +12,32 @@ */ public final class NspProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for NspProvisioningState. + * Succeeded. */ public static final NspProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Creating for NspProvisioningState. + * Creating. */ public static final NspProvisioningState CREATING = fromString("Creating"); /** - * Static value Updating for NspProvisioningState. + * Updating. */ public static final NspProvisioningState UPDATING = fromString("Updating"); /** - * Static value Deleting for NspProvisioningState. + * Deleting. */ public static final NspProvisioningState DELETING = fromString("Deleting"); /** - * Static value Accepted for NspProvisioningState. + * Accepted. */ public static final NspProvisioningState ACCEPTED = fromString("Accepted"); /** - * Static value Failed for NspProvisioningState. + * Failed. */ public static final NspProvisioningState FAILED = fromString("Failed"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java index a6df6063ea0e..7f530c1d5db1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java index 4776866d0b86..32f4b9db3839 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java index c895308e489f..5870acf934e1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class NvaNicType extends ExpandableStringEnum { /** - * Static value PrivateNic for NvaNicType. + * The private NIC type. */ public static final NvaNicType PRIVATE_NIC = fromString("PrivateNic"); /** - * Static value PublicNic for NvaNicType. + * The public NIC type. */ public static final NvaNicType PUBLIC_NIC = fromString("PublicNic"); /** - * Static value AdditionalPrivateNic for NvaNicType. + * An additional private NIC type. */ public static final NvaNicType ADDITIONAL_PRIVATE_NIC = fromString("AdditionalPrivateNic"); /** - * Static value AdditionalPublicNic for NvaNicType. + * An additional public NIC type. */ public static final NvaNicType ADDITIONAL_PUBLIC_NIC = fromString("AdditionalPublicNic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java index 8ddfccab3f07..33e263e0e87e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java index 8183cf7b606e..c6a5a10e8a94 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java index f3fe9f4fe290..6882b8ff5332 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java index 5f5e6f261f14..71ba5d5bf442 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class OfficeTrafficCategory extends ExpandableStringEnum { /** - * Static value Optimize for OfficeTrafficCategory. + * Optimize. */ public static final OfficeTrafficCategory OPTIMIZE = fromString("Optimize"); /** - * Static value OptimizeAndAllow for OfficeTrafficCategory. + * OptimizeAndAllow. */ public static final OfficeTrafficCategory OPTIMIZE_AND_ALLOW = fromString("OptimizeAndAllow"); /** - * Static value All for OfficeTrafficCategory. + * All. */ public static final OfficeTrafficCategory ALL = fromString("All"); /** - * Static value None for OfficeTrafficCategory. + * None. */ public static final OfficeTrafficCategory NONE = fromString("None"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java index 1ce1e36d09f0..08357896a7be 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Display metadata associated with the operation. */ -@Fluent +@Immutable public final class OperationDisplay implements JsonSerializable { /* * Service provider: Microsoft Network. @@ -39,7 +39,7 @@ public final class OperationDisplay implements JsonSerializable { /* @@ -31,7 +31,7 @@ public final class OperationPropertiesFormatServiceSpecification /** * Creates an instance of OperationPropertiesFormatServiceSpecification class. */ - public OperationPropertiesFormatServiceSpecification() { + private OperationPropertiesFormatServiceSpecification() { } /** @@ -43,18 +43,6 @@ public List metricSpecifications() { return this.metricSpecifications; } - /** - * Set the metricSpecifications property: Operation service specification. - * - * @param metricSpecifications the metricSpecifications value to set. - * @return the OperationPropertiesFormatServiceSpecification object itself. - */ - public OperationPropertiesFormatServiceSpecification - withMetricSpecifications(List metricSpecifications) { - this.metricSpecifications = metricSpecifications; - return this; - } - /** * Get the logSpecifications property: Operation log specification. * @@ -64,18 +52,6 @@ public List logSpecifications() { return this.logSpecifications; } - /** - * Set the logSpecifications property: Operation log specification. - * - * @param logSpecifications the logSpecifications value to set. - * @return the OperationPropertiesFormatServiceSpecification object itself. - */ - public OperationPropertiesFormatServiceSpecification - withLogSpecifications(List logSpecifications) { - this.logSpecifications = logSpecifications; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OrderBy.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OrderBy.java index 66dda6e8b51c..6c022d33c109 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OrderBy.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OrderBy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -24,7 +24,7 @@ public final class OrderBy implements JsonSerializable { /* * Describes if results should be in ascending/descending order */ - private FirewallPolicyIdpsQuerySortOrder order; + private FirewallPolicyIDPSQuerySortOrder order; /** * Creates an instance of OrderBy class. @@ -57,7 +57,7 @@ public OrderBy withField(String field) { * * @return the order value. */ - public FirewallPolicyIdpsQuerySortOrder order() { + public FirewallPolicyIDPSQuerySortOrder order() { return this.order; } @@ -67,7 +67,7 @@ public FirewallPolicyIdpsQuerySortOrder order() { * @param order the order value to set. * @return the OrderBy object itself. */ - public OrderBy withOrder(FirewallPolicyIdpsQuerySortOrder order) { + public OrderBy withOrder(FirewallPolicyIDPSQuerySortOrder order) { this.order = order; return this; } @@ -109,7 +109,7 @@ public static OrderBy fromJson(JsonReader jsonReader) throws IOException { if ("field".equals(fieldName)) { deserializedOrderBy.field = reader.getString(); } else if ("order".equals(fieldName)) { - deserializedOrderBy.order = FirewallPolicyIdpsQuerySortOrder.fromString(reader.getString()); + deserializedOrderBy.order = FirewallPolicyIDPSQuerySortOrder.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Origin.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Origin.java index 09423aebf420..a1cc00fe1ab6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Origin.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Origin.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class Origin extends ExpandableStringEnum { /** - * Static value Local for Origin. + * Local. */ public static final Origin LOCAL = fromString("Local"); /** - * Static value Inbound for Origin. + * Inbound. */ public static final Origin INBOUND = fromString("Inbound"); /** - * Static value Outbound for Origin. + * Outbound. */ public static final Origin OUTBOUND = fromString("Outbound"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OutputType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OutputType.java index f742d1b975aa..5703fc972fe3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OutputType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OutputType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,7 +12,7 @@ */ public final class OutputType extends ExpandableStringEnum { /** - * Static value Workspace for OutputType. + * Workspace. */ public static final OutputType WORKSPACE = fromString("Workspace"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java index c8e8d7a01316..634e1df893c7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java index da5a9e90fa45..db07487aedb3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,47 +13,47 @@ public final class OwaspCrsExclusionEntryMatchVariable extends ExpandableStringEnum { /** - * Static value RequestHeaderNames for OwaspCrsExclusionEntryMatchVariable. + * RequestHeaderNames. */ public static final OwaspCrsExclusionEntryMatchVariable REQUEST_HEADER_NAMES = fromString("RequestHeaderNames"); /** - * Static value RequestCookieNames for OwaspCrsExclusionEntryMatchVariable. + * RequestCookieNames. */ public static final OwaspCrsExclusionEntryMatchVariable REQUEST_COOKIE_NAMES = fromString("RequestCookieNames"); /** - * Static value RequestArgNames for OwaspCrsExclusionEntryMatchVariable. + * RequestArgNames. */ public static final OwaspCrsExclusionEntryMatchVariable REQUEST_ARG_NAMES = fromString("RequestArgNames"); /** - * Static value RequestHeaderKeys for OwaspCrsExclusionEntryMatchVariable. + * RequestHeaderKeys. */ public static final OwaspCrsExclusionEntryMatchVariable REQUEST_HEADER_KEYS = fromString("RequestHeaderKeys"); /** - * Static value RequestHeaderValues for OwaspCrsExclusionEntryMatchVariable. + * RequestHeaderValues. */ public static final OwaspCrsExclusionEntryMatchVariable REQUEST_HEADER_VALUES = fromString("RequestHeaderValues"); /** - * Static value RequestCookieKeys for OwaspCrsExclusionEntryMatchVariable. + * RequestCookieKeys. */ public static final OwaspCrsExclusionEntryMatchVariable REQUEST_COOKIE_KEYS = fromString("RequestCookieKeys"); /** - * Static value RequestCookieValues for OwaspCrsExclusionEntryMatchVariable. + * RequestCookieValues. */ public static final OwaspCrsExclusionEntryMatchVariable REQUEST_COOKIE_VALUES = fromString("RequestCookieValues"); /** - * Static value RequestArgKeys for OwaspCrsExclusionEntryMatchVariable. + * RequestArgKeys. */ public static final OwaspCrsExclusionEntryMatchVariable REQUEST_ARG_KEYS = fromString("RequestArgKeys"); /** - * Static value RequestArgValues for OwaspCrsExclusionEntryMatchVariable. + * RequestArgValues. */ public static final OwaspCrsExclusionEntryMatchVariable REQUEST_ARG_VALUES = fromString("RequestArgValues"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java index 8ebde235ac42..f599320f45f1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -14,27 +14,27 @@ public final class OwaspCrsExclusionEntrySelectorMatchOperator extends ExpandableStringEnum { /** - * Static value Equals for OwaspCrsExclusionEntrySelectorMatchOperator. + * Equals. */ public static final OwaspCrsExclusionEntrySelectorMatchOperator EQUALS = fromString("Equals"); /** - * Static value Contains for OwaspCrsExclusionEntrySelectorMatchOperator. + * Contains. */ public static final OwaspCrsExclusionEntrySelectorMatchOperator CONTAINS = fromString("Contains"); /** - * Static value StartsWith for OwaspCrsExclusionEntrySelectorMatchOperator. + * StartsWith. */ public static final OwaspCrsExclusionEntrySelectorMatchOperator STARTS_WITH = fromString("StartsWith"); /** - * Static value EndsWith for OwaspCrsExclusionEntrySelectorMatchOperator. + * EndsWith. */ public static final OwaspCrsExclusionEntrySelectorMatchOperator ENDS_WITH = fromString("EndsWith"); /** - * Static value EqualsAny for OwaspCrsExclusionEntrySelectorMatchOperator. + * EqualsAny. */ public static final OwaspCrsExclusionEntrySelectorMatchOperator EQUALS_ANY = fromString("EqualsAny"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java index 499b861a52af..c68aaad570a2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -207,7 +207,7 @@ public List previousConfigurationPolicyG * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java index 4958e611009a..bb90a79236c8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java index 24acbac1113e..feea79a6c9ab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java index 852b5c3c5105..9185202dccb7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java index 3f95da7b416f..809467c2895e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java index 8e9ebe71fb7c..157524c1801c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java index 75c2f5612482..e6051ea92681 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java index 6c0bcc803fe0..7d58385b930e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java index 846c16dffbb1..417d756a84b9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -9,12 +9,12 @@ */ public enum PacketCaptureTargetType { /** - * Enum value AzureVM. + * AzureVM. */ AZURE_VM("AzureVM"), /** - * Enum value AzureVMSS. + * AzureVMSS. */ AZURE_VMSS("AzureVMSS"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Parameter.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Parameter.java index 37c0556b2cd4..6d6a3b269dab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Parameter.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Parameter.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java index 7daf98f23b48..7379528b8046 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PatchObject.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PatchObject.java index 14d14b0dcd37..210f63306ae1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PatchObject.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PatchObject.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcError.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcError.java index ff19d32ca03f..1f5700e61c0c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcError.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcError.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class PcError extends ExpandableStringEnum { /** - * Static value InternalError for PcError. + * InternalError. */ public static final PcError INTERNAL_ERROR = fromString("InternalError"); /** - * Static value AgentStopped for PcError. + * AgentStopped. */ public static final PcError AGENT_STOPPED = fromString("AgentStopped"); /** - * Static value CaptureFailed for PcError. + * CaptureFailed. */ public static final PcError CAPTURE_FAILED = fromString("CaptureFailed"); /** - * Static value LocalFileFailed for PcError. + * LocalFileFailed. */ public static final PcError LOCAL_FILE_FAILED = fromString("LocalFileFailed"); /** - * Static value StorageFailed for PcError. + * StorageFailed. */ public static final PcError STORAGE_FAILED = fromString("StorageFailed"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java index 552ecaad2d10..28decd8c07fa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class PcProtocol extends ExpandableStringEnum { /** - * Static value TCP for PcProtocol. + * TCP. */ public static final PcProtocol TCP = fromString("TCP"); /** - * Static value UDP for PcProtocol. + * UDP. */ public static final PcProtocol UDP = fromString("UDP"); /** - * Static value Any for PcProtocol. + * Any. */ public static final PcProtocol ANY = fromString("Any"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcStatus.java index 30c06284ff14..029ca63ad8bf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PcStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class PcStatus extends ExpandableStringEnum { /** - * Static value NotStarted for PcStatus. + * NotStarted. */ public static final PcStatus NOT_STARTED = fromString("NotStarted"); /** - * Static value Running for PcStatus. + * Running. */ public static final PcStatus RUNNING = fromString("Running"); /** - * Static value Stopped for PcStatus. + * Stopped. */ public static final PcStatus STOPPED = fromString("Stopped"); /** - * Static value Error for PcStatus. + * Error. */ public static final PcStatus ERROR = fromString("Error"); /** - * Static value Unknown for PcStatus. + * Unknown. */ public static final PcStatus UNKNOWN = fromString("Unknown"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java index dedb7ba7cb70..86191d07d381 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -54,7 +54,7 @@ public final class PeerRoute implements JsonSerializable { /** * Creates an instance of PeerRoute class. */ - public PeerRoute() { + private PeerRoute() { } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java index 1126e22d7a33..af3c7438bf2b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,14 @@ */ public final class PeeringEnforcement extends ExpandableStringEnum { /** - * Static value Unenforced for PeeringEnforcement. + * Default. Peerings created by the connectivity configuration may be modified or deleted outside of the network + * manager. */ public static final PeeringEnforcement UNENFORCED = fromString("Unenforced"); /** - * Static value Enforced for PeeringEnforcement. + * Peerings created by the connectivity configuration will not be modifiable or deletable outside of the network + * manager. */ public static final PeeringEnforcement ENFORCED = fromString("Enforced"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java index b63404a5f775..e14757a3f388 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -34,7 +34,7 @@ public final class PerimeterBasedAccessRule implements JsonSerializable { /** - * Static value None for PfsGroup. + * None. */ public static final PfsGroup NONE = fromString("None"); /** - * Static value PFS1 for PfsGroup. + * PFS1. */ public static final PfsGroup PFS1 = fromString("PFS1"); /** - * Static value PFS2 for PfsGroup. + * PFS2. */ public static final PfsGroup PFS2 = fromString("PFS2"); /** - * Static value PFS2048 for PfsGroup. + * PFS2048. */ public static final PfsGroup PFS2048 = fromString("PFS2048"); /** - * Static value ECP256 for PfsGroup. + * ECP256. */ public static final PfsGroup ECP256 = fromString("ECP256"); /** - * Static value ECP384 for PfsGroup. + * ECP384. */ public static final PfsGroup ECP384 = fromString("ECP384"); /** - * Static value PFS24 for PfsGroup. + * PFS24. */ public static final PfsGroup PFS24 = fromString("PFS24"); /** - * Static value PFS14 for PfsGroup. + * PFS14. */ public static final PfsGroup PFS14 = fromString("PFS14"); /** - * Static value PFSMM for PfsGroup. + * PFSMM. */ public static final PfsGroup PFSMM = fromString("PFSMM"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java index ecd658101497..97664cd65083 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java index 6e1acbb48014..f8def5065653 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java index 2f6329d3c75e..8f315414b645 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -11,42 +11,42 @@ * The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version * depending on other parameters. */ -public final class PreferredIpVersion extends ExpandableStringEnum { +public final class PreferredIPVersion extends ExpandableStringEnum { /** - * Static value IPv4 for PreferredIpVersion. + * IPv4. */ - public static final PreferredIpVersion IPV4 = fromString("IPv4"); + public static final PreferredIPVersion IPV4 = fromString("IPv4"); /** - * Static value IPv6 for PreferredIpVersion. + * IPv6. */ - public static final PreferredIpVersion IPV6 = fromString("IPv6"); + public static final PreferredIPVersion IPV6 = fromString("IPv6"); /** - * Creates a new instance of PreferredIpVersion value. + * Creates a new instance of PreferredIPVersion value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PreferredIpVersion() { + public PreferredIPVersion() { } /** - * Creates or finds a PreferredIpVersion from its string representation. + * Creates or finds a PreferredIPVersion from its string representation. * * @param name a name to look for. - * @return the corresponding PreferredIpVersion. + * @return the corresponding PreferredIPVersion. */ - public static PreferredIpVersion fromString(String name) { - return fromString(name, PreferredIpVersion.class); + public static PreferredIPVersion fromString(String name) { + return fromString(name, PreferredIPVersion.class); } /** - * Gets known PreferredIpVersion values. + * Gets known PreferredIPVersion values. * - * @return known PreferredIpVersion values. + * @return known PreferredIPVersion values. */ - public static Collection values() { - return values(PreferredIpVersion.class); + public static Collection values() { + return values(PreferredIPVersion.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java index a356075bd10f..680039d4abfe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class PreferredRoutingGateway extends ExpandableStringEnum { /** - * Static value ExpressRoute for PreferredRoutingGateway. + * ExpressRoute. */ public static final PreferredRoutingGateway EXPRESS_ROUTE = fromString("ExpressRoute"); /** - * Static value VpnGateway for PreferredRoutingGateway. + * VpnGateway. */ public static final PreferredRoutingGateway VPN_GATEWAY = fromString("VpnGateway"); /** - * Static value None for PreferredRoutingGateway. + * None. */ public static final PreferredRoutingGateway NONE = fromString("None"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java new file mode 100644 index 000000000000..9a9d3dea9f32 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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 java.io.IOException; + +/** + * The PrepareNetworkPoliciesFinalResult model. + */ +@Immutable +public final class PrepareNetworkPoliciesFinalResult implements JsonSerializable { + /** + * Creates an instance of PrepareNetworkPoliciesFinalResult class. + */ + private PrepareNetworkPoliciesFinalResult() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of PrepareNetworkPoliciesFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of PrepareNetworkPoliciesFinalResult 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 PrepareNetworkPoliciesFinalResult. + */ + public static PrepareNetworkPoliciesFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + PrepareNetworkPoliciesFinalResult deserializedPrepareNetworkPoliciesFinalResult + = new PrepareNetworkPoliciesFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedPrepareNetworkPoliciesFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java index 13a3f76b5afb..35c0bdd89162 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java index eccb894ea303..cf68b7797b46 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java index 926a3e8148cc..199125ae4516 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -9,18 +9,18 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.PrivateEndpointIpConfigurationProperties; +import com.azure.resourcemanager.network.fluent.models.PrivateEndpointIPConfigurationProperties; import java.io.IOException; /** * An IP Configuration of the private endpoint. */ @Fluent -public final class PrivateEndpointIpConfiguration implements JsonSerializable { +public final class PrivateEndpointIPConfiguration implements JsonSerializable { /* * Properties of private endpoint IP configurations. */ - private PrivateEndpointIpConfigurationProperties innerProperties; + private PrivateEndpointIPConfigurationProperties innerProperties; /* * The name of the resource that is unique within a resource group. @@ -38,9 +38,9 @@ public final class PrivateEndpointIpConfiguration implements JsonSerializable { - PrivateEndpointIpConfiguration deserializedPrivateEndpointIpConfiguration - = new PrivateEndpointIpConfiguration(); + PrivateEndpointIPConfiguration deserializedPrivateEndpointIPConfiguration + = new PrivateEndpointIPConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("properties".equals(fieldName)) { - deserializedPrivateEndpointIpConfiguration.innerProperties - = PrivateEndpointIpConfigurationProperties.fromJson(reader); + deserializedPrivateEndpointIPConfiguration.innerProperties + = PrivateEndpointIPConfigurationProperties.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedPrivateEndpointIpConfiguration.name = reader.getString(); + deserializedPrivateEndpointIPConfiguration.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedPrivateEndpointIpConfiguration.type = reader.getString(); + deserializedPrivateEndpointIPConfiguration.type = reader.getString(); } else if ("etag".equals(fieldName)) { - deserializedPrivateEndpointIpConfiguration.etag = reader.getString(); + deserializedPrivateEndpointIPConfiguration.etag = reader.getString(); } else { reader.skipChildren(); } } - return deserializedPrivateEndpointIpConfiguration; + return deserializedPrivateEndpointIPConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java index 64e01c942f4e..2fcccad6b4f3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -10,47 +10,47 @@ /** * Specifies the IP version type for the private IPs of the private endpoint. If not defined, this defaults to IPv4. */ -public final class PrivateEndpointIpVersionType extends ExpandableStringEnum { +public final class PrivateEndpointIPVersionType extends ExpandableStringEnum { /** - * Static value IPv4 for PrivateEndpointIpVersionType. + * Indicates that the Private IPs of the private endpoint will be IPv4 only. */ - public static final PrivateEndpointIpVersionType IPV4 = fromString("IPv4"); + public static final PrivateEndpointIPVersionType IPV4 = fromString("IPv4"); /** - * Static value IPv6 for PrivateEndpointIpVersionType. + * Indicates that the Private IPs of the private endpoint will be IPv6 only. */ - public static final PrivateEndpointIpVersionType IPV6 = fromString("IPv6"); + public static final PrivateEndpointIPVersionType IPV6 = fromString("IPv6"); /** - * Static value DualStack for PrivateEndpointIpVersionType. + * Indicates that the Private IPs of the private endpoint can be both IPv4 and IPv6. */ - public static final PrivateEndpointIpVersionType DUAL_STACK = fromString("DualStack"); + public static final PrivateEndpointIPVersionType DUAL_STACK = fromString("DualStack"); /** - * Creates a new instance of PrivateEndpointIpVersionType value. + * Creates a new instance of PrivateEndpointIPVersionType value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PrivateEndpointIpVersionType() { + public PrivateEndpointIPVersionType() { } /** - * Creates or finds a PrivateEndpointIpVersionType from its string representation. + * Creates or finds a PrivateEndpointIPVersionType from its string representation. * * @param name a name to look for. - * @return the corresponding PrivateEndpointIpVersionType. + * @return the corresponding PrivateEndpointIPVersionType. */ - public static PrivateEndpointIpVersionType fromString(String name) { - return fromString(name, PrivateEndpointIpVersionType.class); + public static PrivateEndpointIPVersionType fromString(String name) { + return fromString(name, PrivateEndpointIPVersionType.class); } /** - * Gets known PrivateEndpointIpVersionType values. + * Gets known PrivateEndpointIPVersionType values. * - * @return known PrivateEndpointIpVersionType values. + * @return known PrivateEndpointIPVersionType values. */ - public static Collection values() { - return values(PrivateEndpointIpVersionType.class); + public static Collection values() { + return values(PrivateEndpointIPVersionType.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java index 1c6de31156af..2f555fbab419 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class PrivateEndpointVNetPolicies extends ExpandableStringEnum { /** - * Static value Disabled for PrivateEndpointVNetPolicies. + * Disabled. */ public static final PrivateEndpointVNetPolicies DISABLED = fromString("Disabled"); /** - * Static value Basic for PrivateEndpointVNetPolicies. + * Basic. */ public static final PrivateEndpointVNetPolicies BASIC = fromString("Basic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java index 02d6c8e930f7..fb0b77ca8eea 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -107,7 +107,7 @@ public PrivateLinkServiceConnection withId(String id) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java index 5f009e223dc3..49ba7a7c6365 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java index 7d372f291028..7f7a328daeec 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java index 460ff1ab7304..52fcc05e677e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java index 75c5fa791ba3..971750c3256d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ProbeNoHealthyBackendsBehavior extends ExpandableStringEnum { /** - * Static value AllProbedDown for ProbeNoHealthyBackendsBehavior. + * No new flows will be sent to the backend pool. */ public static final ProbeNoHealthyBackendsBehavior ALL_PROBED_DOWN = fromString("AllProbedDown"); /** - * Static value AllProbedUp for ProbeNoHealthyBackendsBehavior. + * When all backend instances are probed down, incoming packets will be sent to all instances. */ public static final ProbeNoHealthyBackendsBehavior ALL_PROBED_UP = fromString("AllProbedUp"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java index 22775b37ccea..173c25090cf8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,17 +13,17 @@ */ public final class ProbeProtocol extends ExpandableStringEnum { /** - * Static value Http for ProbeProtocol. + * Http. */ public static final ProbeProtocol HTTP = fromString("Http"); /** - * Static value Tcp for ProbeProtocol. + * Tcp. */ public static final ProbeProtocol TCP = fromString("Tcp"); /** - * Static value Https for ProbeProtocol. + * Https. */ public static final ProbeProtocol HTTPS = fromString("Https"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java index 9116a2c9d022..a3e2680d1991 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ProcessorArchitecture extends ExpandableStringEnum { /** - * Static value Amd64 for ProcessorArchitecture. + * Amd64. */ public static final ProcessorArchitecture AMD64 = fromString("Amd64"); /** - * Static value X86 for ProcessorArchitecture. + * X86. */ public static final ProcessorArchitecture X86 = fromString("X86"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java index 8f6e32772658..60fa79c84d9c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Protocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Protocol.java index 981adaad0292..4cf78b1c06fe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Protocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Protocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class Protocol extends ExpandableStringEnum { /** - * Static value Tcp for Protocol. + * Tcp. */ public static final Protocol TCP = fromString("Tcp"); /** - * Static value Http for Protocol. + * Http. */ public static final Protocol HTTP = fromString("Http"); /** - * Static value Https for Protocol. + * Https. */ public static final Protocol HTTPS = fromString("Https"); /** - * Static value Icmp for Protocol. + * Icmp. */ public static final Protocol ICMP = fromString("Icmp"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java index aba73f7a2b57..e16f9d33ef1e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -19,7 +19,7 @@ public final class ProtocolConfiguration implements JsonSerializable { /** - * Static value DoNotUse for ProtocolType. + * DoNotUse. */ public static final ProtocolType DO_NOT_USE = fromString("DoNotUse"); /** - * Static value Icmp for ProtocolType. + * Icmp. */ public static final ProtocolType ICMP = fromString("Icmp"); /** - * Static value Tcp for ProtocolType. + * Tcp. */ public static final ProtocolType TCP = fromString("Tcp"); /** - * Static value Udp for ProtocolType. + * Udp. */ public static final ProtocolType UDP = fromString("Udp"); /** - * Static value Gre for ProtocolType. + * Gre. */ public static final ProtocolType GRE = fromString("Gre"); /** - * Static value Esp for ProtocolType. + * Esp. */ public static final ProtocolType ESP = fromString("Esp"); /** - * Static value Ah for ProtocolType. + * Ah. */ public static final ProtocolType AH = fromString("Ah"); /** - * Static value Vxlan for ProtocolType. + * Vxlan. */ public static final ProtocolType VXLAN = fromString("Vxlan"); /** - * Static value All for ProtocolType. + * All. */ public static final ProtocolType ALL = fromString("All"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java index f1848d1b0ded..e9130898de24 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,32 +12,32 @@ */ public final class ProvisioningState extends ExpandableStringEnum { /** - * Static value Failed for ProvisioningState. + * Failed. */ public static final ProvisioningState FAILED = fromString("Failed"); /** - * Static value Succeeded for ProvisioningState. + * Succeeded. */ public static final ProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Canceled for ProvisioningState. + * Canceled. */ public static final ProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Creating for ProvisioningState. + * Creating. */ public static final ProvisioningState CREATING = fromString("Creating"); /** - * Static value Updating for ProvisioningState. + * Updating. */ public static final ProvisioningState UPDATING = fromString("Updating"); /** - * Static value Deleting for ProvisioningState. + * Deleting. */ public static final ProvisioningState DELETING = fromString("Deleting"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java new file mode 100644 index 000000000000..28544b331e58 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java @@ -0,0 +1,146 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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 java.io.IOException; + +/** + * Proxy resource representation. + */ +@Immutable +public class ProxyResourceWithReadOnlyID implements JsonSerializable { + /* + * Resource ID. + */ + private String id; + + /* + * Resource name. + */ + private String name; + + /* + * Resource type. + */ + private String type; + + /** + * Creates an instance of ProxyResourceWithReadOnlyID class. + */ + public ProxyResourceWithReadOnlyID() { + } + + /** + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the ProxyResourceWithReadOnlyID object itself. + */ + ProxyResourceWithReadOnlyID withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: Resource name. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Resource name. + * + * @param name the name value to set. + * @return the ProxyResourceWithReadOnlyID object itself. + */ + ProxyResourceWithReadOnlyID withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: Resource type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: Resource type. + * + * @param type the type value to set. + * @return the ProxyResourceWithReadOnlyID object itself. + */ + ProxyResourceWithReadOnlyID withType(String type) { + this.type = type; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ProxyResourceWithReadOnlyID from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ProxyResourceWithReadOnlyID 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 ProxyResourceWithReadOnlyID. + */ + public static ProxyResourceWithReadOnlyID fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ProxyResourceWithReadOnlyID deserializedProxyResourceWithReadOnlyID = new ProxyResourceWithReadOnlyID(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedProxyResourceWithReadOnlyID.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedProxyResourceWithReadOnlyID.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedProxyResourceWithReadOnlyID.type = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedProxyResourceWithReadOnlyID; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java new file mode 100644 index 000000000000..3099903b636f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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 java.io.IOException; + +/** + * Proxy resource representation. + */ +@Immutable +public class ProxyResourcewithoutEtag implements JsonSerializable { + /* + * Resource ID. + */ + private String id; + + /* + * Resource name. + */ + private String name; + + /* + * Resource type. + */ + private String type; + + /** + * Creates an instance of ProxyResourcewithoutEtag class. + */ + protected ProxyResourcewithoutEtag() { + } + + /** + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the ProxyResourcewithoutEtag object itself. + */ + ProxyResourcewithoutEtag withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: Resource name. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Resource name. + * + * @param name the name value to set. + * @return the ProxyResourcewithoutEtag object itself. + */ + ProxyResourcewithoutEtag withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: Resource type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: Resource type. + * + * @param type the type value to set. + * @return the ProxyResourcewithoutEtag object itself. + */ + ProxyResourcewithoutEtag withType(String type) { + this.type = type; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", this.id); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ProxyResourcewithoutEtag from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ProxyResourcewithoutEtag 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 ProxyResourcewithoutEtag. + */ + public static ProxyResourcewithoutEtag fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ProxyResourcewithoutEtag deserializedProxyResourcewithoutEtag = new ProxyResourcewithoutEtag(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedProxyResourcewithoutEtag.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedProxyResourcewithoutEtag.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedProxyResourcewithoutEtag.type = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedProxyResourcewithoutEtag; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java index ec00f1bfea62..af68c5ac45b8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java index 56dabdf0652d..56acaa015764 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -10,22 +10,22 @@ */ public enum PublicIpAddressDnsSettingsDomainNameLabelScope { /** - * Enum value TenantReuse. + * TenantReuse. */ TENANT_REUSE("TenantReuse"), /** - * Enum value SubscriptionReuse. + * SubscriptionReuse. */ SUBSCRIPTION_REUSE("SubscriptionReuse"), /** - * Enum value ResourceGroupReuse. + * ResourceGroupReuse. */ RESOURCE_GROUP_REUSE("ResourceGroupReuse"), /** - * Enum value NoReuse. + * NoReuse. */ NO_REUSE("NoReuse"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java index 5286503f3b88..34cae034fc28 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -10,57 +10,57 @@ /** * Migration phase of Public IP Address. */ -public final class PublicIpAddressMigrationPhase extends ExpandableStringEnum { +public final class PublicIPAddressMigrationPhase extends ExpandableStringEnum { /** - * Static value None for PublicIpAddressMigrationPhase. + * None. */ - public static final PublicIpAddressMigrationPhase NONE = fromString("None"); + public static final PublicIPAddressMigrationPhase NONE = fromString("None"); /** - * Static value Prepare for PublicIpAddressMigrationPhase. + * Prepare. */ - public static final PublicIpAddressMigrationPhase PREPARE = fromString("Prepare"); + public static final PublicIPAddressMigrationPhase PREPARE = fromString("Prepare"); /** - * Static value Commit for PublicIpAddressMigrationPhase. + * Commit. */ - public static final PublicIpAddressMigrationPhase COMMIT = fromString("Commit"); + public static final PublicIPAddressMigrationPhase COMMIT = fromString("Commit"); /** - * Static value Abort for PublicIpAddressMigrationPhase. + * Abort. */ - public static final PublicIpAddressMigrationPhase ABORT = fromString("Abort"); + public static final PublicIPAddressMigrationPhase ABORT = fromString("Abort"); /** - * Static value Committed for PublicIpAddressMigrationPhase. + * Committed. */ - public static final PublicIpAddressMigrationPhase COMMITTED = fromString("Committed"); + public static final PublicIPAddressMigrationPhase COMMITTED = fromString("Committed"); /** - * Creates a new instance of PublicIpAddressMigrationPhase value. + * Creates a new instance of PublicIPAddressMigrationPhase value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PublicIpAddressMigrationPhase() { + public PublicIPAddressMigrationPhase() { } /** - * Creates or finds a PublicIpAddressMigrationPhase from its string representation. + * Creates or finds a PublicIPAddressMigrationPhase from its string representation. * * @param name a name to look for. - * @return the corresponding PublicIpAddressMigrationPhase. + * @return the corresponding PublicIPAddressMigrationPhase. */ - public static PublicIpAddressMigrationPhase fromString(String name) { - return fromString(name, PublicIpAddressMigrationPhase.class); + public static PublicIPAddressMigrationPhase fromString(String name) { + return fromString(name, PublicIPAddressMigrationPhase.class); } /** - * Gets known PublicIpAddressMigrationPhase values. + * Gets known PublicIPAddressMigrationPhase values. * - * @return known PublicIpAddressMigrationPhase values. + * @return known PublicIPAddressMigrationPhase values. */ - public static Collection values() { - return values(PublicIpAddressMigrationPhase.class); + public static Collection values() { + return values(PublicIPAddressMigrationPhase.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java index 69eb215a7b88..d996937ec14d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -24,7 +24,7 @@ public final class PublicIpAddressSku implements JsonSerializable { /** - * Static value Basic for PublicIpAddressSkuName. + * Basic. */ public static final PublicIpAddressSkuName BASIC = fromString("Basic"); /** - * Static value Standard for PublicIpAddressSkuName. + * Standard. */ public static final PublicIpAddressSkuName STANDARD = fromString("Standard"); /** - * Static value StandardV2 for PublicIpAddressSkuName. + * StandardV2. */ public static final PublicIpAddressSkuName STANDARD_V2 = fromString("StandardV2"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java index da5b536eefaf..9caded5c811d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -10,42 +10,42 @@ /** * Tier of a public IP address SKU. */ -public final class PublicIpAddressSkuTier extends ExpandableStringEnum { +public final class PublicIPAddressSkuTier extends ExpandableStringEnum { /** - * Static value Regional for PublicIpAddressSkuTier. + * Regional. */ - public static final PublicIpAddressSkuTier REGIONAL = fromString("Regional"); + public static final PublicIPAddressSkuTier REGIONAL = fromString("Regional"); /** - * Static value Global for PublicIpAddressSkuTier. + * Global. */ - public static final PublicIpAddressSkuTier GLOBAL = fromString("Global"); + public static final PublicIPAddressSkuTier GLOBAL = fromString("Global"); /** - * Creates a new instance of PublicIpAddressSkuTier value. + * Creates a new instance of PublicIPAddressSkuTier value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PublicIpAddressSkuTier() { + public PublicIPAddressSkuTier() { } /** - * Creates or finds a PublicIpAddressSkuTier from its string representation. + * Creates or finds a PublicIPAddressSkuTier from its string representation. * * @param name a name to look for. - * @return the corresponding PublicIpAddressSkuTier. + * @return the corresponding PublicIPAddressSkuTier. */ - public static PublicIpAddressSkuTier fromString(String name) { - return fromString(name, PublicIpAddressSkuTier.class); + public static PublicIPAddressSkuTier fromString(String name) { + return fromString(name, PublicIPAddressSkuTier.class); } /** - * Gets known PublicIpAddressSkuTier values. + * Gets known PublicIPAddressSkuTier values. * - * @return known PublicIpAddressSkuTier values. + * @return known PublicIPAddressSkuTier values. */ - public static Collection values() { - return values(PublicIpAddressSkuTier.class); + public static Collection values() { + return values(PublicIPAddressSkuTier.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java index 74743728fec8..13a7f00f53cc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -19,12 +19,12 @@ public final class PublicIpPrefixSku implements JsonSerializable { +public final class PublicIPPrefixSkuName extends ExpandableStringEnum { /** - * Static value Standard for PublicIpPrefixSkuName. + * Standard. */ - public static final PublicIpPrefixSkuName STANDARD = fromString("Standard"); + public static final PublicIPPrefixSkuName STANDARD = fromString("Standard"); /** - * Static value StandardV2 for PublicIpPrefixSkuName. + * StandardV2. */ - public static final PublicIpPrefixSkuName STANDARD_V2 = fromString("StandardV2"); + public static final PublicIPPrefixSkuName STANDARD_V2 = fromString("StandardV2"); /** - * Creates a new instance of PublicIpPrefixSkuName value. + * Creates a new instance of PublicIPPrefixSkuName value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PublicIpPrefixSkuName() { + public PublicIPPrefixSkuName() { } /** - * Creates or finds a PublicIpPrefixSkuName from its string representation. + * Creates or finds a PublicIPPrefixSkuName from its string representation. * * @param name a name to look for. - * @return the corresponding PublicIpPrefixSkuName. + * @return the corresponding PublicIPPrefixSkuName. */ - public static PublicIpPrefixSkuName fromString(String name) { - return fromString(name, PublicIpPrefixSkuName.class); + public static PublicIPPrefixSkuName fromString(String name) { + return fromString(name, PublicIPPrefixSkuName.class); } /** - * Gets known PublicIpPrefixSkuName values. + * Gets known PublicIPPrefixSkuName values. * - * @return known PublicIpPrefixSkuName values. + * @return known PublicIPPrefixSkuName values. */ - public static Collection values() { - return values(PublicIpPrefixSkuName.class); + public static Collection values() { + return values(PublicIPPrefixSkuName.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java index 427505b2f74c..5c9cac772a06 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -10,42 +10,42 @@ /** * Tier of a public IP prefix SKU. */ -public final class PublicIpPrefixSkuTier extends ExpandableStringEnum { +public final class PublicIPPrefixSkuTier extends ExpandableStringEnum { /** - * Static value Regional for PublicIpPrefixSkuTier. + * Regional. */ - public static final PublicIpPrefixSkuTier REGIONAL = fromString("Regional"); + public static final PublicIPPrefixSkuTier REGIONAL = fromString("Regional"); /** - * Static value Global for PublicIpPrefixSkuTier. + * Global. */ - public static final PublicIpPrefixSkuTier GLOBAL = fromString("Global"); + public static final PublicIPPrefixSkuTier GLOBAL = fromString("Global"); /** - * Creates a new instance of PublicIpPrefixSkuTier value. + * Creates a new instance of PublicIPPrefixSkuTier value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PublicIpPrefixSkuTier() { + public PublicIPPrefixSkuTier() { } /** - * Creates or finds a PublicIpPrefixSkuTier from its string representation. + * Creates or finds a PublicIPPrefixSkuTier from its string representation. * * @param name a name to look for. - * @return the corresponding PublicIpPrefixSkuTier. + * @return the corresponding PublicIPPrefixSkuTier. */ - public static PublicIpPrefixSkuTier fromString(String name) { - return fromString(name, PublicIpPrefixSkuTier.class); + public static PublicIPPrefixSkuTier fromString(String name) { + return fromString(name, PublicIPPrefixSkuTier.class); } /** - * Gets known PublicIpPrefixSkuTier values. + * Gets known PublicIPPrefixSkuTier values. * - * @return known PublicIpPrefixSkuTier values. + * @return known PublicIPPrefixSkuTier values. */ - public static Collection values() { - return values(PublicIpPrefixSkuTier.class); + public static Collection values() { + return values(PublicIPPrefixSkuTier.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java index 4ef62f6aa3c3..dfb240d3dc5d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java index 16ae8e6be9e2..52c8e5844684 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java index 4a2e4cb68adf..5a047cc9d625 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java index 3f4f99218eb4..66448add3f5f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java index eeb50a0e10b9..3a7fd0b0635f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java index 9fb29aa0e6a3..f879fd4d3fa5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java index 2b44d629b389..5885d9e10b6a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Gateway or VpnServerConfiguration Radius server with radius secret details. */ -@Fluent +@Immutable public final class RadiusAuthServer implements JsonSerializable { /* * Radius server IPAddress @@ -29,7 +29,7 @@ public final class RadiusAuthServer implements JsonSerializable { + /* + * Resource ID. + */ + private String id; + + /* + * Name of the resource. + */ + private String name; + + /* + * Type of the resource. + */ + private String type; + + /** + * Creates an instance of ReadOnlySubResourceModel class. + */ + public ReadOnlySubResourceModel() { + } + + /** + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the ReadOnlySubResourceModel object itself. + */ + ReadOnlySubResourceModel withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: Name of the resource. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Name of the resource. + * + * @param name the name value to set. + * @return the ReadOnlySubResourceModel object itself. + */ + ReadOnlySubResourceModel withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: Type of the resource. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: Type of the resource. + * + * @param type the type value to set. + * @return the ReadOnlySubResourceModel object itself. + */ + ReadOnlySubResourceModel withType(String type) { + this.type = type; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ReadOnlySubResourceModel from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ReadOnlySubResourceModel 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 ReadOnlySubResourceModel. + */ + public static ReadOnlySubResourceModel fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ReadOnlySubResourceModel deserializedReadOnlySubResourceModel = new ReadOnlySubResourceModel(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedReadOnlySubResourceModel.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedReadOnlySubResourceModel.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedReadOnlySubResourceModel.type = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedReadOnlySubResourceModel; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RecordSet.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RecordSet.java index d722258df70b..15d5a70be01e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RecordSet.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RecordSet.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * A collective group of information about the record set information. */ -@Fluent +@Immutable public final class RecordSet implements JsonSerializable { /* * Resource record type. @@ -35,7 +35,7 @@ public final class RecordSet implements JsonSerializable { /* * The provisioning state of the recordset. */ - private ProvisioningState provisioningState; + private NetworkProvisioningState provisioningState; /* * Recordset time to live. @@ -50,7 +50,7 @@ public final class RecordSet implements JsonSerializable { /** * Creates an instance of RecordSet class. */ - public RecordSet() { + private RecordSet() { } /** @@ -62,17 +62,6 @@ public String recordType() { return this.recordType; } - /** - * Set the recordType property: Resource record type. - * - * @param recordType the recordType value to set. - * @return the RecordSet object itself. - */ - public RecordSet withRecordType(String recordType) { - this.recordType = recordType; - return this; - } - /** * Get the recordSetName property: Recordset name. * @@ -82,17 +71,6 @@ public String recordSetName() { return this.recordSetName; } - /** - * Set the recordSetName property: Recordset name. - * - * @param recordSetName the recordSetName value to set. - * @return the RecordSet object itself. - */ - public RecordSet withRecordSetName(String recordSetName) { - this.recordSetName = recordSetName; - return this; - } - /** * Get the fqdn property: Fqdn that resolves to private endpoint ip address. * @@ -102,23 +80,12 @@ public String fqdn() { return this.fqdn; } - /** - * Set the fqdn property: Fqdn that resolves to private endpoint ip address. - * - * @param fqdn the fqdn value to set. - * @return the RecordSet object itself. - */ - public RecordSet withFqdn(String fqdn) { - this.fqdn = fqdn; - return this; - } - /** * Get the provisioningState property: The provisioning state of the recordset. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -131,17 +98,6 @@ public Integer ttl() { return this.ttl; } - /** - * Set the ttl property: Recordset time to live. - * - * @param ttl the ttl value to set. - * @return the RecordSet object itself. - */ - public RecordSet withTtl(Integer ttl) { - this.ttl = ttl; - return this; - } - /** * Get the ipAddresses property: The private ip address of the private endpoint. * @@ -151,17 +107,6 @@ public List ipAddresses() { return this.ipAddresses; } - /** - * Set the ipAddresses property: The private ip address of the private endpoint. - * - * @param ipAddresses the ipAddresses value to set. - * @return the RecordSet object itself. - */ - public RecordSet withIpAddresses(List ipAddresses) { - this.ipAddresses = ipAddresses; - return this; - } - /** * Validates the instance. * @@ -206,7 +151,7 @@ public static RecordSet fromJson(JsonReader jsonReader) throws IOException { } else if ("fqdn".equals(fieldName)) { deserializedRecordSet.fqdn = reader.getString(); } else if ("provisioningState".equals(fieldName)) { - deserializedRecordSet.provisioningState = ProvisioningState.fromString(reader.getString()); + deserializedRecordSet.provisioningState = NetworkProvisioningState.fromString(reader.getString()); } else if ("ttl".equals(fieldName)) { deserializedRecordSet.ttl = reader.getNullable(JsonReader::getInt); } else if ("ipAddresses".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java index 53bd1e9ff6a0..76871aba9664 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Reference to a public IP address. */ -@Fluent +@Immutable public final class ReferencedPublicIpAddress implements JsonSerializable { /* * The PublicIPAddress Reference. @@ -24,7 +24,7 @@ public final class ReferencedPublicIpAddress implements JsonSerializable { + /** + * Creates an instance of ResetVpnClientSharedKeyFinalResult class. + */ + private ResetVpnClientSharedKeyFinalResult() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ResetVpnClientSharedKeyFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ResetVpnClientSharedKeyFinalResult 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 ResetVpnClientSharedKeyFinalResult. + */ + public static ResetVpnClientSharedKeyFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ResetVpnClientSharedKeyFinalResult deserializedResetVpnClientSharedKeyFinalResult + = new ResetVpnClientSharedKeyFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedResetVpnClientSharedKeyFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java index 2d64585b3841..207aa5782767 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ResiliencyModel extends ExpandableStringEnum { /** - * Static value SingleHomed for ResiliencyModel. + * SingleHomed. */ public static final ResiliencyModel SINGLE_HOMED = fromString("SingleHomed"); /** - * Static value MultiHomed for ResiliencyModel. + * MultiHomed. */ public static final ResiliencyModel MULTI_HOMED = fromString("MultiHomed"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java index 3846c01fc9f1..46f7bf4a76b8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Gateway Resiliency based Recommendations. */ -@Fluent +@Immutable public final class ResiliencyRecommendationComponents implements JsonSerializable { /* * Name of the Resiliency based Recommendation Component @@ -40,7 +40,7 @@ public final class ResiliencyRecommendationComponents implements JsonSerializabl /** * Creates an instance of ResiliencyRecommendationComponents class. */ - public ResiliencyRecommendationComponents() { + private ResiliencyRecommendationComponents() { } /** @@ -52,17 +52,6 @@ public String name() { return this.name; } - /** - * Set the name property: Name of the Resiliency based Recommendation Component. - * - * @param name the name value to set. - * @return the ResiliencyRecommendationComponents object itself. - */ - public ResiliencyRecommendationComponents withName(String name) { - this.name = name; - return this; - } - /** * Get the currentScore property: Current Score of the gateway. * @@ -72,17 +61,6 @@ public String currentScore() { return this.currentScore; } - /** - * Set the currentScore property: Current Score of the gateway. - * - * @param currentScore the currentScore value to set. - * @return the ResiliencyRecommendationComponents object itself. - */ - public ResiliencyRecommendationComponents withCurrentScore(String currentScore) { - this.currentScore = currentScore; - return this; - } - /** * Get the maxScore property: Max score that the gateway can achieve if the specified recommendation is applied. * @@ -92,17 +70,6 @@ public String maxScore() { return this.maxScore; } - /** - * Set the maxScore property: Max score that the gateway can achieve if the specified recommendation is applied. - * - * @param maxScore the maxScore value to set. - * @return the ResiliencyRecommendationComponents object itself. - */ - public ResiliencyRecommendationComponents withMaxScore(String maxScore) { - this.maxScore = maxScore; - return this; - } - /** * Get the recommendations property: List of Gateway Resiliency based Recommendations. * @@ -112,18 +79,6 @@ public List recommendations() { return this.recommendations; } - /** - * Set the recommendations property: List of Gateway Resiliency based Recommendations. - * - * @param recommendations the recommendations value to set. - * @return the ResiliencyRecommendationComponents object itself. - */ - public ResiliencyRecommendationComponents - withRecommendations(List recommendations) { - this.recommendations = recommendations; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java index ba12bba873df..a2d637af3542 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Representation of basic resource information. */ -@Fluent +@Immutable public final class ResourceBasics implements JsonSerializable { /* * ResourceId of the Azure resource. @@ -30,7 +30,7 @@ public final class ResourceBasics implements JsonSerializable { /** * Creates an instance of ResourceBasics class. */ - public ResourceBasics() { + private ResourceBasics() { } /** @@ -42,17 +42,6 @@ public String resourceId() { return this.resourceId; } - /** - * Set the resourceId property: ResourceId of the Azure resource. - * - * @param resourceId the resourceId value to set. - * @return the ResourceBasics object itself. - */ - public ResourceBasics withResourceId(String resourceId) { - this.resourceId = resourceId; - return this; - } - /** * Get the addressPrefixes property: List of IP address prefixes of the resource. * @@ -62,17 +51,6 @@ public List addressPrefixes() { return this.addressPrefixes; } - /** - * Set the addressPrefixes property: List of IP address prefixes of the resource. - * - * @param addressPrefixes the addressPrefixes value to set. - * @return the ResourceBasics object itself. - */ - public ResourceBasics withAddressPrefixes(List addressPrefixes) { - this.addressPrefixes = addressPrefixes; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java index 0ce28c8de749..8c14ed605bd4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -11,22 +11,22 @@ */ public enum ResourceIdentityType { /** - * Enum value SystemAssigned. + * SystemAssigned. */ SYSTEM_ASSIGNED("SystemAssigned"), /** - * Enum value UserAssigned. + * UserAssigned. */ USER_ASSIGNED("UserAssigned"), /** - * Enum value SystemAssigned, UserAssigned. + * SystemAssigned, UserAssigned. */ SYSTEM_ASSIGNED_USER_ASSIGNED("SystemAssigned, UserAssigned"), /** - * Enum value None. + * None. */ NONE("None"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java index 724658951ed3..cfc5243fb7d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * ResourceNavigationLink resource. */ -@Fluent +@Immutable public final class ResourceNavigationLink extends SubResource { /* * Resource navigation link properties format. @@ -27,6 +27,11 @@ public final class ResourceNavigationLink extends SubResource { */ private String name; + /* + * Resource navigation link identifier. + */ + private String id; + /* * A unique read-only string that changes whenever the resource is updated. */ @@ -40,7 +45,7 @@ public final class ResourceNavigationLink extends SubResource { /** * Creates an instance of ResourceNavigationLink class. */ - public ResourceNavigationLink() { + private ResourceNavigationLink() { } /** @@ -63,15 +68,13 @@ public String name() { } /** - * Set the name property: Name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * Get the id property: Resource navigation link identifier. * - * @param name the name value to set. - * @return the ResourceNavigationLink object itself. + * @return the id value. */ - public ResourceNavigationLink withName(String name) { - this.name = name; - return this; + @Override + public String id() { + return this.id; } /** @@ -92,15 +95,6 @@ public String type() { return this.type; } - /** - * {@inheritDoc} - */ - @Override - public ResourceNavigationLink withId(String id) { - super.withId(id); - return this; - } - /** * Get the linkedResourceType property: Resource type of the linked resource. * @@ -110,20 +104,6 @@ public String linkedResourceType() { return this.innerProperties() == null ? null : this.innerProperties().linkedResourceType(); } - /** - * Set the linkedResourceType property: Resource type of the linked resource. - * - * @param linkedResourceType the linkedResourceType value to set. - * @return the ResourceNavigationLink object itself. - */ - public ResourceNavigationLink withLinkedResourceType(String linkedResourceType) { - if (this.innerProperties() == null) { - this.innerProperties = new ResourceNavigationLinkFormat(); - } - this.innerProperties().withLinkedResourceType(linkedResourceType); - return this; - } - /** * Get the link property: Link to the external resource. * @@ -133,26 +113,12 @@ public String link() { return this.innerProperties() == null ? null : this.innerProperties().link(); } - /** - * Set the link property: Link to the external resource. - * - * @param link the link value to set. - * @return the ResourceNavigationLink object itself. - */ - public ResourceNavigationLink withLink(String link) { - if (this.innerProperties() == null) { - this.innerProperties = new ResourceNavigationLinkFormat(); - } - this.innerProperties().withLink(link); - return this; - } - /** * Get the provisioningState property: The provisioning state of the resource navigation link resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -173,7 +139,6 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", id()); jsonWriter.writeJsonField("properties", this.innerProperties); jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); @@ -194,12 +159,12 @@ public static ResourceNavigationLink fromJson(JsonReader jsonReader) throws IOEx String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { - deserializedResourceNavigationLink.withId(reader.getString()); - } else if ("properties".equals(fieldName)) { + if ("properties".equals(fieldName)) { deserializedResourceNavigationLink.innerProperties = ResourceNavigationLinkFormat.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedResourceNavigationLink.name = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedResourceNavigationLink.id = reader.getString(); } else if ("etag".equals(fieldName)) { deserializedResourceNavigationLink.etag = reader.getString(); } else if ("type".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java index 990e5648fe4b..2799f5c1a6e4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java new file mode 100644 index 000000000000..da9433438c60 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java @@ -0,0 +1,204 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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; + +/** + * Common resource representation. + */ +@Fluent +public class ResourceWithReadOnlyID implements JsonSerializable { + /* + * Resource ID. + */ + private String id; + + /* + * Resource name. + */ + private String name; + + /* + * Resource type. + */ + private String type; + + /* + * Resource location. + */ + private String location; + + /* + * Resource tags. + */ + private Map tags; + + /** + * Creates an instance of ResourceWithReadOnlyID class. + */ + public ResourceWithReadOnlyID() { + } + + /** + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the ResourceWithReadOnlyID object itself. + */ + ResourceWithReadOnlyID withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: Resource name. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Resource name. + * + * @param name the name value to set. + * @return the ResourceWithReadOnlyID object itself. + */ + ResourceWithReadOnlyID withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: Resource type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: Resource type. + * + * @param type the type value to set. + * @return the ResourceWithReadOnlyID object itself. + */ + ResourceWithReadOnlyID withType(String type) { + this.type = type; + return this; + } + + /** + * Get the location property: Resource location. + * + * @return the location value. + */ + public String location() { + return this.location; + } + + /** + * Set the location property: Resource location. + * + * @param location the location value to set. + * @return the ResourceWithReadOnlyID object itself. + */ + public ResourceWithReadOnlyID withLocation(String location) { + this.location = location; + return this; + } + + /** + * 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 ResourceWithReadOnlyID object itself. + */ + public ResourceWithReadOnlyID withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("location", this.location); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ResourceWithReadOnlyID from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ResourceWithReadOnlyID 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 ResourceWithReadOnlyID. + */ + public static ResourceWithReadOnlyID fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ResourceWithReadOnlyID deserializedResourceWithReadOnlyID = new ResourceWithReadOnlyID(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedResourceWithReadOnlyID.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedResourceWithReadOnlyID.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedResourceWithReadOnlyID.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedResourceWithReadOnlyID.location = reader.getString(); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedResourceWithReadOnlyID.tags = tags; + } else { + reader.skipChildren(); + } + } + + return deserializedResourceWithReadOnlyID; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java new file mode 100644 index 000000000000..719244c713ab --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java @@ -0,0 +1,205 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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 java.io.IOException; +import java.util.Map; + +/** + * Common resource representation. + */ +@Immutable +public class ResourceWithReadOnlyNameAndID implements JsonSerializable { + /* + * Resource ID. + */ + private String id; + + /* + * Resource name. + */ + private String name; + + /* + * Resource type. + */ + private String type; + + /* + * Resource location. + */ + private String location; + + /* + * Resource tags. + */ + private Map tags; + + /** + * Creates an instance of ResourceWithReadOnlyNameAndID class. + */ + protected ResourceWithReadOnlyNameAndID() { + } + + /** + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the ResourceWithReadOnlyNameAndID object itself. + */ + ResourceWithReadOnlyNameAndID withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: Resource name. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Resource name. + * + * @param name the name value to set. + * @return the ResourceWithReadOnlyNameAndID object itself. + */ + ResourceWithReadOnlyNameAndID withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: Resource type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: Resource type. + * + * @param type the type value to set. + * @return the ResourceWithReadOnlyNameAndID object itself. + */ + ResourceWithReadOnlyNameAndID withType(String type) { + this.type = type; + return this; + } + + /** + * Get the location property: Resource location. + * + * @return the location value. + */ + public String location() { + return this.location; + } + + /** + * Set the location property: Resource location. + * + * @param location the location value to set. + * @return the ResourceWithReadOnlyNameAndID object itself. + */ + ResourceWithReadOnlyNameAndID withLocation(String location) { + this.location = location; + return this; + } + + /** + * 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 ResourceWithReadOnlyNameAndID object itself. + */ + ResourceWithReadOnlyNameAndID withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("location", this.location); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ResourceWithReadOnlyNameAndID from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ResourceWithReadOnlyNameAndID 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 ResourceWithReadOnlyNameAndID. + */ + public static ResourceWithReadOnlyNameAndID fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ResourceWithReadOnlyNameAndID deserializedResourceWithReadOnlyNameAndID + = new ResourceWithReadOnlyNameAndID(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedResourceWithReadOnlyNameAndID.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedResourceWithReadOnlyNameAndID.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedResourceWithReadOnlyNameAndID.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedResourceWithReadOnlyNameAndID.location = reader.getString(); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedResourceWithReadOnlyNameAndID.tags = tags; + } else { + reader.skipChildren(); + } + } + + return deserializedResourceWithReadOnlyNameAndID; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java similarity index 50% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResource.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java index d735f2af6a08..1201b830b25b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResource.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java @@ -1,139 +1,152 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; 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; /** - * Tracked Resource - * - * The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a - * 'location'. + * Common resource representation. */ @Fluent -public final class TrackedResource extends SecurityPerimeterResource { +public class ResourceWithRequiredLocation implements JsonSerializable { /* - * Resource tags. + * Resource ID. */ - private Map tags; + private String id; /* - * The geo-location where the resource lives + * Resource name. */ - private String location; + private String name; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Resource type. */ - private SecurityPerimeterSystemData systemData; + private String type; /* - * The type of the resource. + * Resource location. */ - private String type; + private String location; /* - * The name of the resource. + * Resource tags. */ - private String name; + private Map tags; - /* - * Fully qualified resource Id for the resource. + /** + * Creates an instance of ResourceWithRequiredLocation class. */ - private String id; + public ResourceWithRequiredLocation() { + } + + /** + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } /** - * Creates an instance of TrackedResource class. + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the ResourceWithRequiredLocation object itself. */ - public TrackedResource() { + public ResourceWithRequiredLocation withId(String id) { + this.id = id; + return this; } /** - * Get the tags property: Resource tags. + * Get the name property: Resource name. * - * @return the tags value. + * @return the name value. */ - public Map tags() { - return this.tags; + public String name() { + return this.name; } /** - * Set the tags property: Resource tags. + * Set the name property: Resource name. * - * @param tags the tags value to set. - * @return the TrackedResource object itself. + * @param name the name value to set. + * @return the ResourceWithRequiredLocation object itself. */ - public TrackedResource withTags(Map tags) { - this.tags = tags; + ResourceWithRequiredLocation withName(String name) { + this.name = name; return this; } /** - * Get the location property: The geo-location where the resource lives. + * Get the type property: Resource type. * - * @return the location value. + * @return the type value. */ - public String location() { - return this.location; + public String type() { + return this.type; } /** - * Set the location property: The geo-location where the resource lives. + * Set the type property: Resource type. * - * @param location the location value to set. - * @return the TrackedResource object itself. + * @param type the type value to set. + * @return the ResourceWithRequiredLocation object itself. */ - public TrackedResource withLocation(String location) { - this.location = location; + ResourceWithRequiredLocation withType(String type) { + this.type = type; return this; } /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * Get the location property: Resource location. * - * @return the systemData value. + * @return the location value. */ - @Override - public SecurityPerimeterSystemData systemData() { - return this.systemData; + public String location() { + return this.location; } /** - * Get the type property: The type of the resource. + * Set the location property: Resource location. * - * @return the type value. + * @param location the location value to set. + * @return the ResourceWithRequiredLocation object itself. */ - @Override - public String type() { - return this.type; + public ResourceWithRequiredLocation withLocation(String location) { + this.location = location; + return this; } /** - * Get the name property: The name of the resource. + * Get the tags property: Resource tags. * - * @return the name value. + * @return the tags value. */ - @Override - public String name() { - return this.name; + public Map tags() { + return this.tags; } /** - * Get the id property: Fully qualified resource Id for the resource. + * Set the tags property: Resource tags. * - * @return the id value. + * @param tags the tags value to set. + * @return the ResourceWithRequiredLocation object itself. */ - @Override - public String id() { - return this.id; + public ResourceWithRequiredLocation withTags(Map tags) { + this.tags = tags; + return this; } /** @@ -141,18 +154,15 @@ public String id() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (location() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property location in model TrackedResource")); - } - if (systemData() != null) { - systemData().validate(); + .log(new IllegalArgumentException( + "Missing required property location in model ResourceWithRequiredLocation")); } } - private static final ClientLogger LOGGER = new ClientLogger(TrackedResource.class); + private static final ClientLogger LOGGER = new ClientLogger(ResourceWithRequiredLocation.class); /** * {@inheritDoc} @@ -161,45 +171,44 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", this.location); + jsonWriter.writeStringField("id", this.id); jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); return jsonWriter.writeEndObject(); } /** - * Reads an instance of TrackedResource from the JsonReader. + * Reads an instance of ResourceWithRequiredLocation from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of TrackedResource if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. + * @return An instance of ResourceWithRequiredLocation 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 TrackedResource. + * @throws IOException If an error occurs while reading the ResourceWithRequiredLocation. */ - public static TrackedResource fromJson(JsonReader jsonReader) throws IOException { + public static ResourceWithRequiredLocation fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - TrackedResource deserializedTrackedResource = new TrackedResource(); + ResourceWithRequiredLocation deserializedResourceWithRequiredLocation = new ResourceWithRequiredLocation(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { - deserializedTrackedResource.id = reader.getString(); + if ("location".equals(fieldName)) { + deserializedResourceWithRequiredLocation.location = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedResourceWithRequiredLocation.id = reader.getString(); } else if ("name".equals(fieldName)) { - deserializedTrackedResource.name = reader.getString(); + deserializedResourceWithRequiredLocation.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedTrackedResource.type = reader.getString(); - } else if ("systemData".equals(fieldName)) { - deserializedTrackedResource.systemData = SecurityPerimeterSystemData.fromJson(reader); - } else if ("location".equals(fieldName)) { - deserializedTrackedResource.location = reader.getString(); + deserializedResourceWithRequiredLocation.type = reader.getString(); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedTrackedResource.tags = tags; + deserializedResourceWithRequiredLocation.tags = tags; } else { reader.skipChildren(); } } - return deserializedTrackedResource; + return deserializedResourceWithRequiredLocation; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java new file mode 100644 index 000000000000..499e1b316ec1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java @@ -0,0 +1,206 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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; + +/** + * Common resource representation. + */ +@Fluent +public class ResourceWithWritableName implements JsonSerializable { + /* + * Resource ID. + */ + private String id; + + /* + * Resource name. + */ + private String name; + + /* + * Resource type. + */ + private String type; + + /* + * Resource location. + */ + private String location; + + /* + * Resource tags. + */ + private Map tags; + + /** + * Creates an instance of ResourceWithWritableName class. + */ + public ResourceWithWritableName() { + } + + /** + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the ResourceWithWritableName object itself. + */ + public ResourceWithWritableName withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: Resource name. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Resource name. + * + * @param name the name value to set. + * @return the ResourceWithWritableName object itself. + */ + public ResourceWithWritableName withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: Resource type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: Resource type. + * + * @param type the type value to set. + * @return the ResourceWithWritableName object itself. + */ + ResourceWithWritableName withType(String type) { + this.type = type; + return this; + } + + /** + * Get the location property: Resource location. + * + * @return the location value. + */ + public String location() { + return this.location; + } + + /** + * Set the location property: Resource location. + * + * @param location the location value to set. + * @return the ResourceWithWritableName object itself. + */ + public ResourceWithWritableName withLocation(String location) { + this.location = location; + return this; + } + + /** + * 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 ResourceWithWritableName object itself. + */ + public ResourceWithWritableName withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("location", this.location); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ResourceWithWritableName from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ResourceWithWritableName 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 ResourceWithWritableName. + */ + public static ResourceWithWritableName fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ResourceWithWritableName deserializedResourceWithWritableName = new ResourceWithWritableName(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedResourceWithWritableName.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedResourceWithWritableName.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedResourceWithWritableName.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedResourceWithWritableName.location = reader.getString(); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedResourceWithWritableName.tags = tags; + } else { + reader.skipChildren(); + } + } + + return deserializedResourceWithWritableName; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java index bd4c930b847c..55de1f121c30 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java index 4d14899c7dc2..12355924c6d6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,7 +12,7 @@ */ public final class RouteFilterRuleType extends ExpandableStringEnum { /** - * Static value Community for RouteFilterRuleType. + * Community. */ public static final RouteFilterRuleType COMMUNITY = fromString("Community"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java index 8bf6c2c21f9a..882745ba85c3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,27 +13,27 @@ */ public final class RouteMapActionType extends ExpandableStringEnum { /** - * Static value Unknown for RouteMapActionType. + * Unknown. */ public static final RouteMapActionType UNKNOWN = fromString("Unknown"); /** - * Static value Remove for RouteMapActionType. + * Remove. */ public static final RouteMapActionType REMOVE = fromString("Remove"); /** - * Static value Add for RouteMapActionType. + * Add. */ public static final RouteMapActionType ADD = fromString("Add"); /** - * Static value Replace for RouteMapActionType. + * Replace. */ public static final RouteMapActionType REPLACE = fromString("Replace"); /** - * Static value Drop for RouteMapActionType. + * Drop. */ public static final RouteMapActionType DROP = fromString("Drop"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java index e1bf3db63063..e8e8baa23026 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class RouteMapMatchCondition extends ExpandableStringEnum { /** - * Static value Unknown for RouteMapMatchCondition. + * Unknown. */ public static final RouteMapMatchCondition UNKNOWN = fromString("Unknown"); /** - * Static value Contains for RouteMapMatchCondition. + * Contains. */ public static final RouteMapMatchCondition CONTAINS = fromString("Contains"); /** - * Static value Equals for RouteMapMatchCondition. + * Equals. */ public static final RouteMapMatchCondition EQUALS = fromString("Equals"); /** - * Static value NotContains for RouteMapMatchCondition. + * NotContains. */ public static final RouteMapMatchCondition NOT_CONTAINS = fromString("NotContains"); /** - * Static value NotEquals for RouteMapMatchCondition. + * NotEquals. */ public static final RouteMapMatchCondition NOT_EQUALS = fromString("NotEquals"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java index 6834b2b964cd..cfaf1608babf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java index 1fb99a4f79b6..e68143877f0a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class RouteNextHopType extends ExpandableStringEnum { /** - * Static value VirtualNetworkGateway for RouteNextHopType. + * VirtualNetworkGateway. */ public static final RouteNextHopType VIRTUAL_NETWORK_GATEWAY = fromString("VirtualNetworkGateway"); /** - * Static value VnetLocal for RouteNextHopType. + * VnetLocal. */ public static final RouteNextHopType VNET_LOCAL = fromString("VnetLocal"); /** - * Static value Internet for RouteNextHopType. + * Internet. */ public static final RouteNextHopType INTERNET = fromString("Internet"); /** - * Static value VirtualAppliance for RouteNextHopType. + * VirtualAppliance. */ public static final RouteNextHopType VIRTUAL_APPLIANCE = fromString("VirtualAppliance"); /** - * Static value None for RouteNextHopType. + * None. */ public static final RouteNextHopType NONE = fromString("None"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java index f75151a2ce06..e7a63554087c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The RouteSourceDetails model. */ -@Fluent +@Immutable public final class RouteSourceDetails implements JsonSerializable { /* * Express Route Circuit identifier @@ -34,7 +34,7 @@ public final class RouteSourceDetails implements JsonSerializable { /** - * Static value ManagedOnly for RouteTableUsageMode. + * Only route tables managed by the routing configuration will be used. */ public static final RouteTableUsageMode MANAGED_ONLY = fromString("ManagedOnly"); /** - * Static value UseExisting for RouteTableUsageMode. + * Use existing user-defined route tables already associated with resources. */ public static final RouteTableUsageMode USE_EXISTING = fromString("UseExisting"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java index 8e8f5a21e47f..942a26b346f1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java index 160969966d6e..234d14018110 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java index 1049a2e2df35..ed06052ac35f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class RoutingRuleDestinationType extends ExpandableStringEnum { /** - * Static value AddressPrefix for RoutingRuleDestinationType. + * Destination specified as an IP address prefix (CIDR). */ public static final RoutingRuleDestinationType ADDRESS_PREFIX = fromString("AddressPrefix"); /** - * Static value ServiceTag for RoutingRuleDestinationType. + * Destination specified as an Azure service tag. */ public static final RoutingRuleDestinationType SERVICE_TAG = fromString("ServiceTag"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java index 30f989c8482e..ac12a39a860b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java index ec39777d2d39..caac31680f2f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class RoutingRuleNextHopType extends ExpandableStringEnum { /** - * Static value Internet for RoutingRuleNextHopType. + * Forward traffic to the Internet. */ public static final RoutingRuleNextHopType INTERNET = fromString("Internet"); /** - * Static value NoNextHop for RoutingRuleNextHopType. + * No next hop will be used. */ public static final RoutingRuleNextHopType NO_NEXT_HOP = fromString("NoNextHop"); /** - * Static value VirtualAppliance for RoutingRuleNextHopType. + * Forward traffic to a specified virtual appliance IP address. */ public static final RoutingRuleNextHopType VIRTUAL_APPLIANCE = fromString("VirtualAppliance"); /** - * Static value VirtualNetworkGateway for RoutingRuleNextHopType. + * Forward traffic to the virtual network gateway. */ public static final RoutingRuleNextHopType VIRTUAL_NETWORK_GATEWAY = fromString("VirtualNetworkGateway"); /** - * Static value VnetLocal for RoutingRuleNextHopType. + * Keep traffic within the local virtual network. */ public static final RoutingRuleNextHopType VNET_LOCAL = fromString("VnetLocal"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java index 209690efa548..d6d8c2f00a88 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingState.java index b2203f983899..62dfa2d26a19 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/RoutingState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class RoutingState extends ExpandableStringEnum { /** - * Static value None for RoutingState. + * None. */ public static final RoutingState NONE = fromString("None"); /** - * Static value Provisioned for RoutingState. + * Provisioned. */ public static final RoutingState PROVISIONED = fromString("Provisioned"); /** - * Static value Provisioning for RoutingState. + * Provisioning. */ public static final RoutingState PROVISIONING = fromString("Provisioning"); /** - * Static value Failed for RoutingState. + * Failed. */ public static final RoutingState FAILED = fromString("Failed"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java index 0c27f238fff6..9056cfdea1a0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class ScopeConnectionState extends ExpandableStringEnum { /** - * Static value Connected for ScopeConnectionState. + * Connected. */ public static final ScopeConnectionState CONNECTED = fromString("Connected"); /** - * Static value Pending for ScopeConnectionState. + * Pending. */ public static final ScopeConnectionState PENDING = fromString("Pending"); /** - * Static value Conflict for ScopeConnectionState. + * Conflict. */ public static final ScopeConnectionState CONFLICT = fromString("Conflict"); /** - * Static value Revoked for ScopeConnectionState. + * Revoked. */ public static final ScopeConnectionState REVOKED = fromString("Revoked"); /** - * Static value Rejected for ScopeConnectionState. + * Rejected. */ public static final ScopeConnectionState REJECTED = fromString("Rejected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java index aebda4f4a6d7..10454a40ac2d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ */ public final class ScrubbingRuleEntryMatchOperator extends ExpandableStringEnum { /** - * Static value Equals for ScrubbingRuleEntryMatchOperator. + * Equals. */ public static final ScrubbingRuleEntryMatchOperator EQUALS = fromString("Equals"); /** - * Static value EqualsAny for ScrubbingRuleEntryMatchOperator. + * EqualsAny. */ public static final ScrubbingRuleEntryMatchOperator EQUALS_ANY = fromString("EqualsAny"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java index 4b86a285abe2..44bfaab4e8af 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,32 +12,32 @@ */ public final class ScrubbingRuleEntryMatchVariable extends ExpandableStringEnum { /** - * Static value RequestHeaderNames for ScrubbingRuleEntryMatchVariable. + * RequestHeaderNames. */ public static final ScrubbingRuleEntryMatchVariable REQUEST_HEADER_NAMES = fromString("RequestHeaderNames"); /** - * Static value RequestCookieNames for ScrubbingRuleEntryMatchVariable. + * RequestCookieNames. */ public static final ScrubbingRuleEntryMatchVariable REQUEST_COOKIE_NAMES = fromString("RequestCookieNames"); /** - * Static value RequestArgNames for ScrubbingRuleEntryMatchVariable. + * RequestArgNames. */ public static final ScrubbingRuleEntryMatchVariable REQUEST_ARG_NAMES = fromString("RequestArgNames"); /** - * Static value RequestPostArgNames for ScrubbingRuleEntryMatchVariable. + * RequestPostArgNames. */ public static final ScrubbingRuleEntryMatchVariable REQUEST_POST_ARG_NAMES = fromString("RequestPostArgNames"); /** - * Static value RequestJSONArgNames for ScrubbingRuleEntryMatchVariable. + * RequestJSONArgNames. */ public static final ScrubbingRuleEntryMatchVariable REQUEST_JSONARG_NAMES = fromString("RequestJSONArgNames"); /** - * Static value RequestIPAddress for ScrubbingRuleEntryMatchVariable. + * RequestIPAddress. */ public static final ScrubbingRuleEntryMatchVariable REQUEST_IPADDRESS = fromString("RequestIPAddress"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java index 988fc2895fd6..4c54662b8bff 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class ScrubbingRuleEntryState extends ExpandableStringEnum { /** - * Static value Enabled for ScrubbingRuleEntryState. + * Enabled. */ public static final ScrubbingRuleEntryState ENABLED = fromString("Enabled"); /** - * Static value Disabled for ScrubbingRuleEntryState. + * Disabled. */ public static final ScrubbingRuleEntryState DISABLED = fromString("Disabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java index 383fff9bd000..7c2345c88d7d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class SecurityConfigurationRuleAccess extends ExpandableStringEnum { /** - * Static value Allow for SecurityConfigurationRuleAccess. + * Allow. */ public static final SecurityConfigurationRuleAccess ALLOW = fromString("Allow"); /** - * Static value Deny for SecurityConfigurationRuleAccess. + * Deny. */ public static final SecurityConfigurationRuleAccess DENY = fromString("Deny"); /** - * Static value AlwaysAllow for SecurityConfigurationRuleAccess. + * AlwaysAllow. */ public static final SecurityConfigurationRuleAccess ALWAYS_ALLOW = fromString("AlwaysAllow"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java index 1beca2d2bc94..5fc1ecc2b613 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class SecurityConfigurationRuleDirection extends ExpandableStringEnum { /** - * Static value Inbound for SecurityConfigurationRuleDirection. + * Inbound. */ public static final SecurityConfigurationRuleDirection INBOUND = fromString("Inbound"); /** - * Static value Outbound for SecurityConfigurationRuleDirection. + * Outbound. */ public static final SecurityConfigurationRuleDirection OUTBOUND = fromString("Outbound"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java index 8655a204a434..03a474fe7b84 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,32 +12,32 @@ */ public final class SecurityConfigurationRuleProtocol extends ExpandableStringEnum { /** - * Static value Tcp for SecurityConfigurationRuleProtocol. + * Tcp. */ public static final SecurityConfigurationRuleProtocol TCP = fromString("Tcp"); /** - * Static value Udp for SecurityConfigurationRuleProtocol. + * Udp. */ public static final SecurityConfigurationRuleProtocol UDP = fromString("Udp"); /** - * Static value Icmp for SecurityConfigurationRuleProtocol. + * Icmp. */ public static final SecurityConfigurationRuleProtocol ICMP = fromString("Icmp"); /** - * Static value Esp for SecurityConfigurationRuleProtocol. + * Esp. */ public static final SecurityConfigurationRuleProtocol ESP = fromString("Esp"); /** - * Static value Any for SecurityConfigurationRuleProtocol. + * Any. */ public static final SecurityConfigurationRuleProtocol ANY = fromString("Any"); /** - * Static value Ah for SecurityConfigurationRuleProtocol. + * Ah. */ public static final SecurityConfigurationRuleProtocol AH = fromString("Ah"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java index 87bbc2baf8b3..60cfd89c402a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Network interface and all its associated security rules. */ -@Fluent +@Immutable public final class SecurityGroupNetworkInterface implements JsonSerializable { /* * ID of the network interface. @@ -29,7 +29,7 @@ public final class SecurityGroupNetworkInterface implements JsonSerializable { /** - * Static value Unknown for SecurityPartnerProviderConnectionStatus. + * Unknown. */ public static final SecurityPartnerProviderConnectionStatus UNKNOWN = fromString("Unknown"); /** - * Static value PartiallyConnected for SecurityPartnerProviderConnectionStatus. + * PartiallyConnected. */ public static final SecurityPartnerProviderConnectionStatus PARTIALLY_CONNECTED = fromString("PartiallyConnected"); /** - * Static value Connected for SecurityPartnerProviderConnectionStatus. + * Connected. */ public static final SecurityPartnerProviderConnectionStatus CONNECTED = fromString("Connected"); /** - * Static value NotConnected for SecurityPartnerProviderConnectionStatus. + * NotConnected. */ public static final SecurityPartnerProviderConnectionStatus NOT_CONNECTED = fromString("NotConnected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java deleted file mode 100644 index de5f8091ace7..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Proxy Resource - * - * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. - */ -@Immutable -public class SecurityPerimeterProxyResource extends SecurityPerimeterResource { - /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - private SecurityPerimeterSystemData 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 SecurityPerimeterProxyResource class. - */ - public SecurityPerimeterProxyResource() { - } - - /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - @Override - public SecurityPerimeterSystemData 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; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - @Override - public void validate() { - if (systemData() != null) { - systemData().validate(); - } - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SecurityPerimeterProxyResource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SecurityPerimeterProxyResource 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 SecurityPerimeterProxyResource. - */ - public static SecurityPerimeterProxyResource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - SecurityPerimeterProxyResource deserializedSecurityPerimeterProxyResource - = new SecurityPerimeterProxyResource(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedSecurityPerimeterProxyResource.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedSecurityPerimeterProxyResource.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedSecurityPerimeterProxyResource.type = reader.getString(); - } else if ("systemData".equals(fieldName)) { - deserializedSecurityPerimeterProxyResource.systemData - = SecurityPerimeterSystemData.fromJson(reader); - } else { - reader.skipChildren(); - } - } - - return deserializedSecurityPerimeterProxyResource; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java deleted file mode 100644 index 9ed5d3b4e786..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.management.ProxyResource; -import com.azure.json.JsonReader; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; - -/** - * Resource - * - * Common fields that are returned in the response for all Azure Resource Manager resources. - */ -@Immutable -public class SecurityPerimeterResource extends ProxyResource { - /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - private SecurityPerimeterSystemData 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 SecurityPerimeterResource class. - */ - public SecurityPerimeterResource() { - } - - /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - public SecurityPerimeterSystemData systemData() { - return this.systemData; - } - - /** - * Set the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @param systemData the systemData value to set. - * @return the SecurityPerimeterResource object itself. - */ - SecurityPerimeterResource withSystemData(SecurityPerimeterSystemData systemData) { - this.systemData = systemData; - return this; - } - - /** - * 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; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (systemData() != null) { - systemData().validate(); - } - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SecurityPerimeterResource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SecurityPerimeterResource 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 SecurityPerimeterResource. - */ - public static SecurityPerimeterResource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - SecurityPerimeterResource deserializedSecurityPerimeterResource = new SecurityPerimeterResource(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedSecurityPerimeterResource.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedSecurityPerimeterResource.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedSecurityPerimeterResource.type = reader.getString(); - } else if ("systemData".equals(fieldName)) { - deserializedSecurityPerimeterResource.systemData = SecurityPerimeterSystemData.fromJson(reader); - } else { - reader.skipChildren(); - } - } - - return deserializedSecurityPerimeterResource; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java deleted file mode 100644 index f59c61bc652c..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java +++ /dev/null @@ -1,243 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.resourcemanager.network.models; - -import com.azure.core.annotation.Fluent; -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 java.io.IOException; -import java.time.OffsetDateTime; -import java.time.format.DateTimeFormatter; - -/** - * Metadata pertaining to creation and last modification of the resource. - */ -@Fluent -public final class SecurityPerimeterSystemData implements JsonSerializable { - /* - * The identity that created the resource. - */ - private String createdBy; - - /* - * The type of identity that created the resource. - */ - private CreatedByType createdByType; - - /* - * The timestamp of resource creation (UTC). - */ - private OffsetDateTime createdAt; - - /* - * The identity that last modified the resource. - */ - private String lastModifiedBy; - - /* - * The type of identity that last modified the resource. - */ - private CreatedByType lastModifiedByType; - - /* - * The timestamp of resource last modification (UTC) - */ - private OffsetDateTime lastModifiedAt; - - /** - * Creates an instance of SecurityPerimeterSystemData class. - */ - public SecurityPerimeterSystemData() { - } - - /** - * Get the createdBy property: The identity that created the resource. - * - * @return the createdBy value. - */ - public String createdBy() { - return this.createdBy; - } - - /** - * Set the createdBy property: The identity that created the resource. - * - * @param createdBy the createdBy value to set. - * @return the SecurityPerimeterSystemData object itself. - */ - public SecurityPerimeterSystemData withCreatedBy(String createdBy) { - this.createdBy = createdBy; - return this; - } - - /** - * Get the createdByType property: The type of identity that created the resource. - * - * @return the createdByType value. - */ - public CreatedByType createdByType() { - return this.createdByType; - } - - /** - * Set the createdByType property: The type of identity that created the resource. - * - * @param createdByType the createdByType value to set. - * @return the SecurityPerimeterSystemData object itself. - */ - public SecurityPerimeterSystemData withCreatedByType(CreatedByType createdByType) { - this.createdByType = createdByType; - return this; - } - - /** - * Get the createdAt property: The timestamp of resource creation (UTC). - * - * @return the createdAt value. - */ - public OffsetDateTime createdAt() { - return this.createdAt; - } - - /** - * Set the createdAt property: The timestamp of resource creation (UTC). - * - * @param createdAt the createdAt value to set. - * @return the SecurityPerimeterSystemData object itself. - */ - public SecurityPerimeterSystemData withCreatedAt(OffsetDateTime createdAt) { - this.createdAt = createdAt; - return this; - } - - /** - * Get the lastModifiedBy property: The identity that last modified the resource. - * - * @return the lastModifiedBy value. - */ - public String lastModifiedBy() { - return this.lastModifiedBy; - } - - /** - * Set the lastModifiedBy property: The identity that last modified the resource. - * - * @param lastModifiedBy the lastModifiedBy value to set. - * @return the SecurityPerimeterSystemData object itself. - */ - public SecurityPerimeterSystemData withLastModifiedBy(String lastModifiedBy) { - this.lastModifiedBy = lastModifiedBy; - return this; - } - - /** - * Get the lastModifiedByType property: The type of identity that last modified the resource. - * - * @return the lastModifiedByType value. - */ - public CreatedByType lastModifiedByType() { - return this.lastModifiedByType; - } - - /** - * Set the lastModifiedByType property: The type of identity that last modified the resource. - * - * @param lastModifiedByType the lastModifiedByType value to set. - * @return the SecurityPerimeterSystemData object itself. - */ - public SecurityPerimeterSystemData withLastModifiedByType(CreatedByType lastModifiedByType) { - this.lastModifiedByType = lastModifiedByType; - return this; - } - - /** - * Get the lastModifiedAt property: The timestamp of resource last modification (UTC). - * - * @return the lastModifiedAt value. - */ - public OffsetDateTime lastModifiedAt() { - return this.lastModifiedAt; - } - - /** - * Set the lastModifiedAt property: The timestamp of resource last modification (UTC). - * - * @param lastModifiedAt the lastModifiedAt value to set. - * @return the SecurityPerimeterSystemData object itself. - */ - public SecurityPerimeterSystemData withLastModifiedAt(OffsetDateTime lastModifiedAt) { - this.lastModifiedAt = lastModifiedAt; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("createdBy", this.createdBy); - jsonWriter.writeStringField("createdByType", this.createdByType == null ? null : this.createdByType.toString()); - jsonWriter.writeStringField("createdAt", - this.createdAt == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.createdAt)); - jsonWriter.writeStringField("lastModifiedBy", this.lastModifiedBy); - jsonWriter.writeStringField("lastModifiedByType", - this.lastModifiedByType == null ? null : this.lastModifiedByType.toString()); - jsonWriter.writeStringField("lastModifiedAt", - this.lastModifiedAt == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.lastModifiedAt)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of SecurityPerimeterSystemData from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of SecurityPerimeterSystemData 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 SecurityPerimeterSystemData. - */ - public static SecurityPerimeterSystemData fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - SecurityPerimeterSystemData deserializedSecurityPerimeterSystemData = new SecurityPerimeterSystemData(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("createdBy".equals(fieldName)) { - deserializedSecurityPerimeterSystemData.createdBy = reader.getString(); - } else if ("createdByType".equals(fieldName)) { - deserializedSecurityPerimeterSystemData.createdByType - = CreatedByType.fromString(reader.getString()); - } else if ("createdAt".equals(fieldName)) { - deserializedSecurityPerimeterSystemData.createdAt = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else if ("lastModifiedBy".equals(fieldName)) { - deserializedSecurityPerimeterSystemData.lastModifiedBy = reader.getString(); - } else if ("lastModifiedByType".equals(fieldName)) { - deserializedSecurityPerimeterSystemData.lastModifiedByType - = CreatedByType.fromString(reader.getString()); - } else if ("lastModifiedAt".equals(fieldName)) { - deserializedSecurityPerimeterSystemData.lastModifiedAt = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); - } else { - reader.skipChildren(); - } - } - - return deserializedSecurityPerimeterSystemData; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java index a9da578a23e6..2f53f8d1b3d5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class SecurityProviderName extends ExpandableStringEnum { /** - * Static value ZScaler for SecurityProviderName. + * ZScaler. */ public static final SecurityProviderName ZSCALER = fromString("ZScaler"); /** - * Static value IBoss for SecurityProviderName. + * IBoss. */ public static final SecurityProviderName IBOSS = fromString("IBoss"); /** - * Static value Checkpoint for SecurityProviderName. + * Checkpoint. */ public static final SecurityProviderName CHECKPOINT = fromString("Checkpoint"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java index d6535b8292c7..4c8d7d0ec9a4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class SecurityRuleAccess extends ExpandableStringEnum { /** - * Static value Allow for SecurityRuleAccess. + * Allow. */ public static final SecurityRuleAccess ALLOW = fromString("Allow"); /** - * Static value Deny for SecurityRuleAccess. + * Deny. */ public static final SecurityRuleAccess DENY = fromString("Deny"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java index 4e722eb3767f..5731157abe59 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * All security rules associated with the network interface. */ -@Fluent +@Immutable public final class SecurityRuleAssociations implements JsonSerializable { /* * Network interface and it's custom security rules. @@ -41,7 +41,7 @@ public final class SecurityRuleAssociations implements JsonSerializable defaultSecurityRules() { return this.defaultSecurityRules; } - /** - * Set the defaultSecurityRules property: Collection of default security rules of the network security group. - * - * @param defaultSecurityRules the defaultSecurityRules value to set. - * @return the SecurityRuleAssociations object itself. - */ - public SecurityRuleAssociations withDefaultSecurityRules(List defaultSecurityRules) { - this.defaultSecurityRules = defaultSecurityRules; - return this; - } - /** * Get the effectiveSecurityRules property: Collection of effective security rules. * @@ -114,18 +80,6 @@ public List effectiveSecurityRules() { return this.effectiveSecurityRules; } - /** - * Set the effectiveSecurityRules property: Collection of effective security rules. - * - * @param effectiveSecurityRules the effectiveSecurityRules value to set. - * @return the SecurityRuleAssociations object itself. - */ - public SecurityRuleAssociations - withEffectiveSecurityRules(List effectiveSecurityRules) { - this.effectiveSecurityRules = effectiveSecurityRules; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java index 05a30cbb67b7..e2bebb1f2147 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class SecurityRuleDirection extends ExpandableStringEnum { /** - * Static value Inbound for SecurityRuleDirection. + * Inbound. */ public static final SecurityRuleDirection INBOUND = fromString("Inbound"); /** - * Static value Outbound for SecurityRuleDirection. + * Outbound. */ public static final SecurityRuleDirection OUTBOUND = fromString("Outbound"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java index 450994bb6526..ea7b09aa7c06 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,32 +12,32 @@ */ public final class SecurityRuleProtocol extends ExpandableStringEnum { /** - * Static value Tcp for SecurityRuleProtocol. + * Tcp. */ public static final SecurityRuleProtocol TCP = fromString("Tcp"); /** - * Static value Udp for SecurityRuleProtocol. + * Udp. */ public static final SecurityRuleProtocol UDP = fromString("Udp"); /** - * Static value Icmp for SecurityRuleProtocol. + * Icmp. */ public static final SecurityRuleProtocol ICMP = fromString("Icmp"); /** - * Static value Esp for SecurityRuleProtocol. + * Esp. */ public static final SecurityRuleProtocol ESP = fromString("Esp"); /** - * Static value * for SecurityRuleProtocol. + * *. */ public static final SecurityRuleProtocol ASTERISK = fromString("*"); /** - * Static value Ah for SecurityRuleProtocol. + * Ah. */ public static final SecurityRuleProtocol AH = fromString("Ah"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java index 3cecc74e093d..7f8d4648bb0a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java index e87ee25910e5..56acd733dd14 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class SensitivityType extends ExpandableStringEnum { /** - * Static value Low for SensitivityType. + * Low. */ public static final SensitivityType LOW = fromString("Low"); /** - * Static value Medium for SensitivityType. + * Medium. */ public static final SensitivityType MEDIUM = fromString("Medium"); /** - * Static value High for SensitivityType. + * High. */ public static final SensitivityType HIGH = fromString("High"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java index 1c14e782f408..c166ebd14ed7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * ServiceAssociationLink resource. */ -@Fluent +@Immutable public final class ServiceAssociationLink extends SubResource { /* * Resource navigation link properties format. @@ -41,7 +41,7 @@ public final class ServiceAssociationLink extends SubResource { /** * Creates an instance of ServiceAssociationLink class. */ - public ServiceAssociationLink() { + private ServiceAssociationLink() { } /** @@ -63,18 +63,6 @@ public String name() { return this.name; } - /** - * Set the name property: Name of the resource that is unique within a resource group. This name can be used to - * access the resource. - * - * @param name the name value to set. - * @return the ServiceAssociationLink object itself. - */ - public ServiceAssociationLink withName(String name) { - this.name = name; - return this; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -93,15 +81,6 @@ public String type() { return this.type; } - /** - * {@inheritDoc} - */ - @Override - public ServiceAssociationLink withId(String id) { - super.withId(id); - return this; - } - /** * Get the linkedResourceType property: Resource type of the linked resource. * @@ -111,20 +90,6 @@ public String linkedResourceType() { return this.innerProperties() == null ? null : this.innerProperties().linkedResourceType(); } - /** - * Set the linkedResourceType property: Resource type of the linked resource. - * - * @param linkedResourceType the linkedResourceType value to set. - * @return the ServiceAssociationLink object itself. - */ - public ServiceAssociationLink withLinkedResourceType(String linkedResourceType) { - if (this.innerProperties() == null) { - this.innerProperties = new ServiceAssociationLinkPropertiesFormat(); - } - this.innerProperties().withLinkedResourceType(linkedResourceType); - return this; - } - /** * Get the link property: Link to the external resource. * @@ -134,26 +99,12 @@ public String link() { return this.innerProperties() == null ? null : this.innerProperties().link(); } - /** - * Set the link property: Link to the external resource. - * - * @param link the link value to set. - * @return the ServiceAssociationLink object itself. - */ - public ServiceAssociationLink withLink(String link) { - if (this.innerProperties() == null) { - this.innerProperties = new ServiceAssociationLinkPropertiesFormat(); - } - this.innerProperties().withLink(link); - return this; - } - /** * Get the provisioningState property: The provisioning state of the service association link resource. * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } @@ -166,20 +117,6 @@ public Boolean allowDelete() { return this.innerProperties() == null ? null : this.innerProperties().allowDelete(); } - /** - * Set the allowDelete property: If true, the resource can be deleted. - * - * @param allowDelete the allowDelete value to set. - * @return the ServiceAssociationLink object itself. - */ - public ServiceAssociationLink withAllowDelete(Boolean allowDelete) { - if (this.innerProperties() == null) { - this.innerProperties = new ServiceAssociationLinkPropertiesFormat(); - } - this.innerProperties().withAllowDelete(allowDelete); - return this; - } - /** * Get the locations property: A list of locations. * @@ -189,20 +126,6 @@ public List locations() { return this.innerProperties() == null ? null : this.innerProperties().locations(); } - /** - * Set the locations property: A list of locations. - * - * @param locations the locations value to set. - * @return the ServiceAssociationLink object itself. - */ - public ServiceAssociationLink withLocations(List locations) { - if (this.innerProperties() == null) { - this.innerProperties = new ServiceAssociationLinkPropertiesFormat(); - } - this.innerProperties().withLocations(locations); - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java index 939d8f033fcc..d34fc85308dd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -36,7 +36,7 @@ public final class ServiceEndpointPropertiesFormat implements JsonSerializable locations) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.provisioningState; } @@ -158,7 +158,7 @@ public static ServiceEndpointPropertiesFormat fromJson(JsonReader jsonReader) th deserializedServiceEndpointPropertiesFormat.locations = locations; } else if ("provisioningState".equals(fieldName)) { deserializedServiceEndpointPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = NetworkProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java index 3233b2c1bc23..b6272b598814 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java index 4450ba99ef5f..47d4051696b8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java index 6e087229a199..92f4bbf8d2dd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java index 548df187f15f..ac4332572954 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,7 +12,7 @@ */ public final class ServiceGatewaySkuName extends ExpandableStringEnum { /** - * Static value Standard for ServiceGatewaySkuName. + * Standard. */ public static final ServiceGatewaySkuName STANDARD = fromString("Standard"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java index c34718aedd3f..14e11c4d0409 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,7 +12,7 @@ */ public final class ServiceGatewaySkuTier extends ExpandableStringEnum { /** - * Static value Regional for ServiceGatewaySkuTier. + * Regional. */ public static final ServiceGatewaySkuTier REGIONAL = fromString("Regional"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java index 2c63707cea75..35d66273591b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java index f3a0b423354c..64fc83f32c8a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java index 2928b955d0da..f5fee8e56773 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class ServiceProviderProvisioningState extends ExpandableStringEnum { /** - * Static value NotProvisioned for ServiceProviderProvisioningState. + * NotProvisioned. */ public static final ServiceProviderProvisioningState NOT_PROVISIONED = fromString("NotProvisioned"); /** - * Static value Provisioning for ServiceProviderProvisioningState. + * Provisioning. */ public static final ServiceProviderProvisioningState PROVISIONING = fromString("Provisioning"); /** - * Static value Provisioned for ServiceProviderProvisioningState. + * Provisioned. */ public static final ServiceProviderProvisioningState PROVISIONED = fromString("Provisioned"); /** - * Static value Deprovisioning for ServiceProviderProvisioningState. + * Deprovisioning. */ public static final ServiceProviderProvisioningState DEPROVISIONING = fromString("Deprovisioning"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java index c40b5e57754b..9e2bb362f9fe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -46,7 +46,7 @@ public final class ServiceTagInformationPropertiesFormat /** * Creates an instance of ServiceTagInformationPropertiesFormat class. */ - public ServiceTagInformationPropertiesFormat() { + private ServiceTagInformationPropertiesFormat() { } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceType.java index 39d7d31b2d02..52fb44f7e169 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class ServiceType extends ExpandableStringEnum { /** - * Static value Inbound for ServiceType. + * Inbound. */ public static final ServiceType INBOUND = fromString("Inbound"); /** - * Static value Outbound for ServiceType. + * Outbound. */ public static final ServiceType OUTBOUND = fromString("Outbound"); /** - * Static value InboundOutbound for ServiceType. + * InboundOutbound. */ public static final ServiceType INBOUND_OUTBOUND = fromString("InboundOutbound"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java index 1ad4cd3e5015..6d86d2eaf187 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,12 +16,12 @@ */ public final class ServiceUpdateAction extends ExpandableStringEnum { /** - * Static value FullUpdate for ServiceUpdateAction. + * FullUpdate. */ public static final ServiceUpdateAction FULL_UPDATE = fromString("FullUpdate"); /** - * Static value PartialUpdate for ServiceUpdateAction. + * PartialUpdate. */ public static final ServiceUpdateAction PARTIAL_UPDATE = fromString("PartialUpdate"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SessionIds.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SessionIds.java index 5d94d284b61b..87c1f2ca9f3a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SessionIds.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SessionIds.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Severity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Severity.java index f19a2cd5f6a4..ddcae2685593 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Severity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Severity.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class Severity extends ExpandableStringEnum { /** - * Static value Error for Severity. + * Error. */ public static final Severity ERROR = fromString("Error"); /** - * Static value Warning for Severity. + * Warning. */ public static final Severity WARNING = fromString("Warning"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java index ad0ce5849a5b..82f65b685f58 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -29,7 +29,7 @@ public final class SharedKeyProperties implements JsonSerializable { /** - * Static value Tenant for SharingScope. + * Tenant. */ public static final SharingScope TENANT = fromString("Tenant"); /** - * Static value DelegatedServices for SharingScope. + * DelegatedServices. */ public static final SharingScope DELEGATED_SERVICES = fromString("DelegatedServices"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java index b5abdd847d17..d4b1ca59c9ad 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java index 84f74aeb4932..88d746da95d0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java index 447198b53a06..872bb3acd4f4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * The SingleQueryResult model. */ -@Fluent +@Immutable public final class SingleQueryResult implements JsonSerializable { /* * The ID of the signature @@ -25,18 +25,18 @@ public final class SingleQueryResult implements JsonSerializable sourcePorts() { return this.sourcePorts; } - /** - * Set the sourcePorts property: Describes the list of source ports related to this signature. - * - * @param sourcePorts the sourcePorts value to set. - * @return the SingleQueryResult object itself. - */ - public SingleQueryResult withSourcePorts(List sourcePorts) { - this.sourcePorts = sourcePorts; - return this; - } - /** * Get the destinationPorts property: Describes the list of destination ports related to this signature. * @@ -250,17 +161,6 @@ public List destinationPorts() { return this.destinationPorts; } - /** - * Set the destinationPorts property: Describes the list of destination ports related to this signature. - * - * @param destinationPorts the destinationPorts value to set. - * @return the SingleQueryResult object itself. - */ - public SingleQueryResult withDestinationPorts(List destinationPorts) { - this.destinationPorts = destinationPorts; - return this; - } - /** * Get the lastUpdated property: Describes the last updated time of the signature (provided from 3rd party vendor). * @@ -270,17 +170,6 @@ public String lastUpdated() { return this.lastUpdated; } - /** - * Set the lastUpdated property: Describes the last updated time of the signature (provided from 3rd party vendor). - * - * @param lastUpdated the lastUpdated value to set. - * @return the SingleQueryResult object itself. - */ - public SingleQueryResult withLastUpdated(String lastUpdated) { - this.lastUpdated = lastUpdated; - return this; - } - /** * Get the inheritedFromParentPolicy property: Describes if this override is inherited from base policy or not. * @@ -290,17 +179,6 @@ public Boolean inheritedFromParentPolicy() { return this.inheritedFromParentPolicy; } - /** - * Set the inheritedFromParentPolicy property: Describes if this override is inherited from base policy or not. - * - * @param inheritedFromParentPolicy the inheritedFromParentPolicy value to set. - * @return the SingleQueryResult object itself. - */ - public SingleQueryResult withInheritedFromParentPolicy(Boolean inheritedFromParentPolicy) { - this.inheritedFromParentPolicy = inheritedFromParentPolicy; - return this; - } - /** * Validates the instance. * @@ -348,13 +226,13 @@ public static SingleQueryResult fromJson(JsonReader jsonReader) throws IOExcepti if ("signatureId".equals(fieldName)) { deserializedSingleQueryResult.signatureId = reader.getNullable(JsonReader::getInt); } else if ("mode".equals(fieldName)) { - deserializedSingleQueryResult.mode = FirewallPolicyIdpsSignatureMode.fromInt(reader.getInt()); + deserializedSingleQueryResult.mode = FirewallPolicyIDPSSignatureMode.fromInt(reader.getInt()); } else if ("severity".equals(fieldName)) { deserializedSingleQueryResult.severity - = FirewallPolicyIdpsSignatureSeverity.fromInt(reader.getInt()); + = FirewallPolicyIDPSSignatureSeverity.fromInt(reader.getInt()); } else if ("direction".equals(fieldName)) { deserializedSingleQueryResult.direction - = FirewallPolicyIdpsSignatureDirection.fromInt(reader.getInt()); + = FirewallPolicyIDPSSignatureDirection.fromInt(reader.getInt()); } else if ("group".equals(fieldName)) { deserializedSingleQueryResult.group = reader.getString(); } else if ("description".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java new file mode 100644 index 000000000000..520312aea6fa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingletonResource.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.network.models; + +/** + * Defines values for SingletonResource. + */ +public enum SingletonResource { + /** + * Enum value swap. + */ + SWAP("swap"); + + /** + * The actual serialized value for a SingletonResource instance. + */ + private final String value; + + SingletonResource(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a SingletonResource instance. + * + * @param value the serialized value to parse. + * @return the parsed SingletonResource object, or null if unable to parse. + */ + public static SingletonResource fromString(String value) { + if (value == null) { + return null; + } + SingletonResource[] items = SingletonResource.values(); + for (SingletonResource item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return this.value; + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Sku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Sku.java index 07824b4f1df5..2b29d06ccb78 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Sku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Sku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SlotType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SlotType.java index a9507dd7b408..09984b282079 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SlotType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SlotType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -9,12 +9,12 @@ */ public enum SlotType { /** - * Enum value Production. + * Production. */ PRODUCTION("Production"), /** - * Enum value Staging. + * Staging. */ STAGING("Staging"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java new file mode 100644 index 000000000000..7aebafe67bbb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 StartExpressRouteSiteFailoverSimulationFinalResult model. + */ +@Immutable +public final class StartExpressRouteSiteFailoverSimulationFinalResult + implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of StartExpressRouteSiteFailoverSimulationFinalResult class. + */ + private StartExpressRouteSiteFailoverSimulationFinalResult() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model StartExpressRouteSiteFailoverSimulationFinalResult")); + } + } + + private static final ClientLogger LOGGER + = new ClientLogger(StartExpressRouteSiteFailoverSimulationFinalResult.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StartExpressRouteSiteFailoverSimulationFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StartExpressRouteSiteFailoverSimulationFinalResult 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 StartExpressRouteSiteFailoverSimulationFinalResult. + */ + public static StartExpressRouteSiteFailoverSimulationFinalResult fromJson(JsonReader jsonReader) + throws IOException { + return jsonReader.readObject(reader -> { + StartExpressRouteSiteFailoverSimulationFinalResult deserializedStartExpressRouteSiteFailoverSimulationFinalResult + = new StartExpressRouteSiteFailoverSimulationFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedStartExpressRouteSiteFailoverSimulationFinalResult.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedStartExpressRouteSiteFailoverSimulationFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.java new file mode 100644 index 000000000000..76c4755a9230 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.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.network.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 java.io.IOException; + +/** + * The StartFinalResult model. + */ +@Immutable +public final class StartFinalResult implements JsonSerializable { + /** + * Creates an instance of StartFinalResult class. + */ + private StartFinalResult() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StartFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StartFinalResult 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 StartFinalResult. + */ + public static StartFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + StartFinalResult deserializedStartFinalResult = new StartFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedStartFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java new file mode 100644 index 000000000000..bd2c4173f7c1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 StartPacketCaptureFinalResult model. + */ +@Immutable +public final class StartPacketCaptureFinalResult implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of StartPacketCaptureFinalResult class. + */ + private StartPacketCaptureFinalResult() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model StartPacketCaptureFinalResult")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(StartPacketCaptureFinalResult.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StartPacketCaptureFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StartPacketCaptureFinalResult 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 StartPacketCaptureFinalResult. + */ + public static StartPacketCaptureFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + StartPacketCaptureFinalResult deserializedStartPacketCaptureFinalResult + = new StartPacketCaptureFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedStartPacketCaptureFinalResult.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedStartPacketCaptureFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java new file mode 100644 index 000000000000..c04cbb714416 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 StartPacketCaptureFinalResult1 model. + */ +@Immutable +public final class StartPacketCaptureFinalResult1 implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of StartPacketCaptureFinalResult1 class. + */ + private StartPacketCaptureFinalResult1() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model StartPacketCaptureFinalResult1")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(StartPacketCaptureFinalResult1.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StartPacketCaptureFinalResult1 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StartPacketCaptureFinalResult1 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 StartPacketCaptureFinalResult1. + */ + public static StartPacketCaptureFinalResult1 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + StartPacketCaptureFinalResult1 deserializedStartPacketCaptureFinalResult1 + = new StartPacketCaptureFinalResult1(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedStartPacketCaptureFinalResult1.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedStartPacketCaptureFinalResult1; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java new file mode 100644 index 000000000000..fcedbe5267d5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 StartPacketCaptureFinalResult2 model. + */ +@Immutable +public final class StartPacketCaptureFinalResult2 implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of StartPacketCaptureFinalResult2 class. + */ + private StartPacketCaptureFinalResult2() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model StartPacketCaptureFinalResult2")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(StartPacketCaptureFinalResult2.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StartPacketCaptureFinalResult2 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StartPacketCaptureFinalResult2 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 StartPacketCaptureFinalResult2. + */ + public static StartPacketCaptureFinalResult2 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + StartPacketCaptureFinalResult2 deserializedStartPacketCaptureFinalResult2 + = new StartPacketCaptureFinalResult2(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedStartPacketCaptureFinalResult2.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedStartPacketCaptureFinalResult2; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java index 29e1cea54771..cbbcfefedf52 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -26,7 +26,7 @@ public final class StaticCidrProperties implements JsonSerializable addressPrefixes) { } /** - * Get the totalNumberOfIpAddresses property: Total number of IP addresses allocated for the static CIDR resource. + * Get the totalNumberOfIPAddresses property: Total number of IP addresses allocated for the static CIDR resource. * - * @return the totalNumberOfIpAddresses value. + * @return the totalNumberOfIPAddresses value. */ - public String totalNumberOfIpAddresses() { - return this.totalNumberOfIpAddresses; + public String totalNumberOfIPAddresses() { + return this.totalNumberOfIPAddresses; } /** @@ -129,17 +129,6 @@ public ProvisioningState provisioningState() { return this.provisioningState; } - /** - * Set the provisioningState property: Provisioning states of a resource. - * - * @param provisioningState the provisioningState value to set. - * @return the StaticCidrProperties object itself. - */ - public StaticCidrProperties withProvisioningState(ProvisioningState provisioningState) { - this.provisioningState = provisioningState; - return this; - } - /** * Validates the instance. * @@ -155,11 +144,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("numberOfIPAddressesToAllocate", this.numberOfIpAddressesToAllocate); + jsonWriter.writeStringField("numberOfIPAddressesToAllocate", this.numberOfIPAddressesToAllocate); jsonWriter.writeArrayField("addressPrefixes", this.addressPrefixes, (writer, element) -> writer.writeString(element)); - jsonWriter.writeStringField("provisioningState", - this.provisioningState == null ? null : this.provisioningState.toString()); return jsonWriter.writeEndObject(); } @@ -181,12 +168,12 @@ public static StaticCidrProperties fromJson(JsonReader jsonReader) throws IOExce if ("description".equals(fieldName)) { deserializedStaticCidrProperties.description = reader.getString(); } else if ("numberOfIPAddressesToAllocate".equals(fieldName)) { - deserializedStaticCidrProperties.numberOfIpAddressesToAllocate = reader.getString(); + deserializedStaticCidrProperties.numberOfIPAddressesToAllocate = reader.getString(); } else if ("addressPrefixes".equals(fieldName)) { List addressPrefixes = reader.readArray(reader1 -> reader1.getString()); deserializedStaticCidrProperties.addressPrefixes = addressPrefixes; } else if ("totalNumberOfIPAddresses".equals(fieldName)) { - deserializedStaticCidrProperties.totalNumberOfIpAddresses = reader.getString(); + deserializedStaticCidrProperties.totalNumberOfIPAddresses = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedStaticCidrProperties.provisioningState = ProvisioningState.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java index b6d2a7cb0b89..c2524705633e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java index c813932f78a6..c37645d70312 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java new file mode 100644 index 000000000000..5ddddfc06def --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 StopExpressRouteSiteFailoverSimulationFinalResult model. + */ +@Immutable +public final class StopExpressRouteSiteFailoverSimulationFinalResult + implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of StopExpressRouteSiteFailoverSimulationFinalResult class. + */ + private StopExpressRouteSiteFailoverSimulationFinalResult() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model StopExpressRouteSiteFailoverSimulationFinalResult")); + } + } + + private static final ClientLogger LOGGER + = new ClientLogger(StopExpressRouteSiteFailoverSimulationFinalResult.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StopExpressRouteSiteFailoverSimulationFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StopExpressRouteSiteFailoverSimulationFinalResult 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 StopExpressRouteSiteFailoverSimulationFinalResult. + */ + public static StopExpressRouteSiteFailoverSimulationFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + StopExpressRouteSiteFailoverSimulationFinalResult deserializedStopExpressRouteSiteFailoverSimulationFinalResult + = new StopExpressRouteSiteFailoverSimulationFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedStopExpressRouteSiteFailoverSimulationFinalResult.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedStopExpressRouteSiteFailoverSimulationFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java new file mode 100644 index 000000000000..71f308b89d95 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.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.network.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 java.io.IOException; + +/** + * The StopFinalResult model. + */ +@Immutable +public final class StopFinalResult implements JsonSerializable { + /** + * Creates an instance of StopFinalResult class. + */ + private StopFinalResult() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StopFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StopFinalResult 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 StopFinalResult. + */ + public static StopFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + StopFinalResult deserializedStopFinalResult = new StopFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedStopFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult1.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult1.java new file mode 100644 index 000000000000..236d775d368d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult1.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.network.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 java.io.IOException; + +/** + * The StopFinalResult1 model. + */ +@Immutable +public final class StopFinalResult1 implements JsonSerializable { + /** + * Creates an instance of StopFinalResult1 class. + */ + private StopFinalResult1() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StopFinalResult1 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StopFinalResult1 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 StopFinalResult1. + */ + public static StopFinalResult1 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + StopFinalResult1 deserializedStopFinalResult1 = new StopFinalResult1(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedStopFinalResult1; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java new file mode 100644 index 000000000000..1b8ac596661f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java @@ -0,0 +1,91 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 StopPacketCaptureFinalResult model. + */ +@Immutable +public final class StopPacketCaptureFinalResult implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of StopPacketCaptureFinalResult class. + */ + private StopPacketCaptureFinalResult() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model StopPacketCaptureFinalResult")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(StopPacketCaptureFinalResult.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StopPacketCaptureFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StopPacketCaptureFinalResult 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 StopPacketCaptureFinalResult. + */ + public static StopPacketCaptureFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + StopPacketCaptureFinalResult deserializedStopPacketCaptureFinalResult = new StopPacketCaptureFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedStopPacketCaptureFinalResult.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedStopPacketCaptureFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java new file mode 100644 index 000000000000..65c15d6a8209 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 StopPacketCaptureFinalResult1 model. + */ +@Immutable +public final class StopPacketCaptureFinalResult1 implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of StopPacketCaptureFinalResult1 class. + */ + private StopPacketCaptureFinalResult1() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model StopPacketCaptureFinalResult1")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(StopPacketCaptureFinalResult1.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StopPacketCaptureFinalResult1 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StopPacketCaptureFinalResult1 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 StopPacketCaptureFinalResult1. + */ + public static StopPacketCaptureFinalResult1 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + StopPacketCaptureFinalResult1 deserializedStopPacketCaptureFinalResult1 + = new StopPacketCaptureFinalResult1(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedStopPacketCaptureFinalResult1.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedStopPacketCaptureFinalResult1; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java new file mode 100644 index 000000000000..2f57ab48e57a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 StopPacketCaptureFinalResult2 model. + */ +@Immutable +public final class StopPacketCaptureFinalResult2 implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of StopPacketCaptureFinalResult2 class. + */ + private StopPacketCaptureFinalResult2() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model StopPacketCaptureFinalResult2")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(StopPacketCaptureFinalResult2.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StopPacketCaptureFinalResult2 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StopPacketCaptureFinalResult2 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 StopPacketCaptureFinalResult2. + */ + public static StopPacketCaptureFinalResult2 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + StopPacketCaptureFinalResult2 deserializedStopPacketCaptureFinalResult2 + = new StopPacketCaptureFinalResult2(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedStopPacketCaptureFinalResult2.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedStopPacketCaptureFinalResult2; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java new file mode 100644 index 000000000000..93588207a5a9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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; + +/** + * Reference to another subresource. + */ +@Fluent +public class SubResourceModel implements JsonSerializable { + /* + * Resource ID. + */ + private String id; + + /* + * Name of the resource. + */ + private String name; + + /* + * Resource type. + */ + private String type; + + /** + * Creates an instance of SubResourceModel class. + */ + public SubResourceModel() { + } + + /** + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the SubResourceModel object itself. + */ + public SubResourceModel withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: Name of the resource. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Name of the resource. + * + * @param name the name value to set. + * @return the SubResourceModel object itself. + */ + public SubResourceModel withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: Resource type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: Resource type. + * + * @param type the type value to set. + * @return the SubResourceModel object itself. + */ + SubResourceModel withType(String type) { + this.type = type; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("name", this.name); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SubResourceModel from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SubResourceModel 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 SubResourceModel. + */ + public static SubResourceModel fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + SubResourceModel deserializedSubResourceModel = new SubResourceModel(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedSubResourceModel.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedSubResourceModel.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedSubResourceModel.type = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedSubResourceModel; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java index dbb526cc9902..5c8a0a7475e2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,7 +16,7 @@ /** * Subnet and it's custom security rules. */ -@Fluent +@Immutable public final class SubnetAssociation implements JsonSerializable { /* * Subnet ID. @@ -31,7 +31,7 @@ public final class SubnetAssociation implements JsonSerializable securityRules() { return this.securityRules; } - /** - * Set the securityRules property: Collection of custom security rules. - * - * @param securityRules the securityRules value to set. - * @return the SubnetAssociation object itself. - */ - public SubnetAssociation withSecurityRules(List securityRules) { - this.securityRules = securityRules; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java index 24bd8b568ede..9c5c9943e19a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java index a426c05070ef..48f43dbd8ace 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SyncMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SyncMode.java index a4eaa0d8ac98..324b36e0fc95 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SyncMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SyncMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class SyncMode extends ExpandableStringEnum { /** - * Static value Automatic for SyncMode. + * Automatic. */ public static final SyncMode AUTOMATIC = fromString("Automatic"); /** - * Static value Manual for SyncMode. + * Manual. */ public static final SyncMode MANUAL = fromString("Manual"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java index d461c19de9e3..92239d20de25 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,7 +12,7 @@ */ public final class SyncRemoteAddressSpace extends ExpandableStringEnum { /** - * Static value true for SyncRemoteAddressSpace. + * true. */ public static final SyncRemoteAddressSpace TRUE = fromString("true"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TagsObject.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TagsObject.java index d3f5b13e7414..d993f389b9f1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TagsObject.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TagsObject.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java index 2a869deab170..94d414647b6f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Resources that have an association with the parent resource. */ -@Fluent +@Immutable public final class TopologyAssociation implements JsonSerializable { /* * The name of the resource that is associated with the parent resource. @@ -34,7 +34,7 @@ public final class TopologyAssociation implements JsonSerializable { /* * Name of the resource. @@ -40,7 +40,7 @@ public final class TopologyResource implements JsonSerializable associations() { return this.associations; } - /** - * Set the associations property: Holds the associations the resource has with other resources in the resource - * group. - * - * @param associations the associations value to set. - * @return the TopologyResource object itself. - */ - public TopologyResource withAssociations(List associations) { - this.associations = associations; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java new file mode 100644 index 000000000000..23baa7178f43 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java @@ -0,0 +1,232 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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 java.io.IOException; +import java.util.Map; + +/** + * Tracked resource with optional location. + */ +@Immutable +public class TrackedResourcewithOptionalLocation implements JsonSerializable { + /* + * ID of the connection monitor. + */ + private String id; + + /* + * Name of the connection monitor. + */ + private String name; + + /* + * Connection monitor type. + */ + private String type; + + /* + * A unique read-only string that changes whenever the resource is updated. + */ + private String etag; + + /* + * Connection monitor location. + */ + private String location; + + /* + * Connection monitor tags. + */ + private Map tags; + + /** + * Creates an instance of TrackedResourcewithOptionalLocation class. + */ + protected TrackedResourcewithOptionalLocation() { + } + + /** + * Get the id property: ID of the connection monitor. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: ID of the connection monitor. + * + * @param id the id value to set. + * @return the TrackedResourcewithOptionalLocation object itself. + */ + TrackedResourcewithOptionalLocation withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: Name of the connection monitor. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Name of the connection monitor. + * + * @param name the name value to set. + * @return the TrackedResourcewithOptionalLocation object itself. + */ + TrackedResourcewithOptionalLocation withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: Connection monitor type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: Connection monitor type. + * + * @param type the type value to set. + * @return the TrackedResourcewithOptionalLocation object itself. + */ + TrackedResourcewithOptionalLocation withType(String type) { + this.type = type; + return this; + } + + /** + * Get the etag property: A unique read-only string that changes whenever the resource is updated. + * + * @return the etag value. + */ + public String etag() { + return this.etag; + } + + /** + * Set the etag property: A unique read-only string that changes whenever the resource is updated. + * + * @param etag the etag value to set. + * @return the TrackedResourcewithOptionalLocation object itself. + */ + TrackedResourcewithOptionalLocation withEtag(String etag) { + this.etag = etag; + return this; + } + + /** + * Get the location property: Connection monitor location. + * + * @return the location value. + */ + public String location() { + return this.location; + } + + /** + * Set the location property: Connection monitor location. + * + * @param location the location value to set. + * @return the TrackedResourcewithOptionalLocation object itself. + */ + TrackedResourcewithOptionalLocation withLocation(String location) { + this.location = location; + return this; + } + + /** + * Get the tags property: Connection monitor tags. + * + * @return the tags value. + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags property: Connection monitor tags. + * + * @param tags the tags value to set. + * @return the TrackedResourcewithOptionalLocation object itself. + */ + TrackedResourcewithOptionalLocation withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("location", this.location); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TrackedResourcewithOptionalLocation from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TrackedResourcewithOptionalLocation 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 TrackedResourcewithOptionalLocation. + */ + public static TrackedResourcewithOptionalLocation fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + TrackedResourcewithOptionalLocation deserializedTrackedResourcewithOptionalLocation + = new TrackedResourcewithOptionalLocation(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedTrackedResourcewithOptionalLocation.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedTrackedResourcewithOptionalLocation.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedTrackedResourcewithOptionalLocation.type = reader.getString(); + } else if ("etag".equals(fieldName)) { + deserializedTrackedResourcewithOptionalLocation.etag = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedTrackedResourcewithOptionalLocation.location = reader.getString(); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedTrackedResourcewithOptionalLocation.tags = tags; + } else { + reader.skipChildren(); + } + } + + return deserializedTrackedResourcewithOptionalLocation; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java index 9b1d5fafb9a3..d2b33ec7a8a7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java index adadd3f58ec8..02afec706acb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java index 162a124e3d47..4707f7f279d6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java index ccd029d9ea6a..db4bb6b188c4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java index 50c6baaf5a51..e9a5321deaf5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class TransportProtocol extends ExpandableStringEnum { /** - * Static value Udp for TransportProtocol. + * Udp. */ public static final TransportProtocol UDP = fromString("Udp"); /** - * Static value Tcp for TransportProtocol. + * Tcp. */ public static final TransportProtocol TCP = fromString("Tcp"); /** - * Static value All for TransportProtocol. + * All. */ public static final TransportProtocol ALL = fromString("All"); /** - * Static value Quic for TransportProtocol. + * Quic. */ public static final TransportProtocol QUIC = fromString("Quic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java index fad8336ac600..38b730f4b34b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Information gained from troubleshooting of specified resource. */ -@Fluent +@Immutable public final class TroubleshootingDetails implements JsonSerializable { /* * The id of the get troubleshoot operation. @@ -45,7 +45,7 @@ public final class TroubleshootingDetails implements JsonSerializable recommendedActions() { return this.recommendedActions; } - /** - * Set the recommendedActions property: List of recommended actions. - * - * @param recommendedActions the recommendedActions value to set. - * @return the TroubleshootingDetails object itself. - */ - public TroubleshootingDetails withRecommendedActions(List recommendedActions) { - this.recommendedActions = recommendedActions; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java index 7d168feef59a..308bdd07997f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java index 47d1b0cf61f7..e55f164df692 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Recommended actions based on discovered issues. */ -@Fluent +@Immutable public final class TroubleshootingRecommendedActions implements JsonSerializable { /* * ID of the recommended action. @@ -39,7 +39,7 @@ public final class TroubleshootingRecommendedActions implements JsonSerializable /** * Creates an instance of TroubleshootingRecommendedActions class. */ - public TroubleshootingRecommendedActions() { + private TroubleshootingRecommendedActions() { } /** @@ -51,17 +51,6 @@ public String actionId() { return this.actionId; } - /** - * Set the actionId property: ID of the recommended action. - * - * @param actionId the actionId value to set. - * @return the TroubleshootingRecommendedActions object itself. - */ - public TroubleshootingRecommendedActions withActionId(String actionId) { - this.actionId = actionId; - return this; - } - /** * Get the actionText property: Description of recommended actions. * @@ -71,17 +60,6 @@ public String actionText() { return this.actionText; } - /** - * Set the actionText property: Description of recommended actions. - * - * @param actionText the actionText value to set. - * @return the TroubleshootingRecommendedActions object itself. - */ - public TroubleshootingRecommendedActions withActionText(String actionText) { - this.actionText = actionText; - return this; - } - /** * Get the actionUri property: The uri linking to a documentation for the recommended troubleshooting actions. * @@ -91,17 +69,6 @@ public String actionUri() { return this.actionUri; } - /** - * Set the actionUri property: The uri linking to a documentation for the recommended troubleshooting actions. - * - * @param actionUri the actionUri value to set. - * @return the TroubleshootingRecommendedActions object itself. - */ - public TroubleshootingRecommendedActions withActionUri(String actionUri) { - this.actionUri = actionUri; - return this; - } - /** * Get the actionUriText property: The information from the URI for the recommended troubleshooting actions. * @@ -111,17 +78,6 @@ public String actionUriText() { return this.actionUriText; } - /** - * Set the actionUriText property: The information from the URI for the recommended troubleshooting actions. - * - * @param actionUriText the actionUriText value to set. - * @return the TroubleshootingRecommendedActions object itself. - */ - public TroubleshootingRecommendedActions withActionUriText(String actionUriText) { - this.actionUriText = actionUriText; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java index 5668fad5a54a..b6183cbbace2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -44,7 +44,7 @@ public final class TunnelConnectionHealth implements JsonSerializable { + /** + * Creates an instance of UnprepareNetworkPoliciesFinalResult class. + */ + private UnprepareNetworkPoliciesFinalResult() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of UnprepareNetworkPoliciesFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of UnprepareNetworkPoliciesFinalResult 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 UnprepareNetworkPoliciesFinalResult. + */ + public static UnprepareNetworkPoliciesFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + UnprepareNetworkPoliciesFinalResult deserializedUnprepareNetworkPoliciesFinalResult + = new UnprepareNetworkPoliciesFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedUnprepareNetworkPoliciesFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java index d954033d33f9..ece59c5f9367 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java index fcaaa80298f6..c4acbdf5824d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -16,12 +16,12 @@ */ public final class UpdateAction extends ExpandableStringEnum { /** - * Static value FullUpdate for UpdateAction. + * FullUpdate. */ public static final UpdateAction FULL_UPDATE = fromString("FullUpdate"); /** - * Static value PartialUpdate for UpdateAction. + * PartialUpdate. */ public static final UpdateAction PARTIAL_UPDATE = fromString("PartialUpdate"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java index ecef5a11a38b..3865571e5027 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsageName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsageName.java index 73ac4e174444..2b8ac2511bab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsageName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsageName.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The usage names. */ -@Fluent +@Immutable public final class UsageName implements JsonSerializable { /* * A string describing the resource name. @@ -29,7 +29,7 @@ public final class UsageName implements JsonSerializable { /** * Creates an instance of UsageName class. */ - public UsageName() { + private UsageName() { } /** @@ -41,17 +41,6 @@ public String value() { return this.value; } - /** - * Set the value property: A string describing the resource name. - * - * @param value the value value to set. - * @return the UsageName object itself. - */ - public UsageName withValue(String value) { - this.value = value; - return this; - } - /** * Get the localizedValue property: A localized string describing the resource name. * @@ -61,17 +50,6 @@ public String localizedValue() { return this.localizedValue; } - /** - * Set the localizedValue property: A localized string describing the resource name. - * - * @param localizedValue the localizedValue value to set. - * @return the UsageName object itself. - */ - public UsageName withLocalizedValue(String localizedValue) { - this.localizedValue = localizedValue; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java index 17f4c2395c94..ef73d5f44f17 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,7 +12,7 @@ */ public final class UsageUnit extends ExpandableStringEnum { /** - * Static value Count for UsageUnit. + * Count. */ public static final UsageUnit COUNT = fromString("Count"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java index 41fc55a4757b..302291bb5bbc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class UseHubGateway extends ExpandableStringEnum { /** - * Static value False for UseHubGateway. + * False. */ public static final UseHubGateway FALSE = fromString("False"); /** - * Static value True for UseHubGateway. + * True. */ public static final UseHubGateway TRUE = fromString("True"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VM.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VM.java index cbc97bd7f348..9164ea03c278 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VM.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VM.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java index 84d4f1547069..55717cecb165 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class VerbosityLevel extends ExpandableStringEnum { /** - * Static value Normal for VerbosityLevel. + * Normal. */ public static final VerbosityLevel NORMAL = fromString("Normal"); /** - * Static value Minimum for VerbosityLevel. + * Minimum. */ public static final VerbosityLevel MINIMUM = fromString("Minimum"); /** - * Static value Full for VerbosityLevel. + * Full. */ public static final VerbosityLevel FULL = fromString("Full"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java index cad29e2077cd..9688a846faa2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java index caaa8842ad5e..f5aa2d829d4e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -61,17 +61,6 @@ public ProvisioningState provisioningState() { return this.provisioningState; } - /** - * Set the provisioningState property: Provisioning states of a resource. - * - * @param provisioningState the provisioningState value to set. - * @return the VerifierWorkspaceProperties object itself. - */ - public VerifierWorkspaceProperties withProvisioningState(ProvisioningState provisioningState) { - this.provisioningState = provisioningState; - return this; - } - /** * Validates the instance. * @@ -87,8 +76,6 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("provisioningState", - this.provisioningState == null ? null : this.provisioningState.toString()); return jsonWriter.writeEndObject(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java index 1c81d082807a..16b7c726c2bf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java index 5cb3a88b3e5a..aafe418184f5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java index c85e5ca94eb3..3b39190c8983 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java index 6b5d01f918f4..437b5a3018a1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -15,7 +15,7 @@ * Represents a single IP configuration. */ @Fluent -public final class VirtualApplianceIpConfiguration implements JsonSerializable { +public final class VirtualApplianceIPConfiguration implements JsonSerializable { /* * For hub NVAs, primary IP configs must be named 'privatenicipconfig' and 'publicnicipconfig', with non-primary * configs using these prefixes; no naming restrictions apply for NVAs in VNets. Maximum 80 character are allowed. @@ -25,12 +25,12 @@ public final class VirtualApplianceIpConfiguration implements JsonSerializable { - VirtualApplianceIpConfiguration deserializedVirtualApplianceIpConfiguration - = new VirtualApplianceIpConfiguration(); + VirtualApplianceIPConfiguration deserializedVirtualApplianceIPConfiguration + = new VirtualApplianceIPConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("name".equals(fieldName)) { - deserializedVirtualApplianceIpConfiguration.name = reader.getString(); + deserializedVirtualApplianceIPConfiguration.name = reader.getString(); } else if ("properties".equals(fieldName)) { - deserializedVirtualApplianceIpConfiguration.properties - = VirtualApplianceIpConfigurationProperties.fromJson(reader); + deserializedVirtualApplianceIPConfiguration.properties + = VirtualApplianceIPConfigurationProperties.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedVirtualApplianceIpConfiguration; + return deserializedVirtualApplianceIPConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java index e82ef04ea51f..73e8c823bb21 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -15,17 +15,17 @@ * Represents a single IP configuration properties. */ @Fluent -public final class VirtualApplianceIpConfigurationProperties - implements JsonSerializable { +public final class VirtualApplianceIPConfigurationProperties + implements JsonSerializable { /* * Whether or not this is primary IP configuration of the NIC. */ private Boolean primary; /** - * Creates an instance of VirtualApplianceIpConfigurationProperties class. + * Creates an instance of VirtualApplianceIPConfigurationProperties class. */ - public VirtualApplianceIpConfigurationProperties() { + public VirtualApplianceIPConfigurationProperties() { } /** @@ -41,9 +41,9 @@ public Boolean primary() { * Set the primary property: Whether or not this is primary IP configuration of the NIC. * * @param primary the primary value to set. - * @return the VirtualApplianceIpConfigurationProperties object itself. + * @return the VirtualApplianceIPConfigurationProperties object itself. */ - public VirtualApplianceIpConfigurationProperties withPrimary(Boolean primary) { + public VirtualApplianceIPConfigurationProperties withPrimary(Boolean primary) { this.primary = primary; return this; } @@ -67,30 +67,30 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of VirtualApplianceIpConfigurationProperties from the JsonReader. + * Reads an instance of VirtualApplianceIPConfigurationProperties from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VirtualApplianceIpConfigurationProperties if the JsonReader was pointing to an instance of + * @return An instance of VirtualApplianceIPConfigurationProperties 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 VirtualApplianceIpConfigurationProperties. + * @throws IOException If an error occurs while reading the VirtualApplianceIPConfigurationProperties. */ - public static VirtualApplianceIpConfigurationProperties fromJson(JsonReader jsonReader) throws IOException { + public static VirtualApplianceIPConfigurationProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VirtualApplianceIpConfigurationProperties deserializedVirtualApplianceIpConfigurationProperties - = new VirtualApplianceIpConfigurationProperties(); + VirtualApplianceIPConfigurationProperties deserializedVirtualApplianceIPConfigurationProperties + = new VirtualApplianceIPConfigurationProperties(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("primary".equals(fieldName)) { - deserializedVirtualApplianceIpConfigurationProperties.primary + deserializedVirtualApplianceIPConfigurationProperties.primary = reader.getNullable(JsonReader::getBoolean); } else { reader.skipChildren(); } } - return deserializedVirtualApplianceIpConfigurationProperties; + return deserializedVirtualApplianceIPConfigurationProperties; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java index ea80fef0b128..cb151d7d3816 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java index 21f1cb8ad193..8e0813f72848 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -21,7 +21,7 @@ public final class VirtualApplianceNetworkInterfaceConfigurationProperties /* * The ipConfigurations property. */ - private List ipConfigurations; + private List ipConfigurations; /** * Creates an instance of VirtualApplianceNetworkInterfaceConfigurationProperties class. @@ -34,7 +34,7 @@ public VirtualApplianceNetworkInterfaceConfigurationProperties() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.ipConfigurations; } @@ -45,7 +45,7 @@ public List ipConfigurations() { * @return the VirtualApplianceNetworkInterfaceConfigurationProperties object itself. */ public VirtualApplianceNetworkInterfaceConfigurationProperties - withIpConfigurations(List ipConfigurations) { + withIpConfigurations(List ipConfigurations) { this.ipConfigurations = ipConfigurations; return this; } @@ -90,8 +90,8 @@ public static VirtualApplianceNetworkInterfaceConfigurationProperties fromJson(J reader.nextToken(); if ("ipConfigurations".equals(fieldName)) { - List ipConfigurations - = reader.readArray(reader1 -> VirtualApplianceIpConfiguration.fromJson(reader1)); + List ipConfigurations + = reader.readArray(reader1 -> VirtualApplianceIPConfiguration.fromJson(reader1)); deserializedVirtualApplianceNetworkInterfaceConfigurationProperties.ipConfigurations = ipConfigurations; } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java index 3de06bf181a7..44f215b2d4ce 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -45,7 +45,7 @@ public final class VirtualApplianceNicProperties implements JsonSerializable { /* @@ -26,7 +26,7 @@ public final class VirtualNetworkConnectionGatewayReference /** * Creates an instance of VirtualNetworkConnectionGatewayReference class. */ - public VirtualNetworkConnectionGatewayReference() { + private VirtualNetworkConnectionGatewayReference() { } /** @@ -38,17 +38,6 @@ public String id() { return this.id; } - /** - * Set the id property: The ID of VirtualNetworkGateway or LocalNetworkGateway resource. - * - * @param id the id value to set. - * @return the VirtualNetworkConnectionGatewayReference object itself. - */ - public VirtualNetworkConnectionGatewayReference withId(String id) { - this.id = id; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java index 11e256c57d6f..4e85131388e2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java index 1a4d7ebb804e..b9782b11aba5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -14,12 +14,12 @@ public final class VirtualNetworkEncryptionEnforcement extends ExpandableStringEnum { /** - * Static value DropUnencrypted for VirtualNetworkEncryptionEnforcement. + * DropUnencrypted. */ public static final VirtualNetworkEncryptionEnforcement DROP_UNENCRYPTED = fromString("DropUnencrypted"); /** - * Static value AllowUnencrypted for VirtualNetworkEncryptionEnforcement. + * AllowUnencrypted. */ public static final VirtualNetworkEncryptionEnforcement ALLOW_UNENCRYPTED = fromString("AllowUnencrypted"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java index 71210dc4e69b..b72d6cb8c075 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java index 0d0e1ad5ada8..f5c320ea0cae 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java index a3976649239a..ea41d9ffa7a1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,17 +13,17 @@ public final class VirtualNetworkGatewayConnectionMode extends ExpandableStringEnum { /** - * Static value Default for VirtualNetworkGatewayConnectionMode. + * Default. */ public static final VirtualNetworkGatewayConnectionMode DEFAULT = fromString("Default"); /** - * Static value ResponderOnly for VirtualNetworkGatewayConnectionMode. + * ResponderOnly. */ public static final VirtualNetworkGatewayConnectionMode RESPONDER_ONLY = fromString("ResponderOnly"); /** - * Static value InitiatorOnly for VirtualNetworkGatewayConnectionMode. + * InitiatorOnly. */ public static final VirtualNetworkGatewayConnectionMode INITIATOR_ONLY = fromString("InitiatorOnly"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java index 8b7652e3e256..30aebcade57c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class VirtualNetworkGatewayConnectionProtocol extends ExpandableStringEnum { /** - * Static value IKEv2 for VirtualNetworkGatewayConnectionProtocol. + * IKEv2. */ public static final VirtualNetworkGatewayConnectionProtocol IKEV2 = fromString("IKEv2"); /** - * Static value IKEv1 for VirtualNetworkGatewayConnectionProtocol. + * IKEv1. */ public static final VirtualNetworkGatewayConnectionProtocol IKEV1 = fromString("IKEv1"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java index 78344935c4ce..9244fae6a80e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,22 +13,22 @@ public final class VirtualNetworkGatewayConnectionStatus extends ExpandableStringEnum { /** - * Static value Unknown for VirtualNetworkGatewayConnectionStatus. + * Unknown. */ public static final VirtualNetworkGatewayConnectionStatus UNKNOWN = fromString("Unknown"); /** - * Static value Connecting for VirtualNetworkGatewayConnectionStatus. + * Connecting. */ public static final VirtualNetworkGatewayConnectionStatus CONNECTING = fromString("Connecting"); /** - * Static value Connected for VirtualNetworkGatewayConnectionStatus. + * Connected. */ public static final VirtualNetworkGatewayConnectionStatus CONNECTED = fromString("Connected"); /** - * Static value NotConnected for VirtualNetworkGatewayConnectionStatus. + * NotConnected. */ public static final VirtualNetworkGatewayConnectionStatus NOT_CONNECTED = fromString("NotConnected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java index 6f23d0a64783..00d3477c5cdd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java index 632889ee5d3f..216cca852124 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,22 +13,22 @@ public final class VirtualNetworkGatewayConnectionType extends ExpandableStringEnum { /** - * Static value IPsec for VirtualNetworkGatewayConnectionType. + * IPsec. */ public static final VirtualNetworkGatewayConnectionType IPSEC = fromString("IPsec"); /** - * Static value Vnet2Vnet for VirtualNetworkGatewayConnectionType. + * Vnet2Vnet. */ public static final VirtualNetworkGatewayConnectionType VNET2VNET = fromString("Vnet2Vnet"); /** - * Static value ExpressRoute for VirtualNetworkGatewayConnectionType. + * ExpressRoute. */ public static final VirtualNetworkGatewayConnectionType EXPRESS_ROUTE = fromString("ExpressRoute"); /** - * Static value VPNClient for VirtualNetworkGatewayConnectionType. + * VPNClient. */ public static final VirtualNetworkGatewayConnectionType VPNCLIENT = fromString("VPNClient"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java index 497b7029777d..8a53614949c9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java index 77e4dd68c35c..5fe7e8bdcdb9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,47 +13,51 @@ public final class VirtualNetworkGatewayMigrationPhase extends ExpandableStringEnum { /** - * Static value None for VirtualNetworkGatewayMigrationPhase. + * No migration phase set on gateway. */ public static final VirtualNetworkGatewayMigrationPhase NONE = fromString("None"); /** - * Static value Prepare for VirtualNetworkGatewayMigrationPhase. + * Gateway is going through prepare migration or prepare has failed. Please see state and error details for more + * information. */ public static final VirtualNetworkGatewayMigrationPhase PREPARE = fromString("Prepare"); /** - * Static value PrepareSucceeded for VirtualNetworkGatewayMigrationPhase. + * Prepare succeeded on gateway. */ public static final VirtualNetworkGatewayMigrationPhase PREPARE_SUCCEEDED = fromString("PrepareSucceeded"); /** - * Static value Execute for VirtualNetworkGatewayMigrationPhase. + * Gateway is going through execute migration or execute has failed. Please see state and error details for more + * information. */ public static final VirtualNetworkGatewayMigrationPhase EXECUTE = fromString("Execute"); /** - * Static value ExecuteSucceeded for VirtualNetworkGatewayMigrationPhase. + * Execute succeeded on gateway. */ public static final VirtualNetworkGatewayMigrationPhase EXECUTE_SUCCEEDED = fromString("ExecuteSucceeded"); /** - * Static value Commit for VirtualNetworkGatewayMigrationPhase. + * Gateway is going through commit migration or commit has failed. Please see state and error details for more + * information. */ public static final VirtualNetworkGatewayMigrationPhase COMMIT = fromString("Commit"); /** - * Static value CommitSucceeded for VirtualNetworkGatewayMigrationPhase. + * Commit succeeded, represent migration is complete for the gateway. */ public static final VirtualNetworkGatewayMigrationPhase COMMIT_SUCCEEDED = fromString("CommitSucceeded"); /** - * Static value AbortSucceeded for VirtualNetworkGatewayMigrationPhase. + * Represent abort succeeded on gateway, start with prepare to retrigger migration. */ public static final VirtualNetworkGatewayMigrationPhase ABORT_SUCCEEDED = fromString("AbortSucceeded"); /** - * Static value Abort for VirtualNetworkGatewayMigrationPhase. + * Gateway is going through abort migration or abort has failed. Please see state and error details for more + * information. */ public static final VirtualNetworkGatewayMigrationPhase ABORT = fromString("Abort"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java index ee116bf9e494..7f346b4016e2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,22 +13,22 @@ public final class VirtualNetworkGatewayMigrationState extends ExpandableStringEnum { /** - * Static value None for VirtualNetworkGatewayMigrationState. + * None. */ public static final VirtualNetworkGatewayMigrationState NONE = fromString("None"); /** - * Static value InProgress for VirtualNetworkGatewayMigrationState. + * InProgress. */ public static final VirtualNetworkGatewayMigrationState IN_PROGRESS = fromString("InProgress"); /** - * Static value Succeeded for VirtualNetworkGatewayMigrationState. + * Succeeded. */ public static final VirtualNetworkGatewayMigrationState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for VirtualNetworkGatewayMigrationState. + * Failed. */ public static final VirtualNetworkGatewayMigrationState FAILED = fromString("Failed"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java index 733d82c31b35..26f666bb312a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java index 88ca46d5f727..29357a19e3a4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,7 +12,7 @@ */ public final class VirtualNetworkGatewayMigrationType extends ExpandableStringEnum { /** - * Static value UpgradeDeploymentToStandardIP for VirtualNetworkGatewayMigrationType. + * Indicates that it is a migration process from basic IP CSES to standard IP VMSS. */ public static final VirtualNetworkGatewayMigrationType UPGRADE_DEPLOYMENT_TO_STANDARD_IP = fromString("UpgradeDeploymentToStandardIP"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java index 092601892207..d3d15cafe405 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -172,7 +172,7 @@ public List vngClientConnectionConfigurations() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java index 4deec4d9f72f..6793c90f1621 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java index 0c06d4dca6ae..52663467ff8a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java index 5eb53bd76789..21ce469fbdde 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,92 +12,92 @@ */ public final class VirtualNetworkGatewaySkuName extends ExpandableStringEnum { /** - * Static value Basic for VirtualNetworkGatewaySkuName. + * Basic. */ public static final VirtualNetworkGatewaySkuName BASIC = fromString("Basic"); /** - * Static value HighPerformance for VirtualNetworkGatewaySkuName. + * HighPerformance. */ public static final VirtualNetworkGatewaySkuName HIGH_PERFORMANCE = fromString("HighPerformance"); /** - * Static value Standard for VirtualNetworkGatewaySkuName. + * Standard. */ public static final VirtualNetworkGatewaySkuName STANDARD = fromString("Standard"); /** - * Static value UltraPerformance for VirtualNetworkGatewaySkuName. + * UltraPerformance. */ public static final VirtualNetworkGatewaySkuName ULTRA_PERFORMANCE = fromString("UltraPerformance"); /** - * Static value VpnGw1 for VirtualNetworkGatewaySkuName. + * VpnGw1. */ public static final VirtualNetworkGatewaySkuName VPN_GW1 = fromString("VpnGw1"); /** - * Static value VpnGw2 for VirtualNetworkGatewaySkuName. + * VpnGw2. */ public static final VirtualNetworkGatewaySkuName VPN_GW2 = fromString("VpnGw2"); /** - * Static value VpnGw3 for VirtualNetworkGatewaySkuName. + * VpnGw3. */ public static final VirtualNetworkGatewaySkuName VPN_GW3 = fromString("VpnGw3"); /** - * Static value VpnGw4 for VirtualNetworkGatewaySkuName. + * VpnGw4. */ public static final VirtualNetworkGatewaySkuName VPN_GW4 = fromString("VpnGw4"); /** - * Static value VpnGw5 for VirtualNetworkGatewaySkuName. + * VpnGw5. */ public static final VirtualNetworkGatewaySkuName VPN_GW5 = fromString("VpnGw5"); /** - * Static value VpnGw1AZ for VirtualNetworkGatewaySkuName. + * VpnGw1AZ. */ public static final VirtualNetworkGatewaySkuName VPN_GW1AZ = fromString("VpnGw1AZ"); /** - * Static value VpnGw2AZ for VirtualNetworkGatewaySkuName. + * VpnGw2AZ. */ public static final VirtualNetworkGatewaySkuName VPN_GW2AZ = fromString("VpnGw2AZ"); /** - * Static value VpnGw3AZ for VirtualNetworkGatewaySkuName. + * VpnGw3AZ. */ public static final VirtualNetworkGatewaySkuName VPN_GW3AZ = fromString("VpnGw3AZ"); /** - * Static value VpnGw4AZ for VirtualNetworkGatewaySkuName. + * VpnGw4AZ. */ public static final VirtualNetworkGatewaySkuName VPN_GW4AZ = fromString("VpnGw4AZ"); /** - * Static value VpnGw5AZ for VirtualNetworkGatewaySkuName. + * VpnGw5AZ. */ public static final VirtualNetworkGatewaySkuName VPN_GW5AZ = fromString("VpnGw5AZ"); /** - * Static value ErGw1AZ for VirtualNetworkGatewaySkuName. + * ErGw1AZ. */ public static final VirtualNetworkGatewaySkuName ER_GW1AZ = fromString("ErGw1AZ"); /** - * Static value ErGw2AZ for VirtualNetworkGatewaySkuName. + * ErGw2AZ. */ public static final VirtualNetworkGatewaySkuName ER_GW2AZ = fromString("ErGw2AZ"); /** - * Static value ErGw3AZ for VirtualNetworkGatewaySkuName. + * ErGw3AZ. */ public static final VirtualNetworkGatewaySkuName ER_GW3AZ = fromString("ErGw3AZ"); /** - * Static value ErGwScale for VirtualNetworkGatewaySkuName. + * ErGwScale. */ public static final VirtualNetworkGatewaySkuName ER_GW_SCALE = fromString("ErGwScale"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java index 76038984f465..25a7c1366111 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,92 +12,92 @@ */ public final class VirtualNetworkGatewaySkuTier extends ExpandableStringEnum { /** - * Static value Basic for VirtualNetworkGatewaySkuTier. + * Basic. */ public static final VirtualNetworkGatewaySkuTier BASIC = fromString("Basic"); /** - * Static value HighPerformance for VirtualNetworkGatewaySkuTier. + * HighPerformance. */ public static final VirtualNetworkGatewaySkuTier HIGH_PERFORMANCE = fromString("HighPerformance"); /** - * Static value Standard for VirtualNetworkGatewaySkuTier. + * Standard. */ public static final VirtualNetworkGatewaySkuTier STANDARD = fromString("Standard"); /** - * Static value UltraPerformance for VirtualNetworkGatewaySkuTier. + * UltraPerformance. */ public static final VirtualNetworkGatewaySkuTier ULTRA_PERFORMANCE = fromString("UltraPerformance"); /** - * Static value VpnGw1 for VirtualNetworkGatewaySkuTier. + * VpnGw1. */ public static final VirtualNetworkGatewaySkuTier VPN_GW1 = fromString("VpnGw1"); /** - * Static value VpnGw2 for VirtualNetworkGatewaySkuTier. + * VpnGw2. */ public static final VirtualNetworkGatewaySkuTier VPN_GW2 = fromString("VpnGw2"); /** - * Static value VpnGw3 for VirtualNetworkGatewaySkuTier. + * VpnGw3. */ public static final VirtualNetworkGatewaySkuTier VPN_GW3 = fromString("VpnGw3"); /** - * Static value VpnGw4 for VirtualNetworkGatewaySkuTier. + * VpnGw4. */ public static final VirtualNetworkGatewaySkuTier VPN_GW4 = fromString("VpnGw4"); /** - * Static value VpnGw5 for VirtualNetworkGatewaySkuTier. + * VpnGw5. */ public static final VirtualNetworkGatewaySkuTier VPN_GW5 = fromString("VpnGw5"); /** - * Static value VpnGw1AZ for VirtualNetworkGatewaySkuTier. + * VpnGw1AZ. */ public static final VirtualNetworkGatewaySkuTier VPN_GW1AZ = fromString("VpnGw1AZ"); /** - * Static value VpnGw2AZ for VirtualNetworkGatewaySkuTier. + * VpnGw2AZ. */ public static final VirtualNetworkGatewaySkuTier VPN_GW2AZ = fromString("VpnGw2AZ"); /** - * Static value VpnGw3AZ for VirtualNetworkGatewaySkuTier. + * VpnGw3AZ. */ public static final VirtualNetworkGatewaySkuTier VPN_GW3AZ = fromString("VpnGw3AZ"); /** - * Static value VpnGw4AZ for VirtualNetworkGatewaySkuTier. + * VpnGw4AZ. */ public static final VirtualNetworkGatewaySkuTier VPN_GW4AZ = fromString("VpnGw4AZ"); /** - * Static value VpnGw5AZ for VirtualNetworkGatewaySkuTier. + * VpnGw5AZ. */ public static final VirtualNetworkGatewaySkuTier VPN_GW5AZ = fromString("VpnGw5AZ"); /** - * Static value ErGw1AZ for VirtualNetworkGatewaySkuTier. + * ErGw1AZ. */ public static final VirtualNetworkGatewaySkuTier ER_GW1AZ = fromString("ErGw1AZ"); /** - * Static value ErGw2AZ for VirtualNetworkGatewaySkuTier. + * ErGw2AZ. */ public static final VirtualNetworkGatewaySkuTier ER_GW2AZ = fromString("ErGw2AZ"); /** - * Static value ErGw3AZ for VirtualNetworkGatewaySkuTier. + * ErGw3AZ. */ public static final VirtualNetworkGatewaySkuTier ER_GW3AZ = fromString("ErGw3AZ"); /** - * Static value ErGwScale for VirtualNetworkGatewaySkuTier. + * ErGwScale. */ public static final VirtualNetworkGatewaySkuTier ER_GW_SCALE = fromString("ErGwScale"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java index ec7814483aca..31bf5ba667e3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class VirtualNetworkGatewayType extends ExpandableStringEnum { /** - * Static value Vpn for VirtualNetworkGatewayType. + * Vpn. */ public static final VirtualNetworkGatewayType VPN = fromString("Vpn"); /** - * Static value ExpressRoute for VirtualNetworkGatewayType. + * ExpressRoute. */ public static final VirtualNetworkGatewayType EXPRESS_ROUTE = fromString("ExpressRoute"); /** - * Static value LocalGateway for VirtualNetworkGatewayType. + * LocalGateway. */ public static final VirtualNetworkGatewayType LOCAL_GATEWAY = fromString("LocalGateway"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java index c69cdf9454e5..0053e23bf65f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class VirtualNetworkPeeringLevel extends ExpandableStringEnum { /** - * Static value FullyInSync for VirtualNetworkPeeringLevel. + * FullyInSync. */ public static final VirtualNetworkPeeringLevel FULLY_IN_SYNC = fromString("FullyInSync"); /** - * Static value RemoteNotInSync for VirtualNetworkPeeringLevel. + * RemoteNotInSync. */ public static final VirtualNetworkPeeringLevel REMOTE_NOT_IN_SYNC = fromString("RemoteNotInSync"); /** - * Static value LocalNotInSync for VirtualNetworkPeeringLevel. + * LocalNotInSync. */ public static final VirtualNetworkPeeringLevel LOCAL_NOT_IN_SYNC = fromString("LocalNotInSync"); /** - * Static value LocalAndRemoteNotInSync for VirtualNetworkPeeringLevel. + * LocalAndRemoteNotInSync. */ public static final VirtualNetworkPeeringLevel LOCAL_AND_REMOTE_NOT_IN_SYNC = fromString("LocalAndRemoteNotInSync"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java index 7b5e09bc764f..eeb0edcb7bbd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class VirtualNetworkPeeringState extends ExpandableStringEnum { /** - * Static value Initiated for VirtualNetworkPeeringState. + * Initiated. */ public static final VirtualNetworkPeeringState INITIATED = fromString("Initiated"); /** - * Static value Connected for VirtualNetworkPeeringState. + * Connected. */ public static final VirtualNetworkPeeringState CONNECTED = fromString("Connected"); /** - * Static value Disconnected for VirtualNetworkPeeringState. + * Disconnected. */ public static final VirtualNetworkPeeringState DISCONNECTED = fromString("Disconnected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java index 6d2bf44fc0a7..9c40e2172ba4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,23 +13,23 @@ public final class VirtualNetworkPrivateEndpointNetworkPolicies extends ExpandableStringEnum { /** - * Static value Enabled for VirtualNetworkPrivateEndpointNetworkPolicies. + * Enabled. */ public static final VirtualNetworkPrivateEndpointNetworkPolicies ENABLED = fromString("Enabled"); /** - * Static value Disabled for VirtualNetworkPrivateEndpointNetworkPolicies. + * Disabled. */ public static final VirtualNetworkPrivateEndpointNetworkPolicies DISABLED = fromString("Disabled"); /** - * Static value NetworkSecurityGroupEnabled for VirtualNetworkPrivateEndpointNetworkPolicies. + * NetworkSecurityGroupEnabled. */ public static final VirtualNetworkPrivateEndpointNetworkPolicies NETWORK_SECURITY_GROUP_ENABLED = fromString("NetworkSecurityGroupEnabled"); /** - * Static value RouteTableEnabled for VirtualNetworkPrivateEndpointNetworkPolicies. + * RouteTableEnabled. */ public static final VirtualNetworkPrivateEndpointNetworkPolicies ROUTE_TABLE_ENABLED = fromString("RouteTableEnabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java index 218363885550..f9607cbc679d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class VirtualNetworkPrivateLinkServiceNetworkPolicies extends ExpandableStringEnum { /** - * Static value Enabled for VirtualNetworkPrivateLinkServiceNetworkPolicies. + * Enabled. */ public static final VirtualNetworkPrivateLinkServiceNetworkPolicies ENABLED = fromString("Enabled"); /** - * Static value Disabled for VirtualNetworkPrivateLinkServiceNetworkPolicies. + * Disabled. */ public static final VirtualNetworkPrivateLinkServiceNetworkPolicies DISABLED = fromString("Disabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java index bea24b463080..2bc41c647b8a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -29,7 +29,7 @@ public final class VirtualNetworkUsageName implements JsonSerializable { /* * Name of the security provider. @@ -34,7 +34,7 @@ public final class VirtualWanSecurityProvider implements JsonSerializable { /** - * Static value External for VirtualWanSecurityProviderType. + * External. */ public static final VirtualWanSecurityProviderType EXTERNAL = fromString("External"); /** - * Static value Native for VirtualWanSecurityProviderType. + * Native. */ public static final VirtualWanSecurityProviderType NATIVE = fromString("Native"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java index edcdb7c4b7a6..61fd4591dd60 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java index dd07a34b3477..5e13296842ed 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class VnetLocalRouteOverrideCriteria extends ExpandableStringEnum { /** - * Static value Contains for VnetLocalRouteOverrideCriteria. + * Contains. */ public static final VnetLocalRouteOverrideCriteria CONTAINS = fromString("Contains"); /** - * Static value Equal for VnetLocalRouteOverrideCriteria. + * Equal. */ public static final VnetLocalRouteOverrideCriteria EQUAL = fromString("Equal"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java index 4eb7b52cb76e..e0e3c2488fbd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java index 2aaf4d9bbf15..1ef27509f624 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -142,7 +142,7 @@ public List virtualNetworkGatewayPolicyGroups() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java index 334e83c4970c..daa0b7da970f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class VpnAuthenticationType extends ExpandableStringEnum { /** - * Static value Certificate for VpnAuthenticationType. + * Certificate. */ public static final VpnAuthenticationType CERTIFICATE = fromString("Certificate"); /** - * Static value Radius for VpnAuthenticationType. + * Radius. */ public static final VpnAuthenticationType RADIUS = fromString("Radius"); /** - * Static value AAD for VpnAuthenticationType. + * AAD. */ public static final VpnAuthenticationType AAD = fromString("AAD"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java index 89ae32d9e990..617c8840b6fc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java index a72c929886cf..a0aba171a206 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * VpnClientConnectionHealth properties. */ -@Fluent +@Immutable public final class VpnClientConnectionHealth implements JsonSerializable { /* * Total of the Ingress Bytes Transferred in this P2S Vpn connection. @@ -40,7 +40,7 @@ public final class VpnClientConnectionHealth implements JsonSerializable allocatedIpAddresses() { return this.allocatedIpAddresses; } - /** - * Set the allocatedIpAddresses property: List of allocated ip addresses to the connected p2s vpn clients. - * - * @param allocatedIpAddresses the allocatedIpAddresses value to set. - * @return the VpnClientConnectionHealth object itself. - */ - public VpnClientConnectionHealth withAllocatedIpAddresses(List allocatedIpAddresses) { - this.allocatedIpAddresses = allocatedIpAddresses; - return this; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java index b9c8121079d4..36c328f5d8ce 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java index ef20950ac995..0a3dff6ddaa0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class VpnClientProtocol extends ExpandableStringEnum { /** - * Static value IkeV2 for VpnClientProtocol. + * IkeV2. */ public static final VpnClientProtocol IKE_V2 = fromString("IkeV2"); /** - * Static value SSTP for VpnClientProtocol. + * SSTP. */ public static final VpnClientProtocol SSTP = fromString("SSTP"); /** - * Static value OpenVPN for VpnClientProtocol. + * OpenVPN. */ public static final VpnClientProtocol OPEN_VPN = fromString("OpenVPN"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java index cdbd8f7dda45..054116e255ae 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -115,7 +115,7 @@ public VpnClientRevokedCertificate withThumbprint(String thumbprint) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java index 95c7e4ede5c7..4a7620343aad 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -116,7 +116,7 @@ public VpnClientRootCertificate withPublicCertData(String publicCertData) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public NetworkProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java index f43b59d87e67..a0e7d4199742 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java index 2bca7b1f155b..1bd37526f23a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java index d9e1bd60e8ca..16f485245f1b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,22 +12,22 @@ */ public final class VpnConnectionStatus extends ExpandableStringEnum { /** - * Static value Unknown for VpnConnectionStatus. + * Unknown. */ public static final VpnConnectionStatus UNKNOWN = fromString("Unknown"); /** - * Static value Connecting for VpnConnectionStatus. + * Connecting. */ public static final VpnConnectionStatus CONNECTING = fromString("Connecting"); /** - * Static value Connected for VpnConnectionStatus. + * Connected. */ public static final VpnConnectionStatus CONNECTED = fromString("Connected"); /** - * Static value NotConnected for VpnConnectionStatus. + * NotConnected. */ public static final VpnConnectionStatus NOT_CONNECTED = fromString("NotConnected"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java new file mode 100644 index 000000000000..5b5459dd593f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 VpnConnectionsStartPacketCaptureFinalResult model. + */ +@Immutable +public final class VpnConnectionsStartPacketCaptureFinalResult + implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of VpnConnectionsStartPacketCaptureFinalResult class. + */ + private VpnConnectionsStartPacketCaptureFinalResult() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model VpnConnectionsStartPacketCaptureFinalResult")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(VpnConnectionsStartPacketCaptureFinalResult.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of VpnConnectionsStartPacketCaptureFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of VpnConnectionsStartPacketCaptureFinalResult 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 VpnConnectionsStartPacketCaptureFinalResult. + */ + public static VpnConnectionsStartPacketCaptureFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + VpnConnectionsStartPacketCaptureFinalResult deserializedVpnConnectionsStartPacketCaptureFinalResult + = new VpnConnectionsStartPacketCaptureFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedVpnConnectionsStartPacketCaptureFinalResult.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedVpnConnectionsStartPacketCaptureFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java new file mode 100644 index 000000000000..56c547707c36 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.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.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +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 VpnConnectionsStopPacketCaptureFinalResult model. + */ +@Immutable +public final class VpnConnectionsStopPacketCaptureFinalResult + implements JsonSerializable { + /* + * The body property. + */ + private String body; + + /** + * Creates an instance of VpnConnectionsStopPacketCaptureFinalResult class. + */ + private VpnConnectionsStopPacketCaptureFinalResult() { + } + + /** + * Get the body property: The body property. + * + * @return the body value. + */ + public String body() { + return this.body; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (body() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property body in model VpnConnectionsStopPacketCaptureFinalResult")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(VpnConnectionsStopPacketCaptureFinalResult.class); + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("body", this.body); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of VpnConnectionsStopPacketCaptureFinalResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of VpnConnectionsStopPacketCaptureFinalResult 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 VpnConnectionsStopPacketCaptureFinalResult. + */ + public static VpnConnectionsStopPacketCaptureFinalResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + VpnConnectionsStopPacketCaptureFinalResult deserializedVpnConnectionsStopPacketCaptureFinalResult + = new VpnConnectionsStopPacketCaptureFinalResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("body".equals(fieldName)) { + deserializedVpnConnectionsStopPacketCaptureFinalResult.body = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedVpnConnectionsStopPacketCaptureFinalResult; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java index bbf5623ce27a..56890629765a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java index 768dc3fecc5f..5845ae4e7485 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class VpnGatewayGeneration extends ExpandableStringEnum { /** - * Static value None for VpnGatewayGeneration. + * None. */ public static final VpnGatewayGeneration NONE = fromString("None"); /** - * Static value Generation1 for VpnGatewayGeneration. + * Generation1. */ public static final VpnGatewayGeneration GENERATION1 = fromString("Generation1"); /** - * Static value Generation2 for VpnGatewayGeneration. + * Generation2. */ public static final VpnGatewayGeneration GENERATION2 = fromString("Generation2"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java index cad51d3d05f6..b608ab0eb8d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * IP Configuration of a VPN Gateway Resource. */ -@Fluent +@Immutable public final class VpnGatewayIpConfiguration implements JsonSerializable { /* * The identifier of the IP configuration for a VPN Gateway. @@ -34,7 +34,7 @@ public final class VpnGatewayIpConfiguration implements JsonSerializable { /** - * Static value IkeV2 for VpnGatewayTunnelingProtocol. + * IkeV2. */ public static final VpnGatewayTunnelingProtocol IKE_V2 = fromString("IkeV2"); /** - * Static value OpenVPN for VpnGatewayTunnelingProtocol. + * OpenVPN. */ public static final VpnGatewayTunnelingProtocol OPEN_VPN = fromString("OpenVPN"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java index 5d763e2ff46d..646491ebab3d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java index 0fbef852d101..8c02c82046e9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class VpnLinkConnectionMode extends ExpandableStringEnum { /** - * Static value Default for VpnLinkConnectionMode. + * Default. */ public static final VpnLinkConnectionMode DEFAULT = fromString("Default"); /** - * Static value ResponderOnly for VpnLinkConnectionMode. + * ResponderOnly. */ public static final VpnLinkConnectionMode RESPONDER_ONLY = fromString("ResponderOnly"); /** - * Static value InitiatorOnly for VpnLinkConnectionMode. + * InitiatorOnly. */ public static final VpnLinkConnectionMode INITIATOR_ONLY = fromString("InitiatorOnly"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java index 95d57ae52828..1bef4f2ff288 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java index f15b379cedd8..4f476a5e5dde 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java index 46bef265c96e..5820b1db6135 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class VpnNatRuleMode extends ExpandableStringEnum { /** - * Static value EgressSnat for VpnNatRuleMode. + * EgressSnat. */ public static final VpnNatRuleMode EGRESS_SNAT = fromString("EgressSnat"); /** - * Static value IngressSnat for VpnNatRuleMode. + * IngressSnat. */ public static final VpnNatRuleMode INGRESS_SNAT = fromString("IngressSnat"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java index e540b24a27f7..81c9cad74d43 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class VpnNatRuleType extends ExpandableStringEnum { /** - * Static value Static for VpnNatRuleType. + * Static. */ public static final VpnNatRuleType STATIC = fromString("Static"); /** - * Static value Dynamic for VpnNatRuleType. + * Dynamic. */ public static final VpnNatRuleType DYNAMIC = fromString("Dynamic"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java index 30f4a299b952..c0bc9d3fd750 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java index 4a875fd9c558..4ebf5e60ace2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java index 098496369896..50816bb12e65 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class VpnPolicyMemberAttributeType extends ExpandableStringEnum { /** - * Static value CertificateGroupId for VpnPolicyMemberAttributeType. + * CertificateGroupId. */ public static final VpnPolicyMemberAttributeType CERTIFICATE_GROUP_ID = fromString("CertificateGroupId"); /** - * Static value AADGroupId for VpnPolicyMemberAttributeType. + * AADGroupId. */ public static final VpnPolicyMemberAttributeType AADGROUP_ID = fromString("AADGroupId"); /** - * Static value RadiusAzureGroupId for VpnPolicyMemberAttributeType. + * RadiusAzureGroupId. */ public static final VpnPolicyMemberAttributeType RADIUS_AZURE_GROUP_ID = fromString("RadiusAzureGroupId"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java index 40f128e8a8e9..7afafef9e0d1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java index 8bb51e354a90..a990f3bd025a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java index 213d28340b89..3aa3bd7023fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java index 6b52415335b5..52305e1ea75f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java index 274773893f72..26bda4cddd3b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnType.java index 51259c8b1882..a4819082fc9a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class VpnType extends ExpandableStringEnum { /** - * Static value PolicyBased for VpnType. + * PolicyBased. */ public static final VpnType POLICY_BASED = fromString("PolicyBased"); /** - * Static value RouteBased for VpnType. + * RouteBased. */ public static final VpnType ROUTE_BASED = fromString("RouteBased"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java index 2308920c88ef..cfa31fdad9d9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,27 +12,27 @@ */ public final class WebApplicationFirewallAction extends ExpandableStringEnum { /** - * Static value Allow for WebApplicationFirewallAction. + * Allow. */ public static final WebApplicationFirewallAction ALLOW = fromString("Allow"); /** - * Static value Block for WebApplicationFirewallAction. + * Block. */ public static final WebApplicationFirewallAction BLOCK = fromString("Block"); /** - * Static value Log for WebApplicationFirewallAction. + * Log. */ public static final WebApplicationFirewallAction LOG = fromString("Log"); /** - * Static value JSChallenge for WebApplicationFirewallAction. + * JSChallenge. */ public static final WebApplicationFirewallAction JSCHALLENGE = fromString("JSChallenge"); /** - * Static value CAPTCHA for WebApplicationFirewallAction. + * CAPTCHA. */ public static final WebApplicationFirewallAction CAPTCHA = fromString("CAPTCHA"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java index 7b5abea5724f..4480c24426f6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java index 0429ddf705e9..138e9a5ee219 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class WebApplicationFirewallEnabledState extends ExpandableStringEnum { /** - * Static value Disabled for WebApplicationFirewallEnabledState. + * Disabled. */ public static final WebApplicationFirewallEnabledState DISABLED = fromString("Disabled"); /** - * Static value Enabled for WebApplicationFirewallEnabledState. + * Enabled. */ public static final WebApplicationFirewallEnabledState ENABLED = fromString("Enabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java index 8dd5c1872c19..af062c85a831 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,42 +13,42 @@ public final class WebApplicationFirewallMatchVariable extends ExpandableStringEnum { /** - * Static value RemoteAddr for WebApplicationFirewallMatchVariable. + * RemoteAddr. */ public static final WebApplicationFirewallMatchVariable REMOTE_ADDR = fromString("RemoteAddr"); /** - * Static value RequestMethod for WebApplicationFirewallMatchVariable. + * RequestMethod. */ public static final WebApplicationFirewallMatchVariable REQUEST_METHOD = fromString("RequestMethod"); /** - * Static value QueryString for WebApplicationFirewallMatchVariable. + * QueryString. */ public static final WebApplicationFirewallMatchVariable QUERY_STRING = fromString("QueryString"); /** - * Static value PostArgs for WebApplicationFirewallMatchVariable. + * PostArgs. */ public static final WebApplicationFirewallMatchVariable POST_ARGS = fromString("PostArgs"); /** - * Static value RequestUri for WebApplicationFirewallMatchVariable. + * RequestUri. */ public static final WebApplicationFirewallMatchVariable REQUEST_URI = fromString("RequestUri"); /** - * Static value RequestHeaders for WebApplicationFirewallMatchVariable. + * RequestHeaders. */ public static final WebApplicationFirewallMatchVariable REQUEST_HEADERS = fromString("RequestHeaders"); /** - * Static value RequestBody for WebApplicationFirewallMatchVariable. + * RequestBody. */ public static final WebApplicationFirewallMatchVariable REQUEST_BODY = fromString("RequestBody"); /** - * Static value RequestCookies for WebApplicationFirewallMatchVariable. + * RequestCookies. */ public static final WebApplicationFirewallMatchVariable REQUEST_COOKIES = fromString("RequestCookies"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java index 1e616b59ffe3..004f684dbc55 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class WebApplicationFirewallMode extends ExpandableStringEnum { /** - * Static value Prevention for WebApplicationFirewallMode. + * Prevention. */ public static final WebApplicationFirewallMode PREVENTION = fromString("Prevention"); /** - * Static value Detection for WebApplicationFirewallMode. + * Detection. */ public static final WebApplicationFirewallMode DETECTION = fromString("Detection"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java index 54ea121d2267..60fb09951444 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,62 +12,62 @@ */ public final class WebApplicationFirewallOperator extends ExpandableStringEnum { /** - * Static value IPMatch for WebApplicationFirewallOperator. + * IPMatch. */ public static final WebApplicationFirewallOperator IPMATCH = fromString("IPMatch"); /** - * Static value Equal for WebApplicationFirewallOperator. + * Equal. */ public static final WebApplicationFirewallOperator EQUAL = fromString("Equal"); /** - * Static value Contains for WebApplicationFirewallOperator. + * Contains. */ public static final WebApplicationFirewallOperator CONTAINS = fromString("Contains"); /** - * Static value LessThan for WebApplicationFirewallOperator. + * LessThan. */ public static final WebApplicationFirewallOperator LESS_THAN = fromString("LessThan"); /** - * Static value GreaterThan for WebApplicationFirewallOperator. + * GreaterThan. */ public static final WebApplicationFirewallOperator GREATER_THAN = fromString("GreaterThan"); /** - * Static value LessThanOrEqual for WebApplicationFirewallOperator. + * LessThanOrEqual. */ public static final WebApplicationFirewallOperator LESS_THAN_OR_EQUAL = fromString("LessThanOrEqual"); /** - * Static value GreaterThanOrEqual for WebApplicationFirewallOperator. + * GreaterThanOrEqual. */ public static final WebApplicationFirewallOperator GREATER_THAN_OR_EQUAL = fromString("GreaterThanOrEqual"); /** - * Static value BeginsWith for WebApplicationFirewallOperator. + * BeginsWith. */ public static final WebApplicationFirewallOperator BEGINS_WITH = fromString("BeginsWith"); /** - * Static value EndsWith for WebApplicationFirewallOperator. + * EndsWith. */ public static final WebApplicationFirewallOperator ENDS_WITH = fromString("EndsWith"); /** - * Static value Regex for WebApplicationFirewallOperator. + * Regex. */ public static final WebApplicationFirewallOperator REGEX = fromString("Regex"); /** - * Static value GeoMatch for WebApplicationFirewallOperator. + * GeoMatch. */ public static final WebApplicationFirewallOperator GEO_MATCH = fromString("GeoMatch"); /** - * Static value Any for WebApplicationFirewallOperator. + * Any. */ public static final WebApplicationFirewallOperator ANY = fromString("Any"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java index 784acb7eabb2..a0e3f6dd055a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,32 +13,32 @@ public final class WebApplicationFirewallPolicyResourceState extends ExpandableStringEnum { /** - * Static value Creating for WebApplicationFirewallPolicyResourceState. + * Creating. */ public static final WebApplicationFirewallPolicyResourceState CREATING = fromString("Creating"); /** - * Static value Enabling for WebApplicationFirewallPolicyResourceState. + * Enabling. */ public static final WebApplicationFirewallPolicyResourceState ENABLING = fromString("Enabling"); /** - * Static value Enabled for WebApplicationFirewallPolicyResourceState. + * Enabled. */ public static final WebApplicationFirewallPolicyResourceState ENABLED = fromString("Enabled"); /** - * Static value Disabling for WebApplicationFirewallPolicyResourceState. + * Disabling. */ public static final WebApplicationFirewallPolicyResourceState DISABLING = fromString("Disabling"); /** - * Static value Disabled for WebApplicationFirewallPolicyResourceState. + * Disabled. */ public static final WebApplicationFirewallPolicyResourceState DISABLED = fromString("Disabled"); /** - * Static value Deleting for WebApplicationFirewallPolicyResourceState. + * Deleting. */ public static final WebApplicationFirewallPolicyResourceState DELETING = fromString("Deleting"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java index 1a1bdea308bb..6be8b0edd742 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,17 +12,17 @@ */ public final class WebApplicationFirewallRuleType extends ExpandableStringEnum { /** - * Static value MatchRule for WebApplicationFirewallRuleType. + * MatchRule. */ public static final WebApplicationFirewallRuleType MATCH_RULE = fromString("MatchRule"); /** - * Static value RateLimitRule for WebApplicationFirewallRuleType. + * RateLimitRule. */ public static final WebApplicationFirewallRuleType RATE_LIMIT_RULE = fromString("RateLimitRule"); /** - * Static value Invalid for WebApplicationFirewallRuleType. + * Invalid. */ public static final WebApplicationFirewallRuleType INVALID = fromString("Invalid"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java index 47c03e0d6ec0..95c5aa52331c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java index e1642f398c72..0bb3f3bc5528 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -13,12 +13,12 @@ public final class WebApplicationFirewallScrubbingState extends ExpandableStringEnum { /** - * Static value Disabled for WebApplicationFirewallScrubbingState. + * Disabled. */ public static final WebApplicationFirewallScrubbingState DISABLED = fromString("Disabled"); /** - * Static value Enabled for WebApplicationFirewallScrubbingState. + * Enabled. */ public static final WebApplicationFirewallScrubbingState ENABLED = fromString("Enabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java index 00d66fe59a1d..dc970cd2ef9a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,12 +12,12 @@ */ public final class WebApplicationFirewallState extends ExpandableStringEnum { /** - * Static value Disabled for WebApplicationFirewallState. + * Disabled. */ public static final WebApplicationFirewallState DISABLED = fromString("Disabled"); /** - * Static value Enabled for WebApplicationFirewallState. + * Enabled. */ public static final WebApplicationFirewallState ENABLED = fromString("Enabled"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java index b52337d9640e..12eb5fcfb51c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.network.models; @@ -12,37 +12,37 @@ */ public final class WebApplicationFirewallTransform extends ExpandableStringEnum { /** - * Static value Uppercase for WebApplicationFirewallTransform. + * Uppercase. */ public static final WebApplicationFirewallTransform UPPERCASE = fromString("Uppercase"); /** - * Static value Lowercase for WebApplicationFirewallTransform. + * Lowercase. */ public static final WebApplicationFirewallTransform LOWERCASE = fromString("Lowercase"); /** - * Static value Trim for WebApplicationFirewallTransform. + * Trim. */ public static final WebApplicationFirewallTransform TRIM = fromString("Trim"); /** - * Static value UrlDecode for WebApplicationFirewallTransform. + * UrlDecode. */ public static final WebApplicationFirewallTransform URL_DECODE = fromString("UrlDecode"); /** - * Static value UrlEncode for WebApplicationFirewallTransform. + * UrlEncode. */ public static final WebApplicationFirewallTransform URL_ENCODE = fromString("UrlEncode"); /** - * Static value RemoveNulls for WebApplicationFirewallTransform. + * RemoveNulls. */ public static final WebApplicationFirewallTransform REMOVE_NULLS = fromString("RemoveNulls"); /** - * Static value HtmlEntityDecode for WebApplicationFirewallTransform. + * HtmlEntityDecode. */ public static final WebApplicationFirewallTransform HTML_ENTITY_DECODE = fromString("HtmlEntityDecode"); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WritableResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WritableResource.java new file mode 100644 index 000000000000..844d74b72991 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WritableResource.java @@ -0,0 +1,149 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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; + +/** + * Common resource representation. + */ +@Fluent +public class WritableResource implements JsonSerializable { + /* + * Resource ID. + */ + private String id; + + /* + * Resource name. + */ + private String name; + + /* + * Resource type. + */ + private String type; + + /** + * Creates an instance of WritableResource class. + */ + public WritableResource() { + } + + /** + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the WritableResource object itself. + */ + public WritableResource withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: Resource name. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Resource name. + * + * @param name the name value to set. + * @return the WritableResource object itself. + */ + public WritableResource withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: Resource type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: Resource type. + * + * @param type the type value to set. + * @return the WritableResource object itself. + */ + public WritableResource withType(String type) { + this.type = type; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("type", this.type); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of WritableResource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of WritableResource 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 WritableResource. + */ + public static WritableResource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + WritableResource deserializedWritableResource = new WritableResource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedWritableResource.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedWritableResource.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedWritableResource.type = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedWritableResource; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/package-info.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/package-info.java index 1affd0445fb7..dd3c94f560e2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/package-info.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/package-info.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. /** - * Package containing the data models for NetworkManagementClient. - * Network Client. + * Package containing the data models for Network. + * APIs to manage web application firewall rules. */ package com.azure.resourcemanager.network.models; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/package-info.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/package-info.java index 5a03e487716d..6479699ef091 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/package-info.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/package-info.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. /** - * Package containing the classes for NetworkManagementClient. - * Network Client. + * Package containing the classes for Network. + * APIs to manage web application firewall rules. */ package com.azure.resourcemanager.network; diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json new file mode 100644 index 000000000000..c8ade6201112 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -0,0 +1 @@ +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIPPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveBaseSecurityAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveBaseSecurityAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLOAResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWANInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIPPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveConnectivityConfigurationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveSecurityAdminRulesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EffectiveRouteMapRouteList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteGatewayList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GatewayRouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerDeploymentStatusListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SignaturesOverridesList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SwapResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualHubEffectiveRouteList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VpnClientConnectionHealthDetailListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJWTValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIPAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BGPCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySNAT.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySQL.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLOARequest.java","src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HTTPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HTTPConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HTTPHeader.java","src/main/java/com/azure/resourcemanager/network/models/HTTPMethod.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IDPSQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IPConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IPRule.java","src/main/java/com/azure/resourcemanager/network/models/IPTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIPVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json index a1eea94ffc03..8afa0e060913 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json @@ -1 +1 @@ -[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIpPrefixesClientImpl$CustomIpPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIpConfigurationsClientImpl$LoadBalancerFrontendIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIpConfigurationsClientImpl$NetworkInterfaceIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkManagementClientImpl$NetworkManagementClientService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2SClientImpl$VirtualHubRouteTableV2SService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file +[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.CheckDnsNameAvailabilitiesClientImpl$CheckDnsNameAvailabilitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIPPrefixesClientImpl$CustomIPPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.EffectiveConfigurationsClientImpl$EffectiveConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsClientImpl$ExpressRouteProviderPortsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIPConfigurationsClientImpl$LoadBalancerFrontendIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIPConfigurationsClientImpl$NetworkInterfaceIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.P2sVpnGatewaysOperationsClientImpl$P2sVpnGatewaysOperationsService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIPAddressesOperationsClientImpl$PublicIPAddressesOperationsService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2sClientImpl$VirtualHubRouteTableV2sService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..455eb908b3cb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsCreateOrUpdateSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.AdminRuleCollectionInner; +import com.azure.resourcemanager.network.models.NetworkManagerSecurityGroupItem; +import java.util.Arrays; + +/** + * Samples for AdminRuleCollections CreateOrUpdate. + */ +public final class AdminRuleCollectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerAdminRuleCollectionPut.json + */ + /** + * Sample code: Create or Update an admin rule collection. + * + * @param manager Entry point to NetworkManager. + */ + public static void createOrUpdateAnAdminRuleCollection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAdminRuleCollections() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + new AdminRuleCollectionInner().withDescription("A sample policy") + .withAppliesToGroups(Arrays.asList(new NetworkManagerSecurityGroupItem().withNetworkGroupId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsDeleteSamples.java new file mode 100644 index 000000000000..cad9e362940e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AdminRuleCollections Delete. + */ +public final class AdminRuleCollectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerAdminRuleCollectionDelete.json + */ + /** + * Sample code: Deletes an admin rule collection. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletesAnAdminRuleCollection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAdminRuleCollections() + .delete("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", false, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsGetSamples.java new file mode 100644 index 000000000000..44bbd2152380 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AdminRuleCollections Get. + */ +public final class AdminRuleCollectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerAdminRuleCollectionGet.json + */ + /** + * Sample code: Gets security admin rule collection. + * + * @param manager Entry point to NetworkManager. + */ + public static void getsSecurityAdminRuleCollection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAdminRuleCollections() + .getWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsListSamples.java new file mode 100644 index 000000000000..c07e64ac40b1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRuleCollectionsListSamples.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.network.generated; + +/** + * Samples for AdminRuleCollections List. + */ +public final class AdminRuleCollectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerAdminRuleCollectionList.json + */ + /** + * Sample code: List security admin rule collections. + * + * @param manager Entry point to NetworkManager. + */ + public static void listSecurityAdminRuleCollections(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAdminRuleCollections() + .list("rg1", "testNetworkManager", "myTestSecurityConfig", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..7306ef5c5e49 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesCreateOrUpdateSamples.java @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.AddressPrefixItem; +import com.azure.resourcemanager.network.models.AddressPrefixType; +import com.azure.resourcemanager.network.models.AdminRule; +import com.azure.resourcemanager.network.models.SecurityConfigurationRuleAccess; +import com.azure.resourcemanager.network.models.SecurityConfigurationRuleDirection; +import com.azure.resourcemanager.network.models.SecurityConfigurationRuleProtocol; +import java.util.Arrays; + +/** + * Samples for AdminRules CreateOrUpdate. + */ +public final class AdminRulesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerAdminRulePut_NetworkGroupSource.json + */ + /** + * Sample code: Create a admin rule with network group as source or destination. + * + * @param manager Entry point to NetworkManager. + */ + public static void createAAdminRuleWithNetworkGroupAsSourceOrDestination( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAdminRules() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + "SampleAdminRule", + new AdminRule().withDescription("This is Sample Admin Rule") + .withProtocol(SecurityConfigurationRuleProtocol.TCP) + .withSources(Arrays.asList(new AddressPrefixItem().withAddressPrefix("Internet") + .withAddressPrefixType(AddressPrefixType.SERVICE_TAG))) + .withDestinations(Arrays.asList(new AddressPrefixItem().withAddressPrefix( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/ng1") + .withAddressPrefixType(AddressPrefixType.NETWORK_GROUP))) + .withSourcePortRanges(Arrays.asList("0-65535")) + .withDestinationPortRanges(Arrays.asList("22")) + .withAccess(SecurityConfigurationRuleAccess.DENY) + .withPriority(1) + .withDirection(SecurityConfigurationRuleDirection.INBOUND), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkManagerAdminRulePut.json + */ + /** + * Sample code: Create an admin rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void createAnAdminRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAdminRules() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + "SampleAdminRule", + new AdminRule().withDescription("This is Sample Admin Rule") + .withProtocol(SecurityConfigurationRuleProtocol.TCP) + .withSources(Arrays.asList(new AddressPrefixItem().withAddressPrefix("Internet") + .withAddressPrefixType(AddressPrefixType.SERVICE_TAG))) + .withDestinations(Arrays.asList(new AddressPrefixItem().withAddressPrefix("*") + .withAddressPrefixType(AddressPrefixType.IPPREFIX))) + .withSourcePortRanges(Arrays.asList("0-65535")) + .withDestinationPortRanges(Arrays.asList("22")) + .withAccess(SecurityConfigurationRuleAccess.DENY) + .withPriority(1) + .withDirection(SecurityConfigurationRuleDirection.INBOUND), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesDeleteSamples.java new file mode 100644 index 000000000000..43aa9d531300 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AdminRules Delete. + */ +public final class AdminRulesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerAdminRuleDelete.json + */ + /** + * Sample code: Deletes an admin rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletesAnAdminRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAdminRules() + .delete("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", "SampleAdminRule", false, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesGetSamples.java new file mode 100644 index 000000000000..a4850f003004 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesGetSamples.java @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AdminRules Get. + */ +public final class AdminRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerDefaultAdminRuleGet.json + */ + /** + * Sample code: Gets security default admin rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void getsSecurityDefaultAdminRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAdminRules() + .getWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + "SampleDefaultAdminRule", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkManagerAdminRuleGet.json + */ + /** + * Sample code: Gets security admin rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void getsSecurityAdminRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAdminRules() + .getWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + "SampleAdminRule", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesListSamples.java new file mode 100644 index 000000000000..5292e685f1ae --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AdminRulesListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AdminRules List. + */ +public final class AdminRulesListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerAdminRuleList.json + */ + /** + * Sample code: List security admin rules. + * + * @param manager Entry point to NetworkManager. + */ + public static void listSecurityAdminRules(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAdminRules() + .list("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", null, null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsDeleteSamples.java new file mode 100644 index 000000000000..d75f80936437 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ApplicationGatewayPrivateEndpointConnections Delete. + */ +public final class ApplicationGatewayPrivateEndpointConnectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayPrivateEndpointConnectionDelete.json + */ + /** + * Sample code: Delete Application Gateway Private Endpoint Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteApplicationGatewayPrivateEndpointConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGatewayPrivateEndpointConnections() + .delete("rg1", "appgw", "connection1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsGetSamples.java new file mode 100644 index 000000000000..0a3b2ec6349d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ApplicationGatewayPrivateEndpointConnections Get. + */ +public final class ApplicationGatewayPrivateEndpointConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayPrivateEndpointConnectionGet.json + */ + /** + * Sample code: Get Application Gateway Private Endpoint Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getApplicationGatewayPrivateEndpointConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGatewayPrivateEndpointConnections() + .getWithResponse("rg1", "appgw", "connection1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsListSamples.java new file mode 100644 index 000000000000..e4cb7d76f692 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ApplicationGatewayPrivateEndpointConnections List. + */ +public final class ApplicationGatewayPrivateEndpointConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayPrivateEndpointConnectionList.json + */ + /** + * Sample code: Lists all private endpoint connections on application gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void listsAllPrivateEndpointConnectionsOnApplicationGateway( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGatewayPrivateEndpointConnections() + .list("rg1", "appgw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsUpdateSamples.java new file mode 100644 index 000000000000..9345ca2eed58 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateEndpointConnectionsUpdateSamples.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayPrivateEndpointConnectionInner; +import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; + +/** + * Samples for ApplicationGatewayPrivateEndpointConnections Update. + */ +public final class ApplicationGatewayPrivateEndpointConnectionsUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayPrivateEndpointConnectionUpdate.json + */ + /** + * Sample code: Update Application Gateway Private Endpoint Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + updateApplicationGatewayPrivateEndpointConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGatewayPrivateEndpointConnections() + .update("rg1", "appgw", "connection1", + new ApplicationGatewayPrivateEndpointConnectionInner().withName("connection1") + .withPrivateLinkServiceConnectionState( + new PrivateLinkServiceConnectionState().withStatus("Approved") + .withDescription("approved it for some reason.")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateLinkResourcesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateLinkResourcesListSamples.java new file mode 100644 index 000000000000..fdeed078b3ed --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayPrivateLinkResourcesListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ApplicationGatewayPrivateLinkResources List. + */ +public final class ApplicationGatewayPrivateLinkResourcesListSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayPrivateLinkResourceList.json + */ + /** + * Sample code: Lists all private link resources on application gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listsAllPrivateLinkResourcesOnApplicationGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGatewayPrivateLinkResources() + .list("rg1", "appgw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayWafDynamicManifestsDefaultGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayWafDynamicManifestsDefaultGetSamples.java new file mode 100644 index 000000000000..f64294e308f5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayWafDynamicManifestsDefaultGetSamples.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.network.generated; + +/** + * Samples for ApplicationGatewayWafDynamicManifestsDefault Get. + */ +public final class ApplicationGatewayWafDynamicManifestsDefaultGetSamples { + /* + * x-ms-original-file: 2025-05-01/GetApplicationGatewayWafDynamicManifestsDefault.json + */ + /** + * Sample code: Gets WAF default manifest. + * + * @param manager Entry point to NetworkManager. + */ + public static void getsWAFDefaultManifest(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGatewayWafDynamicManifestsDefaults() + .getWithResponse("westus", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayWafDynamicManifestsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayWafDynamicManifestsGetSamples.java new file mode 100644 index 000000000000..59c757c6e743 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewayWafDynamicManifestsGetSamples.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.network.generated; + +/** + * Samples for ApplicationGatewayWafDynamicManifests Get. + */ +public final class ApplicationGatewayWafDynamicManifestsGetSamples { + /* + * x-ms-original-file: 2025-05-01/GetApplicationGatewayWafDynamicManifests.json + */ + /** + * Sample code: Gets WAF manifests. + * + * @param manager Entry point to NetworkManager. + */ + public static void getsWAFManifests(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGatewayWafDynamicManifests() + .get("westus", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysBackendHealthOnDemandSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysBackendHealthOnDemandSamples.java new file mode 100644 index 000000000000..3315d0456d8e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysBackendHealthOnDemandSamples.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.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.models.ApplicationGatewayOnDemandProbe; +import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; + +/** + * Samples for ApplicationGateways BackendHealthOnDemand. + */ +public final class ApplicationGatewaysBackendHealthOnDemandSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayBackendHealthTest.json + */ + /** + * Sample code: Test Backend Health. + * + * @param manager Entry point to NetworkManager. + */ + public static void testBackendHealth(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .backendHealthOnDemand("rg1", "appgw", new ApplicationGatewayOnDemandProbe() + .withProtocol(ApplicationGatewayProtocol.HTTP) + .withPath("/") + .withTimeout(30) + .withPickHostnameFromBackendHttpSettings(true) + .withBackendAddressPool(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool")) + .withBackendHttpSettings(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings")), + null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysBackendHealthSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysBackendHealthSamples.java new file mode 100644 index 000000000000..5d273d7d9e1c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysBackendHealthSamples.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.network.generated; + +/** + * Samples for ApplicationGateways BackendHealth. + */ +public final class ApplicationGatewaysBackendHealthSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayBackendHealthGet.json + */ + /** + * Sample code: Get Backend Health. + * + * @param manager Entry point to NetworkManager. + */ + public static void getBackendHealth(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .backendHealth("appgw", "appgw", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysCreateOrUpdateSamples.java new file mode 100644 index 000000000000..7fe5c1e735ff --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysCreateOrUpdateSamples.java @@ -0,0 +1,194 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayInner; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayRequestRoutingRuleInner; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewaySslCertificateInner; +import com.azure.resourcemanager.network.models.ApplicationGatewayBackendAddress; +import com.azure.resourcemanager.network.models.ApplicationGatewayBackendAddressPool; +import com.azure.resourcemanager.network.models.ApplicationGatewayBackendHttpSettings; +import com.azure.resourcemanager.network.models.ApplicationGatewayClientAuthConfiguration; +import com.azure.resourcemanager.network.models.ApplicationGatewayCookieBasedAffinity; +import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJWTValidationConfig; +import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendIpConfiguration; +import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendPort; +import com.azure.resourcemanager.network.models.ApplicationGatewayGlobalConfiguration; +import com.azure.resourcemanager.network.models.ApplicationGatewayHeaderConfiguration; +import com.azure.resourcemanager.network.models.ApplicationGatewayHttpListener; +import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; +import com.azure.resourcemanager.network.models.ApplicationGatewayRequestRoutingRuleType; +import com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRule; +import com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRuleActionSet; +import com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRuleCondition; +import com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRuleSet; +import com.azure.resourcemanager.network.models.ApplicationGatewaySku; +import com.azure.resourcemanager.network.models.ApplicationGatewaySkuName; +import com.azure.resourcemanager.network.models.ApplicationGatewaySslCipherSuite; +import com.azure.resourcemanager.network.models.ApplicationGatewaySslPolicy; +import com.azure.resourcemanager.network.models.ApplicationGatewaySslPolicyType; +import com.azure.resourcemanager.network.models.ApplicationGatewaySslProfile; +import com.azure.resourcemanager.network.models.ApplicationGatewaySslProtocol; +import com.azure.resourcemanager.network.models.ApplicationGatewayTier; +import com.azure.resourcemanager.network.models.ApplicationGatewayTrustedClientCertificate; +import com.azure.resourcemanager.network.models.ApplicationGatewayTrustedRootCertificate; +import com.azure.resourcemanager.network.models.ApplicationGatewayUnAuthorizedRequestAction; +import com.azure.resourcemanager.network.models.ApplicationGatewayUrlConfiguration; +import com.azure.resourcemanager.network.models.ManagedServiceIdentity; +import com.azure.resourcemanager.network.models.ManagedServiceIdentityUserAssignedIdentities; +import com.azure.resourcemanager.network.models.ResourceIdentityType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for ApplicationGateways CreateOrUpdate. + */ +public final class ApplicationGatewaysCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayCreate.json + */ + /** + * Sample code: Create Application Gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void createApplicationGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .createOrUpdate("rg1", "appgw", new ApplicationGatewayInner().withLocation("eastus") + .withIdentity(new ManagedServiceIdentity().withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withSku(new ApplicationGatewaySku().withName(ApplicationGatewaySkuName.STANDARD_V2) + .withTier(ApplicationGatewayTier.STANDARD_V2) + .withCapacity(3)) + .withGatewayIpConfigurations(Arrays.asList(new ApplicationGatewayIpConfigurationInner() + .withName("appgwipc") + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet")))) + .withTrustedRootCertificates( + Arrays.asList(new ApplicationGatewayTrustedRootCertificate().withName("rootcert").withData("****"), + new ApplicationGatewayTrustedRootCertificate().withName("rootcert1") + .withKeyVaultSecretId("fakeTokenPlaceholder"))) + .withTrustedClientCertificates(Arrays + .asList(new ApplicationGatewayTrustedClientCertificate().withName("clientcert").withData("****"))) + .withSslCertificates(Arrays.asList( + new ApplicationGatewaySslCertificateInner().withName("sslcert") + .withData("****") + .withPassword("fakeTokenPlaceholder"), + new ApplicationGatewaySslCertificateInner().withName("sslcert2") + .withKeyVaultSecretId("fakeTokenPlaceholder"))) + .withFrontendIpConfigurations(Arrays.asList(new ApplicationGatewayFrontendIpConfiguration() + .withName("appgwfip") + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip")))) + .withFrontendPorts(Arrays.asList(new ApplicationGatewayFrontendPort().withName("appgwfp").withPort(443), + new ApplicationGatewayFrontendPort().withName("appgwfp80").withPort(80))) + .withBackendAddressPools( + Arrays.asList( + new ApplicationGatewayBackendAddressPool().withName("appgwpool") + .withBackendAddresses(Arrays.asList( + new ApplicationGatewayBackendAddress().withIpAddress("10.0.1.1"), + new ApplicationGatewayBackendAddress().withIpAddress("10.0.1.2"))), + new ApplicationGatewayBackendAddressPool().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1") + .withName("appgwpool1") + .withBackendAddresses( + Arrays.asList(new ApplicationGatewayBackendAddress().withIpAddress("10.0.0.1"), + new ApplicationGatewayBackendAddress().withIpAddress("10.0.0.2"))))) + .withBackendHttpSettingsCollection( + Arrays.asList(new ApplicationGatewayBackendHttpSettings().withName("appgwbhs") + .withPort(80) + .withProtocol(ApplicationGatewayProtocol.HTTP) + .withCookieBasedAffinity(ApplicationGatewayCookieBasedAffinity.DISABLED) + .withRequestTimeout(30))) + .withHttpListeners(Arrays.asList(new ApplicationGatewayHttpListener().withName("appgwhl") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip")) + .withFrontendPort(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp")) + .withProtocol(ApplicationGatewayProtocol.HTTPS) + .withSslCertificate(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert")) + .withSslProfile(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1")) + .withRequireServerNameIndication(false), + new ApplicationGatewayHttpListener().withName("appgwhttplistener") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip")) + .withFrontendPort(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80")) + .withProtocol(ApplicationGatewayProtocol.HTTP))) + .withSslProfiles(Arrays.asList(new ApplicationGatewaySslProfile().withName("sslProfile1") + .withTrustedClientCertificates(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert"))) + .withSslPolicy( + new ApplicationGatewaySslPolicy().withPolicyType(ApplicationGatewaySslPolicyType.CUSTOM) + .withCipherSuites( + Arrays.asList(ApplicationGatewaySslCipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256)) + .withMinProtocolVersion(ApplicationGatewaySslProtocol.TLSV1_1)) + .withClientAuthConfiguration( + new ApplicationGatewayClientAuthConfiguration().withVerifyClientCertIssuerDN(true)))) + .withRequestRoutingRules(Arrays.asList(new ApplicationGatewayRequestRoutingRuleInner() + .withName("appgwrule") + .withRuleType(ApplicationGatewayRequestRoutingRuleType.BASIC) + .withPriority(10) + .withBackendAddressPool(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool")) + .withBackendHttpSettings(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs")) + .withHttpListener(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl")) + .withRewriteRuleSet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1")) + .withEntraJWTValidationConfig(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1")))) + .withRewriteRuleSets( + Arrays + .asList(new ApplicationGatewayRewriteRuleSet().withName("rewriteRuleSet1") + .withRewriteRules(Arrays.asList(new ApplicationGatewayRewriteRule() + .withName("Set X-Forwarded-For") + .withRuleSequence(102) + .withConditions(Arrays.asList(new ApplicationGatewayRewriteRuleCondition() + .withVariable("http_req_Authorization") + .withPattern("^Bearer") + .withIgnoreCase(true) + .withNegate(false))) + .withActionSet(new ApplicationGatewayRewriteRuleActionSet() + .withRequestHeaderConfigurations(Arrays.asList( + new ApplicationGatewayHeaderConfiguration().withHeaderName("X-Forwarded-For") + .withHeaderValue("{var_add_x_forwarded_for_proxy}"))) + .withResponseHeaderConfigurations( + Arrays.asList(new ApplicationGatewayHeaderConfiguration() + .withHeaderName("Strict-Transport-Security") + .withHeaderValue("max-age=31536000"))) + .withUrlConfiguration( + new ApplicationGatewayUrlConfiguration().withModifiedPath("/abc"))))))) + .withEntraJWTValidationConfigs( + Arrays.asList(new ApplicationGatewayEntraJWTValidationConfig().withName("entraJWTValidationConfig1") + .withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction.DENY) + .withTenantId("70a036f6-8e4d-4615-bad6-149c02e7720d") + .withClientId("37293f5a-97b3-451d-b786-f532d711c9ff"))) + .withGlobalConfiguration(new ApplicationGatewayGlobalConfiguration().withEnableRequestBuffering(true) + .withEnableResponseBuffering(true)), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysDeleteSamples.java new file mode 100644 index 000000000000..885ebfef71e8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ApplicationGateways Delete. + */ +public final class ApplicationGatewaysDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayDelete.json + */ + /** + * Sample code: Delete ApplicationGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteApplicationGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getApplicationGateways().delete("rg1", "appgw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysGetByResourceGroupSamples.java new file mode 100644 index 000000000000..c0406b757ec1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for ApplicationGateways GetByResourceGroup. + */ +public final class ApplicationGatewaysGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayGet.json + */ + /** + * Sample code: Get ApplicationGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void getApplicationGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .getByResourceGroupWithResponse("rg1", "appgw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysGetSslPredefinedPolicySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysGetSslPredefinedPolicySamples.java new file mode 100644 index 000000000000..00325bbe91df --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysGetSslPredefinedPolicySamples.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.network.generated; + +/** + * Samples for ApplicationGateways GetSslPredefinedPolicy. + */ +public final class ApplicationGatewaysGetSslPredefinedPolicySamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json + */ + /** + * Sample code: Get Available Ssl Predefined Policy by name. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailableSslPredefinedPolicyByName(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .getSslPredefinedPolicyWithResponse("AppGwSslPolicy20150501", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableRequestHeadersSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableRequestHeadersSamples.java new file mode 100644 index 000000000000..340fbe4b4a6b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableRequestHeadersSamples.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.network.generated; + +/** + * Samples for ApplicationGateways ListAvailableRequestHeaders. + */ +public final class ApplicationGatewaysListAvailableRequestHeadersSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayAvailableRequestHeadersGet.json + */ + /** + * Sample code: Get Available Request Headers. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailableRequestHeaders(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .listAvailableRequestHeadersWithResponse(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableResponseHeadersSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableResponseHeadersSamples.java new file mode 100644 index 000000000000..17d55fcb726c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableResponseHeadersSamples.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.network.generated; + +/** + * Samples for ApplicationGateways ListAvailableResponseHeaders. + */ +public final class ApplicationGatewaysListAvailableResponseHeadersSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayAvailableResponseHeadersGet.json + */ + /** + * Sample code: Get Available Response Headers. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailableResponseHeaders(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .listAvailableResponseHeadersWithResponse(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableServerVariablesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableServerVariablesSamples.java new file mode 100644 index 000000000000..7acb8959e7ef --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableServerVariablesSamples.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.network.generated; + +/** + * Samples for ApplicationGateways ListAvailableServerVariables. + */ +public final class ApplicationGatewaysListAvailableServerVariablesSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayAvailableServerVariablesGet.json + */ + /** + * Sample code: Get Available Server Variables. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailableServerVariables(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .listAvailableServerVariablesWithResponse(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableSslOptionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableSslOptionsSamples.java new file mode 100644 index 000000000000..cb997385c050 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableSslOptionsSamples.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.network.generated; + +/** + * Samples for ApplicationGateways ListAvailableSslOptions. + */ +public final class ApplicationGatewaysListAvailableSslOptionsSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayAvailableSslOptionsGet.json + */ + /** + * Sample code: Get Available Ssl Options. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailableSslOptions(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .listAvailableSslOptionsWithResponse(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableSslPredefinedPoliciesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableSslPredefinedPoliciesSamples.java new file mode 100644 index 000000000000..a12f73a55f4b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableSslPredefinedPoliciesSamples.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.network.generated; + +/** + * Samples for ApplicationGateways ListAvailableSslPredefinedPolicies. + */ +public final class ApplicationGatewaysListAvailableSslPredefinedPoliciesSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json + */ + /** + * Sample code: Get Available Ssl Predefined Policies. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailableSslPredefinedPolicies(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .listAvailableSslPredefinedPolicies(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableWafRuleSetsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableWafRuleSetsSamples.java new file mode 100644 index 000000000000..76973160634e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListAvailableWafRuleSetsSamples.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.network.generated; + +/** + * Samples for ApplicationGateways ListAvailableWafRuleSets. + */ +public final class ApplicationGatewaysListAvailableWafRuleSetsSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayAvailableWafRuleSetsGet.json + */ + /** + * Sample code: Get Available Waf Rule Sets. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailableWafRuleSets(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .listAvailableWafRuleSetsWithResponse(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListByResourceGroupSamples.java new file mode 100644 index 000000000000..831e05168511 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListByResourceGroupSamples.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.network.generated; + +/** + * Samples for ApplicationGateways ListByResourceGroup. + */ +public final class ApplicationGatewaysListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayList.json + */ + /** + * Sample code: Lists all application gateways in a resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listsAllApplicationGatewaysInAResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getApplicationGateways().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListSamples.java new file mode 100644 index 000000000000..2886b1c25c51 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysListSamples.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.network.generated; + +/** + * Samples for ApplicationGateways List. + */ +public final class ApplicationGatewaysListSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayListAll.json + */ + /** + * Sample code: Lists all application gateways in a subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listsAllApplicationGatewaysInASubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getApplicationGateways().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysStartSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysStartSamples.java new file mode 100644 index 000000000000..39adc7bcd620 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysStartSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ApplicationGateways Start. + */ +public final class ApplicationGatewaysStartSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayStart.json + */ + /** + * Sample code: Start Application Gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void startApplicationGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getApplicationGateways().start("rg1", "appgw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysStopSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysStopSamples.java new file mode 100644 index 000000000000..2d09b989a1ce --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysStopSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ApplicationGateways Stop. + */ +public final class ApplicationGatewaysStopSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayStop.json + */ + /** + * Sample code: Stop Application Gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void stopApplicationGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getApplicationGateways().stop("rg1", "appgw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysUpdateTagsSamples.java new file mode 100644 index 000000000000..e0560fcf2870 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationGatewaysUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for ApplicationGateways UpdateTags. + */ +public final class ApplicationGatewaysUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationGatewayUpdateTags.json + */ + /** + * Sample code: Update Application Gateway tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateApplicationGatewayTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationGateways() + .updateTagsWithResponse("rg1", "AppGw", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..cc7924a400ff --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ApplicationSecurityGroupInner; + +/** + * Samples for ApplicationSecurityGroups CreateOrUpdate. + */ +public final class ApplicationSecurityGroupsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationSecurityGroupCreate.json + */ + /** + * Sample code: Create application security group. + * + * @param manager Entry point to NetworkManager. + */ + public static void createApplicationSecurityGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationSecurityGroups() + .createOrUpdate("rg1", "test-asg", new ApplicationSecurityGroupInner().withLocation("westus"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsDeleteSamples.java new file mode 100644 index 000000000000..6b74a55bae65 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsDeleteSamples.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.network.generated; + +/** + * Samples for ApplicationSecurityGroups Delete. + */ +public final class ApplicationSecurityGroupsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationSecurityGroupDelete.json + */ + /** + * Sample code: Delete application security group. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteApplicationSecurityGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationSecurityGroups() + .delete("rg1", "test-asg", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..218d67cd8f55 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for ApplicationSecurityGroups GetByResourceGroup. + */ +public final class ApplicationSecurityGroupsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationSecurityGroupGet.json + */ + /** + * Sample code: Get application security group. + * + * @param manager Entry point to NetworkManager. + */ + public static void getApplicationSecurityGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationSecurityGroups() + .getByResourceGroupWithResponse("rg1", "test-asg", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsListByResourceGroupSamples.java new file mode 100644 index 000000000000..1eab5abc469b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsListByResourceGroupSamples.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.network.generated; + +/** + * Samples for ApplicationSecurityGroups ListByResourceGroup. + */ +public final class ApplicationSecurityGroupsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationSecurityGroupList.json + */ + /** + * Sample code: List load balancers in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listLoadBalancersInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationSecurityGroups() + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsListSamples.java new file mode 100644 index 000000000000..404a99a6a45b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ApplicationSecurityGroups List. + */ +public final class ApplicationSecurityGroupsListSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationSecurityGroupListAll.json + */ + /** + * Sample code: List all application security groups. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllApplicationSecurityGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getApplicationSecurityGroups().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsUpdateTagsSamples.java new file mode 100644 index 000000000000..3e867a1f1657 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ApplicationSecurityGroupsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for ApplicationSecurityGroups UpdateTags. + */ +public final class ApplicationSecurityGroupsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/ApplicationSecurityGroupUpdateTags.json + */ + /** + * Sample code: Update application security group tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateApplicationSecurityGroupTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getApplicationSecurityGroups() + .updateTagsWithResponse("rg1", "test-asg", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableDelegationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableDelegationsListSamples.java new file mode 100644 index 000000000000..3b8372d4e922 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableDelegationsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AvailableDelegations List. + */ +public final class AvailableDelegationsListSamples { + /* + * x-ms-original-file: 2025-05-01/AvailableDelegationsSubscriptionGet.json + */ + /** + * Sample code: Get available delegations. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailableDelegations(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getAvailableDelegations().list("westcentralus", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableEndpointServicesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableEndpointServicesListSamples.java new file mode 100644 index 000000000000..10d097d65092 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableEndpointServicesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AvailableEndpointServices List. + */ +public final class AvailableEndpointServicesListSamples { + /* + * x-ms-original-file: 2025-05-01/EndpointServicesList.json + */ + /** + * Sample code: EndpointServicesList. + * + * @param manager Entry point to NetworkManager. + */ + public static void endpointServicesList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getAvailableEndpointServices().list("westus", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListByResourceGroupSamples.java new file mode 100644 index 000000000000..dee172fb91f0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AvailablePrivateEndpointTypes ListByResourceGroup. + */ +public final class AvailablePrivateEndpointTypesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/AvailablePrivateEndpointTypesResourceGroupGet.json + */ + /** + * Sample code: Get available PrivateEndpoint types in the resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getAvailablePrivateEndpointTypesInTheResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAvailablePrivateEndpointTypes() + .listByResourceGroup("rg1", "regionName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListSamples.java new file mode 100644 index 000000000000..f862982f029f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AvailablePrivateEndpointTypes List. + */ +public final class AvailablePrivateEndpointTypesListSamples { + /* + * x-ms-original-file: 2025-05-01/AvailablePrivateEndpointTypesGet.json + */ + /** + * Sample code: Get available PrivateEndpoint types. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailablePrivateEndpointTypes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getAvailablePrivateEndpointTypes().list("regionName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableResourceGroupDelegationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableResourceGroupDelegationsListSamples.java new file mode 100644 index 000000000000..76d457713e91 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableResourceGroupDelegationsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AvailableResourceGroupDelegations List. + */ +public final class AvailableResourceGroupDelegationsListSamples { + /* + * x-ms-original-file: 2025-05-01/AvailableDelegationsResourceGroupGet.json + */ + /** + * Sample code: Get available delegations in the resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getAvailableDelegationsInTheResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAvailableResourceGroupDelegations() + .list("rg1", "westcentralus", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableServiceAliasesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableServiceAliasesListByResourceGroupSamples.java new file mode 100644 index 000000000000..22b55fdc2dc3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableServiceAliasesListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AvailableServiceAliases ListByResourceGroup. + */ +public final class AvailableServiceAliasesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/AvailableServiceAliasesListByResourceGroup.json + */ + /** + * Sample code: Get available service aliases in the resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getAvailableServiceAliasesInTheResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAvailableServiceAliases() + .listByResourceGroup("rg1", "westcentralus", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableServiceAliasesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableServiceAliasesListSamples.java new file mode 100644 index 000000000000..011e2e6eea46 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableServiceAliasesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AvailableServiceAliases List. + */ +public final class AvailableServiceAliasesListSamples { + /* + * x-ms-original-file: 2025-05-01/AvailableServiceAliasesList.json + */ + /** + * Sample code: Get available service aliases. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailableServiceAliases(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getAvailableServiceAliases().list("westcentralus", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallFqdnTagsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallFqdnTagsListSamples.java new file mode 100644 index 000000000000..0210554aea0d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallFqdnTagsListSamples.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.network.generated; + +/** + * Samples for AzureFirewallFqdnTags List. + */ +public final class AzureFirewallFqdnTagsListSamples { + /* + * x-ms-original-file: 2025-05-01/AzureFirewallFqdnTagsListBySubscription.json + */ + /** + * Sample code: List all Azure Firewall FQDN Tags for a given subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllAzureFirewallFQDNTagsForAGivenSubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getAzureFirewallFqdnTags().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..123a04cc80d6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsCreateOrUpdateSamples.java @@ -0,0 +1,488 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRule; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleProtocolType; +import com.azure.resourcemanager.network.models.AzureFirewallIPConfiguration; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallNatRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallNatRule; +import com.azure.resourcemanager.network.models.AzureFirewallNatRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRule; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleCollection; +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallRCAction; +import com.azure.resourcemanager.network.models.AzureFirewallRCActionType; +import com.azure.resourcemanager.network.models.AzureFirewallSku; +import com.azure.resourcemanager.network.models.AzureFirewallSkuName; +import com.azure.resourcemanager.network.models.AzureFirewallSkuTier; +import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; +import com.azure.resourcemanager.network.models.HubIPAddresses; +import com.azure.resourcemanager.network.models.HubPublicIPAddresses; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for AzureFirewalls CreateOrUpdate. + */ +public final class AzureFirewallsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/AzureFirewallPutWithIpGroups.json + */ + /** + * Sample code: Create Azure Firewall With IpGroups. + * + * @param manager Entry point to NetworkManager. + */ + public static void createAzureFirewallWithIpGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .createOrUpdate("rg1", "azurefirewall", new AzureFirewallInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withZones(Arrays.asList()) + .withApplicationRuleCollections(Arrays.asList(new AzureFirewallApplicationRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll") + .withName("apprulecoll") + .withPriority(110) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules(Arrays.asList(new AzureFirewallApplicationRule().withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols(Arrays.asList(new AzureFirewallApplicationRuleProtocol() + .withProtocolType(AzureFirewallApplicationRuleProtocolType.HTTPS) + .withPort(443))) + .withTargetFqdns(Arrays.asList("www.test.com")))))) + .withNatRuleCollections(Arrays.asList(new AzureFirewallNatRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll") + .withName("natrulecoll") + .withPriority(112) + .withAction(new AzureFirewallNatRCAction().withType(AzureFirewallNatRCActionType.DNAT)) + .withRules(Arrays.asList( + new AzureFirewallNatRule().withName("DNAT-HTTPS-traffic") + .withDescription("D-NAT all outbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("443")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedAddress("1.2.3.5") + .withTranslatedPort("8443"), + new AzureFirewallNatRule().withName("DNAT-HTTP-traffic-With-FQDN") + .withDescription("D-NAT all inbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("80")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedPort("880") + .withTranslatedFqdn("internalhttpserver"))))) + .withNetworkRuleCollections(Arrays.asList(new AzureFirewallNetworkRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll") + .withName("netrulecoll") + .withPriority(112) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallNetworkRule().withName("L4-traffic") + .withDescription("Block traffic based on source IPs and ports") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses( + Arrays.asList("192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("443-444", "8443")), + new AzureFirewallNetworkRule().withName("L4-traffic-with-FQDN") + .withDescription("Block traffic based on source IPs and ports to amazon") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.2.4.12-10.2.4.255")) + .withDestinationPorts(Arrays.asList("443-444", "8443")) + .withDestinationFqdns(Arrays.asList("www.amazon.com")))))) + .withIpConfigurations(Arrays.asList(new AzureFirewallIPConfiguration() + .withName("azureFirewallIpConfiguration") + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withSku(new AzureFirewallSku().withName(AzureFirewallSkuName.AZFW_VNET) + .withTier(AzureFirewallSkuTier.STANDARD)), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/AzureFirewallPutWithZones.json + */ + /** + * Sample code: Create Azure Firewall With Zones. + * + * @param manager Entry point to NetworkManager. + */ + public static void createAzureFirewallWithZones(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .createOrUpdate("rg1", "azurefirewall", new AzureFirewallInner().withLocation("West US 2") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withZones(Arrays.asList("1", "2", "3")) + .withApplicationRuleCollections(Arrays.asList(new AzureFirewallApplicationRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll") + .withName("apprulecoll") + .withPriority(110) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules(Arrays.asList(new AzureFirewallApplicationRule().withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols(Arrays.asList(new AzureFirewallApplicationRuleProtocol() + .withProtocolType(AzureFirewallApplicationRuleProtocolType.HTTPS) + .withPort(443))) + .withTargetFqdns(Arrays.asList("www.test.com")))))) + .withNatRuleCollections(Arrays.asList(new AzureFirewallNatRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll") + .withName("natrulecoll") + .withPriority(112) + .withAction(new AzureFirewallNatRCAction().withType(AzureFirewallNatRCActionType.DNAT)) + .withRules(Arrays.asList( + new AzureFirewallNatRule().withName("DNAT-HTTPS-traffic") + .withDescription("D-NAT all outbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("443")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedAddress("1.2.3.5") + .withTranslatedPort("8443"), + new AzureFirewallNatRule().withName("DNAT-HTTP-traffic-With-FQDN") + .withDescription("D-NAT all inbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("80")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedPort("880") + .withTranslatedFqdn("internalhttpserver"))))) + .withNetworkRuleCollections(Arrays.asList(new AzureFirewallNetworkRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll") + .withName("netrulecoll") + .withPriority(112) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallNetworkRule().withName("L4-traffic") + .withDescription("Block traffic based on source IPs and ports") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses( + Arrays.asList("192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("443-444", "8443")), + new AzureFirewallNetworkRule().withName("L4-traffic-with-FQDN") + .withDescription("Block traffic based on source IPs and ports to amazon") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.2.4.12-10.2.4.255")) + .withDestinationPorts(Arrays.asList("443-444", "8443")) + .withDestinationFqdns(Arrays.asList("www.amazon.com")))))) + .withIpConfigurations(Arrays.asList(new AzureFirewallIPConfiguration() + .withName("azureFirewallIpConfiguration") + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withSku(new AzureFirewallSku().withName(AzureFirewallSkuName.AZFW_VNET) + .withTier(AzureFirewallSkuTier.STANDARD)), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/AzureFirewallPut.json + */ + /** + * Sample code: Create Azure Firewall. + * + * @param manager Entry point to NetworkManager. + */ + public static void createAzureFirewall(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .createOrUpdate("rg1", "azurefirewall", new AzureFirewallInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withZones(Arrays.asList()) + .withApplicationRuleCollections(Arrays.asList(new AzureFirewallApplicationRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll") + .withName("apprulecoll") + .withPriority(110) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules(Arrays.asList(new AzureFirewallApplicationRule().withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols(Arrays.asList(new AzureFirewallApplicationRuleProtocol() + .withProtocolType(AzureFirewallApplicationRuleProtocolType.HTTPS) + .withPort(443))) + .withTargetFqdns(Arrays.asList("www.test.com")))))) + .withNatRuleCollections(Arrays.asList(new AzureFirewallNatRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll") + .withName("natrulecoll") + .withPriority(112) + .withAction(new AzureFirewallNatRCAction().withType(AzureFirewallNatRCActionType.DNAT)) + .withRules(Arrays.asList( + new AzureFirewallNatRule().withName("DNAT-HTTPS-traffic") + .withDescription("D-NAT all outbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("443")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedAddress("1.2.3.5") + .withTranslatedPort("8443"), + new AzureFirewallNatRule().withName("DNAT-HTTP-traffic-With-FQDN") + .withDescription("D-NAT all inbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("80")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedPort("880") + .withTranslatedFqdn("internalhttpserver"))))) + .withNetworkRuleCollections(Arrays.asList(new AzureFirewallNetworkRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll") + .withName("netrulecoll") + .withPriority(112) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallNetworkRule().withName("L4-traffic") + .withDescription("Block traffic based on source IPs and ports") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses( + Arrays.asList("192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("443-444", "8443")), + new AzureFirewallNetworkRule().withName("L4-traffic-with-FQDN") + .withDescription("Block traffic based on source IPs and ports to amazon") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.2.4.12-10.2.4.255")) + .withDestinationPorts(Arrays.asList("443-444", "8443")) + .withDestinationFqdns(Arrays.asList("www.amazon.com")))))) + .withIpConfigurations(Arrays.asList(new AzureFirewallIPConfiguration() + .withName("azureFirewallIpConfiguration") + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withSku(new AzureFirewallSku().withName(AzureFirewallSkuName.AZFW_VNET) + .withTier(AzureFirewallSkuTier.STANDARD)), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/AzureFirewallPutWithAdditionalProperties.json + */ + /** + * Sample code: Create Azure Firewall With Additional Properties. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createAzureFirewallWithAdditionalProperties(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .createOrUpdate("rg1", "azurefirewall", new AzureFirewallInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withZones(Arrays.asList()) + .withApplicationRuleCollections(Arrays.asList(new AzureFirewallApplicationRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll") + .withName("apprulecoll") + .withPriority(110) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules(Arrays.asList(new AzureFirewallApplicationRule().withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols(Arrays.asList(new AzureFirewallApplicationRuleProtocol() + .withProtocolType(AzureFirewallApplicationRuleProtocolType.HTTPS) + .withPort(443))) + .withTargetFqdns(Arrays.asList("www.test.com")))))) + .withNatRuleCollections(Arrays.asList(new AzureFirewallNatRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll") + .withName("natrulecoll") + .withPriority(112) + .withAction(new AzureFirewallNatRCAction().withType(AzureFirewallNatRCActionType.DNAT)) + .withRules(Arrays.asList( + new AzureFirewallNatRule().withName("DNAT-HTTPS-traffic") + .withDescription("D-NAT all outbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("443")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedAddress("1.2.3.5") + .withTranslatedPort("8443"), + new AzureFirewallNatRule().withName("DNAT-HTTP-traffic-With-FQDN") + .withDescription("D-NAT all inbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("80")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedPort("880") + .withTranslatedFqdn("internalhttpserver"))))) + .withNetworkRuleCollections(Arrays.asList(new AzureFirewallNetworkRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll") + .withName("netrulecoll") + .withPriority(112) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallNetworkRule().withName("L4-traffic") + .withDescription("Block traffic based on source IPs and ports") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses( + Arrays.asList("192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("443-444", "8443")), + new AzureFirewallNetworkRule().withName("L4-traffic-with-FQDN") + .withDescription("Block traffic based on source IPs and ports to amazon") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.2.4.12-10.2.4.255")) + .withDestinationPorts(Arrays.asList("443-444", "8443")) + .withDestinationFqdns(Arrays.asList("www.amazon.com")))))) + .withIpConfigurations(Arrays.asList(new AzureFirewallIPConfiguration() + .withName("azureFirewallIpConfiguration") + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withSku(new AzureFirewallSku().withName(AzureFirewallSkuName.AZFW_VNET) + .withTier(AzureFirewallSkuTier.STANDARD)) + .withAdditionalProperties(mapOf("key1", "fakeTokenPlaceholder", "key2", "fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/AzureFirewallPutInHub.json + */ + /** + * Sample code: Create Azure Firewall in virtual Hub. + * + * @param manager Entry point to NetworkManager. + */ + public static void createAzureFirewallInVirtualHub(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .createOrUpdate("rg1", "azurefirewall", new AzureFirewallInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withZones(Arrays.asList()) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withVirtualHub(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1")) + .withFirewallPolicy(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1")) + .withHubIPAddresses(new HubIPAddresses() + .withPublicIPs(new HubPublicIPAddresses().withAddresses(Arrays.asList()).withCount(1))) + .withSku(new AzureFirewallSku().withName(AzureFirewallSkuName.AZFW_HUB) + .withTier(AzureFirewallSkuTier.STANDARD)), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/AzureFirewallPutWithMgmtSubnet.json + */ + /** + * Sample code: Create Azure Firewall With management subnet. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createAzureFirewallWithManagementSubnet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .createOrUpdate("rg1", "azurefirewall", new AzureFirewallInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withZones(Arrays.asList()) + .withApplicationRuleCollections(Arrays.asList(new AzureFirewallApplicationRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll") + .withName("apprulecoll") + .withPriority(110) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules(Arrays.asList(new AzureFirewallApplicationRule().withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols(Arrays.asList(new AzureFirewallApplicationRuleProtocol() + .withProtocolType(AzureFirewallApplicationRuleProtocolType.HTTPS) + .withPort(443))) + .withTargetFqdns(Arrays.asList("www.test.com")))))) + .withNatRuleCollections(Arrays.asList(new AzureFirewallNatRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll") + .withName("natrulecoll") + .withPriority(112) + .withAction(new AzureFirewallNatRCAction().withType(AzureFirewallNatRCActionType.DNAT)) + .withRules(Arrays.asList( + new AzureFirewallNatRule().withName("DNAT-HTTPS-traffic") + .withDescription("D-NAT all outbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("443")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedAddress("1.2.3.5") + .withTranslatedPort("8443"), + new AzureFirewallNatRule().withName("DNAT-HTTP-traffic-With-FQDN") + .withDescription("D-NAT all inbound web traffic for inspection") + .withSourceAddresses(Arrays.asList("*")) + .withDestinationAddresses(Arrays.asList("1.2.3.4")) + .withDestinationPorts(Arrays.asList("80")) + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withTranslatedPort("880") + .withTranslatedFqdn("internalhttpserver"))))) + .withNetworkRuleCollections(Arrays.asList(new AzureFirewallNetworkRuleCollection().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll") + .withName("netrulecoll") + .withPriority(112) + .withAction(new AzureFirewallRCAction().withType(AzureFirewallRCActionType.DENY)) + .withRules( + Arrays + .asList( + new AzureFirewallNetworkRule().withName("L4-traffic") + .withDescription("Block traffic based on source IPs and ports") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses( + Arrays.asList("192.168.1.1-192.168.1.12", "10.1.4.12-10.1.4.255")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("443-444", "8443")), + new AzureFirewallNetworkRule().withName("L4-traffic-with-FQDN") + .withDescription("Block traffic based on source IPs and ports to amazon") + .withProtocols(Arrays.asList(AzureFirewallNetworkRuleProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.2.4.12-10.2.4.255")) + .withDestinationPorts(Arrays.asList("443-444", "8443")) + .withDestinationFqdns(Arrays.asList("www.amazon.com")))))) + .withIpConfigurations(Arrays.asList(new AzureFirewallIPConfiguration() + .withName("azureFirewallIpConfiguration") + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))) + .withManagementIpConfiguration(new AzureFirewallIPConfiguration() + .withName("azureFirewallMgmtIpConfiguration") + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName"))) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withSku(new AzureFirewallSku().withName(AzureFirewallSkuName.AZFW_VNET) + .withTier(AzureFirewallSkuTier.STANDARD)), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsDeleteSamples.java new file mode 100644 index 000000000000..d4c95c289e4a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AzureFirewalls Delete. + */ +public final class AzureFirewallsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/AzureFirewallDelete.json + */ + /** + * Sample code: Delete Azure Firewall. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteAzureFirewall(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getAzureFirewalls().delete("rg1", "azurefirewall", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..77d180c9e651 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsGetByResourceGroupSamples.java @@ -0,0 +1,81 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for AzureFirewalls GetByResourceGroup. + */ +public final class AzureFirewallsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/AzureFirewallGetWithAdditionalProperties.json + */ + /** + * Sample code: Get Azure Firewall With Additional Properties. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getAzureFirewallWithAdditionalProperties(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .getByResourceGroupWithResponse("rg1", "azurefirewall", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/AzureFirewallGetWithIpGroups.json + */ + /** + * Sample code: Get Azure Firewall With IpGroups. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAzureFirewallWithIpGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .getByResourceGroupWithResponse("rg1", "azurefirewall", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/AzureFirewallGetWithZones.json + */ + /** + * Sample code: Get Azure Firewall With Zones. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAzureFirewallWithZones(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .getByResourceGroupWithResponse("rg1", "azurefirewall", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/AzureFirewallGetWithMgmtSubnet.json + */ + /** + * Sample code: Get Azure Firewall With management subnet. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAzureFirewallWithManagementSubnet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .getByResourceGroupWithResponse("rg1", "azurefirewall", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/AzureFirewallGet.json + */ + /** + * Sample code: Get Azure Firewall. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAzureFirewall(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .getByResourceGroupWithResponse("rg1", "azurefirewall", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListByResourceGroupSamples.java new file mode 100644 index 000000000000..1b173c82df9a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListByResourceGroupSamples.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.network.generated; + +/** + * Samples for AzureFirewalls ListByResourceGroup. + */ +public final class AzureFirewallsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/AzureFirewallListByResourceGroup.json + */ + /** + * Sample code: List all Azure Firewalls for a given resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllAzureFirewallsForAGivenResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getAzureFirewalls().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListLearnedPrefixesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListLearnedPrefixesSamples.java new file mode 100644 index 000000000000..b4b185d3f3f2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListLearnedPrefixesSamples.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.network.generated; + +/** + * Samples for AzureFirewalls ListLearnedPrefixes. + */ +public final class AzureFirewallsListLearnedPrefixesSamples { + /* + * x-ms-original-file: 2025-05-01/AzureFirewallListLearnedIPPrefixes.json + */ + /** + * Sample code: AzureFirewallListLearnedPrefixes. + * + * @param manager Entry point to NetworkManager. + */ + public static void azureFirewallListLearnedPrefixes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .listLearnedPrefixes("rg1", "azureFirewall1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListSamples.java new file mode 100644 index 000000000000..2deccab44e12 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsListSamples.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.network.generated; + +/** + * Samples for AzureFirewalls List. + */ +public final class AzureFirewallsListSamples { + /* + * x-ms-original-file: 2025-05-01/AzureFirewallListBySubscription.json + */ + /** + * Sample code: List all Azure Firewalls for a given subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllAzureFirewallsForAGivenSubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getAzureFirewalls().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsPacketCaptureOperationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsPacketCaptureOperationSamples.java new file mode 100644 index 000000000000..b43747e1501b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsPacketCaptureOperationSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallPacketCaptureFlags; +import com.azure.resourcemanager.network.models.AzureFirewallPacketCaptureFlagsType; +import com.azure.resourcemanager.network.models.AzureFirewallPacketCaptureOperationType; +import com.azure.resourcemanager.network.models.AzureFirewallPacketCaptureRule; +import com.azure.resourcemanager.network.models.FirewallPacketCaptureParameters; +import java.util.Arrays; + +/** + * Samples for AzureFirewalls PacketCaptureOperation. + */ +public final class AzureFirewallsPacketCaptureOperationSamples { + /* + * x-ms-original-file: 2025-05-01/AzureFirewallPacketCaptureOperation.json + */ + /** + * Sample code: AzureFirewallPacketCaptureOperation. + * + * @param manager Entry point to NetworkManager. + */ + public static void azureFirewallPacketCaptureOperation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .packetCaptureOperation("rg1", "azureFirewall1", + new FirewallPacketCaptureParameters().withDurationInSeconds(300) + .withNumberOfPacketsToCapture(5000) + .withSasUrl("someSASURL") + .withFileName("azureFirewallPacketCapture") + .withProtocol(AzureFirewallNetworkRuleProtocol.ANY) + .withFlags(Arrays.asList( + new AzureFirewallPacketCaptureFlags().withType(AzureFirewallPacketCaptureFlagsType.SYN), + new AzureFirewallPacketCaptureFlags().withType(AzureFirewallPacketCaptureFlagsType.FIN))) + .withFilters(Arrays.asList( + new AzureFirewallPacketCaptureRule().withSources(Arrays.asList("20.1.1.0")) + .withDestinations(Arrays.asList("20.1.2.0")) + .withDestinationPorts(Arrays.asList("4500")), + new AzureFirewallPacketCaptureRule().withSources(Arrays.asList("10.1.1.0", "10.1.1.1")) + .withDestinations(Arrays.asList("10.1.2.0")) + .withDestinationPorts(Arrays.asList("123", "80")))) + .withOperation(AzureFirewallPacketCaptureOperationType.STATUS), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsPacketCaptureSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsPacketCaptureSamples.java new file mode 100644 index 000000000000..a984cae039a2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsPacketCaptureSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol; +import com.azure.resourcemanager.network.models.AzureFirewallPacketCaptureFlags; +import com.azure.resourcemanager.network.models.AzureFirewallPacketCaptureFlagsType; +import com.azure.resourcemanager.network.models.AzureFirewallPacketCaptureRule; +import com.azure.resourcemanager.network.models.FirewallPacketCaptureParameters; +import java.util.Arrays; + +/** + * Samples for AzureFirewalls PacketCapture. + */ +public final class AzureFirewallsPacketCaptureSamples { + /* + * x-ms-original-file: 2025-05-01/AzureFirewallPacketCapture.json + */ + /** + * Sample code: AzureFirewallPacketCapture. + * + * @param manager Entry point to NetworkManager. + */ + public static void azureFirewallPacketCapture(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .packetCapture("rg1", "azureFirewall1", + new FirewallPacketCaptureParameters().withDurationInSeconds(300) + .withNumberOfPacketsToCapture(5000) + .withSasUrl("someSASURL") + .withFileName("azureFirewallPacketCapture") + .withProtocol(AzureFirewallNetworkRuleProtocol.ANY) + .withFlags(Arrays.asList( + new AzureFirewallPacketCaptureFlags().withType(AzureFirewallPacketCaptureFlagsType.SYN), + new AzureFirewallPacketCaptureFlags().withType(AzureFirewallPacketCaptureFlagsType.FIN))) + .withFilters(Arrays.asList( + new AzureFirewallPacketCaptureRule().withSources(Arrays.asList("20.1.1.0")) + .withDestinations(Arrays.asList("20.1.2.0")) + .withDestinationPorts(Arrays.asList("4500")), + new AzureFirewallPacketCaptureRule().withSources(Arrays.asList("10.1.1.0", "10.1.1.1")) + .withDestinations(Arrays.asList("10.1.2.0")) + .withDestinationPorts(Arrays.asList("123", "80")))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsUpdateTagsSamples.java new file mode 100644 index 000000000000..e66e4bb78dec --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AzureFirewallsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for AzureFirewalls UpdateTags. + */ +public final class AzureFirewallsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/AzureFirewallUpdateTags.json + */ + /** + * Sample code: Update Azure Firewall Tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateAzureFirewallTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getAzureFirewalls() + .updateTags("azfwtest", "fw1", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..4a041a75ab1b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsCreateOrUpdateSamples.java @@ -0,0 +1,97 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.BastionHostInner; +import com.azure.resourcemanager.network.models.BastionHostIPConfiguration; +import com.azure.resourcemanager.network.models.BastionHostPropertiesFormatNetworkAcls; +import com.azure.resourcemanager.network.models.IPRule; +import java.util.Arrays; + +/** + * Samples for BastionHosts CreateOrUpdate. + */ +public final class BastionHostsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/BastionHostPutWithPrivateOnly.json + */ + /** + * Sample code: Create Bastion Host With Private Only. + * + * @param manager Entry point to NetworkManager. + */ + public static void createBastionHostWithPrivateOnly(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .createOrUpdate("rg1", "bastionhosttenant", new BastionHostInner() + .withIpConfigurations(Arrays.asList(new BastionHostIPConfiguration() + .withName("bastionHostIpConfiguration") + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet")))) + .withEnablePrivateOnlyBastion(true), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/BastionHostDeveloperPut.json + */ + /** + * Sample code: Create Developer Bastion Host. + * + * @param manager Entry point to NetworkManager. + */ + public static void createDeveloperBastionHost(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .createOrUpdate("rg2", "bastionhostdeveloper", new BastionHostInner().withIpConfigurations(Arrays.asList()) + .withVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2")) + .withNetworkAcls(new BastionHostPropertiesFormatNetworkAcls() + .withIpRules(Arrays.asList(new IPRule().withAddressPrefix("1.1.1.1/16")))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/BastionHostPut.json + */ + /** + * Sample code: Create Bastion Host. + * + * @param manager Entry point to NetworkManager. + */ + public static void createBastionHost(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .createOrUpdate("rg1", "bastionhosttenant", + new BastionHostInner().withIpConfigurations(Arrays.asList(new BastionHostIPConfiguration() + .withName("bastionHostIpConfiguration") + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/BastionHostPutWithZones.json + */ + /** + * Sample code: Create Bastion Host With Zones. + * + * @param manager Entry point to NetworkManager. + */ + public static void createBastionHostWithZones(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .createOrUpdate("rg1", "bastionhosttenant", + new BastionHostInner().withIpConfigurations(Arrays.asList(new BastionHostIPConfiguration() + .withName("bastionHostIpConfiguration") + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkByTokenSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkByTokenSamples.java new file mode 100644 index 000000000000..5ded6c4e9094 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkByTokenSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; +import java.util.Arrays; + +/** + * Samples for BastionHosts DeleteBastionShareableLinkByToken. + */ +public final class BastionHostsDeleteBastionShareableLinkByTokenSamples { + /* + * x-ms-original-file: 2025-05-01/BastionShareableLinkDeleteByToken.json + */ + /** + * Sample code: Delete Bastion Shareable Links for the request VMs. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteBastionShareableLinksForTheRequestVMs(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .deleteBastionShareableLinkByToken("rg1", "bastionhosttenant", + new BastionShareableLinkTokenListRequest().withTokens( + Arrays.asList("abcd1234-efgh-hijk-5678-abcdefgh1234", "dcba4321-hgfe-kjih-8765-hgfedcba4321")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkSamples.java new file mode 100644 index 000000000000..c19617dc1a17 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkSamples.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; +import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; +import com.azure.resourcemanager.network.models.VM; +import java.util.Arrays; + +/** + * Samples for BastionHosts DeleteBastionShareableLink. + */ +public final class BastionHostsDeleteBastionShareableLinkSamples { + /* + * x-ms-original-file: 2025-05-01/BastionShareableLinkDelete.json + */ + /** + * Sample code: Delete Bastion Shareable Links for the request VMs. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteBastionShareableLinksForTheRequestVMs(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .deleteBastionShareableLink("rg1", "bastionhosttenant", new BastionShareableLinkListRequest() + .withVms(Arrays.asList(new BastionShareableLinkInner().withVm(new VM().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1")), + new BastionShareableLinkInner().withVm(new VM().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2")))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteSamples.java new file mode 100644 index 000000000000..e494c0c892c6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteSamples.java @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for BastionHosts Delete. + */ +public final class BastionHostsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/BastionHostDeveloperDelete.json + */ + /** + * Sample code: Delete Developer Bastion Host. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteDeveloperBastionHost(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .delete("rg2", "bastionhostdeveloper", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/BastionHostDelete.json + */ + /** + * Sample code: Delete Bastion Host. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteBastionHost(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getBastionHosts().delete("rg1", "bastionhosttenant", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDisconnectActiveSessionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDisconnectActiveSessionsSamples.java new file mode 100644 index 000000000000..bd59fb7afaa9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDisconnectActiveSessionsSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.SessionIds; +import java.util.Arrays; + +/** + * Samples for BastionHosts DisconnectActiveSessions. + */ +public final class BastionHostsDisconnectActiveSessionsSamples { + /* + * x-ms-original-file: 2025-05-01/BastionSessionDelete.json + */ + /** + * Sample code: Deletes the specified active session. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletesTheSpecifiedActiveSession(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .disconnectActiveSessions("rg1", "bastionhosttenant", + new SessionIds().withSessionIds(Arrays.asList("session1", "session2", "session3")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetActiveSessionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetActiveSessionsSamples.java new file mode 100644 index 000000000000..6955009994c9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetActiveSessionsSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for BastionHosts GetActiveSessions. + */ +public final class BastionHostsGetActiveSessionsSamples { + /* + * x-ms-original-file: 2025-05-01/BastionSessionsList.json + */ + /** + * Sample code: Returns a list of currently active sessions on the Bastion. + * + * @param manager Entry point to NetworkManager. + */ + public static void + returnsAListOfCurrentlyActiveSessionsOnTheBastion(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .getActiveSessions("rg1", "bastionhosttenant", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetBastionShareableLinkSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetBastionShareableLinkSamples.java new file mode 100644 index 000000000000..783009c7ff91 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetBastionShareableLinkSamples.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; +import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; +import com.azure.resourcemanager.network.models.VM; +import java.util.Arrays; + +/** + * Samples for BastionHosts GetBastionShareableLink. + */ +public final class BastionHostsGetBastionShareableLinkSamples { + /* + * x-ms-original-file: 2025-05-01/BastionShareableLinkGet.json + */ + /** + * Sample code: Returns the Bastion Shareable Links for the request VMs. + * + * @param manager Entry point to NetworkManager. + */ + public static void + returnsTheBastionShareableLinksForTheRequestVMs(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .getBastionShareableLink("rg1", "bastionhosttenant", new BastionShareableLinkListRequest() + .withVms(Arrays.asList(new BastionShareableLinkInner().withVm(new VM().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1")), + new BastionShareableLinkInner().withVm(new VM().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2")))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..c79d70c45412 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetByResourceGroupSamples.java @@ -0,0 +1,66 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for BastionHosts GetByResourceGroup. + */ +public final class BastionHostsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/BastionHostDeveloperGet.json + */ + /** + * Sample code: Get Developer Bastion Host. + * + * @param manager Entry point to NetworkManager. + */ + public static void getDeveloperBastionHost(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .getByResourceGroupWithResponse("rg1", "bastionhostdeveloper'", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/BastionHostGetWithZones.json + */ + /** + * Sample code: Get Bastion Host With Zones. + * + * @param manager Entry point to NetworkManager. + */ + public static void getBastionHostWithZones(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .getByResourceGroupWithResponse("rg1", "bastionhosttenant", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/BastionHostGet.json + */ + /** + * Sample code: Get Bastion Host. + * + * @param manager Entry point to NetworkManager. + */ + public static void getBastionHost(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .getByResourceGroupWithResponse("rg1", "bastionhosttenant'", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/BastionHostGetWithPrivateOnly.json + */ + /** + * Sample code: Get Bastion Host With Private Only. + * + * @param manager Entry point to NetworkManager. + */ + public static void getBastionHostWithPrivateOnly(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .getByResourceGroupWithResponse("rg1", "bastionhosttenant", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsListByResourceGroupSamples.java new file mode 100644 index 000000000000..a830d35d66ba --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsListByResourceGroupSamples.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.network.generated; + +/** + * Samples for BastionHosts ListByResourceGroup. + */ +public final class BastionHostsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/BastionHostListByResourceGroup.json + */ + /** + * Sample code: List all Bastion Hosts for a given resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllBastionHostsForAGivenResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getBastionHosts().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsListSamples.java new file mode 100644 index 000000000000..255c623971e4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsListSamples.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.network.generated; + +/** + * Samples for BastionHosts List. + */ +public final class BastionHostsListSamples { + /* + * x-ms-original-file: 2025-05-01/BastionHostListBySubscription.json + */ + /** + * Sample code: List all Bastion Hosts for a given subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllBastionHostsForAGivenSubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getBastionHosts().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsPutBastionShareableLinkSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsPutBastionShareableLinkSamples.java new file mode 100644 index 000000000000..3bea011bdda8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsPutBastionShareableLinkSamples.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; +import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; +import com.azure.resourcemanager.network.models.VM; +import java.util.Arrays; + +/** + * Samples for BastionHosts PutBastionShareableLink. + */ +public final class BastionHostsPutBastionShareableLinkSamples { + /* + * x-ms-original-file: 2025-05-01/BastionShareableLinkCreate.json + */ + /** + * Sample code: Create Bastion Shareable Links for the request VMs. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createBastionShareableLinksForTheRequestVMs(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .putBastionShareableLink("rg1", "bastionhosttenant", new BastionShareableLinkListRequest() + .withVms(Arrays.asList(new BastionShareableLinkInner().withVm(new VM().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1")), + new BastionShareableLinkInner().withVm(new VM().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2")))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsUpdateTagsSamples.java new file mode 100644 index 000000000000..fe13df64ce0a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for BastionHosts UpdateTags. + */ +public final class BastionHostsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/BastionHostPatch.json + */ + /** + * Sample code: Patch Bastion Host. + * + * @param manager Entry point to NetworkManager. + */ + public static void patchBastionHost(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getBastionHosts() + .updateTags("rg1", "bastionhosttenant", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BgpServiceCommunitiesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BgpServiceCommunitiesListSamples.java new file mode 100644 index 000000000000..1200e822780d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BgpServiceCommunitiesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for BgpServiceCommunities List. + */ +public final class BgpServiceCommunitiesListSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceCommunityList.json + */ + /** + * Sample code: ServiceCommunityList. + * + * @param manager Entry point to NetworkManager. + */ + public static void serviceCommunityList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getBgpServiceCommunities().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CheckDnsNameAvailabilityCheckDnsNameAvailabilitySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CheckDnsNameAvailabilityCheckDnsNameAvailabilitySamples.java new file mode 100644 index 000000000000..91b4f6a7dd4f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CheckDnsNameAvailabilityCheckDnsNameAvailabilitySamples.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.network.generated; + +/** + * Samples for CheckDnsNameAvailability CheckDnsNameAvailability. + */ +public final class CheckDnsNameAvailabilityCheckDnsNameAvailabilitySamples { + /* + * x-ms-original-file: 2025-05-01/CheckDnsNameAvailability.json + */ + /** + * Sample code: Check Dns Name Availability. + * + * @param manager Entry point to NetworkManager. + */ + public static void checkDnsNameAvailability(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getCheckDnsNameAvailabilities() + .checkDnsNameAvailabilityWithResponse("westus", "testdns", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..1a9a7f13980e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.VpnServerConfigurationPolicyGroupInner; +import com.azure.resourcemanager.network.models.VpnPolicyMemberAttributeType; +import com.azure.resourcemanager.network.models.VpnServerConfigurationPolicyGroupMember; +import java.util.Arrays; + +/** + * Samples for ConfigurationPolicyGroups CreateOrUpdate. + */ +public final class ConfigurationPolicyGroupsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ConfigurationPolicyGroupPut.json + */ + /** + * Sample code: ConfigurationPolicyGroupPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void configurationPolicyGroupPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConfigurationPolicyGroups() + .createOrUpdate("rg1", "vpnServerConfiguration1", "policyGroup1", + new VpnServerConfigurationPolicyGroupInner().withIsDefault(true) + .withPriority(0) + .withPolicyMembers(Arrays.asList( + new VpnServerConfigurationPolicyGroupMember().withName("policy1") + .withAttributeType(VpnPolicyMemberAttributeType.RADIUS_AZURE_GROUP_ID) + .withAttributeValue("6ad1bd08"), + new VpnServerConfigurationPolicyGroupMember().withName("policy2") + .withAttributeType(VpnPolicyMemberAttributeType.CERTIFICATE_GROUP_ID) + .withAttributeValue("red.com"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsDeleteSamples.java new file mode 100644 index 000000000000..0a85043a8d4a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsDeleteSamples.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.network.generated; + +/** + * Samples for ConfigurationPolicyGroups Delete. + */ +public final class ConfigurationPolicyGroupsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ConfigurationPolicyGroupDelete.json + */ + /** + * Sample code: ConfigurationPolicyGroupDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void configurationPolicyGroupDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConfigurationPolicyGroups() + .delete("rg1", "vpnServerConfiguration1", "policyGroup1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsGetSamples.java new file mode 100644 index 000000000000..4c6f45dfc315 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsGetSamples.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.network.generated; + +/** + * Samples for ConfigurationPolicyGroups Get. + */ +public final class ConfigurationPolicyGroupsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ConfigurationPolicyGroupGet.json + */ + /** + * Sample code: ConfigurationPolicyGroupGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void configurationPolicyGroupGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConfigurationPolicyGroups() + .getWithResponse("rg1", "vpnServerConfiguration1", "policyGroup1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsListByVpnServerConfigurationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsListByVpnServerConfigurationSamples.java new file mode 100644 index 000000000000..43ab331fb749 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConfigurationPolicyGroupsListByVpnServerConfigurationSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ConfigurationPolicyGroups ListByVpnServerConfiguration. + */ +public final class ConfigurationPolicyGroupsListByVpnServerConfigurationSamples { + /* + * x-ms-original-file: 2025-05-01/ConfigurationPolicyGroupListByVpnServerConfiguration.json + */ + /** + * Sample code: ConfigurationPolicyGroupListByVpnServerConfiguration. + * + * @param manager Entry point to NetworkManager. + */ + public static void + configurationPolicyGroupListByVpnServerConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConfigurationPolicyGroups() + .listByVpnServerConfiguration("rg1", "vpnServerConfiguration1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..df1791d1d49d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorInner; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpoint; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointFilter; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointFilterItem; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointFilterItemType; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointFilterType; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointLocationDetails; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointScope; +import com.azure.resourcemanager.network.models.ConnectionMonitorEndpointScopeItem; +import com.azure.resourcemanager.network.models.ConnectionMonitorTcpConfiguration; +import com.azure.resourcemanager.network.models.ConnectionMonitorTestConfiguration; +import com.azure.resourcemanager.network.models.ConnectionMonitorTestConfigurationProtocol; +import com.azure.resourcemanager.network.models.ConnectionMonitorTestGroup; +import com.azure.resourcemanager.network.models.EndpointType; +import java.util.Arrays; + +/** + * Samples for ConnectionMonitors CreateOrUpdate. + */ +public final class ConnectionMonitorsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherConnectionMonitorCreate.json + */ + /** + * Sample code: Create connection monitor V1. + * + * @param manager Entry point to NetworkManager. + */ + public static void createConnectionMonitorV1(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConnectionMonitors() + .createOrUpdate("rg1", "nw1", "cm1", new ConnectionMonitorInner().withLocation("eastus") + .withEndpoints(Arrays.asList(new ConnectionMonitorEndpoint().withName("source") + .withResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1"), + new ConnectionMonitorEndpoint().withName("destination").withAddress("bing.com"))) + .withTestConfigurations(Arrays.asList(new ConnectionMonitorTestConfiguration().withName("tcp") + .withTestFrequencySec(60) + .withProtocol(ConnectionMonitorTestConfigurationProtocol.TCP) + .withTcpConfiguration(new ConnectionMonitorTcpConfiguration().withPort(80)))) + .withTestGroups(Arrays.asList(new ConnectionMonitorTestGroup().withName("tg") + .withTestConfigurations(Arrays.asList("tcp")) + .withSources(Arrays.asList("source")) + .withDestinations(Arrays.asList("destination")))), + null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherConnectionMonitorCreateWithArcNetwork.json + */ + /** + * Sample code: Create connection monitor with Arc Network. + * + * @param manager Entry point to NetworkManager. + */ + public static void createConnectionMonitorWithArcNetwork(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConnectionMonitors() + .createOrUpdate("rg1", "nw1", "cm1", new ConnectionMonitorInner() + .withEndpoints(Arrays.asList(new ConnectionMonitorEndpoint().withName("vm1") + .withType(EndpointType.AZURE_VM) + .withResourceId( + "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM"), + new ConnectionMonitorEndpoint().withName("bing") + .withType(EndpointType.EXTERNAL_ADDRESS) + .withAddress("bing.com"), + new ConnectionMonitorEndpoint().withName("google") + .withType(EndpointType.EXTERNAL_ADDRESS) + .withAddress("google.com"), + new ConnectionMonitorEndpoint().withName("ArcBasedNetwork") + .withType(EndpointType.AZURE_ARC_NETWORK) + .withScope(new ConnectionMonitorEndpointScope().withInclude( + Arrays.asList(new ConnectionMonitorEndpointScopeItem().withAddress("172.21.128.0/20")))) + .withLocationDetails(new ConnectionMonitorEndpointLocationDetails().withRegion("eastus")) + .withSubscriptionId("9cece3e3-0f7d-47ca-af0e-9772773f90b7"))) + .withTestConfigurations(Arrays.asList(new ConnectionMonitorTestConfiguration().withName("testConfig1") + .withTestFrequencySec(60) + .withProtocol(ConnectionMonitorTestConfigurationProtocol.TCP) + .withTcpConfiguration( + new ConnectionMonitorTcpConfiguration().withPort(80).withDisableTraceRoute(false)))) + .withTestGroups(Arrays.asList(new ConnectionMonitorTestGroup().withName("test1") + .withDisable(false) + .withTestConfigurations(Arrays.asList("testConfig1")) + .withSources(Arrays.asList("vm1", "ArcBasedNetwork")) + .withDestinations(Arrays.asList("bing", "google")))) + .withOutputs(Arrays.asList()), null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherConnectionMonitorV2Create.json + */ + /** + * Sample code: Create connection monitor V2. + * + * @param manager Entry point to NetworkManager. + */ + public static void createConnectionMonitorV2(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConnectionMonitors() + .createOrUpdate("rg1", "nw1", "cm1", new ConnectionMonitorInner() + .withEndpoints(Arrays.asList(new ConnectionMonitorEndpoint() + .withName("vm1") + .withResourceId( + "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1"), + new ConnectionMonitorEndpoint().withName("CanaryWorkspaceVamshi") + .withResourceId( + "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace") + .withFilter( + new ConnectionMonitorEndpointFilter().withType(ConnectionMonitorEndpointFilterType.INCLUDE) + .withItems(Arrays.asList(new ConnectionMonitorEndpointFilterItem() + .withType(ConnectionMonitorEndpointFilterItemType.AGENT_ADDRESS) + .withAddress("npmuser")))), + new ConnectionMonitorEndpoint().withName("bing").withAddress("bing.com"), + new ConnectionMonitorEndpoint().withName("google").withAddress("google.com"))) + .withTestConfigurations(Arrays.asList(new ConnectionMonitorTestConfiguration().withName("testConfig1") + .withTestFrequencySec(60) + .withProtocol(ConnectionMonitorTestConfigurationProtocol.TCP) + .withTcpConfiguration( + new ConnectionMonitorTcpConfiguration().withPort(80).withDisableTraceRoute(false)))) + .withTestGroups(Arrays.asList(new ConnectionMonitorTestGroup().withName("test1") + .withDisable(false) + .withTestConfigurations(Arrays.asList("testConfig1")) + .withSources(Arrays.asList("vm1", "CanaryWorkspaceVamshi")) + .withDestinations(Arrays.asList("bing", "google")))) + .withOutputs(Arrays.asList()), null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsDeleteSamples.java new file mode 100644 index 000000000000..1434179c9d2e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ConnectionMonitors Delete. + */ +public final class ConnectionMonitorsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherConnectionMonitorDelete.json + */ + /** + * Sample code: Delete connection monitor. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteConnectionMonitor(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getConnectionMonitors().delete("rg1", "nw1", "cm1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsGetSamples.java new file mode 100644 index 000000000000..0e4f92b1f791 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsGetSamples.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.network.generated; + +/** + * Samples for ConnectionMonitors Get. + */ +public final class ConnectionMonitorsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherConnectionMonitorGet.json + */ + /** + * Sample code: Get connection monitor. + * + * @param manager Entry point to NetworkManager. + */ + public static void getConnectionMonitor(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConnectionMonitors() + .getWithResponse("rg1", "nw1", "cm1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsListSamples.java new file mode 100644 index 000000000000..18976f412aa2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ConnectionMonitors List. + */ +public final class ConnectionMonitorsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherConnectionMonitorList.json + */ + /** + * Sample code: List connection monitors. + * + * @param manager Entry point to NetworkManager. + */ + public static void listConnectionMonitors(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getConnectionMonitors().list("rg1", "nw1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsStopSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsStopSamples.java new file mode 100644 index 000000000000..bd5b95bdcf86 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsStopSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ConnectionMonitors Stop. + */ +public final class ConnectionMonitorsStopSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherConnectionMonitorStop.json + */ + /** + * Sample code: Stop connection monitor. + * + * @param manager Entry point to NetworkManager. + */ + public static void stopConnectionMonitor(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getConnectionMonitors().stop("rg1", "nw1", "cm1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsUpdateTagsSamples.java new file mode 100644 index 000000000000..c4f31a18abc7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectionMonitorsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for ConnectionMonitors UpdateTags. + */ +public final class ConnectionMonitorsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherConnectionMonitorUpdateTags.json + */ + /** + * Sample code: Update connection monitor tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateConnectionMonitorTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConnectionMonitors() + .updateTagsWithResponse("rg1", "nw1", "cm1", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..246089db99f4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsCreateOrUpdateSamples.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ConnectivityConfigurationInner; +import com.azure.resourcemanager.network.models.ConnectedGroupAddressOverlap; +import com.azure.resourcemanager.network.models.ConnectedGroupPrivateEndpointsScale; +import com.azure.resourcemanager.network.models.ConnectivityConfigurationPropertiesConnectivityCapabilities; +import com.azure.resourcemanager.network.models.ConnectivityGroupItem; +import com.azure.resourcemanager.network.models.ConnectivityTopology; +import com.azure.resourcemanager.network.models.DeleteExistingPeering; +import com.azure.resourcemanager.network.models.GroupConnectivity; +import com.azure.resourcemanager.network.models.Hub; +import com.azure.resourcemanager.network.models.IsGlobal; +import com.azure.resourcemanager.network.models.PeeringEnforcement; +import com.azure.resourcemanager.network.models.UseHubGateway; +import java.util.Arrays; + +/** + * Samples for ConnectivityConfigurations CreateOrUpdate. + */ +public final class ConnectivityConfigurationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectivityConfigurationPut.json + */ + /** + * Sample code: ConnectivityConfigurationsPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void connectivityConfigurationsPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConnectivityConfigurations() + .createOrUpdateWithResponse("myResourceGroup", "testNetworkManager", "myTestConnectivityConfig", + new ConnectivityConfigurationInner().withDescription("Sample Configuration") + .withConnectivityTopology(ConnectivityTopology.HUB_AND_SPOKE) + .withHubs(Arrays.asList(new Hub().withResourceId( + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig") + .withResourceType("Microsoft.Network/virtualNetworks"))) + .withIsGlobal(IsGlobal.TRUE) + .withConnectivityCapabilities(new ConnectivityConfigurationPropertiesConnectivityCapabilities() + .withConnectedGroupPrivateEndpointsScale(ConnectedGroupPrivateEndpointsScale.STANDARD) + .withConnectedGroupAddressOverlap(ConnectedGroupAddressOverlap.ALLOWED) + .withPeeringEnforcement(PeeringEnforcement.UNENFORCED)) + .withAppliesToGroups(Arrays.asList(new ConnectivityGroupItem().withNetworkGroupId( + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1") + .withUseHubGateway(UseHubGateway.TRUE) + .withIsGlobal(IsGlobal.FALSE) + .withGroupConnectivity(GroupConnectivity.NONE))) + .withDeleteExistingPeering(DeleteExistingPeering.TRUE), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsDeleteSamples.java new file mode 100644 index 000000000000..acfa79470625 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ConnectivityConfigurations Delete. + */ +public final class ConnectivityConfigurationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectivityConfigurationDelete.json + */ + /** + * Sample code: ConnectivityConfigurationsDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void connectivityConfigurationsDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConnectivityConfigurations() + .delete("myResourceGroup", "testNetworkManager", "myTestConnectivityConfig", false, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsGetSamples.java new file mode 100644 index 000000000000..1f68ba718220 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ConnectivityConfigurations Get. + */ +public final class ConnectivityConfigurationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectivityConfigurationGet.json + */ + /** + * Sample code: ConnectivityConfigurationsGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void connectivityConfigurationsGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConnectivityConfigurations() + .getWithResponse("myResourceGroup", "testNetworkManager", "myTestConnectivityConfig", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsListSamples.java new file mode 100644 index 000000000000..14cb3c6832f9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ConnectivityConfigurationsListSamples.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.network.generated; + +/** + * Samples for ConnectivityConfigurations List. + */ +public final class ConnectivityConfigurationsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectivityConfigurationList.json + */ + /** + * Sample code: ConnectivityConfigurationsList. + * + * @param manager Entry point to NetworkManager. + */ + public static void connectivityConfigurationsList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getConnectivityConfigurations() + .list("myResourceGroup", "testNetworkManager", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..9bae6a1f9642 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesCreateOrUpdateSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.CustomIpPrefixInner; + +/** + * Samples for CustomIPPrefixes CreateOrUpdate. + */ +public final class CustomIPPrefixesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/CustomIpPrefixCreateCustomizedValues.json + */ + /** + * Sample code: Create custom IP prefix allocation method. + * + * @param manager Entry point to NetworkManager. + */ + public static void createCustomIPPrefixAllocationMethod(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getCustomIPPrefixes() + .createOrUpdate("rg1", "test-customipprefix", + new CustomIpPrefixInner().withLocation("westus").withCidr("0.0.0.0/24"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesDeleteSamples.java new file mode 100644 index 000000000000..df8fa331dea1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesDeleteSamples.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.network.generated; + +/** + * Samples for CustomIPPrefixes Delete. + */ +public final class CustomIPPrefixesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/CustomIpPrefixDelete.json + */ + /** + * Sample code: Delete custom IP prefix. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteCustomIPPrefix(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getCustomIPPrefixes() + .delete("rg1", "test-customipprefix", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..bd76c99e4f6c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for CustomIPPrefixes GetByResourceGroup. + */ +public final class CustomIPPrefixesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/CustomIpPrefixGet.json + */ + /** + * Sample code: Get custom IP prefix. + * + * @param manager Entry point to NetworkManager. + */ + public static void getCustomIPPrefix(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getCustomIPPrefixes() + .getByResourceGroupWithResponse("rg1", "test-customipprefix", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListByResourceGroupSamples.java new file mode 100644 index 000000000000..a95d8e37b06c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for CustomIPPrefixes ListByResourceGroup. + */ +public final class CustomIPPrefixesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/CustomIpPrefixList.json + */ + /** + * Sample code: List resource group Custom IP prefixes. + * + * @param manager Entry point to NetworkManager. + */ + public static void listResourceGroupCustomIPPrefixes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getCustomIPPrefixes().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListSamples.java new file mode 100644 index 000000000000..f7b7db469d61 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for CustomIPPrefixes List. + */ +public final class CustomIPPrefixesListSamples { + /* + * x-ms-original-file: 2025-05-01/CustomIpPrefixListAll.json + */ + /** + * Sample code: List all custom IP prefixes. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllCustomIPPrefixes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getCustomIPPrefixes().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesUpdateTagsSamples.java new file mode 100644 index 000000000000..f022ed0ff6a8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for CustomIPPrefixes UpdateTags. + */ +public final class CustomIPPrefixesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/CustomIpPrefixUpdateTags.json + */ + /** + * Sample code: Update public IP address tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updatePublicIPAddressTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getCustomIPPrefixes() + .updateTagsWithResponse("rg1", "test-customipprefix", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..5d3a55cf4ff2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.DdosCustomPolicyInner; +import com.azure.resourcemanager.network.models.DdosDetectionMode; +import com.azure.resourcemanager.network.models.DdosDetectionRule; +import com.azure.resourcemanager.network.models.DdosTrafficType; +import com.azure.resourcemanager.network.models.TrafficDetectionRule; +import java.util.Arrays; + +/** + * Samples for DdosCustomPolicies CreateOrUpdate. + */ +public final class DdosCustomPoliciesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/DdosCustomPolicyCreate.json + */ + /** + * Sample code: Create DDoS custom policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void createDDoSCustomPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getDdosCustomPolicies() + .createOrUpdate("rg1", "test-ddos-custom-policy", + new DdosCustomPolicyInner().withLocation("centraluseuap") + .withDetectionRules(Arrays.asList(new DdosDetectionRule().withName("detectionRuleTcp") + .withDetectionMode(DdosDetectionMode.TRAFFIC_THRESHOLD) + .withTrafficDetectionRule(new TrafficDetectionRule().withTrafficType(DdosTrafficType.TCP) + .withPacketsPerSecond(1000000)))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesDeleteSamples.java new file mode 100644 index 000000000000..ffc4b7a0b812 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesDeleteSamples.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.network.generated; + +/** + * Samples for DdosCustomPolicies Delete. + */ +public final class DdosCustomPoliciesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/DdosCustomPolicyDelete.json + */ + /** + * Sample code: Delete DDoS custom policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteDDoSCustomPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getDdosCustomPolicies() + .delete("rg1", "test-ddos-custom-policy", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..b67d0d6c82c3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for DdosCustomPolicies GetByResourceGroup. + */ +public final class DdosCustomPoliciesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/DdosCustomPolicyGet.json + */ + /** + * Sample code: Get DDoS custom policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void getDDoSCustomPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getDdosCustomPolicies() + .getByResourceGroupWithResponse("rg1", "test-ddos-custom-policy", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesUpdateTagsSamples.java new file mode 100644 index 000000000000..1c185aad2a19 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosCustomPoliciesUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for DdosCustomPolicies UpdateTags. + */ +public final class DdosCustomPoliciesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/DdosCustomPolicyUpdateTags.json + */ + /** + * Sample code: DDoS Custom policy Update tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void dDoSCustomPolicyUpdateTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getDdosCustomPolicies() + .updateTagsWithResponse("rg1", "test-ddos-custom-policy", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansCreateOrUpdateSamples.java new file mode 100644 index 000000000000..ab96b089d0bc --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.DdosProtectionPlanInner; + +/** + * Samples for DdosProtectionPlans CreateOrUpdate. + */ +public final class DdosProtectionPlansCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/DdosProtectionPlanCreate.json + */ + /** + * Sample code: Create DDoS protection plan. + * + * @param manager Entry point to NetworkManager. + */ + public static void createDDoSProtectionPlan(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getDdosProtectionPlans() + .createOrUpdate("rg1", "test-plan", new DdosProtectionPlanInner().withLocation("westus"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansDeleteSamples.java new file mode 100644 index 000000000000..bca5a8fb59b0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for DdosProtectionPlans Delete. + */ +public final class DdosProtectionPlansDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/DdosProtectionPlanDelete.json + */ + /** + * Sample code: Delete DDoS protection plan. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteDDoSProtectionPlan(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getDdosProtectionPlans().delete("rg1", "test-plan", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansGetByResourceGroupSamples.java new file mode 100644 index 000000000000..4142041aba53 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for DdosProtectionPlans GetByResourceGroup. + */ +public final class DdosProtectionPlansGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/DdosProtectionPlanGet.json + */ + /** + * Sample code: Get DDoS protection plan. + * + * @param manager Entry point to NetworkManager. + */ + public static void getDDoSProtectionPlan(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getDdosProtectionPlans() + .getByResourceGroupWithResponse("rg1", "test-plan", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansListByResourceGroupSamples.java new file mode 100644 index 000000000000..2f4b2841a47f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansListByResourceGroupSamples.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.network.generated; + +/** + * Samples for DdosProtectionPlans ListByResourceGroup. + */ +public final class DdosProtectionPlansListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/DdosProtectionPlanList.json + */ + /** + * Sample code: List DDoS protection plans in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listDDoSProtectionPlansInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getDdosProtectionPlans().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansListSamples.java new file mode 100644 index 000000000000..6df1e31e27b0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for DdosProtectionPlans List. + */ +public final class DdosProtectionPlansListSamples { + /* + * x-ms-original-file: 2025-05-01/DdosProtectionPlanListAll.json + */ + /** + * Sample code: List all DDoS protection plans. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllDDoSProtectionPlans(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getDdosProtectionPlans().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansUpdateTagsSamples.java new file mode 100644 index 000000000000..bafe3ae77175 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DdosProtectionPlansUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for DdosProtectionPlans UpdateTags. + */ +public final class DdosProtectionPlansUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/DdosProtectionPlanUpdateTags.json + */ + /** + * Sample code: DDoS protection plan Update tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void dDoSProtectionPlanUpdateTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getDdosProtectionPlans() + .updateTagsWithResponse("rg1", "test-plan", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DefaultSecurityRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DefaultSecurityRulesGetSamples.java new file mode 100644 index 000000000000..a73d1afc5e6b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DefaultSecurityRulesGetSamples.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.network.generated; + +/** + * Samples for DefaultSecurityRules Get. + */ +public final class DefaultSecurityRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/DefaultSecurityRuleGet.json + */ + /** + * Sample code: DefaultSecurityRuleGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void defaultSecurityRuleGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getDefaultSecurityRules() + .getWithResponse("testrg", "nsg1", "AllowVnetInBound", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DefaultSecurityRulesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DefaultSecurityRulesListSamples.java new file mode 100644 index 000000000000..f237bf22369c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DefaultSecurityRulesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for DefaultSecurityRules List. + */ +public final class DefaultSecurityRulesListSamples { + /* + * x-ms-original-file: 2025-05-01/DefaultSecurityRuleList.json + */ + /** + * Sample code: DefaultSecurityRuleList. + * + * @param manager Entry point to NetworkManager. + */ + public static void defaultSecurityRuleList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getDefaultSecurityRules().list("testrg", "nsg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationCreateOrUpdateSamples.java new file mode 100644 index 000000000000..07815324920e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.DscpConfigurationInner; +import com.azure.resourcemanager.network.models.ProtocolType; +import com.azure.resourcemanager.network.models.QosDefinition; +import com.azure.resourcemanager.network.models.QosIpRange; +import com.azure.resourcemanager.network.models.QosPortRange; +import java.util.Arrays; + +/** + * Samples for DscpConfiguration CreateOrUpdate. + */ +public final class DscpConfigurationCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/DscpConfigurationCreate.json + */ + /** + * Sample code: Create DSCP Configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void createDSCPConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getDscpConfigurations() + .createOrUpdate("rg1", "mydscpconfig", + new DscpConfigurationInner().withLocation("eastus") + .withQosDefinitionCollection(Arrays.asList( + new QosDefinition().withMarkings(Arrays.asList(1)) + .withSourceIpRanges( + Arrays.asList(new QosIpRange().withStartIp("127.0.0.1").withEndIp("127.0.0.2"))) + .withDestinationIpRanges( + Arrays.asList(new QosIpRange().withStartIp("127.0.10.1").withEndIp("127.0.10.2"))) + .withSourcePortRanges(Arrays.asList(new QosPortRange().withStart(10).withEnd(11), + new QosPortRange().withStart(20).withEnd(21))) + .withDestinationPortRanges(Arrays.asList(new QosPortRange().withStart(15).withEnd(15))) + .withProtocol(ProtocolType.TCP), + new QosDefinition().withMarkings(Arrays.asList(2)) + .withSourceIpRanges( + Arrays.asList(new QosIpRange().withStartIp("12.0.0.1").withEndIp("12.0.0.2"))) + .withDestinationIpRanges( + Arrays.asList(new QosIpRange().withStartIp("12.0.10.1").withEndIp("12.0.10.2"))) + .withSourcePortRanges(Arrays.asList(new QosPortRange().withStart(11).withEnd(12))) + .withDestinationPortRanges(Arrays.asList(new QosPortRange().withStart(51).withEnd(52))) + .withProtocol(ProtocolType.UDP))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationDeleteSamples.java new file mode 100644 index 000000000000..988b67d211aa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for DscpConfiguration Delete. + */ +public final class DscpConfigurationDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/DscpConfigurationDelete.json + */ + /** + * Sample code: Delete DSCP Configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteDSCPConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getDscpConfigurations().delete("rg1", "mydscpConfig", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationGetByResourceGroupSamples.java new file mode 100644 index 000000000000..372fb42cf869 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for DscpConfiguration GetByResourceGroup. + */ +public final class DscpConfigurationGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/DscpConfigurationGet.json + */ + /** + * Sample code: Get Dscp Configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void getDscpConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getDscpConfigurations() + .getByResourceGroupWithResponse("rg1", "mydscpConfig", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationListByResourceGroupSamples.java new file mode 100644 index 000000000000..56ac46836bbb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for DscpConfiguration ListByResourceGroup. + */ +public final class DscpConfigurationListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/DscpConfigurationList.json + */ + /** + * Sample code: Get Dscp Configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void getDscpConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getDscpConfigurations().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationListSamples.java new file mode 100644 index 000000000000..a3dc13455334 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/DscpConfigurationListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for DscpConfiguration List. + */ +public final class DscpConfigurationListSamples { + /* + * x-ms-original-file: 2025-05-01/DscpConfigurationListAll.json + */ + /** + * Sample code: List all network interfaces. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllNetworkInterfaces(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getDscpConfigurations().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java new file mode 100644 index 000000000000..a9d3c2d8462f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.QueryRequestOptions; + +/** + * Samples for EffectiveConfigurations ListNetworkManagerEffectiveConnectivityConfigurations. + */ +public final class EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerEffectiveConnectivityConfigurationsList.json + */ + /** + * Sample code: List effective connectivity configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listEffectiveConnectivityConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getEffectiveConfigurations() + .listNetworkManagerEffectiveConnectivityConfigurations("myResourceGroup", "testVirtualNetwork", + new QueryRequestOptions().withSkipToken("fakeTokenPlaceholder"), null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java new file mode 100644 index 000000000000..d561b2a676b0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.QueryRequestOptions; + +/** + * Samples for EffectiveConfigurations ListNetworkManagerEffectiveSecurityAdminRules. + */ +public final class EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerEffectiveSecurityAdminRulesList.json + */ + /** + * Sample code: List effective security admin rules. + * + * @param manager Entry point to NetworkManager. + */ + public static void listEffectiveSecurityAdminRules(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getEffectiveConfigurations() + .listNetworkManagerEffectiveSecurityAdminRules("myResourceGroup", "testVirtualNetwork", + new QueryRequestOptions().withSkipToken("fakeTokenPlaceholder"), null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..554287ba4a98 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsCreateOrUpdateSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitAuthorizationInner; + +/** + * Samples for ExpressRouteCircuitAuthorizations CreateOrUpdate. + */ +public final class ExpressRouteCircuitAuthorizationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitAuthorizationCreate.json + */ + /** + * Sample code: Create ExpressRouteCircuit Authorization. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createExpressRouteCircuitAuthorization(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitAuthorizations() + .createOrUpdate("rg1", "circuitName", "authorizatinName", new ExpressRouteCircuitAuthorizationInner(), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsDeleteSamples.java new file mode 100644 index 000000000000..e841922ba52f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteCircuitAuthorizations Delete. + */ +public final class ExpressRouteCircuitAuthorizationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitAuthorizationDelete.json + */ + /** + * Sample code: Delete ExpressRouteCircuit Authorization. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteExpressRouteCircuitAuthorization(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitAuthorizations() + .delete("rg1", "circuitName", "authorizationName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsGetSamples.java new file mode 100644 index 000000000000..9b153a9c4a10 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsGetSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuitAuthorizations Get. + */ +public final class ExpressRouteCircuitAuthorizationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitAuthorizationGet.json + */ + /** + * Sample code: Get ExpressRouteCircuit Authorization. + * + * @param manager Entry point to NetworkManager. + */ + public static void getExpressRouteCircuitAuthorization(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitAuthorizations() + .getWithResponse("rg1", "circuitName", "authorizationName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsListSamples.java new file mode 100644 index 000000000000..faa9be593ee5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitAuthorizationsListSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuitAuthorizations List. + */ +public final class ExpressRouteCircuitAuthorizationsListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitAuthorizationList.json + */ + /** + * Sample code: List ExpressRouteCircuit Authorization. + * + * @param manager Entry point to NetworkManager. + */ + public static void listExpressRouteCircuitAuthorization(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitAuthorizations() + .list("rg1", "circuitName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..d9a5f6023536 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsCreateOrUpdateSamples.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.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitConnectionInner; +import com.azure.resourcemanager.network.models.Ipv6CircuitConnectionConfig; + +/** + * Samples for ExpressRouteCircuitConnections CreateOrUpdate. + */ +public final class ExpressRouteCircuitConnectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitConnectionCreate.json + */ + /** + * Sample code: ExpressRouteCircuitConnectionCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteCircuitConnectionCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitConnections() + .createOrUpdate("rg1", "ExpressRouteARMCircuitA", "AzurePrivatePeering", "circuitConnectionUSAUS", + new ExpressRouteCircuitConnectionInner().withExpressRouteCircuitPeering(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering")) + .withPeerExpressRouteCircuitPeering(new SubResource().withId( + "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering")) + .withAddressPrefix("10.0.0.0/29") + .withAuthorizationKey("fakeTokenPlaceholder") + .withIpv6CircuitConnectionConfig( + new Ipv6CircuitConnectionConfig().withAddressPrefix("aa:bb::/125")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsDeleteSamples.java new file mode 100644 index 000000000000..d87931eadf36 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteCircuitConnections Delete. + */ +public final class ExpressRouteCircuitConnectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitConnectionDelete.json + */ + /** + * Sample code: Delete ExpressRouteCircuit. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteExpressRouteCircuit(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitConnections() + .delete("rg1", "ExpressRouteARMCircuitA", "AzurePrivatePeering", "circuitConnectionUSAUS", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsGetSamples.java new file mode 100644 index 000000000000..424bd006dbe1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteCircuitConnections Get. + */ +public final class ExpressRouteCircuitConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitConnectionGet.json + */ + /** + * Sample code: ExpressRouteCircuitConnectionGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteCircuitConnectionGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitConnections() + .getWithResponse("rg1", "ExpressRouteARMCircuitA", "AzurePrivatePeering", "circuitConnectionUSAUS", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsListSamples.java new file mode 100644 index 000000000000..d96893997f27 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitConnectionsListSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuitConnections List. + */ +public final class ExpressRouteCircuitConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitConnectionList.json + */ + /** + * Sample code: List ExpressRouteCircuit Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void listExpressRouteCircuitConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitConnections() + .list("rg1", "ExpressRouteARMCircuitA", "AzurePrivatePeering", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..a437209e2dba --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitPeeringInner; + +/** + * Samples for ExpressRouteCircuitPeerings CreateOrUpdate. + */ +public final class ExpressRouteCircuitPeeringsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitPeeringCreate.json + */ + /** + * Sample code: Create ExpressRouteCircuit Peerings. + * + * @param manager Entry point to NetworkManager. + */ + public static void createExpressRouteCircuitPeerings(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitPeerings() + .createOrUpdate("rg1", "circuitName", "AzurePrivatePeering", + new ExpressRouteCircuitPeeringInner().withPeerAsn(200L) + .withPrimaryPeerAddressPrefix("192.168.16.252/30") + .withSecondaryPeerAddressPrefix("192.168.18.252/30") + .withVlanId(200), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsDeleteSamples.java new file mode 100644 index 000000000000..dcb5c8ad61a6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsDeleteSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuitPeerings Delete. + */ +public final class ExpressRouteCircuitPeeringsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitPeeringDelete.json + */ + /** + * Sample code: Delete ExpressRouteCircuit Peerings. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteExpressRouteCircuitPeerings(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitPeerings() + .delete("rg1", "circuitName", "peeringName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsGetSamples.java new file mode 100644 index 000000000000..4f75288e63d8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsGetSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuitPeerings Get. + */ +public final class ExpressRouteCircuitPeeringsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitPeeringGet.json + */ + /** + * Sample code: Get ExpressRouteCircuit Peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void getExpressRouteCircuitPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitPeerings() + .getWithResponse("rg1", "circuitName", "MicrosoftPeering", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsListSamples.java new file mode 100644 index 000000000000..8838ae90fa56 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitPeeringsListSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuitPeerings List. + */ +public final class ExpressRouteCircuitPeeringsListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitPeeringList.json + */ + /** + * Sample code: List ExpressRouteCircuit Peerings. + * + * @param manager Entry point to NetworkManager. + */ + public static void listExpressRouteCircuitPeerings(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuitPeerings() + .list("rg1", "circuitName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..8f1038bd604a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsCreateOrUpdateSamples.java @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitInner; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitServiceProviderProperties; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitSku; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitSkuFamily; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitSkuTier; +import java.util.Arrays; + +/** + * Samples for ExpressRouteCircuits CreateOrUpdate. + */ +public final class ExpressRouteCircuitsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitCreate.json + */ + /** + * Sample code: Create ExpressRouteCircuit. + * + * @param manager Entry point to NetworkManager. + */ + public static void createExpressRouteCircuit(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuits() + .createOrUpdate("rg1", "circuitName", + new ExpressRouteCircuitInner().withLocation("Brazil South") + .withSku(new ExpressRouteCircuitSku().withName("Standard_MeteredData") + .withTier(ExpressRouteCircuitSkuTier.STANDARD) + .withFamily(ExpressRouteCircuitSkuFamily.METERED_DATA)) + .withAllowClassicOperations(false) + .withAuthorizations(Arrays.asList()) + .withPeerings(Arrays.asList()) + .withServiceProviderProperties( + new ExpressRouteCircuitServiceProviderProperties().withServiceProviderName("Equinix") + .withPeeringLocation("Silicon Valley") + .withBandwidthInMbps(200)), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitCreateOnExpressRoutePort.json + */ + /** + * Sample code: Create ExpressRouteCircuit on ExpressRoutePort. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createExpressRouteCircuitOnExpressRoutePort(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuits() + .createOrUpdate("rg1", "expressRouteCircuit1", new ExpressRouteCircuitInner().withLocation("westus") + .withSku(new ExpressRouteCircuitSku().withName("Premium_MeteredData") + .withTier(ExpressRouteCircuitSkuTier.PREMIUM) + .withFamily(ExpressRouteCircuitSkuFamily.METERED_DATA)) + .withExpressRoutePort(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName")) + .withBandwidthInGbps(10.0D) + .withAuthorizationKey("fakeTokenPlaceholder") + .withEnableDirectPortRateLimit(false), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsDeleteSamples.java new file mode 100644 index 000000000000..ae0ac5a2c899 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsDeleteSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuits Delete. + */ +public final class ExpressRouteCircuitsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitDelete.json + */ + /** + * Sample code: Delete ExpressRouteCircuit. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteExpressRouteCircuit(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuits() + .delete("rg1", "circuitName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..078d943d5773 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuits GetByResourceGroup. + */ +public final class ExpressRouteCircuitsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitGet.json + */ + /** + * Sample code: Get ExpressRouteCircuit. + * + * @param manager Entry point to NetworkManager. + */ + public static void getExpressRouteCircuit(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuits() + .getByResourceGroupWithResponse("rg1", "circuitName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetPeeringStatsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetPeeringStatsSamples.java new file mode 100644 index 000000000000..1c33a0fb99aa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetPeeringStatsSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteCircuits GetPeeringStats. + */ +public final class ExpressRouteCircuitsGetPeeringStatsSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitPeeringStats.json + */ + /** + * Sample code: Get ExpressRoute Circuit Peering Traffic Stats. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getExpressRouteCircuitPeeringTrafficStats(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuits() + .getPeeringStatsWithResponse("rg1", "circuitName", "peeringName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetStatsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetStatsSamples.java new file mode 100644 index 000000000000..9088315e92f7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsGetStatsSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuits GetStats. + */ +public final class ExpressRouteCircuitsGetStatsSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitStats.json + */ + /** + * Sample code: Get ExpressRoute Circuit Traffic Stats. + * + * @param manager Entry point to NetworkManager. + */ + public static void getExpressRouteCircuitTrafficStats(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuits() + .getStatsWithResponse("rg1", "circuitName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListArpTableSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListArpTableSamples.java new file mode 100644 index 000000000000..c51b68e3fb92 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListArpTableSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuits ListArpTable. + */ +public final class ExpressRouteCircuitsListArpTableSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitARPTableList.json + */ + /** + * Sample code: List ARP Table. + * + * @param manager Entry point to NetworkManager. + */ + public static void listARPTable(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuits() + .listArpTable("rg1", "circuitName", "peeringName", "devicePath", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListByResourceGroupSamples.java new file mode 100644 index 000000000000..6463235a7d39 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListByResourceGroupSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuits ListByResourceGroup. + */ +public final class ExpressRouteCircuitsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitListByResourceGroup.json + */ + /** + * Sample code: List ExpressRouteCircuits in a resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listExpressRouteCircuitsInAResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getExpressRouteCircuits().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListRoutesTableSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListRoutesTableSamples.java new file mode 100644 index 000000000000..52408429b93f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListRoutesTableSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuits ListRoutesTable. + */ +public final class ExpressRouteCircuitsListRoutesTableSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitRouteTableList.json + */ + /** + * Sample code: List Route Tables. + * + * @param manager Entry point to NetworkManager. + */ + public static void listRouteTables(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuits() + .listRoutesTable("rg1", "circuitName", "peeringName", "devicePath", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListRoutesTableSummarySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListRoutesTableSummarySamples.java new file mode 100644 index 000000000000..96bdccfa26c2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListRoutesTableSummarySamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteCircuits ListRoutesTableSummary. + */ +public final class ExpressRouteCircuitsListRoutesTableSummarySamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitRouteTableSummaryList.json + */ + /** + * Sample code: List Route Table Summary. + * + * @param manager Entry point to NetworkManager. + */ + public static void listRouteTableSummary(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuits() + .listRoutesTableSummary("rg1", "circuitName", "peeringName", "devicePath", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListSamples.java new file mode 100644 index 000000000000..d564fa4de4e3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsListSamples.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.network.generated; + +/** + * Samples for ExpressRouteCircuits List. + */ +public final class ExpressRouteCircuitsListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitListBySubscription.json + */ + /** + * Sample code: List ExpressRouteCircuits in a subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listExpressRouteCircuitsInASubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getExpressRouteCircuits().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsUpdateTagsSamples.java new file mode 100644 index 000000000000..bc58c2058eab --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCircuitsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for ExpressRouteCircuits UpdateTags. + */ +public final class ExpressRouteCircuitsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCircuitUpdateTags.json + */ + /** + * Sample code: Update Express Route Circuit Tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateExpressRouteCircuitTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCircuits() + .updateTagsWithResponse("ertest", "er1", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..d101e3eb5fa1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsCreateOrUpdateSamples.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.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionInner; +import com.azure.resourcemanager.network.models.ExpressRouteCircuitPeeringId; +import com.azure.resourcemanager.network.models.PropagatedRouteTable; +import com.azure.resourcemanager.network.models.RoutingConfiguration; +import java.util.Arrays; + +/** + * Samples for ExpressRouteConnections CreateOrUpdate. + */ +public final class ExpressRouteConnectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteConnectionCreate.json + */ + /** + * Sample code: ExpressRouteConnectionCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteConnectionCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteConnections() + .createOrUpdate("resourceGroupName", "gateway-2", "connectionName", new ExpressRouteConnectionInner() + .withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName") + .withName("connectionName") + .withExpressRouteCircuitPeering(new ExpressRouteCircuitPeeringId().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering")) + .withAuthorizationKey("fakeTokenPlaceholder") + .withRoutingWeight(2) + .withRoutingConfiguration(new RoutingConfiguration().withAssociatedRouteTable(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1")) + .withPropagatedRouteTables(new PropagatedRouteTable().withLabels(Arrays.asList("label1", "label2")) + .withIds(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1"), + new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2"), + new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3")))) + .withInboundRouteMap(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1")) + .withOutboundRouteMap(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsDeleteSamples.java new file mode 100644 index 000000000000..07f198ea27d7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsDeleteSamples.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.network.generated; + +/** + * Samples for ExpressRouteConnections Delete. + */ +public final class ExpressRouteConnectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteConnectionDelete.json + */ + /** + * Sample code: ExpressRouteConnectionDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteConnectionDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteConnections() + .delete("resourceGroupName", "expressRouteGatewayName", "connectionName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsGetSamples.java new file mode 100644 index 000000000000..dec742856326 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteConnections Get. + */ +public final class ExpressRouteConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteConnectionGet.json + */ + /** + * Sample code: ExpressRouteConnectionGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteConnectionGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteConnections() + .getWithResponse("resourceGroupName", "expressRouteGatewayName", "connectionName", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsListSamples.java new file mode 100644 index 000000000000..fd11ad05d5aa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsListSamples.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.network.generated; + +/** + * Samples for ExpressRouteConnections List. + */ +public final class ExpressRouteConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteConnectionList.json + */ + /** + * Sample code: ExpressRouteConnectionList. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteConnectionList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteConnections() + .list("resourceGroupName", "expressRouteGatewayName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..28cf8848811c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsCreateOrUpdateSamples.java @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCrossConnectionPeeringInner; +import com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig; + +/** + * Samples for ExpressRouteCrossConnectionPeerings CreateOrUpdate. + */ +public final class ExpressRouteCrossConnectionPeeringsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionBgpPeeringCreate.json + */ + /** + * Sample code: ExpressRouteCrossConnectionBgpPeeringCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void + expressRouteCrossConnectionBgpPeeringCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnectionPeerings() + .createOrUpdate("CrossConnection-SiliconValley", "", "AzurePrivatePeering", + new ExpressRouteCrossConnectionPeeringInner().withPeerAsn(200L) + .withPrimaryPeerAddressPrefix("192.168.16.252/30") + .withSecondaryPeerAddressPrefix("192.168.18.252/30") + .withVlanId(200) + .withIpv6PeeringConfig(new Ipv6ExpressRouteCircuitPeeringConfig() + .withPrimaryPeerAddressPrefix("3FFE:FFFF:0:CD30::/126") + .withSecondaryPeerAddressPrefix("3FFE:FFFF:0:CD30::4/126")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsDeleteSamples.java new file mode 100644 index 000000000000..191533d87dd2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsDeleteSamples.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.network.generated; + +/** + * Samples for ExpressRouteCrossConnectionPeerings Delete. + */ +public final class ExpressRouteCrossConnectionPeeringsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionBgpPeeringDelete.json + */ + /** + * Sample code: DeleteExpressRouteCrossConnectionBgpPeering. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteExpressRouteCrossConnectionBgpPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnectionPeerings() + .delete("CrossConnection-SiliconValley", "", "AzurePrivatePeering", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsGetSamples.java new file mode 100644 index 000000000000..4d8188f81ce7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsGetSamples.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.network.generated; + +/** + * Samples for ExpressRouteCrossConnectionPeerings Get. + */ +public final class ExpressRouteCrossConnectionPeeringsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionBgpPeeringGet.json + */ + /** + * Sample code: GetExpressRouteCrossConnectionBgpPeering. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getExpressRouteCrossConnectionBgpPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnectionPeerings() + .getWithResponse("CrossConnection-SiliconValley", "", "AzurePrivatePeering", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsListSamples.java new file mode 100644 index 000000000000..931b856030e6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionPeeringsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteCrossConnectionPeerings List. + */ +public final class ExpressRouteCrossConnectionPeeringsListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionBgpPeeringList.json + */ + /** + * Sample code: ExpressRouteCrossConnectionBgpPeeringList. + * + * @param manager Entry point to NetworkManager. + */ + public static void + expressRouteCrossConnectionBgpPeeringList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnectionPeerings() + .list("CrossConnection-SiliconValley", "", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..b6bc2b394c1c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ExpressRouteCrossConnectionInner; +import com.azure.resourcemanager.network.models.ServiceProviderProvisioningState; + +/** + * Samples for ExpressRouteCrossConnections CreateOrUpdate. + */ +public final class ExpressRouteCrossConnectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionUpdate.json + */ + /** + * Sample code: UpdateExpressRouteCrossConnection. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateExpressRouteCrossConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnections() + .createOrUpdate( + "CrossConnection-SiliconValley", "", new ExpressRouteCrossConnectionInner() + .withServiceProviderProvisioningState(ServiceProviderProvisioningState.NOT_PROVISIONED), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..f5fef9447240 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsGetByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteCrossConnections GetByResourceGroup. + */ +public final class ExpressRouteCrossConnectionsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionGet.json + */ + /** + * Sample code: GetExpressRouteCrossConnection. + * + * @param manager Entry point to NetworkManager. + */ + public static void getExpressRouteCrossConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnections() + .getByResourceGroupWithResponse("CrossConnection-SiliconValley", "", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListArpTableSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListArpTableSamples.java new file mode 100644 index 000000000000..5e1e10590936 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListArpTableSamples.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.network.generated; + +/** + * Samples for ExpressRouteCrossConnections ListArpTable. + */ +public final class ExpressRouteCrossConnectionsListArpTableSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionsArpTable.json + */ + /** + * Sample code: GetExpressRouteCrossConnectionsArpTable. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getExpressRouteCrossConnectionsArpTable(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnections() + .listArpTable("CrossConnection-SiliconValley", "", "AzurePrivatePeering", "primary", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListByResourceGroupSamples.java new file mode 100644 index 000000000000..127ffd06a092 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteCrossConnections ListByResourceGroup. + */ +public final class ExpressRouteCrossConnectionsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionListByResourceGroup.json + */ + /** + * Sample code: ExpressRouteCrossConnectionListByResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void + expressRouteCrossConnectionListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnections() + .listByResourceGroup("CrossConnection-SiliconValley", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListRoutesTableSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListRoutesTableSamples.java new file mode 100644 index 000000000000..69db7322ff76 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListRoutesTableSamples.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.network.generated; + +/** + * Samples for ExpressRouteCrossConnections ListRoutesTable. + */ +public final class ExpressRouteCrossConnectionsListRoutesTableSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionsRouteTable.json + */ + /** + * Sample code: GetExpressRouteCrossConnectionsRouteTable. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getExpressRouteCrossConnectionsRouteTable(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnections() + .listRoutesTable("CrossConnection-SiliconValley", "", "AzurePrivatePeering", "primary", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListRoutesTableSummarySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListRoutesTableSummarySamples.java new file mode 100644 index 000000000000..0477aa0ef3ee --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListRoutesTableSummarySamples.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.network.generated; + +/** + * Samples for ExpressRouteCrossConnections ListRoutesTableSummary. + */ +public final class ExpressRouteCrossConnectionsListRoutesTableSummarySamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionsRouteTableSummary.json + */ + /** + * Sample code: GetExpressRouteCrossConnectionsRouteTableSummary. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getExpressRouteCrossConnectionsRouteTableSummary(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnections() + .listRoutesTableSummary("CrossConnection-SiliconValley", "", "AzurePrivatePeering", + "primary", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListSamples.java new file mode 100644 index 000000000000..43fa3db521e0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteCrossConnections List. + */ +public final class ExpressRouteCrossConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionList.json + */ + /** + * Sample code: ExpressRouteCrossConnectionList. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteCrossConnectionList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getExpressRouteCrossConnections().list(null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsUpdateTagsSamples.java new file mode 100644 index 000000000000..808742635fa4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteCrossConnectionsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for ExpressRouteCrossConnections UpdateTags. + */ +public final class ExpressRouteCrossConnectionsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteCrossConnectionUpdateTags.json + */ + /** + * Sample code: UpdateExpressRouteCrossConnectionTags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateExpressRouteCrossConnectionTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteCrossConnections() + .updateTagsWithResponse("CrossConnection-SiliconValley", "", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysCreateOrUpdateSamples.java new file mode 100644 index 000000000000..60dc132fd749 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ExpressRouteGatewayInner; +import com.azure.resourcemanager.network.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration; +import com.azure.resourcemanager.network.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds; +import com.azure.resourcemanager.network.models.VirtualHubId; + +/** + * Samples for ExpressRouteGateways CreateOrUpdate. + */ +public final class ExpressRouteGatewaysCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteGatewayCreate.json + */ + /** + * Sample code: ExpressRouteGatewayCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteGatewayCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteGateways() + .createOrUpdate("resourceGroupName", "gateway-2", new ExpressRouteGatewayInner().withLocation("westus") + .withAutoScaleConfiguration(new ExpressRouteGatewayPropertiesAutoScaleConfiguration() + .withBounds(new ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds().withMin(3))) + .withVirtualHub(new VirtualHubId().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName")) + .withAllowNonVirtualWanTraffic(false), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysDeleteSamples.java new file mode 100644 index 000000000000..d35a4e977aac --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysDeleteSamples.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.network.generated; + +/** + * Samples for ExpressRouteGateways Delete. + */ +public final class ExpressRouteGatewaysDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteGatewayDelete.json + */ + /** + * Sample code: ExpressRouteGatewayDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteGatewayDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteGateways() + .delete("resourceGroupName", "expressRouteGatewayName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysGetByResourceGroupSamples.java new file mode 100644 index 000000000000..170cccd831e7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysGetByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteGateways GetByResourceGroup. + */ +public final class ExpressRouteGatewaysGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteGatewayGet.json + */ + /** + * Sample code: ExpressRouteGatewayGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteGatewayGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteGateways() + .getByResourceGroupWithResponse("resourceGroupName", "expressRouteGatewayName", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListByResourceGroupSamples.java new file mode 100644 index 000000000000..266c26b5ffc2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteGateways ListByResourceGroup. + */ +public final class ExpressRouteGatewaysListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteGatewayListByResourceGroup.json + */ + /** + * Sample code: ExpressRouteGatewayListByResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void + expressRouteGatewayListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteGateways() + .listByResourceGroup("resourceGroupName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListSamples.java new file mode 100644 index 000000000000..7f3dc6ad2620 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteGateways List. + */ +public final class ExpressRouteGatewaysListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteGatewayListBySubscription.json + */ + /** + * Sample code: ExpressRouteGatewayListBySubscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteGatewayListBySubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getExpressRouteGateways().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysUpdateTagsSamples.java new file mode 100644 index 000000000000..e8b8eb6ee11e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for ExpressRouteGateways UpdateTags. + */ +public final class ExpressRouteGatewaysUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteGatewayUpdateTags.json + */ + /** + * Sample code: ExpressRouteGatewayUpdate. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteGatewayUpdate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteGateways() + .updateTags("resourceGroupName", "expressRouteGatewayName", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteLinksGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteLinksGetSamples.java new file mode 100644 index 000000000000..4cd7bf393efe --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteLinksGetSamples.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.network.generated; + +/** + * Samples for ExpressRouteLinks Get. + */ +public final class ExpressRouteLinksGetSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteLinkGet.json + */ + /** + * Sample code: ExpressRouteLinkGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteLinkGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteLinks() + .getWithResponse("rg1", "portName", "linkName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteLinksListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteLinksListSamples.java new file mode 100644 index 000000000000..4d08dd9300eb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteLinksListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteLinks List. + */ +public final class ExpressRouteLinksListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteLinkList.json + */ + /** + * Sample code: ExpressRouteLinkGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteLinkGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getExpressRouteLinks().list("rg1", "portName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..7b5b2f2dd751 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortAuthorizationInner; + +/** + * Samples for ExpressRoutePortAuthorizations CreateOrUpdate. + */ +public final class ExpressRoutePortAuthorizationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortAuthorizationCreate.json + */ + /** + * Sample code: Create ExpressRoutePort Authorization. + * + * @param manager Entry point to NetworkManager. + */ + public static void createExpressRoutePortAuthorization(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRoutePortAuthorizations() + .createOrUpdate("rg1", "expressRoutePortName", "authorizatinName", new ExpressRoutePortAuthorizationInner(), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsDeleteSamples.java new file mode 100644 index 000000000000..65c664faf5ad --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsDeleteSamples.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.network.generated; + +/** + * Samples for ExpressRoutePortAuthorizations Delete. + */ +public final class ExpressRoutePortAuthorizationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortAuthorizationDelete.json + */ + /** + * Sample code: Delete ExpressRoutePort Authorization. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteExpressRoutePortAuthorization(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRoutePortAuthorizations() + .delete("rg1", "expressRoutePortName", "authorizationName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsGetSamples.java new file mode 100644 index 000000000000..520b1f98eaaf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsGetSamples.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.network.generated; + +/** + * Samples for ExpressRoutePortAuthorizations Get. + */ +public final class ExpressRoutePortAuthorizationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortAuthorizationGet.json + */ + /** + * Sample code: Get ExpressRoutePort Authorization. + * + * @param manager Entry point to NetworkManager. + */ + public static void getExpressRoutePortAuthorization(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRoutePortAuthorizations() + .getWithResponse("rg1", "expressRoutePortName", "authorizationName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsListSamples.java new file mode 100644 index 000000000000..ccf50dfbe44f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortAuthorizationsListSamples.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.network.generated; + +/** + * Samples for ExpressRoutePortAuthorizations List. + */ +public final class ExpressRoutePortAuthorizationsListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortAuthorizationList.json + */ + /** + * Sample code: List ExpressRoutePort Authorization. + * + * @param manager Entry point to NetworkManager. + */ + public static void listExpressRoutePortAuthorization(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRoutePortAuthorizations() + .list("rg1", "expressRoutePortName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..629c0541e835 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsCreateOrUpdateSamples.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ExpressRouteLinkInner; +import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortInner; +import com.azure.resourcemanager.network.models.ExpressRouteLinkAdminState; +import com.azure.resourcemanager.network.models.ExpressRoutePortsBillingType; +import com.azure.resourcemanager.network.models.ExpressRoutePortsEncapsulation; +import java.util.Arrays; + +/** + * Samples for ExpressRoutePorts CreateOrUpdate. + */ +public final class ExpressRoutePortsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortUpdateLink.json + */ + /** + * Sample code: ExpressRoutePortUpdateLink. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRoutePortUpdateLink(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRoutePorts() + .createOrUpdate("rg1", "portName", new ExpressRoutePortInner().withLocation("westus") + .withPeeringLocation("peeringLocationName") + .withBandwidthInGbps(100) + .withEncapsulation(ExpressRoutePortsEncapsulation.QINQ) + .withLinks(Arrays.asList( + new ExpressRouteLinkInner().withName("link1").withAdminState(ExpressRouteLinkAdminState.ENABLED))) + .withBillingType(ExpressRoutePortsBillingType.UNLIMITED_DATA), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortCreate.json + */ + /** + * Sample code: ExpressRoutePortCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRoutePortCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRoutePorts() + .createOrUpdate("rg1", "portName", + new ExpressRoutePortInner().withLocation("westus") + .withPeeringLocation("peeringLocationName") + .withBandwidthInGbps(100) + .withEncapsulation(ExpressRoutePortsEncapsulation.QINQ) + .withBillingType(ExpressRoutePortsBillingType.UNLIMITED_DATA), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsDeleteSamples.java new file mode 100644 index 000000000000..dc2286ad4918 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRoutePorts Delete. + */ +public final class ExpressRoutePortsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortDelete.json + */ + /** + * Sample code: ExpressRoutePortDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRoutePortDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getExpressRoutePorts().delete("rg1", "portName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLOASamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLOASamples.java new file mode 100644 index 000000000000..5bc91899a8b9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLOASamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLOARequest; + +/** + * Samples for ExpressRoutePorts GenerateLOA. + */ +public final class ExpressRoutePortsGenerateLOASamples { + /* + * x-ms-original-file: 2025-05-01/GenerateExpressRoutePortsLOA.json + */ + /** + * Sample code: GenerateExpressRoutePortLOA. + * + * @param manager Entry point to NetworkManager. + */ + public static void generateExpressRoutePortLOA(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRoutePorts() + .generateLOAWithResponse("rg1", "portName", + new GenerateExpressRoutePortsLOARequest().withCustomerName("customerName"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..37949b02f029 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for ExpressRoutePorts GetByResourceGroup. + */ +public final class ExpressRoutePortsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortGet.json + */ + /** + * Sample code: ExpressRoutePortGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRoutePortGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRoutePorts() + .getByResourceGroupWithResponse("rg1", "portName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsListByResourceGroupSamples.java new file mode 100644 index 000000000000..136169a58529 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRoutePorts ListByResourceGroup. + */ +public final class ExpressRoutePortsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortListByResourceGroup.json + */ + /** + * Sample code: ExpressRoutePortListByResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRoutePortListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getExpressRoutePorts().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsListSamples.java new file mode 100644 index 000000000000..c7470d583f5f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRoutePorts List. + */ +public final class ExpressRoutePortsListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortList.json + */ + /** + * Sample code: ExpressRoutePortList. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRoutePortList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getExpressRoutePorts().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsLocationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsLocationsGetSamples.java new file mode 100644 index 000000000000..2f52269dcae4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsLocationsGetSamples.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.network.generated; + +/** + * Samples for ExpressRoutePortsLocations Get. + */ +public final class ExpressRoutePortsLocationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortsLocationGet.json + */ + /** + * Sample code: ExpressRoutePortsLocationGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRoutePortsLocationGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRoutePortsLocations() + .getWithResponse("locationName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsLocationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsLocationsListSamples.java new file mode 100644 index 000000000000..d5973d7edf3a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsLocationsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRoutePortsLocations List. + */ +public final class ExpressRoutePortsLocationsListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortsLocationList.json + */ + /** + * Sample code: ExpressRoutePortsLocationList. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRoutePortsLocationList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getExpressRoutePortsLocations().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsUpdateTagsSamples.java new file mode 100644 index 000000000000..7cf17687953d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for ExpressRoutePorts UpdateTags. + */ +public final class ExpressRoutePortsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRoutePortUpdateTags.json + */ + /** + * Sample code: ExpressRoutePortUpdateTags. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRoutePortUpdateTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRoutePorts() + .updateTagsWithResponse("rg1", "portName", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsExpressRouteProviderPortSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsExpressRouteProviderPortSamples.java new file mode 100644 index 000000000000..9f82645ccb9a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsExpressRouteProviderPortSamples.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.network.generated; + +/** + * Samples for ExpressRouteProviderPorts ExpressRouteProviderPort. + */ +public final class ExpressRouteProviderPortsExpressRouteProviderPortSamples { + /* + * x-ms-original-file: 2025-05-01/expressRouteProviderPort.json + */ + /** + * Sample code: ExpressRouteProviderPort. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteProviderPort(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteProviderPorts() + .expressRouteProviderPortWithResponse("abc", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsLocationListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsLocationListSamples.java new file mode 100644 index 000000000000..d68d6d4291a3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsLocationListSamples.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.network.generated; + +/** + * Samples for ExpressRouteProviderPortsLocation List. + */ +public final class ExpressRouteProviderPortsLocationListSamples { + /* + * x-ms-original-file: 2025-05-01/expressRouteProviderPortList.json + */ + /** + * Sample code: ExpressRouteProviderPortList. + * + * @param manager Entry point to NetworkManager. + */ + public static void expressRouteProviderPortList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getExpressRouteProviderPortsLocations() + .listWithResponse(null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteServiceProvidersListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteServiceProvidersListSamples.java new file mode 100644 index 000000000000..7f765510ba29 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteServiceProvidersListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ExpressRouteServiceProviders List. + */ +public final class ExpressRouteServiceProvidersListSamples { + /* + * x-ms-original-file: 2025-05-01/ExpressRouteProviderList.json + */ + /** + * Sample code: List ExpressRoute providers. + * + * @param manager Entry point to NetworkManager. + */ + public static void listExpressRouteProviders(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getExpressRouteServiceProviders().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..fbd73046cd3b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesCreateOrUpdateSamples.java @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.FirewallPolicyInner; +import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; +import com.azure.resourcemanager.network.models.DnsSettings; +import com.azure.resourcemanager.network.models.ExplicitProxy; +import com.azure.resourcemanager.network.models.FirewallPolicyCertificateAuthority; +import com.azure.resourcemanager.network.models.FirewallPolicyInsights; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetection; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionBypassTrafficSpecifications; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionConfiguration; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionProfileType; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionProtocol; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionSignatureSpecification; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionStateType; +import com.azure.resourcemanager.network.models.FirewallPolicyLogAnalyticsResources; +import com.azure.resourcemanager.network.models.FirewallPolicyLogAnalyticsWorkspace; +import com.azure.resourcemanager.network.models.FirewallPolicySNAT; +import com.azure.resourcemanager.network.models.FirewallPolicySQL; +import com.azure.resourcemanager.network.models.FirewallPolicySku; +import com.azure.resourcemanager.network.models.FirewallPolicySkuTier; +import com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist; +import com.azure.resourcemanager.network.models.FirewallPolicyTransportSecurity; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for FirewallPolicies CreateOrUpdate. + */ +public final class FirewallPoliciesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyPut.json + */ + /** + * Sample code: Create FirewallPolicy. + * + * @param manager Entry point to NetworkManager. + */ + public static void createFirewallPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicies() + .createOrUpdate("rg1", "firewallPolicy", new FirewallPolicyInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withThreatIntelWhitelist( + new FirewallPolicyThreatIntelWhitelist().withIpAddresses(Arrays.asList("20.3.4.5")) + .withFqdns(Arrays.asList("*.microsoft.com"))) + .withInsights(new FirewallPolicyInsights().withIsEnabled(true) + .withRetentionDays(100) + .withLogAnalyticsResources(new FirewallPolicyLogAnalyticsResources().withWorkspaces(Arrays.asList( + new FirewallPolicyLogAnalyticsWorkspace().withRegion("westus") + .withWorkspaceId(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1")), + new FirewallPolicyLogAnalyticsWorkspace().withRegion("eastus") + .withWorkspaceId(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2")))) + .withDefaultWorkspaceId(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace")))) + .withSnat(new FirewallPolicySNAT().withPrivateRanges(Arrays.asList("IANAPrivateRanges"))) + .withSql(new FirewallPolicySQL().withAllowSqlRedirect(true)) + .withDnsSettings(new DnsSettings().withServers(Arrays.asList("30.3.4.5")) + .withEnableProxy(true) + .withRequireProxyForNetworkRules(false)) + .withExplicitProxy(new ExplicitProxy().withEnableExplicitProxy(true) + .withHttpPort(8087) + .withHttpsPort(8087) + .withEnablePacFile(true) + .withPacFilePort(8087) + .withPacFile( + "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D")) + .withIntrusionDetection(new FirewallPolicyIntrusionDetection() + .withMode(FirewallPolicyIntrusionDetectionStateType.ALERT) + .withProfile(FirewallPolicyIntrusionDetectionProfileType.fromString("Balanced")) + .withConfiguration(new FirewallPolicyIntrusionDetectionConfiguration() + .withSignatureOverrides( + Arrays.asList(new FirewallPolicyIntrusionDetectionSignatureSpecification().withId("2525004") + .withMode(FirewallPolicyIntrusionDetectionStateType.DENY))) + .withBypassTrafficSettings(Arrays.asList( + new FirewallPolicyIntrusionDetectionBypassTrafficSpecifications().withName("bypassRule1") + .withDescription("Rule 1") + .withProtocol(FirewallPolicyIntrusionDetectionProtocol.TCP) + .withSourceAddresses(Arrays.asList("1.2.3.4")) + .withDestinationAddresses(Arrays.asList("5.6.7.8")) + .withDestinationPorts(Arrays.asList("*")))))) + .withTransportSecurity(new FirewallPolicyTransportSecurity().withCertificateAuthority( + new FirewallPolicyCertificateAuthority().withKeyVaultSecretId("fakeTokenPlaceholder") + .withName("clientcert"))) + .withSku(new FirewallPolicySku().withTier(FirewallPolicySkuTier.PREMIUM)), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesDeleteSamples.java new file mode 100644 index 000000000000..d0c20805acfe --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for FirewallPolicies Delete. + */ +public final class FirewallPoliciesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyDelete.json + */ + /** + * Sample code: Delete Firewall Policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteFirewallPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getFirewallPolicies().delete("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..2c34ef93b9b7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for FirewallPolicies GetByResourceGroup. + */ +public final class FirewallPoliciesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyGet.json + */ + /** + * Sample code: Get FirewallPolicy. + * + * @param manager Entry point to NetworkManager. + */ + public static void getFirewallPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicies() + .getByResourceGroupWithResponse("rg1", "firewallPolicy", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesListByResourceGroupSamples.java new file mode 100644 index 000000000000..0a7a28775447 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesListByResourceGroupSamples.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.network.generated; + +/** + * Samples for FirewallPolicies ListByResourceGroup. + */ +public final class FirewallPoliciesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyListByResourceGroup.json + */ + /** + * Sample code: List all Firewall Policies for a given resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllFirewallPoliciesForAGivenResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getFirewallPolicies().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesListSamples.java new file mode 100644 index 000000000000..102aefbcf6b3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesListSamples.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.network.generated; + +/** + * Samples for FirewallPolicies List. + */ +public final class FirewallPoliciesListSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyListBySubscription.json + */ + /** + * Sample code: List all Firewall Policies for a given subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllFirewallPoliciesForAGivenSubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getFirewallPolicies().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesUpdateTagsSamples.java new file mode 100644 index 000000000000..2bae39d17d9e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPoliciesUpdateTagsSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for FirewallPolicies UpdateTags. + */ +public final class FirewallPoliciesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyPatch.json + */ + /** + * Sample code: Update FirewallPolicy Tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateFirewallPolicyTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicies() + .updateTagsWithResponse("myResourceGroup", "firewallPolicy", + new TagsObject().withTags(mapOf("key1", "fakeTokenPlaceholder", "key2", "fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDeploymentsDeploySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDeploymentsDeploySamples.java new file mode 100644 index 000000000000..33de24456d5f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDeploymentsDeploySamples.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.network.generated; + +/** + * Samples for FirewallPolicyDeployments Deploy. + */ +public final class FirewallPolicyDeploymentsDeploySamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyDraftDeploy.json + */ + /** + * Sample code: deploy firewall policy draft. + * + * @param manager Entry point to NetworkManager. + */ + public static void deployFirewallPolicyDraft(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyDeployments() + .deploy("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..1b08dbad4cbf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsCreateOrUpdateSamples.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.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.FirewallPolicyDraftInner; +import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; +import com.azure.resourcemanager.network.models.DnsSettings; +import com.azure.resourcemanager.network.models.ExplicitProxy; +import com.azure.resourcemanager.network.models.FirewallPolicyInsights; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetection; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionBypassTrafficSpecifications; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionConfiguration; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionProfileType; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionProtocol; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionSignatureSpecification; +import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionStateType; +import com.azure.resourcemanager.network.models.FirewallPolicyLogAnalyticsResources; +import com.azure.resourcemanager.network.models.FirewallPolicyLogAnalyticsWorkspace; +import com.azure.resourcemanager.network.models.FirewallPolicySNAT; +import com.azure.resourcemanager.network.models.FirewallPolicySQL; +import com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist; +import java.util.Arrays; + +/** + * Samples for FirewallPolicyDrafts CreateOrUpdate. + */ +public final class FirewallPolicyDraftsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyDraftPut.json + */ + /** + * Sample code: create or update firewall policy draft. + * + * @param manager Entry point to NetworkManager. + */ + public static void createOrUpdateFirewallPolicyDraft(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyDrafts() + .createOrUpdateWithResponse("rg1", "firewallPolicy", new FirewallPolicyDraftInner() + .withThreatIntelMode(AzureFirewallThreatIntelMode.ALERT) + .withThreatIntelWhitelist( + new FirewallPolicyThreatIntelWhitelist().withIpAddresses(Arrays.asList("20.3.4.5")) + .withFqdns(Arrays.asList("*.microsoft.com"))) + .withInsights(new FirewallPolicyInsights().withIsEnabled(true) + .withRetentionDays(100) + .withLogAnalyticsResources(new FirewallPolicyLogAnalyticsResources().withWorkspaces(Arrays.asList( + new FirewallPolicyLogAnalyticsWorkspace().withRegion("westus") + .withWorkspaceId(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1")), + new FirewallPolicyLogAnalyticsWorkspace().withRegion("eastus") + .withWorkspaceId(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2")))) + .withDefaultWorkspaceId(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace")))) + .withSnat(new FirewallPolicySNAT().withPrivateRanges(Arrays.asList("IANAPrivateRanges"))) + .withSql(new FirewallPolicySQL().withAllowSqlRedirect(true)) + .withDnsSettings(new DnsSettings().withServers(Arrays.asList("30.3.4.5")) + .withEnableProxy(true) + .withRequireProxyForNetworkRules(false)) + .withExplicitProxy(new ExplicitProxy().withEnableExplicitProxy(true) + .withHttpPort(8087) + .withHttpsPort(8087) + .withEnablePacFile(true) + .withPacFilePort(8087) + .withPacFile( + "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D")) + .withIntrusionDetection(new FirewallPolicyIntrusionDetection() + .withMode(FirewallPolicyIntrusionDetectionStateType.ALERT) + .withProfile(FirewallPolicyIntrusionDetectionProfileType.fromString("Balanced")) + .withConfiguration(new FirewallPolicyIntrusionDetectionConfiguration() + .withSignatureOverrides( + Arrays.asList(new FirewallPolicyIntrusionDetectionSignatureSpecification().withId("2525004") + .withMode(FirewallPolicyIntrusionDetectionStateType.DENY))) + .withBypassTrafficSettings(Arrays.asList( + new FirewallPolicyIntrusionDetectionBypassTrafficSpecifications().withName("bypassRule1") + .withDescription("Rule 1") + .withProtocol(FirewallPolicyIntrusionDetectionProtocol.TCP) + .withSourceAddresses(Arrays.asList("1.2.3.4")) + .withDestinationAddresses(Arrays.asList("5.6.7.8")) + .withDestinationPorts(Arrays.asList("*")))))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsDeleteSamples.java new file mode 100644 index 000000000000..36829c1e4350 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsDeleteSamples.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.network.generated; + +/** + * Samples for FirewallPolicyDrafts Delete. + */ +public final class FirewallPolicyDraftsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyDraftDelete.json + */ + /** + * Sample code: delete firewall policy draft. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteFirewallPolicyDraft(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyDrafts() + .deleteWithResponse("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsGetSamples.java new file mode 100644 index 000000000000..a62e12b6c1ed --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyDraftsGetSamples.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.network.generated; + +/** + * Samples for FirewallPolicyDrafts Get. + */ +public final class FirewallPolicyDraftsGetSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyDraftGet.json + */ + /** + * Sample code: get firewall policy draft. + * + * @param manager Entry point to NetworkManager. + */ + public static void getFirewallPolicyDraft(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyDrafts() + .getWithResponse("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesFilterValuesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesFilterValuesListSamples.java new file mode 100644 index 000000000000..5a8706e3b5df --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesFilterValuesListSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.SignatureOverridesFilterValuesQuery; + +/** + * Samples for FirewallPolicyIdpsSignaturesFilterValues List. + */ +public final class FirewallPolicyIdpsSignaturesFilterValuesListSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyQuerySignatureOverridesFilterValues.json + */ + /** + * Sample code: query signature overrides. + * + * @param manager Entry point to NetworkManager. + */ + public static void querySignatureOverrides(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyIdpsSignaturesFilterValues() + .listWithResponse("rg1", "firewallPolicy", + new SignatureOverridesFilterValuesQuery().withFilterName("severity"), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesListSamples.java new file mode 100644 index 000000000000..e4db244a3d07 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesListSamples.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.FilterItems; +import com.azure.resourcemanager.network.models.FirewallPolicyIDPSQuerySortOrder; +import com.azure.resourcemanager.network.models.IDPSQueryObject; +import com.azure.resourcemanager.network.models.OrderBy; +import java.util.Arrays; + +/** + * Samples for FirewallPolicyIdpsSignatures List. + */ +public final class FirewallPolicyIdpsSignaturesListSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyQuerySignatureOverrides.json + */ + /** + * Sample code: query signature overrides. + * + * @param manager Entry point to NetworkManager. + */ + public static void querySignatureOverrides(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyIdpsSignatures() + .listWithResponse("rg1", "firewallPolicy", new IDPSQueryObject() + .withFilters(Arrays.asList(new FilterItems().withField("Mode").withValues(Arrays.asList("Deny")))) + .withSearch("") + .withOrderBy(new OrderBy().withField("severity").withOrder(FirewallPolicyIDPSQuerySortOrder.ASCENDING)) + .withResultsPerPage(20) + .withSkip(0), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesGetSamples.java new file mode 100644 index 000000000000..9a046c6769ef --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesGetSamples.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.network.generated; + +/** + * Samples for FirewallPolicyIdpsSignaturesOverrides Get. + */ +public final class FirewallPolicyIdpsSignaturesOverridesGetSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicySignatureOverridesGet.json + */ + /** + * Sample code: get signature overrides. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSignatureOverrides(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyIdpsSignaturesOverrides() + .getWithResponse("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesListSamples.java new file mode 100644 index 000000000000..3fc6914caa25 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesListSamples.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.network.generated; + +/** + * Samples for FirewallPolicyIdpsSignaturesOverrides List. + */ +public final class FirewallPolicyIdpsSignaturesOverridesListSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicySignatureOverridesList.json + */ + /** + * Sample code: get signature overrides. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSignatureOverrides(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyIdpsSignaturesOverrides() + .list("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPatchSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPatchSamples.java new file mode 100644 index 000000000000..f1074ee0dcea --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPatchSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesInner; +import com.azure.resourcemanager.network.models.SignaturesOverridesProperties; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for FirewallPolicyIdpsSignaturesOverrides Patch. + */ +public final class FirewallPolicyIdpsSignaturesOverridesPatchSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicySignatureOverridesPatch.json + */ + /** + * Sample code: patch signature overrides. + * + * @param manager Entry point to NetworkManager. + */ + public static void patchSignatureOverrides(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyIdpsSignaturesOverrides() + .patchWithResponse("rg1", "firewallPolicy", new SignaturesOverridesInner().withId( + "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default") + .withName("default") + .withType("Microsoft.Network/firewallPolicies/signatureOverrides") + .withProperties( + new SignaturesOverridesProperties().withSignatures(mapOf("2000105", "Off", "2000106", "Deny"))), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPutSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPutSamples.java new file mode 100644 index 000000000000..c87ffe16180d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPutSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesInner; +import com.azure.resourcemanager.network.models.SignaturesOverridesProperties; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for FirewallPolicyIdpsSignaturesOverrides Put. + */ +public final class FirewallPolicyIdpsSignaturesOverridesPutSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicySignatureOverridesPut.json + */ + /** + * Sample code: put signature overrides. + * + * @param manager Entry point to NetworkManager. + */ + public static void putSignatureOverrides(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyIdpsSignaturesOverrides() + .putWithResponse("rg1", "firewallPolicy", new SignaturesOverridesInner().withId( + "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default") + .withName("default") + .withType("Microsoft.Network/firewallPolicies/signatureOverrides") + .withProperties( + new SignaturesOverridesProperties().withSignatures(mapOf("2000105", "Off", "2000106", "Deny"))), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..90cb3454e5fb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdateSamples.java @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.FirewallPolicyRuleCollectionGroupDraftInner; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollection; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollectionAction; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollectionActionType; +import com.azure.resourcemanager.network.models.FirewallPolicyRuleNetworkProtocol; +import com.azure.resourcemanager.network.models.NetworkRule; +import java.util.Arrays; + +/** + * Samples for FirewallPolicyRuleCollectionGroupDrafts CreateOrUpdate. + */ +public final class FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupDraftPut.json + */ + /** + * Sample code: create or update rule collection group draft. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createOrUpdateRuleCollectionGroupDraft(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroupDrafts() + .createOrUpdateWithResponse("rg1", "firewallPolicy", "ruleCollectionGroup1", + new FirewallPolicyRuleCollectionGroupDraftInner().withPriority(100) + .withRuleCollections(Arrays + .asList(new FirewallPolicyFilterRuleCollection().withName("Example-Filter-Rule-Collection") + .withPriority(100) + .withAction(new FirewallPolicyFilterRuleCollectionAction() + .withType(FirewallPolicyFilterRuleCollectionActionType.DENY)) + .withRules(Arrays.asList(new NetworkRule().withName("network-rule1") + .withIpProtocols(Arrays.asList(FirewallPolicyRuleNetworkProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.1.25.0/24")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("*")))))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsDeleteSamples.java new file mode 100644 index 000000000000..ebe4994835ad --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for FirewallPolicyRuleCollectionGroupDrafts Delete. + */ +public final class FirewallPolicyRuleCollectionGroupDraftsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupDraftDelete.json + */ + /** + * Sample code: delete firewall rule collection group draft. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteFirewallRuleCollectionGroupDraft(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroupDrafts() + .deleteWithResponse("rg1", "firewallPolicy", "ruleCollectionGroup1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsGetSamples.java new file mode 100644 index 000000000000..cb9a85332497 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupDraftsGetSamples.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.network.generated; + +/** + * Samples for FirewallPolicyRuleCollectionGroupDrafts Get. + */ +public final class FirewallPolicyRuleCollectionGroupDraftsGetSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupDraftGet.json + */ + /** + * Sample code: get rule collection group draft. + * + * @param manager Entry point to NetworkManager. + */ + public static void getRuleCollectionGroupDraft(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroupDrafts() + .getWithResponse("rg1", "firewallPolicy", "ruleCollectionGroup1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..e49c895cc687 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsCreateOrUpdateSamples.java @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.FirewallPolicyRuleCollectionGroupInner; +import com.azure.resourcemanager.network.models.ApplicationRule; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollection; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollectionAction; +import com.azure.resourcemanager.network.models.FirewallPolicyFilterRuleCollectionActionType; +import com.azure.resourcemanager.network.models.FirewallPolicyHttpHeaderToInsert; +import com.azure.resourcemanager.network.models.FirewallPolicyNatRuleCollection; +import com.azure.resourcemanager.network.models.FirewallPolicyNatRuleCollectionAction; +import com.azure.resourcemanager.network.models.FirewallPolicyNatRuleCollectionActionType; +import com.azure.resourcemanager.network.models.FirewallPolicyRuleApplicationProtocol; +import com.azure.resourcemanager.network.models.FirewallPolicyRuleApplicationProtocolType; +import com.azure.resourcemanager.network.models.FirewallPolicyRuleNetworkProtocol; +import com.azure.resourcemanager.network.models.NatRule; +import com.azure.resourcemanager.network.models.NetworkRule; +import java.util.Arrays; + +/** + * Samples for FirewallPolicyRuleCollectionGroups CreateOrUpdate. + */ +public final class FirewallPolicyRuleCollectionGroupsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupPut.json + */ + /** + * Sample code: Create Firewall Policy Rule Collection Group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createFirewallPolicyRuleCollectionGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .createOrUpdate("rg1", "firewallPolicy", "ruleCollectionGroup1", + new FirewallPolicyRuleCollectionGroupInner().withPriority(100) + .withRuleCollections(Arrays + .asList(new FirewallPolicyFilterRuleCollection().withName("Example-Filter-Rule-Collection") + .withPriority(100) + .withAction(new FirewallPolicyFilterRuleCollectionAction() + .withType(FirewallPolicyFilterRuleCollectionActionType.DENY)) + .withRules(Arrays.asList(new NetworkRule().withName("network-rule1") + .withIpProtocols(Arrays.asList(FirewallPolicyRuleNetworkProtocol.TCP)) + .withSourceAddresses(Arrays.asList("10.1.25.0/24")) + .withDestinationAddresses(Arrays.asList("*")) + .withDestinationPorts(Arrays.asList("*")))))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json + */ + /** + * Sample code: Create Firewall Policy Rule Collection Group With Web Categories. + * + * @param manager Entry point to NetworkManager. + */ + public static void createFirewallPolicyRuleCollectionGroupWithWebCategories( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .createOrUpdate("rg1", "firewallPolicy", "ruleCollectionGroup1", + new FirewallPolicyRuleCollectionGroupInner().withPriority(110) + .withRuleCollections(Arrays + .asList(new FirewallPolicyFilterRuleCollection().withName("Example-Filter-Rule-Collection") + .withAction(new FirewallPolicyFilterRuleCollectionAction() + .withType(FirewallPolicyFilterRuleCollectionActionType.DENY)) + .withRules(Arrays.asList(new ApplicationRule().withName("rule1") + .withDescription("Deny inbound rule") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols(Arrays.asList(new FirewallPolicyRuleApplicationProtocol() + .withProtocolType(FirewallPolicyRuleApplicationProtocolType.HTTPS) + .withPort(443))) + .withWebCategories(Arrays.asList("Hacking")))))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyNatRuleCollectionGroupPut.json + */ + /** + * Sample code: Create Firewall Policy Nat Rule Collection Group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createFirewallPolicyNatRuleCollectionGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .createOrUpdate("rg1", "firewallPolicy", "ruleCollectionGroup1", + new FirewallPolicyRuleCollectionGroupInner().withPriority(100) + .withRuleCollections( + Arrays.asList(new FirewallPolicyNatRuleCollection().withName("Example-Nat-Rule-Collection") + .withPriority(100) + .withAction(new FirewallPolicyNatRuleCollectionAction() + .withType(FirewallPolicyNatRuleCollectionActionType.DNAT)) + .withRules(Arrays.asList(new NatRule().withName("nat-rule1") + .withIpProtocols(Arrays.asList(FirewallPolicyRuleNetworkProtocol.TCP, + FirewallPolicyRuleNetworkProtocol.UDP)) + .withSourceAddresses(Arrays.asList("2.2.2.2")) + .withDestinationAddresses(Arrays.asList("152.23.32.23")) + .withDestinationPorts(Arrays.asList("8080")) + .withTranslatedPort("8080") + .withSourceIpGroups(Arrays.asList()) + .withTranslatedFqdn("internalhttp.server.net"))))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupWithHttpHeadersToInsert.json + */ + /** + * Sample code: Create Firewall Policy Rule Collection Group With http header to insert. + * + * @param manager Entry point to NetworkManager. + */ + public static void createFirewallPolicyRuleCollectionGroupWithHttpHeaderToInsert( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .createOrUpdate("rg1", "firewallPolicy", "ruleCollectionGroup1", + new FirewallPolicyRuleCollectionGroupInner().withPriority(110) + .withRuleCollections( + Arrays + .asList(new FirewallPolicyFilterRuleCollection().withName("Example-Filter-Rule-Collection") + .withAction(new FirewallPolicyFilterRuleCollectionAction() + .withType(FirewallPolicyFilterRuleCollectionActionType.ALLOW)) + .withRules(Arrays.asList(new ApplicationRule().withName("rule1") + .withDescription("Insert trusted tenants header") + .withSourceAddresses(Arrays.asList("216.58.216.164", "10.0.0.0/24")) + .withProtocols(Arrays.asList(new FirewallPolicyRuleApplicationProtocol() + .withProtocolType(FirewallPolicyRuleApplicationProtocolType.HTTP) + .withPort(80))) + .withFqdnTags(Arrays.asList("WindowsVirtualDesktop")) + .withHttpHeadersToInsert(Arrays.asList(new FirewallPolicyHttpHeaderToInsert() + .withHeaderName("Restrict-Access-To-Tenants") + .withHeaderValue("contoso.com,fabrikam.onmicrosoft.com"))))))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json + */ + /** + * Sample code: Create Firewall Policy Rule Collection Group With IP Groups. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createFirewallPolicyRuleCollectionGroupWithIPGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .createOrUpdate("rg1", "firewallPolicy", "ruleCollectionGroup1", + new FirewallPolicyRuleCollectionGroupInner().withPriority(110) + .withRuleCollections(Arrays.asList(new FirewallPolicyFilterRuleCollection() + .withName("Example-Filter-Rule-Collection") + .withAction(new FirewallPolicyFilterRuleCollectionAction() + .withType(FirewallPolicyFilterRuleCollectionActionType.DENY)) + .withRules(Arrays.asList(new NetworkRule().withName("network-1") + .withIpProtocols(Arrays.asList(FirewallPolicyRuleNetworkProtocol.TCP)) + .withDestinationPorts(Arrays.asList("*")) + .withSourceIpGroups(Arrays.asList( + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1")) + .withDestinationIpGroups(Arrays.asList( + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2")))))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsDeleteSamples.java new file mode 100644 index 000000000000..957f1bfabbb6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for FirewallPolicyRuleCollectionGroups Delete. + */ +public final class FirewallPolicyRuleCollectionGroupsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupDelete.json + */ + /** + * Sample code: Delete FirewallPolicyRuleCollectionGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteFirewallPolicyRuleCollectionGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .delete("rg1", "firewallPolicy", "ruleCollectionGroup1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsGetSamples.java new file mode 100644 index 000000000000..b9380726bcf7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsGetSamples.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for FirewallPolicyRuleCollectionGroups Get. + */ +public final class FirewallPolicyRuleCollectionGroupsGetSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyNatRuleCollectionGroupGet.json + */ + /** + * Sample code: Get FirewallPolicyNatRuleCollectionGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getFirewallPolicyNatRuleCollectionGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .getWithResponse("rg1", "firewallPolicy", "ruleCollectionGroup1", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json + */ + /** + * Sample code: Get FirewallPolicyRuleCollectionGroup With Web Categories. + * + * @param manager Entry point to NetworkManager. + */ + public static void getFirewallPolicyRuleCollectionGroupWithWebCategories( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .getWithResponse("rg1", "firewallPolicy", "ruleCollectionGroup1", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupGet.json + */ + /** + * Sample code: Get FirewallPolicyRuleCollectionGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void getFirewallPolicyRuleCollectionGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .getWithResponse("rg1", "firewallPolicy", "ruleCollectionGroup1", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json + */ + /** + * Sample code: Get FirewallPolicyRuleCollectionGroup With IpGroups. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getFirewallPolicyRuleCollectionGroupWithIpGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .getWithResponse("rg1", "firewallPolicy", "ruleGroup1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsListSamples.java new file mode 100644 index 000000000000..eb9abf123069 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyRuleCollectionGroupsListSamples.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for FirewallPolicyRuleCollectionGroups List. + */ +public final class FirewallPolicyRuleCollectionGroupsListSamples { + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupList.json + */ + /** + * Sample code: List all FirewallPolicyRuleCollectionGroups for a given FirewallPolicy. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllFirewallPolicyRuleCollectionGroupsForAGivenFirewallPolicy( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .list("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json + */ + /** + * Sample code: List all FirewallPolicyRuleCollectionGroups with IpGroups for a given FirewallPolicy. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllFirewallPolicyRuleCollectionGroupsWithIpGroupsForAGivenFirewallPolicy( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .list("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json + */ + /** + * Sample code: List all FirewallPolicyRuleCollectionGroup With Web Categories. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllFirewallPolicyRuleCollectionGroupWithWebCategories( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFirewallPolicyRuleCollectionGroups() + .list("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..6e9a15a6ac66 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsCreateOrUpdateSamples.java @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.FlowLogInner; +import com.azure.resourcemanager.network.models.FlowLogFormatParameters; +import com.azure.resourcemanager.network.models.FlowLogFormatType; +import com.azure.resourcemanager.network.models.ManagedServiceIdentity; +import com.azure.resourcemanager.network.models.ManagedServiceIdentityUserAssignedIdentities; +import com.azure.resourcemanager.network.models.ResourceIdentityType; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for FlowLogs CreateOrUpdate. + */ +public final class FlowLogsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherFlowLogCreate.json + */ + /** + * Sample code: Create or update flow log. + * + * @param manager Entry point to NetworkManager. + */ + public static void createOrUpdateFlowLog(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFlowLogs() + .createOrUpdate("rg1", "nw1", "fl", new FlowLogInner().withLocation("centraluseuap") + .withIdentity(new ManagedServiceIdentity().withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withTargetResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg") + .withStorageId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe") + .withEnabledFilteringCriteria("srcIP=158.255.7.8 || dstPort=56891") + .withRecordTypes("B,E") + .withEnabled(true) + .withFormat(new FlowLogFormatParameters().withType(FlowLogFormatType.JSON).withVersion(1)), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsDeleteSamples.java new file mode 100644 index 000000000000..58a94a3777a1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for FlowLogs Delete. + */ +public final class FlowLogsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherFlowLogDelete.json + */ + /** + * Sample code: Delete flow log. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteFlowLog(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getFlowLogs().delete("rg1", "nw1", "fl", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsGetSamples.java new file mode 100644 index 000000000000..a2af53662976 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsGetSamples.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.network.generated; + +/** + * Samples for FlowLogs Get. + */ +public final class FlowLogsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherFlowLogGet.json + */ + /** + * Sample code: Get flow log. + * + * @param manager Entry point to NetworkManager. + */ + public static void getFlowLog(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFlowLogs() + .getWithResponse("rg1", "nw1", "flowLog1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsListSamples.java new file mode 100644 index 000000000000..e9054dd03b76 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for FlowLogs List. + */ +public final class FlowLogsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherFlowLogList.json + */ + /** + * Sample code: List connection monitors. + * + * @param manager Entry point to NetworkManager. + */ + public static void listConnectionMonitors(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getFlowLogs().list("rg1", "nw1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsUpdateTagsSamples.java new file mode 100644 index 000000000000..d148243fa083 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FlowLogsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for FlowLogs UpdateTags. + */ +public final class FlowLogsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherFlowLogUpdateTags.json + */ + /** + * Sample code: Update flow log tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateFlowLogTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getFlowLogs() + .updateTagsWithResponse("rg1", "nw", "fl", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..faeb7c6be57b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesCreateOrUpdateSamples.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.HubRouteTableInner; +import com.azure.resourcemanager.network.models.HubRoute; +import java.util.Arrays; + +/** + * Samples for HubRouteTables CreateOrUpdate. + */ +public final class HubRouteTablesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/HubRouteTablePut.json + */ + /** + * Sample code: RouteTablePut. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeTablePut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getHubRouteTables() + .createOrUpdate("rg1", "virtualHub1", "hubRouteTable1", new HubRouteTableInner() + .withRoutes(Arrays.asList(new HubRoute().withName("route1") + .withDestinationType("CIDR") + .withDestinations(Arrays.asList("10.0.0.0/8", "20.0.0.0/8", "30.0.0.0/8")) + .withNextHopType("ResourceId") + .withNextHop( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1"))) + .withLabels(Arrays.asList("label1", "label2")), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesDeleteSamples.java new file mode 100644 index 000000000000..4fd7573e8b19 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesDeleteSamples.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.network.generated; + +/** + * Samples for HubRouteTables Delete. + */ +public final class HubRouteTablesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/HubRouteTableDelete.json + */ + /** + * Sample code: RouteTableDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeTableDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getHubRouteTables() + .delete("rg1", "virtualHub1", "hubRouteTable1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesGetSamples.java new file mode 100644 index 000000000000..b59b933181ec --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesGetSamples.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.network.generated; + +/** + * Samples for HubRouteTables Get. + */ +public final class HubRouteTablesGetSamples { + /* + * x-ms-original-file: 2025-05-01/HubRouteTableGet.json + */ + /** + * Sample code: RouteTableGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeTableGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getHubRouteTables() + .getWithResponse("rg1", "virtualHub1", "hubRouteTable1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesListSamples.java new file mode 100644 index 000000000000..94409efaec63 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubRouteTablesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for HubRouteTables List. + */ +public final class HubRouteTablesListSamples { + /* + * x-ms-original-file: 2025-05-01/HubRouteTableList.json + */ + /** + * Sample code: RouteTableList. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeTableList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getHubRouteTables().list("rg1", "virtualHub1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..1a48b5724009 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsCreateOrUpdateSamples.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.HubVirtualNetworkConnectionInner; +import com.azure.resourcemanager.network.models.PropagatedRouteTable; +import com.azure.resourcemanager.network.models.RoutingConfiguration; +import com.azure.resourcemanager.network.models.StaticRoute; +import com.azure.resourcemanager.network.models.StaticRoutesConfig; +import com.azure.resourcemanager.network.models.VnetLocalRouteOverrideCriteria; +import com.azure.resourcemanager.network.models.VnetRoute; +import java.util.Arrays; + +/** + * Samples for HubVirtualNetworkConnections CreateOrUpdate. + */ +public final class HubVirtualNetworkConnectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/HubVirtualNetworkConnectionPut.json + */ + /** + * Sample code: HubVirtualNetworkConnectionPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void hubVirtualNetworkConnectionPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getHubVirtualNetworkConnections() + .createOrUpdate("rg1", "virtualHub1", "connection1", new HubVirtualNetworkConnectionInner() + .withRemoteVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1")) + .withEnableInternetSecurity(false) + .withRoutingConfiguration(new RoutingConfiguration().withAssociatedRouteTable(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")) + .withPropagatedRouteTables(new PropagatedRouteTable().withLabels(Arrays.asList("label1", "label2")) + .withIds(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")))) + .withVnetRoutes(new VnetRoute() + .withStaticRoutesConfig(new StaticRoutesConfig() + .withVnetLocalRouteOverrideCriteria(VnetLocalRouteOverrideCriteria.EQUAL)) + .withStaticRoutes(Arrays.asList( + new StaticRoute().withName("route1") + .withAddressPrefixes(Arrays.asList("10.1.0.0/16", "10.2.0.0/16")) + .withNextHopIpAddress("10.0.0.68"), + new StaticRoute().withName("route2") + .withAddressPrefixes(Arrays.asList("10.3.0.0/16", "10.4.0.0/16")) + .withNextHopIpAddress("10.0.0.65")))) + .withInboundRouteMap(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1")) + .withOutboundRouteMap(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsDeleteSamples.java new file mode 100644 index 000000000000..0ff2eb954d0a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsDeleteSamples.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.network.generated; + +/** + * Samples for HubVirtualNetworkConnections Delete. + */ +public final class HubVirtualNetworkConnectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/HubVirtualNetworkConnectionDelete.json + */ + /** + * Sample code: HubVirtualNetworkConnectionDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void hubVirtualNetworkConnectionDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getHubVirtualNetworkConnections() + .delete("rg1", "virtualHub1", "connection1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsGetSamples.java new file mode 100644 index 000000000000..c5dbdf986603 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsGetSamples.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.network.generated; + +/** + * Samples for HubVirtualNetworkConnections Get. + */ +public final class HubVirtualNetworkConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/HubVirtualNetworkConnectionGet.json + */ + /** + * Sample code: HubVirtualNetworkConnectionGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void hubVirtualNetworkConnectionGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getHubVirtualNetworkConnections() + .getWithResponse("rg1", "virtualHub1", "connection1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsListSamples.java new file mode 100644 index 000000000000..0b91fa150dfb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/HubVirtualNetworkConnectionsListSamples.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.network.generated; + +/** + * Samples for HubVirtualNetworkConnections List. + */ +public final class HubVirtualNetworkConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/HubVirtualNetworkConnectionList.json + */ + /** + * Sample code: HubVirtualNetworkConnectionList. + * + * @param manager Entry point to NetworkManager. + */ + public static void hubVirtualNetworkConnectionList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getHubVirtualNetworkConnections() + .list("rg1", "virtualHub1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..b3dd91ee2e69 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesCreateOrUpdateSamples.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.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.InboundNatRuleInner; +import com.azure.resourcemanager.network.models.TransportProtocol; + +/** + * Samples for InboundNatRules CreateOrUpdate. + */ +public final class InboundNatRulesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/InboundNatRuleCreate.json + */ + /** + * Sample code: InboundNatRuleCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void inboundNatRuleCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getInboundNatRules() + .createOrUpdate("testrg", "lb1", "natRule1.1", + new InboundNatRuleInner().withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3390) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(4) + .withEnableFloatingIp(false) + .withEnableTcpReset(false), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesDeleteSamples.java new file mode 100644 index 000000000000..a1a4ad220f55 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesDeleteSamples.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.network.generated; + +/** + * Samples for InboundNatRules Delete. + */ +public final class InboundNatRulesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/InboundNatRuleDelete.json + */ + /** + * Sample code: InboundNatRuleDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void inboundNatRuleDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getInboundNatRules() + .delete("testrg", "lb1", "natRule1.1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesGetSamples.java new file mode 100644 index 000000000000..73a384588a0f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesGetSamples.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.network.generated; + +/** + * Samples for InboundNatRules Get. + */ +public final class InboundNatRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/InboundNatRuleGet.json + */ + /** + * Sample code: InboundNatRuleGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void inboundNatRuleGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getInboundNatRules() + .getWithResponse("testrg", "lb1", "natRule1.1", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesListSamples.java new file mode 100644 index 000000000000..616428503f7b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/InboundNatRulesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for InboundNatRules List. + */ +public final class InboundNatRulesListSamples { + /* + * x-ms-original-file: 2025-05-01/InboundNatRuleList.json + */ + /** + * Sample code: InboundNatRuleList. + * + * @param manager Entry point to NetworkManager. + */ + public static void inboundNatRuleList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getInboundNatRules().list("testrg", "lb1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..6b452b7dad2a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.IpAllocationInner; +import com.azure.resourcemanager.network.models.IpAllocationType; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for IpAllocations CreateOrUpdate. + */ +public final class IpAllocationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/IpAllocationCreate.json + */ + /** + * Sample code: Create IpAllocation. + * + * @param manager Entry point to NetworkManager. + */ + public static void createIpAllocation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpAllocations() + .createOrUpdate("rg1", "test-ipallocation", new IpAllocationInner().withLocation("centraluseuap") + .withTypePropertiesType(IpAllocationType.HYPERNET) + .withPrefix("3.2.5.0/24") + .withAllocationTags(mapOf("VNetID", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsDeleteSamples.java new file mode 100644 index 000000000000..ec2890217d6f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for IpAllocations Delete. + */ +public final class IpAllocationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/IpAllocationDelete.json + */ + /** + * Sample code: Delete IpAllocation. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteIpAllocation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getIpAllocations().delete("rg1", "test-ipallocation", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..05447a29f4d2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for IpAllocations GetByResourceGroup. + */ +public final class IpAllocationsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/IpAllocationGet.json + */ + /** + * Sample code: Get IpAllocation. + * + * @param manager Entry point to NetworkManager. + */ + public static void getIpAllocation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpAllocations() + .getByResourceGroupWithResponse("rg1", "test-ipallocation", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsListByResourceGroupSamples.java new file mode 100644 index 000000000000..c80d9000191e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for IpAllocations ListByResourceGroup. + */ +public final class IpAllocationsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/IpAllocationListByResourceGroup.json + */ + /** + * Sample code: List IpAllocations in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listIpAllocationsInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getIpAllocations().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsListSamples.java new file mode 100644 index 000000000000..fc0ca3bbeba3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for IpAllocations List. + */ +public final class IpAllocationsListSamples { + /* + * x-ms-original-file: 2025-05-01/IpAllocationList.json + */ + /** + * Sample code: List all IpAllocations. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllIpAllocations(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getIpAllocations().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsUpdateTagsSamples.java new file mode 100644 index 000000000000..b867a3839177 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpAllocationsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for IpAllocations UpdateTags. + */ +public final class IpAllocationsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/IpAllocationUpdateTags.json + */ + /** + * Sample code: Update virtual network tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateVirtualNetworkTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpAllocations() + .updateTagsWithResponse("rg1", "test-ipallocation", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..ec7112d3455a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsCreateOrUpdateSamples.java @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.IpGroupInner; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for IpGroups CreateOrUpdate. + */ +public final class IpGroupsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/IpGroupsCreate.json + */ + /** + * Sample code: CreateOrUpdate_IpGroups. + * + * @param manager Entry point to NetworkManager. + */ + public static void createOrUpdateIpGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpGroups() + .createOrUpdate("myResourceGroup", "ipGroups1", + new IpGroupInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withIpAddresses(Arrays.asList("13.64.39.16/32", "40.74.146.80/31", "40.74.147.32/28")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsDeleteSamples.java new file mode 100644 index 000000000000..a6cd60298d5f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for IpGroups Delete. + */ +public final class IpGroupsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/IpGroupsDelete.json + */ + /** + * Sample code: Delete_IpGroups. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteIpGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getIpGroups().delete("myResourceGroup", "ipGroups1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..89174cdaacbf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for IpGroups GetByResourceGroup. + */ +public final class IpGroupsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/IpGroupsGet.json + */ + /** + * Sample code: Get_IpGroups. + * + * @param manager Entry point to NetworkManager. + */ + public static void getIpGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpGroups() + .getByResourceGroupWithResponse("myResourceGroup", "ipGroups1", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsListByResourceGroupSamples.java new file mode 100644 index 000000000000..c8a3ee7b4154 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for IpGroups ListByResourceGroup. + */ +public final class IpGroupsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/IpGroupsListByResourceGroup.json + */ + /** + * Sample code: ListByResourceGroup_IpGroups. + * + * @param manager Entry point to NetworkManager. + */ + public static void listByResourceGroupIpGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getIpGroups().listByResourceGroup("myResourceGroup", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsListSamples.java new file mode 100644 index 000000000000..94ee657ddb88 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for IpGroups List. + */ +public final class IpGroupsListSamples { + /* + * x-ms-original-file: 2025-05-01/IpGroupsListBySubscription.json + */ + /** + * Sample code: List_IpGroups. + * + * @param manager Entry point to NetworkManager. + */ + public static void listIpGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getIpGroups().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsUpdateGroupsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsUpdateGroupsSamples.java new file mode 100644 index 000000000000..e19227d3bace --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpGroupsUpdateGroupsSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for IpGroups UpdateGroups. + */ +public final class IpGroupsUpdateGroupsSamples { + /* + * x-ms-original-file: 2025-05-01/IpGroupsUpdateTags.json + */ + /** + * Sample code: Update_IpGroups. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateIpGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpGroups() + .updateGroupsWithResponse("myResourceGroup", "ipGroups1", + new TagsObject().withTags(mapOf("key1", "fakeTokenPlaceholder", "key2", "fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsCreateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsCreateSamples.java new file mode 100644 index 000000000000..62c73d7f52b4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsCreateSamples.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.IpamPoolInner; +import com.azure.resourcemanager.network.models.IpamPoolProperties; +import java.util.Arrays; + +/** + * Samples for IpamPools Create. + */ +public final class IpamPoolsCreateSamples { + /* + * x-ms-original-file: 2025-05-01/IpamPools_Create.json + */ + /** + * Sample code: IpamPools_Create. + * + * @param manager Entry point to NetworkManager. + */ + public static void ipamPoolsCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpamPools() + .create("rg1", "TestNetworkManager", "TestPool", + new IpamPoolInner().withLocation("eastus") + .withProperties(new IpamPoolProperties().withDescription("Test description.") + .withParentPoolName("") + .withAddressPrefixes(Arrays.asList("10.0.0.0/24"))), + null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsDeleteSamples.java new file mode 100644 index 000000000000..12187db12055 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsDeleteSamples.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.network.generated; + +/** + * Samples for IpamPools Delete. + */ +public final class IpamPoolsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/IpamPools_Delete.json + */ + /** + * Sample code: IpamPools_Delete. + * + * @param manager Entry point to NetworkManager. + */ + public static void ipamPoolsDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpamPools() + .delete("rg1", "TestNetworkManager", "TestPool", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsGetPoolUsageSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsGetPoolUsageSamples.java new file mode 100644 index 000000000000..2ef784f8f5e5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsGetPoolUsageSamples.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.network.generated; + +/** + * Samples for IpamPools GetPoolUsage. + */ +public final class IpamPoolsGetPoolUsageSamples { + /* + * x-ms-original-file: 2025-05-01/IpamPools_GetPoolUsage.json + */ + /** + * Sample code: IpamPools_GetPoolUsage. + * + * @param manager Entry point to NetworkManager. + */ + public static void ipamPoolsGetPoolUsage(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpamPools() + .getPoolUsageWithResponse("rg1", "TestNetworkManager", "TestPool", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsGetSamples.java new file mode 100644 index 000000000000..455112060ceb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsGetSamples.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.network.generated; + +/** + * Samples for IpamPools Get. + */ +public final class IpamPoolsGetSamples { + /* + * x-ms-original-file: 2025-05-01/IpamPools_Get.json + */ + /** + * Sample code: IpamPools_Get. + * + * @param manager Entry point to NetworkManager. + */ + public static void ipamPoolsGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpamPools() + .getWithResponse("rg1", "TestNetworkManager", "TestPool", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsListAssociatedResourcesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsListAssociatedResourcesSamples.java new file mode 100644 index 000000000000..d9d9fef8030b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsListAssociatedResourcesSamples.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.network.generated; + +/** + * Samples for IpamPools ListAssociatedResources. + */ +public final class IpamPoolsListAssociatedResourcesSamples { + /* + * x-ms-original-file: 2025-05-01/IpamPools_ListAssociatedResources.json + */ + /** + * Sample code: IpamPools_ListAssociatedResources. + * + * @param manager Entry point to NetworkManager. + */ + public static void ipamPoolsListAssociatedResources(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpamPools() + .listAssociatedResources("rg1", "TestNetworkManager", "TestPool", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsListSamples.java new file mode 100644 index 000000000000..d0c09486a5cc --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsListSamples.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.network.generated; + +/** + * Samples for IpamPools List. + */ +public final class IpamPoolsListSamples { + /* + * x-ms-original-file: 2025-05-01/IpamPools_List.json + */ + /** + * Sample code: IpamPools_List. + * + * @param manager Entry point to NetworkManager. + */ + public static void ipamPoolsList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpamPools() + .list("rg1", "TestNetworkManager", null, null, null, null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsUpdateSamples.java new file mode 100644 index 000000000000..d37b085ca5a4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/IpamPoolsUpdateSamples.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.network.generated; + +/** + * Samples for IpamPools Update. + */ +public final class IpamPoolsUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/IpamPools_Update.json + */ + /** + * Sample code: IpamPools_Update. + * + * @param manager Entry point to NetworkManager. + */ + public static void ipamPoolsUpdate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getIpamPools() + .updateWithResponse("rg1", "TestNetworkManager", "TestPool", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..219849c4ee27 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsCreateOrUpdateSamples.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.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.models.LoadBalancerBackendAddress; +import java.util.Arrays; + +/** + * Samples for LoadBalancerBackendAddressPools CreateOrUpdate. + */ +public final class LoadBalancerBackendAddressPoolsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/LBBackendAddressPoolWithBackendAddressesPut.json + */ + /** + * Sample code: Update load balancer backend pool with backend addresses containing virtual network and IP address. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateLoadBalancerBackendPoolWithBackendAddressesContainingVirtualNetworkAndIPAddress( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerBackendAddressPools() + .createOrUpdate("testrg", "lb", "backend", new BackendAddressPoolInner() + .withLoadBalancerBackendAddresses(Arrays.asList(new LoadBalancerBackendAddress().withName("address1") + .withVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb")) + .withIpAddress("10.0.0.4"), + new LoadBalancerBackendAddress().withName("address2") + .withVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb")) + .withIpAddress("10.0.0.5"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsDeleteSamples.java new file mode 100644 index 000000000000..393a3fe76bb4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsDeleteSamples.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.network.generated; + +/** + * Samples for LoadBalancerBackendAddressPools Delete. + */ +public final class LoadBalancerBackendAddressPoolsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerBackendAddressPoolDelete.json + */ + /** + * Sample code: BackendAddressPoolDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void backendAddressPoolDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerBackendAddressPools() + .delete("testrg", "lb", "backend", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsGetSamples.java new file mode 100644 index 000000000000..1efdba8de58c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsGetSamples.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.network.generated; + +/** + * Samples for LoadBalancerBackendAddressPools Get. + */ +public final class LoadBalancerBackendAddressPoolsGetSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerBackendAddressPoolGet.json + */ + /** + * Sample code: LoadBalancerBackendAddressPoolGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerBackendAddressPoolGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerBackendAddressPools() + .getWithResponse("testrg", "lb", "backend", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LBBackendAddressPoolWithBackendAddressesGet.json + */ + /** + * Sample code: LoadBalancer with BackendAddressPool with BackendAddresses. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerWithBackendAddressPoolWithBackendAddresses( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerBackendAddressPools() + .getWithResponse("testrg", "lb", "backend", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsListSamples.java new file mode 100644 index 000000000000..df72e6e5413d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerBackendAddressPoolsListSamples.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.network.generated; + +/** + * Samples for LoadBalancerBackendAddressPools List. + */ +public final class LoadBalancerBackendAddressPoolsListSamples { + /* + * x-ms-original-file: 2025-05-01/LBBackendAddressPoolListWithBackendAddressesPoolType.json + */ + /** + * Sample code: Load balancer with BackendAddressPool containing BackendAddresses. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerWithBackendAddressPoolContainingBackendAddresses( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerBackendAddressPools() + .list("testrg", "lb", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerBackendAddressPoolList.json + */ + /** + * Sample code: LoadBalancerBackendAddressPoolList. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerBackendAddressPoolList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerBackendAddressPools() + .list("testrg", "lb", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsGetSamples.java new file mode 100644 index 000000000000..5f82def72702 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for LoadBalancerFrontendIPConfigurations Get. + */ +public final class LoadBalancerFrontendIPConfigurationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerFrontendIPConfigurationGet.json + */ + /** + * Sample code: LoadBalancerFrontendIPConfigurationGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void + loadBalancerFrontendIPConfigurationGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerFrontendIPConfigurations() + .getWithResponse("testrg", "lb", "frontend", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsListSamples.java new file mode 100644 index 000000000000..29f14c9fa0ad --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for LoadBalancerFrontendIPConfigurations List. + */ +public final class LoadBalancerFrontendIPConfigurationsListSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerFrontendIPConfigurationList.json + */ + /** + * Sample code: LoadBalancerFrontendIPConfigurationList. + * + * @param manager Entry point to NetworkManager. + */ + public static void + loadBalancerFrontendIPConfigurationList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerFrontendIPConfigurations() + .list("testrg", "lb", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesGetSamples.java new file mode 100644 index 000000000000..c3bed198594c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesGetSamples.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.network.generated; + +/** + * Samples for LoadBalancerLoadBalancingRules Get. + */ +public final class LoadBalancerLoadBalancingRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerLoadBalancingRuleGet.json + */ + /** + * Sample code: LoadBalancerLoadBalancingRuleGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerLoadBalancingRuleGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerLoadBalancingRules() + .getWithResponse("testrg", "lb1", "rule1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesHealthSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesHealthSamples.java new file mode 100644 index 000000000000..1ea30392faeb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesHealthSamples.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.network.generated; + +/** + * Samples for LoadBalancerLoadBalancingRules Health. + */ +public final class LoadBalancerLoadBalancingRulesHealthSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerHealth.json + */ + /** + * Sample code: Query load balancing rule health. + * + * @param manager Entry point to NetworkManager. + */ + public static void queryLoadBalancingRuleHealth(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerLoadBalancingRules() + .health("rg1", "lb1", "rulelb", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesListSamples.java new file mode 100644 index 000000000000..7bf353c31acc --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerLoadBalancingRulesListSamples.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.network.generated; + +/** + * Samples for LoadBalancerLoadBalancingRules List. + */ +public final class LoadBalancerLoadBalancingRulesListSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerLoadBalancingRuleList.json + */ + /** + * Sample code: LoadBalancerLoadBalancingRuleList. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerLoadBalancingRuleList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerLoadBalancingRules() + .list("testrg", "lb1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerNetworkInterfacesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerNetworkInterfacesListSamples.java new file mode 100644 index 000000000000..07dea8b7a5bb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerNetworkInterfacesListSamples.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.network.generated; + +/** + * Samples for LoadBalancerNetworkInterfaces List. + */ +public final class LoadBalancerNetworkInterfacesListSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerNetworkInterfaceListVmss.json + */ + /** + * Sample code: LoadBalancerNetworkInterfaceListVmss. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerNetworkInterfaceListVmss(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerNetworkInterfaces() + .list("testrg", "lb", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerNetworkInterfaceListSimple.json + */ + /** + * Sample code: LoadBalancerNetworkInterfaceListSimple. + * + * @param manager Entry point to NetworkManager. + */ + public static void + loadBalancerNetworkInterfaceListSimple(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerNetworkInterfaces() + .list("testrg", "lb", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerOutboundRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerOutboundRulesGetSamples.java new file mode 100644 index 000000000000..916b1701558d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerOutboundRulesGetSamples.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.network.generated; + +/** + * Samples for LoadBalancerOutboundRules Get. + */ +public final class LoadBalancerOutboundRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerOutboundRuleGet.json + */ + /** + * Sample code: LoadBalancerOutboundRuleGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerOutboundRuleGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerOutboundRules() + .getWithResponse("testrg", "lb1", "rule1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerOutboundRulesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerOutboundRulesListSamples.java new file mode 100644 index 000000000000..0f27a747d1b8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerOutboundRulesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for LoadBalancerOutboundRules List. + */ +public final class LoadBalancerOutboundRulesListSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerOutboundRuleList.json + */ + /** + * Sample code: LoadBalancerOutboundRuleList. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerOutboundRuleList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getLoadBalancerOutboundRules().list("testrg", "lb1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerProbesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerProbesGetSamples.java new file mode 100644 index 000000000000..56f6f67a3456 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerProbesGetSamples.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.network.generated; + +/** + * Samples for LoadBalancerProbes Get. + */ +public final class LoadBalancerProbesGetSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerProbeGet.json + */ + /** + * Sample code: LoadBalancerProbeGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerProbeGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancerProbes() + .getWithResponse("testrg", "lb", "probe1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerProbesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerProbesListSamples.java new file mode 100644 index 000000000000..27c1bfd0cd00 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerProbesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for LoadBalancerProbes List. + */ +public final class LoadBalancerProbesListSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerProbeList.json + */ + /** + * Sample code: LoadBalancerProbeList. + * + * @param manager Entry point to NetworkManager. + */ + public static void loadBalancerProbeList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getLoadBalancerProbes().list("testrg", "lb", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersCreateOrUpdateSamples.java new file mode 100644 index 000000000000..838984036bc2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersCreateOrUpdateSamples.java @@ -0,0 +1,530 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.InboundNatRuleInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerInner; +import com.azure.resourcemanager.network.fluent.models.LoadBalancingRuleInner; +import com.azure.resourcemanager.network.fluent.models.OutboundRuleInner; +import com.azure.resourcemanager.network.fluent.models.ProbeInner; +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.GatewayLoadBalancerTunnelInterface; +import com.azure.resourcemanager.network.models.GatewayLoadBalancerTunnelInterfaceType; +import com.azure.resourcemanager.network.models.GatewayLoadBalancerTunnelProtocol; +import com.azure.resourcemanager.network.models.InboundNatPool; +import com.azure.resourcemanager.network.models.IpAllocationMethod; +import com.azure.resourcemanager.network.models.LoadBalancerBackendAddress; +import com.azure.resourcemanager.network.models.LoadBalancerOutboundRuleProtocol; +import com.azure.resourcemanager.network.models.LoadBalancerScope; +import com.azure.resourcemanager.network.models.LoadBalancerSku; +import com.azure.resourcemanager.network.models.LoadBalancerSkuName; +import com.azure.resourcemanager.network.models.LoadBalancerSkuTier; +import com.azure.resourcemanager.network.models.LoadDistribution; +import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.SyncMode; +import com.azure.resourcemanager.network.models.TransportProtocol; +import java.util.Arrays; + +/** + * Samples for LoadBalancers CreateOrUpdate. + */ +public final class LoadBalancersCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerCreateWithSyncModePropertyOnPool.json + */ + /** + * Sample code: Create load balancer with Sync Mode Property on Pool. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createLoadBalancerWithSyncModePropertyOnPool(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .createOrUpdate("rg1", "lb", new LoadBalancerInner().withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withName("fe-lb") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb") + .withVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb")) + .withSyncMode(SyncMode.AUTOMATIC))) + .withLoadBalancingRules(Arrays.asList(new LoadBalancingRuleInner().withName("rulelb") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes(Arrays.asList(new ProbeInner().withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withProbeThreshold(1) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules(Arrays.asList(new InboundNatRuleInner().withName("in-nat-rule") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json + */ + /** + * Sample code: Create load balancer with Gateway Load Balancer Provider configured with two Backend Pool. + * + * @param manager Entry point to NetworkManager. + */ + public static void createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTwoBackendPool( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .createOrUpdate("rg1", "lb", new LoadBalancerInner().withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.GATEWAY)) + .withFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withName("fe-lb") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb1"), + new BackendAddressPoolInner().withName("be-lb2"))) + .withLoadBalancingRules(Arrays.asList(new LoadBalancingRuleInner().withName("rulelb") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool(new SubResource()) + .withBackendAddressPools(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1"), + new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2"))) + .withProbe(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.ALL) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(0) + .withBackendPort(0) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes(Arrays.asList(new ProbeInner().withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withProbeThreshold(1) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerCreateWithInboundNatPool.json + */ + /** + * Sample code: Create load balancer with inbound nat pool. + * + * @param manager Entry point to NetworkManager. + */ + public static void createLoadBalancerWithInboundNatPool(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .createOrUpdate("rg1", "lb", new LoadBalancerInner().withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test") + .withName("test") + .withZones(Arrays.asList()) + .withPrivateIpAllocationMethod(IpAllocationMethod.DYNAMIC) + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet")))) + .withBackendAddressPools(Arrays.asList()) + .withLoadBalancingRules(Arrays.asList()) + .withProbes(Arrays.asList()) + .withInboundNatRules(Arrays.asList()) + .withInboundNatPools(Arrays.asList(new InboundNatPool().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test") + .withName("test") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPortRangeStart(8080) + .withFrontendPortRangeEnd(8085) + .withBackendPort(8888) + .withIdleTimeoutInMinutes(10) + .withEnableFloatingIp(true) + .withEnableTcpReset(true))) + .withOutboundRules(Arrays.asList()), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerCreateWithOutboundRules.json + */ + /** + * Sample code: Create load balancer with outbound rules. + * + * @param manager Entry point to NetworkManager. + */ + public static void createLoadBalancerWithOutboundRules(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .createOrUpdate("rg1", "lb", new LoadBalancerInner().withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withName("fe-lb") + .withPublicIpAddress(new PublicIpAddressInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb"))) + .withLoadBalancingRules(Arrays.asList(new LoadBalancingRuleInner().withName("rulelb") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true) + .withDisableOutboundSnat(true))) + .withProbes(Arrays.asList(new ProbeInner().withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withProbeThreshold(1) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules(Arrays.asList(new InboundNatRuleInner().withName("in-nat-rule") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList(new OutboundRuleInner().withName("rule1") + .withFrontendIpConfigurations(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"))) + .withBackendAddressPool(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProtocol(LoadBalancerOutboundRuleProtocol.ALL))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerCreateWithZones.json + */ + /** + * Sample code: Create load balancer with Frontend IP in Zone 1. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createLoadBalancerWithFrontendIPInZone1(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .createOrUpdate("rg1", "lb", new LoadBalancerInner().withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withName("fe-lb") + .withZones(Arrays.asList("1")) + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb"))) + .withLoadBalancingRules(Arrays.asList(new LoadBalancingRuleInner().withName("rulelb") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes(Arrays.asList(new ProbeInner().withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withProbeThreshold(1) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules(Arrays.asList(new InboundNatRuleInner().withName("in-nat-rule") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json + */ + /** + * Sample code: Create load balancer with Gateway Load Balancer Provider configured with one Backend Pool. + * + * @param manager Entry point to NetworkManager. + */ + public static void createLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOneBackendPool( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .createOrUpdate("rg1", "lb", new LoadBalancerInner().withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.GATEWAY)) + .withFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withName("fe-lb") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb") + .withTunnelInterfaces(Arrays.asList( + new GatewayLoadBalancerTunnelInterface().withPort(15000) + .withIdentifier(900) + .withProtocol(GatewayLoadBalancerTunnelProtocol.VXLAN) + .withType(GatewayLoadBalancerTunnelInterfaceType.INTERNAL), + new GatewayLoadBalancerTunnelInterface().withPort(15001) + .withIdentifier(901) + .withProtocol(GatewayLoadBalancerTunnelProtocol.VXLAN) + .withType(GatewayLoadBalancerTunnelInterfaceType.INTERNAL))))) + .withLoadBalancingRules(Arrays.asList(new LoadBalancingRuleInner().withName("rulelb") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPools(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"))) + .withProbe(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.ALL) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(0) + .withBackendPort(0) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes(Arrays.asList(new ProbeInner().withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withProbeThreshold(1) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerCreate.json + */ + /** + * Sample code: Create load balancer. + * + * @param manager Entry point to NetworkManager. + */ + public static void createLoadBalancer(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .createOrUpdate("rg1", "lb", new LoadBalancerInner().withLocation("eastus") + .withFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withName("fe-lb") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb"))) + .withLoadBalancingRules(Arrays.asList(new LoadBalancingRuleInner().withName("rulelb") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true) + .withEnableTcpReset(false))) + .withProbes(Arrays.asList(new ProbeInner().withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withProbeThreshold(1) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules(Arrays.asList(new InboundNatRuleInner().withName("in-nat-rule") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true) + .withEnableTcpReset(false))) + .withInboundNatPools(Arrays.asList()) + .withScope(LoadBalancerScope.PUBLIC), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerCreateGlobalTier.json + */ + /** + * Sample code: Create load balancer with Global Tier and one regional load balancer in its backend pool. + * + * @param manager Entry point to NetworkManager. + */ + public static void createLoadBalancerWithGlobalTierAndOneRegionalLoadBalancerInItsBackendPool( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .createOrUpdate("rg1", "lb", new LoadBalancerInner().withLocation("eastus") + .withSku( + new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD).withTier(LoadBalancerSkuTier.GLOBAL)) + .withFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withName("fe-lb") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb") + .withLoadBalancerBackendAddresses(Arrays.asList(new LoadBalancerBackendAddress() + .withName("regional-lb1-address") + .withLoadBalancerFrontendIPConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb")))))) + .withLoadBalancingRules(Arrays.asList(new LoadBalancingRuleInner().withName("rulelb") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(false))) + .withProbes(Arrays.asList(new ProbeInner().withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withProbeThreshold(1) + .withRequestPath("healthcheck.aspx"))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerCreateGatewayLoadBalancerConsumer.json + */ + /** + * Sample code: Create load balancer with Gateway Load Balancer Consumer configured. + * + * @param manager Entry point to NetworkManager. + */ + public static void createLoadBalancerWithGatewayLoadBalancerConsumerConfigured( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .createOrUpdate("rg1", "lb", new LoadBalancerInner().withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withName("fe-lb") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")) + .withGatewayLoadBalancer(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb"))) + .withLoadBalancingRules(Arrays.asList(new LoadBalancingRuleInner().withName("rulelb") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes(Arrays.asList(new ProbeInner().withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withProbeThreshold(1) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules(Arrays.asList(new InboundNatRuleInner().withName("in-nat-rule") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerCreateStandardSku.json + */ + /** + * Sample code: Create load balancer with Standard SKU. + * + * @param manager Entry point to NetworkManager. + */ + public static void createLoadBalancerWithStandardSKU(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .createOrUpdate("rg1", "lb", new LoadBalancerInner().withLocation("eastus") + .withSku(new LoadBalancerSku().withName(LoadBalancerSkuName.STANDARD)) + .withFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withName("fe-lb") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")))) + .withBackendAddressPools(Arrays.asList(new BackendAddressPoolInner().withName("be-lb"))) + .withLoadBalancingRules(Arrays.asList(new LoadBalancingRuleInner().withName("rulelb") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withBackendAddressPool(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb")) + .withProbe(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb")) + .withProtocol(TransportProtocol.TCP) + .withLoadDistribution(LoadDistribution.DEFAULT) + .withFrontendPort(80) + .withBackendPort(80) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withProbes(Arrays.asList(new ProbeInner().withName("probe-lb") + .withProtocol(ProbeProtocol.HTTP) + .withPort(80) + .withIntervalInSeconds(15) + .withNumberOfProbes(2) + .withProbeThreshold(1) + .withRequestPath("healthcheck.aspx"))) + .withInboundNatRules(Arrays.asList(new InboundNatRuleInner().withName("in-nat-rule") + .withFrontendIpConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb")) + .withProtocol(TransportProtocol.TCP) + .withFrontendPort(3389) + .withBackendPort(3389) + .withIdleTimeoutInMinutes(15) + .withEnableFloatingIp(true))) + .withInboundNatPools(Arrays.asList()) + .withOutboundRules(Arrays.asList()), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersDeleteSamples.java new file mode 100644 index 000000000000..dd0d91f38533 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for LoadBalancers Delete. + */ +public final class LoadBalancersDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerDelete.json + */ + /** + * Sample code: Delete load balancer. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteLoadBalancer(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getLoadBalancers().delete("rg1", "lb", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersGetByResourceGroupSamples.java new file mode 100644 index 000000000000..4b364134a6bf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for LoadBalancers GetByResourceGroup. + */ +public final class LoadBalancersGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerGet.json + */ + /** + * Sample code: Get load balancer. + * + * @param manager Entry point to NetworkManager. + */ + public static void getLoadBalancer(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .getByResourceGroupWithResponse("rg1", "lb", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/LoadBalancerGetInboundNatRulePortMapping.json + */ + /** + * Sample code: Get load balancer with inbound NAT rule port mapping. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getLoadBalancerWithInboundNATRulePortMapping(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .getByResourceGroupWithResponse("rg1", "lb", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListByResourceGroupSamples.java new file mode 100644 index 000000000000..f3a43f7f7b80 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for LoadBalancers ListByResourceGroup. + */ +public final class LoadBalancersListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerList.json + */ + /** + * Sample code: List load balancers in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listLoadBalancersInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getLoadBalancers().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListInboundNatRulePortMappingsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListInboundNatRulePortMappingsSamples.java new file mode 100644 index 000000000000..b7627be17022 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListInboundNatRulePortMappingsSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.QueryInboundNatRulePortMappingRequest; + +/** + * Samples for LoadBalancers ListInboundNatRulePortMappings. + */ +public final class LoadBalancersListInboundNatRulePortMappingsSamples { + /* + * x-ms-original-file: 2025-05-01/QueryInboundNatRulePortMapping.json + */ + /** + * Sample code: Query inbound NAT rule port mapping. + * + * @param manager Entry point to NetworkManager. + */ + public static void queryInboundNATRulePortMapping(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .listInboundNatRulePortMappings("rg1", "lb1", "bp1", + new QueryInboundNatRulePortMappingRequest().withIpAddress("10.0.0.4"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListSamples.java new file mode 100644 index 000000000000..7e89d1954354 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for LoadBalancers List. + */ +public final class LoadBalancersListSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerListAll.json + */ + /** + * Sample code: List all load balancers. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllLoadBalancers(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getLoadBalancers().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersMigrateToIpBasedSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersMigrateToIpBasedSamples.java new file mode 100644 index 000000000000..b5fbb446cbb0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersMigrateToIpBasedSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.MigrateLoadBalancerToIpBasedRequest; +import java.util.Arrays; + +/** + * Samples for LoadBalancers MigrateToIpBased. + */ +public final class LoadBalancersMigrateToIpBasedSamples { + /* + * x-ms-original-file: 2025-05-01/MigrateLoadBalancerToIPBased.json + */ + /** + * Sample code: Migrate load balancer to IP Based. + * + * @param manager Entry point to NetworkManager. + */ + public static void migrateLoadBalancerToIPBased(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .migrateToIpBasedWithResponse("rg1", "lb1", + new MigrateLoadBalancerToIpBasedRequest().withPools(Arrays.asList("pool1", "pool2")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersSwapPublicIpAddressesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersSwapPublicIpAddressesSamples.java new file mode 100644 index 000000000000..f0244dc6f5ba --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersSwapPublicIpAddressesSamples.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.models.LoadBalancerVipSwapRequest; +import com.azure.resourcemanager.network.models.LoadBalancerVipSwapRequestFrontendIPConfiguration; +import java.util.Arrays; + +/** + * Samples for LoadBalancers SwapPublicIpAddresses. + */ +public final class LoadBalancersSwapPublicIpAddressesSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancersSwapPublicIpAddresses.json + */ + /** + * Sample code: Swap VIPs between two load balancers. + * + * @param manager Entry point to NetworkManager. + */ + public static void swapVIPsBetweenTwoLoadBalancers(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .swapPublicIpAddresses("westus", new LoadBalancerVipSwapRequest().withFrontendIpConfigurations( + Arrays.asList(new LoadBalancerVipSwapRequestFrontendIPConfiguration().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfe1") + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/pip2")), + new LoadBalancerVipSwapRequestFrontendIPConfiguration().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb2/frontendIPConfigurations/lbfe2") + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip1")))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersUpdateTagsSamples.java new file mode 100644 index 000000000000..4d77a5c19564 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancersUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for LoadBalancers UpdateTags. + */ +public final class LoadBalancersUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/LoadBalancerUpdateTags.json + */ + /** + * Sample code: Update load balancer tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateLoadBalancerTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLoadBalancers() + .updateTagsWithResponse("rg1", "lb", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysCreateOrUpdateSamples.java new file mode 100644 index 000000000000..9fe2e6054fac --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysCreateOrUpdateSamples.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.LocalNetworkGatewayInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import java.util.Arrays; + +/** + * Samples for LocalNetworkGateways CreateOrUpdate. + */ +public final class LocalNetworkGatewaysCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/LocalNetworkGatewayCreate.json + */ + /** + * Sample code: CreateLocalNetworkGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void createLocalNetworkGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLocalNetworkGateways() + .createOrUpdate("rg1", "localgw", + new LocalNetworkGatewayInner().withLocation("Central US") + .withLocalNetworkAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.1.0.0/16"))) + .withGatewayIpAddress("11.12.13.14") + .withFqdn("site1.contoso.com"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysDeleteSamples.java new file mode 100644 index 000000000000..348a2994a250 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for LocalNetworkGateways Delete. + */ +public final class LocalNetworkGatewaysDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/LocalNetworkGatewayDelete.json + */ + /** + * Sample code: DeleteLocalNetworkGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteLocalNetworkGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getLocalNetworkGateways().delete("rg1", "localgw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysGetByResourceGroupSamples.java new file mode 100644 index 000000000000..96aa02d6430f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for LocalNetworkGateways GetByResourceGroup. + */ +public final class LocalNetworkGatewaysGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/LocalNetworkGatewayGet.json + */ + /** + * Sample code: GetLocalNetworkGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void getLocalNetworkGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLocalNetworkGateways() + .getByResourceGroupWithResponse("rg1", "localgw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysListByResourceGroupSamples.java new file mode 100644 index 000000000000..8accc9df8101 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for LocalNetworkGateways ListByResourceGroup. + */ +public final class LocalNetworkGatewaysListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/LocalNetworkGatewayList.json + */ + /** + * Sample code: ListLocalNetworkGateways. + * + * @param manager Entry point to NetworkManager. + */ + public static void listLocalNetworkGateways(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getLocalNetworkGateways().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysUpdateTagsSamples.java new file mode 100644 index 000000000000..5c9cbe2a0d98 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LocalNetworkGatewaysUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for LocalNetworkGateways UpdateTags. + */ +public final class LocalNetworkGatewaysUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/LocalNetworkGatewayUpdateTags.json + */ + /** + * Sample code: UpdateLocalNetworkGatewayTags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateLocalNetworkGatewayTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getLocalNetworkGateways() + .updateTagsWithResponse("rg1", "lgw", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..0b61eeb07df2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkManagerConnectionInner; + +/** + * Samples for ManagementGroupNetworkManagerConnections CreateOrUpdate. + */ +public final class ManagementGroupNetworkManagerConnectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectionManagementGroupPut.json + */ + /** + * Sample code: Create or Update Management Group Network Manager Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void createOrUpdateManagementGroupNetworkManagerConnection( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getManagementGroupNetworkManagerConnections() + .createOrUpdateWithResponse("managementGroupA", "TestNMConnection", + new NetworkManagerConnectionInner().withNetworkManagerId( + "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsDeleteSamples.java new file mode 100644 index 000000000000..57d7a0f9a51e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ManagementGroupNetworkManagerConnections Delete. + */ +public final class ManagementGroupNetworkManagerConnectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectionManagementGroupDelete.json + */ + /** + * Sample code: Delete Management Group Network Manager Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteManagementGroupNetworkManagerConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getManagementGroupNetworkManagerConnections() + .deleteWithResponse("managementGroupA", "TestNMConnection", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsGetSamples.java new file mode 100644 index 000000000000..9d5f82ff863c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ManagementGroupNetworkManagerConnections Get. + */ +public final class ManagementGroupNetworkManagerConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectionManagementGroupGet.json + */ + /** + * Sample code: Get Management Group Network Manager Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getManagementGroupNetworkManagerConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getManagementGroupNetworkManagerConnections() + .getWithResponse("managementGroupA", "TestNMConnection", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsListSamples.java new file mode 100644 index 000000000000..0eeb1d7c054b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ManagementGroupNetworkManagerConnectionsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ManagementGroupNetworkManagerConnections List. + */ +public final class ManagementGroupNetworkManagerConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectionManagementGroupList.json + */ + /** + * Sample code: List Management Group Network Manager Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listManagementGroupNetworkManagerConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getManagementGroupNetworkManagerConnections() + .list("managementGroupA", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysCreateOrUpdateSamples.java new file mode 100644 index 000000000000..ad056a1928ba --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysCreateOrUpdateSamples.java @@ -0,0 +1,78 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.NatGatewayInner; +import com.azure.resourcemanager.network.models.NatGatewaySku; +import com.azure.resourcemanager.network.models.NatGatewaySkuName; +import java.util.Arrays; + +/** + * Samples for NatGateways CreateOrUpdate. + */ +public final class NatGatewaysCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NatGatewayCreateOrUpdate.json + */ + /** + * Sample code: Create nat gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNatGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNatGateways() + .createOrUpdate("rg1", "test-natgateway", new NatGatewayInner().withLocation("westus") + .withSku(new NatGatewaySku().withName(NatGatewaySkuName.STANDARD)) + .withPublicIpAddresses(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"))) + .withPublicIpPrefixes(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NatGatewayWithServiceGatewayCreateOrUpdate.json + */ + /** + * Sample code: Create nat gateway with service gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNatGatewayWithServiceGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNatGateways() + .createOrUpdate("rg1", "test-natgateway", new NatGatewayInner().withLocation("westus") + .withSku(new NatGatewaySku().withName(NatGatewaySkuName.STANDARD)) + .withPublicIpAddresses(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"))) + .withPublicIpPrefixes(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"))) + .withServiceGateway(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1")), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NatGatewayCreateOrUpdateStandardV2Sku.json + */ + /** + * Sample code: Create nat gateway with StandardV2 Sku. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNatGatewayWithStandardV2Sku(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNatGateways() + .createOrUpdate("rg1", "test-natgateway", new NatGatewayInner().withLocation("westus") + .withSku(new NatGatewaySku().withName(NatGatewaySkuName.STANDARD_V2)) + .withPublicIpAddresses(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"))) + .withPublicIpPrefixes(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysDeleteSamples.java new file mode 100644 index 000000000000..300cbd05e820 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NatGateways Delete. + */ +public final class NatGatewaysDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NatGatewayDelete.json + */ + /** + * Sample code: Delete nat gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteNatGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNatGateways().delete("rg1", "test-natGateway", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysGetByResourceGroupSamples.java new file mode 100644 index 000000000000..9723d479dd37 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for NatGateways GetByResourceGroup. + */ +public final class NatGatewaysGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NatGatewayGet.json + */ + /** + * Sample code: Get nat gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNatGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNatGateways() + .getByResourceGroupWithResponse("rg1", "test-natGateway", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NatGatewayGetStandardV2Sku.json + */ + /** + * Sample code: Get nat gateway with StandardV2 Sku. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNatGatewayWithStandardV2Sku(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNatGateways() + .getByResourceGroupWithResponse("rg1", "test-natGateway", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NatGatewayWithServiceGatewayGet.json + */ + /** + * Sample code: Get nat gateway with service gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNatGatewayWithServiceGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNatGateways() + .getByResourceGroupWithResponse("rg1", "test-natGateway", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysListByResourceGroupSamples.java new file mode 100644 index 000000000000..33558db1f8c0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NatGateways ListByResourceGroup. + */ +public final class NatGatewaysListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NatGatewayList.json + */ + /** + * Sample code: List nat gateways in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listNatGatewaysInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNatGateways().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysListSamples.java new file mode 100644 index 000000000000..373c0502294b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NatGateways List. + */ +public final class NatGatewaysListSamples { + /* + * x-ms-original-file: 2025-05-01/NatGatewayListAll.json + */ + /** + * Sample code: List all nat gateways. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllNatGateways(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNatGateways().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysUpdateTagsSamples.java new file mode 100644 index 000000000000..e2a80833aed1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatGatewaysUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for NatGateways UpdateTags. + */ +public final class NatGatewaysUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/NatGatewayUpdateTags.json + */ + /** + * Sample code: Update nat gateway tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateNatGatewayTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNatGateways() + .updateTagsWithResponse("rg1", "test-natGateway", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NatGatewayUpdateTagsStandardV2Sku.json + */ + /** + * Sample code: Update nat gateway with StandardV2 Sku tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateNatGatewayWithStandardV2SkuTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNatGateways() + .updateTagsWithResponse("rg1", "test-natGateway", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..40baf5122dc2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.VpnGatewayNatRuleInner; +import com.azure.resourcemanager.network.models.VpnNatRuleMapping; +import com.azure.resourcemanager.network.models.VpnNatRuleMode; +import com.azure.resourcemanager.network.models.VpnNatRuleType; +import java.util.Arrays; + +/** + * Samples for NatRules CreateOrUpdate. + */ +public final class NatRulesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NatRulePut.json + */ + /** + * Sample code: NatRulePut. + * + * @param manager Entry point to NetworkManager. + */ + public static void natRulePut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNatRules() + .createOrUpdate("rg1", "gateway1", "natRule1", new VpnGatewayNatRuleInner() + .withTypePropertiesType(VpnNatRuleType.STATIC) + .withMode(VpnNatRuleMode.EGRESS_SNAT) + .withInternalMappings(Arrays.asList(new VpnNatRuleMapping().withAddressSpace("10.4.0.0/24"))) + .withExternalMappings(Arrays.asList(new VpnNatRuleMapping().withAddressSpace("192.168.21.0/24"))) + .withIpConfigurationId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesDeleteSamples.java new file mode 100644 index 000000000000..c39bef835b67 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NatRules Delete. + */ +public final class NatRulesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NatRuleDelete.json + */ + /** + * Sample code: NatRuleDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void natRuleDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNatRules().delete("rg1", "gateway1", "natRule1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesGetSamples.java new file mode 100644 index 000000000000..52bb2cb52391 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesGetSamples.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.network.generated; + +/** + * Samples for NatRules Get. + */ +public final class NatRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NatRuleGet.json + */ + /** + * Sample code: NatRuleGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void natRuleGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNatRules() + .getWithResponse("rg1", "gateway1", "natRule1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesListByVpnGatewaySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesListByVpnGatewaySamples.java new file mode 100644 index 000000000000..9ec093054596 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NatRulesListByVpnGatewaySamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NatRules ListByVpnGateway. + */ +public final class NatRulesListByVpnGatewaySamples { + /* + * x-ms-original-file: 2025-05-01/NatRuleList.json + */ + /** + * Sample code: NatRuleList. + * + * @param manager Entry point to NetworkManager. + */ + public static void natRuleList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNatRules().listByVpnGateway("rg1", "gateway1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..053c9cd16692 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkGroupInner; +import com.azure.resourcemanager.network.models.GroupMemberType; + +/** + * Samples for NetworkGroups CreateOrUpdate. + */ +public final class NetworkGroupsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerGroupPut.json + */ + /** + * Sample code: NetworkGroupsPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkGroupsPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkGroups() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "testNetworkGroup", + new NetworkGroupInner().withDescription("A sample group") + .withMemberType(GroupMemberType.VIRTUAL_NETWORK), + null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsDeleteSamples.java new file mode 100644 index 000000000000..ded46d4b6671 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsDeleteSamples.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.network.generated; + +/** + * Samples for NetworkGroups Delete. + */ +public final class NetworkGroupsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerGroupDelete.json + */ + /** + * Sample code: NetworkGroupsDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkGroupsDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkGroups() + .delete("rg1", "testNetworkManager", "testNetworkGroup", false, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsGetSamples.java new file mode 100644 index 000000000000..9bb68f21dd0b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsGetSamples.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.network.generated; + +/** + * Samples for NetworkGroups Get. + */ +public final class NetworkGroupsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerGroupGet.json + */ + /** + * Sample code: NetworkGroupsGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkGroupsGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkGroups() + .getWithResponse("rg1", "testNetworkManager", "testNetworkGroup", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsListSamples.java new file mode 100644 index 000000000000..fa8dd74260ea --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkGroupsListSamples.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.network.generated; + +/** + * Samples for NetworkGroups List. + */ +public final class NetworkGroupsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerGroupList.json + */ + /** + * Sample code: NetworkGroupsList. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkGroupsList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkGroups() + .list("rg1", "testNetworkManager", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsGetSamples.java new file mode 100644 index 000000000000..ec02b81597ca --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsGetSamples.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.network.generated; + +/** + * Samples for NetworkInterfaceIPConfigurations Get. + */ +public final class NetworkInterfaceIPConfigurationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceIPConfigurationGet.json + */ + /** + * Sample code: NetworkInterfaceIPConfigurationGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkInterfaceIPConfigurationGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaceIPConfigurations() + .getWithResponse("testrg", "mynic", "ipconfig1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsListSamples.java new file mode 100644 index 000000000000..d9d3e117d4c8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsListSamples.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.network.generated; + +/** + * Samples for NetworkInterfaceIPConfigurations List. + */ +public final class NetworkInterfaceIPConfigurationsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceIPConfigurationList.json + */ + /** + * Sample code: NetworkInterfaceIPConfigurationList. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkInterfaceIPConfigurationList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaceIPConfigurations() + .list("testrg", "nic1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceLoadBalancersListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceLoadBalancersListSamples.java new file mode 100644 index 000000000000..75217333b0ce --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceLoadBalancersListSamples.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.network.generated; + +/** + * Samples for NetworkInterfaceLoadBalancers List. + */ +public final class NetworkInterfaceLoadBalancersListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceLoadBalancerList.json + */ + /** + * Sample code: NetworkInterfaceLoadBalancerList. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkInterfaceLoadBalancerList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaceLoadBalancers() + .list("testrg", "nic1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..fecb2abf8aa5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceTapConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkTapInner; + +/** + * Samples for NetworkInterfaceTapConfigurations CreateOrUpdate. + */ +public final class NetworkInterfaceTapConfigurationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceTapConfigurationCreate.json + */ + /** + * Sample code: Create Network Interface Tap Configurations. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createNetworkInterfaceTapConfigurations(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaceTapConfigurations() + .createOrUpdate("testrg", "mynic", "tapconfiguration1", + new NetworkInterfaceTapConfigurationInner().withVirtualNetworkTap(new VirtualNetworkTapInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsDeleteSamples.java new file mode 100644 index 000000000000..7318427c6162 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsDeleteSamples.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.network.generated; + +/** + * Samples for NetworkInterfaceTapConfigurations Delete. + */ +public final class NetworkInterfaceTapConfigurationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceTapConfigurationDelete.json + */ + /** + * Sample code: Delete tap configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteTapConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaceTapConfigurations() + .delete("testrg", "mynic", "tapconfiguration1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsGetSamples.java new file mode 100644 index 000000000000..c446ff68ccda --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsGetSamples.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.network.generated; + +/** + * Samples for NetworkInterfaceTapConfigurations Get. + */ +public final class NetworkInterfaceTapConfigurationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceTapConfigurationGet.json + */ + /** + * Sample code: Get Network Interface Tap Configurations. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNetworkInterfaceTapConfigurations(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaceTapConfigurations() + .getWithResponse("testrg", "mynic", "tapconfiguration1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsListSamples.java new file mode 100644 index 000000000000..7ac15d51704b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceTapConfigurationsListSamples.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.network.generated; + +/** + * Samples for NetworkInterfaceTapConfigurations List. + */ +public final class NetworkInterfaceTapConfigurationsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceTapConfigurationList.json + */ + /** + * Sample code: List virtual network tap configurations. + * + * @param manager Entry point to NetworkManager. + */ + public static void listVirtualNetworkTapConfigurations(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaceTapConfigurations() + .list("testrg", "mynic", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..5d24ec1cc653 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesCreateOrUpdateSamples.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.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceInner; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import java.util.Arrays; + +/** + * Samples for NetworkInterfaces CreateOrUpdate. + */ +public final class NetworkInterfacesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json + */ + /** + * Sample code: Create network interface with Gateway Load Balancer Consumer configured. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNetworkInterfaceWithGatewayLoadBalancerConsumerConfigured( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaces() + .createOrUpdate("rg1", "test-nic", new NetworkInterfaceInner().withLocation("eastus") + .withIpConfigurations(Arrays.asList(new NetworkInterfaceIpConfigurationInner().withName("ipconfig1") + .withGatewayLoadBalancer(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider")) + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default")) + .withPublicIpAddress(new PublicIpAddressInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip")))) + .withEnableAcceleratedNetworking(true), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceCreate.json + */ + /** + * Sample code: Create network interface. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNetworkInterface(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaces() + .createOrUpdate("rg1", "test-nic", new NetworkInterfaceInner().withLocation("eastus") + .withIpConfigurations(Arrays.asList(new NetworkInterfaceIpConfigurationInner().withName("ipconfig1") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default")) + .withPublicIpAddress(new PublicIpAddressInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip")), + new NetworkInterfaceIpConfigurationInner().withName("ipconfig2") + .withPrivateIPAddressPrefixLength(28))) + .withEnableAcceleratedNetworking(true) + .withDisableTcpStateTracking(true), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesDeleteSamples.java new file mode 100644 index 000000000000..980a07f14b35 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkInterfaces Delete. + */ +public final class NetworkInterfacesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceDelete.json + */ + /** + * Sample code: Delete network interface. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteNetworkInterface(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkInterfaces().delete("rg1", "test-nic", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..5c8106cbd9b9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for NetworkInterfaces GetByResourceGroup. + */ +public final class NetworkInterfacesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceGet.json + */ + /** + * Sample code: Get network interface. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNetworkInterface(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaces() + .getByResourceGroupWithResponse("rg1", "test-nic", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetCloudServiceNetworkInterfaceSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetCloudServiceNetworkInterfaceSamples.java new file mode 100644 index 000000000000..abe0e47a5689 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetCloudServiceNetworkInterfaceSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkInterfaces GetCloudServiceNetworkInterface. + */ +public final class NetworkInterfacesGetCloudServiceNetworkInterfaceSamples { + /* + * x-ms-original-file: 2025-05-01/CloudServiceNetworkInterfaceGet.json + */ + /** + * Sample code: Get cloud service network interface. + * + * @param manager Entry point to NetworkManager. + */ + public static void getCloudServiceNetworkInterface(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaces() + .getCloudServiceNetworkInterfaceWithResponse("rg1", "cs1", "TestVMRole_IN_0", "nic1", null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetEffectiveRouteTableSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetEffectiveRouteTableSamples.java new file mode 100644 index 000000000000..59bb06bd04f0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesGetEffectiveRouteTableSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkInterfaces GetEffectiveRouteTable. + */ +public final class NetworkInterfacesGetEffectiveRouteTableSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceEffectiveRouteTableList.json + */ + /** + * Sample code: Show network interface effective route tables. + * + * @param manager Entry point to NetworkManager. + */ + public static void + showNetworkInterfaceEffectiveRouteTables(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaces() + .getEffectiveRouteTable("rg1", "nic1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListByResourceGroupSamples.java new file mode 100644 index 000000000000..d3f64a135d2f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkInterfaces ListByResourceGroup. + */ +public final class NetworkInterfacesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceList.json + */ + /** + * Sample code: List network interfaces in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listNetworkInterfacesInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkInterfaces().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListCloudServiceNetworkInterfacesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListCloudServiceNetworkInterfacesSamples.java new file mode 100644 index 000000000000..66e4ca358179 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListCloudServiceNetworkInterfacesSamples.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.network.generated; + +/** + * Samples for NetworkInterfaces ListCloudServiceNetworkInterfaces. + */ +public final class NetworkInterfacesListCloudServiceNetworkInterfacesSamples { + /* + * x-ms-original-file: 2025-05-01/CloudServiceNetworkInterfaceList.json + */ + /** + * Sample code: List cloud service network interfaces. + * + * @param manager Entry point to NetworkManager. + */ + public static void listCloudServiceNetworkInterfaces(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaces() + .listCloudServiceNetworkInterfaces("rg1", "cs1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSamples.java new file mode 100644 index 000000000000..68348c7108f2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSamples.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.network.generated; + +/** + * Samples for NetworkInterfaces ListCloudServiceRoleInstanceNetworkInterfaces. + */ +public final class NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesSamples { + /* + * x-ms-original-file: 2025-05-01/CloudServiceRoleInstanceNetworkInterfaceList.json + */ + /** + * Sample code: List cloud service role instance network interfaces. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listCloudServiceRoleInstanceNetworkInterfaces(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaces() + .listCloudServiceRoleInstanceNetworkInterfaces("rg1", "cs1", "TestVMRole_IN_0", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListEffectiveNetworkSecurityGroupsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListEffectiveNetworkSecurityGroupsSamples.java new file mode 100644 index 000000000000..d5579351c756 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListEffectiveNetworkSecurityGroupsSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkInterfaces ListEffectiveNetworkSecurityGroups. + */ +public final class NetworkInterfacesListEffectiveNetworkSecurityGroupsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceEffectiveNSGList.json + */ + /** + * Sample code: List network interface effective network security groups. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listNetworkInterfaceEffectiveNetworkSecurityGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaces() + .listEffectiveNetworkSecurityGroups("rg1", "nic1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListSamples.java new file mode 100644 index 000000000000..2b925a283e05 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkInterfaces List. + */ +public final class NetworkInterfacesListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceListAll.json + */ + /** + * Sample code: List all network interfaces. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllNetworkInterfaces(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkInterfaces().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesUpdateTagsSamples.java new file mode 100644 index 000000000000..3d513a9fc465 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfacesUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for NetworkInterfaces UpdateTags. + */ +public final class NetworkInterfacesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkInterfaceUpdateTags.json + */ + /** + * Sample code: Update network interface tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateNetworkInterfaceTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkInterfaces() + .updateTagsWithResponse("rg1", "test-nic", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerCommitsPostSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerCommitsPostSamples.java new file mode 100644 index 000000000000..c77041aee9f8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerCommitsPostSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkManagerCommitInner; +import com.azure.resourcemanager.network.models.ConfigurationType; +import java.util.Arrays; + +/** + * Samples for NetworkManagerCommits Post. + */ +public final class NetworkManagerCommitsPostSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerCommitPost.json + */ + /** + * Sample code: NetworkManageCommitPost. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkManageCommitPost(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagerCommits() + .post("resoureGroupSample", "testNetworkManager", new NetworkManagerCommitInner() + .withTargetLocations(Arrays.asList("useast")) + .withConfigurationIds(Arrays.asList( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig")) + .withCommitType(ConfigurationType.SECURITY_ADMIN), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerDeploymentStatusOperationListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerDeploymentStatusOperationListSamples.java new file mode 100644 index 000000000000..cba0cf12a1f6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerDeploymentStatusOperationListSamples.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.ConfigurationType; +import com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatusParameter; +import java.util.Arrays; + +/** + * Samples for NetworkManagerDeploymentStatusOperation List. + */ +public final class NetworkManagerDeploymentStatusOperationListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerDeploymentStatusList.json + */ + /** + * Sample code: NetworkManagerDeploymentStatusList. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkManagerDeploymentStatusList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagerDeploymentStatusOperations() + .list("resoureGroupSample", "testNetworkManager", + new NetworkManagerDeploymentStatusParameter().withRegions(Arrays.asList("eastus", "westus")) + .withDeploymentTypes( + Arrays.asList(ConfigurationType.CONNECTIVITY, ConfigurationType.fromString("AdminPolicy"))) + .withSkipToken("fakeTokenPlaceholder"), + null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..7049522e7a15 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkManagerRoutingConfigurationInner; +import com.azure.resourcemanager.network.models.RouteTableUsageMode; + +/** + * Samples for NetworkManagerRoutingConfigurations CreateOrUpdate. + */ +public final class NetworkManagerRoutingConfigurationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingConfigurationPut.json + */ + /** + * Sample code: Create network manager routing configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createNetworkManagerRoutingConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagerRoutingConfigurations() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestRoutingConfig", + new NetworkManagerRoutingConfigurationInner().withDescription("A sample policy") + .withRouteTableUsageMode(RouteTableUsageMode.MANAGED_ONLY), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsDeleteSamples.java new file mode 100644 index 000000000000..8c1feafd2893 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkManagerRoutingConfigurations Delete. + */ +public final class NetworkManagerRoutingConfigurationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingConfigurationDelete.json + */ + /** + * Sample code: Delete network manager routing configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteNetworkManagerRoutingConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagerRoutingConfigurations() + .delete("rg1", "testNetworkManager", "myTestRoutingConfig", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsGetSamples.java new file mode 100644 index 000000000000..db1e7222ebaf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsGetSamples.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.network.generated; + +/** + * Samples for NetworkManagerRoutingConfigurations Get. + */ +public final class NetworkManagerRoutingConfigurationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingConfigurationGet.json + */ + /** + * Sample code: Get routing configurations. + * + * @param manager Entry point to NetworkManager. + */ + public static void getRoutingConfigurations(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagerRoutingConfigurations() + .getWithResponse("rg1", "testNetworkManager", "myTestRoutingConfig", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsListSamples.java new file mode 100644 index 000000000000..cff6d39dd4b8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerRoutingConfigurationsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkManagerRoutingConfigurations List. + */ +public final class NetworkManagerRoutingConfigurationsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingConfigurationList.json + */ + /** + * Sample code: List routing configurations in a network manager. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listRoutingConfigurationsInANetworkManager(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagerRoutingConfigurations() + .list("rg1", "testNetworkManager", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateSamples.java new file mode 100644 index 000000000000..dcbaa1b2daf0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateSamples.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkManagerInner; +import com.azure.resourcemanager.network.models.ConfigurationType; +import com.azure.resourcemanager.network.models.NetworkManagerPropertiesNetworkManagerScopes; +import java.util.Arrays; + +/** + * Samples for NetworkManagers CreateOrUpdate. + */ +public final class NetworkManagersCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerPut.json + */ + /** + * Sample code: Put Network Manager. + * + * @param manager Entry point to NetworkManager. + */ + public static void putNetworkManager(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagers() + .createOrUpdateWithResponse("rg1", "TestNetworkManager", + new NetworkManagerInner().withDescription("My Test Network Manager") + .withNetworkManagerScopes(new NetworkManagerPropertiesNetworkManagerScopes() + .withManagementGroups(Arrays.asList("/Microsoft.Management/testmg")) + .withSubscriptions(Arrays.asList("/subscriptions/00000000-0000-0000-0000-000000000000"))) + .withNetworkManagerScopeAccesses(Arrays.asList(ConfigurationType.CONNECTIVITY)), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersDeleteSamples.java new file mode 100644 index 000000000000..02a1af98c041 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersDeleteSamples.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.network.generated; + +/** + * Samples for NetworkManagers Delete. + */ +public final class NetworkManagersDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerDelete.json + */ + /** + * Sample code: NetworkManagersDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkManagersDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagers() + .delete("rg1", "testNetworkManager", false, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupSamples.java new file mode 100644 index 000000000000..807007c2f037 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for NetworkManagers GetByResourceGroup. + */ +public final class NetworkManagersGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerGet.json + */ + /** + * Sample code: NetworkManagersGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkManagersGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagers() + .getByResourceGroupWithResponse("rg1", "testNetworkManager", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java new file mode 100644 index 000000000000..084d75f81e55 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; +import java.util.Arrays; + +/** + * Samples for NetworkManagers ListActiveConnectivityConfigurations. + */ +public final class NetworkManagersListActiveConnectivityConfigurationsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerActiveConnectivityConfigurationsList.json + */ + /** + * Sample code: List Active Connectivity Configurations. + * + * @param manager Entry point to NetworkManager. + */ + public static void listActiveConnectivityConfigurations(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagers() + .listActiveConnectivityConfigurations("myResourceGroup", "testNetworkManager", + new ActiveConfigurationParameter().withRegions(Arrays.asList("westus")) + .withSkipToken("fakeTokenPlaceholder"), + null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java new file mode 100644 index 000000000000..8303fe5e30c1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; +import java.util.Arrays; + +/** + * Samples for NetworkManagers ListActiveSecurityAdminRules. + */ +public final class NetworkManagersListActiveSecurityAdminRulesSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerActiveSecurityAdminRulesList.json + */ + /** + * Sample code: List Active Security Admin Rules. + * + * @param manager Entry point to NetworkManager. + */ + public static void listActiveSecurityAdminRules(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagers() + .listActiveSecurityAdminRules("myResourceGroup", "testNetworkManager", + new ActiveConfigurationParameter().withRegions(Arrays.asList("westus")) + .withSkipToken("fakeTokenPlaceholder"), + null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupSamples.java new file mode 100644 index 000000000000..fbbd76f5b06b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupSamples.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.network.generated; + +/** + * Samples for NetworkManagers ListByResourceGroup. + */ +public final class NetworkManagersListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerList.json + */ + /** + * Sample code: List Network Manager. + * + * @param manager Entry point to NetworkManager. + */ + public static void listNetworkManager(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagers() + .listByResourceGroup("rg1", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListSamples.java new file mode 100644 index 000000000000..05c7b5843523 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkManagers List. + */ +public final class NetworkManagersListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerListAll.json + */ + /** + * Sample code: NetworkManagersList. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkManagersList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkManagers().list(null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersPatchSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersPatchSamples.java new file mode 100644 index 000000000000..7c23c3149a8d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersPatchSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.PatchObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for NetworkManagers Patch. + */ +public final class NetworkManagersPatchSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerPatch.json + */ + /** + * Sample code: NetworkManagesPatch. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkManagesPatch(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkManagers() + .patchWithResponse("rg1", "testNetworkManager", + new PatchObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..7722a5761671 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesCreateOrUpdateSamples.java @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.IpConfigurationProfileInner; +import com.azure.resourcemanager.network.fluent.models.NetworkProfileInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.ContainerNetworkInterfaceConfiguration; +import java.util.Arrays; + +/** + * Samples for NetworkProfiles CreateOrUpdate. + */ +public final class NetworkProfilesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkProfileCreateConfigOnly.json + */ + /** + * Sample code: Create network profile defaults. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNetworkProfileDefaults(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkProfiles() + .createOrUpdateWithResponse("rg1", "networkProfile1", new NetworkProfileInner().withLocation("westus") + .withContainerNetworkInterfaceConfigurations(Arrays.asList(new ContainerNetworkInterfaceConfiguration() + .withName("eth1") + .withIpConfigurations(Arrays.asList(new IpConfigurationProfileInner().withName("ipconfig1") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1")))))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesDeleteSamples.java new file mode 100644 index 000000000000..88653e4c9ee1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkProfiles Delete. + */ +public final class NetworkProfilesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkProfileDelete.json + */ + /** + * Sample code: Delete network profile. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteNetworkProfile(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkProfiles().delete("rg1", "networkProfile1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..1e824caf74e9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for NetworkProfiles GetByResourceGroup. + */ +public final class NetworkProfilesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkProfileGetWithContainerNic.json + */ + /** + * Sample code: Get network profile with container network interfaces. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getNetworkProfileWithContainerNetworkInterfaces(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkProfiles() + .getByResourceGroupWithResponse("rg1", "networkProfile1", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkProfileGetConfigOnly.json + */ + /** + * Sample code: Get network profile. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNetworkProfile(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkProfiles() + .getByResourceGroupWithResponse("rg1", "networkProfile1", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesListByResourceGroupSamples.java new file mode 100644 index 000000000000..3565b7dff2ed --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkProfiles ListByResourceGroup. + */ +public final class NetworkProfilesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkProfileList.json + */ + /** + * Sample code: List resource group network profiles. + * + * @param manager Entry point to NetworkManager. + */ + public static void listResourceGroupNetworkProfiles(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkProfiles().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesListSamples.java new file mode 100644 index 000000000000..2be9039f0c86 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkProfiles List. + */ +public final class NetworkProfilesListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkProfileListAll.json + */ + /** + * Sample code: List all network profiles. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllNetworkProfiles(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkProfiles().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesUpdateTagsSamples.java new file mode 100644 index 000000000000..509d1435e628 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkProfilesUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for NetworkProfiles UpdateTags. + */ +public final class NetworkProfilesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkProfileUpdateTags.json + */ + /** + * Sample code: Update network profile tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateNetworkProfileTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkProfiles() + .updateTagsWithResponse("rg1", "test-np", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..02f1b049793f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsCreateOrUpdateSamples.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkSecurityGroupInner; +import com.azure.resourcemanager.network.fluent.models.SecurityRuleInner; +import com.azure.resourcemanager.network.models.SecurityRuleAccess; +import com.azure.resourcemanager.network.models.SecurityRuleDirection; +import com.azure.resourcemanager.network.models.SecurityRuleProtocol; +import java.util.Arrays; + +/** + * Samples for NetworkSecurityGroups CreateOrUpdate. + */ +public final class NetworkSecurityGroupsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupCreateWithRule.json + */ + /** + * Sample code: Create network security group with rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNetworkSecurityGroupWithRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityGroups() + .createOrUpdate("rg1", "testnsg", + new NetworkSecurityGroupInner().withLocation("eastus") + .withSecurityRules(Arrays.asList(new SecurityRuleInner().withName("rule1") + .withProtocol(SecurityRuleProtocol.ASTERISK) + .withSourcePortRange("*") + .withDestinationPortRange("80") + .withSourceAddressPrefix("*") + .withDestinationAddressPrefix("*") + .withAccess(SecurityRuleAccess.ALLOW) + .withPriority(130) + .withDirection(SecurityRuleDirection.INBOUND))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupCreate.json + */ + /** + * Sample code: Create network security group. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNetworkSecurityGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityGroups() + .createOrUpdate("rg1", "testnsg", new NetworkSecurityGroupInner().withLocation("eastus"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsDeleteSamples.java new file mode 100644 index 000000000000..9757fc0b0a6e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkSecurityGroups Delete. + */ +public final class NetworkSecurityGroupsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupDelete.json + */ + /** + * Sample code: Delete network security group. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteNetworkSecurityGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkSecurityGroups().delete("rg1", "testnsg", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..611d2b4d71f7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for NetworkSecurityGroups GetByResourceGroup. + */ +public final class NetworkSecurityGroupsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupGet.json + */ + /** + * Sample code: Get network security group. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNetworkSecurityGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityGroups() + .getByResourceGroupWithResponse("rg1", "testnsg", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsListByResourceGroupSamples.java new file mode 100644 index 000000000000..e9c6a57bb0d4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsListByResourceGroupSamples.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.network.generated; + +/** + * Samples for NetworkSecurityGroups ListByResourceGroup. + */ +public final class NetworkSecurityGroupsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupList.json + */ + /** + * Sample code: List network security groups in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listNetworkSecurityGroupsInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkSecurityGroups().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsListSamples.java new file mode 100644 index 000000000000..67b7446a060d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkSecurityGroups List. + */ +public final class NetworkSecurityGroupsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupListAll.json + */ + /** + * Sample code: List all network security groups. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllNetworkSecurityGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkSecurityGroups().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsUpdateTagsSamples.java new file mode 100644 index 000000000000..ae1259c76dcd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityGroupsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for NetworkSecurityGroups UpdateTags. + */ +public final class NetworkSecurityGroupsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupUpdateTags.json + */ + /** + * Sample code: Update network security group tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateNetworkSecurityGroupTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityGroups() + .updateTagsWithResponse("rg1", "testnsg", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..ef752e0c37af --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NspAccessRuleInner; +import com.azure.resourcemanager.network.models.AccessRuleDirection; +import java.util.Arrays; + +/** + * Samples for NetworkSecurityPerimeterAccessRules CreateOrUpdate. + */ +public final class NetworkSecurityPerimeterAccessRulesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NspAccessRulePut.json + */ + /** + * Sample code: NspAccessRulePut. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspAccessRulePut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterAccessRules() + .createOrUpdateWithResponse("rg1", "nsp1", "profile1", "accessRule1", + new NspAccessRuleInner().withDirection(AccessRuleDirection.INBOUND) + .withAddressPrefixes(Arrays.asList("10.11.0.0/16", "10.10.1.0/24")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesDeleteSamples.java new file mode 100644 index 000000000000..851e8acbeaaf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesDeleteSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterAccessRules Delete. + */ +public final class NetworkSecurityPerimeterAccessRulesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NspAccessRuleDelete.json + */ + /** + * Sample code: NspAccessRulesDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspAccessRulesDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterAccessRules() + .deleteWithResponse("rg1", "nsp1", "profile1", "accessRule1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesGetSamples.java new file mode 100644 index 000000000000..c5eb2b5cd567 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesGetSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterAccessRules Get. + */ +public final class NetworkSecurityPerimeterAccessRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NspAccessRuleGet.json + */ + /** + * Sample code: NspAccessRuleGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspAccessRuleGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterAccessRules() + .getWithResponse("rg1", "nsp1", "profile1", "accessRule1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesListSamples.java new file mode 100644 index 000000000000..282ff5a5afc7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesListSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterAccessRules List. + */ +public final class NetworkSecurityPerimeterAccessRulesListSamples { + /* + * x-ms-original-file: 2025-05-01/NspAccessRuleList.json + */ + /** + * Sample code: NspAccessRulesList. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspAccessRulesList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterAccessRules() + .list("rg1", "nsp1", "profile1", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesReconcileSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesReconcileSamples.java new file mode 100644 index 000000000000..90635e38ae66 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAccessRulesReconcileSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.serializer.SerializerFactory; +import com.azure.core.util.serializer.SerializerEncoding; +import java.io.IOException; + +/** + * Samples for NetworkSecurityPerimeterAccessRules Reconcile. + */ +public final class NetworkSecurityPerimeterAccessRulesReconcileSamples { + /* + * x-ms-original-file: 2025-05-01/NspAccessRuleReconcile.json + */ + /** + * Sample code: NspAccessRuleReconcile. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspAccessRuleReconcile(com.azure.resourcemanager.network.NetworkManager manager) + throws IOException { + manager.serviceClient() + .getNetworkSecurityPerimeterAccessRules() + .reconcileWithResponse("rg1", "nsp1", "profile1", "accessRuleName1", + SerializerFactory.createDefaultManagementSerializerAdapter() + .deserialize("{\"properties\":{}}", Object.class, SerializerEncoding.JSON), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociableResourceTypesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociableResourceTypesListSamples.java new file mode 100644 index 000000000000..354b7a4cc72b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociableResourceTypesListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkSecurityPerimeterAssociableResourceTypes List. + */ +public final class NetworkSecurityPerimeterAssociableResourceTypesListSamples { + /* + * x-ms-original-file: 2025-05-01/PerimeterAssociableResourcesList.json + */ + /** + * Sample code: NetworkSecurityPerimeterAssociableResourceTypes. + * + * @param manager Entry point to NetworkManager. + */ + public static void + networkSecurityPerimeterAssociableResourceTypes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterAssociableResourceTypes() + .list("westus", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..0af227d463cb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsCreateOrUpdateSamples.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.NspAssociationInner; +import com.azure.resourcemanager.network.models.AssociationAccessMode; + +/** + * Samples for NetworkSecurityPerimeterAssociations CreateOrUpdate. + */ +public final class NetworkSecurityPerimeterAssociationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NspAssociationPut.json + */ + /** + * Sample code: NspAssociationPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspAssociationPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterAssociations() + .createOrUpdate("rg1", "nsp1", "association1", new NspAssociationInner() + .withPrivateLinkResource(new SubResource().withId( + "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}")) + .withProfile(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}")) + .withAccessMode(AssociationAccessMode.ENFORCED), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsDeleteSamples.java new file mode 100644 index 000000000000..beaa6609317d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsDeleteSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterAssociations Delete. + */ +public final class NetworkSecurityPerimeterAssociationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NspAssociationDelete.json + */ + /** + * Sample code: NspAssociationDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspAssociationDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterAssociations() + .delete("rg1", "nsp1", "association1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsGetSamples.java new file mode 100644 index 000000000000..0d38e8d5dec9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsGetSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterAssociations Get. + */ +public final class NetworkSecurityPerimeterAssociationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NspAssociationGet.json + */ + /** + * Sample code: NspAssociationGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspAssociationGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterAssociations() + .getWithResponse("rg1", "nsp1", "association1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsListSamples.java new file mode 100644 index 000000000000..e6573bcd998f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsListSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterAssociations List. + */ +public final class NetworkSecurityPerimeterAssociationsListSamples { + /* + * x-ms-original-file: 2025-05-01/NspAssociationList.json + */ + /** + * Sample code: NspAssociationList. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspAssociationList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterAssociations() + .list("rg1", "nsp1", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsReconcileSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsReconcileSamples.java new file mode 100644 index 000000000000..6dd6c19ec41b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterAssociationsReconcileSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.serializer.SerializerFactory; +import com.azure.core.util.serializer.SerializerEncoding; +import java.io.IOException; + +/** + * Samples for NetworkSecurityPerimeterAssociations Reconcile. + */ +public final class NetworkSecurityPerimeterAssociationsReconcileSamples { + /* + * x-ms-original-file: 2025-05-01/NspAssociationReconcile.json + */ + /** + * Sample code: NspAssociationReconcile. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspAssociationReconcile(com.azure.resourcemanager.network.NetworkManager manager) + throws IOException { + manager.serviceClient() + .getNetworkSecurityPerimeterAssociations() + .reconcileWithResponse("rg1", "nsp1", "association1", + SerializerFactory.createDefaultManagementSerializerAdapter() + .deserialize("{\"properties\":{}}", Object.class, SerializerEncoding.JSON), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesDeleteSamples.java new file mode 100644 index 000000000000..01868596513f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesDeleteSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterLinkReferences Delete. + */ +public final class NetworkSecurityPerimeterLinkReferencesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NspLinkReferenceDelete.json + */ + /** + * Sample code: NspLinkReferenceDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLinkReferenceDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLinkReferences() + .delete("rg1", "nsp2", "link1-guid", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesGetSamples.java new file mode 100644 index 000000000000..fa6fdbfa29a5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesGetSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterLinkReferences Get. + */ +public final class NetworkSecurityPerimeterLinkReferencesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NspLinkReferenceGet.json + */ + /** + * Sample code: NspLinkReferencesGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLinkReferencesGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLinkReferences() + .getWithResponse("rg1", "nsp2", "link1-guid", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesListSamples.java new file mode 100644 index 000000000000..8a7e8ce2575f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinkReferencesListSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterLinkReferences List. + */ +public final class NetworkSecurityPerimeterLinkReferencesListSamples { + /* + * x-ms-original-file: 2025-05-01/NspLinkReferenceList.json + */ + /** + * Sample code: NspLinkReferenceList. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLinkReferenceList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLinkReferences() + .list("rg1", "nsp2", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksCreateOrUpdateSamples.java new file mode 100644 index 000000000000..d5cd2cbd9a68 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksCreateOrUpdateSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NspLinkInner; +import java.util.Arrays; + +/** + * Samples for NetworkSecurityPerimeterLinks CreateOrUpdate. + */ +public final class NetworkSecurityPerimeterLinksCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NspLinkPut.json + */ + /** + * Sample code: NspLinksPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLinksPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLinks() + .createOrUpdateWithResponse("rg1", "nsp1", "link1", + new NspLinkInner().withAutoApprovedRemotePerimeterResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2") + .withLocalInboundProfiles(Arrays.asList("*")) + .withRemoteInboundProfiles(Arrays.asList("*")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksDeleteSamples.java new file mode 100644 index 000000000000..3934e9eab09a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksDeleteSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterLinks Delete. + */ +public final class NetworkSecurityPerimeterLinksDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NspLinkDelete.json + */ + /** + * Sample code: NspLinkDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLinkDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLinks() + .delete("rg1", "nsp1", "link1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksGetSamples.java new file mode 100644 index 000000000000..c3006631b223 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksGetSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterLinks Get. + */ +public final class NetworkSecurityPerimeterLinksGetSamples { + /* + * x-ms-original-file: 2025-05-01/NspLinkGet.json + */ + /** + * Sample code: NspLinksGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLinksGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLinks() + .getWithResponse("rg1", "nsp1", "link1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksListSamples.java new file mode 100644 index 000000000000..582195ca72f8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLinksListSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterLinks List. + */ +public final class NetworkSecurityPerimeterLinksListSamples { + /* + * x-ms-original-file: 2025-05-01/NspLinkList.json + */ + /** + * Sample code: NspLinkList. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLinkList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLinks() + .list("rg1", "nsp1", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..96dd84d457fe --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NspLoggingConfigurationInner; +import java.util.Arrays; + +/** + * Samples for NetworkSecurityPerimeterLoggingConfigurations CreateOrUpdate. + */ +public final class NetworkSecurityPerimeterLoggingConfigurationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NspLoggingConfigurationPut.json + */ + /** + * Sample code: NspLoggingConfigurationPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLoggingConfigurationPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLoggingConfigurations() + .createOrUpdateWithResponse("rg1", "nsp1", "instance", + new NspLoggingConfigurationInner().withEnabledLogCategories( + Arrays.asList("NspPublicInboundPerimeterRulesDenied", "NspPublicOutboundPerimeterRulesDenied")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsDeleteSamples.java new file mode 100644 index 000000000000..1af31c56e82f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsDeleteSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterLoggingConfigurations Delete. + */ +public final class NetworkSecurityPerimeterLoggingConfigurationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NspLoggingConfigurationDelete.json + */ + /** + * Sample code: NspLoggingConfigurationDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLoggingConfigurationDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLoggingConfigurations() + .deleteWithResponse("rg1", "nsp1", "instance", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsGetSamples.java new file mode 100644 index 000000000000..d14097a93e97 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsGetSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterLoggingConfigurations Get. + */ +public final class NetworkSecurityPerimeterLoggingConfigurationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NspLoggingConfigurationGet.json + */ + /** + * Sample code: NspLoggingConfigurationGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLoggingConfigurationGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLoggingConfigurations() + .getWithResponse("rg1", "nsp1", "instance", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsListSamples.java new file mode 100644 index 000000000000..6c9a82d84de2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterLoggingConfigurationsListSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterLoggingConfigurations List. + */ +public final class NetworkSecurityPerimeterLoggingConfigurationsListSamples { + /* + * x-ms-original-file: 2025-05-01/NspLoggingConfigurationList.json + */ + /** + * Sample code: NspLoggingConfigurationList. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspLoggingConfigurationList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterLoggingConfigurations() + .list("rg1", "nsp1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterOperationStatusesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterOperationStatusesGetSamples.java new file mode 100644 index 000000000000..27e955be7539 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterOperationStatusesGetSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterOperationStatuses Get. + */ +public final class NetworkSecurityPerimeterOperationStatusesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NspOperationStatusGet.json + */ + /** + * Sample code: NspOperationStatusGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspOperationStatusGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterOperationStatuses() + .getWithResponse("location1", "operationId1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..788c6032b3a4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NspProfileInner; + +/** + * Samples for NetworkSecurityPerimeterProfiles CreateOrUpdate. + */ +public final class NetworkSecurityPerimeterProfilesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NspProfilePut.json + */ + /** + * Sample code: NspProfilesPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspProfilesPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterProfiles() + .createOrUpdateWithResponse("rg1", "nsp1", "profile1", new NspProfileInner(), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesDeleteSamples.java new file mode 100644 index 000000000000..9899b0991638 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesDeleteSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterProfiles Delete. + */ +public final class NetworkSecurityPerimeterProfilesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NspProfileDelete.json + */ + /** + * Sample code: NspProfilesDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspProfilesDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterProfiles() + .deleteWithResponse("rg1", "nsp1", "profile1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesGetSamples.java new file mode 100644 index 000000000000..6506dcb4deef --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesGetSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterProfiles Get. + */ +public final class NetworkSecurityPerimeterProfilesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NspProfileGet.json + */ + /** + * Sample code: NspProfilesGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspProfilesGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterProfiles() + .getWithResponse("rg1", "nsp1", "profile1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesListSamples.java new file mode 100644 index 000000000000..ac5f8823c7d5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterProfilesListSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterProfiles List. + */ +public final class NetworkSecurityPerimeterProfilesListSamples { + /* + * x-ms-original-file: 2025-05-01/NspProfileList.json + */ + /** + * Sample code: NspProfilesList. + * + * @param manager Entry point to NetworkManager. + */ + public static void nspProfilesList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterProfiles() + .list("rg1", "nsp1", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterServiceTagsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterServiceTagsListSamples.java new file mode 100644 index 000000000000..21c72fc4ed93 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimeterServiceTagsListSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeterServiceTags List. + */ +public final class NetworkSecurityPerimeterServiceTagsListSamples { + /* + * x-ms-original-file: 2025-05-01/NspServiceTagsList.json + */ + /** + * Sample code: NSPServiceTagsList. + * + * @param manager Entry point to NetworkManager. + */ + public static void nSPServiceTagsList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeterServiceTags() + .list("westus", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java new file mode 100644 index 000000000000..ac53940b5424 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkSecurityPerimeterInner; + +/** + * Samples for NetworkSecurityPerimeters CreateOrUpdate. + */ +public final class NetworkSecurityPerimetersCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityPerimeterPut.json + */ + /** + * Sample code: Put Network Security Perimeter. + * + * @param manager Entry point to NetworkManager. + */ + public static void putNetworkSecurityPerimeter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeters() + .createOrUpdateWithResponse("rg1", "nsp1", new NetworkSecurityPerimeterInner().withLocation("location1"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersDeleteSamples.java new file mode 100644 index 000000000000..adf409b0d84c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersDeleteSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeters Delete. + */ +public final class NetworkSecurityPerimetersDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityPerimeterDelete.json + */ + /** + * Sample code: NetworkSecurityPerimeterDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkSecurityPerimeterDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeters() + .delete("rg1", "testNSP1", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersGetByResourceGroupSamples.java new file mode 100644 index 000000000000..26c6f8c59adc --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeters GetByResourceGroup. + */ +public final class NetworkSecurityPerimetersGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityPerimeterGet.json + */ + /** + * Sample code: NetworkSecurityPerimeterGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkSecurityPerimeterGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeters() + .getByResourceGroupWithResponse("rg1", "nsp1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersListByResourceGroupSamples.java new file mode 100644 index 000000000000..b555021925cf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersListByResourceGroupSamples.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.network.generated; + +/** + * Samples for NetworkSecurityPerimeters ListByResourceGroup. + */ +public final class NetworkSecurityPerimetersListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityPerimeterList.json + */ + /** + * Sample code: List Network Security Perimeter. + * + * @param manager Entry point to NetworkManager. + */ + public static void listNetworkSecurityPerimeter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeters() + .listByResourceGroup("rg1", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersListSamples.java new file mode 100644 index 000000000000..2eeb683e45b7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkSecurityPerimeters List. + */ +public final class NetworkSecurityPerimetersListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityPerimeterListAll.json + */ + /** + * Sample code: NetworkSecurityPerimetersList. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkSecurityPerimetersList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkSecurityPerimeters().list(null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersPatchSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersPatchSamples.java new file mode 100644 index 000000000000..3d24e65799bb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersPatchSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.UpdateTagsRequest; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for NetworkSecurityPerimeters Patch. + */ +public final class NetworkSecurityPerimetersPatchSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityPerimeterPatch.json + */ + /** + * Sample code: Patch Network Security Perimeter. + * + * @param manager Entry point to NetworkManager. + */ + public static void patchNetworkSecurityPerimeter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkSecurityPerimeters() + .patchWithResponse("rg1", "nsp1", new UpdateTagsRequest().withTags(mapOf("description", "nsp1")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..7efd33c2f694 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsCreateOrUpdateSamples.java @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceConnectionInner; +import com.azure.resourcemanager.network.models.PropagatedRouteTable; +import com.azure.resourcemanager.network.models.RoutingConfiguration; +import java.util.Arrays; + +/** + * Samples for NetworkVirtualApplianceConnections CreateOrUpdate. + */ +public final class NetworkVirtualApplianceConnectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceConnectionPut.json + */ + /** + * Sample code: NetworkVirtualApplianceConnectionPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkVirtualApplianceConnectionPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualApplianceConnections() + .createOrUpdate("rg1", "nva1", "connection1", new NetworkVirtualApplianceConnectionInner() + .withNamePropertiesName("connection1") + .withAsn(64512L) + .withTunnelIdentifier(0L) + .withBgpPeerAddress(Arrays.asList("169.254.16.13", "169.254.16.14")) + .withEnableInternetSecurity(false) + .withRoutingConfiguration(new RoutingConfiguration().withAssociatedRouteTable(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")) + .withPropagatedRouteTables(new PropagatedRouteTable().withLabels(Arrays.asList("label1")) + .withIds(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")))) + .withInboundRouteMap(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1")) + .withOutboundRouteMap(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsDeleteSamples.java new file mode 100644 index 000000000000..2f874f0a7628 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkVirtualApplianceConnections Delete. + */ +public final class NetworkVirtualApplianceConnectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceConnectionDelete.json + */ + /** + * Sample code: NetworkVirtualApplianceConnectionDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void + networkVirtualApplianceConnectionDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualApplianceConnections() + .delete("rg1", "nva1", "connection1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsGetSamples.java new file mode 100644 index 000000000000..333bb19a3dc5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsGetSamples.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.network.generated; + +/** + * Samples for NetworkVirtualApplianceConnections Get. + */ +public final class NetworkVirtualApplianceConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceConnectionGet.json + */ + /** + * Sample code: NetworkVirtualApplianceConnectionGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkVirtualApplianceConnectionGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualApplianceConnections() + .getWithResponse("rg1", "nva1", "connection1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsListSamples.java new file mode 100644 index 000000000000..1c14d4027c1a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualApplianceConnectionsListSamples.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.network.generated; + +/** + * Samples for NetworkVirtualApplianceConnections List. + */ +public final class NetworkVirtualApplianceConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceConnectionList.json + */ + /** + * Sample code: NetworkVirtualApplianceConnectionList. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkVirtualApplianceConnectionList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualApplianceConnections() + .list("rg1", "nva1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..eba76bef33c1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesCreateOrUpdateSamples.java @@ -0,0 +1,359 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceInner; +import com.azure.resourcemanager.network.models.DelegationProperties; +import com.azure.resourcemanager.network.models.InternetIngressPublicIpsProperties; +import com.azure.resourcemanager.network.models.ManagedServiceIdentity; +import com.azure.resourcemanager.network.models.ManagedServiceIdentityUserAssignedIdentities; +import com.azure.resourcemanager.network.models.NetworkVirtualAppliancePropertiesFormatNetworkProfile; +import com.azure.resourcemanager.network.models.NicTypeInRequest; +import com.azure.resourcemanager.network.models.NvaInVnetSubnetReferenceProperties; +import com.azure.resourcemanager.network.models.NvaInterfaceConfigurationsProperties; +import com.azure.resourcemanager.network.models.NvaNicType; +import com.azure.resourcemanager.network.models.ResourceIdentityType; +import com.azure.resourcemanager.network.models.VirtualApplianceAdditionalNicProperties; +import com.azure.resourcemanager.network.models.VirtualApplianceIPConfiguration; +import com.azure.resourcemanager.network.models.VirtualApplianceIPConfigurationProperties; +import com.azure.resourcemanager.network.models.VirtualApplianceNetworkInterfaceConfiguration; +import com.azure.resourcemanager.network.models.VirtualApplianceNetworkInterfaceConfigurationProperties; +import com.azure.resourcemanager.network.models.VirtualApplianceSkuProperties; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for NetworkVirtualAppliances CreateOrUpdate. + */ +public final class NetworkVirtualAppliancesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceVnetAdditionalPublicPut.json + */ + /** + * Sample code: Create NVA in VNet with PrivateNic, PublicNic & AdditionalPublicNic. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNVAInVNetWithPrivateNicPublicNicAdditionalPublicNic( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .createOrUpdate("rg1", "nva", new NetworkVirtualApplianceInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withIdentity(new ManagedServiceIdentity().withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withNvaSku(new VirtualApplianceSkuProperties().withVendor("Cisco SDWAN") + .withBundledScaleUnit("1") + .withMarketPlaceVersion("latest")) + .withBootStrapConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig")) + .withCloudInitConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig")) + .withVirtualApplianceAsn(10000L) + .withNvaInterfaceConfigurations(Arrays.asList(new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")) + .withType(Arrays.asList(NvaNicType.PRIVATE_NIC)) + .withName("dataInterface"), + new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2")) + .withType(Arrays.asList(NvaNicType.PUBLIC_NIC)) + .withName("managementInterface"), + new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3")) + .withType(Arrays.asList(NvaNicType.ADDITIONAL_PUBLIC_NIC)) + .withName("myAdditionalPublicInterface"))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceSaaSPut.json + */ + /** + * Sample code: Create SaaS NetworkVirtualAppliance. + * + * @param manager Entry point to NetworkManager. + */ + public static void createSaaSNetworkVirtualAppliance(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .createOrUpdate("rg1", "nva", new NetworkVirtualApplianceInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withVirtualHub(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1")) + .withDelegation(new DelegationProperties().withServiceName("PaloAltoNetworks.Cloudngfw/firewalls")), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceVnetNetworkProfilePut.json + */ + /** + * Sample code: Create NVA in VNet with PrivateNic & PublicNic, including NetworkProfile. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNVAInVNetWithPrivateNicPublicNicIncludingNetworkProfile( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .createOrUpdate("rg1", "nva", new NetworkVirtualApplianceInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withIdentity(new ManagedServiceIdentity().withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withNvaSku(new VirtualApplianceSkuProperties().withVendor("Cisco SDWAN") + .withBundledScaleUnit("1") + .withMarketPlaceVersion("latest")) + .withBootStrapConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig")) + .withCloudInitConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig")) + .withVirtualApplianceAsn(10000L) + .withNetworkProfile( + new NetworkVirtualAppliancePropertiesFormatNetworkProfile() + .withNetworkInterfaceConfigurations( + Arrays + .asList( + new VirtualApplianceNetworkInterfaceConfiguration() + .withNicType(NicTypeInRequest.PUBLIC_NIC) + .withProperties( + new VirtualApplianceNetworkInterfaceConfigurationProperties() + .withIpConfigurations(Arrays.asList( + new VirtualApplianceIPConfiguration() + .withName("myPrimaryPublicIpConfig") + .withProperties(new VirtualApplianceIPConfigurationProperties() + .withPrimary(true)), + new VirtualApplianceIPConfiguration() + .withName("myNonPrimaryPublicIpConfig") + .withProperties(new VirtualApplianceIPConfigurationProperties() + .withPrimary(false))))), + new VirtualApplianceNetworkInterfaceConfiguration() + .withNicType(NicTypeInRequest.PRIVATE_NIC) + .withProperties(new VirtualApplianceNetworkInterfaceConfigurationProperties() + .withIpConfigurations(Arrays.asList( + new VirtualApplianceIPConfiguration() + .withName("myPrimaryPrivateIpConfig") + .withProperties(new VirtualApplianceIPConfigurationProperties() + .withPrimary(true)), + new VirtualApplianceIPConfiguration() + .withName("myNonPrimaryPrivateIpConfig") + .withProperties(new VirtualApplianceIPConfigurationProperties() + .withPrimary(false)))))))) + .withNvaInterfaceConfigurations(Arrays.asList(new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")) + .withType(Arrays.asList(NvaNicType.PRIVATE_NIC)) + .withName("dataInterface"), + new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2")) + .withType(Arrays.asList(NvaNicType.PUBLIC_NIC)) + .withName("managementInterface"))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceVnetAdditionalPrivatePut.json + */ + /** + * Sample code: Create NVA in VNet with PrivateNic, PublicNic & AdditionalPrivateNic. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNVAInVNetWithPrivateNicPublicNicAdditionalPrivateNic( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .createOrUpdate("rg1", "nva", new NetworkVirtualApplianceInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withIdentity(new ManagedServiceIdentity().withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withNvaSku(new VirtualApplianceSkuProperties().withVendor("Cisco SDWAN") + .withBundledScaleUnit("1") + .withMarketPlaceVersion("latest")) + .withBootStrapConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig")) + .withCloudInitConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig")) + .withVirtualApplianceAsn(10000L) + .withNvaInterfaceConfigurations(Arrays.asList(new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")) + .withType(Arrays.asList(NvaNicType.PRIVATE_NIC)) + .withName("dataInterface"), + new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2")) + .withType(Arrays.asList(NvaNicType.PUBLIC_NIC)) + .withName("managementInterface"), + new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3")) + .withType(Arrays.asList(NvaNicType.ADDITIONAL_PRIVATE_NIC)) + .withName("myAdditionalInterface"))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceVnetIngressPut.json + */ + /** + * Sample code: Create NVA in VNet with PrivateNic & PublicNic, including Internet-Ingress. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNVAInVNetWithPrivateNicPublicNicIncludingInternetIngress( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .createOrUpdate("rg1", "nva", new NetworkVirtualApplianceInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withIdentity(new ManagedServiceIdentity().withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withNvaSku(new VirtualApplianceSkuProperties().withVendor("Cisco SDWAN") + .withBundledScaleUnit("1") + .withMarketPlaceVersion("latest")) + .withBootStrapConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig")) + .withCloudInitConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig")) + .withVirtualApplianceAsn(10000L) + .withInternetIngressPublicIps(Arrays.asList(new InternetIngressPublicIpsProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/slbip"))) + .withNvaInterfaceConfigurations(Arrays.asList(new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")) + .withType(Arrays.asList(NvaNicType.PRIVATE_NIC)) + .withName("dataInterface"), + new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2")) + .withType(Arrays.asList(NvaNicType.PUBLIC_NIC)) + .withName("managementInterface"))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceVnetBasicPut.json + */ + /** + * Sample code: Create NVA in VNet with PrivateNic & PublicNic. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createNVAInVNetWithPrivateNicPublicNic(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .createOrUpdate("rg1", "nva", new NetworkVirtualApplianceInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withIdentity(new ManagedServiceIdentity().withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withNvaSku(new VirtualApplianceSkuProperties().withVendor("Cisco SDWAN") + .withBundledScaleUnit("1") + .withMarketPlaceVersion("latest")) + .withBootStrapConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig")) + .withCloudInitConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig")) + .withVirtualApplianceAsn(10000L) + .withNvaInterfaceConfigurations(Arrays.asList(new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")) + .withType(Arrays.asList(NvaNicType.PRIVATE_NIC)) + .withName("dataInterface"), + new NvaInterfaceConfigurationsProperties() + .withSubnet(new NvaInVnetSubnetReferenceProperties().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2")) + .withType(Arrays.asList(NvaNicType.PUBLIC_NIC)) + .withName("managementInterface"))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualAppliancePut.json + */ + /** + * Sample code: Create NetworkVirtualAppliance. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNetworkVirtualAppliance(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .createOrUpdate("rg1", "nva", new NetworkVirtualApplianceInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withIdentity(new ManagedServiceIdentity().withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withNvaSku(new VirtualApplianceSkuProperties().withVendor("Cisco SDWAN") + .withBundledScaleUnit("1") + .withMarketPlaceVersion("12.1")) + .withBootStrapConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig")) + .withVirtualHub(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1")) + .withCloudInitConfigurationBlobs(Arrays + .asList("https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig")) + .withVirtualApplianceAsn(10000L) + .withNetworkProfile( + new NetworkVirtualAppliancePropertiesFormatNetworkProfile() + .withNetworkInterfaceConfigurations( + Arrays + .asList( + new VirtualApplianceNetworkInterfaceConfiguration() + .withNicType(NicTypeInRequest.PUBLIC_NIC) + .withProperties(new VirtualApplianceNetworkInterfaceConfigurationProperties() + .withIpConfigurations(Arrays.asList( + new VirtualApplianceIPConfiguration().withName("publicnicipconfig") + .withProperties(new VirtualApplianceIPConfigurationProperties() + .withPrimary(true)), + new VirtualApplianceIPConfiguration().withName("publicnicipconfig-2") + .withProperties(new VirtualApplianceIPConfigurationProperties() + .withPrimary(false))))), + new VirtualApplianceNetworkInterfaceConfiguration() + .withNicType(NicTypeInRequest.PRIVATE_NIC) + .withProperties(new VirtualApplianceNetworkInterfaceConfigurationProperties() + .withIpConfigurations(Arrays.asList( + new VirtualApplianceIPConfiguration().withName("privatenicipconfig") + .withProperties(new VirtualApplianceIPConfigurationProperties() + .withPrimary(true)), + new VirtualApplianceIPConfiguration().withName("privatenicipconfig-2") + .withProperties(new VirtualApplianceIPConfigurationProperties() + .withPrimary(false)))))))) + .withAdditionalNics(Arrays + .asList(new VirtualApplianceAdditionalNicProperties().withName("exrsdwan").withHasPublicIp(true))) + .withInternetIngressPublicIps(Arrays.asList(new InternetIngressPublicIpsProperties().withId( + "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip"))), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesDeleteSamples.java new file mode 100644 index 000000000000..886e35f4a9fd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkVirtualAppliances Delete. + */ +public final class NetworkVirtualAppliancesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceDelete.json + */ + /** + * Sample code: Delete NetworkVirtualAppliance. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteNetworkVirtualAppliance(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkVirtualAppliances().delete("rg1", "nva", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesGetBootDiagnosticLogsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesGetBootDiagnosticLogsSamples.java new file mode 100644 index 000000000000..136b3947baf2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesGetBootDiagnosticLogsSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.NetworkVirtualApplianceBootDiagnosticParameters; + +/** + * Samples for NetworkVirtualAppliances GetBootDiagnosticLogs. + */ +public final class NetworkVirtualAppliancesGetBootDiagnosticLogsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceBootDiagnostics.json + */ + /** + * Sample code: Retrieve Boot Diagnostic logs for a given NVA VMSS instance. + * + * @param manager Entry point to NetworkManager. + */ + public static void + retrieveBootDiagnosticLogsForAGivenNVAVMSSInstance(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .getBootDiagnosticLogs("rg1", "nva", new NetworkVirtualApplianceBootDiagnosticParameters().withInstanceId(0) + .withSerialConsoleStorageSasUrl( + "https://blobcortextesturl.blob.core.windows.net/nvaBootDiagContainer/serialLogs.txt?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b") + .withConsoleScreenshotStorageSasUrl( + "https://blobcortextesturl.blob.core.windows.net/nvaBootDiagContainer/consoleScreenshot.png?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..6e0049241235 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for NetworkVirtualAppliances GetByResourceGroup. + */ +public final class NetworkVirtualAppliancesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceGet.json + */ + /** + * Sample code: Get NetworkVirtualAppliance. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNetworkVirtualAppliance(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .getByResourceGroupWithResponse("rg1", "nva", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesListByResourceGroupSamples.java new file mode 100644 index 000000000000..6d669e3b9496 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkVirtualAppliances ListByResourceGroup. + */ +public final class NetworkVirtualAppliancesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceListByResourceGroup.json + */ + /** + * Sample code: List all Network Virtual Appliance for a given resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllNetworkVirtualApplianceForAGivenResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesListSamples.java new file mode 100644 index 000000000000..f0dbbf5e64dd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesListSamples.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.network.generated; + +/** + * Samples for NetworkVirtualAppliances List. + */ +public final class NetworkVirtualAppliancesListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceListBySubscription.json + */ + /** + * Sample code: List all Network Virtual Appliances for a given subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllNetworkVirtualAppliancesForAGivenSubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkVirtualAppliances().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesReimageSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesReimageSamples.java new file mode 100644 index 000000000000..b81d257471c5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesReimageSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkVirtualAppliances Reimage. + */ +public final class NetworkVirtualAppliancesReimageSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceSpecificReimage.json + */ + /** + * Sample code: Reimages Specific NetworkVirtualAppliance VMs in VM Scale Set. + * + * @param manager Entry point to NetworkManager. + */ + public static void reimagesSpecificNetworkVirtualApplianceVMsInVMScaleSet( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .reimage("rg1", "nva", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesRestartSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesRestartSamples.java new file mode 100644 index 000000000000..60eee102d2b6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesRestartSamples.java @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkVirtualAppliances Restart. + */ +public final class NetworkVirtualAppliancesRestartSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceSpecificRestart.json + */ + /** + * Sample code: Restart Specific NetworkVirtualAppliance VMs in VM Scale Set. + * + * @param manager Entry point to NetworkManager. + */ + public static void restartSpecificNetworkVirtualApplianceVMsInVMScaleSet( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .restart("rg1", "nva", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceEmptyRestart.json + */ + /** + * Sample code: Restart All NetworkVirtualAppliance VMs in VM Scale Set. + * + * @param manager Entry point to NetworkManager. + */ + public static void + restartAllNetworkVirtualApplianceVMsInVMScaleSet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .restart("rg1", "nva", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesUpdateTagsSamples.java new file mode 100644 index 000000000000..796171c5d918 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkVirtualAppliancesUpdateTagsSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for NetworkVirtualAppliances UpdateTags. + */ +public final class NetworkVirtualAppliancesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceUpdateTags.json + */ + /** + * Sample code: Update NetworkVirtualAppliance. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateNetworkVirtualAppliance(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkVirtualAppliances() + .updateTagsWithResponse("rg1", "nva", + new TagsObject().withTags(mapOf("key1", "fakeTokenPlaceholder", "key2", "fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersCheckConnectivitySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersCheckConnectivitySamples.java new file mode 100644 index 000000000000..79601e5e4f44 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersCheckConnectivitySamples.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.network.generated; + +import com.azure.resourcemanager.network.models.ConnectivityDestination; +import com.azure.resourcemanager.network.models.ConnectivityParameters; +import com.azure.resourcemanager.network.models.ConnectivitySource; +import com.azure.resourcemanager.network.models.IpVersion; + +/** + * Samples for NetworkWatchers CheckConnectivity. + */ +public final class NetworkWatchersCheckConnectivitySamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherConnectivityCheck.json + */ + /** + * Sample code: Check connectivity. + * + * @param manager Entry point to NetworkManager. + */ + public static void checkConnectivity(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .checkConnectivity("rg1", "nw1", + new ConnectivityParameters().withSource(new ConnectivitySource().withResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1")) + .withDestination(new ConnectivityDestination().withAddress("192.168.100.4").withPort(3389)) + .withPreferredIPVersion(IpVersion.IPV4), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersCreateOrUpdateSamples.java new file mode 100644 index 000000000000..ad267e677fce --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkWatcherInner; + +/** + * Samples for NetworkWatchers CreateOrUpdate. + */ +public final class NetworkWatchersCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherCreate.json + */ + /** + * Sample code: Create network watcher. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNetworkWatcher(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .createOrUpdateWithResponse("rg1", "nw1", new NetworkWatcherInner().withLocation("eastus"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersDeleteSamples.java new file mode 100644 index 000000000000..bdc253b1fcd9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkWatchers Delete. + */ +public final class NetworkWatchersDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherDelete.json + */ + /** + * Sample code: Delete network watcher. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteNetworkWatcher(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkWatchers().delete("rg1", "nw1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetAzureReachabilityReportSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetAzureReachabilityReportSamples.java new file mode 100644 index 000000000000..9b35794a1a45 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetAzureReachabilityReportSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.AzureReachabilityReportLocation; +import com.azure.resourcemanager.network.models.AzureReachabilityReportParameters; +import java.time.OffsetDateTime; +import java.util.Arrays; + +/** + * Samples for NetworkWatchers GetAzureReachabilityReport. + */ +public final class NetworkWatchersGetAzureReachabilityReportSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherAzureReachabilityReportGet.json + */ + /** + * Sample code: Get Azure Reachability Report. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAzureReachabilityReport(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .getAzureReachabilityReport("rg1", "nw1", + new AzureReachabilityReportParameters() + .withProviderLocation( + new AzureReachabilityReportLocation().withCountry("United States").withState("washington")) + .withProviders(Arrays.asList("Frontier Communications of America, Inc. - ASN 5650")) + .withAzureLocations(Arrays.asList("West US")) + .withStartTime(OffsetDateTime.parse("2017-09-07T00:00:00Z")) + .withEndTime(OffsetDateTime.parse("2017-09-10T00:00:00Z")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetByResourceGroupSamples.java new file mode 100644 index 000000000000..e1b57f90bfef --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for NetworkWatchers GetByResourceGroup. + */ +public final class NetworkWatchersGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherGet.json + */ + /** + * Sample code: Get network watcher. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNetworkWatcher(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .getByResourceGroupWithResponse("rg1", "nw1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetFlowLogStatusSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetFlowLogStatusSamples.java new file mode 100644 index 000000000000..4171515b5337 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetFlowLogStatusSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.FlowLogStatusParameters; + +/** + * Samples for NetworkWatchers GetFlowLogStatus. + */ +public final class NetworkWatchersGetFlowLogStatusSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherFlowLogStatusQuery.json + */ + /** + * Sample code: Get flow log status. + * + * @param manager Entry point to NetworkManager. + */ + public static void getFlowLogStatus(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .getFlowLogStatus("rg1", "nw1", new FlowLogStatusParameters().withTargetResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetNetworkConfigurationDiagnosticSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetNetworkConfigurationDiagnosticSamples.java new file mode 100644 index 000000000000..f6bc4d90419b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetNetworkConfigurationDiagnosticSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.Direction; +import com.azure.resourcemanager.network.models.NetworkConfigurationDiagnosticParameters; +import com.azure.resourcemanager.network.models.NetworkConfigurationDiagnosticProfile; +import java.util.Arrays; + +/** + * Samples for NetworkWatchers GetNetworkConfigurationDiagnostic. + */ +public final class NetworkWatchersGetNetworkConfigurationDiagnosticSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherNetworkConfigurationDiagnostic.json + */ + /** + * Sample code: Network configuration diagnostic. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkConfigurationDiagnostic(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .getNetworkConfigurationDiagnostic("rg1", "nw1", new NetworkConfigurationDiagnosticParameters() + .withTargetResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1") + .withProfiles(Arrays.asList(new NetworkConfigurationDiagnosticProfile().withDirection(Direction.INBOUND) + .withProtocol("TCP") + .withSource("10.1.0.4") + .withDestination("12.11.12.14") + .withDestinationPort("12100"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetNextHopSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetNextHopSamples.java new file mode 100644 index 000000000000..93a05d88c325 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetNextHopSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.NextHopParameters; + +/** + * Samples for NetworkWatchers GetNextHop. + */ +public final class NetworkWatchersGetNextHopSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherNextHopGet.json + */ + /** + * Sample code: Get next hop. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNextHop(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .getNextHop("rg1", "nw1", new NextHopParameters().withTargetResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1") + .withSourceIpAddress("10.0.0.5") + .withDestinationIpAddress("10.0.0.10") + .withTargetNicResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTopologySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTopologySamples.java new file mode 100644 index 000000000000..2e018f3cc91f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTopologySamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TopologyParameters; + +/** + * Samples for NetworkWatchers GetTopology. + */ +public final class NetworkWatchersGetTopologySamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherTopologyGet.json + */ + /** + * Sample code: Get Topology. + * + * @param manager Entry point to NetworkManager. + */ + public static void getTopology(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .getTopologyWithResponse("rg1", "nw1", new TopologyParameters().withTargetResourceGroupName("rg2"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTroubleshootingResultSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTroubleshootingResultSamples.java new file mode 100644 index 000000000000..e337413283a9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTroubleshootingResultSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.QueryTroubleshootingParameters; + +/** + * Samples for NetworkWatchers GetTroubleshootingResult. + */ +public final class NetworkWatchersGetTroubleshootingResultSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherTroubleshootResultQuery.json + */ + /** + * Sample code: Get troubleshoot result. + * + * @param manager Entry point to NetworkManager. + */ + public static void getTroubleshootResult(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .getTroubleshootingResult("rg1", "nw1", new QueryTroubleshootingParameters().withTargetResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTroubleshootingSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTroubleshootingSamples.java new file mode 100644 index 000000000000..d85c50faff97 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetTroubleshootingSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TroubleshootingParameters; + +/** + * Samples for NetworkWatchers GetTroubleshooting. + */ +public final class NetworkWatchersGetTroubleshootingSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherTroubleshootGet.json + */ + /** + * Sample code: Get troubleshooting. + * + * @param manager Entry point to NetworkManager. + */ + public static void getTroubleshooting(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .getTroubleshooting("rg1", "nw1", new TroubleshootingParameters().withTargetResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1") + .withStorageId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1") + .withStoragePath("https://st1.blob.core.windows.net/cn1"), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetVMSecurityRulesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetVMSecurityRulesSamples.java new file mode 100644 index 000000000000..face73b950b8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersGetVMSecurityRulesSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.SecurityGroupViewParameters; + +/** + * Samples for NetworkWatchers GetVMSecurityRules. + */ +public final class NetworkWatchersGetVMSecurityRulesSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherSecurityGroupViewGet.json + */ + /** + * Sample code: Get security group view. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSecurityGroupView(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .getVMSecurityRules("rg1", "nw1", new SecurityGroupViewParameters().withTargetResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListAvailableProvidersSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListAvailableProvidersSamples.java new file mode 100644 index 000000000000..c3b4c241ccba --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListAvailableProvidersSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.AvailableProvidersListParameters; +import java.util.Arrays; + +/** + * Samples for NetworkWatchers ListAvailableProviders. + */ +public final class NetworkWatchersListAvailableProvidersSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherAvailableProvidersListGet.json + */ + /** + * Sample code: Get Available Providers List. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAvailableProvidersList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .listAvailableProviders("rg1", "nw1", + new AvailableProvidersListParameters().withAzureLocations(Arrays.asList("West US")) + .withCountry("United States") + .withState("washington") + .withCity("seattle"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListByResourceGroupSamples.java new file mode 100644 index 000000000000..9ec52475ee81 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkWatchers ListByResourceGroup. + */ +public final class NetworkWatchersListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherList.json + */ + /** + * Sample code: List network watchers. + * + * @param manager Entry point to NetworkManager. + */ + public static void listNetworkWatchers(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkWatchers().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListSamples.java new file mode 100644 index 000000000000..0662ec1fd221 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for NetworkWatchers List. + */ +public final class NetworkWatchersListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherListAll.json + */ + /** + * Sample code: List all network watchers. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllNetworkWatchers(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getNetworkWatchers().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersSetFlowLogConfigurationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersSetFlowLogConfigurationSamples.java new file mode 100644 index 000000000000..2eff71cb335e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersSetFlowLogConfigurationSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.FlowLogInformationInner; +import com.azure.resourcemanager.network.models.ManagedServiceIdentity; +import com.azure.resourcemanager.network.models.ManagedServiceIdentityUserAssignedIdentities; +import com.azure.resourcemanager.network.models.ResourceIdentityType; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for NetworkWatchers SetFlowLogConfiguration. + */ +public final class NetworkWatchersSetFlowLogConfigurationSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherFlowLogConfigure.json + */ + /** + * Sample code: Configure flow log. + * + * @param manager Entry point to NetworkManager. + */ + public static void configureFlowLog(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .setFlowLogConfiguration("rg1", "nw1", new FlowLogInformationInner().withTargetResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1") + .withIdentity(new ManagedServiceIdentity().withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withStorageId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1") + .withEnabled(true), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersUpdateTagsSamples.java new file mode 100644 index 000000000000..00c5b33fa817 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for NetworkWatchers UpdateTags. + */ +public final class NetworkWatchersUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherUpdateTags.json + */ + /** + * Sample code: Update network watcher tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateNetworkWatcherTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .updateTagsWithResponse("rg1", "nw1", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersVerifyIpFlowSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersVerifyIpFlowSamples.java new file mode 100644 index 000000000000..9f5d00757bea --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkWatchersVerifyIpFlowSamples.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.Direction; +import com.azure.resourcemanager.network.models.IpFlowProtocol; +import com.azure.resourcemanager.network.models.VerificationIpFlowParameters; + +/** + * Samples for NetworkWatchers VerifyIpFlow. + */ +public final class NetworkWatchersVerifyIpFlowSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherIpFlowVerify.json + */ + /** + * Sample code: Ip flow verify. + * + * @param manager Entry point to NetworkManager. + */ + public static void ipFlowVerify(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getNetworkWatchers() + .verifyIpFlow("rg1", "nw1", new VerificationIpFlowParameters().withTargetResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1") + .withDirection(Direction.OUTBOUND) + .withProtocol(IpFlowProtocol.TCP) + .withLocalPort("80") + .withRemotePort("80") + .withLocalIpAddress("10.2.0.4") + .withRemoteIpAddress("121.10.1.1"), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/OperationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/OperationsListSamples.java new file mode 100644 index 000000000000..ad4697b236d1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/OperationsListSamples.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.network.generated; + +/** + * Samples for Operations List. + */ +public final class OperationsListSamples { + /* + * x-ms-original-file: 2025-05-01/OperationList.json + */ + /** + * Sample code: Get a list of operations for a resource provider. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getAListOfOperationsForAResourceProvider(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getOperations().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysResetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysResetSamples.java new file mode 100644 index 000000000000..03c49300fb6b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysResetSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for P2SVpnGateways Reset. + */ +public final class P2SVpnGatewaysResetSamples { + /* + * x-ms-original-file: 2025-05-01/P2SVpnGatewayReset.json + */ + /** + * Sample code: ResetP2SVpnGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void resetP2SVpnGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getP2SVpnGateways().reset("rg1", "p2sVpnGateway1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationCreateOrUpdateSamples.java new file mode 100644 index 000000000000..a54341420785 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationCreateOrUpdateSamples.java @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.P2SConnectionConfiguration; +import com.azure.resourcemanager.network.models.PropagatedRouteTable; +import com.azure.resourcemanager.network.models.RoutingConfiguration; +import com.azure.resourcemanager.network.models.VnetRoute; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for P2sVpnGatewaysOperation CreateOrUpdate. + */ +public final class P2sVpnGatewaysOperationCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/P2SVpnGatewayPut.json + */ + /** + * Sample code: P2SVpnGatewayPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void p2SVpnGatewayPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getP2sVpnGatewaysOperations() + .createOrUpdate("rg1", "p2sVpnGateway1", new P2SVpnGatewayInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withVirtualHub(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1")) + .withP2SConnectionConfigurations(Arrays.asList(new P2SConnectionConfiguration().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1") + .withName("P2SConnectionConfig1") + .withVpnClientAddressPool(new AddressSpace().withAddressPrefixes(Arrays.asList("101.3.0.0/16"))) + .withRoutingConfiguration(new RoutingConfiguration() + .withAssociatedRouteTable(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")) + .withPropagatedRouteTables(new PropagatedRouteTable() + .withLabels(Arrays.asList("label1", "label2")) + .withIds(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"), + new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2"), + new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3")))) + .withVnetRoutes(new VnetRoute().withStaticRoutes(Arrays.asList()))))) + .withVpnGatewayScaleUnit(1) + .withVpnServerConfiguration(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1")) + .withCustomDnsServers(Arrays.asList("1.1.1.1", "2.2.2.2")) + .withIsRoutingPreferenceInternet(false), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDeleteSamples.java new file mode 100644 index 000000000000..90d953c56064 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDeleteSamples.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.network.generated; + +/** + * Samples for P2sVpnGatewaysOperation Delete. + */ +public final class P2sVpnGatewaysOperationDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/P2SVpnGatewayDelete.json + */ + /** + * Sample code: P2SVpnGatewayDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void p2SVpnGatewayDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getP2sVpnGatewaysOperations() + .delete("rg1", "p2sVpnGateway1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples.java new file mode 100644 index 000000000000..14ae77164e63 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; +import java.util.Arrays; + +/** + * Samples for P2sVpnGatewaysOperation DisconnectP2sVpnConnections. + */ +public final class P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples { + /* + * x-ms-original-file: 2025-05-01/P2sVpnGatewaysDisconnectP2sVpnConnections.json + */ + /** + * Sample code: Disconnect VpnConnections from P2sVpn Gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void + disconnectVpnConnectionsFromP2sVpnGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getP2sVpnGatewaysOperations() + .disconnectP2sVpnConnections("p2s-vpn-gateway-test", "p2svpngateway", + new P2SVpnConnectionRequest().withVpnConnectionIds(Arrays.asList("vpnconnId1", "vpnconnId2")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGenerateVpnProfileSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGenerateVpnProfileSamples.java new file mode 100644 index 000000000000..ac502a1459fa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGenerateVpnProfileSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.AuthenticationMethod; +import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; + +/** + * Samples for P2sVpnGatewaysOperation GenerateVpnProfile. + */ +public final class P2sVpnGatewaysOperationGenerateVpnProfileSamples { + /* + * x-ms-original-file: 2025-05-01/P2SVpnGatewayGenerateVpnProfile.json + */ + /** + * Sample code: GenerateP2SVpnGatewayVPNProfile. + * + * @param manager Entry point to NetworkManager. + */ + public static void generateP2SVpnGatewayVPNProfile(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getP2sVpnGatewaysOperations() + .generateVpnProfile("rg1", "p2sVpnGateway1", + new P2SVpnProfileParameters().withAuthenticationMethod(AuthenticationMethod.EAPTLS), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetByResourceGroupSamples.java new file mode 100644 index 000000000000..b47d4a2ef7ec --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for P2sVpnGatewaysOperation GetByResourceGroup. + */ +public final class P2sVpnGatewaysOperationGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/P2SVpnGatewayGet.json + */ + /** + * Sample code: P2SVpnGatewayGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void p2SVpnGatewayGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getP2sVpnGatewaysOperations() + .getByResourceGroupWithResponse("rg1", "p2sVpnGateway1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSamples.java new file mode 100644 index 000000000000..f51a922f15e2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest; +import java.util.Arrays; + +/** + * Samples for P2sVpnGatewaysOperation GetP2sVpnConnectionHealthDetailed. + */ +public final class P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSamples { + /* + * x-ms-original-file: 2025-05-01/P2SVpnGatewayGetConnectionHealthDetailed.json + */ + /** + * Sample code: P2SVpnGatewayGetConnectionHealthDetailed. + * + * @param manager Entry point to NetworkManager. + */ + public static void + p2SVpnGatewayGetConnectionHealthDetailed(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getP2sVpnGatewaysOperations() + .getP2sVpnConnectionHealthDetailed("p2s-vpn-gateway-test", "p2svpngateway", + new P2SVpnConnectionHealthRequest().withVpnUserNamesFilter(Arrays.asList("vpnUser1", "vpnUser2")) + .withOutputBlobSasUrl( + "https://blobcortextesturl.blob.core.windows.net/folderforconfig/p2sconnectionhealths?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples.java new file mode 100644 index 000000000000..0ca1d90b3920 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples.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.network.generated; + +/** + * Samples for P2sVpnGatewaysOperation GetP2sVpnConnectionHealth. + */ +public final class P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples { + /* + * x-ms-original-file: 2025-05-01/P2SVpnGatewayGetConnectionHealth.json + */ + /** + * Sample code: P2SVpnGatewayGetConnectionHealth. + * + * @param manager Entry point to NetworkManager. + */ + public static void p2SVpnGatewayGetConnectionHealth(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getP2sVpnGatewaysOperations() + .getP2sVpnConnectionHealth("rg1", "p2sVpnGateway1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListByResourceGroupSamples.java new file mode 100644 index 000000000000..0758ca405b2a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListByResourceGroupSamples.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.network.generated; + +/** + * Samples for P2sVpnGatewaysOperation ListByResourceGroup. + */ +public final class P2sVpnGatewaysOperationListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/P2SVpnGatewayListByResourceGroup.json + */ + /** + * Sample code: P2SVpnGatewayListByResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void p2SVpnGatewayListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getP2sVpnGatewaysOperations() + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListSamples.java new file mode 100644 index 000000000000..6c2b50ee3c2b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for P2sVpnGatewaysOperation List. + */ +public final class P2sVpnGatewaysOperationListSamples { + /* + * x-ms-original-file: 2025-05-01/P2SVpnGatewayList.json + */ + /** + * Sample code: P2SVpnGatewayListBySubscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void p2SVpnGatewayListBySubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getP2sVpnGatewaysOperations().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationUpdateTagsSamples.java new file mode 100644 index 000000000000..b0ed0dfda396 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for P2sVpnGatewaysOperation UpdateTags. + */ +public final class P2sVpnGatewaysOperationUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/P2SVpnGatewayUpdateTags.json + */ + /** + * Sample code: P2SVpnGatewayUpdate. + * + * @param manager Entry point to NetworkManager. + */ + public static void p2SVpnGatewayUpdate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getP2sVpnGatewaysOperations() + .updateTags("rg1", "p2sVpnGateway1", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesCreateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesCreateSamples.java new file mode 100644 index 000000000000..5c31de9f1912 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesCreateSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.PacketCaptureInner; +import com.azure.resourcemanager.network.models.PacketCaptureFilter; +import com.azure.resourcemanager.network.models.PacketCaptureStorageLocation; +import com.azure.resourcemanager.network.models.PcProtocol; +import java.util.Arrays; + +/** + * Samples for PacketCaptures Create. + */ +public final class PacketCapturesCreateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherPacketCaptureCreate.json + */ + /** + * Sample code: Create packet capture. + * + * @param manager Entry point to NetworkManager. + */ + public static void createPacketCapture(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPacketCaptures() + .create("rg1", "nw1", "pc1", new PacketCaptureInner().withTarget( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1") + .withBytesToCapturePerPacket(10000L) + .withTotalBytesPerSession(100000L) + .withTimeLimitInSeconds(100) + .withStorageLocation(new PacketCaptureStorageLocation().withStorageId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore") + .withStoragePath("https://mytestaccountname.blob.core.windows.net/capture/pc1.cap") + .withFilePath("D:\\capture\\pc1.cap")) + .withFilters(Arrays.asList(new PacketCaptureFilter().withProtocol(PcProtocol.TCP) + .withLocalIpAddress("10.0.0.4") + .withLocalPort("80"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesDeleteSamples.java new file mode 100644 index 000000000000..100d93bea5ad --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PacketCaptures Delete. + */ +public final class PacketCapturesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherPacketCaptureDelete.json + */ + /** + * Sample code: Delete packet capture. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletePacketCapture(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPacketCaptures().delete("rg1", "nw1", "pc1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesGetSamples.java new file mode 100644 index 000000000000..5434ec381a3f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesGetSamples.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.network.generated; + +/** + * Samples for PacketCaptures Get. + */ +public final class PacketCapturesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherPacketCaptureGet.json + */ + /** + * Sample code: Get packet capture. + * + * @param manager Entry point to NetworkManager. + */ + public static void getPacketCapture(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPacketCaptures() + .getWithResponse("rg1", "nw1", "pc1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesGetStatusSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesGetStatusSamples.java new file mode 100644 index 000000000000..852b6800614d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesGetStatusSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PacketCaptures GetStatus. + */ +public final class PacketCapturesGetStatusSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherPacketCaptureQueryStatus.json + */ + /** + * Sample code: Query packet capture status. + * + * @param manager Entry point to NetworkManager. + */ + public static void queryPacketCaptureStatus(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPacketCaptures().getStatus("rg1", "nw1", "pc1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesListSamples.java new file mode 100644 index 000000000000..fc91b819f92b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PacketCaptures List. + */ +public final class PacketCapturesListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherPacketCapturesList.json + */ + /** + * Sample code: List packet captures. + * + * @param manager Entry point to NetworkManager. + */ + public static void listPacketCaptures(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPacketCaptures().list("rg1", "nw1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesStopSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesStopSamples.java new file mode 100644 index 000000000000..5b2b463b8159 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PacketCapturesStopSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PacketCaptures Stop. + */ +public final class PacketCapturesStopSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkWatcherPacketCaptureStop.json + */ + /** + * Sample code: Stop packet capture. + * + * @param manager Entry point to NetworkManager. + */ + public static void stopPacketCapture(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPacketCaptures().stop("rg1", "nw1", "pc1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PeerExpressRouteCircuitConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PeerExpressRouteCircuitConnectionsGetSamples.java new file mode 100644 index 000000000000..5782ec8fae51 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PeerExpressRouteCircuitConnectionsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PeerExpressRouteCircuitConnections Get. + */ +public final class PeerExpressRouteCircuitConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/PeerExpressRouteCircuitConnectionGet.json + */ + /** + * Sample code: PeerExpressRouteCircuitConnectionGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void peerExpressRouteCircuitConnectionGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPeerExpressRouteCircuitConnections() + .getWithResponse("rg1", "ExpressRouteARMCircuitA", "AzurePrivatePeering", + "60aee347-e889-4a42-8c1b-0aae8b1e4013", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PeerExpressRouteCircuitConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PeerExpressRouteCircuitConnectionsListSamples.java new file mode 100644 index 000000000000..5138be4e8d3c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PeerExpressRouteCircuitConnectionsListSamples.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.network.generated; + +/** + * Samples for PeerExpressRouteCircuitConnections List. + */ +public final class PeerExpressRouteCircuitConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/PeerExpressRouteCircuitConnectionList.json + */ + /** + * Sample code: List Peer ExpressRouteCircuit Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void listPeerExpressRouteCircuitConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPeerExpressRouteCircuitConnections() + .list("rg1", "ExpressRouteARMCircuitA", "AzurePrivatePeering", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..79d6e7e5aaa8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.PrivateDnsZoneGroupInner; +import com.azure.resourcemanager.network.models.PrivateDnsZoneConfig; +import java.util.Arrays; + +/** + * Samples for PrivateDnsZoneGroups CreateOrUpdate. + */ +public final class PrivateDnsZoneGroupsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointDnsZoneGroupCreate.json + */ + /** + * Sample code: Create private dns zone group. + * + * @param manager Entry point to NetworkManager. + */ + public static void createPrivateDnsZoneGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateDnsZoneGroups() + .createOrUpdate("rg1", "testPe", "testPdnsgroup", new PrivateDnsZoneGroupInner() + .withPrivateDnsZoneConfigs(Arrays.asList(new PrivateDnsZoneConfig().withPrivateDnsZoneId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsDeleteSamples.java new file mode 100644 index 000000000000..9fd0d3e435fa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsDeleteSamples.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.network.generated; + +/** + * Samples for PrivateDnsZoneGroups Delete. + */ +public final class PrivateDnsZoneGroupsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointDnsZoneGroupDelete.json + */ + /** + * Sample code: Delete private dns zone group. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletePrivateDnsZoneGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateDnsZoneGroups() + .delete("rg1", "testPe", "testPdnsgroup", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsGetSamples.java new file mode 100644 index 000000000000..f3d27053b046 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsGetSamples.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.network.generated; + +/** + * Samples for PrivateDnsZoneGroups Get. + */ +public final class PrivateDnsZoneGroupsGetSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointDnsZoneGroupGet.json + */ + /** + * Sample code: Get private dns zone group. + * + * @param manager Entry point to NetworkManager. + */ + public static void getPrivateDnsZoneGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateDnsZoneGroups() + .getWithResponse("rg1", "testPe", "testPdnsgroup", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsListSamples.java new file mode 100644 index 000000000000..04956ad854b5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateDnsZoneGroups List. + */ +public final class PrivateDnsZoneGroupsListSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointDnsZoneGroupList.json + */ + /** + * Sample code: List private endpoints in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listPrivateEndpointsInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPrivateDnsZoneGroups().list("rg1", "testPe", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..70ce7c81757c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsCreateOrUpdateSamples.java @@ -0,0 +1,97 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ApplicationSecurityGroupInner; +import com.azure.resourcemanager.network.fluent.models.PrivateEndpointInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.PrivateEndpointIPConfiguration; +import com.azure.resourcemanager.network.models.PrivateEndpointIPVersionType; +import com.azure.resourcemanager.network.models.PrivateLinkServiceConnection; +import java.util.Arrays; + +/** + * Samples for PrivateEndpoints CreateOrUpdate. + */ +public final class PrivateEndpointsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointCreateWithASG.json + */ + /** + * Sample code: Create private endpoint with application security groups. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createPrivateEndpointWithApplicationSecurityGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateEndpoints() + .createOrUpdate("rg1", "testPe", new PrivateEndpointInner().withLocation("eastus2euap") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")) + .withPrivateLinkServiceConnections(Arrays.asList(new PrivateLinkServiceConnection() + .withPrivateLinkServiceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls") + .withGroupIds(Arrays.asList("groupIdFromResource")) + .withRequestMessage("Please approve my connection."))) + .withApplicationSecurityGroups(Arrays.asList(new ApplicationSecurityGroupInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1"))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointCreate.json + */ + /** + * Sample code: Create private endpoint. + * + * @param manager Entry point to NetworkManager. + */ + public static void createPrivateEndpoint(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateEndpoints() + .createOrUpdate("rg1", "testPe", new PrivateEndpointInner().withLocation("eastus2euap") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")) + .withIpVersionType(PrivateEndpointIPVersionType.IPV4) + .withPrivateLinkServiceConnections(Arrays.asList(new PrivateLinkServiceConnection() + .withPrivateLinkServiceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls") + .withGroupIds(Arrays.asList("groupIdFromResource")) + .withRequestMessage("Please approve my connection."))) + .withIpConfigurations(Arrays.asList(new PrivateEndpointIPConfiguration().withName("pestaticconfig") + .withGroupId("file") + .withMemberName("file") + .withPrivateIpAddress("192.168.0.6"))) + .withCustomNetworkInterfaceName("testPeNic"), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointCreateForManualApproval.json + */ + /** + * Sample code: Create private endpoint with manual approval connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createPrivateEndpointWithManualApprovalConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateEndpoints() + .createOrUpdate("rg1", "testPe", new PrivateEndpointInner().withLocation("eastus") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")) + .withManualPrivateLinkServiceConnections(Arrays.asList(new PrivateLinkServiceConnection() + .withPrivateLinkServiceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls") + .withGroupIds(Arrays.asList("groupIdFromResource")) + .withRequestMessage("Please manually approve my connection."))) + .withIpConfigurations(Arrays.asList(new PrivateEndpointIPConfiguration().withName("pestaticconfig") + .withGroupId("file") + .withMemberName("file") + .withPrivateIpAddress("192.168.0.5"))) + .withCustomNetworkInterfaceName("testPeNic"), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsDeleteSamples.java new file mode 100644 index 000000000000..a414353f93ba --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateEndpoints Delete. + */ +public final class PrivateEndpointsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointDelete.json + */ + /** + * Sample code: Delete private endpoint. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletePrivateEndpoint(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPrivateEndpoints().delete("rg1", "testPe", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..be84a8d9adb6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for PrivateEndpoints GetByResourceGroup. + */ +public final class PrivateEndpointsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointGetWithASG.json + */ + /** + * Sample code: Get private endpoint with application security groups. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getPrivateEndpointWithApplicationSecurityGroups(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateEndpoints() + .getByResourceGroupWithResponse("rg1", "testPe", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointGetForManualApproval.json + */ + /** + * Sample code: Get private endpoint with manual approval connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getPrivateEndpointWithManualApprovalConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateEndpoints() + .getByResourceGroupWithResponse("rg1", "testPe", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointGet.json + */ + /** + * Sample code: Get private endpoint. + * + * @param manager Entry point to NetworkManager. + */ + public static void getPrivateEndpoint(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateEndpoints() + .getByResourceGroupWithResponse("rg1", "testPe", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsListByResourceGroupSamples.java new file mode 100644 index 000000000000..32afa2d698d1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateEndpoints ListByResourceGroup. + */ +public final class PrivateEndpointsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointList.json + */ + /** + * Sample code: List private endpoints in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listPrivateEndpointsInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPrivateEndpoints().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsListSamples.java new file mode 100644 index 000000000000..fb93444cbcd1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateEndpointsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateEndpoints List. + */ +public final class PrivateEndpointsListSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateEndpointListAll.json + */ + /** + * Sample code: List all private endpoints. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllPrivateEndpoints(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPrivateEndpoints().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSamples.java new file mode 100644 index 000000000000..82f1fb812c32 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.CheckPrivateLinkServiceVisibilityRequest; + +/** + * Samples for PrivateLinkServices CheckPrivateLinkServiceVisibilityByResourceGroup. + */ +public final class PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/CheckPrivateLinkServiceVisibilityByResourceGroup.json + */ + /** + * Sample code: Check private link service visibility. + * + * @param manager Entry point to NetworkManager. + */ + public static void checkPrivateLinkServiceVisibility(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateLinkServices() + .checkPrivateLinkServiceVisibilityByResourceGroup("rg1", "westus", + new CheckPrivateLinkServiceVisibilityRequest() + .withPrivateLinkServiceAlias("mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilitySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilitySamples.java new file mode 100644 index 000000000000..37e60c188984 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilitySamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.CheckPrivateLinkServiceVisibilityRequest; + +/** + * Samples for PrivateLinkServices CheckPrivateLinkServiceVisibility. + */ +public final class PrivateLinkServicesCheckPrivateLinkServiceVisibilitySamples { + /* + * x-ms-original-file: 2025-05-01/CheckPrivateLinkServiceVisibility.json + */ + /** + * Sample code: Check private link service visibility. + * + * @param manager Entry point to NetworkManager. + */ + public static void checkPrivateLinkServiceVisibility(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateLinkServices() + .checkPrivateLinkServiceVisibility("westus", + new CheckPrivateLinkServiceVisibilityRequest() + .withPrivateLinkServiceAlias("mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..c969eea4e7bb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.PrivateLinkServiceInner; +import com.azure.resourcemanager.network.fluent.models.PrivateLinkServiceIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.IpAllocationMethod; +import com.azure.resourcemanager.network.models.IpVersion; +import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesAutoApproval; +import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesVisibility; +import java.util.Arrays; + +/** + * Samples for PrivateLinkServices CreateOrUpdate. + */ +public final class PrivateLinkServicesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateLinkServiceCreate.json + */ + /** + * Sample code: Create private link service. + * + * @param manager Entry point to NetworkManager. + */ + public static void createPrivateLinkService(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateLinkServices() + .createOrUpdate("rg1", "testPls", new PrivateLinkServiceInner().withLocation("eastus") + .withLoadBalancerFrontendIpConfigurations(Arrays.asList(new FrontendIpConfigurationInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"))) + .withIpConfigurations(Arrays.asList(new PrivateLinkServiceIpConfigurationInner().withName("fe-lb") + .withPrivateIpAddress("10.0.1.4") + .withPrivateIpAllocationMethod(IpAllocationMethod.STATIC) + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb")) + .withPrivateIpAddressVersion(IpVersion.IPV4))) + .withVisibility(new PrivateLinkServicePropertiesVisibility() + .withSubscriptions(Arrays.asList("subscription1", "subscription2", "subscription3"))) + .withAutoApproval(new PrivateLinkServicePropertiesAutoApproval() + .withSubscriptions(Arrays.asList("subscription1", "subscription2"))) + .withFqdns(Arrays.asList("fqdn1", "fqdn2", "fqdn3")), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesDeletePrivateEndpointConnectionSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesDeletePrivateEndpointConnectionSamples.java new file mode 100644 index 000000000000..f91020907f5d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesDeletePrivateEndpointConnectionSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateLinkServices DeletePrivateEndpointConnection. + */ +public final class PrivateLinkServicesDeletePrivateEndpointConnectionSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateLinkServiceDeletePrivateEndpointConnection.json + */ + /** + * Sample code: delete private end point connection for a private link service. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletePrivateEndPointConnectionForAPrivateLinkService( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateLinkServices() + .deletePrivateEndpointConnection("rg1", "testPls", "testPlePeConnection", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesDeleteSamples.java new file mode 100644 index 000000000000..ff02e5e011c6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateLinkServices Delete. + */ +public final class PrivateLinkServicesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateLinkServiceDelete.json + */ + /** + * Sample code: Delete private link service. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletePrivateLinkService(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPrivateLinkServices().delete("rg1", "testPls", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..aa63d155befd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for PrivateLinkServices GetByResourceGroup. + */ +public final class PrivateLinkServicesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateLinkServiceGet.json + */ + /** + * Sample code: Get private link service. + * + * @param manager Entry point to NetworkManager. + */ + public static void getPrivateLinkService(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateLinkServices() + .getByResourceGroupWithResponse("rg1", "testPls", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesGetPrivateEndpointConnectionSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesGetPrivateEndpointConnectionSamples.java new file mode 100644 index 000000000000..69f3a1d21852 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesGetPrivateEndpointConnectionSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateLinkServices GetPrivateEndpointConnection. + */ +public final class PrivateLinkServicesGetPrivateEndpointConnectionSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateLinkServiceGetPrivateEndpointConnection.json + */ + /** + * Sample code: Get private end point connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void getPrivateEndPointConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateLinkServices() + .getPrivateEndpointConnectionWithResponse("rg1", "testPls", "testPlePeConnection", null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSamples.java new file mode 100644 index 000000000000..3db857695e07 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateLinkServices ListAutoApprovedPrivateLinkServicesByResourceGroup. + */ +public final class PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/AutoApprovedPrivateLinkServicesResourceGroupGet.json + */ + /** + * Sample code: Get list of private link service id that can be linked to a private end point with auto approved. + * + * @param manager Entry point to NetworkManager. + */ + public static void getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWithAutoApproved( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateLinkServices() + .listAutoApprovedPrivateLinkServicesByResourceGroup("rg1", "regionName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesSamples.java new file mode 100644 index 000000000000..59b627702c1d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateLinkServices ListAutoApprovedPrivateLinkServices. + */ +public final class PrivateLinkServicesListAutoApprovedPrivateLinkServicesSamples { + /* + * x-ms-original-file: 2025-05-01/AutoApprovedPrivateLinkServicesGet.json + */ + /** + * Sample code: Get list of private link service id that can be linked to a private end point with auto approved. + * + * @param manager Entry point to NetworkManager. + */ + public static void getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWithAutoApproved( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateLinkServices() + .listAutoApprovedPrivateLinkServices("regionName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListByResourceGroupSamples.java new file mode 100644 index 000000000000..71538505d66b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateLinkServices ListByResourceGroup. + */ +public final class PrivateLinkServicesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateLinkServiceList.json + */ + /** + * Sample code: List private link service in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listPrivateLinkServiceInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPrivateLinkServices().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListPrivateEndpointConnectionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListPrivateEndpointConnectionsSamples.java new file mode 100644 index 000000000000..7fbaefcad036 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListPrivateEndpointConnectionsSamples.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.network.generated; + +/** + * Samples for PrivateLinkServices ListPrivateEndpointConnections. + */ +public final class PrivateLinkServicesListPrivateEndpointConnectionsSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateLinkServiceListPrivateEndpointConnection.json + */ + /** + * Sample code: List private link service in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listPrivateLinkServiceInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateLinkServices() + .listPrivateEndpointConnections("rg1", "testPls", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListSamples.java new file mode 100644 index 000000000000..dded140e65e6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PrivateLinkServices List. + */ +public final class PrivateLinkServicesListSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateLinkServiceListAll.json + */ + /** + * Sample code: List all private list service. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllPrivateListService(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPrivateLinkServices().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesUpdatePrivateEndpointConnectionSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesUpdatePrivateEndpointConnectionSamples.java new file mode 100644 index 000000000000..294f2fbd8cee --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesUpdatePrivateEndpointConnectionSamples.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.PrivateEndpointConnectionInner; +import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; + +/** + * Samples for PrivateLinkServices UpdatePrivateEndpointConnection. + */ +public final class PrivateLinkServicesUpdatePrivateEndpointConnectionSamples { + /* + * x-ms-original-file: 2025-05-01/PrivateLinkServiceUpdatePrivateEndpointConnection.json + */ + /** + * Sample code: approve or reject private end point connection for a private link service. + * + * @param manager Entry point to NetworkManager. + */ + public static void approveOrRejectPrivateEndPointConnectionForAPrivateLinkService( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPrivateLinkServices() + .updatePrivateEndpointConnectionWithResponse("rg1", "testPls", "testPlePeConnection", + new PrivateEndpointConnectionInner().withName("testPlePeConnection") + .withPrivateLinkServiceConnectionState( + new PrivateLinkServiceConnectionState().withStatus("Approved") + .withDescription("approved it for some reason.")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..f73af2f6cee2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesCreateOrUpdateSamples.java @@ -0,0 +1,107 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; +import com.azure.resourcemanager.network.models.IpAllocationMethod; +import com.azure.resourcemanager.network.models.IpVersion; +import com.azure.resourcemanager.network.models.PublicIPAddressSkuTier; +import com.azure.resourcemanager.network.models.PublicIpAddressDnsSettings; +import com.azure.resourcemanager.network.models.PublicIpAddressDnsSettingsDomainNameLabelScope; +import com.azure.resourcemanager.network.models.PublicIpAddressSku; +import com.azure.resourcemanager.network.models.PublicIpAddressSkuName; + +/** + * Samples for PublicIpAddresses CreateOrUpdate. + */ +public final class PublicIpAddressesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressCreateDns.json + */ + /** + * Sample code: Create public IP address DNS. + * + * @param manager Entry point to NetworkManager. + */ + public static void createPublicIPAddressDNS(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .createOrUpdate("rg1", "test-ip", + new PublicIpAddressInner().withLocation("eastus") + .withDnsSettings(new PublicIpAddressDnsSettings().withDomainNameLabel("dnslbl")), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressCreateCustomizedValues.json + */ + /** + * Sample code: Create public IP address allocation method. + * + * @param manager Entry point to NetworkManager. + */ + public static void createPublicIPAddressAllocationMethod(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .createOrUpdate("rg1", "test-ip", + new PublicIpAddressInner().withLocation("eastus") + .withSku(new PublicIpAddressSku().withName(PublicIpAddressSkuName.STANDARD) + .withTier(PublicIPAddressSkuTier.GLOBAL)) + .withPublicIpAllocationMethod(IpAllocationMethod.STATIC) + .withPublicIpAddressVersion(IpVersion.IPV4) + .withIdleTimeoutInMinutes(10), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressCreateDefaults.json + */ + /** + * Sample code: Create public IP address defaults. + * + * @param manager Entry point to NetworkManager. + */ + public static void createPublicIPAddressDefaults(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .createOrUpdate("rg1", "test-ip", new PublicIpAddressInner().withLocation("eastus"), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressCreateDnsWithDomainNameLabelScope.json + */ + /** + * Sample code: Create public IP address DNS with Domain Name Label Scope. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createPublicIPAddressDNSWithDomainNameLabelScope(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .createOrUpdate("rg1", "test-ip", + new PublicIpAddressInner().withLocation("eastus") + .withDnsSettings(new PublicIpAddressDnsSettings().withDomainNameLabel("dnslbl") + .withDomainNameLabelScope(PublicIpAddressDnsSettingsDomainNameLabelScope.TENANT_REUSE)), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressCreateDefaultsStandardV2Sku.json + */ + /** + * Sample code: Create public IP address defaults with StandardV2 Sku. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createPublicIPAddressDefaultsWithStandardV2Sku(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .createOrUpdate("rg1", "test-ip", new PublicIpAddressInner().withLocation("eastus"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDdosProtectionStatusSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDdosProtectionStatusSamples.java new file mode 100644 index 000000000000..15ce89f73d76 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDdosProtectionStatusSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpAddresses DdosProtectionStatus. + */ +public final class PublicIpAddressesDdosProtectionStatusSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressGetDdosProtectionStatus.json + */ + /** + * Sample code: Get Ddos Protection Status of a Public IP Address. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getDdosProtectionStatusOfAPublicIPAddress(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .ddosProtectionStatus("rg1", "test-pip", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDeleteSamples.java new file mode 100644 index 000000000000..a64e30d4debf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpAddresses Delete. + */ +public final class PublicIpAddressesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressDelete.json + */ + /** + * Sample code: Delete public IP address. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletePublicIPAddress(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPublicIpAddresses().delete("rg1", "test-ip", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDisassociateCloudServiceReservedPublicIpSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDisassociateCloudServiceReservedPublicIpSamples.java new file mode 100644 index 000000000000..7163a0dd98f7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesDisassociateCloudServiceReservedPublicIpSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.DisassociateCloudServicePublicIpRequest; + +/** + * Samples for PublicIpAddresses DisassociateCloudServiceReservedPublicIp. + */ +public final class PublicIpAddressesDisassociateCloudServiceReservedPublicIpSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressDisassociateCloudServiceReservedPublicIp.json + */ + /** + * Sample code: Disassociate public IP address. + * + * @param manager Entry point to NetworkManager. + */ + public static void disassociatePublicIPAddress(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .disassociateCloudServiceReservedPublicIp("rg1", "pip1", + new DisassociateCloudServicePublicIpRequest().withPublicIpArmId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/publicIpAddresses/pip2"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..e2246e1b9f14 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetByResourceGroupSamples.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpAddresses GetByResourceGroup. + */ +public final class PublicIpAddressesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressGet.json + */ + /** + * Sample code: Get public IP address. + * + * @param manager Entry point to NetworkManager. + */ + public static void getPublicIPAddress(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .getByResourceGroupWithResponse("rg1", "testDNS-ip", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressGetStandardV2Sku.json + */ + /** + * Sample code: Get public IP address with StandardV2 sku. + * + * @param manager Entry point to NetworkManager. + */ + public static void getPublicIPAddressWithStandardV2Sku(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .getByResourceGroupWithResponse("rg1", "testDNS-ip", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIPAddressSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIPAddressSamples.java new file mode 100644 index 000000000000..c78a46a3d2a9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIPAddressSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpAddresses GetCloudServicePublicIPAddress. + */ +public final class PublicIpAddressesGetCloudServicePublicIPAddressSamples { + /* + * x-ms-original-file: 2025-05-01/CloudServicePublicIpGet.json + */ + /** + * Sample code: GetVMSSPublicIP. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVMSSPublicIP(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .getCloudServicePublicIPAddressWithResponse("cs-tester", "cs1", "Test_VM_0", "nic1", "ip1", "pub1", null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListByResourceGroupSamples.java new file mode 100644 index 000000000000..b7ac80712da3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpAddresses ListByResourceGroup. + */ +public final class PublicIpAddressesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressList.json + */ + /** + * Sample code: List resource group public IP addresses. + * + * @param manager Entry point to NetworkManager. + */ + public static void listResourceGroupPublicIPAddresses(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPublicIpAddresses().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIPAddressesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIPAddressesSamples.java new file mode 100644 index 000000000000..96f3c272fba2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIPAddressesSamples.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.network.generated; + +/** + * Samples for PublicIpAddresses ListCloudServicePublicIPAddresses. + */ +public final class PublicIpAddressesListCloudServicePublicIPAddressesSamples { + /* + * x-ms-original-file: 2025-05-01/CloudServicePublicIpListAll.json + */ + /** + * Sample code: ListVMSSPublicIP. + * + * @param manager Entry point to NetworkManager. + */ + public static void listVMSSPublicIP(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .listCloudServicePublicIPAddresses("cs-tester", "cs1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java new file mode 100644 index 000000000000..7292b3698d07 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpAddresses ListCloudServiceRoleInstancePublicIPAddresses. + */ +public final class PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples { + /* + * x-ms-original-file: 2025-05-01/CloudServiceRoleInstancePublicIpList.json + */ + /** + * Sample code: ListVMSSVMPublicIP. + * + * @param manager Entry point to NetworkManager. + */ + public static void listVMSSVMPublicIP(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .listCloudServiceRoleInstancePublicIPAddresses("cs-tester", "cs1", "Test_VM_0", "nic1", "ip1", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListSamples.java new file mode 100644 index 000000000000..27002673729f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpAddresses List. + */ +public final class PublicIpAddressesListSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressListAll.json + */ + /** + * Sample code: List all public IP addresses. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllPublicIPAddresses(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPublicIpAddresses().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesReserveCloudServicePublicIpAddressSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesReserveCloudServicePublicIpAddressSamples.java new file mode 100644 index 000000000000..cb7f3c0f456a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesReserveCloudServicePublicIpAddressSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.IsRollback; +import com.azure.resourcemanager.network.models.ReserveCloudServicePublicIpAddressRequest; + +/** + * Samples for PublicIpAddresses ReserveCloudServicePublicIpAddress. + */ +public final class PublicIpAddressesReserveCloudServicePublicIpAddressSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressReserve.json + */ + /** + * Sample code: Reserve public IP address. + * + * @param manager Entry point to NetworkManager. + */ + public static void reservePublicIPAddress(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .reserveCloudServicePublicIpAddress("rg1", "test-ip", + new ReserveCloudServicePublicIpAddressRequest().withIsRollback(IsRollback.FALSE), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesUpdateTagsSamples.java new file mode 100644 index 000000000000..b21ffd2e981b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for PublicIpAddresses UpdateTags. + */ +public final class PublicIpAddressesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpAddressUpdateTags.json + */ + /** + * Sample code: Update public IP address tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updatePublicIPAddressTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpAddresses() + .updateTagsWithResponse("rg1", "test-ip", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..3f0dcc260de0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesCreateOrUpdateSamples.java @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.PublicIpPrefixInner; +import com.azure.resourcemanager.network.models.IpVersion; +import com.azure.resourcemanager.network.models.PublicIPPrefixSkuName; +import com.azure.resourcemanager.network.models.PublicIPPrefixSkuTier; +import com.azure.resourcemanager.network.models.PublicIpPrefixSku; + +/** + * Samples for PublicIpPrefixes CreateOrUpdate. + */ +public final class PublicIpPrefixesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpPrefixCreateDefaultsStandardV2Sku.json + */ + /** + * Sample code: Create public IP prefix defaults with StandardV2 Sku. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createPublicIPPrefixDefaultsWithStandardV2Sku(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpPrefixes() + .createOrUpdate("rg1", "test-ipprefix", + new PublicIpPrefixInner().withLocation("westus") + .withSku(new PublicIpPrefixSku().withName(PublicIPPrefixSkuName.STANDARD_V2)) + .withPrefixLength(30), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PublicIpPrefixCreateDefaults.json + */ + /** + * Sample code: Create public IP prefix defaults. + * + * @param manager Entry point to NetworkManager. + */ + public static void createPublicIPPrefixDefaults(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpPrefixes() + .createOrUpdate("rg1", "test-ipprefix", + new PublicIpPrefixInner().withLocation("westus") + .withSku(new PublicIpPrefixSku().withName(PublicIPPrefixSkuName.STANDARD)) + .withPrefixLength(30), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PublicIpPrefixCreateCustomizedValues.json + */ + /** + * Sample code: Create public IP prefix allocation method. + * + * @param manager Entry point to NetworkManager. + */ + public static void createPublicIPPrefixAllocationMethod(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpPrefixes() + .createOrUpdate("rg1", "test-ipprefix", + new PublicIpPrefixInner().withLocation("westus") + .withSku(new PublicIpPrefixSku().withName(PublicIPPrefixSkuName.STANDARD) + .withTier(PublicIPPrefixSkuTier.REGIONAL)) + .withPublicIpAddressVersion(IpVersion.IPV4) + .withPrefixLength(30), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesDeleteSamples.java new file mode 100644 index 000000000000..761e01682478 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpPrefixes Delete. + */ +public final class PublicIpPrefixesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpPrefixDelete.json + */ + /** + * Sample code: Delete public IP prefix. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletePublicIPPrefix(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPublicIpPrefixes().delete("rg1", "test-ipprefix", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..94707440329a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesGetByResourceGroupSamples.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpPrefixes GetByResourceGroup. + */ +public final class PublicIpPrefixesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpPrefixGetStandardV2Sku.json + */ + /** + * Sample code: Get public IP prefix with StandardV2 sku. + * + * @param manager Entry point to NetworkManager. + */ + public static void getPublicIPPrefixWithStandardV2Sku(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpPrefixes() + .getByResourceGroupWithResponse("rg1", "test-ipprefix", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/PublicIpPrefixGet.json + */ + /** + * Sample code: Get public IP prefix. + * + * @param manager Entry point to NetworkManager. + */ + public static void getPublicIPPrefix(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpPrefixes() + .getByResourceGroupWithResponse("rg1", "test-ipprefix", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesListByResourceGroupSamples.java new file mode 100644 index 000000000000..e21f930ff53e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpPrefixes ListByResourceGroup. + */ +public final class PublicIpPrefixesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpPrefixList.json + */ + /** + * Sample code: List resource group public IP prefixes. + * + * @param manager Entry point to NetworkManager. + */ + public static void listResourceGroupPublicIPPrefixes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPublicIpPrefixes().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesListSamples.java new file mode 100644 index 000000000000..3e09999a61f6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for PublicIpPrefixes List. + */ +public final class PublicIpPrefixesListSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpPrefixListAll.json + */ + /** + * Sample code: List all public IP prefixes. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllPublicIPPrefixes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getPublicIpPrefixes().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesUpdateTagsSamples.java new file mode 100644 index 000000000000..3295528311fd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpPrefixesUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for PublicIpPrefixes UpdateTags. + */ +public final class PublicIpPrefixesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/PublicIpPrefixUpdateTags.json + */ + /** + * Sample code: Update public IP prefix tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updatePublicIPPrefixTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getPublicIpPrefixes() + .updateTagsWithResponse("rg1", "test-ipprefix", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsCreateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsCreateSamples.java new file mode 100644 index 000000000000..5213c73a258b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsCreateSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ReachabilityAnalysisIntentInner; +import com.azure.resourcemanager.network.models.IPTraffic; +import com.azure.resourcemanager.network.models.NetworkProtocol; +import com.azure.resourcemanager.network.models.ReachabilityAnalysisIntentProperties; +import java.util.Arrays; + +/** + * Samples for ReachabilityAnalysisIntents Create. + */ +public final class ReachabilityAnalysisIntentsCreateSamples { + /* + * x-ms-original-file: 2025-05-01/ReachabilityAnalysisIntentPut.json + */ + /** + * Sample code: ReachabilityAnalysisIntentCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void reachabilityAnalysisIntentCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getReachabilityAnalysisIntents() + .createWithResponse("rg1", "testNetworkManager", "testWorkspace", "testAnalysisIntentName", + new ReachabilityAnalysisIntentInner().withProperties(new ReachabilityAnalysisIntentProperties() + .withDescription("A sample reachability analysis intent") + .withSourceResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc") + .withDestinationResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest") + .withIpTraffic(new IPTraffic().withSourceIps(Arrays.asList("10.4.0.0")) + .withDestinationIps(Arrays.asList("10.4.0.1")) + .withSourcePorts(Arrays.asList("0")) + .withDestinationPorts(Arrays.asList("0")) + .withProtocols(Arrays.asList(NetworkProtocol.ANY)))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsDeleteSamples.java new file mode 100644 index 000000000000..ad9f64b36cd7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ReachabilityAnalysisIntents Delete. + */ +public final class ReachabilityAnalysisIntentsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ReachabilityAnalysisIntentDelete.json + */ + /** + * Sample code: ReachabilityAnalysisIntentDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void reachabilityAnalysisIntentDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getReachabilityAnalysisIntents() + .deleteWithResponse("rg1", "testNetworkManager", "testWorkspace", "testAnalysisIntent", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsGetSamples.java new file mode 100644 index 000000000000..7e1eddf83e1a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ReachabilityAnalysisIntents Get. + */ +public final class ReachabilityAnalysisIntentsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ReachabilityAnalysisIntentGet.json + */ + /** + * Sample code: ReachabilityAnalysisIntentGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void reachabilityAnalysisIntentGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getReachabilityAnalysisIntents() + .getWithResponse("rg1", "testNetworkManager", "testWorkspace", "testAnalysisIntentName", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsListSamples.java new file mode 100644 index 000000000000..dad3335e65ff --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisIntentsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ReachabilityAnalysisIntents List. + */ +public final class ReachabilityAnalysisIntentsListSamples { + /* + * x-ms-original-file: 2025-05-01/ReachabilityAnalysisIntentList.json + */ + /** + * Sample code: ReachabilityAnalysisIntentList. + * + * @param manager Entry point to NetworkManager. + */ + public static void reachabilityAnalysisIntentList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getReachabilityAnalysisIntents() + .list("rg1", "testNetworkManager", "testVerifierWorkspace1", null, null, null, null, null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsCreateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsCreateSamples.java new file mode 100644 index 000000000000..45086aef5ed7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsCreateSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ReachabilityAnalysisRunInner; +import com.azure.resourcemanager.network.models.ReachabilityAnalysisRunProperties; + +/** + * Samples for ReachabilityAnalysisRuns Create. + */ +public final class ReachabilityAnalysisRunsCreateSamples { + /* + * x-ms-original-file: 2025-05-01/ReachabilityAnalysisRunPut.json + */ + /** + * Sample code: ReachabilityAnalysisRunCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void reachabilityAnalysisRunCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getReachabilityAnalysisRuns() + .createWithResponse("rg1", "testNetworkManager", "testWorkspace", "testAnalysisRunName", + new ReachabilityAnalysisRunInner().withProperties(new ReachabilityAnalysisRunProperties() + .withDescription("A sample reachability analysis run") + .withIntentId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsDeleteSamples.java new file mode 100644 index 000000000000..67ca752ad786 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsDeleteSamples.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.network.generated; + +/** + * Samples for ReachabilityAnalysisRuns Delete. + */ +public final class ReachabilityAnalysisRunsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ReachabilityAnalysisRunDelete.json + */ + /** + * Sample code: ReachabilityAnalysisRunDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void reachabilityAnalysisRunDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getReachabilityAnalysisRuns() + .delete("rg1", "testNetworkManager", "testWorkspace", "testAnalysisRun", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsGetSamples.java new file mode 100644 index 000000000000..f3528b779c30 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ReachabilityAnalysisRuns Get. + */ +public final class ReachabilityAnalysisRunsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ReachabilityAnalysisRunGet.json + */ + /** + * Sample code: ReachabilityAnalysisRunGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void reachabilityAnalysisRunGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getReachabilityAnalysisRuns() + .getWithResponse("rg1", "testNetworkManager", "testWorkspace", "testAnalysisRunName", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsListSamples.java new file mode 100644 index 000000000000..d2ea10d5825a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ReachabilityAnalysisRunsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ReachabilityAnalysisRuns List. + */ +public final class ReachabilityAnalysisRunsListSamples { + /* + * x-ms-original-file: 2025-05-01/ReachabilityAnalysisRunList.json + */ + /** + * Sample code: ReachabilityAnalysisRunList. + * + * @param manager Entry point to NetworkManager. + */ + public static void reachabilityAnalysisRunList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getReachabilityAnalysisRuns() + .list("rg1", "testNetworkManager", "testVerifierWorkspace1", null, null, null, null, null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ResourceNavigationLinksListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ResourceNavigationLinksListSamples.java new file mode 100644 index 000000000000..9960a904aaef --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ResourceNavigationLinksListSamples.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.network.generated; + +/** + * Samples for ResourceNavigationLinks List. + */ +public final class ResourceNavigationLinksListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGetResourceNavigationLinks.json + */ + /** + * Sample code: Get Resource Navigation Links. + * + * @param manager Entry point to NetworkManager. + */ + public static void getResourceNavigationLinks(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getResourceNavigationLinks() + .listWithResponse("rg1", "vnet", "subnet", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..c9fd983449c9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesCreateOrUpdateSamples.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.RouteFilterRuleInner; +import com.azure.resourcemanager.network.models.Access; +import com.azure.resourcemanager.network.models.RouteFilterRuleType; +import java.util.Arrays; + +/** + * Samples for RouteFilterRules CreateOrUpdate. + */ +public final class RouteFilterRulesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/RouteFilterRuleCreate.json + */ + /** + * Sample code: RouteFilterRuleCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeFilterRuleCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteFilterRules() + .createOrUpdate("rg1", "filterName", "ruleName", + new RouteFilterRuleInner().withAccess(Access.ALLOW) + .withRouteFilterRuleType(RouteFilterRuleType.COMMUNITY) + .withCommunities(Arrays.asList("12076:5030", "12076:5040")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesDeleteSamples.java new file mode 100644 index 000000000000..7d2c21ef4bd8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesDeleteSamples.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.network.generated; + +/** + * Samples for RouteFilterRules Delete. + */ +public final class RouteFilterRulesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/RouteFilterRuleDelete.json + */ + /** + * Sample code: RouteFilterRuleDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeFilterRuleDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteFilterRules() + .delete("rg1", "filterName", "ruleName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesGetSamples.java new file mode 100644 index 000000000000..306f0919a5dd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesGetSamples.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.network.generated; + +/** + * Samples for RouteFilterRules Get. + */ +public final class RouteFilterRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/RouteFilterRuleGet.json + */ + /** + * Sample code: RouteFilterRuleGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeFilterRuleGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteFilterRules() + .getWithResponse("rg1", "filterName", "filterName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesListByRouteFilterSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesListByRouteFilterSamples.java new file mode 100644 index 000000000000..fd4cc7d451c2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFilterRulesListByRouteFilterSamples.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.network.generated; + +/** + * Samples for RouteFilterRules ListByRouteFilter. + */ +public final class RouteFilterRulesListByRouteFilterSamples { + /* + * x-ms-original-file: 2025-05-01/RouteFilterRuleListByRouteFilter.json + */ + /** + * Sample code: RouteFilterRuleListByRouteFilter. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeFilterRuleListByRouteFilter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteFilterRules() + .listByRouteFilter("rg1", "filterName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersCreateOrUpdateSamples.java new file mode 100644 index 000000000000..820688fdd51a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.RouteFilterInner; +import com.azure.resourcemanager.network.fluent.models.RouteFilterRuleInner; +import com.azure.resourcemanager.network.models.Access; +import com.azure.resourcemanager.network.models.RouteFilterRuleType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for RouteFilters CreateOrUpdate. + */ +public final class RouteFiltersCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/RouteFilterCreate.json + */ + /** + * Sample code: RouteFilterCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeFilterCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteFilters() + .createOrUpdate("rg1", "filterName", + new RouteFilterInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withRules(Arrays.asList(new RouteFilterRuleInner().withName("ruleName") + .withAccess(Access.ALLOW) + .withRouteFilterRuleType(RouteFilterRuleType.COMMUNITY) + .withCommunities(Arrays.asList("12076:5030", "12076:5040")))), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersDeleteSamples.java new file mode 100644 index 000000000000..17efbcfe3ed9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RouteFilters Delete. + */ +public final class RouteFiltersDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/RouteFilterDelete.json + */ + /** + * Sample code: RouteFilterDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeFilterDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getRouteFilters().delete("rg1", "filterName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersGetByResourceGroupSamples.java new file mode 100644 index 000000000000..dbc5a260ae8a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for RouteFilters GetByResourceGroup. + */ +public final class RouteFiltersGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/RouteFilterGet.json + */ + /** + * Sample code: RouteFilterGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeFilterGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteFilters() + .getByResourceGroupWithResponse("rg1", "filterName", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersListByResourceGroupSamples.java new file mode 100644 index 000000000000..bbeab3f5535a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RouteFilters ListByResourceGroup. + */ +public final class RouteFiltersListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/RouteFilterListByResourceGroup.json + */ + /** + * Sample code: RouteFilterListByResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeFilterListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getRouteFilters().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersListSamples.java new file mode 100644 index 000000000000..41525e8b60cf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RouteFilters List. + */ +public final class RouteFiltersListSamples { + /* + * x-ms-original-file: 2025-05-01/RouteFilterList.json + */ + /** + * Sample code: RouteFilterList. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeFilterList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getRouteFilters().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersUpdateTagsSamples.java new file mode 100644 index 000000000000..747548a9a0f6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteFiltersUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for RouteFilters UpdateTags. + */ +public final class RouteFiltersUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/RouteFilterUpdateTags.json + */ + /** + * Sample code: Update route filter tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateRouteFilterTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteFilters() + .updateTagsWithResponse("rg1", "filterName", + new TagsObject().withTags(mapOf("key1", "fakeTokenPlaceholder")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..0d956a3007fb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsCreateOrUpdateSamples.java @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.RouteMapInner; +import com.azure.resourcemanager.network.models.Action; +import com.azure.resourcemanager.network.models.Criterion; +import com.azure.resourcemanager.network.models.NextStep; +import com.azure.resourcemanager.network.models.Parameter; +import com.azure.resourcemanager.network.models.RouteMapActionType; +import com.azure.resourcemanager.network.models.RouteMapMatchCondition; +import com.azure.resourcemanager.network.models.RouteMapRule; +import java.util.Arrays; + +/** + * Samples for RouteMaps CreateOrUpdate. + */ +public final class RouteMapsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/RouteMapPut.json + */ + /** + * Sample code: RouteMapPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeMapPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteMaps() + .createOrUpdate("rg1", "virtualHub1", "routeMap1", + new RouteMapInner().withAssociatedInboundConnections(Arrays.asList( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1")) + .withAssociatedOutboundConnections(Arrays.asList()) + .withRules(Arrays.asList(new RouteMapRule().withName("rule1") + .withMatchCriteria(Arrays.asList(new Criterion().withRoutePrefix(Arrays.asList("10.0.0.0/8")) + .withCommunity(Arrays.asList()) + .withAsPath(Arrays.asList()) + .withMatchCondition(RouteMapMatchCondition.CONTAINS))) + .withActions(Arrays.asList(new Action().withType(RouteMapActionType.ADD) + .withParameters(Arrays.asList(new Parameter().withRoutePrefix(Arrays.asList()) + .withCommunity(Arrays.asList()) + .withAsPath(Arrays.asList("22334")))))) + .withNextStepIfMatched(NextStep.CONTINUE))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsDeleteSamples.java new file mode 100644 index 000000000000..2285d11b7dce --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsDeleteSamples.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.network.generated; + +/** + * Samples for RouteMaps Delete. + */ +public final class RouteMapsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/RouteMapDelete.json + */ + /** + * Sample code: RouteMapDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeMapDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteMaps() + .delete("rg1", "virtualHub1", "routeMap1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsGetSamples.java new file mode 100644 index 000000000000..0d7ed8d4e59e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsGetSamples.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.network.generated; + +/** + * Samples for RouteMaps Get. + */ +public final class RouteMapsGetSamples { + /* + * x-ms-original-file: 2025-05-01/RouteMapGet.json + */ + /** + * Sample code: RouteMapGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeMapGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteMaps() + .getWithResponse("rg1", "virtualHub1", "routeMap1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsListSamples.java new file mode 100644 index 000000000000..3f0b7012de3c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteMapsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RouteMaps List. + */ +public final class RouteMapsListSamples { + /* + * x-ms-original-file: 2025-05-01/RouteMapList.json + */ + /** + * Sample code: RouteMapList. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeMapList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getRouteMaps().list("rg1", "virtualHub1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..42fc6a50d545 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesCreateOrUpdateSamples.java @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.RouteInner; +import com.azure.resourcemanager.network.fluent.models.RouteTableInner; +import com.azure.resourcemanager.network.models.RouteNextHopType; +import java.util.Arrays; + +/** + * Samples for RouteTables CreateOrUpdate. + */ +public final class RouteTablesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/RouteTableCreate.json + */ + /** + * Sample code: Create route table. + * + * @param manager Entry point to NetworkManager. + */ + public static void createRouteTable(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteTables() + .createOrUpdate("rg1", "testrt", new RouteTableInner().withLocation("westus"), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/RouteTableCreateWithRoute.json + */ + /** + * Sample code: Create route table with route. + * + * @param manager Entry point to NetworkManager. + */ + public static void createRouteTableWithRoute(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteTables() + .createOrUpdate("rg1", "testrt", + new RouteTableInner().withLocation("westus") + .withRoutes(Arrays.asList(new RouteInner().withName("route1") + .withAddressPrefix("10.0.3.0/24") + .withNextHopType(RouteNextHopType.VIRTUAL_NETWORK_GATEWAY))) + .withDisableBgpRoutePropagation(true), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesDeleteSamples.java new file mode 100644 index 000000000000..01a2ecce71e7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RouteTables Delete. + */ +public final class RouteTablesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/RouteTableDelete.json + */ + /** + * Sample code: Delete route table. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteRouteTable(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getRouteTables().delete("rg1", "testrt", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..26dec27071ec --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for RouteTables GetByResourceGroup. + */ +public final class RouteTablesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/RouteTableGet.json + */ + /** + * Sample code: Get route table. + * + * @param manager Entry point to NetworkManager. + */ + public static void getRouteTable(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteTables() + .getByResourceGroupWithResponse("rg1", "testrt", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesListByResourceGroupSamples.java new file mode 100644 index 000000000000..62e175560987 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RouteTables ListByResourceGroup. + */ +public final class RouteTablesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/RouteTableList.json + */ + /** + * Sample code: List route tables in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listRouteTablesInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getRouteTables().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesListSamples.java new file mode 100644 index 000000000000..06b2cdba9ded --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RouteTables List. + */ +public final class RouteTablesListSamples { + /* + * x-ms-original-file: 2025-05-01/RouteTableListAll.json + */ + /** + * Sample code: List all route tables. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllRouteTables(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getRouteTables().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesUpdateTagsSamples.java new file mode 100644 index 000000000000..da7a788d9244 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RouteTablesUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for RouteTables UpdateTags. + */ +public final class RouteTablesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/RouteTableUpdateTags.json + */ + /** + * Sample code: Update route table tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateRouteTableTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRouteTables() + .updateTagsWithResponse("rg1", "testrt", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..7812d50c413d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesCreateOrUpdateSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.RouteInner; +import com.azure.resourcemanager.network.models.RouteNextHopType; + +/** + * Samples for Routes CreateOrUpdate. + */ +public final class RoutesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/RouteTableRouteCreate.json + */ + /** + * Sample code: Create route. + * + * @param manager Entry point to NetworkManager. + */ + public static void createRoute(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutes() + .createOrUpdate("rg1", "testrt", "route1", new RouteInner().withAddressPrefix("10.0.3.0/24") + .withNextHopType(RouteNextHopType.VIRTUAL_NETWORK_GATEWAY), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesDeleteSamples.java new file mode 100644 index 000000000000..d3fd3df02b3d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for Routes Delete. + */ +public final class RoutesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/RouteTableRouteDelete.json + */ + /** + * Sample code: Delete route. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteRoute(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getRoutes().delete("rg1", "testrt", "route1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesGetSamples.java new file mode 100644 index 000000000000..02637fdacfa3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesGetSamples.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.network.generated; + +/** + * Samples for Routes Get. + */ +public final class RoutesGetSamples { + /* + * x-ms-original-file: 2025-05-01/RouteTableRouteGet.json + */ + /** + * Sample code: Get route. + * + * @param manager Entry point to NetworkManager. + */ + public static void getRoute(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutes() + .getWithResponse("rg1", "testrt", "route1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesListSamples.java new file mode 100644 index 000000000000..57614860cff9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for Routes List. + */ +public final class RoutesListSamples { + /* + * x-ms-original-file: 2025-05-01/RouteTableRouteList.json + */ + /** + * Sample code: List routes. + * + * @param manager Entry point to NetworkManager. + */ + public static void listRoutes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getRoutes().list("rg1", "testrt", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentCreateOrUpdateSamples.java new file mode 100644 index 000000000000..4ac60b7e16f2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.RoutingIntentInner; +import com.azure.resourcemanager.network.models.RoutingPolicy; +import java.util.Arrays; + +/** + * Samples for RoutingIntent CreateOrUpdate. + */ +public final class RoutingIntentCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/RoutingIntentPut.json + */ + /** + * Sample code: RouteTablePut. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeTablePut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingIntents() + .createOrUpdate("rg1", "virtualHub1", "Intent1", new RoutingIntentInner().withRoutingPolicies(Arrays.asList( + new RoutingPolicy().withName("InternetTraffic") + .withDestinations(Arrays.asList("Internet")) + .withNextHop( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1"), + new RoutingPolicy().withName("PrivateTrafficPolicy") + .withDestinations(Arrays.asList("PrivateTraffic")) + .withNextHop( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentDeleteSamples.java new file mode 100644 index 000000000000..8df01b2a0418 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentDeleteSamples.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.network.generated; + +/** + * Samples for RoutingIntent Delete. + */ +public final class RoutingIntentDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/RoutingIntentDelete.json + */ + /** + * Sample code: RouteTableDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeTableDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingIntents() + .delete("rg1", "virtualHub1", "Intent1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentGetSamples.java new file mode 100644 index 000000000000..3e15380ae580 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentGetSamples.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.network.generated; + +/** + * Samples for RoutingIntent Get. + */ +public final class RoutingIntentGetSamples { + /* + * x-ms-original-file: 2025-05-01/RoutingIntentGet.json + */ + /** + * Sample code: RouteTableGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void routeTableGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingIntents() + .getWithResponse("rg1", "virtualHub1", "Intent1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentListSamples.java new file mode 100644 index 000000000000..6090b2a226e5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingIntentListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RoutingIntent List. + */ +public final class RoutingIntentListSamples { + /* + * x-ms-original-file: 2025-05-01/RoutingIntentList.json + */ + /** + * Sample code: RoutingIntentList. + * + * @param manager Entry point to NetworkManager. + */ + public static void routingIntentList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getRoutingIntents().list("rg1", "virtualHub1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..6eec68a37d0e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsCreateOrUpdateSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.RoutingRuleCollectionInner; +import com.azure.resourcemanager.network.models.NetworkManagerRoutingGroupItem; +import java.util.Arrays; + +/** + * Samples for RoutingRuleCollections CreateOrUpdate. + */ +public final class RoutingRuleCollectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingRuleCollectionPut.json + */ + /** + * Sample code: Create or Update a routing rule collection. + * + * @param manager Entry point to NetworkManager. + */ + public static void createOrUpdateARoutingRuleCollection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingRuleCollections() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestRoutingConfig", "testRuleCollection", + new RoutingRuleCollectionInner().withDescription("A sample policy") + .withAppliesTo(Arrays.asList(new NetworkManagerRoutingGroupItem().withNetworkGroupId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsDeleteSamples.java new file mode 100644 index 000000000000..bbb7fc3333f0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RoutingRuleCollections Delete. + */ +public final class RoutingRuleCollectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingRuleCollectionDelete.json + */ + /** + * Sample code: Deletes an routing rule collection. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletesAnRoutingRuleCollection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingRuleCollections() + .delete("rg1", "testNetworkManager", "myTestRoutingConfig", "testRuleCollection", null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsGetSamples.java new file mode 100644 index 000000000000..c3a1dab3d30f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RoutingRuleCollections Get. + */ +public final class RoutingRuleCollectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingRuleCollectionGet.json + */ + /** + * Sample code: Gets routing rule collection. + * + * @param manager Entry point to NetworkManager. + */ + public static void getsRoutingRuleCollection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingRuleCollections() + .getWithResponse("rg1", "testNetworkManager", "myTestRoutingConfig", "testRuleCollection", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsListSamples.java new file mode 100644 index 000000000000..d1b9650c0e2a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRuleCollectionsListSamples.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.network.generated; + +/** + * Samples for RoutingRuleCollections List. + */ +public final class RoutingRuleCollectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingRuleCollectionList.json + */ + /** + * Sample code: List routing rule collections. + * + * @param manager Entry point to NetworkManager. + */ + public static void listRoutingRuleCollections(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingRuleCollections() + .list("rg1", "testNetworkManager", "myTestRoutingConfig", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..0095605c69bb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesCreateOrUpdateSamples.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.RoutingRuleInner; +import com.azure.resourcemanager.network.models.RoutingRuleDestinationType; +import com.azure.resourcemanager.network.models.RoutingRuleNextHop; +import com.azure.resourcemanager.network.models.RoutingRuleNextHopType; +import com.azure.resourcemanager.network.models.RoutingRuleRouteDestination; + +/** + * Samples for RoutingRules CreateOrUpdate. + */ +public final class RoutingRulesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingRulePut.json + */ + /** + * Sample code: Create an routing rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void createAnRoutingRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingRules() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestRoutingConfig", "testRuleCollection", + "SampleRoutingRule", + new RoutingRuleInner().withDescription("This is Sample Routing Rule") + .withDestination( + new RoutingRuleRouteDestination().withType(RoutingRuleDestinationType.ADDRESS_PREFIX) + .withDestinationAddress("10.0.0.0/16")) + .withNextHop( + new RoutingRuleNextHop().withNextHopType(RoutingRuleNextHopType.VIRTUAL_NETWORK_GATEWAY)), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesDeleteSamples.java new file mode 100644 index 000000000000..757e8d55fee6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RoutingRules Delete. + */ +public final class RoutingRulesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingRuleDelete.json + */ + /** + * Sample code: Deletes a routing rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletesARoutingRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingRules() + .delete("rg1", "testNetworkManager", "myTestRoutingConfig", "testRuleCollection", "sampleRule", false, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesGetSamples.java new file mode 100644 index 000000000000..7183d61d0391 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RoutingRules Get. + */ +public final class RoutingRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingRuleGet.json + */ + /** + * Sample code: Gets routing rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void getsRoutingRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingRules() + .getWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + "SampleRoutingRule", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesListSamples.java new file mode 100644 index 000000000000..3536a9c29fee --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/RoutingRulesListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for RoutingRules List. + */ +public final class RoutingRulesListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerRoutingRuleList.json + */ + /** + * Sample code: List routing rules. + * + * @param manager Entry point to NetworkManager. + */ + public static void listRoutingRules(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getRoutingRules() + .list("rg1", "testNetworkManager", "myTestRoutingConfig", "testRuleCollection", null, null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..89b26da73320 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ScopeConnectionInner; + +/** + * Samples for ScopeConnections CreateOrUpdate. + */ +public final class ScopeConnectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerScopeConnectionPut.json + */ + /** + * Sample code: Create or Update Network Manager Scope Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createOrUpdateNetworkManagerScopeConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getScopeConnections() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "TestScopeConnection", + new ScopeConnectionInner().withTenantId("6babcaad-604b-40ac-a9d7-9fd97c0b779f") + .withResourceId("subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b") + .withDescription("This is a scope connection to a cross tenant subscription."), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsDeleteSamples.java new file mode 100644 index 000000000000..57f2da72b9a6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsDeleteSamples.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.network.generated; + +/** + * Samples for ScopeConnections Delete. + */ +public final class ScopeConnectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerScopeConnectionDelete.json + */ + /** + * Sample code: Delete Network Manager Scope Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteNetworkManagerScopeConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getScopeConnections() + .deleteWithResponse("rg1", "testNetworkManager", "TestScopeConnection", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsGetSamples.java new file mode 100644 index 000000000000..d29c52675695 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsGetSamples.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.network.generated; + +/** + * Samples for ScopeConnections Get. + */ +public final class ScopeConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerScopeConnectionGet.json + */ + /** + * Sample code: Get Network Manager Scope Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNetworkManagerScopeConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getScopeConnections() + .getWithResponse("rg1", "testNetworkManager", "TestScopeConnection", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsListSamples.java new file mode 100644 index 000000000000..f6044153d0f5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ScopeConnectionsListSamples.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.network.generated; + +/** + * Samples for ScopeConnections List. + */ +public final class ScopeConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerScopeConnectionList.json + */ + /** + * Sample code: List Network Manager Scope Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void listNetworkManagerScopeConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getScopeConnections() + .list("rg1", "testNetworkManager", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..b90c587ae40f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsCreateOrUpdateSamples.java @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.SecurityAdminConfigurationInner; +import com.azure.resourcemanager.network.models.AddressSpaceAggregationOption; +import com.azure.resourcemanager.network.models.NetworkIntentPolicyBasedService; +import java.util.Arrays; + +/** + * Samples for SecurityAdminConfigurations CreateOrUpdate. + */ +public final class SecurityAdminConfigurationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityAdminConfigurationPut_ManualAggregation.json + */ + /** + * Sample code: Create manual-mode security admin configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createManualModeSecurityAdminConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityAdminConfigurations() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", + new SecurityAdminConfigurationInner() + .withDescription( + "A configuration which will update any network groups ip addresses at commit times.") + .withNetworkGroupAddressSpaceAggregationOption(AddressSpaceAggregationOption.MANUAL), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityAdminConfigurationPut.json + */ + /** + * Sample code: Create network manager security admin configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createNetworkManagerSecurityAdminConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityAdminConfigurations() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", + new SecurityAdminConfigurationInner().withDescription("A sample policy") + .withApplyOnNetworkIntentPolicyBasedServices(Arrays.asList(NetworkIntentPolicyBasedService.NONE)), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsDeleteSamples.java new file mode 100644 index 000000000000..c0983f8e446d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityAdminConfigurations Delete. + */ +public final class SecurityAdminConfigurationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityAdminConfigurationDelete.json + */ + /** + * Sample code: Delete network manager security admin configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteNetworkManagerSecurityAdminConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityAdminConfigurations() + .delete("rg1", "testNetworkManager", "myTestSecurityConfig", false, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsGetSamples.java new file mode 100644 index 000000000000..ad549ad08a0a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsGetSamples.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.network.generated; + +/** + * Samples for SecurityAdminConfigurations Get. + */ +public final class SecurityAdminConfigurationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityAdminConfigurationGet.json + */ + /** + * Sample code: Get security admin configurations. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSecurityAdminConfigurations(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityAdminConfigurations() + .getWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsListSamples.java new file mode 100644 index 000000000000..dfb0d73fdcea --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityAdminConfigurationsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityAdminConfigurations List. + */ +public final class SecurityAdminConfigurationsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityAdminConfigurationList.json + */ + /** + * Sample code: List security admin configurations in a network manager. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listSecurityAdminConfigurationsInANetworkManager(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityAdminConfigurations() + .list("rg1", "testNetworkManager", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersCreateOrUpdateSamples.java new file mode 100644 index 000000000000..f53f91d51ce3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersCreateOrUpdateSamples.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.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.SecurityPartnerProviderInner; +import com.azure.resourcemanager.network.models.SecurityProviderName; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for SecurityPartnerProviders CreateOrUpdate. + */ +public final class SecurityPartnerProvidersCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/SecurityPartnerProviderPut.json + */ + /** + * Sample code: Create Security Partner Provider. + * + * @param manager Entry point to NetworkManager. + */ + public static void createSecurityPartnerProvider(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityPartnerProviders() + .createOrUpdate("rg1", "securityPartnerProvider", new SecurityPartnerProviderInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withSecurityProviderName(SecurityProviderName.ZSCALER) + .withVirtualHub(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersDeleteSamples.java new file mode 100644 index 000000000000..c6bccd1d6f1d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersDeleteSamples.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.network.generated; + +/** + * Samples for SecurityPartnerProviders Delete. + */ +public final class SecurityPartnerProvidersDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/SecurityPartnerProviderDelete.json + */ + /** + * Sample code: Delete Security Partner Provider. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteSecurityPartnerProvider(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityPartnerProviders() + .delete("rg1", "securityPartnerProvider", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersGetByResourceGroupSamples.java new file mode 100644 index 000000000000..dea5a6d69b8a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for SecurityPartnerProviders GetByResourceGroup. + */ +public final class SecurityPartnerProvidersGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/SecurityPartnerProviderGet.json + */ + /** + * Sample code: Get Security Partner Provider. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSecurityPartnerProvider(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityPartnerProviders() + .getByResourceGroupWithResponse("rg1", "securityPartnerProvider", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersListByResourceGroupSamples.java new file mode 100644 index 000000000000..2bbb18a6844d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityPartnerProviders ListByResourceGroup. + */ +public final class SecurityPartnerProvidersListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/SecurityPartnerProviderListByResourceGroup.json + */ + /** + * Sample code: List all Security Partner Providers for a given resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllSecurityPartnerProvidersForAGivenResourceGroup( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityPartnerProviders() + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersListSamples.java new file mode 100644 index 000000000000..d42988c21b9a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersListSamples.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.network.generated; + +/** + * Samples for SecurityPartnerProviders List. + */ +public final class SecurityPartnerProvidersListSamples { + /* + * x-ms-original-file: 2025-05-01/SecurityPartnerProviderListBySubscription.json + */ + /** + * Sample code: List all Security Partner Providers for a given subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllSecurityPartnerProvidersForAGivenSubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getSecurityPartnerProviders().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersUpdateTagsSamples.java new file mode 100644 index 000000000000..36b16eba8ab4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityPartnerProvidersUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for SecurityPartnerProviders UpdateTags. + */ +public final class SecurityPartnerProvidersUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/SecurityPartnerProviderUpdateTags.json + */ + /** + * Sample code: Update Security Partner Provider Tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateSecurityPartnerProviderTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityPartnerProviders() + .updateTagsWithResponse("rg1", "securityPartnerProvider", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..dd0214027332 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesCreateOrUpdateSamples.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.SecurityRuleInner; +import com.azure.resourcemanager.network.models.SecurityRuleAccess; +import com.azure.resourcemanager.network.models.SecurityRuleDirection; +import com.azure.resourcemanager.network.models.SecurityRuleProtocol; + +/** + * Samples for SecurityRules CreateOrUpdate. + */ +public final class SecurityRulesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupRuleCreate.json + */ + /** + * Sample code: Create security rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void createSecurityRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityRules() + .createOrUpdate("rg1", "testnsg", "rule1", + new SecurityRuleInner().withProtocol(SecurityRuleProtocol.ASTERISK) + .withSourcePortRange("*") + .withDestinationPortRange("8080") + .withSourceAddressPrefix("10.0.0.0/8") + .withDestinationAddressPrefix("11.0.0.0/8") + .withAccess(SecurityRuleAccess.DENY) + .withPriority(100) + .withDirection(SecurityRuleDirection.OUTBOUND), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesDeleteSamples.java new file mode 100644 index 000000000000..33d3f9b6fe4f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesDeleteSamples.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.network.generated; + +/** + * Samples for SecurityRules Delete. + */ +public final class SecurityRulesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupRuleDelete.json + */ + /** + * Sample code: Delete network security rule from network security group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteNetworkSecurityRuleFromNetworkSecurityGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getSecurityRules().delete("rg1", "testnsg", "rule1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesGetSamples.java new file mode 100644 index 000000000000..a0fc5611946e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityRules Get. + */ +public final class SecurityRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupRuleGet.json + */ + /** + * Sample code: Get network security rule in network security group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getNetworkSecurityRuleInNetworkSecurityGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityRules() + .getWithResponse("rg1", "testnsg", "rule1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesListSamples.java new file mode 100644 index 000000000000..6397f593f22d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityRulesListSamples.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.network.generated; + +/** + * Samples for SecurityRules List. + */ +public final class SecurityRulesListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkSecurityGroupRuleList.json + */ + /** + * Sample code: List network security rules in network security group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listNetworkSecurityRulesInNetworkSecurityGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getSecurityRules().list("rg1", "testnsg", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..4ddeaaa021fa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsCreateOrUpdateSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.SecurityUserConfigurationInner; + +/** + * Samples for SecurityUserConfigurations CreateOrUpdate. + */ +public final class SecurityUserConfigurationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserConfigurationPut.json + */ + /** + * Sample code: Create network manager security user configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createNetworkManagerSecurityUserConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserConfigurations() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", + new SecurityUserConfigurationInner().withDescription("A sample policy"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsDeleteSamples.java new file mode 100644 index 000000000000..31831fa2ad44 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityUserConfigurations Delete. + */ +public final class SecurityUserConfigurationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserConfigurationDelete.json + */ + /** + * Sample code: Delete network manager security user configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteNetworkManagerSecurityUserConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserConfigurations() + .delete("rg1", "testNetworkManager", "myTestSecurityConfig", false, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsGetSamples.java new file mode 100644 index 000000000000..a82dbb04d32c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsGetSamples.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.network.generated; + +/** + * Samples for SecurityUserConfigurations Get. + */ +public final class SecurityUserConfigurationsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserConfigurationGet.json + */ + /** + * Sample code: Get security user configurations. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSecurityUserConfigurations(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserConfigurations() + .getWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsListSamples.java new file mode 100644 index 000000000000..fcdc0a8e4e40 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserConfigurationsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityUserConfigurations List. + */ +public final class SecurityUserConfigurationsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserConfigurationList.json + */ + /** + * Sample code: List security user configurations in a network manager. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listSecurityUserConfigurationsInANetworkManager(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserConfigurations() + .list("rg1", "testNetworkManager", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..c45fa772258f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsCreateOrUpdateSamples.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.SecurityUserRuleCollectionInner; +import com.azure.resourcemanager.network.models.SecurityUserGroupItem; +import java.util.Arrays; + +/** + * Samples for SecurityUserRuleCollections CreateOrUpdate. + */ +public final class SecurityUserRuleCollectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserRuleCollectionPut.json + */ + /** + * Sample code: Create or Update a Security User Rule Collection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createOrUpdateASecurityUserRuleCollection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserRuleCollections() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + new SecurityUserRuleCollectionInner().withDescription("A sample policy") + .withAppliesToGroups(Arrays.asList(new SecurityUserGroupItem().withNetworkGroupId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsDeleteSamples.java new file mode 100644 index 000000000000..3e854ed11228 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityUserRuleCollections Delete. + */ +public final class SecurityUserRuleCollectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserRuleCollectionDelete.json + */ + /** + * Sample code: Deletes a Security User Rule collection. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletesASecurityUserRuleCollection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserRuleCollections() + .delete("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", false, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsGetSamples.java new file mode 100644 index 000000000000..ef2c9315efd0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityUserRuleCollections Get. + */ +public final class SecurityUserRuleCollectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserRuleCollectionGet.json + */ + /** + * Sample code: Gets security user rule collection. + * + * @param manager Entry point to NetworkManager. + */ + public static void getsSecurityUserRuleCollection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserRuleCollections() + .getWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsListSamples.java new file mode 100644 index 000000000000..85e1ef3d1bf3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRuleCollectionsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityUserRuleCollections List. + */ +public final class SecurityUserRuleCollectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserRuleCollectionList.json + */ + /** + * Sample code: List rule collections in a security configuration. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listRuleCollectionsInASecurityConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserRuleCollections() + .list("rg1", "testNetworkManager", "myTestSecurityConfig", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..dbdc6669d9d7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesCreateOrUpdateSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.SecurityUserRuleInner; +import com.azure.resourcemanager.network.models.AddressPrefixItem; +import com.azure.resourcemanager.network.models.AddressPrefixType; +import com.azure.resourcemanager.network.models.SecurityConfigurationRuleDirection; +import com.azure.resourcemanager.network.models.SecurityConfigurationRuleProtocol; +import java.util.Arrays; + +/** + * Samples for SecurityUserRules CreateOrUpdate. + */ +public final class SecurityUserRulesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserRulePut.json + */ + /** + * Sample code: Create a security user rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void createASecurityUserRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserRules() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + "SampleUserRule", + new SecurityUserRuleInner().withDescription("Sample User Rule") + .withProtocol(SecurityConfigurationRuleProtocol.TCP) + .withSources(Arrays.asList(new AddressPrefixItem().withAddressPrefix("*") + .withAddressPrefixType(AddressPrefixType.IPPREFIX))) + .withDestinations(Arrays.asList(new AddressPrefixItem().withAddressPrefix("*") + .withAddressPrefixType(AddressPrefixType.IPPREFIX))) + .withSourcePortRanges(Arrays.asList("0-65535")) + .withDestinationPortRanges(Arrays.asList("22")) + .withDirection(SecurityConfigurationRuleDirection.INBOUND), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesDeleteSamples.java new file mode 100644 index 000000000000..af2003d3dbdf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityUserRules Delete. + */ +public final class SecurityUserRulesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserRuleDelete.json + */ + /** + * Sample code: Delete a security user rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteASecurityUserRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserRules() + .delete("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", "SampleUserRule", false, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesGetSamples.java new file mode 100644 index 000000000000..df111134a70b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityUserRules Get. + */ +public final class SecurityUserRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserRuleGet.json + */ + /** + * Sample code: Gets a security user rule. + * + * @param manager Entry point to NetworkManager. + */ + public static void getsASecurityUserRule(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserRules() + .getWithResponse("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", + "SampleUserRule", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesListSamples.java new file mode 100644 index 000000000000..60be6b6814eb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SecurityUserRulesListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SecurityUserRules List. + */ +public final class SecurityUserRulesListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerSecurityUserRuleList.json + */ + /** + * Sample code: List security user rules. + * + * @param manager Entry point to NetworkManager. + */ + public static void listSecurityUserRules(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSecurityUserRules() + .list("rg1", "testNetworkManager", "myTestSecurityConfig", "testRuleCollection", null, null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceAssociationLinksListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceAssociationLinksListSamples.java new file mode 100644 index 000000000000..09ec3f54ddfd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceAssociationLinksListSamples.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.network.generated; + +/** + * Samples for ServiceAssociationLinks List. + */ +public final class ServiceAssociationLinksListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGetServiceAssociationLinks.json + */ + /** + * Sample code: Get Service Association Links. + * + * @param manager Entry point to NetworkManager. + */ + public static void getServiceAssociationLinks(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceAssociationLinks() + .listWithResponse("rg1", "vnet", "subnet", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..c744cf93fb57 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyDefinitionInner; +import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyInner; +import java.util.Arrays; + +/** + * Samples for ServiceEndpointPolicies CreateOrUpdate. + */ +public final class ServiceEndpointPoliciesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyCreate.json + */ + /** + * Sample code: Create service endpoint policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void createServiceEndpointPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceEndpointPolicies() + .createOrUpdate("rg1", "testPolicy", new ServiceEndpointPolicyInner().withLocation("westus"), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyCreateWithDefinition.json + */ + /** + * Sample code: Create service endpoint policy with definition. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createServiceEndpointPolicyWithDefinition(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceEndpointPolicies() + .createOrUpdate("rg1", "testPolicy", new ServiceEndpointPolicyInner().withLocation("westus") + .withServiceEndpointPolicyDefinitions(Arrays.asList(new ServiceEndpointPolicyDefinitionInner() + .withName("StorageServiceEndpointPolicyDefinition") + .withDescription("Storage Service EndpointPolicy Definition") + .withService("Microsoft.Storage") + .withServiceResources(Arrays.asList("/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount")))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesDeleteSamples.java new file mode 100644 index 000000000000..b29ec0347305 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesDeleteSamples.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.network.generated; + +/** + * Samples for ServiceEndpointPolicies Delete. + */ +public final class ServiceEndpointPoliciesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyDelete.json + */ + /** + * Sample code: Delete service endpoint policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteServiceEndpointPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceEndpointPolicies() + .delete("rg1", "serviceEndpointPolicy1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..e6be6a7b7022 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for ServiceEndpointPolicies GetByResourceGroup. + */ +public final class ServiceEndpointPoliciesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyGet.json + */ + /** + * Sample code: Get service endPoint Policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void getServiceEndPointPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceEndpointPolicies() + .getByResourceGroupWithResponse("rg1", "testServiceEndpointPolicy", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesListByResourceGroupSamples.java new file mode 100644 index 000000000000..ae0356cf9f0c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceEndpointPolicies ListByResourceGroup. + */ +public final class ServiceEndpointPoliciesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyList.json + */ + /** + * Sample code: List resource group service endpoint policies. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listResourceGroupServiceEndpointPolicies(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceEndpointPolicies() + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesListSamples.java new file mode 100644 index 000000000000..d0613d2e82ed --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceEndpointPolicies List. + */ +public final class ServiceEndpointPoliciesListSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyListAll.json + */ + /** + * Sample code: List all service endpoint policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllServiceEndpointPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getServiceEndpointPolicies().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesUpdateTagsSamples.java new file mode 100644 index 000000000000..d6a77dc2de25 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPoliciesUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for ServiceEndpointPolicies UpdateTags. + */ +public final class ServiceEndpointPoliciesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyUpdateTags.json + */ + /** + * Sample code: Update service endpoint policy tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateServiceEndpointPolicyTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceEndpointPolicies() + .updateTagsWithResponse("rg1", "testServiceEndpointPolicy", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..49d3e387d007 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsCreateOrUpdateSamples.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyDefinitionInner; +import java.util.Arrays; + +/** + * Samples for ServiceEndpointPolicyDefinitions CreateOrUpdate. + */ +public final class ServiceEndpointPolicyDefinitionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyDefinitionCreate.json + */ + /** + * Sample code: Create service endpoint policy definition. + * + * @param manager Entry point to NetworkManager. + */ + public static void createServiceEndpointPolicyDefinition(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceEndpointPolicyDefinitions() + .createOrUpdate("rg1", "testPolicy", "testDefinition", new ServiceEndpointPolicyDefinitionInner() + .withDescription("Storage Service EndpointPolicy Definition") + .withService("Microsoft.Storage") + .withServiceResources(Arrays.asList("/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsDeleteSamples.java new file mode 100644 index 000000000000..e7930bee110b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceEndpointPolicyDefinitions Delete. + */ +public final class ServiceEndpointPolicyDefinitionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyDefinitionDelete.json + */ + /** + * Sample code: Delete service endpoint policy definitions from service endpoint policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteServiceEndpointPolicyDefinitionsFromServiceEndpointPolicy( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceEndpointPolicyDefinitions() + .delete("rg1", "testPolicy", "testDefinition", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsGetSamples.java new file mode 100644 index 000000000000..4d4a35c9dfbe --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceEndpointPolicyDefinitions Get. + */ +public final class ServiceEndpointPolicyDefinitionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyDefinitionGet.json + */ + /** + * Sample code: Get service endpoint definition in service endpoint policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getServiceEndpointDefinitionInServiceEndpointPolicy(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceEndpointPolicyDefinitions() + .getWithResponse("rg1", "testPolicy", "testDefinition", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsListByResourceGroupSamples.java new file mode 100644 index 000000000000..819d9f3e1ad1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceEndpointPolicyDefinitionsListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceEndpointPolicyDefinitions ListByResourceGroup. + */ +public final class ServiceEndpointPolicyDefinitionsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceEndpointPolicyDefinitionList.json + */ + /** + * Sample code: List service endpoint definitions in service end point policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void listServiceEndpointDefinitionsInServiceEndPointPolicy( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceEndpointPolicyDefinitions() + .listByResourceGroup("rg1", "testPolicy", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java new file mode 100644 index 000000000000..259431c50451 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.RouteTargetAddressPropertiesFormatInner; +import com.azure.resourcemanager.network.fluent.models.ServiceGatewayInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; +import com.azure.resourcemanager.network.models.IpAllocationMethod; + +/** + * Samples for ServiceGateways CreateOrUpdate. + */ +public final class ServiceGatewaysCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayCreate.json + */ + /** + * Sample code: Create service gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void createServiceGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceGateways() + .createOrUpdate("rg1", "sg", new ServiceGatewayInner().withLocation("eastus") + .withVirtualNetwork(new VirtualNetworkInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet")) + .withRouteTargetAddress(new RouteTargetAddressPropertiesFormatInner() + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet")) + .withPrivateIPAddress("10.0.1.4") + .withPrivateIpAllocationMethod(IpAllocationMethod.STATIC)), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysDeleteSamples.java new file mode 100644 index 000000000000..34e5dd382a06 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceGateways Delete. + */ +public final class ServiceGatewaysDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayDelete.json + */ + /** + * Sample code: Delete service gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteServiceGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getServiceGateways().delete("rg1", "sg", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetAddressLocationsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetAddressLocationsSamples.java new file mode 100644 index 000000000000..f251e889d547 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetAddressLocationsSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceGateways GetAddressLocations. + */ +public final class ServiceGatewaysGetAddressLocationsSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayGetAddressLocationsResponse.json + */ + /** + * Sample code: Get address locations in service gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAddressLocationsInServiceGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getServiceGateways().getAddressLocations("rg1", "sg", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetByResourceGroupSamples.java new file mode 100644 index 000000000000..dfbf7d08cf46 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for ServiceGateways GetByResourceGroup. + */ +public final class ServiceGatewaysGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayGet.json + */ + /** + * Sample code: Get load balancer. + * + * @param manager Entry point to NetworkManager. + */ + public static void getLoadBalancer(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceGateways() + .getByResourceGroupWithResponse("rg1", "sg", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetServicesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetServicesSamples.java new file mode 100644 index 000000000000..a6e4d4e6f382 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysGetServicesSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceGateways GetServices. + */ +public final class ServiceGatewaysGetServicesSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayGetServicesResponse.json + */ + /** + * Sample code: Get services in service gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void getServicesInServiceGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getServiceGateways().getServices("rg1", "sg", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysListByResourceGroupSamples.java new file mode 100644 index 000000000000..02e374deefe3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceGateways ListByResourceGroup. + */ +public final class ServiceGatewaysListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayList.json + */ + /** + * Sample code: List service gateway in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listServiceGatewayInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getServiceGateways().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysListSamples.java new file mode 100644 index 000000000000..09a758ac5e50 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceGateways List. + */ +public final class ServiceGatewaysListSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayListAll.json + */ + /** + * Sample code: List all load balancers. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllLoadBalancers(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getServiceGateways().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateAddressLocationsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateAddressLocationsSamples.java new file mode 100644 index 000000000000..6d5e5804411b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateAddressLocationsSamples.java @@ -0,0 +1,72 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.AddressUpdateAction; +import com.azure.resourcemanager.network.models.ServiceGatewayAddress; +import com.azure.resourcemanager.network.models.ServiceGatewayAddressLocation; +import com.azure.resourcemanager.network.models.ServiceGatewayUpdateAddressLocationsRequest; +import com.azure.resourcemanager.network.models.UpdateAction; +import java.util.Arrays; + +/** + * Samples for ServiceGateways UpdateAddressLocations. + */ +public final class ServiceGatewaysUpdateAddressLocationsSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayFullUpdateAddressLocationsRequest.json + */ + /** + * Sample code: Full Update: Create, update, or delete address locations in the service gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void fullUpdateCreateUpdateOrDeleteAddressLocationsInTheServiceGateway( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceGateways() + .updateAddressLocations("rg1", "sg", new ServiceGatewayUpdateAddressLocationsRequest() + .withAction(UpdateAction.FULL_UPDATE) + .withAddressLocations(Arrays.asList( + new ServiceGatewayAddressLocation().withAddressLocation("192.0.0.1") + .withAddressUpdateAction(AddressUpdateAction.FULL_UPDATE) + .withAddresses(Arrays.asList(new ServiceGatewayAddress().withAddress("10.0.0.4") + .withServices(Arrays.asList("Service1")))), + new ServiceGatewayAddressLocation().withAddressLocation("192.0.0.2") + .withAddressUpdateAction(AddressUpdateAction.PARTIAL_UPDATE) + .withAddresses(Arrays.asList( + new ServiceGatewayAddress().withAddress("10.0.0.5").withServices(Arrays.asList("Service2")), + new ServiceGatewayAddress().withAddress("10.0.0.6"))))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayPartialUpdateAddressLocationsRequest.json + */ + /** + * Sample code: Partial Update: Create, update, or delete address locations in the service gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void partialUpdateCreateUpdateOrDeleteAddressLocationsInTheServiceGateway( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceGateways() + .updateAddressLocations("rg1", "sg", new ServiceGatewayUpdateAddressLocationsRequest() + .withAction(UpdateAction.PARTIAL_UPDATE) + .withAddressLocations(Arrays.asList( + new ServiceGatewayAddressLocation().withAddressLocation("192.0.0.1") + .withAddressUpdateAction(AddressUpdateAction.FULL_UPDATE) + .withAddresses(Arrays.asList(new ServiceGatewayAddress().withAddress("10.0.0.4") + .withServices(Arrays.asList("Service1")))), + new ServiceGatewayAddressLocation().withAddressLocation("192.0.0.2") + .withAddressUpdateAction(AddressUpdateAction.PARTIAL_UPDATE) + .withAddresses(Arrays.asList( + new ServiceGatewayAddress().withAddress("10.0.0.5").withServices(Arrays.asList("Service2")), + new ServiceGatewayAddress().withAddress("10.0.0.6"))), + new ServiceGatewayAddressLocation().withAddressLocation("192.0.0.3"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateServicesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateServicesSamples.java new file mode 100644 index 000000000000..e4299dc80136 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateServicesSamples.java @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.BackendAddressPoolInner; +import com.azure.resourcemanager.network.fluent.models.ServiceGatewayServiceInner; +import com.azure.resourcemanager.network.fluent.models.ServiceGatewayServiceRequestInner; +import com.azure.resourcemanager.network.models.ServiceGatewayUpdateServicesRequest; +import com.azure.resourcemanager.network.models.ServiceType; +import com.azure.resourcemanager.network.models.ServiceUpdateAction; +import java.util.Arrays; + +/** + * Samples for ServiceGateways UpdateServices. + */ +public final class ServiceGatewaysUpdateServicesSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayUpdateServicesRequest.json + */ + /** + * Sample code: Create or full update services in service gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createOrFullUpdateServicesInServiceGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceGateways() + .updateServices("rg1", "sg", new ServiceGatewayUpdateServicesRequest() + .withAction(ServiceUpdateAction.FULL_UPDATE) + .withServiceRequests(Arrays.asList( + new ServiceGatewayServiceRequestInner().withService(new ServiceGatewayServiceInner() + .withName("Service1") + .withServiceType(ServiceType.INBOUND) + .withIsDefault(true) + .withLoadBalancerBackendPools(Arrays.asList(new BackendAddressPoolInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/be1"))) + .withPublicNatGatewayId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway")), + new ServiceGatewayServiceRequestInner().withIsDelete(true) + .withService(new ServiceGatewayServiceInner().withName("Service2") + .withServiceType(ServiceType.OUTBOUND) + .withIsDefault(false)))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateTagsSamples.java new file mode 100644 index 000000000000..c11146cfadc6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for ServiceGateways UpdateTags. + */ +public final class ServiceGatewaysUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceGatewayUpdateTags.json + */ + /** + * Sample code: Update service gateway tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateServiceGatewayTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceGateways() + .updateTagsWithResponse("rg1", "sg", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceTagInformationListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceTagInformationListSamples.java new file mode 100644 index 000000000000..048fb7f2f9ef --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceTagInformationListSamples.java @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceTagInformation List. + */ +public final class ServiceTagInformationListSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceTagInformationListResultWithNoAddressPrefixes.json + */ + /** + * Sample code: Get list of service tags with no address prefixes. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getListOfServiceTagsWithNoAddressPrefixes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceTagInformations() + .list("westeurope", true, null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/ServiceTagInformationListResult.json + */ + /** + * Sample code: Get list of service tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void getListOfServiceTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceTagInformations() + .list("westeurope", null, null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/ServiceTagInformationListResultWithTagname.json + */ + /** + * Sample code: Get list of service tags with tag name. + * + * @param manager Entry point to NetworkManager. + */ + public static void getListOfServiceTagsWithTagName(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getServiceTagInformations() + .list("westeurope", null, "ApiManagement", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceTagsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceTagsListSamples.java new file mode 100644 index 000000000000..46c6e576bbb4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceTagsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for ServiceTags List. + */ +public final class ServiceTagsListSamples { + /* + * x-ms-original-file: 2025-05-01/ServiceTagsList.json + */ + /** + * Sample code: Get list of service tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void getListOfServiceTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getServiceTags().listWithResponse("westcentralus", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsCreateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsCreateSamples.java new file mode 100644 index 000000000000..e0b167f13b7b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsCreateSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for StaticCidrs Create. + */ +public final class StaticCidrsCreateSamples { + /* + * x-ms-original-file: 2025-05-01/StaticCidrs_Create.json + */ + /** + * Sample code: StaticCidrs_Create. + * + * @param manager Entry point to NetworkManager. + */ + public static void staticCidrsCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getStaticCidrs() + .createWithResponse("rg1", "TestNetworkManager", "TestPool", "TestStaticCidr", null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsDeleteSamples.java new file mode 100644 index 000000000000..2353fd149fb0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsDeleteSamples.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.network.generated; + +/** + * Samples for StaticCidrs Delete. + */ +public final class StaticCidrsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/StaticCidrs_Delete.json + */ + /** + * Sample code: StaticCidrs_Delete. + * + * @param manager Entry point to NetworkManager. + */ + public static void staticCidrsDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getStaticCidrs() + .delete("rg1", "TestNetworkManager", "TestPool", "TestStaticCidr", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsGetSamples.java new file mode 100644 index 000000000000..ddf50ba30967 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for StaticCidrs Get. + */ +public final class StaticCidrsGetSamples { + /* + * x-ms-original-file: 2025-05-01/StaticCidrs_Get.json + */ + /** + * Sample code: StaticCidrs_Get. + * + * @param manager Entry point to NetworkManager. + */ + public static void staticCidrsGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getStaticCidrs() + .getWithResponse("rg1", "TestNetworkManager", "TestPool", "TestStaticCidr", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsListSamples.java new file mode 100644 index 000000000000..266774356ef4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticCidrsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for StaticCidrs List. + */ +public final class StaticCidrsListSamples { + /* + * x-ms-original-file: 2025-05-01/StaticCidrs_List.json + */ + /** + * Sample code: StaticCidrs_List. + * + * @param manager Entry point to NetworkManager. + */ + public static void staticCidrsList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getStaticCidrs() + .list("rg1", "TestNetworkManager", "TestPool", null, null, null, null, null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersCreateOrUpdateSamples.java new file mode 100644 index 000000000000..eb6166180419 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersCreateOrUpdateSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.StaticMemberInner; + +/** + * Samples for StaticMembers CreateOrUpdate. + */ +public final class StaticMembersCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerStaticMemberPut.json + */ + /** + * Sample code: StaticMemberPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void staticMemberPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getStaticMembers() + .createOrUpdateWithResponse("rg1", "testNetworkManager", "testNetworkGroup", "testStaticMember", + new StaticMemberInner().withResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersDeleteSamples.java new file mode 100644 index 000000000000..a2c7c6d4afad --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for StaticMembers Delete. + */ +public final class StaticMembersDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerStaticMemberDelete.json + */ + /** + * Sample code: StaticMembersDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void staticMembersDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getStaticMembers() + .deleteWithResponse("SampleRG", "TestNM", "testNetworkGroup", "testStaticMember", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersGetSamples.java new file mode 100644 index 000000000000..45c861566c53 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for StaticMembers Get. + */ +public final class StaticMembersGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerStaticMemberGet.json + */ + /** + * Sample code: StaticMembersGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void staticMembersGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getStaticMembers() + .getWithResponse("rg1", "testNetworkManager", "testNetworkGroup", "testStaticMember", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersListSamples.java new file mode 100644 index 000000000000..516986e81c27 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/StaticMembersListSamples.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.network.generated; + +/** + * Samples for StaticMembers List. + */ +public final class StaticMembersListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerStaticMemberList.json + */ + /** + * Sample code: StaticMembersList. + * + * @param manager Entry point to NetworkManager. + */ + public static void staticMembersList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getStaticMembers() + .list("rg1", "testNetworkManager", "testNetworkGroup", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..30685fd24152 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsCreateOrUpdateSamples.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.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.models.ServiceEndpointPropertiesFormat; +import java.util.Arrays; + +/** + * Samples for Subnets CreateOrUpdate. + */ +public final class SubnetsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/SubnetCreate.json + */ + /** + * Sample code: Create subnet. + * + * @param manager Entry point to NetworkManager. + */ + public static void createSubnet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .createOrUpdate("subnet-test", "vnetname", "subnet1", new SubnetInner().withAddressPrefix("10.0.0.0/16"), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/SubnetCreateServiceEndpointNetworkIdentifier.json + */ + /** + * Sample code: Create subnet with service endpoints with network identifier. + * + * @param manager Entry point to NetworkManager. + */ + public static void createSubnetWithServiceEndpointsWithNetworkIdentifier( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .createOrUpdate("subnet-test", "vnetname", "subnet1", new SubnetInner().withAddressPrefix("10.0.0.0/16") + .withServiceEndpoints(Arrays.asList(new ServiceEndpointPropertiesFormat() + .withService("Microsoft.Storage") + .withNetworkIdentifier(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/publicIPAddresses/test-ip")))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/SubnetCreateServiceEndpoint.json + */ + /** + * Sample code: Create subnet with service endpoints. + * + * @param manager Entry point to NetworkManager. + */ + public static void createSubnetWithServiceEndpoints(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .createOrUpdate("subnet-test", "vnetname", "subnet1", + new SubnetInner().withAddressPrefix("10.0.0.0/16") + .withServiceEndpoints( + Arrays.asList(new ServiceEndpointPropertiesFormat().withService("Microsoft.Storage"))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/SubnetCreateWithDelegation.json + */ + /** + * Sample code: Create subnet with a delegation. + * + * @param manager Entry point to NetworkManager. + */ + public static void createSubnetWithADelegation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .createOrUpdate("subnet-test", "vnetname", "subnet1", new SubnetInner().withAddressPrefix("10.0.0.0/16"), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/SubnetCreateWithServiceGateway.json + */ + /** + * Sample code: Create Subnet with service gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void createSubnetWithServiceGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .createOrUpdate("subnet-test", "vnetname", "subnet1", new SubnetInner().withAddressPrefix("10.0.0.0/16") + .withServiceGateway(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1")), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/SubnetCreateWithSharingScope.json + */ + /** + * Sample code: Create subnet with sharing scope. + * + * @param manager Entry point to NetworkManager. + */ + public static void createSubnetWithSharingScope(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .createOrUpdate("subnet-test", "vnetname", "subnet1", new SubnetInner().withAddressPrefix("10.0.0.0/16"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsDeleteSamples.java new file mode 100644 index 000000000000..9cff93242df4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsDeleteSamples.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.network.generated; + +/** + * Samples for Subnets Delete. + */ +public final class SubnetsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/SubnetDelete.json + */ + /** + * Sample code: Delete subnet. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteSubnet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .delete("subnet-test", "vnetname", "subnet1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsGetSamples.java new file mode 100644 index 000000000000..3d7a8c7a1eec --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsGetSamples.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.network.generated; + +/** + * Samples for Subnets Get. + */ +public final class SubnetsGetSamples { + /* + * x-ms-original-file: 2025-05-01/SubnetGetWithSharingScope.json + */ + /** + * Sample code: Get subnet with sharing scope. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSubnetWithSharingScope(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .getWithResponse("subnet-test", "vnetname", "subnet1", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/SubnetGet.json + */ + /** + * Sample code: Get subnet. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSubnet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .getWithResponse("subnet-test", "vnetname", "subnet1", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/SubnetGetWithDelegation.json + */ + /** + * Sample code: Get subnet with a delegation. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSubnetWithADelegation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .getWithResponse("subnet-test", "vnetname", "subnet1", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsListSamples.java new file mode 100644 index 000000000000..c6a26dd15e23 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for Subnets List. + */ +public final class SubnetsListSamples { + /* + * x-ms-original-file: 2025-05-01/SubnetList.json + */ + /** + * Sample code: List subnets. + * + * @param manager Entry point to NetworkManager. + */ + public static void listSubnets(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getSubnets().list("subnet-test", "vnetname", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsPrepareNetworkPoliciesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsPrepareNetworkPoliciesSamples.java new file mode 100644 index 000000000000..c2bb2e38d282 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsPrepareNetworkPoliciesSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.PrepareNetworkPoliciesRequest; + +/** + * Samples for Subnets PrepareNetworkPolicies. + */ +public final class SubnetsPrepareNetworkPoliciesSamples { + /* + * x-ms-original-file: 2025-05-01/SubnetPrepareNetworkPolicies.json + */ + /** + * Sample code: Prepare Network Policies. + * + * @param manager Entry point to NetworkManager. + */ + public static void prepareNetworkPolicies(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .prepareNetworkPolicies("rg1", "test-vnet", "subnet1", + new PrepareNetworkPoliciesRequest().withServiceName("Microsoft.Sql/managedInstances"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsUnprepareNetworkPoliciesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsUnprepareNetworkPoliciesSamples.java new file mode 100644 index 000000000000..0f09f3de2897 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubnetsUnprepareNetworkPoliciesSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesRequest; + +/** + * Samples for Subnets UnprepareNetworkPolicies. + */ +public final class SubnetsUnprepareNetworkPoliciesSamples { + /* + * x-ms-original-file: 2025-05-01/SubnetUnprepareNetworkPolicies.json + */ + /** + * Sample code: Unprepare Network Policies. + * + * @param manager Entry point to NetworkManager. + */ + public static void unprepareNetworkPolicies(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubnets() + .unprepareNetworkPolicies("rg1", "test-vnet", "subnet1", + new UnprepareNetworkPoliciesRequest().withServiceName("Microsoft.Sql/managedInstances"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..23a41cc7b90e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsCreateOrUpdateSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkManagerConnectionInner; + +/** + * Samples for SubscriptionNetworkManagerConnections CreateOrUpdate. + */ +public final class SubscriptionNetworkManagerConnectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectionSubscriptionPut.json + */ + /** + * Sample code: Create or Update Subscription Network Manager Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createOrUpdateSubscriptionNetworkManagerConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubscriptionNetworkManagerConnections() + .createOrUpdateWithResponse("TestNMConnection", new NetworkManagerConnectionInner().withNetworkManagerId( + "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsDeleteSamples.java new file mode 100644 index 000000000000..3381abd23098 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsDeleteSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SubscriptionNetworkManagerConnections Delete. + */ +public final class SubscriptionNetworkManagerConnectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectionSubscriptionDelete.json + */ + /** + * Sample code: Delete Subscription Network Manager Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + deleteSubscriptionNetworkManagerConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubscriptionNetworkManagerConnections() + .deleteWithResponse("TestNMConnection", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsGetSamples.java new file mode 100644 index 000000000000..dcb972a3bbd4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsGetSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SubscriptionNetworkManagerConnections Get. + */ +public final class SubscriptionNetworkManagerConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectionSubscriptionGet.json + */ + /** + * Sample code: Get Subscription Network Manager Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getSubscriptionNetworkManagerConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubscriptionNetworkManagerConnections() + .getWithResponse("TestNMConnection", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsListSamples.java new file mode 100644 index 000000000000..e5017eac3212 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/SubscriptionNetworkManagerConnectionsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for SubscriptionNetworkManagerConnections List. + */ +public final class SubscriptionNetworkManagerConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkManagerConnectionSubscriptionList.json + */ + /** + * Sample code: List Subscription Network Manager Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listSubscriptionNetworkManagerConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getSubscriptionNetworkManagerConnections() + .list(null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/UsagesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/UsagesListSamples.java new file mode 100644 index 000000000000..ae25e0eb4716 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/UsagesListSamples.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.network.generated; + +/** + * Samples for Usages List. + */ +public final class UsagesListSamples { + /* + * x-ms-original-file: 2025-05-01/UsageList.json + */ + /** + * Sample code: List usages. + * + * @param manager Entry point to NetworkManager. + */ + public static void listUsages(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getUsages().list("westus", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/UsageListSpacedLocation.json + */ + /** + * Sample code: List usages spaced location. + * + * @param manager Entry point to NetworkManager. + */ + public static void listUsagesSpacedLocation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getUsages().list("West US", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesCreateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesCreateSamples.java new file mode 100644 index 000000000000..07347136af63 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesCreateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.VerifierWorkspaceInner; +import com.azure.resourcemanager.network.models.VerifierWorkspaceProperties; + +/** + * Samples for VerifierWorkspaces Create. + */ +public final class VerifierWorkspacesCreateSamples { + /* + * x-ms-original-file: 2025-05-01/VerifierWorkspacePut.json + */ + /** + * Sample code: VerifierWorkspaceCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void verifierWorkspaceCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVerifierWorkspaces() + .createWithResponse("rg1", "testNetworkManager", "testWorkspace", + new VerifierWorkspaceInner().withLocation("eastus") + .withProperties(new VerifierWorkspaceProperties().withDescription("A sample workspace")), + null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesDeleteSamples.java new file mode 100644 index 000000000000..31c2b006defc --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesDeleteSamples.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.network.generated; + +/** + * Samples for VerifierWorkspaces Delete. + */ +public final class VerifierWorkspacesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VerifierWorkspaceDelete.json + */ + /** + * Sample code: VerifierWorkspaceDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void verifierWorkspaceDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVerifierWorkspaces() + .delete("rg1", "testNetworkManager", "testWorkspace", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesGetSamples.java new file mode 100644 index 000000000000..3bb10cf14c3e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesGetSamples.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.network.generated; + +/** + * Samples for VerifierWorkspaces Get. + */ +public final class VerifierWorkspacesGetSamples { + /* + * x-ms-original-file: 2025-05-01/VerifierWorkspaceGet.json + */ + /** + * Sample code: VerifierWorkspaceGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void verifierWorkspaceGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVerifierWorkspaces() + .getWithResponse("rg1", "testNetworkManager", "testWorkspace", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesListSamples.java new file mode 100644 index 000000000000..c1dc2bd590ad --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesListSamples.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.network.generated; + +/** + * Samples for VerifierWorkspaces List. + */ +public final class VerifierWorkspacesListSamples { + /* + * x-ms-original-file: 2025-05-01/VerifierWorkspaceList.json + */ + /** + * Sample code: VerifierWorkspaceList. + * + * @param manager Entry point to NetworkManager. + */ + public static void verifierWorkspaceList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVerifierWorkspaces() + .list("rg1", "testNetworkManager", null, null, null, null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesUpdateSamples.java new file mode 100644 index 000000000000..f96368d8089c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VerifierWorkspacesUpdateSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VerifierWorkspaces Update. + */ +public final class VerifierWorkspacesUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VerifierWorkspacePatch.json + */ + /** + * Sample code: VerifierWorkspacePatch. + * + * @param manager Entry point to NetworkManager. + */ + public static void verifierWorkspacePatch(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVerifierWorkspaces() + .updateWithResponse("rg1", "testNetworkManager", "testWorkspace", null, null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapCreateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapCreateSamples.java new file mode 100644 index 000000000000..9ed21fc619a4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapCreateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.SwapResourceInner; +import com.azure.resourcemanager.network.models.SingletonResource; +import com.azure.resourcemanager.network.models.SlotType; +import com.azure.resourcemanager.network.models.SwapResourceProperties; + +/** + * Samples for VipSwap Create. + */ +public final class VipSwapCreateSamples { + /* + * x-ms-original-file: 2025-05-01/CloudServiceSwapPut.json + */ + /** + * Sample code: Put vip swap operation. + * + * @param manager Entry point to NetworkManager. + */ + public static void putVipSwapOperation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVipSwaps() + .create("rg1", "testCloudService", SingletonResource.SWAP, + new SwapResourceInner().withProperties(new SwapResourceProperties().withSlotType(SlotType.PRODUCTION)), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapGetSamples.java new file mode 100644 index 000000000000..81a4f95171cd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapGetSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.SingletonResource; + +/** + * Samples for VipSwap Get. + */ +public final class VipSwapGetSamples { + /* + * x-ms-original-file: 2025-05-01/CloudServiceSwapGet.json + */ + /** + * Sample code: Get swap resource. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSwapResource(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVipSwaps() + .getWithResponse("rg1", "testCloudService", SingletonResource.SWAP, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapListSamples.java new file mode 100644 index 000000000000..58a6a2c93a97 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VipSwap List. + */ +public final class VipSwapListSamples { + /* + * x-ms-original-file: 2025-05-01/CloudServiceSwapList.json + */ + /** + * Sample code: Get swap resource list. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSwapResourceList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVipSwaps().list("rg1", "testCloudService", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..410a32c2d250 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesCreateOrUpdateSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.VirtualApplianceSiteInner; +import com.azure.resourcemanager.network.models.BreakOutCategoryPolicies; +import com.azure.resourcemanager.network.models.Office365PolicyProperties; + +/** + * Samples for VirtualApplianceSites CreateOrUpdate. + */ +public final class VirtualApplianceSitesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceSitePut.json + */ + /** + * Sample code: Create Network Virtual Appliance Site. + * + * @param manager Entry point to NetworkManager. + */ + public static void createNetworkVirtualApplianceSite(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualApplianceSites() + .createOrUpdate("rg1", "nva", "site1", + new VirtualApplianceSiteInner().withAddressPrefix("192.168.1.0/24") + .withO365Policy(new Office365PolicyProperties().withBreakOutCategories( + new BreakOutCategoryPolicies().withAllow(true).withOptimize(true).withDefaultProperty(true))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesDeleteSamples.java new file mode 100644 index 000000000000..5a29247cb56f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesDeleteSamples.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.network.generated; + +/** + * Samples for VirtualApplianceSites Delete. + */ +public final class VirtualApplianceSitesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceSiteDelete.json + */ + /** + * Sample code: Delete Network Virtual Appliance Site. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteNetworkVirtualApplianceSite(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualApplianceSites() + .delete("rg1", "nva", "site1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesGetSamples.java new file mode 100644 index 000000000000..5dd559ae7744 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesGetSamples.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.network.generated; + +/** + * Samples for VirtualApplianceSites Get. + */ +public final class VirtualApplianceSitesGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceSiteGet.json + */ + /** + * Sample code: GetNetwork Virtual Appliance Site. + * + * @param manager Entry point to NetworkManager. + */ + public static void getNetworkVirtualApplianceSite(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualApplianceSites() + .getWithResponse("rg1", "nva", "site1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesListSamples.java new file mode 100644 index 000000000000..1def3809d22e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSitesListSamples.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.network.generated; + +/** + * Samples for VirtualApplianceSites List. + */ +public final class VirtualApplianceSitesListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceSiteList.json + */ + /** + * Sample code: List all Network Virtual Appliance sites for a given Network Virtual Appliance. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllNetworkVirtualApplianceSitesForAGivenNetworkVirtualAppliance( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualApplianceSites().list("rg1", "nva", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSkusGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSkusGetSamples.java new file mode 100644 index 000000000000..b79ff79c5e1e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSkusGetSamples.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.network.generated; + +/** + * Samples for VirtualApplianceSkus Get. + */ +public final class VirtualApplianceSkusGetSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceSkuGet.json + */ + /** + * Sample code: NetworkVirtualApplianceSkuGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkVirtualApplianceSkuGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualApplianceSkus() + .getWithResponse("ciscoSdwan", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSkusListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSkusListSamples.java new file mode 100644 index 000000000000..2dfcd020a8fd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualApplianceSkusListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualApplianceSkus List. + */ +public final class VirtualApplianceSkusListSamples { + /* + * x-ms-original-file: 2025-05-01/NetworkVirtualApplianceSkuList.json + */ + /** + * Sample code: NetworkVirtualApplianceSkuListResult. + * + * @param manager Entry point to NetworkManager. + */ + public static void networkVirtualApplianceSkuListResult(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualApplianceSkus().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListAdvertisedRoutesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListAdvertisedRoutesSamples.java new file mode 100644 index 000000000000..9817cee5fc5f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListAdvertisedRoutesSamples.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.network.generated; + +/** + * Samples for VirtualHubBgpConnections ListAdvertisedRoutes. + */ +public final class VirtualHubBgpConnectionsListAdvertisedRoutesSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterPeerListAdvertisedRoute.json + */ + /** + * Sample code: VirtualRouterPeerListAdvertisedRoutes. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualRouterPeerListAdvertisedRoutes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubBgpConnections() + .listAdvertisedRoutes("rg1", "virtualRouter1", "peer1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListLearnedRoutesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListLearnedRoutesSamples.java new file mode 100644 index 000000000000..a7b676e8827a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListLearnedRoutesSamples.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.network.generated; + +/** + * Samples for VirtualHubBgpConnections ListLearnedRoutes. + */ +public final class VirtualHubBgpConnectionsListLearnedRoutesSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterPeerListLearnedRoute.json + */ + /** + * Sample code: VirtualRouterPeerListLearnedRoutes. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualRouterPeerListLearnedRoutes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubBgpConnections() + .listLearnedRoutes("rg1", "virtualRouter1", "peer1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListSamples.java new file mode 100644 index 000000000000..8cd9731f0d9b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubBgpConnectionsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualHubBgpConnections List. + */ +public final class VirtualHubBgpConnectionsListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubBgpConnectionList.json + */ + /** + * Sample code: VirtualHubRouteTableV2List. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubRouteTableV2List(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualHubBgpConnections().list("rg1", "hub1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationCreateOrUpdateSamples.java new file mode 100644 index 000000000000..0e8766829a1d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.HubIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; + +/** + * Samples for VirtualHubIpConfiguration CreateOrUpdate. + */ +public final class VirtualHubIpConfigurationCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubIpConfigurationPut.json + */ + /** + * Sample code: VirtualHubIpConfigurationPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubIpConfigurationPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubIpConfigurations() + .createOrUpdate("rg1", "hub1", "ipconfig1", + new HubIpConfigurationInner().withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationDeleteSamples.java new file mode 100644 index 000000000000..3e3c63df3612 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationDeleteSamples.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.network.generated; + +/** + * Samples for VirtualHubIpConfiguration Delete. + */ +public final class VirtualHubIpConfigurationDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubIpConfigurationDelete.json + */ + /** + * Sample code: VirtualHubIpConfigurationDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubIpConfigurationDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubIpConfigurations() + .delete("rg1", "hub1", "ipconfig1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationGetSamples.java new file mode 100644 index 000000000000..fff3d553ca42 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationGetSamples.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.network.generated; + +/** + * Samples for VirtualHubIpConfiguration Get. + */ +public final class VirtualHubIpConfigurationGetSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubIpConfigurationGet.json + */ + /** + * Sample code: VirtualHubVirtualHubRouteTableV2Get. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubVirtualHubRouteTableV2Get(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubIpConfigurations() + .getWithResponse("rg1", "hub1", "ipconfig1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationListSamples.java new file mode 100644 index 000000000000..96a4b890ee74 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubIpConfigurationListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualHubIpConfiguration List. + */ +public final class VirtualHubIpConfigurationListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubIpConfigurationList.json + */ + /** + * Sample code: VirtualHubRouteTableV2List. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubRouteTableV2List(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualHubIpConfigurations().list("rg1", "hub1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sCreateOrUpdateSamples.java new file mode 100644 index 000000000000..a9f5e7e3aa73 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sCreateOrUpdateSamples.java @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.VirtualHubRouteTableV2Inner; +import com.azure.resourcemanager.network.models.VirtualHubRouteV2; +import java.util.Arrays; + +/** + * Samples for VirtualHubRouteTableV2s CreateOrUpdate. + */ +public final class VirtualHubRouteTableV2sCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubRouteTableV2Put.json + */ + /** + * Sample code: VirtualHubRouteTableV2Put. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubRouteTableV2Put(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubRouteTableV2s() + .createOrUpdate("rg1", "virtualHub1", "virtualHubRouteTable1a", + new VirtualHubRouteTableV2Inner() + .withRoutes(Arrays.asList( + new VirtualHubRouteV2().withDestinationType("CIDR") + .withDestinations(Arrays.asList("20.10.0.0/16", "20.20.0.0/16")) + .withNextHopType("IPAddress") + .withNextHops(Arrays.asList("10.0.0.68")), + new VirtualHubRouteV2().withDestinationType("CIDR") + .withDestinations(Arrays.asList("0.0.0.0/0")) + .withNextHopType("IPAddress") + .withNextHops(Arrays.asList("10.0.0.68")))) + .withAttachedConnections(Arrays.asList("All_Vnets")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sDeleteSamples.java new file mode 100644 index 000000000000..915c23d3cdaf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sDeleteSamples.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.network.generated; + +/** + * Samples for VirtualHubRouteTableV2s Delete. + */ +public final class VirtualHubRouteTableV2sDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubRouteTableV2Delete.json + */ + /** + * Sample code: VirtualHubRouteTableV2Delete. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubRouteTableV2Delete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubRouteTableV2s() + .delete("rg1", "virtualHub1", "virtualHubRouteTable1a", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sGetSamples.java new file mode 100644 index 000000000000..466da6c18686 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sGetSamples.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.network.generated; + +/** + * Samples for VirtualHubRouteTableV2s Get. + */ +public final class VirtualHubRouteTableV2sGetSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubRouteTableV2Get.json + */ + /** + * Sample code: VirtualHubVirtualHubRouteTableV2Get. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubVirtualHubRouteTableV2Get(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubRouteTableV2s() + .getWithResponse("rg1", "virtualHub1", "virtualHubRouteTable1a", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sListSamples.java new file mode 100644 index 000000000000..c2435917d8db --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sListSamples.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.network.generated; + +/** + * Samples for VirtualHubRouteTableV2s List. + */ +public final class VirtualHubRouteTableV2sListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubRouteTableV2List.json + */ + /** + * Sample code: VirtualHubRouteTableV2List. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubRouteTableV2List(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubRouteTableV2s() + .list("rg1", "virtualHub1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..ec7fd02a37ea --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsCreateOrUpdateSamples.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.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.VirtualHubInner; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualHubs CreateOrUpdate. + */ +public final class VirtualHubsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubPut.json + */ + /** + * Sample code: VirtualHubPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubs() + .createOrUpdate("rg1", "virtualHub2", new VirtualHubInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withVirtualWan(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1")) + .withAddressPrefix("10.168.0.0/24") + .withSku("Basic"), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsDeleteSamples.java new file mode 100644 index 000000000000..d290a2642945 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualHubs Delete. + */ +public final class VirtualHubsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubDelete.json + */ + /** + * Sample code: VirtualHubDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualHubs().delete("rg1", "virtualHub1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..de57bed2395d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for VirtualHubs GetByResourceGroup. + */ +public final class VirtualHubsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubGet.json + */ + /** + * Sample code: VirtualHubGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubs() + .getByResourceGroupWithResponse("rg1", "virtualHub1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetEffectiveVirtualHubRoutesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetEffectiveVirtualHubRoutesSamples.java new file mode 100644 index 000000000000..686baf30e350 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetEffectiveVirtualHubRoutesSamples.java @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.EffectiveRoutesParameters; + +/** + * Samples for VirtualHubs GetEffectiveVirtualHubRoutes. + */ +public final class VirtualHubsGetEffectiveVirtualHubRoutesSamples { + /* + * x-ms-original-file: 2025-05-01/EffectiveRoutesListForRouteTable.json + */ + /** + * Sample code: Effective Routes for a Route Table resource. + * + * @param manager Entry point to NetworkManager. + */ + public static void effectiveRoutesForARouteTableResource(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubs() + .getEffectiveVirtualHubRoutes("rg1", "virtualHub1", new EffectiveRoutesParameters().withResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1") + .withVirtualWanResourceType("RouteTable"), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/EffectiveRoutesListForConnection.json + */ + /** + * Sample code: Effective Routes for a Connection resource. + * + * @param manager Entry point to NetworkManager. + */ + public static void effectiveRoutesForAConnectionResource(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubs() + .getEffectiveVirtualHubRoutes("rg1", "virtualHub1", new EffectiveRoutesParameters().withResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName") + .withVirtualWanResourceType("ExpressRouteConnection"), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/EffectiveRoutesListForVirtualHub.json + */ + /** + * Sample code: Effective Routes for the Virtual Hub. + * + * @param manager Entry point to NetworkManager. + */ + public static void effectiveRoutesForTheVirtualHub(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubs() + .getEffectiveVirtualHubRoutes("rg1", "virtualHub1", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetInboundRoutesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetInboundRoutesSamples.java new file mode 100644 index 000000000000..8f29d316cc3e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetInboundRoutesSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.GetInboundRoutesParameters; + +/** + * Samples for VirtualHubs GetInboundRoutes. + */ +public final class VirtualHubsGetInboundRoutesSamples { + /* + * x-ms-original-file: 2025-05-01/GetInboundRoutes.json + */ + /** + * Sample code: Inbound Routes for the Virtual Hub on a Particular Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + inboundRoutesForTheVirtualHubOnAParticularConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubs() + .getInboundRoutes("rg1", "virtualHub1", new GetInboundRoutesParameters().withResourceUri( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGw1/expressRouteConnections/exrConn1") + .withConnectionType("ExpressRouteConnection"), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetOutboundRoutesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetOutboundRoutesSamples.java new file mode 100644 index 000000000000..1a5e1f025311 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsGetOutboundRoutesSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.GetOutboundRoutesParameters; + +/** + * Samples for VirtualHubs GetOutboundRoutes. + */ +public final class VirtualHubsGetOutboundRoutesSamples { + /* + * x-ms-original-file: 2025-05-01/GetOutboundRoutes.json + */ + /** + * Sample code: Outbound Routes for the Virtual Hub on a Particular Connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void outboundRoutesForTheVirtualHubOnAParticularConnection( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubs() + .getOutboundRoutes("rg1", "virtualHub1", new GetOutboundRoutesParameters().withResourceUri( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGw1/expressRouteConnections/exrConn1") + .withConnectionType("ExpressRouteConnection"), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsListByResourceGroupSamples.java new file mode 100644 index 000000000000..939341bbaeea --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualHubs ListByResourceGroup. + */ +public final class VirtualHubsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubListByResourceGroup.json + */ + /** + * Sample code: VirtualHubListByResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualHubs().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsListSamples.java new file mode 100644 index 000000000000..031020c87a9b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualHubs List. + */ +public final class VirtualHubsListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubList.json + */ + /** + * Sample code: VirtualHubList. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualHubs().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsUpdateTagsSamples.java new file mode 100644 index 000000000000..190968f5974b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubsUpdateTagsSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualHubs UpdateTags. + */ +public final class VirtualHubsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualHubUpdateTags.json + */ + /** + * Sample code: VirtualHubUpdate. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualHubUpdate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualHubs() + .updateTagsWithResponse("rg1", "virtualHub2", + new TagsObject().withTags(mapOf("key1", "fakeTokenPlaceholder", "key2", "fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..9e5e9be780ec --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkApplianceInner; + +/** + * Samples for VirtualNetworkAppliances CreateOrUpdate. + */ +public final class VirtualNetworkAppliancesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkAppliances_CreateOrUpdate.json + */ + /** + * Sample code: Create virtual network appliance. + * + * @param manager Entry point to NetworkManager. + */ + public static void createVirtualNetworkAppliance(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkAppliances() + .createOrUpdate("rg1", "test-vna", new VirtualNetworkApplianceInner().withLocation("eastus") + .withBandwidthInGbps("100") + .withSubnet(new SubnetInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesDeleteSamples.java new file mode 100644 index 000000000000..91d5ff860d86 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesDeleteSamples.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.network.generated; + +/** + * Samples for VirtualNetworkAppliances Delete. + */ +public final class VirtualNetworkAppliancesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkAppliances_Delete.json + */ + /** + * Sample code: Delete virtual network appliance. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteVirtualNetworkAppliance(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkAppliances() + .delete("rg1", "test-vna", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..d96939ca3967 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for VirtualNetworkAppliances GetByResourceGroup. + */ +public final class VirtualNetworkAppliancesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkAppliances_Get.json + */ + /** + * Sample code: Get virtual network appliance. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualNetworkAppliance(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkAppliances() + .getByResourceGroupWithResponse("rg1", "test-vna", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesListByResourceGroupSamples.java new file mode 100644 index 000000000000..fbf032c3cdcd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkAppliances ListByResourceGroup. + */ +public final class VirtualNetworkAppliancesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkAppliances_List.json + */ + /** + * Sample code: List virtual network appliances in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listVirtualNetworkAppliancesInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkAppliances() + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesListSamples.java new file mode 100644 index 000000000000..ef67593472bf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkAppliances List. + */ +public final class VirtualNetworkAppliancesListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkAppliances_ListBySubscription.json + */ + /** + * Sample code: List all virtual network appliances. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllVirtualNetworkAppliances(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworkAppliances().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesUpdateTagsSamples.java new file mode 100644 index 000000000000..875e48dba52f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkAppliancesUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualNetworkAppliances UpdateTags. + */ +public final class VirtualNetworkAppliancesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkAppliances_UpdateTags.json + */ + /** + * Sample code: Update virtual network appliance tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateVirtualNetworkApplianceTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkAppliances() + .updateTagsWithResponse("rg1", "test-vna", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..7446fc11b62f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsCreateOrUpdateSamples.java @@ -0,0 +1,120 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.LocalNetworkGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayIpConfigurationInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.BgpSettings; +import com.azure.resourcemanager.network.models.CertificateAuthentication; +import com.azure.resourcemanager.network.models.ConnectionAuthenticationType; +import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; +import com.azure.resourcemanager.network.models.IpAllocationMethod; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionMode; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionTunnelProperties; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionType; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySku; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySkuName; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySkuTier; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayType; +import com.azure.resourcemanager.network.models.VpnType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualNetworkGatewayConnections CreateOrUpdate. + */ +public final class VirtualNetworkGatewayConnectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionCreate.json + */ + /** + * Sample code: CreateVirtualNetworkGatewayConnection_S2S. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createVirtualNetworkGatewayConnectionS2S(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .createOrUpdate("rg1", "connS2S", new VirtualNetworkGatewayConnectionInner().withLocation("centralus") + .withVirtualNetworkGateway1(new VirtualNetworkGatewayInner().withLocation("centralus") + .withTags(mapOf()) + .withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw") + .withIpConfigurations(Arrays.asList(new VirtualNetworkGatewayIpConfigurationInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1") + .withName("gwipconfig1") + .withPrivateIpAllocationMethod(IpAllocationMethod.DYNAMIC) + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip")))) + .withGatewayType(VirtualNetworkGatewayType.VPN) + .withVpnType(VpnType.ROUTE_BASED) + .withEnableBgp(false) + .withActive(false) + .withSku(new VirtualNetworkGatewaySku().withName(VirtualNetworkGatewaySkuName.VPN_GW1) + .withTier(VirtualNetworkGatewaySkuTier.VPN_GW1)) + .withBgpSettings( + new BgpSettings().withAsn(65514L).withBgpPeeringAddress("10.0.1.30").withPeerWeight(0))) + .withLocalNetworkGateway2(new LocalNetworkGatewayInner().withLocation("centralus") + .withTags(mapOf()) + .withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw") + .withLocalNetworkAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.1.0.0/16"))) + .withGatewayIpAddress("x.x.x.x")) + .withIngressNatRules(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1"))) + .withEgressNatRules(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2"))) + .withConnectionType(VirtualNetworkGatewayConnectionType.IPSEC) + .withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol.IKEV2) + .withRoutingWeight(0) + .withDpdTimeoutSeconds(30) + .withConnectionMode(VirtualNetworkGatewayConnectionMode.DEFAULT) + .withTunnelProperties(Arrays.asList( + new VirtualNetworkGatewayConnectionTunnelProperties().withTunnelIpAddress("10.78.1.5") + .withBgpPeeringAddress("10.78.1.17"), + new VirtualNetworkGatewayConnectionTunnelProperties().withTunnelIpAddress("10.78.1.7") + .withBgpPeeringAddress("10.78.1.20"))) + .withSharedKey("fakeTokenPlaceholder") + .withEnableBgp(false) + .withGatewayCustomBgpIpAddresses(Arrays.asList( + new GatewayCustomBgpIpAddressIpConfiguration().withIpConfigurationId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default") + .withCustomBgpIpAddress("169.254.21.1"), + new GatewayCustomBgpIpAddressIpConfiguration().withIpConfigurationId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive") + .withCustomBgpIpAddress("169.254.21.3"))) + .withUsePolicyBasedTrafficSelectors(false) + .withIpsecPolicies(Arrays.asList()) + .withTrafficSelectorPolicies(Arrays.asList()) + .withAuthenticationType(ConnectionAuthenticationType.CERTIFICATE) + .withCertificateAuthentication(new CertificateAuthentication() + .withOutboundAuthCertificate("https://customerKv.vault.azure.net/Certificates/outBoundcert/Version") + .withInboundAuthCertificateSubjectName("CN=rootCert.com") + .withInboundAuthCertificateChain(Arrays.asList("MIIC+TCCAeGgAwIBAgIQFOJUqDaxV5xJcKpTKO...", + "MIIC+TCCAeGgAwIBAgIQPJerInitNblK7yBgkqh..."))), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsDeleteSamples.java new file mode 100644 index 000000000000..89e870c7e3e3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsDeleteSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGatewayConnections Delete. + */ +public final class VirtualNetworkGatewayConnectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionDelete.json + */ + /** + * Sample code: DeleteVirtualNetworkGatewayConnection. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteVirtualNetworkGatewayConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .delete("rg1", "conn1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..c065ba2f2b1a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGatewayConnections GetByResourceGroup. + */ +public final class VirtualNetworkGatewayConnectionsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionGet.json + */ + /** + * Sample code: GetVirtualNetworkGatewayConnection. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualNetworkGatewayConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .getByResourceGroupWithResponse("rg1", "connS2S", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetIkeSasSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetIkeSasSamples.java new file mode 100644 index 000000000000..0d5ee5ea5c89 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetIkeSasSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGatewayConnections GetIkeSas. + */ +public final class VirtualNetworkGatewayConnectionsGetIkeSasSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionGetIkeSas.json + */ + /** + * Sample code: GetVirtualNetworkGatewayConnectionIkeSa. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getVirtualNetworkGatewayConnectionIkeSa(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .getIkeSas("rg1", "vpngwcn1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetSharedKeySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetSharedKeySamples.java new file mode 100644 index 000000000000..d2521161296e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsGetSharedKeySamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGatewayConnections GetSharedKey. + */ +public final class VirtualNetworkGatewayConnectionsGetSharedKeySamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionGetSharedKey.json + */ + /** + * Sample code: GetVirtualNetworkGatewayConnectionSharedKey. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getVirtualNetworkGatewayConnectionSharedKey(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .getSharedKeyWithResponse("rg1", "connS2S", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsListByResourceGroupSamples.java new file mode 100644 index 000000000000..de948cf5979e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGatewayConnections ListByResourceGroup. + */ +public final class VirtualNetworkGatewayConnectionsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionsList.json + */ + /** + * Sample code: ListVirtualNetworkGatewayConnectionsinResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listVirtualNetworkGatewayConnectionsinResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsResetConnectionSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsResetConnectionSamples.java new file mode 100644 index 000000000000..ab13715c3874 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsResetConnectionSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGatewayConnections ResetConnection. + */ +public final class VirtualNetworkGatewayConnectionsResetConnectionSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionReset.json + */ + /** + * Sample code: ResetVirtualNetworkGatewayConnection. + * + * @param manager Entry point to NetworkManager. + */ + public static void resetVirtualNetworkGatewayConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .resetConnection("rg1", "conn1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsResetSharedKeySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsResetSharedKeySamples.java new file mode 100644 index 000000000000..dec831c3bcbf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsResetSharedKeySamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ConnectionResetSharedKeyInner; + +/** + * Samples for VirtualNetworkGatewayConnections ResetSharedKey. + */ +public final class VirtualNetworkGatewayConnectionsResetSharedKeySamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionResetSharedKey.json + */ + /** + * Sample code: ResetVirtualNetworkGatewayConnectionSharedKey. + * + * @param manager Entry point to NetworkManager. + */ + public static void + resetVirtualNetworkGatewayConnectionSharedKey(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .resetSharedKey("rg1", "conn1", new ConnectionResetSharedKeyInner().withKeyLength(128), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsSetSharedKeySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsSetSharedKeySamples.java new file mode 100644 index 000000000000..e937a22eaaa8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsSetSharedKeySamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyInner; + +/** + * Samples for VirtualNetworkGatewayConnections SetSharedKey. + */ +public final class VirtualNetworkGatewayConnectionsSetSharedKeySamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionSetSharedKey.json + */ + /** + * Sample code: SetVirtualNetworkGatewayConnectionSharedKey. + * + * @param manager Entry point to NetworkManager. + */ + public static void + setVirtualNetworkGatewayConnectionSharedKey(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .setSharedKey("rg1", "connS2S", new ConnectionSharedKeyInner().withValue("AzureAbc123"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsStartPacketCaptureSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsStartPacketCaptureSamples.java new file mode 100644 index 000000000000..e02f49f2c08b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsStartPacketCaptureSamples.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters; + +/** + * Samples for VirtualNetworkGatewayConnections StartPacketCapture. + */ +public final class VirtualNetworkGatewayConnectionsStartPacketCaptureSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionStartPacketCapture.json + */ + /** + * Sample code: Start packet capture on virtual network gateway connection without filter. + * + * @param manager Entry point to NetworkManager. + */ + public static void startPacketCaptureOnVirtualNetworkGatewayConnectionWithoutFilter( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .startPacketCapture("rg1", "vpngwcn1", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json + */ + /** + * Sample code: Start packet capture on virtual network gateway connection with filter. + * + * @param manager Entry point to NetworkManager. + */ + public static void startPacketCaptureOnVirtualNetworkGatewayConnectionWithFilter( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .startPacketCapture("rg1", "vpngwcn1", new VpnPacketCaptureStartParameters().withFilterData( + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsStopPacketCaptureSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsStopPacketCaptureSamples.java new file mode 100644 index 000000000000..47a8e6079708 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsStopPacketCaptureSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.VpnPacketCaptureStopParameters; + +/** + * Samples for VirtualNetworkGatewayConnections StopPacketCapture. + */ +public final class VirtualNetworkGatewayConnectionsStopPacketCaptureSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionStopPacketCapture.json + */ + /** + * Sample code: Stop packet capture on virtual network gateway connection. + * + * @param manager Entry point to NetworkManager. + */ + public static void + stopPacketCaptureOnVirtualNetworkGatewayConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .stopPacketCapture("rg1", "vpngwcn1", new VpnPacketCaptureStopParameters().withSasUrl( + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsUpdateTagsSamples.java new file mode 100644 index 000000000000..1121f6b9b271 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayConnectionsUpdateTagsSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualNetworkGatewayConnections UpdateTags. + */ +public final class VirtualNetworkGatewayConnectionsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayConnectionUpdateTags.json + */ + /** + * Sample code: UpdateVirtualNetworkGatewayConnectionTags. + * + * @param manager Entry point to NetworkManager. + */ + public static void + updateVirtualNetworkGatewayConnectionTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayConnections() + .updateTags("rg1", "test", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..055fa9eaf2c6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayNatRuleInner; +import com.azure.resourcemanager.network.models.VpnNatRuleMapping; +import com.azure.resourcemanager.network.models.VpnNatRuleMode; +import com.azure.resourcemanager.network.models.VpnNatRuleType; +import java.util.Arrays; + +/** + * Samples for VirtualNetworkGatewayNatRules CreateOrUpdate. + */ +public final class VirtualNetworkGatewayNatRulesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayNatRulePut.json + */ + /** + * Sample code: VirtualNetworkGatewayNatRulePut. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualNetworkGatewayNatRulePut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayNatRules() + .createOrUpdate("rg1", "gateway1", "natRule1", new VirtualNetworkGatewayNatRuleInner() + .withTypePropertiesType(VpnNatRuleType.STATIC) + .withMode(VpnNatRuleMode.EGRESS_SNAT) + .withInternalMappings( + Arrays.asList(new VpnNatRuleMapping().withAddressSpace("10.4.0.0/24").withPortRange("200-300"))) + .withExternalMappings( + Arrays.asList(new VpnNatRuleMapping().withAddressSpace("192.168.21.0/24").withPortRange("300-400"))) + .withIpConfigurationId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesDeleteSamples.java new file mode 100644 index 000000000000..0e957efb139a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesDeleteSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGatewayNatRules Delete. + */ +public final class VirtualNetworkGatewayNatRulesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayNatRuleDelete.json + */ + /** + * Sample code: VirtualNetworkGatewayNatRuleDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualNetworkGatewayNatRuleDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayNatRules() + .delete("rg1", "gateway1", "natRule1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesGetSamples.java new file mode 100644 index 000000000000..0fdb2de85362 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesGetSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGatewayNatRules Get. + */ +public final class VirtualNetworkGatewayNatRulesGetSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayNatRuleGet.json + */ + /** + * Sample code: VirtualNetworkGatewayNatRuleGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualNetworkGatewayNatRuleGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayNatRules() + .getWithResponse("rg1", "gateway1", "natRule1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySamples.java new file mode 100644 index 000000000000..6993c39a99e4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySamples.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.network.generated; + +/** + * Samples for VirtualNetworkGatewayNatRules ListByVirtualNetworkGateway. + */ +public final class VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewaySamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayNatRuleList.json + */ + /** + * Sample code: VirtualNetworkGatewayNatRuleList. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualNetworkGatewayNatRuleList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGatewayNatRules() + .listByVirtualNetworkGateway("rg1", "gateway1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysCreateOrUpdateSamples.java new file mode 100644 index 000000000000..e620ae8a0f8a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysCreateOrUpdateSamples.java @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayNatRuleInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.AdminState; +import com.azure.resourcemanager.network.models.BgpSettings; +import com.azure.resourcemanager.network.models.IpAllocationMethod; +import com.azure.resourcemanager.network.models.ManagedServiceIdentity; +import com.azure.resourcemanager.network.models.ManagedServiceIdentityUserAssignedIdentities; +import com.azure.resourcemanager.network.models.RadiusServer; +import com.azure.resourcemanager.network.models.ResourceIdentityType; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayAutoScaleBounds; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayAutoScaleConfiguration; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySku; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySkuName; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewaySkuTier; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayType; +import com.azure.resourcemanager.network.models.VpnClientConfiguration; +import com.azure.resourcemanager.network.models.VpnClientProtocol; +import com.azure.resourcemanager.network.models.VpnNatRuleMapping; +import com.azure.resourcemanager.network.models.VpnNatRuleMode; +import com.azure.resourcemanager.network.models.VpnNatRuleType; +import com.azure.resourcemanager.network.models.VpnType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualNetworkGateways CreateOrUpdate. + */ +public final class VirtualNetworkGatewaysCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayUpdate.json + */ + /** + * Sample code: UpdateVirtualNetworkGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateVirtualNetworkGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .createOrUpdate("rg1", "vpngw", new VirtualNetworkGatewayInner().withLocation("centralus") + .withIdentity(new ManagedServiceIdentity().withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(mapOf( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", + new ManagedServiceIdentityUserAssignedIdentities()))) + .withIpConfigurations(Arrays.asList(new VirtualNetworkGatewayIpConfigurationInner() + .withName("gwipconfig1") + .withPrivateIpAllocationMethod(IpAllocationMethod.DYNAMIC) + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip")))) + .withGatewayType(VirtualNetworkGatewayType.VPN) + .withVpnType(VpnType.ROUTE_BASED) + .withEnableBgp(false) + .withActive(false) + .withEnableHighBandwidthVpnGateway(false) + .withDisableIPSecReplayProtection(false) + .withSku(new VirtualNetworkGatewaySku().withName(VirtualNetworkGatewaySkuName.VPN_GW1) + .withTier(VirtualNetworkGatewaySkuTier.VPN_GW1)) + .withVpnClientConfiguration(new VpnClientConfiguration().withVpnClientRootCertificates(Arrays.asList()) + .withVpnClientRevokedCertificates(Arrays.asList()) + .withVpnClientProtocols(Arrays.asList(VpnClientProtocol.OPEN_VPN)) + .withRadiusServers(Arrays.asList(new RadiusServer().withRadiusServerAddress("10.2.0.0") + .withRadiusServerScore(20L) + .withRadiusServerSecret("fakeTokenPlaceholder")))) + .withBgpSettings(new BgpSettings().withAsn(65515L).withBgpPeeringAddress("10.0.1.30").withPeerWeight(0)) + .withCustomRoutes(new AddressSpace().withAddressPrefixes(Arrays.asList("101.168.0.6/32"))) + .withEnableDnsForwarding(true) + .withNatRules(Arrays.asList(new VirtualNetworkGatewayNatRuleInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1") + .withName("natRule1") + .withTypePropertiesType(VpnNatRuleType.STATIC) + .withMode(VpnNatRuleMode.EGRESS_SNAT) + .withInternalMappings(Arrays.asList(new VpnNatRuleMapping().withAddressSpace("10.10.0.0/24"))) + .withExternalMappings(Arrays.asList(new VpnNatRuleMapping().withAddressSpace("50.0.0.0/24"))) + .withIpConfigurationId(""), + new VirtualNetworkGatewayNatRuleInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2") + .withName("natRule2") + .withTypePropertiesType(VpnNatRuleType.STATIC) + .withMode(VpnNatRuleMode.INGRESS_SNAT) + .withInternalMappings(Arrays.asList(new VpnNatRuleMapping().withAddressSpace("20.10.0.0/24"))) + .withExternalMappings(Arrays.asList(new VpnNatRuleMapping().withAddressSpace("30.0.0.0/24"))) + .withIpConfigurationId(""))) + .withEnableBgpRouteTranslationForNat(false) + .withAllowVirtualWanTraffic(false) + .withAllowRemoteVnetTraffic(false), com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkScalableGatewayUpdate.json + */ + /** + * Sample code: UpdateVirtualNetworkScalableGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateVirtualNetworkScalableGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .createOrUpdate("rg1", "ergw", new VirtualNetworkGatewayInner().withLocation("centralus") + .withAutoScaleConfiguration(new VirtualNetworkGatewayAutoScaleConfiguration() + .withBounds(new VirtualNetworkGatewayAutoScaleBounds().withMin(2).withMax(3))) + .withIpConfigurations(Arrays.asList(new VirtualNetworkGatewayIpConfigurationInner() + .withName("gwipconfig1") + .withPrivateIpAllocationMethod(IpAllocationMethod.DYNAMIC) + .withSubnet(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet")) + .withPublicIpAddress(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip")))) + .withGatewayType(VirtualNetworkGatewayType.EXPRESS_ROUTE) + .withVpnType(VpnType.POLICY_BASED) + .withEnableBgp(false) + .withActive(false) + .withDisableIPSecReplayProtection(false) + .withSku(new VirtualNetworkGatewaySku().withName(VirtualNetworkGatewaySkuName.ER_GW_SCALE) + .withTier(VirtualNetworkGatewaySkuTier.ER_GW_SCALE)) + .withVirtualNetworkGatewayPolicyGroups(Arrays.asList()) + .withNatRules(Arrays.asList()) + .withEnableBgpRouteTranslationForNat(false) + .withAllowVirtualWanTraffic(false) + .withAllowRemoteVnetTraffic(false) + .withAdminState(AdminState.ENABLED), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysDeleteSamples.java new file mode 100644 index 000000000000..67e45ba77ab5 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways Delete. + */ +public final class VirtualNetworkGatewaysDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayDelete.json + */ + /** + * Sample code: DeleteVirtualNetworkGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteVirtualNetworkGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworkGateways().delete("rg1", "vpngw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSamples.java new file mode 100644 index 000000000000..38a63d273bdf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; +import java.util.Arrays; + +/** + * Samples for VirtualNetworkGateways DisconnectVirtualNetworkGatewayVpnConnections. + */ +public final class VirtualNetworkGatewaysDisconnectVirtualNetworkGatewayVpnConnectionsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json + */ + /** + * Sample code: Disconnect VpnConnections from Virtual Network Gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void + disconnectVpnConnectionsFromVirtualNetworkGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .disconnectVirtualNetworkGatewayVpnConnections("vpn-gateway-test", "vpngateway", + new P2SVpnConnectionRequest().withVpnConnectionIds(Arrays.asList("vpnconnId1", "vpnconnId2")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGenerateVpnProfileSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGenerateVpnProfileSamples.java new file mode 100644 index 000000000000..e95a1bed4d58 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGenerateVpnProfileSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.VpnClientParameters; + +/** + * Samples for VirtualNetworkGateways GenerateVpnProfile. + */ +public final class VirtualNetworkGatewaysGenerateVpnProfileSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGenerateVpnProfile.json + */ + /** + * Sample code: GenerateVirtualNetworkGatewayVPNProfile. + * + * @param manager Entry point to NetworkManager. + */ + public static void + generateVirtualNetworkGatewayVPNProfile(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .generateVpnProfile("rg1", "vpngw", new VpnClientParameters(), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGeneratevpnclientpackageSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGeneratevpnclientpackageSamples.java new file mode 100644 index 000000000000..5c858b1ed5bd --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGeneratevpnclientpackageSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.VpnClientParameters; + +/** + * Samples for VirtualNetworkGateways Generatevpnclientpackage. + */ +public final class VirtualNetworkGatewaysGeneratevpnclientpackageSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGenerateVpnClientPackage.json + */ + /** + * Sample code: GenerateVPNClientPackage. + * + * @param manager Entry point to NetworkManager. + */ + public static void generateVPNClientPackage(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .generatevpnclientpackage("rg1", "vpngw", new VpnClientParameters(), com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetAdvertisedRoutesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetAdvertisedRoutesSamples.java new file mode 100644 index 000000000000..1d3190fa712b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetAdvertisedRoutesSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways GetAdvertisedRoutes. + */ +public final class VirtualNetworkGatewaysGetAdvertisedRoutesSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGetAdvertisedRoutes.json + */ + /** + * Sample code: GetVirtualNetworkGatewayAdvertisedRoutes. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getVirtualNetworkGatewayAdvertisedRoutes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getAdvertisedRoutes("rg1", "vpngw", "test", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetBgpPeerStatusSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetBgpPeerStatusSamples.java new file mode 100644 index 000000000000..714ab263404b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetBgpPeerStatusSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGateways GetBgpPeerStatus. + */ +public final class VirtualNetworkGatewaysGetBgpPeerStatusSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGetBGPPeerStatus.json + */ + /** + * Sample code: GetVirtualNetworkGatewayBGPPeerStatus. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualNetworkGatewayBGPPeerStatus(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getBgpPeerStatus("rg1", "vpngw", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetByResourceGroupSamples.java new file mode 100644 index 000000000000..67b9d1f9e864 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetByResourceGroupSamples.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways GetByResourceGroup. + */ +public final class VirtualNetworkGatewaysGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGet.json + */ + /** + * Sample code: GetVirtualNetworkGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualNetworkGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getByResourceGroupWithResponse("rg1", "vpngw", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkScalableGatewayGet.json + */ + /** + * Sample code: GetVirtualNetworkScalableGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualNetworkScalableGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getByResourceGroupWithResponse("rg1", "ergw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetFailoverAllTestDetailsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetFailoverAllTestDetailsSamples.java new file mode 100644 index 000000000000..53e8124479b0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetFailoverAllTestDetailsSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways GetFailoverAllTestDetails. + */ +public final class VirtualNetworkGatewaysGetFailoverAllTestDetailsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGetFailoverAllTestsDetails.json + */ + /** + * Sample code: VirtualNetworkGatewayGetFailoverAllTestsDetails. + * + * @param manager Entry point to NetworkManager. + */ + public static void + virtualNetworkGatewayGetFailoverAllTestsDetails(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getFailoverAllTestDetails("rg1", "ergw", "SingleSiteFailover", true, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetFailoverSingleTestDetailsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetFailoverSingleTestDetailsSamples.java new file mode 100644 index 000000000000..5085b01d3c2a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetFailoverSingleTestDetailsSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGateways GetFailoverSingleTestDetails. + */ +public final class VirtualNetworkGatewaysGetFailoverSingleTestDetailsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGetFailoverSingleTestDetails.json + */ + /** + * Sample code: VirtualNetworkGatewayGetFailoverSingleTestDetails. + * + * @param manager Entry point to NetworkManager. + */ + public static void + virtualNetworkGatewayGetFailoverSingleTestDetails(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getFailoverSingleTestDetails("rg1", "ergw", "Vancouver", "fe458ae8-d2ae-4520-a104-44bc233bde7e", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetLearnedRoutesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetLearnedRoutesSamples.java new file mode 100644 index 000000000000..814285a91c48 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetLearnedRoutesSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGateways GetLearnedRoutes. + */ +public final class VirtualNetworkGatewaysGetLearnedRoutesSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayLearnedRoutes.json + */ + /** + * Sample code: GetVirtualNetworkGatewayLearnedRoutes. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualNetworkGatewayLearnedRoutes(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getLearnedRoutes("rg1", "vpngw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetResiliencyInformationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetResiliencyInformationSamples.java new file mode 100644 index 000000000000..35f311a21e43 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetResiliencyInformationSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways GetResiliencyInformation. + */ +public final class VirtualNetworkGatewaysGetResiliencyInformationSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGetResiliencyInformation.json + */ + /** + * Sample code: GetVirtualNetworkGatewayResiliencyInformation. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getVirtualNetworkGatewayResiliencyInformation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getResiliencyInformation("rg1", "vpngw", true, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetRoutesInformationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetRoutesInformationSamples.java new file mode 100644 index 000000000000..7fcc28cee13f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetRoutesInformationSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways GetRoutesInformation. + */ +public final class VirtualNetworkGatewaysGetRoutesInformationSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGetRoutesInformation.json + */ + /** + * Sample code: GetVirtualNetworkGatewayRoutesInformation. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getVirtualNetworkGatewayRoutesInformation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getRoutesInformation("rg1", "vpngw", false, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnProfilePackageUrlSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnProfilePackageUrlSamples.java new file mode 100644 index 000000000000..c928f16bde18 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnProfilePackageUrlSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways GetVpnProfilePackageUrl. + */ +public final class VirtualNetworkGatewaysGetVpnProfilePackageUrlSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGetVpnProfilePackageUrl.json + */ + /** + * Sample code: GetVirtualNetworkGatewayVPNProfilePackageURL. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getVirtualNetworkGatewayVPNProfilePackageURL(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getVpnProfilePackageUrl("rg1", "vpngw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnclientConnectionHealthSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnclientConnectionHealthSamples.java new file mode 100644 index 000000000000..a33022203ad4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnclientConnectionHealthSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways GetVpnclientConnectionHealth. + */ +public final class VirtualNetworkGatewaysGetVpnclientConnectionHealthSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGetVpnclientConnectionHealth.json + */ + /** + * Sample code: GetVirtualNetworkGatewayVpnclientConnectionHealth. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getVirtualNetworkGatewayVpnclientConnectionHealth(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getVpnclientConnectionHealth("p2s-vnet-test", "vpnp2sgw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnclientIpsecParametersSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnclientIpsecParametersSamples.java new file mode 100644 index 000000000000..3e9310119b90 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysGetVpnclientIpsecParametersSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways GetVpnclientIpsecParameters. + */ +public final class VirtualNetworkGatewaysGetVpnclientIpsecParametersSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayGetVpnClientIpsecParameters.json + */ + /** + * Sample code: Get VirtualNetworkGateway VpnClientIpsecParameters. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getVirtualNetworkGatewayVpnClientIpsecParameters(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .getVpnclientIpsecParameters("rg1", "vpngw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeAbortMigrationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeAbortMigrationSamples.java new file mode 100644 index 000000000000..ff5f8ad6d9da --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeAbortMigrationSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGateways InvokeAbortMigration. + */ +public final class VirtualNetworkGatewaysInvokeAbortMigrationSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayAbortMigration.json + */ + /** + * Sample code: VirtualNetworkGatewayAbortMigration. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualNetworkGatewayAbortMigration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .invokeAbortMigration("rg1", "vpngw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeCommitMigrationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeCommitMigrationSamples.java new file mode 100644 index 000000000000..b21878e13fcc --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeCommitMigrationSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGateways InvokeCommitMigration. + */ +public final class VirtualNetworkGatewaysInvokeCommitMigrationSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayCommitMigration.json + */ + /** + * Sample code: VirtualNetworkGatewayCommitMigration. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualNetworkGatewayCommitMigration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .invokeCommitMigration("rg1", "vpngw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeExecuteMigrationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeExecuteMigrationSamples.java new file mode 100644 index 000000000000..2d641b1dbcc4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokeExecuteMigrationSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGateways InvokeExecuteMigration. + */ +public final class VirtualNetworkGatewaysInvokeExecuteMigrationSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayExecuteMigration.json + */ + /** + * Sample code: VirtualNetworkGatewayExecuteMigration. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualNetworkGatewayExecuteMigration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .invokeExecuteMigration("rg1", "vpngw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokePrepareMigrationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokePrepareMigrationSamples.java new file mode 100644 index 000000000000..1825ed3299d7 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysInvokePrepareMigrationSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayMigrationParameters; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayMigrationType; + +/** + * Samples for VirtualNetworkGateways InvokePrepareMigration. + */ +public final class VirtualNetworkGatewaysInvokePrepareMigrationSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayPrepareMigration.json + */ + /** + * Sample code: VirtualNetworkGatewayPrepareMigration. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualNetworkGatewayPrepareMigration(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .invokePrepareMigration("rg1", "vpngw", + new VirtualNetworkGatewayMigrationParameters() + .withMigrationType(VirtualNetworkGatewayMigrationType.UPGRADE_DEPLOYMENT_TO_STANDARD_IP) + .withResourceUrl("testUrl"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListByResourceGroupSamples.java new file mode 100644 index 000000000000..26cfadb69602 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways ListByResourceGroup. + */ +public final class VirtualNetworkGatewaysListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayList.json + */ + /** + * Sample code: ListVirtualNetworkGatewaysinResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listVirtualNetworkGatewaysinResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListConnectionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListConnectionsSamples.java new file mode 100644 index 000000000000..8326a8fc6eeb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListConnectionsSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGateways ListConnections. + */ +public final class VirtualNetworkGatewaysListConnectionsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewaysListConnections.json + */ + /** + * Sample code: VirtualNetworkGatewaysListConnections. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualNetworkGatewaysListConnections(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .listConnections("testrg", "test-vpn-gateway-1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListRadiusSecretsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListRadiusSecretsSamples.java new file mode 100644 index 000000000000..55b0563c18f1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysListRadiusSecretsSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways ListRadiusSecrets. + */ +public final class VirtualNetworkGatewaysListRadiusSecretsSamples { + /* + * x-ms-original-file: 2025-05-01/AllVirtualNetworkGatewayRadiusServerSecretsList.json + */ + /** + * Sample code: ListAllVirtualNetworkGatewayRadiusServerSecrets. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllVirtualNetworkGatewayRadiusServerSecrets(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .listRadiusSecretsWithResponse("rg1", "vpngw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysResetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysResetSamples.java new file mode 100644 index 000000000000..ba646da56530 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysResetSamples.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.network.generated; + +/** + * Samples for VirtualNetworkGateways Reset. + */ +public final class VirtualNetworkGatewaysResetSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayReset.json + */ + /** + * Sample code: ResetVirtualNetworkGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void resetVirtualNetworkGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .reset("rg1", "vpngw", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysResetVpnClientSharedKeySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysResetVpnClientSharedKeySamples.java new file mode 100644 index 000000000000..ece06ad7bb44 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysResetVpnClientSharedKeySamples.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.network.generated; + +/** + * Samples for VirtualNetworkGateways ResetVpnClientSharedKey. + */ +public final class VirtualNetworkGatewaysResetVpnClientSharedKeySamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayResetVpnClientSharedKey.json + */ + /** + * Sample code: ResetVpnClientSharedKey. + * + * @param manager Entry point to NetworkManager. + */ + public static void resetVpnClientSharedKey(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .resetVpnClientSharedKey("rg1", "vpngw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysSetVpnclientIpsecParametersSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysSetVpnclientIpsecParametersSamples.java new file mode 100644 index 000000000000..6d3fa7b192b9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysSetVpnclientIpsecParametersSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.VpnClientIPsecParametersInner; +import com.azure.resourcemanager.network.models.DhGroup; +import com.azure.resourcemanager.network.models.IkeEncryption; +import com.azure.resourcemanager.network.models.IkeIntegrity; +import com.azure.resourcemanager.network.models.IpsecEncryption; +import com.azure.resourcemanager.network.models.IpsecIntegrity; +import com.azure.resourcemanager.network.models.PfsGroup; + +/** + * Samples for VirtualNetworkGateways SetVpnclientIpsecParameters. + */ +public final class VirtualNetworkGatewaysSetVpnclientIpsecParametersSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewaySetVpnClientIpsecParameters.json + */ + /** + * Sample code: Set VirtualNetworkGateway VpnClientIpsecParameters. + * + * @param manager Entry point to NetworkManager. + */ + public static void + setVirtualNetworkGatewayVpnClientIpsecParameters(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .setVpnclientIpsecParameters("rg1", "vpngw", + new VpnClientIPsecParametersInner().withSaLifeTimeSeconds(86473) + .withSaDataSizeKilobytes(429497) + .withIpsecEncryption(IpsecEncryption.AES256) + .withIpsecIntegrity(IpsecIntegrity.SHA256) + .withIkeEncryption(IkeEncryption.AES256) + .withIkeIntegrity(IkeIntegrity.SHA384) + .withDhGroup(DhGroup.DHGROUP2) + .withPfsGroup(PfsGroup.PFS2), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStartExpressRouteSiteFailoverSimulationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStartExpressRouteSiteFailoverSimulationSamples.java new file mode 100644 index 000000000000..bf7b5f2fb568 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStartExpressRouteSiteFailoverSimulationSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways StartExpressRouteSiteFailoverSimulation. + */ +public final class VirtualNetworkGatewaysStartExpressRouteSiteFailoverSimulationSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayStartSiteFailoverSimulation.json + */ + /** + * Sample code: VirtualNetworkGatewayStartSiteFailoverSimulation. + * + * @param manager Entry point to NetworkManager. + */ + public static void + virtualNetworkGatewayStartSiteFailoverSimulation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .startExpressRouteSiteFailoverSimulation("rg1", "ergw", "Vancouver", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStartPacketCaptureSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStartPacketCaptureSamples.java new file mode 100644 index 000000000000..f6a53c5a82fe --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStartPacketCaptureSamples.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters; + +/** + * Samples for VirtualNetworkGateways StartPacketCapture. + */ +public final class VirtualNetworkGatewaysStartPacketCaptureSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayStartPacketCaptureFilterData.json + */ + /** + * Sample code: Start packet capture on virtual network gateway with filter. + * + * @param manager Entry point to NetworkManager. + */ + public static void + startPacketCaptureOnVirtualNetworkGatewayWithFilter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .startPacketCapture("rg1", "vpngw", new VpnPacketCaptureStartParameters().withFilterData( + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}"), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayStartPacketCapture.json + */ + /** + * Sample code: Start packet capture on virtual network gateway without filter. + * + * @param manager Entry point to NetworkManager. + */ + public static void startPacketCaptureOnVirtualNetworkGatewayWithoutFilter( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .startPacketCapture("rg1", "vpngw", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStopExpressRouteSiteFailoverSimulationSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStopExpressRouteSiteFailoverSimulationSamples.java new file mode 100644 index 000000000000..dc5ab755a537 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStopExpressRouteSiteFailoverSimulationSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.ExpressRouteFailoverStopApiParameters; +import com.azure.resourcemanager.network.models.FailoverConnectionDetails; +import java.util.Arrays; + +/** + * Samples for VirtualNetworkGateways StopExpressRouteSiteFailoverSimulation. + */ +public final class VirtualNetworkGatewaysStopExpressRouteSiteFailoverSimulationSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayStopSiteFailoverSimulation.json + */ + /** + * Sample code: VirtualNetworkGatewayStopSiteFailoverSimulation. + * + * @param manager Entry point to NetworkManager. + */ + public static void + virtualNetworkGatewayStopSiteFailoverSimulation(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .stopExpressRouteSiteFailoverSimulation("rg1", "ergw", + new ExpressRouteFailoverStopApiParameters().withPeeringLocation("Vancouver") + .withWasSimulationSuccessful(true) + .withDetails(Arrays.asList( + new FailoverConnectionDetails().withFailoverConnectionName("conn1") + .withFailoverLocation("Denver") + .withIsVerified(false), + new FailoverConnectionDetails().withFailoverConnectionName("conn2") + .withFailoverLocation("Amsterdam") + .withIsVerified(true))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStopPacketCaptureSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStopPacketCaptureSamples.java new file mode 100644 index 000000000000..3ac9020313fa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysStopPacketCaptureSamples.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.VpnPacketCaptureStopParameters; + +/** + * Samples for VirtualNetworkGateways StopPacketCapture. + */ +public final class VirtualNetworkGatewaysStopPacketCaptureSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayStopPacketCapture.json + */ + /** + * Sample code: Stop packet capture on virtual network gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void + stopPacketCaptureOnVirtualNetworkGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .stopPacketCapture("rg1", "vpngw", new VpnPacketCaptureStopParameters().withSasUrl( + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysSupportedVpnDevicesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysSupportedVpnDevicesSamples.java new file mode 100644 index 000000000000..67da26f56404 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysSupportedVpnDevicesSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkGateways SupportedVpnDevices. + */ +public final class VirtualNetworkGatewaysSupportedVpnDevicesSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewaySupportedVpnDevice.json + */ + /** + * Sample code: ListVirtualNetworkGatewaySupportedVPNDevices. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listVirtualNetworkGatewaySupportedVPNDevices(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .supportedVpnDevicesWithResponse("rg1", "vpngw", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysUpdateTagsSamples.java new file mode 100644 index 000000000000..1e9437d69b71 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualNetworkGateways UpdateTags. + */ +public final class VirtualNetworkGatewaysUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayUpdateTags.json + */ + /** + * Sample code: UpdateVirtualNetworkGatewayTags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateVirtualNetworkGatewayTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .updateTags("rg1", "vpngw", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysVpnDeviceConfigurationScriptSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysVpnDeviceConfigurationScriptSamples.java new file mode 100644 index 000000000000..90ec6343becc --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkGatewaysVpnDeviceConfigurationScriptSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.VpnDeviceScriptParameters; + +/** + * Samples for VirtualNetworkGateways VpnDeviceConfigurationScript. + */ +public final class VirtualNetworkGatewaysVpnDeviceConfigurationScriptSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGatewayVpnDeviceConfigurationScript.json + */ + /** + * Sample code: GetVPNDeviceConfigurationScript. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVPNDeviceConfigurationScript(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkGateways() + .vpnDeviceConfigurationScriptWithResponse("rg1", "vpngw", + new VpnDeviceScriptParameters().withVendor("Cisco") + .withDeviceFamily("ISR") + .withFirmwareVersion("IOS 15.1 (Preview)"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..c95d77d963aa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsCreateOrUpdateSamples.java @@ -0,0 +1,171 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkPeeringInner; +import com.azure.resourcemanager.network.models.SyncRemoteAddressSpace; +import java.util.Arrays; + +/** + * Samples for VirtualNetworkPeerings CreateOrUpdate. + */ +public final class VirtualNetworkPeeringsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkSubnetPeeringSync.json + */ + /** + * Sample code: Sync subnet Peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void syncSubnetPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .createOrUpdate("peerTest", "vnet1", "peer", new VirtualNetworkPeeringInner() + .withAllowVirtualNetworkAccess(true) + .withAllowForwardedTraffic(true) + .withAllowGatewayTransit(false) + .withUseRemoteGateways(false) + .withRemoteVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2")) + .withPeerCompleteVnets(false) + .withEnableOnlyIPv6Peering(false), SyncRemoteAddressSpace.TRUE, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkV6SubnetPeeringCreate.json + */ + /** + * Sample code: Create V6 Subnet peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void createV6SubnetPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .createOrUpdate("peerTest", "vnet1", "peer", new VirtualNetworkPeeringInner() + .withAllowVirtualNetworkAccess(true) + .withAllowForwardedTraffic(true) + .withAllowGatewayTransit(false) + .withUseRemoteGateways(false) + .withRemoteVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2")) + .withPeerCompleteVnets(false) + .withEnableOnlyIPv6Peering(true) + .withLocalSubnetNames(Arrays.asList("Subnet1", "Subnet4")) + .withRemoteSubnetNames(Arrays.asList("Subnet2")), null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkPeeringSync.json + */ + /** + * Sample code: Sync Peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void syncPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .createOrUpdate("peerTest", "vnet1", "peer", new VirtualNetworkPeeringInner() + .withAllowVirtualNetworkAccess(true) + .withAllowForwardedTraffic(true) + .withAllowGatewayTransit(false) + .withUseRemoteGateways(false) + .withRemoteVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2")), + SyncRemoteAddressSpace.TRUE, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkPeeringCreate.json + */ + /** + * Sample code: Create peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void createPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .createOrUpdate("peerTest", "vnet1", "peer", new VirtualNetworkPeeringInner() + .withAllowVirtualNetworkAccess(true) + .withAllowForwardedTraffic(true) + .withAllowGatewayTransit(false) + .withUseRemoteGateways(false) + .withRemoteVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2")), + null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json + */ + /** + * Sample code: Create peering with remote virtual network encryption. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createPeeringWithRemoteVirtualNetworkEncryption(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .createOrUpdate("peerTest", "vnet1", "peer", new VirtualNetworkPeeringInner() + .withAllowVirtualNetworkAccess(true) + .withAllowForwardedTraffic(true) + .withAllowGatewayTransit(false) + .withUseRemoteGateways(false) + .withRemoteVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2")), + null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkSubnetPeeringCreate.json + */ + /** + * Sample code: Create subnet peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void createSubnetPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .createOrUpdate("peerTest", "vnet1", "peer", new VirtualNetworkPeeringInner() + .withAllowVirtualNetworkAccess(true) + .withAllowForwardedTraffic(true) + .withAllowGatewayTransit(false) + .withUseRemoteGateways(false) + .withRemoteVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2")) + .withPeerCompleteVnets(false) + .withEnableOnlyIPv6Peering(false) + .withLocalSubnetNames(Arrays.asList("Subnet1", "Subnet4")) + .withRemoteSubnetNames(Arrays.asList("Subnet2")), null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkV6SubnetPeeringSync.json + */ + /** + * Sample code: Sync V6 Subnet Peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void syncV6SubnetPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .createOrUpdate("peerTest", "vnet1", "peer", new VirtualNetworkPeeringInner() + .withAllowVirtualNetworkAccess(true) + .withAllowForwardedTraffic(true) + .withAllowGatewayTransit(false) + .withUseRemoteGateways(false) + .withRemoteVirtualNetwork(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2")) + .withPeerCompleteVnets(false) + .withEnableOnlyIPv6Peering(true), SyncRemoteAddressSpace.TRUE, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsDeleteSamples.java new file mode 100644 index 000000000000..fc28635da3a6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsDeleteSamples.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.network.generated; + +/** + * Samples for VirtualNetworkPeerings Delete. + */ +public final class VirtualNetworkPeeringsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkPeeringDelete.json + */ + /** + * Sample code: Delete peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletePeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .delete("peerTest", "vnet1", "peer", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsGetSamples.java new file mode 100644 index 000000000000..bbf16cab2198 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsGetSamples.java @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkPeerings Get. + */ +public final class VirtualNetworkPeeringsGetSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkPeeringGet.json + */ + /** + * Sample code: Get peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void getPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .getWithResponse("peerTest", "vnet1", "peer", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json + */ + /** + * Sample code: Get peering with remote virtual network encryption. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getPeeringWithRemoteVirtualNetworkEncryption(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .getWithResponse("peerTest", "vnet1", "peer", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkSubnetPeeringGet.json + */ + /** + * Sample code: Get subnet peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void getSubnetPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .getWithResponse("peerTest", "vnet1", "peer", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkV6SubnetPeeringGet.json + */ + /** + * Sample code: Get V6 subnet peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void getV6SubnetPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkPeerings() + .getWithResponse("peerTest", "vnet1", "peer", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsListSamples.java new file mode 100644 index 000000000000..73aa8be5c6f0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkPeeringsListSamples.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkPeerings List. + */ +public final class VirtualNetworkPeeringsListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkPeeringList.json + */ + /** + * Sample code: List peerings. + * + * @param manager Entry point to NetworkManager. + */ + public static void listPeerings(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworkPeerings().list("peerTest", "vnet1", com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json + */ + /** + * Sample code: List peerings with remote virtual network encryption. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listPeeringsWithRemoteVirtualNetworkEncryption(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworkPeerings().list("peerTest", "vnet1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..1f20a6d9471a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkTapInner; + +/** + * Samples for VirtualNetworkTaps CreateOrUpdate. + */ +public final class VirtualNetworkTapsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkTapCreate.json + */ + /** + * Sample code: Create Virtual Network Tap. + * + * @param manager Entry point to NetworkManager. + */ + public static void createVirtualNetworkTap(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkTaps() + .createOrUpdate("rg1", "test-vtap", new VirtualNetworkTapInner().withLocation("centraluseuap") + .withDestinationNetworkInterfaceIPConfiguration(new NetworkInterfaceIpConfigurationInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsDeleteSamples.java new file mode 100644 index 000000000000..7110fa438586 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkTaps Delete. + */ +public final class VirtualNetworkTapsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkTapDelete.json + */ + /** + * Sample code: Delete Virtual Network Tap resource. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteVirtualNetworkTapResource(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworkTaps().delete("rg1", "test-vtap", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..44fe21dd9d2f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for VirtualNetworkTaps GetByResourceGroup. + */ +public final class VirtualNetworkTapsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkTapGet.json + */ + /** + * Sample code: Get Virtual Network Tap. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualNetworkTap(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkTaps() + .getByResourceGroupWithResponse("rg1", "testvtap", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsListByResourceGroupSamples.java new file mode 100644 index 000000000000..251428ad74c1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkTaps ListByResourceGroup. + */ +public final class VirtualNetworkTapsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkTapList.json + */ + /** + * Sample code: List virtual network taps in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listVirtualNetworkTapsInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworkTaps().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsListSamples.java new file mode 100644 index 000000000000..996fe3d08181 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworkTaps List. + */ +public final class VirtualNetworkTapsListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkTapListAll.json + */ + /** + * Sample code: List all virtual network taps. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllVirtualNetworkTaps(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworkTaps().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsUpdateTagsSamples.java new file mode 100644 index 000000000000..0b31297c5612 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworkTapsUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualNetworkTaps UpdateTags. + */ +public final class VirtualNetworkTapsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkTapUpdateTags.json + */ + /** + * Sample code: Update virtual network tap tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateVirtualNetworkTapTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworkTaps() + .updateTagsWithResponse("rg1", "test-vtap", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksCheckIpAddressAvailabilitySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksCheckIpAddressAvailabilitySamples.java new file mode 100644 index 000000000000..4433fc037482 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksCheckIpAddressAvailabilitySamples.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.network.generated; + +/** + * Samples for VirtualNetworks CheckIpAddressAvailability. + */ +public final class VirtualNetworksCheckIpAddressAvailabilitySamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkCheckIPAddressAvailability.json + */ + /** + * Sample code: Check IP address availability. + * + * @param manager Entry point to NetworkManager. + */ + public static void checkIPAddressAvailability(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .checkIpAddressAvailabilityWithResponse("rg1", "test-vnet", "10.0.1.4", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksCreateOrUpdateSamples.java new file mode 100644 index 000000000000..b8c74d1c29fb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksCreateOrUpdateSamples.java @@ -0,0 +1,209 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; +import com.azure.resourcemanager.network.fluent.models.VirtualNetworkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.Delegation; +import com.azure.resourcemanager.network.models.IpamPoolPrefixAllocation; +import com.azure.resourcemanager.network.models.ServiceEndpointPropertiesFormat; +import com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities; +import com.azure.resourcemanager.network.models.VirtualNetworkEncryption; +import com.azure.resourcemanager.network.models.VirtualNetworkEncryptionEnforcement; +import java.util.Arrays; + +/** + * Samples for VirtualNetworks CreateOrUpdate. + */ +public final class VirtualNetworksCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkCreateSubnet.json + */ + /** + * Sample code: Create virtual network with subnet. + * + * @param manager Entry point to NetworkManager. + */ + public static void createVirtualNetworkWithSubnet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .createOrUpdate("rg1", "test-vnet", + new VirtualNetworkInner().withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets(Arrays.asList(new SubnetInner().withName("test-1").withAddressPrefix("10.0.0.0/24"))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkCreateWithIpamPool.json + */ + /** + * Sample code: Create virtual network with ipamPool. + * + * @param manager Entry point to NetworkManager. + */ + public static void createVirtualNetworkWithIpamPool(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .createOrUpdate("rg1", "test-vnet", new VirtualNetworkInner().withLocation("eastus") + .withAddressSpace(new AddressSpace().withIpamPoolPrefixAllocations( + Arrays.asList(new IpamPoolPrefixAllocation().withNumberOfIpAddresses("65536") + .withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool")))) + .withSubnets(Arrays.asList(new SubnetInner().withName("test-1") + .withIpamPoolPrefixAllocations(Arrays.asList(new IpamPoolPrefixAllocation() + .withNumberOfIpAddresses("80") + .withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool"))))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkCreateWithBgpCommunities.json + */ + /** + * Sample code: Create virtual network with Bgp Communities. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createVirtualNetworkWithBgpCommunities(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .createOrUpdate("rg1", "test-vnet", + new VirtualNetworkInner().withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets(Arrays.asList(new SubnetInner().withName("test-1").withAddressPrefix("10.0.0.0/24"))) + .withBgpCommunities(new VirtualNetworkBgpCommunities().withVirtualNetworkCommunity("12076:20000")), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkCreateSubnetWithAddressPrefixes.json + */ + /** + * Sample code: Create virtual network with subnet containing address prefixes. + * + * @param manager Entry point to NetworkManager. + */ + public static void createVirtualNetworkWithSubnetContainingAddressPrefixes( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .createOrUpdate("rg1", "test-vnet", + new VirtualNetworkInner().withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets(Arrays.asList(new SubnetInner().withName("test-2") + .withAddressPrefixes(Arrays.asList("10.0.0.0/28", "10.0.1.0/28")))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkCreateSubnetWithDelegation.json + */ + /** + * Sample code: Create virtual network with delegated subnets. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createVirtualNetworkWithDelegatedSubnets(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .createOrUpdate("rg1", "test-vnet", new VirtualNetworkInner().withLocation("westcentralus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets(Arrays.asList(new SubnetInner().withName("test-1") + .withAddressPrefix("10.0.0.0/24") + .withDelegations(Arrays.asList( + new Delegation().withName("myDelegation").withServiceName("Microsoft.Sql/managedInstances"))))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkCreateWithEncryption.json + */ + /** + * Sample code: Create virtual network with encryption. + * + * @param manager Entry point to NetworkManager. + */ + public static void createVirtualNetworkWithEncryption(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .createOrUpdate("rg1", "test-vnet", + new VirtualNetworkInner().withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets(Arrays.asList(new SubnetInner().withName("test-1").withAddressPrefix("10.0.0.0/24"))) + .withEncryption(new VirtualNetworkEncryption().withEnabled(true) + .withEnforcement(VirtualNetworkEncryptionEnforcement.ALLOW_UNENCRYPTED)), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkCreate.json + */ + /** + * Sample code: Create virtual network. + * + * @param manager Entry point to NetworkManager. + */ + public static void createVirtualNetwork(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .createOrUpdate("rg1", "test-vnet", + new VirtualNetworkInner().withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withFlowTimeoutInMinutes(10), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkCreateServiceEndpointPolicy.json + */ + /** + * Sample code: Create virtual network with service endpoints and service endpoint policy. + * + * @param manager Entry point to NetworkManager. + */ + public static void createVirtualNetworkWithServiceEndpointsAndServiceEndpointPolicy( + com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .createOrUpdate("vnetTest", "vnet1", new VirtualNetworkInner().withLocation("eastus2euap") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets(Arrays.asList(new SubnetInner().withName("test-1") + .withAddressPrefix("10.0.0.0/16") + .withServiceEndpoints( + Arrays.asList(new ServiceEndpointPropertiesFormat().withService("Microsoft.Storage"))) + .withServiceEndpointPolicies(Arrays.asList(new ServiceEndpointPolicyInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"))))), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkCreateServiceEndpoints.json + */ + /** + * Sample code: Create virtual network with service endpoints. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createVirtualNetworkWithServiceEndpoints(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .createOrUpdate("vnetTest", "vnet1", + new VirtualNetworkInner().withLocation("eastus") + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withSubnets( + Arrays.asList(new SubnetInner().withName("test-1") + .withAddressPrefix("10.0.0.0/16") + .withServiceEndpoints(Arrays + .asList(new ServiceEndpointPropertiesFormat().withService("Microsoft.Storage"))))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksDeleteSamples.java new file mode 100644 index 000000000000..18b6c52ac8f2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworks Delete. + */ +public final class VirtualNetworksDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkDelete.json + */ + /** + * Sample code: Delete virtual network. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteVirtualNetwork(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworks().delete("rg1", "test-vnet", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksGetByResourceGroupSamples.java new file mode 100644 index 000000000000..f24e69cba1cf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksGetByResourceGroupSamples.java @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworks GetByResourceGroup. + */ +public final class VirtualNetworksGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGetWithSubnetDelegation.json + */ + /** + * Sample code: Get virtual network with a delegated subnet. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualNetworkWithADelegatedSubnet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .getByResourceGroupWithResponse("rg1", "test-vnet", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGetWithServiceAssociationLink.json + */ + /** + * Sample code: Get virtual network with service association links. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getVirtualNetworkWithServiceAssociationLinks(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .getByResourceGroupWithResponse("rg1", "test-vnet", null, com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGet.json + */ + /** + * Sample code: Get virtual network. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualNetwork(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .getByResourceGroupWithResponse("rg1", "test-vnet", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListByResourceGroupSamples.java new file mode 100644 index 000000000000..dbbb744df21e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworks ListByResourceGroup. + */ +public final class VirtualNetworksListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkList.json + */ + /** + * Sample code: List virtual networks in resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listVirtualNetworksInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworks().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListDdosProtectionStatusSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListDdosProtectionStatusSamples.java new file mode 100644 index 000000000000..cf831349ee3f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListDdosProtectionStatusSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworks ListDdosProtectionStatus. + */ +public final class VirtualNetworksListDdosProtectionStatusSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkGetDdosProtectionStatus.json + */ + /** + * Sample code: Get Ddos Protection Status of a Virtual Network. + * + * @param manager Entry point to NetworkManager. + */ + public static void + getDdosProtectionStatusOfAVirtualNetwork(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .listDdosProtectionStatus("rg1", "test-vnet", 75, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListSamples.java new file mode 100644 index 000000000000..a61a8c5344c0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworks List. + */ +public final class VirtualNetworksListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkListAll.json + */ + /** + * Sample code: List all virtual networks. + * + * @param manager Entry point to NetworkManager. + */ + public static void listAllVirtualNetworks(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworks().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListUsageSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListUsageSamples.java new file mode 100644 index 000000000000..db2e37b37dab --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksListUsageSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualNetworks ListUsage. + */ +public final class VirtualNetworksListUsageSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkListUsage.json + */ + /** + * Sample code: VnetGetUsage. + * + * @param manager Entry point to NetworkManager. + */ + public static void vnetGetUsage(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualNetworks().listUsage("rg1", "vnetName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksUpdateTagsSamples.java new file mode 100644 index 000000000000..111c091bafca --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualNetworksUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualNetworks UpdateTags. + */ +public final class VirtualNetworksUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualNetworkUpdateTags.json + */ + /** + * Sample code: Update virtual network tags. + * + * @param manager Entry point to NetworkManager. + */ + public static void updateVirtualNetworkTags(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualNetworks() + .updateTagsWithResponse("rg1", "test-vnet", + new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..a139281db807 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsCreateOrUpdateSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.VirtualRouterPeeringInner; + +/** + * Samples for VirtualRouterPeerings CreateOrUpdate. + */ +public final class VirtualRouterPeeringsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterPeeringPut.json + */ + /** + * Sample code: Create Virtual Router Peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void createVirtualRouterPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualRouterPeerings() + .createOrUpdate("rg1", "virtualRouter", "peering1", + new VirtualRouterPeeringInner().withPeerAsn(20000L).withPeerIp("192.168.1.5"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsDeleteSamples.java new file mode 100644 index 000000000000..d8145c0e4945 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsDeleteSamples.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.network.generated; + +/** + * Samples for VirtualRouterPeerings Delete. + */ +public final class VirtualRouterPeeringsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterPeeringDelete.json + */ + /** + * Sample code: Delete VirtualRouterPeering. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteVirtualRouterPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualRouterPeerings() + .delete("rg1", "virtualRouter", "peering1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsGetSamples.java new file mode 100644 index 000000000000..7710888b6219 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsGetSamples.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.network.generated; + +/** + * Samples for VirtualRouterPeerings Get. + */ +public final class VirtualRouterPeeringsGetSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterPeeringGet.json + */ + /** + * Sample code: Get Virtual Router Peering. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualRouterPeering(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualRouterPeerings() + .getWithResponse("rg1", "virtualRouter", "peering1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsListSamples.java new file mode 100644 index 000000000000..2a0ee8aa1680 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRouterPeeringsListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualRouterPeerings List. + */ +public final class VirtualRouterPeeringsListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterPeeringList.json + */ + /** + * Sample code: List all Virtual Router Peerings for a given Virtual Router. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllVirtualRouterPeeringsForAGivenVirtualRouter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualRouterPeerings() + .list("rg1", "virtualRouter", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersCreateOrUpdateSamples.java new file mode 100644 index 000000000000..fd6ed3b3e131 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersCreateOrUpdateSamples.java @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.VirtualRouterInner; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualRouters CreateOrUpdate. + */ +public final class VirtualRoutersCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterPut.json + */ + /** + * Sample code: Create VirtualRouter. + * + * @param manager Entry point to NetworkManager. + */ + public static void createVirtualRouter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualRouters() + .createOrUpdate("rg1", "virtualRouter", new VirtualRouterInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withHostedGateway(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersDeleteSamples.java new file mode 100644 index 000000000000..01a3ba2c046a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualRouters Delete. + */ +public final class VirtualRoutersDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterDelete.json + */ + /** + * Sample code: Delete VirtualRouter. + * + * @param manager Entry point to NetworkManager. + */ + public static void deleteVirtualRouter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualRouters().delete("rg1", "virtualRouter", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersGetByResourceGroupSamples.java new file mode 100644 index 000000000000..386c2011616d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for VirtualRouters GetByResourceGroup. + */ +public final class VirtualRoutersGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterGet.json + */ + /** + * Sample code: Get VirtualRouter. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualRouter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualRouters() + .getByResourceGroupWithResponse("rg1", "virtualRouter", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersListByResourceGroupSamples.java new file mode 100644 index 000000000000..a6c627dc42cf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersListByResourceGroupSamples.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.network.generated; + +/** + * Samples for VirtualRouters ListByResourceGroup. + */ +public final class VirtualRoutersListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterListByResourceGroup.json + */ + /** + * Sample code: List all Virtual Router for a given resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllVirtualRouterForAGivenResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualRouters().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersListSamples.java new file mode 100644 index 000000000000..5237c3d6f423 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualRoutersListSamples.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.network.generated; + +/** + * Samples for VirtualRouters List. + */ +public final class VirtualRoutersListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualRouterListBySubscription.json + */ + /** + * Sample code: List all Virtual Routers for a given subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllVirtualRoutersForAGivenSubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualRouters().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansCreateOrUpdateSamples.java new file mode 100644 index 000000000000..5614fc3a34a1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansCreateOrUpdateSamples.java @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.VirtualWANInner; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualWans CreateOrUpdate. + */ +public final class VirtualWansCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualWANPut.json + */ + /** + * Sample code: VirtualWANCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualWANCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualWans() + .createOrUpdate("rg1", "wan1", + new VirtualWANInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withDisableVpnEncryption(false) + .withTypePropertiesType("Basic"), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansDeleteSamples.java new file mode 100644 index 000000000000..3e132ded619d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualWans Delete. + */ +public final class VirtualWansDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualWANDelete.json + */ + /** + * Sample code: VirtualWANDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualWANDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualWans().delete("rg1", "virtualWan1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGeneratevirtualwanvpnserverconfigurationvpnprofileSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGeneratevirtualwanvpnserverconfigurationvpnprofileSamples.java new file mode 100644 index 000000000000..69277b6775c3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGeneratevirtualwanvpnserverconfigurationvpnprofileSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.AuthenticationMethod; +import com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters; + +/** + * Samples for VirtualWans Generatevirtualwanvpnserverconfigurationvpnprofile. + */ +public final class VirtualWansGeneratevirtualwanvpnserverconfigurationvpnprofileSamples { + /* + * x-ms-original-file: 2025-05-01/GenerateVirtualWanVpnServerConfigurationVpnProfile.json + */ + /** + * Sample code: GenerateVirtualWanVpnServerConfigurationVpnProfile. + * + * @param manager Entry point to NetworkManager. + */ + public static void + generateVirtualWanVpnServerConfigurationVpnProfile(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualWans() + .generatevirtualwanvpnserverconfigurationvpnprofile("rg1", "wan1", + new VirtualWanVpnProfileParameters().withVpnServerConfigurationResourceId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig1") + .withAuthenticationMethod(AuthenticationMethod.EAPTLS), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGetByResourceGroupSamples.java new file mode 100644 index 000000000000..4de2746e6b81 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for VirtualWans GetByResourceGroup. + */ +public final class VirtualWansGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualWANGet.json + */ + /** + * Sample code: VirtualWANGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualWANGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualWans() + .getByResourceGroupWithResponse("rg1", "wan1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansListByResourceGroupSamples.java new file mode 100644 index 000000000000..c111433b1afa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualWans ListByResourceGroup. + */ +public final class VirtualWansListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualWANListByResourceGroup.json + */ + /** + * Sample code: VirtualWANListByResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualWANListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualWans().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansListSamples.java new file mode 100644 index 000000000000..48a1258151d3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VirtualWans List. + */ +public final class VirtualWansListSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualWANList.json + */ + /** + * Sample code: VirtualWANList. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualWANList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVirtualWans().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansSupportedSecurityProvidersSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansSupportedSecurityProvidersSamples.java new file mode 100644 index 000000000000..514414cffd9f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansSupportedSecurityProvidersSamples.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.network.generated; + +/** + * Samples for VirtualWans SupportedSecurityProviders. + */ +public final class VirtualWansSupportedSecurityProvidersSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualWanSupportedSecurityProviders.json + */ + /** + * Sample code: supportedSecurityProviders. + * + * @param manager Entry point to NetworkManager. + */ + public static void supportedSecurityProviders(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualWans() + .supportedSecurityProvidersWithResponse("rg1", "wan1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansUpdateTagsSamples.java new file mode 100644 index 000000000000..322064b968ca --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansUpdateTagsSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VirtualWans UpdateTags. + */ +public final class VirtualWansUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/VirtualWANUpdateTags.json + */ + /** + * Sample code: VirtualWANUpdate. + * + * @param manager Entry point to NetworkManager. + */ + public static void virtualWANUpdate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVirtualWans() + .updateTagsWithResponse("rg1", "wan1", + new TagsObject().withTags(mapOf("key1", "fakeTokenPlaceholder", "key2", "fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..20e4eb1677da --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsCreateOrUpdateSamples.java @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.VpnConnectionInner; +import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkConnectionInner; +import com.azure.resourcemanager.network.models.PropagatedRouteTable; +import com.azure.resourcemanager.network.models.RoutingConfiguration; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; +import com.azure.resourcemanager.network.models.VpnLinkConnectionMode; +import java.util.Arrays; + +/** + * Samples for VpnConnections CreateOrUpdate. + */ +public final class VpnConnectionsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VpnConnectionPut.json + */ + /** + * Sample code: VpnConnectionPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnConnectionPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnConnections() + .createOrUpdate("rg1", "gateway1", "vpnConnection1", new VpnConnectionInner() + .withRemoteVpnSite(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1")) + .withTrafficSelectorPolicies(Arrays.asList()) + .withVpnLinkConnections(Arrays.asList(new VpnSiteLinkConnectionInner().withName("Connection-Link1") + .withVpnSiteLink(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1")) + .withVpnLinkConnectionMode(VpnLinkConnectionMode.DEFAULT) + .withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol.IKEV2) + .withConnectionBandwidth(200) + .withSharedKey("fakeTokenPlaceholder") + .withUsePolicyBasedTrafficSelectors(false))) + .withRoutingConfiguration(new RoutingConfiguration().withAssociatedRouteTable(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1")) + .withPropagatedRouteTables(new PropagatedRouteTable().withLabels(Arrays.asList("label1", "label2")) + .withIds(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1"), + new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2"), + new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3")))) + .withInboundRouteMap(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1")) + .withOutboundRouteMap(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsDeleteSamples.java new file mode 100644 index 000000000000..61ec7f9a5115 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsDeleteSamples.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.network.generated; + +/** + * Samples for VpnConnections Delete. + */ +public final class VpnConnectionsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VpnConnectionDelete.json + */ + /** + * Sample code: VpnConnectionDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnConnectionDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnConnections() + .delete("rg1", "gateway1", "vpnConnection1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsGetSamples.java new file mode 100644 index 000000000000..2a14d591c9a4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsGetSamples.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.network.generated; + +/** + * Samples for VpnConnections Get. + */ +public final class VpnConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/VpnConnectionGet.json + */ + /** + * Sample code: VpnConnectionGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnConnectionGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnConnections() + .getWithResponse("rg1", "gateway1", "vpnConnection1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsListByVpnGatewaySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsListByVpnGatewaySamples.java new file mode 100644 index 000000000000..772ac3554e25 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsListByVpnGatewaySamples.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.network.generated; + +/** + * Samples for VpnConnections ListByVpnGateway. + */ +public final class VpnConnectionsListByVpnGatewaySamples { + /* + * x-ms-original-file: 2025-05-01/VpnConnectionList.json + */ + /** + * Sample code: VpnConnectionList. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnConnectionList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnConnections() + .listByVpnGateway("rg1", "gateway1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsStartPacketCaptureSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsStartPacketCaptureSamples.java new file mode 100644 index 000000000000..bb4c65093174 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsStartPacketCaptureSamples.java @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStartParameters; +import java.util.Arrays; + +/** + * Samples for VpnConnections StartPacketCapture. + */ +public final class VpnConnectionsStartPacketCaptureSamples { + /* + * x-ms-original-file: 2025-05-01/VpnConnectionStartPacketCaptureFilterData.json + */ + /** + * Sample code: Start packet capture on vpn connection with filter. + * + * @param manager Entry point to NetworkManager. + */ + public static void + startPacketCaptureOnVpnConnectionWithFilter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnConnections() + .startPacketCapture("rg1", "gateway1", "vpnConnection1", + new VpnConnectionPacketCaptureStartParameters().withFilterData( + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}") + .withLinkConnectionNames(Arrays.asList("siteLink1", "siteLink2")), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VpnConnectionStartPacketCapture.json + */ + /** + * Sample code: Start packet capture on vpn connection without filter. + * + * @param manager Entry point to NetworkManager. + */ + public static void + startPacketCaptureOnVpnConnectionWithoutFilter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnConnections() + .startPacketCapture( + "rg1", "gateway1", "vpnConnection1", new VpnConnectionPacketCaptureStartParameters() + .withLinkConnectionNames(Arrays.asList("siteLink1", "siteLink2")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsStopPacketCaptureSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsStopPacketCaptureSamples.java new file mode 100644 index 000000000000..b1bb588ab4cc --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnConnectionsStopPacketCaptureSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStopParameters; +import java.util.Arrays; + +/** + * Samples for VpnConnections StopPacketCapture. + */ +public final class VpnConnectionsStopPacketCaptureSamples { + /* + * x-ms-original-file: 2025-05-01/VpnConnectionStopPacketCapture.json + */ + /** + * Sample code: Start packet capture on vpn connection without filter. + * + * @param manager Entry point to NetworkManager. + */ + public static void + startPacketCaptureOnVpnConnectionWithoutFilter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnConnections() + .stopPacketCapture("rg1", "gateway1", "vpnConnection1", + new VpnConnectionPacketCaptureStopParameters().withSasUrl( + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D") + .withLinkConnectionNames(Arrays.asList("vpnSiteLink1", "vpnSiteLink2")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysCreateOrUpdateSamples.java new file mode 100644 index 000000000000..3341ade792ea --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysCreateOrUpdateSamples.java @@ -0,0 +1,81 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.VpnConnectionInner; +import com.azure.resourcemanager.network.fluent.models.VpnGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VpnGatewayNatRuleInner; +import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkConnectionInner; +import com.azure.resourcemanager.network.models.BgpSettings; +import com.azure.resourcemanager.network.models.IPConfigurationBgpPeeringAddress; +import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; +import com.azure.resourcemanager.network.models.VpnNatRuleMapping; +import com.azure.resourcemanager.network.models.VpnNatRuleMode; +import com.azure.resourcemanager.network.models.VpnNatRuleType; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VpnGateways CreateOrUpdate. + */ +public final class VpnGatewaysCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VpnGatewayPut.json + */ + /** + * Sample code: VpnGatewayPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnGatewayPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnGateways() + .createOrUpdate("rg1", "gateway1", new VpnGatewayInner().withLocation("westcentralus") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withVirtualHub(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1")) + .withConnections(Arrays.asList(new VpnConnectionInner().withName("vpnConnection1") + .withRemoteVpnSite(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1")) + .withVpnLinkConnections(Arrays.asList(new VpnSiteLinkConnectionInner().withName("Connection-Link1") + .withVpnSiteLink(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1")) + .withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol.IKEV2) + .withConnectionBandwidth(200) + .withSharedKey("fakeTokenPlaceholder") + .withEgressNatRules(Arrays.asList(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03"))))))) + .withBgpSettings(new BgpSettings().withAsn(65515L) + .withPeerWeight(0) + .withBgpPeeringAddresses(Arrays.asList( + new IPConfigurationBgpPeeringAddress().withIpconfigurationId("Instance0") + .withCustomBgpIpAddresses(Arrays.asList("169.254.21.5")), + new IPConfigurationBgpPeeringAddress().withIpconfigurationId("Instance1") + .withCustomBgpIpAddresses(Arrays.asList("169.254.21.10"))))) + .withEnableBgpRouteTranslationForNat(false) + .withIsRoutingPreferenceInternet(false) + .withNatRules(Arrays.asList(new VpnGatewayNatRuleInner().withName("nat03") + .withTypePropertiesType(VpnNatRuleType.STATIC) + .withMode(VpnNatRuleMode.EGRESS_SNAT) + .withInternalMappings(Arrays.asList(new VpnNatRuleMapping().withAddressSpace("0.0.0.0/26"))) + .withExternalMappings(Arrays.asList(new VpnNatRuleMapping().withAddressSpace("192.168.0.0/26"))) + .withIpConfigurationId(""))), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysDeleteSamples.java new file mode 100644 index 000000000000..701fefd9b5f1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnGateways Delete. + */ +public final class VpnGatewaysDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VpnGatewayDelete.json + */ + /** + * Sample code: VpnGatewayDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnGatewayDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVpnGateways().delete("rg1", "gateway1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysGetByResourceGroupSamples.java new file mode 100644 index 000000000000..1ec87bbcfc16 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for VpnGateways GetByResourceGroup. + */ +public final class VpnGatewaysGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VpnGatewayGet.json + */ + /** + * Sample code: VpnGatewayGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnGatewayGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnGateways() + .getByResourceGroupWithResponse("rg1", "gateway1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysListByResourceGroupSamples.java new file mode 100644 index 000000000000..dbff3932c3a8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnGateways ListByResourceGroup. + */ +public final class VpnGatewaysListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VpnGatewayListByResourceGroup.json + */ + /** + * Sample code: VpnGatewayListByResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnGatewayListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVpnGateways().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysListSamples.java new file mode 100644 index 000000000000..c8ff9689290a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnGateways List. + */ +public final class VpnGatewaysListSamples { + /* + * x-ms-original-file: 2025-05-01/VpnGatewayList.json + */ + /** + * Sample code: VpnGatewayListBySubscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnGatewayListBySubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVpnGateways().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysResetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysResetSamples.java new file mode 100644 index 000000000000..e3beb686d0db --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysResetSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnGateways Reset. + */ +public final class VpnGatewaysResetSamples { + /* + * x-ms-original-file: 2025-05-01/VpnGatewayReset.json + */ + /** + * Sample code: ResetVpnGateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void resetVpnGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVpnGateways().reset("rg1", "vpngw", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysStartPacketCaptureSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysStartPacketCaptureSamples.java new file mode 100644 index 000000000000..c5837dd97056 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysStartPacketCaptureSamples.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStartParameters; + +/** + * Samples for VpnGateways StartPacketCapture. + */ +public final class VpnGatewaysStartPacketCaptureSamples { + /* + * x-ms-original-file: 2025-05-01/VpnGatewayStartPacketCaptureFilterData.json + */ + /** + * Sample code: Start packet capture on vpn gateway with filter. + * + * @param manager Entry point to NetworkManager. + */ + public static void + startPacketCaptureOnVpnGatewayWithFilter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnGateways() + .startPacketCapture("rg1", "vpngw", new VpnGatewayPacketCaptureStartParameters().withFilterData( + "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}"), + com.azure.core.util.Context.NONE); + } + + /* + * x-ms-original-file: 2025-05-01/VpnGatewayStartPacketCapture.json + */ + /** + * Sample code: Start packet capture on vpn gateway without filter. + * + * @param manager Entry point to NetworkManager. + */ + public static void + startPacketCaptureOnVpnGatewayWithoutFilter(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnGateways() + .startPacketCapture("rg1", "vpngw", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysStopPacketCaptureSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysStopPacketCaptureSamples.java new file mode 100644 index 000000000000..2f31662650e0 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysStopPacketCaptureSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStopParameters; + +/** + * Samples for VpnGateways StopPacketCapture. + */ +public final class VpnGatewaysStopPacketCaptureSamples { + /* + * x-ms-original-file: 2025-05-01/VpnGatewayStopPacketCapture.json + */ + /** + * Sample code: Stop packet capture on vpn gateway. + * + * @param manager Entry point to NetworkManager. + */ + public static void stopPacketCaptureOnVpnGateway(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnGateways() + .stopPacketCapture("rg1", "vpngw", new VpnGatewayPacketCaptureStopParameters().withSasUrl( + "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysUpdateTagsSamples.java new file mode 100644 index 000000000000..e5379f66408f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnGatewaysUpdateTagsSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VpnGateways UpdateTags. + */ +public final class VpnGatewaysUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/VpnGatewayUpdateTags.json + */ + /** + * Sample code: VpnGatewayUpdate. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnGatewayUpdate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnGateways() + .updateTags("rg1", "gateway1", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetAllSharedKeysSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetAllSharedKeysSamples.java new file mode 100644 index 000000000000..6b8a22dce1f4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetAllSharedKeysSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnLinkConnections GetAllSharedKeys. + */ +public final class VpnLinkConnectionsGetAllSharedKeysSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteLinkConnectionSharedKeysGet.json + */ + /** + * Sample code: VpnSiteLinkConnectionSharedKeysGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteLinkConnectionSharedKeysGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnLinkConnections() + .getAllSharedKeys("rg1", "gateway1", "vpnConnection1", "Connection-Link1", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetDefaultSharedKeySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetDefaultSharedKeySamples.java new file mode 100644 index 000000000000..57bba9ae04ee --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetDefaultSharedKeySamples.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.network.generated; + +/** + * Samples for VpnLinkConnections GetDefaultSharedKey. + */ +public final class VpnLinkConnectionsGetDefaultSharedKeySamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteLinkConnectionDefaultSharedKeyGet.json + */ + /** + * Sample code: VpnSiteLinkConnectionDefaultSharedKeyGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void + vpnSiteLinkConnectionDefaultSharedKeyGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnLinkConnections() + .getDefaultSharedKeyWithResponse("rg1", "gateway1", "vpnConnection1", "Connection-Link1", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetIkeSasSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetIkeSasSamples.java new file mode 100644 index 000000000000..e2c0b8288d8e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsGetIkeSasSamples.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.network.generated; + +/** + * Samples for VpnLinkConnections GetIkeSas. + */ +public final class VpnLinkConnectionsGetIkeSasSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteLinkConnectionGetIkeSas.json + */ + /** + * Sample code: GetVpnLinkConnectionIkeSa. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVpnLinkConnectionIkeSa(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnLinkConnections() + .getIkeSas("rg1", "gateway1", "vpnConnection1", "Connection-Link1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsListByVpnConnectionSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsListByVpnConnectionSamples.java new file mode 100644 index 000000000000..6d734557616e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsListByVpnConnectionSamples.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.network.generated; + +/** + * Samples for VpnLinkConnections ListByVpnConnection. + */ +public final class VpnLinkConnectionsListByVpnConnectionSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteLinkConnectionList.json + */ + /** + * Sample code: VpnSiteLinkConnectionList. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteLinkConnectionList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnLinkConnections() + .listByVpnConnection("rg1", "gateway1", "vpnConnection1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsListDefaultSharedKeySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsListDefaultSharedKeySamples.java new file mode 100644 index 000000000000..8dd465bd8686 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsListDefaultSharedKeySamples.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.network.generated; + +/** + * Samples for VpnLinkConnections ListDefaultSharedKey. + */ +public final class VpnLinkConnectionsListDefaultSharedKeySamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteLinkConnectionDefaultSharedKeyList.json + */ + /** + * Sample code: VpnSiteLinkConnectionDefaultSharedKeyList. + * + * @param manager Entry point to NetworkManager. + */ + public static void + vpnSiteLinkConnectionDefaultSharedKeyList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnLinkConnections() + .listDefaultSharedKeyWithResponse("rg1", "gateway1", "vpnConnection1", "Connection-Link1", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsResetConnectionSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsResetConnectionSamples.java new file mode 100644 index 000000000000..054adb4c8ace --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsResetConnectionSamples.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.network.generated; + +/** + * Samples for VpnLinkConnections ResetConnection. + */ +public final class VpnLinkConnectionsResetConnectionSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteLinkConnectionReset.json + */ + /** + * Sample code: ResetVpnLinkConnection. + * + * @param manager Entry point to NetworkManager. + */ + public static void resetVpnLinkConnection(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnLinkConnections() + .resetConnection("rg1", "gateway1", "vpnConnection1", "Connection-Link1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsSetOrInitDefaultSharedKeySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsSetOrInitDefaultSharedKeySamples.java new file mode 100644 index 000000000000..fe1524b0a889 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnLinkConnectionsSetOrInitDefaultSharedKeySamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyResultInner; +import com.azure.resourcemanager.network.models.SharedKeyProperties; + +/** + * Samples for VpnLinkConnections SetOrInitDefaultSharedKey. + */ +public final class VpnLinkConnectionsSetOrInitDefaultSharedKeySamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteLinkConnectionDefaultSharedKeyPut.json + */ + /** + * Sample code: VpnSiteLinkConnectionDefaultSharedKeyPut. + * + * @param manager Entry point to NetworkManager. + */ + public static void + vpnSiteLinkConnectionDefaultSharedKeyPut(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnLinkConnections() + .setOrInitDefaultSharedKey( + "rg1", "gateway1", "vpnConnection1", "Connection-Link1", new ConnectionSharedKeyResultInner() + .withProperties(new SharedKeyProperties().withSharedKey("fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsAssociatedWithVirtualWanListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsAssociatedWithVirtualWanListSamples.java new file mode 100644 index 000000000000..1f6afe76ef96 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsAssociatedWithVirtualWanListSamples.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.network.generated; + +/** + * Samples for VpnServerConfigurationsAssociatedWithVirtualWan List. + */ +public final class VpnServerConfigurationsAssociatedWithVirtualWanListSamples { + /* + * x-ms-original-file: 2025-05-01/GetVirtualWanVpnServerConfigurations.json + */ + /** + * Sample code: GetVirtualWanVpnServerConfigurations. + * + * @param manager Entry point to NetworkManager. + */ + public static void getVirtualWanVpnServerConfigurations(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnServerConfigurationsAssociatedWithVirtualWans() + .list("rg1", "wan1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsCreateOrUpdateSamples.java new file mode 100644 index 000000000000..78ea8f0e032d --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsCreateOrUpdateSamples.java @@ -0,0 +1,102 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.fluent.models.VpnServerConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.VpnServerConfigurationPolicyGroupInner; +import com.azure.resourcemanager.network.models.DhGroup; +import com.azure.resourcemanager.network.models.IkeEncryption; +import com.azure.resourcemanager.network.models.IkeIntegrity; +import com.azure.resourcemanager.network.models.IpsecEncryption; +import com.azure.resourcemanager.network.models.IpsecIntegrity; +import com.azure.resourcemanager.network.models.IpsecPolicy; +import com.azure.resourcemanager.network.models.PfsGroup; +import com.azure.resourcemanager.network.models.RadiusServer; +import com.azure.resourcemanager.network.models.VpnGatewayTunnelingProtocol; +import com.azure.resourcemanager.network.models.VpnPolicyMemberAttributeType; +import com.azure.resourcemanager.network.models.VpnServerConfigRadiusClientRootCertificate; +import com.azure.resourcemanager.network.models.VpnServerConfigRadiusServerRootCertificate; +import com.azure.resourcemanager.network.models.VpnServerConfigVpnClientRevokedCertificate; +import com.azure.resourcemanager.network.models.VpnServerConfigVpnClientRootCertificate; +import com.azure.resourcemanager.network.models.VpnServerConfigurationPolicyGroupMember; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VpnServerConfigurations CreateOrUpdate. + */ +public final class VpnServerConfigurationsCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VpnServerConfigurationPut.json + */ + /** + * Sample code: VpnServerConfigurationCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnServerConfigurationCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnServerConfigurations() + .createOrUpdate("rg1", "vpnServerConfiguration1", new VpnServerConfigurationInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withVpnProtocols(Arrays.asList(VpnGatewayTunnelingProtocol.IKE_V2)) + .withVpnClientRootCertificates(Arrays.asList(new VpnServerConfigVpnClientRootCertificate() + .withName("vpnServerConfigVpnClientRootCert1") + .withPublicCertData( + "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"))) + .withVpnClientRevokedCertificates(Arrays.asList( + new VpnServerConfigVpnClientRevokedCertificate().withName("vpnServerConfigVpnClientRevokedCert1") + .withThumbprint("83FFBFC8848B5A5836C94D0112367E16148A286F"))) + .withRadiusServerRootCertificates(Arrays.asList(new VpnServerConfigRadiusServerRootCertificate() + .withName("vpnServerConfigRadiusServerRootCer1") + .withPublicCertData( + "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"))) + .withRadiusClientRootCertificates(Arrays.asList( + new VpnServerConfigRadiusClientRootCertificate().withName("vpnServerConfigRadiusClientRootCert1") + .withThumbprint("83FFBFC8848B5A5836C94D0112367E16148A286F"))) + .withVpnClientIpsecPolicies(Arrays.asList(new IpsecPolicy().withSaLifeTimeSeconds(86472) + .withSaDataSizeKilobytes(429497) + .withIpsecEncryption(IpsecEncryption.AES256) + .withIpsecIntegrity(IpsecIntegrity.SHA256) + .withIkeEncryption(IkeEncryption.AES256) + .withIkeIntegrity(IkeIntegrity.SHA384) + .withDhGroup(DhGroup.DHGROUP14) + .withPfsGroup(PfsGroup.PFS14))) + .withRadiusServers(Arrays.asList(new RadiusServer().withRadiusServerAddress("10.0.0.0") + .withRadiusServerScore(25L) + .withRadiusServerSecret("fakeTokenPlaceholder"))) + .withConfigurationPolicyGroups(Arrays.asList(new VpnServerConfigurationPolicyGroupInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1") + .withName("policyGroup1") + .withIsDefault(true) + .withPriority(0) + .withPolicyMembers(Arrays.asList(new VpnServerConfigurationPolicyGroupMember().withName("policy1") + .withAttributeType(VpnPolicyMemberAttributeType.RADIUS_AZURE_GROUP_ID) + .withAttributeValue("6ad1bd08"))), + new VpnServerConfigurationPolicyGroupInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2") + .withName("policyGroup2") + .withIsDefault(true) + .withPriority(0) + .withPolicyMembers( + Arrays.asList(new VpnServerConfigurationPolicyGroupMember().withName("policy2") + .withAttributeType(VpnPolicyMemberAttributeType.CERTIFICATE_GROUP_ID) + .withAttributeValue("red.com"))))), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsDeleteSamples.java new file mode 100644 index 000000000000..3e992c175deb --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsDeleteSamples.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.network.generated; + +/** + * Samples for VpnServerConfigurations Delete. + */ +public final class VpnServerConfigurationsDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VpnServerConfigurationDelete.json + */ + /** + * Sample code: VpnServerConfigurationDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnServerConfigurationDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnServerConfigurations() + .delete("rg1", "vpnServerConfiguration1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsGetByResourceGroupSamples.java new file mode 100644 index 000000000000..a558102015aa --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for VpnServerConfigurations GetByResourceGroup. + */ +public final class VpnServerConfigurationsGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VpnServerConfigurationGet.json + */ + /** + * Sample code: VpnServerConfigurationGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnServerConfigurationGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnServerConfigurations() + .getByResourceGroupWithResponse("rg1", "vpnServerConfiguration1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListByResourceGroupSamples.java new file mode 100644 index 000000000000..67572b9fc5f2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListByResourceGroupSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnServerConfigurations ListByResourceGroup. + */ +public final class VpnServerConfigurationsListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VpnServerConfigurationListByResourceGroup.json + */ + /** + * Sample code: VpnServerConfigurationListByResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void + vpnServerConfigurationListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnServerConfigurations() + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListRadiusSecretsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListRadiusSecretsSamples.java new file mode 100644 index 000000000000..ee7e39d3ab69 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListRadiusSecretsSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnServerConfigurations ListRadiusSecrets. + */ +public final class VpnServerConfigurationsListRadiusSecretsSamples { + /* + * x-ms-original-file: 2025-05-01/AllVpnServerConfigurationRadiusServerSecretsList.json + */ + /** + * Sample code: ListAllVpnServerConfigurationRadiusServerSecrets. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllVpnServerConfigurationRadiusServerSecrets(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnServerConfigurations() + .listRadiusSecretsWithResponse("rg1", "vpnserverconfig", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListSamples.java new file mode 100644 index 000000000000..43a7eec37fb8 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnServerConfigurations List. + */ +public final class VpnServerConfigurationsListSamples { + /* + * x-ms-original-file: 2025-05-01/VpnServerConfigurationList.json + */ + /** + * Sample code: VpnServerConfigurationList. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnServerConfigurationList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVpnServerConfigurations().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsUpdateTagsSamples.java new file mode 100644 index 000000000000..9ba5614ae14a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnServerConfigurationsUpdateTagsSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VpnServerConfigurations UpdateTags. + */ +public final class VpnServerConfigurationsUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/VpnServerConfigurationUpdateTags.json + */ + /** + * Sample code: VpnServerConfigurationUpdate. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnServerConfigurationUpdate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnServerConfigurations() + .updateTagsWithResponse("rg1", "vpnServerConfiguration1", + new TagsObject().withTags(mapOf("key1", "fakeTokenPlaceholder", "key2", "fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinkConnectionsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinkConnectionsGetSamples.java new file mode 100644 index 000000000000..63cc2dc1f4f6 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinkConnectionsGetSamples.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.network.generated; + +/** + * Samples for VpnSiteLinkConnections Get. + */ +public final class VpnSiteLinkConnectionsGetSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteLinkConnectionGet.json + */ + /** + * Sample code: VpnSiteLinkConnectionGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteLinkConnectionGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnSiteLinkConnections() + .getWithResponse("rg1", "gateway1", "vpnConnection1", "Connection-Link1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinksGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinksGetSamples.java new file mode 100644 index 000000000000..ac402c3b1c1a --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinksGetSamples.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.network.generated; + +/** + * Samples for VpnSiteLinks Get. + */ +public final class VpnSiteLinksGetSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteLinkGet.json + */ + /** + * Sample code: VpnSiteGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnSiteLinks() + .getWithResponse("rg1", "vpnSite1", "vpnSiteLink1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinksListByVpnSiteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinksListByVpnSiteSamples.java new file mode 100644 index 000000000000..c32cf92cefb1 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSiteLinksListByVpnSiteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnSiteLinks ListByVpnSite. + */ +public final class VpnSiteLinksListByVpnSiteSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteLinkListByVpnSite.json + */ + /** + * Sample code: VpnSiteLinkListByVpnSite. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteLinkListByVpnSite(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVpnSiteLinks().listByVpnSite("rg1", "vpnSite1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesConfigurationDownloadSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesConfigurationDownloadSamples.java new file mode 100644 index 000000000000..4df086f3ed17 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesConfigurationDownloadSamples.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.network.generated; + +import com.azure.resourcemanager.network.models.GetVpnSitesConfigurationRequest; +import java.util.Arrays; + +/** + * Samples for VpnSitesConfiguration Download. + */ +public final class VpnSitesConfigurationDownloadSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSitesConfigurationDownload.json + */ + /** + * Sample code: VpnSitesConfigurationDownload. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSitesConfigurationDownload(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnSitesConfigurations() + .download("rg1", "wan1", new GetVpnSitesConfigurationRequest().withVpnSites(Arrays.asList( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/abc")) + .withOutputBlobSasUrl( + "https://blobcortextesturl.blob.core.windows.net/folderforconfig/vpnFile?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..b9a750ed1a6c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesCreateOrUpdateSamples.java @@ -0,0 +1,62 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.core.management.SubResource; +import com.azure.resourcemanager.network.fluent.models.VpnSiteInner; +import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkInner; +import com.azure.resourcemanager.network.models.AddressSpace; +import com.azure.resourcemanager.network.models.O365BreakOutCategoryPolicies; +import com.azure.resourcemanager.network.models.O365PolicyProperties; +import com.azure.resourcemanager.network.models.VpnLinkBgpSettings; +import com.azure.resourcemanager.network.models.VpnLinkProviderProperties; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VpnSites CreateOrUpdate. + */ +public final class VpnSitesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSitePut.json + */ + /** + * Sample code: VpnSiteCreate. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteCreate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnSites() + .createOrUpdate("rg1", "vpnSite1", new VpnSiteInner().withLocation("West US") + .withTags(mapOf("key1", "fakeTokenPlaceholder")) + .withVirtualWan(new SubResource().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1")) + .withAddressSpace(new AddressSpace().withAddressPrefixes(Arrays.asList("10.0.0.0/16"))) + .withIsSecuritySite(false) + .withVpnSiteLinks(Arrays.asList(new VpnSiteLinkInner().withName("vpnSiteLink1") + .withLinkProperties( + new VpnLinkProviderProperties().withLinkProviderName("vendor1").withLinkSpeedInMbps(0)) + .withIpAddress("50.50.50.56") + .withFqdn("link1.vpnsite1.contoso.com") + .withBgpProperties(new VpnLinkBgpSettings().withAsn(1234L).withBgpPeeringAddress("192.168.0.0")))) + .withO365Policy(new O365PolicyProperties().withBreakOutCategories( + new O365BreakOutCategoryPolicies().withAllow(true).withOptimize(true).withDefaultProperty(false))), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesDeleteSamples.java new file mode 100644 index 000000000000..10cd59d71cbf --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnSites Delete. + */ +public final class VpnSitesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteDelete.json + */ + /** + * Sample code: VpnSiteDelete. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteDelete(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVpnSites().delete("rg1", "vpnSite1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..260650c31b36 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for VpnSites GetByResourceGroup. + */ +public final class VpnSitesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteGet.json + */ + /** + * Sample code: VpnSiteGet. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteGet(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnSites() + .getByResourceGroupWithResponse("rg1", "vpnSite1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesListByResourceGroupSamples.java new file mode 100644 index 000000000000..6625930d4e7e --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesListByResourceGroupSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnSites ListByResourceGroup. + */ +public final class VpnSitesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteListByResourceGroup.json + */ + /** + * Sample code: VpnSiteListByResourceGroup. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVpnSites().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesListSamples.java new file mode 100644 index 000000000000..244ea873f175 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for VpnSites List. + */ +public final class VpnSitesListSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteList.json + */ + /** + * Sample code: VpnSiteList. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteList(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getVpnSites().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesUpdateTagsSamples.java new file mode 100644 index 000000000000..96e1f2c84276 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VpnSitesUpdateTagsSamples.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +import com.azure.resourcemanager.network.models.TagsObject; +import java.util.HashMap; +import java.util.Map; + +/** + * Samples for VpnSites UpdateTags. + */ +public final class VpnSitesUpdateTagsSamples { + /* + * x-ms-original-file: 2025-05-01/VpnSiteUpdateTags.json + */ + /** + * Sample code: VpnSiteUpdate. + * + * @param manager Entry point to NetworkManager. + */ + public static void vpnSiteUpdate(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getVpnSites() + .updateTagsWithResponse("rg1", "vpnSite1", + new TagsObject().withTags(mapOf("key1", "fakeTokenPlaceholder", "key2", "fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); + } + + // 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/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesCreateOrUpdateSamples.java new file mode 100644 index 000000000000..773090f6fc7b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesCreateOrUpdateSamples.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.network.generated; + +import com.azure.resourcemanager.network.fluent.models.WebApplicationFirewallPolicyInner; +import com.azure.resourcemanager.network.models.ActionType; +import com.azure.resourcemanager.network.models.ApplicationGatewayFirewallRateLimitDuration; +import com.azure.resourcemanager.network.models.ApplicationGatewayFirewallUserSessionVariable; +import com.azure.resourcemanager.network.models.ExceptionEntry; +import com.azure.resourcemanager.network.models.ExceptionEntryMatchVariable; +import com.azure.resourcemanager.network.models.ExceptionEntrySelectorMatchOperator; +import com.azure.resourcemanager.network.models.ExceptionEntryValueMatchOperator; +import com.azure.resourcemanager.network.models.ExclusionManagedRule; +import com.azure.resourcemanager.network.models.ExclusionManagedRuleGroup; +import com.azure.resourcemanager.network.models.ExclusionManagedRuleSet; +import com.azure.resourcemanager.network.models.GroupByUserSession; +import com.azure.resourcemanager.network.models.GroupByVariable; +import com.azure.resourcemanager.network.models.ManagedRuleEnabledState; +import com.azure.resourcemanager.network.models.ManagedRuleGroupOverride; +import com.azure.resourcemanager.network.models.ManagedRuleOverride; +import com.azure.resourcemanager.network.models.ManagedRuleSet; +import com.azure.resourcemanager.network.models.ManagedRulesDefinition; +import com.azure.resourcemanager.network.models.MatchCondition; +import com.azure.resourcemanager.network.models.MatchVariable; +import com.azure.resourcemanager.network.models.OwaspCrsExclusionEntry; +import com.azure.resourcemanager.network.models.OwaspCrsExclusionEntryMatchVariable; +import com.azure.resourcemanager.network.models.OwaspCrsExclusionEntrySelectorMatchOperator; +import com.azure.resourcemanager.network.models.PolicySettings; +import com.azure.resourcemanager.network.models.PolicySettingsLogScrubbing; +import com.azure.resourcemanager.network.models.ScrubbingRuleEntryMatchOperator; +import com.azure.resourcemanager.network.models.ScrubbingRuleEntryMatchVariable; +import com.azure.resourcemanager.network.models.ScrubbingRuleEntryState; +import com.azure.resourcemanager.network.models.SensitivityType; +import com.azure.resourcemanager.network.models.WebApplicationFirewallAction; +import com.azure.resourcemanager.network.models.WebApplicationFirewallCustomRule; +import com.azure.resourcemanager.network.models.WebApplicationFirewallMatchVariable; +import com.azure.resourcemanager.network.models.WebApplicationFirewallOperator; +import com.azure.resourcemanager.network.models.WebApplicationFirewallRuleType; +import com.azure.resourcemanager.network.models.WebApplicationFirewallScrubbingRules; +import com.azure.resourcemanager.network.models.WebApplicationFirewallScrubbingState; +import java.util.Arrays; + +/** + * Samples for WebApplicationFirewallPolicies CreateOrUpdate. + */ +public final class WebApplicationFirewallPoliciesCreateOrUpdateSamples { + /* + * x-ms-original-file: 2025-05-01/WafPolicyCreateOrUpdate.json + */ + /** + * Sample code: Creates or updates a WAF policy within a resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void + createsOrUpdatesAWAFPolicyWithinAResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getWebApplicationFirewallPolicies() + .createOrUpdateWithResponse("rg1", "Policy1", + new WebApplicationFirewallPolicyInner().withLocation("WestUs") + .withPolicySettings( + new PolicySettings() + .withLogScrubbing( + new PolicySettingsLogScrubbing().withState(WebApplicationFirewallScrubbingState.ENABLED) + .withScrubbingRules( + Arrays + .asList( + new WebApplicationFirewallScrubbingRules() + .withMatchVariable( + ScrubbingRuleEntryMatchVariable.REQUEST_ARG_NAMES) + .withSelectorMatchOperator(ScrubbingRuleEntryMatchOperator.EQUALS) + .withSelector("test") + .withState(ScrubbingRuleEntryState.ENABLED), + new WebApplicationFirewallScrubbingRules() + .withMatchVariable( + ScrubbingRuleEntryMatchVariable.REQUEST_IPADDRESS) + .withSelectorMatchOperator( + ScrubbingRuleEntryMatchOperator.EQUALS_ANY) + .withState(ScrubbingRuleEntryState.ENABLED)))) + .withJsChallengeCookieExpirationInMins(100)) + .withCustomRules( + Arrays + .asList( + new WebApplicationFirewallCustomRule().withName("Rule1") + .withPriority(1) + .withRuleType(WebApplicationFirewallRuleType.MATCH_RULE) + .withMatchConditions( + Arrays + .asList(new MatchCondition() + .withMatchVariables(Arrays.asList(new MatchVariable() + .withVariableName(WebApplicationFirewallMatchVariable.REMOTE_ADDR))) + .withOperator(WebApplicationFirewallOperator.IPMATCH) + .withMatchValues(Arrays.asList("192.168.1.0/24", "10.0.0.0/24")))) + .withAction(WebApplicationFirewallAction.BLOCK), + new WebApplicationFirewallCustomRule().withName("Rule2") + .withPriority(2) + .withRuleType(WebApplicationFirewallRuleType.MATCH_RULE) + .withMatchConditions( + Arrays.asList( + new MatchCondition() + .withMatchVariables(Arrays.asList(new MatchVariable() + .withVariableName(WebApplicationFirewallMatchVariable.REMOTE_ADDR))) + .withOperator(WebApplicationFirewallOperator.IPMATCH) + .withMatchValues(Arrays.asList("192.168.1.0/24")), + new MatchCondition() + .withMatchVariables(Arrays.asList(new MatchVariable() + .withVariableName( + WebApplicationFirewallMatchVariable.REQUEST_HEADERS) + .withSelector("UserAgent"))) + .withOperator(WebApplicationFirewallOperator.CONTAINS) + .withMatchValues(Arrays.asList("Windows")))) + .withAction(WebApplicationFirewallAction.BLOCK), + new WebApplicationFirewallCustomRule().withName("RateLimitRule3") + .withPriority(3) + .withRateLimitDuration(ApplicationGatewayFirewallRateLimitDuration.ONE_MIN) + .withRateLimitThreshold(10) + .withRuleType(WebApplicationFirewallRuleType.RATE_LIMIT_RULE) + .withMatchConditions( + Arrays + .asList(new MatchCondition() + .withMatchVariables(Arrays.asList(new MatchVariable() + .withVariableName(WebApplicationFirewallMatchVariable.REMOTE_ADDR))) + .withOperator(WebApplicationFirewallOperator.IPMATCH) + .withNegationConditon(true) + .withMatchValues(Arrays.asList("192.168.1.0/24", "10.0.0.0/24")))) + .withGroupByUserSession(Arrays.asList(new GroupByUserSession().withGroupByVariables( + Arrays.asList(new GroupByVariable().withVariableName( + ApplicationGatewayFirewallUserSessionVariable.CLIENT_ADDR))))) + .withAction(WebApplicationFirewallAction.BLOCK), + new WebApplicationFirewallCustomRule().withName("Rule4") + .withPriority(4) + .withRuleType(WebApplicationFirewallRuleType.MATCH_RULE) + .withMatchConditions( + Arrays.asList( + new MatchCondition() + .withMatchVariables(Arrays.asList(new MatchVariable() + .withVariableName(WebApplicationFirewallMatchVariable.REMOTE_ADDR))) + .withOperator(WebApplicationFirewallOperator.IPMATCH) + .withMatchValues(Arrays.asList("192.168.1.0/24")), + new MatchCondition() + .withMatchVariables(Arrays.asList(new MatchVariable() + .withVariableName( + WebApplicationFirewallMatchVariable.REQUEST_HEADERS) + .withSelector("UserAgent"))) + .withOperator(WebApplicationFirewallOperator.CONTAINS) + .withMatchValues(Arrays.asList("Bot")))) + .withAction(WebApplicationFirewallAction.JSCHALLENGE))) + .withManagedRules(new ManagedRulesDefinition() + .withExceptions(Arrays.asList( + new ExceptionEntry().withMatchVariable(ExceptionEntryMatchVariable.REQUEST_URI) + .withValues(Arrays.asList("health", "account/images", "default.aspx")) + .withValueMatchOperator(ExceptionEntryValueMatchOperator.CONTAINS) + .withExceptionManagedRuleSets(Arrays.asList( + new ExclusionManagedRuleSet().withRuleSetType("OWASP").withRuleSetVersion("3.2"))), + new ExceptionEntry().withMatchVariable(ExceptionEntryMatchVariable.REQUEST_HEADER) + .withValues(Arrays.asList("Mozilla/5.0", "Chrome/122.0.0.0")) + .withValueMatchOperator(ExceptionEntryValueMatchOperator.CONTAINS) + .withSelectorMatchOperator(ExceptionEntrySelectorMatchOperator.STARTS_WITH) + .withSelector("User-Agent") + .withExceptionManagedRuleSets( + Arrays.asList(new ExclusionManagedRuleSet().withRuleSetType("OWASP") + .withRuleSetVersion("3.2") + .withRuleGroups( + Arrays.asList(new ExclusionManagedRuleGroup() + .withRuleGroupName("REQUEST-932-APPLICATION-ATTACK-RCE"))))), + new ExceptionEntry().withMatchVariable(ExceptionEntryMatchVariable.REMOTE_ADDR) + .withValues(Arrays.asList("1.2.3.4", "10.0.0.1/6")) + .withValueMatchOperator(ExceptionEntryValueMatchOperator.IPMATCH) + .withExceptionManagedRuleSets(Arrays.asList(new ExclusionManagedRuleSet() + .withRuleSetType("Microsoft_BotManagerRuleSet") + .withRuleSetVersion("1.0") + .withRuleGroups(Arrays.asList(new ExclusionManagedRuleGroup() + .withRuleGroupName("BadBots") + .withRules(Arrays.asList(new ExclusionManagedRule().withRuleId("100100"))))))))) + .withExclusions( + Arrays + .asList( + new OwaspCrsExclusionEntry() + .withMatchVariable(OwaspCrsExclusionEntryMatchVariable.REQUEST_ARG_NAMES) + .withSelectorMatchOperator( + OwaspCrsExclusionEntrySelectorMatchOperator.STARTS_WITH) + .withSelector("hello") + .withExclusionManagedRuleSets( + Arrays + .asList(new ExclusionManagedRuleSet().withRuleSetType("OWASP") + .withRuleSetVersion("3.2") + .withRuleGroups(Arrays.asList( + new ExclusionManagedRuleGroup() + .withRuleGroupName("REQUEST-930-APPLICATION-ATTACK-LFI") + .withRules(Arrays.asList( + new ExclusionManagedRule().withRuleId("930120"))), + new ExclusionManagedRuleGroup().withRuleGroupName( + "REQUEST-932-APPLICATION-ATTACK-RCE"))))), + new OwaspCrsExclusionEntry() + .withMatchVariable(OwaspCrsExclusionEntryMatchVariable.REQUEST_ARG_NAMES) + .withSelectorMatchOperator( + OwaspCrsExclusionEntrySelectorMatchOperator.ENDS_WITH) + .withSelector("hello") + .withExclusionManagedRuleSets( + Arrays.asList(new ExclusionManagedRuleSet().withRuleSetType("OWASP") + .withRuleSetVersion("3.1") + .withRuleGroups(Arrays.asList()))), + new OwaspCrsExclusionEntry() + .withMatchVariable(OwaspCrsExclusionEntryMatchVariable.REQUEST_ARG_NAMES) + .withSelectorMatchOperator( + OwaspCrsExclusionEntrySelectorMatchOperator.STARTS_WITH) + .withSelector("test"), + new OwaspCrsExclusionEntry() + .withMatchVariable(OwaspCrsExclusionEntryMatchVariable.REQUEST_ARG_VALUES) + .withSelectorMatchOperator( + OwaspCrsExclusionEntrySelectorMatchOperator.STARTS_WITH) + .withSelector("test"))) + .withManagedRuleSets(Arrays.asList( + new ManagedRuleSet().withRuleSetType("OWASP") + .withRuleSetVersion("3.2") + .withRuleGroupOverrides(Arrays.asList(new ManagedRuleGroupOverride() + .withRuleGroupName("REQUEST-931-APPLICATION-ATTACK-RFI") + .withRules(Arrays.asList( + new ManagedRuleOverride().withRuleId("931120") + .withState(ManagedRuleEnabledState.ENABLED) + .withAction(ActionType.LOG), + new ManagedRuleOverride().withRuleId("931130") + .withState(ManagedRuleEnabledState.DISABLED) + .withAction(ActionType.ANOMALY_SCORING))))), + new ManagedRuleSet().withRuleSetType("Microsoft_BotManagerRuleSet") + .withRuleSetVersion("1.0") + .withRuleGroupOverrides( + Arrays.asList(new ManagedRuleGroupOverride().withRuleGroupName("UnknownBots") + .withRules(Arrays.asList(new ManagedRuleOverride().withRuleId("300700") + .withState(ManagedRuleEnabledState.ENABLED) + .withAction(ActionType.JSCHALLENGE))))), + new ManagedRuleSet().withRuleSetType("Microsoft_HTTPDDoSRuleSet") + .withRuleSetVersion("1.0") + .withRuleGroupOverrides( + Arrays.asList(new ManagedRuleGroupOverride().withRuleGroupName("ExcessiveRequests") + .withRules(Arrays.asList(new ManagedRuleOverride().withRuleId("500100") + .withState(ManagedRuleEnabledState.ENABLED) + .withAction(ActionType.BLOCK) + .withSensitivity(SensitivityType.HIGH)))))))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesDeleteSamples.java new file mode 100644 index 000000000000..b338c4ac7e07 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesDeleteSamples.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.network.generated; + +/** + * Samples for WebApplicationFirewallPolicies Delete. + */ +public final class WebApplicationFirewallPoliciesDeleteSamples { + /* + * x-ms-original-file: 2025-05-01/WafPolicyDelete.json + */ + /** + * Sample code: Deletes a WAF policy within a resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void deletesAWAFPolicyWithinAResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getWebApplicationFirewallPolicies() + .delete("rg1", "Policy1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesGetByResourceGroupSamples.java new file mode 100644 index 000000000000..8fecbf678f8c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesGetByResourceGroupSamples.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.network.generated; + +/** + * Samples for WebApplicationFirewallPolicies GetByResourceGroup. + */ +public final class WebApplicationFirewallPoliciesGetByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/WafPolicyGet.json + */ + /** + * Sample code: Gets a WAF policy within a resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void getsAWAFPolicyWithinAResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getWebApplicationFirewallPolicies() + .getByResourceGroupWithResponse("rg1", "Policy1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesListByResourceGroupSamples.java new file mode 100644 index 000000000000..762d77644e2b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesListByResourceGroupSamples.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.network.generated; + +/** + * Samples for WebApplicationFirewallPolicies ListByResourceGroup. + */ +public final class WebApplicationFirewallPoliciesListByResourceGroupSamples { + /* + * x-ms-original-file: 2025-05-01/WafListPolicies.json + */ + /** + * Sample code: Lists all WAF policies in a resource group. + * + * @param manager Entry point to NetworkManager. + */ + public static void listsAllWAFPoliciesInAResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient() + .getWebApplicationFirewallPolicies() + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesListSamples.java new file mode 100644 index 000000000000..9e85ecede320 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebApplicationFirewallPoliciesListSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for WebApplicationFirewallPolicies List. + */ +public final class WebApplicationFirewallPoliciesListSamples { + /* + * x-ms-original-file: 2025-05-01/WafListAllPolicies.json + */ + /** + * Sample code: Lists all WAF policies in a subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void listsAllWAFPoliciesInASubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getWebApplicationFirewallPolicies().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebCategoriesGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebCategoriesGetSamples.java new file mode 100644 index 000000000000..190ad2b2b431 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebCategoriesGetSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.generated; + +/** + * Samples for WebCategories Get. + */ +public final class WebCategoriesGetSamples { + /* + * x-ms-original-file: 2025-05-01/AzureWebCategoryGet.json + */ + /** + * Sample code: Get Azure Web Category by name. + * + * @param manager Entry point to NetworkManager. + */ + public static void getAzureWebCategoryByName(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getWebCategories().getWithResponse("Arts", null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebCategoriesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebCategoriesListSamples.java new file mode 100644 index 000000000000..a0a814debb7f --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/WebCategoriesListSamples.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.network.generated; + +/** + * Samples for WebCategories List. + */ +public final class WebCategoriesListSamples { + /* + * x-ms-original-file: 2025-05-01/AzureWebCategoriesListBySubscription.json + */ + /** + * Sample code: List all Azure Web Categories for a given subscription. + * + * @param manager Entry point to NetworkManager. + */ + public static void + listAllAzureWebCategoriesForAGivenSubscription(com.azure.resourcemanager.network.NetworkManager manager) { + manager.serviceClient().getWebCategories().list(com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/network/azure-resourcemanager-network/tsp-location.yaml b/sdk/network/azure-resourcemanager-network/tsp-location.yaml new file mode 100644 index 000000000000..6cd088b34bd3 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/tsp-location.yaml @@ -0,0 +1,4 @@ +directory: specification/network/resource-manager/Microsoft.Network/Network +commit: HEAD +repo: Azure/azure-rest-api-specs +additionalDirectories: From 77b88566138d49f61d609caaa37c34466df3de14 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Thu, 19 Mar 2026 15:23:05 +0800 Subject: [PATCH 02/33] Add customization for DdosProtectionPlan/RouteFilter InnerT bounds and update module-info Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../customization/pom.xml | 17 ++++++++ .../src/main/java/NetworkCustomization.java | 39 +++++++++++++++++++ .../src/main/java/module-info.java | 1 + 3 files changed, 57 insertions(+) create mode 100644 sdk/network/azure-resourcemanager-network/customization/pom.xml create mode 100644 sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java diff --git a/sdk/network/azure-resourcemanager-network/customization/pom.xml b/sdk/network/azure-resourcemanager-network/customization/pom.xml new file mode 100644 index 000000000000..46fb4eaf1792 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/customization/pom.xml @@ -0,0 +1,17 @@ + + + + + com.azure + azure-code-customization-parent + 1.0.0-beta.1 + ../../../parents/azure-code-customization-parent + + + com.azure.resourcemanager + azure-resourcemanager-network-customization + 1.0.0-beta.1 + 4.0.0 + diff --git a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java new file mode 100644 index 000000000000..f9ab901e597c --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import com.azure.autorest.customization.ClassCustomization; +import com.azure.autorest.customization.Customization; +import com.azure.autorest.customization.LibraryCustomization; +import com.azure.autorest.customization.PackageCustomization; +import com.github.javaparser.ast.type.ClassOrInterfaceType; +import org.slf4j.Logger; + +/** + * Code customization after code generation for Network. + */ +public class NetworkCustomization extends Customization { + @Override + public void customize(LibraryCustomization customization, Logger logger) { + PackageCustomization fluentModelsPackage + = customization.getPackage("com.azure.resourcemanager.network.fluent.models"); + // change base class to "Resource", to avoid breaking changes and compilation errors + customizeResourceBaseClass(fluentModelsPackage.getClass("DdosProtectionPlanInner")); + customizeResourceBaseClass(fluentModelsPackage.getClass("RouteFilterInner")); + } + + /** + * Customize the base class to be "com.azure.core.management.Resource". + * + * @param customization the customization for class + */ + private static void customizeResourceBaseClass(ClassCustomization customization) { + customization.customizeAst(ast -> { + ast.getClassByName(customization.getClassName()).ifPresent(clazz -> { + String resourceClassName = "com.azure.core.management.Resource"; + ast.addImport(resourceClassName); + clazz.getExtendedTypes().clear(); + clazz.addExtendedType(new ClassOrInterfaceType(null, "Resource")); + }); + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/module-info.java b/sdk/network/azure-resourcemanager-network/src/main/java/module-info.java index e6d8d6f70cbf..99d75d07d0d0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/module-info.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/module-info.java @@ -13,4 +13,5 @@ // open packages specifically for azure core opens com.azure.resourcemanager.network.fluent.models to com.azure.core; opens com.azure.resourcemanager.network.models to com.azure.core; + opens com.azure.resourcemanager.network.implementation.models to com.azure.core; } From 63590a3d06700eda9ea24481637116a3064d1135 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Thu, 19 Mar 2026 15:31:55 +0800 Subject: [PATCH 03/33] =?UTF-8?q?Enhance=20customization:=20SubnetInner?= =?UTF-8?q?=E2=86=92SubResource,=20RouteFilterInner=20withId=20removal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../src/main/java/NetworkCustomization.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java index f9ab901e597c..cb714a88bd1a 100644 --- a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java +++ b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java @@ -19,6 +19,9 @@ public void customize(LibraryCustomization customization, Logger logger) { // change base class to "Resource", to avoid breaking changes and compilation errors customizeResourceBaseClass(fluentModelsPackage.getClass("DdosProtectionPlanInner")); customizeResourceBaseClass(fluentModelsPackage.getClass("RouteFilterInner")); + + // change SubnetInner base class to SubResource for backward compatibility + customizeSubResourceBaseClass(fluentModelsPackage.getClass("SubnetInner")); } /** @@ -33,6 +36,24 @@ private static void customizeResourceBaseClass(ClassCustomization customization) ast.addImport(resourceClassName); clazz.getExtendedTypes().clear(); clazz.addExtendedType(new ClassOrInterfaceType(null, "Resource")); + // remove withId method that references super.withId() which doesn't exist on Resource + clazz.getMethodsByName("withId").forEach(method -> method.remove()); + }); + }); + } + + /** + * Customize the base class to be "com.azure.core.management.SubResource". + * + * @param customization the customization for class + */ + private static void customizeSubResourceBaseClass(ClassCustomization customization) { + customization.customizeAst(ast -> { + ast.getClassByName(customization.getClassName()).ifPresent(clazz -> { + String subResourceClassName = "com.azure.core.management.SubResource"; + ast.addImport(subResourceClassName); + clazz.getExtendedTypes().clear(); + clazz.addExtendedType(new ClassOrInterfaceType(null, "SubResource")); }); }); } From b5b16ecc6d5ef551a552cab197ad7eb2df77a039 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Thu, 19 Mar 2026 15:45:15 +0800 Subject: [PATCH 04/33] Fix customization: SubResourceModel extends SubResource, remove withId/withName overrides Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../src/main/java/NetworkCustomization.java | 32 +++++++------------ 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java index cb714a88bd1a..28403d9a2339 100644 --- a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java +++ b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java @@ -16,43 +16,33 @@ public class NetworkCustomization extends Customization { public void customize(LibraryCustomization customization, Logger logger) { PackageCustomization fluentModelsPackage = customization.getPackage("com.azure.resourcemanager.network.fluent.models"); - // change base class to "Resource", to avoid breaking changes and compilation errors + // change base class to "Resource" for DdosProtectionPlan and RouteFilter customizeResourceBaseClass(fluentModelsPackage.getClass("DdosProtectionPlanInner")); customizeResourceBaseClass(fluentModelsPackage.getClass("RouteFilterInner")); - // change SubnetInner base class to SubResource for backward compatibility - customizeSubResourceBaseClass(fluentModelsPackage.getClass("SubnetInner")); + // make SubResourceModel extend SubResource for backward compatibility + PackageCustomization modelsPackage + = customization.getPackage("com.azure.resourcemanager.network.models"); + customizeSubResourceModelBaseClass(modelsPackage.getClass("SubResourceModel")); } - /** - * Customize the base class to be "com.azure.core.management.Resource". - * - * @param customization the customization for class - */ private static void customizeResourceBaseClass(ClassCustomization customization) { customization.customizeAst(ast -> { ast.getClassByName(customization.getClassName()).ifPresent(clazz -> { - String resourceClassName = "com.azure.core.management.Resource"; - ast.addImport(resourceClassName); + ast.addImport("com.azure.core.management.Resource"); clazz.getExtendedTypes().clear(); clazz.addExtendedType(new ClassOrInterfaceType(null, "Resource")); - // remove withId method that references super.withId() which doesn't exist on Resource - clazz.getMethodsByName("withId").forEach(method -> method.remove()); + // remove withId/withName methods that call super methods not on Resource + clazz.getMethodsByName("withId").forEach(m -> m.remove()); + clazz.getMethodsByName("withName").forEach(m -> m.remove()); }); }); } - /** - * Customize the base class to be "com.azure.core.management.SubResource". - * - * @param customization the customization for class - */ - private static void customizeSubResourceBaseClass(ClassCustomization customization) { + private static void customizeSubResourceModelBaseClass(ClassCustomization customization) { customization.customizeAst(ast -> { ast.getClassByName(customization.getClassName()).ifPresent(clazz -> { - String subResourceClassName = "com.azure.core.management.SubResource"; - ast.addImport(subResourceClassName); - clazz.getExtendedTypes().clear(); + ast.addImport("com.azure.core.management.SubResource"); clazz.addExtendedType(new ClassOrInterfaceType(null, "SubResource")); }); }); From e00791e07332fbe30632c9533e1ae5c172641b98 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Thu, 19 Mar 2026 15:51:35 +0800 Subject: [PATCH 05/33] Fix customization: no-op withId/withName, remove SubResourceModel change Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../src/main/java/NetworkCustomization.java | 27 +++++++------------ 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java index 28403d9a2339..ede09d388ad7 100644 --- a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java +++ b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java @@ -5,6 +5,8 @@ import com.azure.autorest.customization.Customization; import com.azure.autorest.customization.LibraryCustomization; import com.azure.autorest.customization.PackageCustomization; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.stmt.BlockStmt; import com.github.javaparser.ast.type.ClassOrInterfaceType; import org.slf4j.Logger; @@ -19,11 +21,6 @@ public void customize(LibraryCustomization customization, Logger logger) { // change base class to "Resource" for DdosProtectionPlan and RouteFilter customizeResourceBaseClass(fluentModelsPackage.getClass("DdosProtectionPlanInner")); customizeResourceBaseClass(fluentModelsPackage.getClass("RouteFilterInner")); - - // make SubResourceModel extend SubResource for backward compatibility - PackageCustomization modelsPackage - = customization.getPackage("com.azure.resourcemanager.network.models"); - customizeSubResourceModelBaseClass(modelsPackage.getClass("SubResourceModel")); } private static void customizeResourceBaseClass(ClassCustomization customization) { @@ -32,18 +29,14 @@ private static void customizeResourceBaseClass(ClassCustomization customization) ast.addImport("com.azure.core.management.Resource"); clazz.getExtendedTypes().clear(); clazz.addExtendedType(new ClassOrInterfaceType(null, "Resource")); - // remove withId/withName methods that call super methods not on Resource - clazz.getMethodsByName("withId").forEach(m -> m.remove()); - clazz.getMethodsByName("withName").forEach(m -> m.remove()); - }); - }); - } - - private static void customizeSubResourceModelBaseClass(ClassCustomization customization) { - customization.customizeAst(ast -> { - ast.getClassByName(customization.getClassName()).ifPresent(clazz -> { - ast.addImport("com.azure.core.management.SubResource"); - clazz.addExtendedType(new ClassOrInterfaceType(null, "SubResource")); + // replace withId/withName override methods - they call super methods not on Resource + // rewrite them to set the field via reflection-free approach + clazz.getMethodsByName("withId").forEach(m -> { + m.setBody(new BlockStmt().addStatement("return this;")); + }); + clazz.getMethodsByName("withName").forEach(m -> { + m.setBody(new BlockStmt().addStatement("return this;")); + }); }); }); } From 5a5e834c6e193f5ea0551706b7187cb8f0365d22 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Thu, 19 Mar 2026 15:57:34 +0800 Subject: [PATCH 06/33] Generated network SDK - 9 remaining type incompatibilities Remaining issues: - SubnetInner (SubResourceModel) not assignable to SubResource (5 errors) - StartFinalResult/StopFinalResult not convertible to Void (2 errors) - GenerateVpnProfileFinalResult not convertible to String (2 errors) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../ActiveConnectivityConfigurationInner.java | 4 +- .../fluent/models/AdminPropertiesFormat.java | 8 +-- .../models/AdminRuleCollectionInner.java | 4 +- .../AdminRuleCollectionPropertiesFormat.java | 8 +-- ...GatewayAuthenticationCertificateInner.java | 4 +- ...enticationCertificatePropertiesFormat.java | 8 +-- ...wayBackendAddressPoolPropertiesFormat.java | 8 +-- ...ayBackendHttpSettingsPropertiesFormat.java | 8 +-- ...atewayBackendSettingsPropertiesFormat.java | 8 +-- ...raJwtValidationConfigPropertiesFormat.java | 8 +-- ...atewayFirewallRuleSetPropertiesFormat.java | 8 +-- ...ontendIpConfigurationPropertiesFormat.java | 8 +-- ...onGatewayFrontendPortPropertiesFormat.java | 8 +-- ...onGatewayHttpListenerPropertiesFormat.java | 8 +-- .../models/ApplicationGatewayInner.java | 4 +- ...pplicationGatewayIpConfigurationInner.java | 4 +- ...atewayIpConfigurationPropertiesFormat.java | 8 +-- .../ApplicationGatewayListenerInner.java | 4 +- ...cationGatewayListenerPropertiesFormat.java | 8 +-- ...oadDistributionPolicyPropertiesFormat.java | 8 +-- .../ApplicationGatewayPathRuleInner.java | 4 +- ...cationGatewayPathRulePropertiesFormat.java | 8 +-- ...GatewayPrivateEndpointConnectionInner.java | 4 +- ...vateEndpointConnectionPropertiesInner.java | 8 +-- ...wayPrivateLinkConfigurationProperties.java | 8 +-- ...yPrivateLinkIpConfigurationProperties.java | 8 +-- .../models/ApplicationGatewayProbeInner.java | 4 +- ...plicationGatewayProbePropertiesFormat.java | 8 +-- .../ApplicationGatewayPropertiesFormat.java | 8 +-- ...icationGatewayRequestRoutingRuleInner.java | 4 +- ...wayRequestRoutingRulePropertiesFormat.java | 8 +-- ...GatewayRewriteRuleSetPropertiesFormat.java | 8 +-- ...ionGatewayRoutingRulePropertiesFormat.java | 8 +-- ...ApplicationGatewaySslCertificateInner.java | 4 +- ...GatewaySslCertificatePropertiesFormat.java | 8 +-- ...tionGatewaySslProfilePropertiesFormat.java | 8 +-- ...stedClientCertificatePropertiesFormat.java | 8 +-- ...rustedRootCertificatePropertiesFormat.java | 8 +-- .../ApplicationGatewayUrlPathMapInner.java | 4 +- ...tionGatewayUrlPathMapPropertiesFormat.java | 8 +-- .../models/ApplicationSecurityGroupInner.java | 4 +- ...licationSecurityGroupPropertiesFormat.java | 8 +-- .../models/AuthorizationPropertiesFormat.java | 8 +-- ...icationRuleCollectionPropertiesFormat.java | 8 +-- .../models/AzureFirewallFqdnTagInner.java | 4 +- .../AzureFirewallFqdnTagPropertiesFormat.java | 8 +-- .../fluent/models/AzureFirewallInner.java | 4 +- ...rewallIpConfigurationPropertiesFormat.java | 8 +-- ...reFirewallNatRuleCollectionProperties.java | 8 +-- ...NetworkRuleCollectionPropertiesFormat.java | 8 +-- .../models/AzureFirewallPropertiesFormat.java | 8 +-- .../models/BackendAddressPoolInner.java | 4 +- .../BackendAddressPoolPropertiesFormat.java | 8 +-- .../fluent/models/BastionHostInner.java | 4 +- ...onHostIpConfigurationPropertiesFormat.java | 8 +-- .../models/BastionHostPropertiesFormat.java | 8 +-- .../fluent/models/BgpConnectionInner.java | 4 +- .../models/BgpConnectionProperties.java | 8 +-- .../models/ConnectionMonitorResultInner.java | 4 +- .../ConnectionMonitorResultProperties.java | 8 +-- .../ConnectivityConfigurationInner.java | 4 +- .../ConnectivityConfigurationProperties.java | 8 +-- ...nterfaceConfigurationPropertiesFormat.java | 8 +-- ...erfaceIpConfigurationPropertiesFormat.java | 8 +-- ...ainerNetworkInterfacePropertiesFormat.java | 8 +-- .../fluent/models/CustomIpPrefixInner.java | 4 +- .../CustomIpPrefixPropertiesFormat.java | 8 +-- .../fluent/models/DdosCustomPolicyInner.java | 4 +- .../DdosCustomPolicyPropertiesFormat.java | 8 +-- .../DdosDetectionRulePropertiesFormat.java | 8 +-- .../models/DdosProtectionPlanInner.java | 38 +++++----- .../DdosProtectionPlanPropertiesFormat.java | 8 +-- .../models/DefaultAdminPropertiesFormat.java | 8 +-- .../fluent/models/DscpConfigurationInner.java | 4 +- .../DscpConfigurationPropertiesFormat.java | 8 +-- ...fectiveConnectivityConfigurationInner.java | 4 +- ...ExpressRouteCircuitAuthorizationInner.java | 4 +- .../ExpressRouteCircuitConnectionInner.java | 4 +- ...outeCircuitConnectionPropertiesFormat.java | 8 +-- .../models/ExpressRouteCircuitInner.java | 4 +- .../ExpressRouteCircuitPeeringInner.java | 4 +- ...teCircuitPeeringPropertiesFormatInner.java | 8 +-- .../ExpressRouteCircuitPropertiesFormat.java | 8 +-- .../models/ExpressRouteConnectionInner.java | 4 +- .../ExpressRouteConnectionProperties.java | 8 +-- .../ExpressRouteCrossConnectionInner.java | 4 +- ...pressRouteCrossConnectionPeeringInner.java | 4 +- ...RouteCrossConnectionPeeringProperties.java | 8 +-- ...ExpressRouteCrossConnectionProperties.java | 8 +-- .../models/ExpressRouteGatewayInner.java | 4 +- .../models/ExpressRouteGatewayProperties.java | 8 +-- .../fluent/models/ExpressRouteLinkInner.java | 4 +- .../ExpressRouteLinkPropertiesFormat.java | 8 +-- .../ExpressRoutePortAuthorizationInner.java | 4 +- ...outePortAuthorizationPropertiesFormat.java | 8 +-- .../fluent/models/ExpressRoutePortInner.java | 4 +- .../ExpressRoutePortPropertiesFormat.java | 8 +-- .../ExpressRoutePortsLocationInner.java | 4 +- ...essRoutePortsLocationPropertiesFormat.java | 8 +-- .../ExpressRouteServiceProviderInner.java | 4 +- ...sRouteServiceProviderPropertiesFormat.java | 8 +-- .../fluent/models/FirewallPolicyInner.java | 4 +- .../FirewallPolicyPropertiesFormat.java | 8 +-- ...irewallPolicyRuleCollectionGroupInner.java | 4 +- ...llPolicyRuleCollectionGroupProperties.java | 8 +-- .../network/fluent/models/FlowLogInner.java | 4 +- .../models/FlowLogPropertiesFormat.java | 8 +-- .../models/FrontendIpConfigurationInner.java | 4 +- ...dIpConfigurationPropertiesFormatInner.java | 8 +-- .../models/HubIpConfigurationInner.java | 4 +- ...bIpConfigurationPropertiesFormatInner.java | 8 +-- .../fluent/models/HubRouteTableInner.java | 4 +- .../models/HubRouteTableProperties.java | 8 +-- .../HubVirtualNetworkConnectionInner.java | 4 +- ...HubVirtualNetworkConnectionProperties.java | 8 +-- .../InboundNatPoolPropertiesFormat.java | 8 +-- .../fluent/models/InboundNatRuleInner.java | 4 +- .../InboundNatRulePropertiesFormatInner.java | 8 +-- .../models/InboundSecurityRuleInner.java | 4 +- .../models/InboundSecurityRuleProperties.java | 8 +-- .../fluent/models/IpConfigurationInner.java | 4 +- .../models/IpConfigurationProfileInner.java | 4 +- ...igurationProfilePropertiesFormatInner.java | 8 +-- .../IpConfigurationPropertiesFormatInner.java | 8 +-- .../network/fluent/models/IpGroupInner.java | 4 +- .../models/IpGroupPropertiesFormat.java | 8 +-- .../fluent/models/LoadBalancerInner.java | 4 +- .../models/LoadBalancerPropertiesFormat.java | 8 +-- .../fluent/models/LoadBalancingRuleInner.java | 4 +- .../LoadBalancingRulePropertiesFormat.java | 8 +-- .../models/LocalNetworkGatewayInner.java | 4 +- .../LocalNetworkGatewayPropertiesFormat.java | 8 +-- .../fluent/models/NatGatewayInner.java | 4 +- .../models/NatGatewayPropertiesFormat.java | 8 +-- .../fluent/models/NetworkGroupInner.java | 4 +- .../fluent/models/NetworkGroupProperties.java | 8 +-- .../fluent/models/NetworkInterfaceInner.java | 4 +- .../NetworkInterfaceIpConfigurationInner.java | 4 +- ...eIpConfigurationPropertiesFormatInner.java | 8 +-- ...NetworkInterfacePropertiesFormatInner.java | 8 +-- ...NetworkInterfaceTapConfigurationInner.java | 4 +- ...TapConfigurationPropertiesFormatInner.java | 8 +-- .../fluent/models/NetworkManagerInner.java | 4 +- .../models/NetworkManagerProperties.java | 8 +-- ...tworkManagerRoutingConfigurationInner.java | 4 +- ...rRoutingConfigurationPropertiesFormat.java | 8 +-- .../fluent/models/NetworkProfileInner.java | 4 +- .../NetworkProfilePropertiesFormat.java | 8 +-- .../models/NetworkSecurityGroupInner.java | 4 +- .../NetworkSecurityGroupPropertiesFormat.java | 8 +-- ...etworkVirtualApplianceConnectionInner.java | 4 +- ...kVirtualApplianceConnectionProperties.java | 8 +-- .../models/NetworkVirtualApplianceInner.java | 4 +- ...tworkVirtualAppliancePropertiesFormat.java | 8 +-- .../fluent/models/NetworkWatcherInner.java | 4 +- .../NetworkWatcherPropertiesFormat.java | 8 +-- .../fluent/models/OutboundRuleInner.java | 4 +- .../models/OutboundRulePropertiesFormat.java | 8 +-- .../P2SConnectionConfigurationProperties.java | 8 +-- .../fluent/models/P2SVpnGatewayInner.java | 4 +- .../models/P2SVpnGatewayProperties.java | 8 +-- .../models/PacketCaptureResultInner.java | 4 +- .../models/PacketCaptureResultProperties.java | 8 +-- ...eerExpressRouteCircuitConnectionInner.java | 4 +- ...outeCircuitConnectionPropertiesFormat.java | 8 +-- .../models/PrivateDnsZoneGroupInner.java | 4 +- .../PrivateDnsZoneGroupPropertiesFormat.java | 8 +-- .../PrivateEndpointConnectionInner.java | 4 +- ...vateEndpointConnectionPropertiesInner.java | 8 +-- .../fluent/models/PrivateEndpointInner.java | 4 +- .../PrivateEndpointPropertiesInner.java | 8 +-- ...rivateLinkServiceConnectionProperties.java | 8 +-- .../models/PrivateLinkServiceInner.java | 4 +- ...rivateLinkServiceIpConfigurationInner.java | 4 +- ...ServiceIpConfigurationPropertiesInner.java | 8 +-- .../models/PrivateLinkServiceProperties.java | 8 +-- .../network/fluent/models/ProbeInner.java | 4 +- .../fluent/models/ProbePropertiesFormat.java | 8 +-- .../fluent/models/PublicIpAddressInner.java | 4 +- .../PublicIpAddressPropertiesFormatInner.java | 8 +-- .../fluent/models/PublicIpPrefixInner.java | 4 +- .../PublicIpPrefixPropertiesFormatInner.java | 8 +-- .../models/ResourceNavigationLinkFormat.java | 8 +-- .../fluent/models/RouteFilterInner.java | 35 +++++---- .../models/RouteFilterPropertiesFormat.java | 8 +-- .../fluent/models/RouteFilterRuleInner.java | 4 +- .../RouteFilterRulePropertiesFormat.java | 8 +-- .../network/fluent/models/RouteInner.java | 4 +- .../network/fluent/models/RouteMapInner.java | 4 +- .../fluent/models/RouteMapProperties.java | 9 ++- .../fluent/models/RoutePropertiesFormat.java | 8 +-- .../fluent/models/RouteTableInner.java | 4 +- .../models/RouteTablePropertiesFormat.java | 8 +-- .../fluent/models/RoutingIntentInner.java | 4 +- .../models/RoutingIntentProperties.java | 8 +-- .../models/RoutingRuleCollectionInner.java | 4 +- ...RoutingRuleCollectionPropertiesFormat.java | 8 +-- .../fluent/models/RoutingRuleInner.java | 4 +- .../models/RoutingRulePropertiesFormat.java | 8 +-- .../SecurityAdminConfigurationInner.java | 4 +- ...ityAdminConfigurationPropertiesFormat.java | 8 +-- .../models/SecurityPartnerProviderInner.java | 4 +- ...curityPartnerProviderPropertiesFormat.java | 8 +-- .../fluent/models/SecurityRuleInner.java | 4 +- .../models/SecurityRulePropertiesFormat.java | 8 +-- .../SecurityUserConfigurationInner.java | 4 +- ...rityUserConfigurationPropertiesFormat.java | 8 +-- .../SecurityUserRuleCollectionInner.java | 4 +- ...ityUserRuleCollectionPropertiesFormat.java | 8 +-- .../fluent/models/SecurityUserRuleInner.java | 4 +- .../SecurityUserRulePropertiesFormat.java | 8 +-- ...erviceAssociationLinkPropertiesFormat.java | 8 +-- .../ServiceDelegationPropertiesFormat.java | 8 +-- .../ServiceEndpointPolicyDefinitionInner.java | 4 +- ...pointPolicyDefinitionPropertiesFormat.java | 8 +-- .../models/ServiceEndpointPolicyInner.java | 4 +- ...ServiceEndpointPolicyPropertiesFormat.java | 8 +-- .../fluent/models/ServiceGatewayInner.java | 4 +- .../ServiceGatewayPropertiesFormatInner.java | 8 +-- .../fluent/models/StaticMemberInner.java | 4 +- .../fluent/models/StaticMemberProperties.java | 8 +-- .../network/fluent/models/SubnetInner.java | 4 +- .../models/SubnetPropertiesFormatInner.java | 8 +-- .../models/VirtualApplianceSiteInner.java | 4 +- .../VirtualApplianceSiteProperties.java | 8 +-- .../fluent/models/VirtualHubInner.java | 4 +- .../fluent/models/VirtualHubProperties.java | 8 +-- .../models/VirtualHubRouteTableV2Inner.java | 4 +- .../VirtualHubRouteTableV2Properties.java | 8 +-- .../models/VirtualNetworkApplianceInner.java | 4 +- ...orkApplianceIpConfigurationProperties.java | 8 +-- ...NetworkAppliancePropertiesFormatInner.java | 8 +-- .../VirtualNetworkGatewayConnectionInner.java | 4 +- ...tworkGatewayConnectionListEntityInner.java | 4 +- ...yConnectionListEntityPropertiesFormat.java | 8 +-- ...atewayConnectionPropertiesFormatInner.java | 8 +-- .../models/VirtualNetworkGatewayInner.java | 4 +- ...ualNetworkGatewayIpConfigurationInner.java | 4 +- ...atewayIpConfigurationPropertiesFormat.java | 8 +-- .../VirtualNetworkGatewayNatRuleInner.java | 4 +- ...irtualNetworkGatewayNatRuleProperties.java | 8 +-- ...alNetworkGatewayPolicyGroupProperties.java | 8 +-- ...VirtualNetworkGatewayPropertiesFormat.java | 8 +-- .../fluent/models/VirtualNetworkInner.java | 4 +- .../models/VirtualNetworkPeeringInner.java | 4 +- ...VirtualNetworkPeeringPropertiesFormat.java | 8 +-- .../VirtualNetworkPropertiesFormat.java | 8 +-- .../fluent/models/VirtualNetworkTapInner.java | 4 +- ...irtualNetworkTapPropertiesFormatInner.java | 8 +-- .../fluent/models/VirtualRouterInner.java | 4 +- .../models/VirtualRouterPeeringInner.java | 4 +- .../VirtualRouterPeeringProperties.java | 8 +-- .../models/VirtualRouterPropertiesFormat.java | 8 +-- .../fluent/models/VirtualWanInner.java | 4 +- .../fluent/models/VirtualWanProperties.java | 8 +-- ...ientConnectionConfigurationProperties.java | 8 +-- ...entRevokedCertificatePropertiesFormat.java | 8 +-- ...ClientRootCertificatePropertiesFormat.java | 8 +-- .../fluent/models/VpnConnectionInner.java | 4 +- .../models/VpnConnectionProperties.java | 8 +-- .../fluent/models/VpnGatewayInner.java | 4 +- .../fluent/models/VpnGatewayNatRuleInner.java | 4 +- .../models/VpnGatewayNatRuleProperties.java | 8 +-- .../fluent/models/VpnGatewayProperties.java | 8 +-- ...pnServerConfigurationPolicyGroupInner.java | 4 +- ...verConfigurationPolicyGroupProperties.java | 8 +-- .../network/fluent/models/VpnSiteInner.java | 4 +- .../models/VpnSiteLinkConnectionInner.java | 4 +- .../VpnSiteLinkConnectionProperties.java | 8 +-- .../fluent/models/VpnSiteLinkInner.java | 4 +- .../fluent/models/VpnSiteLinkProperties.java | 8 +-- .../fluent/models/VpnSiteProperties.java | 9 ++- .../WebApplicationFirewallPolicyInner.java | 4 +- ...icationFirewallPolicyPropertiesFormat.java | 8 +-- .../ActiveDefaultSecurityAdminRule.java | 2 +- .../models/ActiveSecurityAdminRule.java | 2 +- .../network/models/AdminRule.java | 2 +- .../ApplicationGatewayBackendAddressPool.java | 2 +- ...ApplicationGatewayBackendHttpSettings.java | 2 +- .../ApplicationGatewayBackendSettings.java | 2 +- ...cationGatewayEntraJwtValidationConfig.java | 2 +- .../ApplicationGatewayFirewallRuleSet.java | 2 +- ...icationGatewayFrontendIpConfiguration.java | 2 +- .../ApplicationGatewayFrontendPort.java | 2 +- .../ApplicationGatewayHttpListener.java | 2 +- ...licationGatewayLoadDistributionPolicy.java | 2 +- ...cationGatewayPrivateLinkConfiguration.java | 2 +- ...tionGatewayPrivateLinkIpConfiguration.java | 2 +- .../ApplicationGatewayRewriteRuleSet.java | 2 +- .../models/ApplicationGatewayRoutingRule.java | 2 +- .../models/ApplicationGatewaySslProfile.java | 2 +- ...cationGatewayTrustedClientCertificate.java | 2 +- ...licationGatewayTrustedRootCertificate.java | 2 +- ...zureFirewallApplicationRuleCollection.java | 2 +- .../models/AzureFirewallIpConfiguration.java | 2 +- .../AzureFirewallNatRuleCollection.java | 2 +- .../AzureFirewallNetworkRuleCollection.java | 2 +- .../network/models/BaseProvisioningState.java | 71 +++++++++++++++++++ .../models/BastionHostIpConfiguration.java | 2 +- .../network/models/ConfigurationGroup.java | 2 +- .../models/ContainerNetworkInterface.java | 2 +- ...ontainerNetworkInterfaceConfiguration.java | 2 +- ...tainerNetworkInterfaceIpConfiguration.java | 2 +- .../network/models/DdosDetectionRule.java | 2 +- .../network/models/DefaultAdminRule.java | 2 +- .../network/models/Delegation.java | 2 +- .../network/models/DelegationProperties.java | 6 +- .../EffectiveDefaultSecurityAdminRule.java | 2 +- .../models/EffectiveSecurityAdminRule.java | 2 +- .../network/models/InboundNatPool.java | 2 +- .../network/models/IpamPoolProperties.java | 7 +- .../models/NetworkProvisioningState.java | 61 ---------------- .../models/P2SConnectionConfiguration.java | 2 +- .../models/PrivateLinkServiceConnection.java | 2 +- .../network/models/ProvisioningState.java | 22 ++---- .../ReachabilityAnalysisIntentProperties.java | 6 +- .../ReachabilityAnalysisRunProperties.java | 6 +- .../network/models/RecordSet.java | 6 +- .../models/ResourceNavigationLink.java | 2 +- .../models/ServiceAssociationLink.java | 2 +- .../ServiceEndpointPropertiesFormat.java | 6 +- .../network/models/SharedKeyProperties.java | 6 +- .../network/models/StaticCidrProperties.java | 6 +- .../models/VerifierWorkspaceProperties.java | 6 +- ...irtualNetworkApplianceIpConfiguration.java | 2 +- .../VirtualNetworkGatewayPolicyGroup.java | 2 +- .../VngClientConnectionConfiguration.java | 2 +- .../models/VpnClientRevokedCertificate.java | 2 +- .../models/VpnClientRootCertificate.java | 2 +- ...zure-resourcemanager-network_metadata.json | 2 +- 330 files changed, 1037 insertions(+), 1043 deletions(-) create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BaseProvisioningState.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProvisioningState.java diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java index 2874306ee949..6e29c3d5910c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java @@ -16,7 +16,7 @@ import com.azure.resourcemanager.network.models.DeleteExistingPeering; import com.azure.resourcemanager.network.models.Hub; import com.azure.resourcemanager.network.models.IsGlobal; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; @@ -165,7 +165,7 @@ public List appliesToGroups() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java index 2ca4fc5ceb1a..2187d530f011 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressPrefixItem; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.BaseProvisioningState; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleAccess; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleDirection; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleProtocol; @@ -72,7 +72,7 @@ public final class AdminPropertiesFormat implements JsonSerializable appliesToGroups() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public BaseProvisioningState provisioningState() { return this.provisioningState; } @@ -160,7 +160,7 @@ public static AdminRuleCollectionPropertiesFormat fromJson(JsonReader jsonReader deserializedAdminRuleCollectionPropertiesFormat.description = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedAdminRuleCollectionPropertiesFormat.provisioningState - = ProvisioningState.fromString(reader.getString()); + = BaseProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedAdminRuleCollectionPropertiesFormat.resourceGuid = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java index 522fdffabd0e..a3ded13798fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -127,7 +127,7 @@ public ApplicationGatewayAuthenticationCertificateInner withData(String data) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java index badda6ce4f12..d044e7039cdb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -26,7 +26,7 @@ public final class ApplicationGatewayAuthenticationCertificatePropertiesFormat /* * The provisioning state of the authentication certificate resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayAuthenticationCertificatePropertiesFormat class. @@ -59,7 +59,7 @@ public ApplicationGatewayAuthenticationCertificatePropertiesFormat withData(Stri * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -103,7 +103,7 @@ public static ApplicationGatewayAuthenticationCertificatePropertiesFormat fromJs deserializedApplicationGatewayAuthenticationCertificatePropertiesFormat.data = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayAuthenticationCertificatePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java index 6bf791ad6c91..522f4d70b6ab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayBackendAddress; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -33,7 +33,7 @@ public final class ApplicationGatewayBackendAddressPoolPropertiesFormat /* * The provisioning state of the backend address pool resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayBackendAddressPoolPropertiesFormat class. @@ -76,7 +76,7 @@ public List backendAddresses() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -134,7 +134,7 @@ public static ApplicationGatewayBackendAddressPoolPropertiesFormat fromJson(Json = backendAddresses; } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayBackendAddressPoolPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java index 2fc34651390d..bcc8e712e64d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayConnectionDraining; import com.azure.resourcemanager.network.models.ApplicationGatewayCookieBasedAffinity; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -116,7 +116,7 @@ public final class ApplicationGatewayBackendHttpSettingsPropertiesFormat /* * The provisioning state of the backend HTTP settings resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayBackendHttpSettingsPropertiesFormat class. @@ -492,7 +492,7 @@ public ApplicationGatewayBackendHttpSettingsPropertiesFormat withSniName(String * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -607,7 +607,7 @@ public static ApplicationGatewayBackendHttpSettingsPropertiesFormat fromJson(Jso deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.sniName = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java index 34cdd486aae2..97ce29051918 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -66,7 +66,7 @@ public final class ApplicationGatewayBackendSettingsPropertiesFormat /* * The provisioning state of the backend HTTP settings resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayBackendSettingsPropertiesFormat class. @@ -248,7 +248,7 @@ public Boolean enableL4ClientIpPreservation() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -320,7 +320,7 @@ public static ApplicationGatewayBackendSettingsPropertiesFormat fromJson(JsonRea = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayBackendSettingsPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java index 0cf3cda6396c..926eb4919a51 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayUnAuthorizedRequestAction; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -44,7 +44,7 @@ public final class ApplicationGatewayEntraJWTValidationConfigPropertiesFormat /* * The provisioning state of the entra jwt validation configuration resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayEntraJWTValidationConfigPropertiesFormat class. @@ -140,7 +140,7 @@ public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat withAudiences( * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -198,7 +198,7 @@ public static ApplicationGatewayEntraJWTValidationConfigPropertiesFormat fromJso deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.audiences = audiences; } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java index 4b6c27058739..4f3f0a60748c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayFirewallRuleGroup; import com.azure.resourcemanager.network.models.ApplicationGatewayTierTypes; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -25,7 +25,7 @@ public final class ApplicationGatewayFirewallRuleSetPropertiesFormat /* * The provisioning state of the web application firewall rule set. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The type of the web application firewall rule set. @@ -58,7 +58,7 @@ private ApplicationGatewayFirewallRuleSetPropertiesFormat() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -167,7 +167,7 @@ public static ApplicationGatewayFirewallRuleSetPropertiesFormat fromJson(JsonRea deserializedApplicationGatewayFirewallRuleSetPropertiesFormat.ruleGroups = ruleGroups; } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayFirewallRuleSetPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("tiers".equals(fieldName)) { List tiers = reader.readArray(reader1 -> ApplicationGatewayTierTypes.fromString(reader1.getString())); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java index 946e7e59fe8d..69f8b3a27f30 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -48,7 +48,7 @@ public final class ApplicationGatewayFrontendIPConfigurationPropertiesFormat /* * The provisioning state of the frontend IP configuration resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayFrontendIPConfigurationPropertiesFormat class. @@ -163,7 +163,7 @@ public SubResource privateLinkConfiguration() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -225,7 +225,7 @@ public static ApplicationGatewayFrontendIPConfigurationPropertiesFormat fromJson = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java index dfaa8de83e10..22c98d4b6f6a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -26,7 +26,7 @@ public final class ApplicationGatewayFrontendPortPropertiesFormat /* * The provisioning state of the frontend port resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayFrontendPortPropertiesFormat class. @@ -59,7 +59,7 @@ public ApplicationGatewayFrontendPortPropertiesFormat withPort(Integer port) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -102,7 +102,7 @@ public static ApplicationGatewayFrontendPortPropertiesFormat fromJson(JsonReader = reader.getNullable(JsonReader::getInt); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayFrontendPortPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java index 1430b04c3e8d..764f3421be0d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayCustomError; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -60,7 +60,7 @@ public final class ApplicationGatewayHttpListenerPropertiesFormat /* * The provisioning state of the HTTP listener resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Custom error configurations of the HTTP listener. @@ -232,7 +232,7 @@ public Boolean requireServerNameIndication() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -366,7 +366,7 @@ public static ApplicationGatewayHttpListenerPropertiesFormat fromJson(JsonReader = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayHttpListenerPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("customErrorConfigurations".equals(fieldName)) { List customErrorConfigurations = reader.readArray(reader1 -> ApplicationGatewayCustomError.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java index e1f8f060f858..6fe016e4afd5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java @@ -33,7 +33,7 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayTrustedRootCertificate; import com.azure.resourcemanager.network.models.ApplicationGatewayWebApplicationFirewallConfiguration; import com.azure.resourcemanager.network.models.ManagedServiceIdentity; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -924,7 +924,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java index 32a21a17f8f4..8be5a913037d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -129,7 +129,7 @@ public ApplicationGatewayIpConfigurationInner withSubnet(SubResource subnet) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java index 713f531b3e1d..1465fdf2ffbb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -27,7 +27,7 @@ public final class ApplicationGatewayIPConfigurationPropertiesFormat /* * The provisioning state of the application gateway IP configuration resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayIPConfigurationPropertiesFormat class. @@ -62,7 +62,7 @@ public ApplicationGatewayIPConfigurationPropertiesFormat withSubnet(SubResource * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -104,7 +104,7 @@ public static ApplicationGatewayIPConfigurationPropertiesFormat fromJson(JsonRea deserializedApplicationGatewayIPConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayIPConfigurationPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java index 3b26f620de2b..bb0cc0b644a4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -221,7 +221,7 @@ public ApplicationGatewayListenerInner withSslProfile(SubResource sslProfile) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java index 927e66ab0929..563e2799e7f7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -49,7 +49,7 @@ public final class ApplicationGatewayListenerPropertiesFormat /* * The provisioning state of the listener resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * List of Server Name Indications(SNI) for TLS Multi-site Listener that allows special wildcard characters as well. @@ -167,7 +167,7 @@ public ApplicationGatewayListenerPropertiesFormat withSslProfile(SubResource ssl * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -247,7 +247,7 @@ public static ApplicationGatewayListenerPropertiesFormat fromJson(JsonReader jso deserializedApplicationGatewayListenerPropertiesFormat.sslProfile = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayListenerPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("hostNames".equals(fieldName)) { List hostNames = reader.readArray(reader1 -> reader1.getString()); deserializedApplicationGatewayListenerPropertiesFormat.hostNames = hostNames; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java index 891e4a826f36..1fb8c71ad29e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayLoadDistributionAlgorithm; import com.azure.resourcemanager.network.models.ApplicationGatewayLoadDistributionTarget; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -34,7 +34,7 @@ public final class ApplicationGatewayLoadDistributionPolicyPropertiesFormat /* * The provisioning state of the Load Distribution Policy resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayLoadDistributionPolicyPropertiesFormat class. @@ -89,7 +89,7 @@ public ApplicationGatewayLoadDistributionAlgorithm loadDistributionAlgorithm() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -145,7 +145,7 @@ public static ApplicationGatewayLoadDistributionPolicyPropertiesFormat fromJson( = ApplicationGatewayLoadDistributionAlgorithm.fromString(reader.getString()); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayLoadDistributionPolicyPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java index 627a92e293c3..f2a80297b2c7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -243,7 +243,7 @@ public ApplicationGatewayPathRuleInner withLoadDistributionPolicy(SubResource lo * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java index 96b546e6dddc..29ccb379e868 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -53,7 +53,7 @@ public final class ApplicationGatewayPathRulePropertiesFormat /* * The provisioning state of the path rule resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Reference to the FirewallPolicy resource. @@ -191,7 +191,7 @@ public ApplicationGatewayPathRulePropertiesFormat withLoadDistributionPolicy(Sub * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -275,7 +275,7 @@ public static ApplicationGatewayPathRulePropertiesFormat fromJson(JsonReader jso = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayPathRulePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("firewallPolicy".equals(fieldName)) { deserializedApplicationGatewayPathRulePropertiesFormat.firewallPolicy = SubResource.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java index 4e2cfbad427b..4fc79b4fdede 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java @@ -8,8 +8,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; @@ -126,7 +126,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java index c6301a585092..d72dc3284e55 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java @@ -9,8 +9,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -32,7 +32,7 @@ public final class ApplicationGatewayPrivateEndpointConnectionPropertiesInner /* * The provisioning state of the application gateway private endpoint connection resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The consumer link id. @@ -83,7 +83,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -146,7 +146,7 @@ public static ApplicationGatewayPrivateEndpointConnectionPropertiesInner fromJso = PrivateLinkServiceConnectionState.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayPrivateEndpointConnectionPropertiesInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("linkIdentifier".equals(fieldName)) { deserializedApplicationGatewayPrivateEndpointConnectionPropertiesInner.linkIdentifier = reader.getString(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java index 7686ca0b6ec5..d2400011e89d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayPrivateLinkIpConfiguration; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -28,7 +28,7 @@ public final class ApplicationGatewayPrivateLinkConfigurationProperties /* * The provisioning state of the application gateway private link configuration. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayPrivateLinkConfigurationProperties class. @@ -62,7 +62,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -112,7 +112,7 @@ public static ApplicationGatewayPrivateLinkConfigurationProperties fromJson(Json = ipConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayPrivateLinkConfigurationProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java index 05016d9a0c33..556fd3aa647f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -43,7 +43,7 @@ public final class ApplicationGatewayPrivateLinkIpConfigurationProperties /* * The provisioning state of the application gateway private link IP configuration. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayPrivateLinkIpConfigurationProperties class. @@ -138,7 +138,7 @@ public ApplicationGatewayPrivateLinkIpConfigurationProperties withPrimary(Boolea * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -195,7 +195,7 @@ public static ApplicationGatewayPrivateLinkIpConfigurationProperties fromJson(Js = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayPrivateLinkIpConfigurationProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java index f6031226b0d3..75edf2b6d614 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayProbeHealthResponseMatch; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -374,7 +374,7 @@ public ApplicationGatewayProbeInner withEnableProbeProxyProtocolHeader(Boolean e * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java index 7aa73865cf92..d40b3ace771b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayProbeHealthResponseMatch; import com.azure.resourcemanager.network.models.ApplicationGatewayProtocol; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -83,7 +83,7 @@ public final class ApplicationGatewayProbePropertiesFormat /* * The provisioning state of the probe resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case @@ -339,7 +339,7 @@ public Boolean enableProbeProxyProtocolHeader() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -448,7 +448,7 @@ public static ApplicationGatewayProbePropertiesFormat fromJson(JsonReader jsonRe = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayProbePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("port".equals(fieldName)) { deserializedApplicationGatewayProbePropertiesFormat.port = reader.getNullable(JsonReader::getInt); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java index 16614d1e028f..9e09390923dd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java @@ -32,7 +32,7 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayTrustedClientCertificate; import com.azure.resourcemanager.network.models.ApplicationGatewayTrustedRootCertificate; import com.azure.resourcemanager.network.models.ApplicationGatewayWebApplicationFirewallConfiguration; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -209,7 +209,7 @@ public final class ApplicationGatewayPropertiesFormat implements JsonSerializabl /* * The provisioning state of the application gateway resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Custom error configurations of the application gateway resource. @@ -894,7 +894,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -1303,7 +1303,7 @@ public static ApplicationGatewayPropertiesFormat fromJson(JsonReader jsonReader) deserializedApplicationGatewayPropertiesFormat.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("customErrorConfigurations".equals(fieldName)) { List customErrorConfigurations = reader.readArray(reader1 -> ApplicationGatewayCustomError.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java index 89b836d22e7e..d4a7ca288562 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayRequestRoutingRuleType; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -338,7 +338,7 @@ public SubResource entraJWTValidationConfig() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java index 47c31194db56..b667c4ff1d47 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayRequestRoutingRuleType; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -73,7 +73,7 @@ public final class ApplicationGatewayRequestRoutingRulePropertiesFormat /* * The provisioning state of the request routing rule resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayRequestRoutingRulePropertiesFormat class. @@ -293,7 +293,7 @@ public SubResource entraJWTValidationConfig() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -373,7 +373,7 @@ public static ApplicationGatewayRequestRoutingRulePropertiesFormat fromJson(Json = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayRequestRoutingRulePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java index 91693e08091e..713f691d9b42 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRule; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -28,7 +28,7 @@ public final class ApplicationGatewayRewriteRuleSetPropertiesFormat /* * The provisioning state of the rewrite rule set resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayRewriteRuleSetPropertiesFormat class. @@ -62,7 +62,7 @@ public List rewriteRules() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -109,7 +109,7 @@ public static ApplicationGatewayRewriteRuleSetPropertiesFormat fromJson(JsonRead deserializedApplicationGatewayRewriteRuleSetPropertiesFormat.rewriteRules = rewriteRules; } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayRewriteRuleSetPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java index bd484a8782f1..518a35d782e0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayRequestRoutingRuleType; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -48,7 +48,7 @@ public final class ApplicationGatewayRoutingRulePropertiesFormat /* * The provisioning state of the request routing rule resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayRoutingRulePropertiesFormat class. @@ -162,7 +162,7 @@ public ApplicationGatewayRoutingRulePropertiesFormat withListener(SubResource li * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -220,7 +220,7 @@ public static ApplicationGatewayRoutingRulePropertiesFormat fromJson(JsonReader deserializedApplicationGatewayRoutingRulePropertiesFormat.listener = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayRoutingRulePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java index 9964e364083c..ddf16d0a6542 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -185,7 +185,7 @@ public ApplicationGatewaySslCertificateInner withKeyVaultSecretId(String keyVaul * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java index 084817dbb1bc..b772ac2c766e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -41,7 +41,7 @@ public final class ApplicationGatewaySslCertificatePropertiesFormat /* * The provisioning state of the SSL certificate resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewaySslCertificatePropertiesFormat class. @@ -126,7 +126,7 @@ public ApplicationGatewaySslCertificatePropertiesFormat withKeyVaultSecretId(Str * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -176,7 +176,7 @@ public static ApplicationGatewaySslCertificatePropertiesFormat fromJson(JsonRead deserializedApplicationGatewaySslCertificatePropertiesFormat.keyVaultSecretId = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewaySslCertificatePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java index c49ca63a1f04..cb61d629d985 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayClientAuthConfiguration; import com.azure.resourcemanager.network.models.ApplicationGatewaySslPolicy; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -40,7 +40,7 @@ public final class ApplicationGatewaySslProfilePropertiesFormat /* * The provisioning state of the HTTP listener resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewaySslProfilePropertiesFormat class. @@ -119,7 +119,7 @@ public ApplicationGatewayClientAuthConfiguration clientAuthConfiguration() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -179,7 +179,7 @@ public static ApplicationGatewaySslProfilePropertiesFormat fromJson(JsonReader j = ApplicationGatewayClientAuthConfiguration.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewaySslProfilePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java index baa91819679c..9d2aeda39442 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -36,7 +36,7 @@ public final class ApplicationGatewayTrustedClientCertificatePropertiesFormat /* * The provisioning state of the trusted client certificate resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayTrustedClientCertificatePropertiesFormat class. @@ -87,7 +87,7 @@ public String clientCertIssuerDN() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -137,7 +137,7 @@ public static ApplicationGatewayTrustedClientCertificatePropertiesFormat fromJso = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayTrustedClientCertificatePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java index 4242d651b010..72f712ead9e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -31,7 +31,7 @@ public final class ApplicationGatewayTrustedRootCertificatePropertiesFormat /* * The provisioning state of the trusted root certificate resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ApplicationGatewayTrustedRootCertificatePropertiesFormat class. @@ -86,7 +86,7 @@ public ApplicationGatewayTrustedRootCertificatePropertiesFormat withKeyVaultSecr * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -134,7 +134,7 @@ public static ApplicationGatewayTrustedRootCertificatePropertiesFormat fromJson( = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedApplicationGatewayTrustedRootCertificatePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java index 202525e3ce9c..759d34e4784b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -245,7 +245,7 @@ public ApplicationGatewayUrlPathMapInner withPathRules(List inboundNatRules() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java index 4dabc8022a31..b9ffe2af3544 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayLoadBalancerTunnelInterface; import com.azure.resourcemanager.network.models.LoadBalancerBackendAddress; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SyncMode; import java.io.IOException; import java.util.List; @@ -65,7 +65,7 @@ public final class BackendAddressPoolPropertiesFormat implements JsonSerializabl /* * The provisioning state of the backend address pool resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Amount of seconds Load Balancer waits for before sending RESET to client and backend address. @@ -201,7 +201,7 @@ public List inboundNatRules() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -345,7 +345,7 @@ public static BackendAddressPoolPropertiesFormat fromJson(JsonReader jsonReader) deserializedBackendAddressPoolPropertiesFormat.inboundNatRules = inboundNatRules; } else if ("provisioningState".equals(fieldName)) { deserializedBackendAddressPoolPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("drainPeriodInSeconds".equals(fieldName)) { deserializedBackendAddressPoolPropertiesFormat.drainPeriodInSeconds = reader.getNullable(JsonReader::getInt); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java index d66a13ed7377..344f21c1e970 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.BastionHostIPConfiguration; import com.azure.resourcemanager.network.models.BastionHostPropertiesFormatNetworkAcls; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.Sku; import java.io.IOException; import java.util.List; @@ -279,7 +279,7 @@ public BastionHostInner withNetworkAcls(BastionHostPropertiesFormatNetworkAcls n * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java index 4ee3404a9b7d..7405d63b0bce 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -34,7 +34,7 @@ public final class BastionHostIPConfigurationPropertiesFormat /* * The provisioning state of the bastion host IP configuration resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Private IP allocation method. @@ -92,7 +92,7 @@ public BastionHostIPConfigurationPropertiesFormat withPublicIpAddress(SubResourc * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -169,7 +169,7 @@ public static BastionHostIPConfigurationPropertiesFormat fromJson(JsonReader jso = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedBastionHostIPConfigurationPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("privateIPAllocationMethod".equals(fieldName)) { deserializedBastionHostIPConfigurationPropertiesFormat.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java index 9cf8dae2b7be..bbd3189aa1ae 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.BastionHostIPConfiguration; import com.azure.resourcemanager.network.models.BastionHostPropertiesFormatNetworkAcls; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -44,7 +44,7 @@ public final class BastionHostPropertiesFormat implements JsonSerializable CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java index 5c34f421bf6b..cbdfe93048ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java @@ -16,7 +16,7 @@ import com.azure.resourcemanager.network.models.DeleteExistingPeering; import com.azure.resourcemanager.network.models.Hub; import com.azure.resourcemanager.network.models.IsGlobal; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -265,7 +265,7 @@ public ConnectivityConfigurationInner withAppliesToGroups(List containerNetworkInterfaces() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -148,7 +148,7 @@ public static ContainerNetworkInterfaceConfigurationPropertiesFormat fromJson(Js = containerNetworkInterfaces; } else if ("provisioningState".equals(fieldName)) { deserializedContainerNetworkInterfaceConfigurationPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java index 2b809d385dab..8879403d7cb9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -21,7 +21,7 @@ public final class ContainerNetworkInterfaceIpConfigurationPropertiesFormat /* * The provisioning state of the container network interface IP configuration resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ContainerNetworkInterfaceIpConfigurationPropertiesFormat class. @@ -35,7 +35,7 @@ private ContainerNetworkInterfaceIpConfigurationPropertiesFormat() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -76,7 +76,7 @@ public static ContainerNetworkInterfaceIpConfigurationPropertiesFormat fromJson( if ("provisioningState".equals(fieldName)) { deserializedContainerNetworkInterfaceIpConfigurationPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java index 93f34aebd96b..84b772a85f0a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.resourcemanager.network.models.Container; import com.azure.resourcemanager.network.models.ContainerNetworkInterfaceConfiguration; import com.azure.resourcemanager.network.models.ContainerNetworkInterfaceIpConfiguration; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -40,7 +40,7 @@ public final class ContainerNetworkInterfacePropertiesFormat /* * The provisioning state of the container network interface resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ContainerNetworkInterfacePropertiesFormat class. @@ -81,7 +81,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -139,7 +139,7 @@ public static ContainerNetworkInterfacePropertiesFormat fromJson(JsonReader json deserializedContainerNetworkInterfacePropertiesFormat.ipConfigurations = ipConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedContainerNetworkInterfacePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java index 1331a6e5ac5e..918fc8265b9e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java @@ -14,7 +14,7 @@ import com.azure.resourcemanager.network.models.CustomIpPrefixType; import com.azure.resourcemanager.network.models.ExtendedLocation; import com.azure.resourcemanager.network.models.Geo; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -452,7 +452,7 @@ public String failedReason() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java index f7bd4d1da4ed..87b1609e9c3f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.CommissionedState; import com.azure.resourcemanager.network.models.CustomIpPrefixType; import com.azure.resourcemanager.network.models.Geo; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -95,7 +95,7 @@ public final class CustomIpPrefixPropertiesFormat implements JsonSerializable detectionRules = reader.readArray(reader1 -> DdosDetectionRule.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java index b053d42e8d4c..0292bb12c7cb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.DdosDetectionMode; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.TrafficDetectionRule; import java.io.IOException; @@ -22,7 +22,7 @@ public final class DdosDetectionRulePropertiesFormat implements JsonSerializable /* * The provisioning state of the DDoS detection rule. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The detection mode for the DDoS detection rule. @@ -45,7 +45,7 @@ public DdosDetectionRulePropertiesFormat() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -129,7 +129,7 @@ public static DdosDetectionRulePropertiesFormat fromJson(JsonReader jsonReader) if ("provisioningState".equals(fieldName)) { deserializedDdosDetectionRulePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("detectionMode".equals(fieldName)) { deserializedDdosDetectionRulePropertiesFormat.detectionMode = DdosDetectionMode.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java index e8e9f161d468..d2fd12de13a2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java @@ -1,16 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. - package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; -import com.azure.resourcemanager.network.models.ResourceWithReadOnlyID; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -19,7 +18,8 @@ * A DDoS protection plan in a resource group. */ @Fluent -public final class DdosProtectionPlanInner extends ResourceWithReadOnlyID { +public final class DdosProtectionPlanInner extends Resource { + /* * Properties of the DDoS protection plan. */ @@ -58,7 +58,7 @@ public DdosProtectionPlanInner() { /** * Get the innerProperties property: Properties of the DDoS protection plan. - * + * * @return the innerProperties value. */ private DdosProtectionPlanPropertiesFormat innerProperties() { @@ -67,7 +67,7 @@ private DdosProtectionPlanPropertiesFormat innerProperties() { /** * Get the tags property: Resource tags. - * + * * @return the tags value. */ public Map tags() { @@ -76,7 +76,7 @@ public Map tags() { /** * Set the tags property: Resource tags. - * + * * @param tags the tags value to set. * @return the DdosProtectionPlanInner object itself. */ @@ -87,7 +87,7 @@ public DdosProtectionPlanInner withTags(Map tags) { /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. - * + * * @return the etag value. */ public String etag() { @@ -96,7 +96,7 @@ public String etag() { /** * Get the type property: Resource type. - * + * * @return the type value. */ @Override @@ -106,7 +106,7 @@ public String type() { /** * Get the name property: Resource name. - * + * * @return the name value. */ @Override @@ -116,7 +116,7 @@ public String name() { /** * Get the id property: Resource ID. - * + * * @return the id value. */ @Override @@ -137,7 +137,7 @@ public DdosProtectionPlanInner withLocation(String location) { * Get the resourceGuid property: The resource GUID property of the DDoS protection plan resource. It uniquely * identifies the resource, even if the user changes its name or migrate the resource across subscriptions or * resource groups. - * + * * @return the resourceGuid value. */ public String resourceGuid() { @@ -146,17 +146,17 @@ public String resourceGuid() { /** * Get the provisioningState property: The provisioning state of the DDoS protection plan resource. - * + * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } /** * Get the publicIpAddresses property: The list of public IPs associated with the DDoS protection plan resource. * This list is read-only. - * + * * @return the publicIpAddresses value. */ public List publicIpAddresses() { @@ -166,7 +166,7 @@ public List publicIpAddresses() { /** * Get the virtualNetworks property: The list of virtual networks associated with the DDoS protection plan resource. * This list is read-only. - * + * * @return the virtualNetworks value. */ public List virtualNetworks() { @@ -175,7 +175,7 @@ public List virtualNetworks() { /** * Validates the instance. - * + * * @throws IllegalArgumentException thrown if the instance is not valid. */ @Override @@ -199,7 +199,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DdosProtectionPlanInner from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DdosProtectionPlanInner if the JsonReader was pointing to an instance of it, or null if it * was pointing to JSON null. @@ -211,7 +211,6 @@ public static DdosProtectionPlanInner fromJson(JsonReader jsonReader) throws IOE while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { deserializedDdosProtectionPlanInner.id = reader.getString(); } else if ("name".equals(fieldName)) { @@ -232,7 +231,6 @@ public static DdosProtectionPlanInner fromJson(JsonReader jsonReader) throws IOE reader.skipChildren(); } } - return deserializedDdosProtectionPlanInner; }); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java index 24b65e427198..ac6d55f9b0c7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -28,7 +28,7 @@ public final class DdosProtectionPlanPropertiesFormat implements JsonSerializabl /* * The provisioning state of the DDoS protection plan resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The list of public IPs associated with the DDoS protection plan resource. This list is read-only. @@ -62,7 +62,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -123,7 +123,7 @@ public static DdosProtectionPlanPropertiesFormat fromJson(JsonReader jsonReader) deserializedDdosProtectionPlanPropertiesFormat.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedDdosProtectionPlanPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("publicIPAddresses".equals(fieldName)) { List publicIpAddresses = reader.readArray(reader1 -> SubResource.fromJson(reader1)); deserializedDdosProtectionPlanPropertiesFormat.publicIpAddresses = publicIpAddresses; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java index 600d342253d5..86f61ce0666f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressPrefixItem; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.BaseProvisioningState; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleAccess; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleDirection; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleProtocol; @@ -76,7 +76,7 @@ public final class DefaultAdminPropertiesFormat implements JsonSerializable appliesToGroups() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java index f798c4a50dbf..1b39eb36b8f1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AuthorizationUseStatus; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; @@ -147,7 +147,7 @@ public String connectionResourceUri() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java index 0d4626dbffd1..bbdece81e066 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CircuitConnectionStatus; import com.azure.resourcemanager.network.models.Ipv6CircuitConnectionConfig; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; @@ -224,7 +224,7 @@ public CircuitConnectionStatus circuitConnectionStatus() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java index 74ecbea7b4a2..7e8042fde55d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CircuitConnectionStatus; import com.azure.resourcemanager.network.models.Ipv6CircuitConnectionConfig; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -54,7 +54,7 @@ public final class ExpressRouteCircuitConnectionPropertiesFormat /* * The provisioning state of the express route circuit connection resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ExpressRouteCircuitConnectionPropertiesFormat class. @@ -185,7 +185,7 @@ public CircuitConnectionStatus circuitConnectionStatus() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -248,7 +248,7 @@ public static ExpressRouteCircuitConnectionPropertiesFormat fromJson(JsonReader = CircuitConnectionStatus.fromString(reader.getString()); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteCircuitConnectionPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java index b0d8d712fda8..dcff163b6079 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitServiceProviderProperties; import com.azure.resourcemanager.network.models.ExpressRouteCircuitSku; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ServiceProviderProvisioningState; import java.io.IOException; import java.util.List; @@ -405,7 +405,7 @@ public Integer stag() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java index 3bfb236c411f..96ff8c24a759 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java @@ -14,7 +14,7 @@ import com.azure.resourcemanager.network.models.ExpressRoutePeeringState; import com.azure.resourcemanager.network.models.ExpressRoutePeeringType; import com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -373,7 +373,7 @@ public ExpressRouteCircuitPeeringInner withStats(ExpressRouteCircuitStatsInner s * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java index e72e967e19f9..dda26e9a4c21 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.ExpressRoutePeeringState; import com.azure.resourcemanager.network.models.ExpressRoutePeeringType; import com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -88,7 +88,7 @@ public final class ExpressRouteCircuitPeeringPropertiesFormatInner /* * The provisioning state of the express route circuit peering resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The GatewayManager Etag. @@ -379,7 +379,7 @@ public ExpressRouteCircuitPeeringPropertiesFormatInner withStats(ExpressRouteCir * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -610,7 +610,7 @@ public static ExpressRouteCircuitPeeringPropertiesFormatInner fromJson(JsonReade = ExpressRouteCircuitStatsInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteCircuitPeeringPropertiesFormatInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("gatewayManagerEtag".equals(fieldName)) { deserializedExpressRouteCircuitPeeringPropertiesFormatInner.gatewayManagerEtag = reader.getString(); } else if ("lastModifiedBy".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java index e24a9814a733..9df14d119568 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitServiceProviderProperties; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ServiceProviderProvisioningState; import java.io.IOException; import java.util.List; @@ -80,7 +80,7 @@ public final class ExpressRouteCircuitPropertiesFormat /* * The provisioning state of the express route circuit resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The GatewayManager Etag. @@ -334,7 +334,7 @@ public Integer stag() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -519,7 +519,7 @@ public static ExpressRouteCircuitPropertiesFormat fromJson(JsonReader jsonReader deserializedExpressRouteCircuitPropertiesFormat.stag = reader.getNullable(JsonReader::getInt); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteCircuitPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("gatewayManagerEtag".equals(fieldName)) { deserializedExpressRouteCircuitPropertiesFormat.gatewayManagerEtag = reader.getString(); } else if ("globalReachEnabled".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java index 81bce6e48712..1fc4c0269bac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitPeeringId; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import java.io.IOException; @@ -79,7 +79,7 @@ public ExpressRouteConnectionInner withId(String id) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java index f286408995a1..1fc616187249 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitPeeringId; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import java.io.IOException; @@ -23,7 +23,7 @@ public final class ExpressRouteConnectionProperties implements JsonSerializable< /* * The provisioning state of the express route connection resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The ExpressRoute circuit peering. @@ -72,7 +72,7 @@ public ExpressRouteConnectionProperties() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -279,7 +279,7 @@ public static ExpressRouteConnectionProperties fromJson(JsonReader jsonReader) t = ExpressRouteCircuitPeeringId.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteConnectionProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("authorizationKey".equals(fieldName)) { deserializedExpressRouteConnectionProperties.authorizationKey = reader.getString(); } else if ("routingWeight".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java index 2b91d7abba6d..2b2dd7931a37 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitReference; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ServiceProviderProvisioningState; import java.io.IOException; import java.util.List; @@ -250,7 +250,7 @@ public ExpressRouteCrossConnectionInner withServiceProviderNotes(String serviceP * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java index 951902ada295..a516b5c4af53 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.ExpressRoutePeeringState; import com.azure.resourcemanager.network.models.ExpressRoutePeeringType; import com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -309,7 +309,7 @@ public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java index 5d1f7c20663d..da8349ac030c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.ExpressRoutePeeringState; import com.azure.resourcemanager.network.models.ExpressRoutePeeringType; import com.azure.resourcemanager.network.models.Ipv6ExpressRouteCircuitPeeringConfig; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -80,7 +80,7 @@ public final class ExpressRouteCrossConnectionPeeringProperties /* * The provisioning state of the express route cross connection peering resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The GatewayManager Etag. @@ -298,7 +298,7 @@ public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -433,7 +433,7 @@ public static ExpressRouteCrossConnectionPeeringProperties fromJson(JsonReader j = ExpressRouteCircuitPeeringConfig.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteCrossConnectionPeeringProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("gatewayManagerEtag".equals(fieldName)) { deserializedExpressRouteCrossConnectionPeeringProperties.gatewayManagerEtag = reader.getString(); } else if ("lastModifiedBy".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java index df7bf407841f..142db2f20aad 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteCircuitReference; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ServiceProviderProvisioningState; import java.io.IOException; import java.util.List; @@ -64,7 +64,7 @@ public final class ExpressRouteCrossConnectionProperties /* * The provisioning state of the express route cross connection resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The list of peerings. @@ -191,7 +191,7 @@ public ExpressRouteCrossConnectionProperties withServiceProviderNotes(String ser * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -280,7 +280,7 @@ public static ExpressRouteCrossConnectionProperties fromJson(JsonReader jsonRead deserializedExpressRouteCrossConnectionProperties.serviceProviderNotes = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteCrossConnectionProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("peerings".equals(fieldName)) { List peerings = reader.readArray(reader1 -> ExpressRouteCrossConnectionPeeringInner.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java index c56140b5cae4..23a5ef627638 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualHubId; import java.io.IOException; import java.util.List; @@ -181,7 +181,7 @@ public List expressRouteConnections() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java index 6294551b92fa..4af222803e1b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualHubId; import java.io.IOException; import java.util.List; @@ -34,7 +34,7 @@ public final class ExpressRouteGatewayProperties implements JsonSerializable expressRouteConnections() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -210,7 +210,7 @@ public static ExpressRouteGatewayProperties fromJson(JsonReader jsonReader) thro deserializedExpressRouteGatewayProperties.expressRouteConnections = expressRouteConnections; } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteGatewayProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("allowNonVirtualWanTraffic".equals(fieldName)) { deserializedExpressRouteGatewayProperties.allowNonVirtualWanTraffic = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java index c8567879342c..f04b913a4f1e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java @@ -12,7 +12,7 @@ import com.azure.resourcemanager.network.models.ExpressRouteLinkAdminState; import com.azure.resourcemanager.network.models.ExpressRouteLinkConnectorType; import com.azure.resourcemanager.network.models.ExpressRouteLinkMacSecConfig; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -172,7 +172,7 @@ public ExpressRouteLinkInner withAdminState(ExpressRouteLinkAdminState adminStat * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java index b8dd0daa0701..b02a344921ab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.resourcemanager.network.models.ExpressRouteLinkAdminState; import com.azure.resourcemanager.network.models.ExpressRouteLinkConnectorType; import com.azure.resourcemanager.network.models.ExpressRouteLinkMacSecConfig; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -60,7 +60,7 @@ public final class ExpressRouteLinkPropertiesFormat implements JsonSerializable< /* * The provisioning state of the express route link resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * MacSec configuration. @@ -152,7 +152,7 @@ public ExpressRouteLinkPropertiesFormat withAdminState(ExpressRouteLinkAdminStat * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -232,7 +232,7 @@ public static ExpressRouteLinkPropertiesFormat fromJson(JsonReader jsonReader) t = ExpressRouteLinkAdminState.fromString(reader.getString()); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteLinkPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("macSecConfig".equals(fieldName)) { deserializedExpressRouteLinkPropertiesFormat.macSecConfig = ExpressRouteLinkMacSecConfig.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java index c96910b43016..3d8b1e7d58c0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRoutePortAuthorizationUseStatus; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; @@ -119,7 +119,7 @@ public String circuitResourceUri() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java index c72c4e9f4b2a..1fa5025751c3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRoutePortAuthorizationUseStatus; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -39,7 +39,7 @@ public final class ExpressRoutePortAuthorizationPropertiesFormat /* * The provisioning state of the authorization resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ExpressRoutePortAuthorizationPropertiesFormat class. @@ -79,7 +79,7 @@ public String circuitResourceUri() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -125,7 +125,7 @@ public static ExpressRoutePortAuthorizationPropertiesFormat fromJson(JsonReader deserializedExpressRoutePortAuthorizationPropertiesFormat.circuitResourceUri = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedExpressRoutePortAuthorizationPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java index e21d3e46751b..f6eecae50800 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.ExpressRoutePortsBillingType; import com.azure.resourcemanager.network.models.ExpressRoutePortsEncapsulation; import com.azure.resourcemanager.network.models.ManagedServiceIdentity; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -306,7 +306,7 @@ public List circuits() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java index aea7647bdd26..5a9affc3c589 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRoutePortsBillingType; import com.azure.resourcemanager.network.models.ExpressRoutePortsEncapsulation; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -73,7 +73,7 @@ public final class ExpressRoutePortPropertiesFormat implements JsonSerializable< /* * The provisioning state of the express route port resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The resource GUID property of the express route port resource. @@ -228,7 +228,7 @@ public List circuits() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -328,7 +328,7 @@ public static ExpressRoutePortPropertiesFormat fromJson(JsonReader jsonReader) t deserializedExpressRoutePortPropertiesFormat.circuits = circuits; } else if ("provisioningState".equals(fieldName)) { deserializedExpressRoutePortPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedExpressRoutePortPropertiesFormat.resourceGuid = reader.getString(); } else if ("billingType".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java index 2adb141b81a0..a7c895fdeb6a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRoutePortsLocationBandwidths; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -118,7 +118,7 @@ public List availableBandwidths() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java index fa74e25779b6..d71653d51405 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRoutePortsLocationBandwidths; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -40,7 +40,7 @@ public final class ExpressRoutePortsLocationPropertiesFormat /* * The provisioning state of the express route port location resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ExpressRoutePortsLocationPropertiesFormat class. @@ -80,7 +80,7 @@ public List availableBandwidths() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -132,7 +132,7 @@ public static ExpressRoutePortsLocationPropertiesFormat fromJson(JsonReader json deserializedExpressRoutePortsLocationPropertiesFormat.availableBandwidths = availableBandwidths; } else if ("provisioningState".equals(fieldName)) { deserializedExpressRoutePortsLocationPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java index d3bac99da4bd..997cd9d4a9ca 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteServiceProviderBandwidthsOffered; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -107,7 +107,7 @@ public List bandwidthsOffered() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java index 59eeaa030127..dbdd6aea43a0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ExpressRouteServiceProviderBandwidthsOffered; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -33,7 +33,7 @@ public final class ExpressRouteServiceProviderPropertiesFormat /* * The provisioning state of the express route service provider resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ExpressRouteServiceProviderPropertiesFormat class. @@ -64,7 +64,7 @@ public List bandwidthsOffered() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -117,7 +117,7 @@ public static ExpressRouteServiceProviderPropertiesFormat fromJson(JsonReader js deserializedExpressRouteServiceProviderPropertiesFormat.bandwidthsOffered = bandwidthsOffered; } else if ("provisioningState".equals(fieldName)) { deserializedExpressRouteServiceProviderPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java index 0c0e9177b432..c96dc1a7b511 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java @@ -21,7 +21,7 @@ import com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist; import com.azure.resourcemanager.network.models.FirewallPolicyTransportSecurity; import com.azure.resourcemanager.network.models.ManagedServiceIdentity; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -187,7 +187,7 @@ public List ruleCollectionGroups() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java index 2e2ba508fc1d..5adeccbf48df 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java @@ -20,7 +20,7 @@ import com.azure.resourcemanager.network.models.FirewallPolicySku; import com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist; import com.azure.resourcemanager.network.models.FirewallPolicyTransportSecurity; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -42,7 +42,7 @@ public final class FirewallPolicyPropertiesFormat implements JsonSerializable ruleCollectionGroups() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -461,7 +461,7 @@ public static FirewallPolicyPropertiesFormat fromJson(JsonReader jsonReader) thr deserializedFirewallPolicyPropertiesFormat.ruleCollectionGroups = ruleCollectionGroups; } else if ("provisioningState".equals(fieldName)) { deserializedFirewallPolicyPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("basePolicy".equals(fieldName)) { deserializedFirewallPolicyPropertiesFormat.basePolicy = SubResource.fromJson(reader); } else if ("firewalls".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java index 870519e6b6d4..cb28f2cae6b7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.FirewallPolicyRuleCollection; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -148,7 +148,7 @@ public List ruleCollections() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java index 04051879eb19..21b9fbb3ea8c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.FirewallPolicyRuleCollection; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -38,7 +38,7 @@ public final class FirewallPolicyRuleCollectionGroupProperties /* * The provisioning state of the firewall policy rule collection group resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of FirewallPolicyRuleCollectionGroupProperties class. @@ -102,7 +102,7 @@ public List ruleCollections() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -156,7 +156,7 @@ public static FirewallPolicyRuleCollectionGroupProperties fromJson(JsonReader js deserializedFirewallPolicyRuleCollectionGroupProperties.ruleCollections = ruleCollections; } else if ("provisioningState".equals(fieldName)) { deserializedFirewallPolicyRuleCollectionGroupProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java index aa50b09cc9ea..7351d5ee2b70 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.FlowLogFormatParameters; import com.azure.resourcemanager.network.models.ManagedServiceIdentity; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RetentionPolicyParameters; import com.azure.resourcemanager.network.models.TrafficAnalyticsProperties; import java.io.IOException; @@ -362,7 +362,7 @@ public FlowLogInner withFlowAnalyticsConfiguration(TrafficAnalyticsProperties fl * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java index d874672d50c2..cb0083593b96 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.FlowLogFormatParameters; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RetentionPolicyParameters; import com.azure.resourcemanager.network.models.TrafficAnalyticsProperties; import java.io.IOException; @@ -73,7 +73,7 @@ public final class FlowLogPropertiesFormat implements JsonSerializable propagatingConnections() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java index ef79604b1c98..ac80af79cc29 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.HubRoute; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -42,7 +42,7 @@ public final class HubRouteTableProperties implements JsonSerializable propagatingConnections() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -168,7 +168,7 @@ public static HubRouteTableProperties fromJson(JsonReader jsonReader) throws IOE deserializedHubRouteTableProperties.propagatingConnections = propagatingConnections; } else if ("provisioningState".equals(fieldName)) { deserializedHubRouteTableProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java index 0f3101ad49cf..6c34d7794e83 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import java.io.IOException; @@ -211,7 +211,7 @@ public HubVirtualNetworkConnectionInner withRoutingConfiguration(RoutingConfigur * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java index 00e4fac612f0..b13315f6653f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import java.io.IOException; @@ -48,7 +48,7 @@ public final class HubVirtualNetworkConnectionProperties /* * The provisioning state of the hub virtual network connection resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of HubVirtualNetworkConnectionProperties class. @@ -164,7 +164,7 @@ public HubVirtualNetworkConnectionProperties withRoutingConfiguration(RoutingCon * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -226,7 +226,7 @@ public static HubVirtualNetworkConnectionProperties fromJson(JsonReader jsonRead = RoutingConfiguration.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedHubVirtualNetworkConnectionProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java index bc204b3d401a..a73d39629225 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.TransportProtocol; import java.io.IOException; @@ -69,7 +69,7 @@ public final class InboundNatPoolPropertiesFormat implements JsonSerializable rules) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java index 9ea4538b580a..f58217e1c0bb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.InboundSecurityRuleType; import com.azure.resourcemanager.network.models.InboundSecurityRules; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -34,7 +34,7 @@ public final class InboundSecurityRuleProperties implements JsonSerializable rules) * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -140,7 +140,7 @@ public static InboundSecurityRuleProperties fromJson(JsonReader jsonReader) thro deserializedInboundSecurityRuleProperties.rules = rules; } else if ("provisioningState".equals(fieldName)) { deserializedInboundSecurityRuleProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java index 2727fb2569c2..b9caff47db8c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -108,7 +108,7 @@ public PublicIpAddressInner publicIpAddress() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java index 18cc7797d300..de2f2f2310e5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -129,7 +129,7 @@ public IpConfigurationProfileInner withSubnet(SubnetInner subnet) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java index 34316cbd24bd..aa4e8f7520f0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -26,7 +26,7 @@ public final class IPConfigurationProfilePropertiesFormatInner /* * The provisioning state of the IP configuration profile resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of IPConfigurationProfilePropertiesFormatInner class. @@ -61,7 +61,7 @@ public IPConfigurationProfilePropertiesFormatInner withSubnet(SubnetInner subnet * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -106,7 +106,7 @@ public static IPConfigurationProfilePropertiesFormatInner fromJson(JsonReader js deserializedIPConfigurationProfilePropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedIPConfigurationProfilePropertiesFormatInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java index 19c7590387a6..a6da9a0aaf74 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -42,7 +42,7 @@ public final class IPConfigurationPropertiesFormatInner /* * The provisioning state of the IP configuration resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of IPConfigurationPropertiesFormatInner class. @@ -91,7 +91,7 @@ public PublicIpAddressInner publicIpAddress() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -151,7 +151,7 @@ public static IPConfigurationPropertiesFormatInner fromJson(JsonReader jsonReade = PublicIpAddressInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedIPConfigurationPropertiesFormatInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java index c31880b1c77d..3d88780fbc83 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -132,7 +132,7 @@ public IpGroupInner withTags(Map tags) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java index db7bc7b8b824..2ba6df34980d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -22,7 +22,7 @@ public final class IpGroupPropertiesFormat implements JsonSerializable ipAddresses = reader.readArray(reader1 -> reader1.getString()); deserializedIpGroupPropertiesFormat.ipAddresses = ipAddresses; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java index 08edb4da4a18..fd368a856f51 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.InboundNatPool; import com.azure.resourcemanager.network.models.LoadBalancerScope; import com.azure.resourcemanager.network.models.LoadBalancerSku; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -373,7 +373,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java index c7ab72e57b88..35797f5366b2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.InboundNatPool; import com.azure.resourcemanager.network.models.LoadBalancerScope; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -71,7 +71,7 @@ public final class LoadBalancerPropertiesFormat implements JsonSerializable applicationSecurityGroups() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java index 625b3c01b490..f83444c63092 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java @@ -14,7 +14,7 @@ import com.azure.resourcemanager.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpVersion; import com.azure.resourcemanager.network.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -94,7 +94,7 @@ public final class NetworkInterfaceIPConfigurationPropertiesFormatInner /* * The provisioning state of the network interface IP configuration. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * PrivateLinkConnection properties for the network interface. @@ -390,7 +390,7 @@ public List applicationSecurityGroups() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -532,7 +532,7 @@ public static NetworkInterfaceIPConfigurationPropertiesFormatInner fromJson(Json = applicationSecurityGroups; } else if ("provisioningState".equals(fieldName)) { deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("privateLinkConnectionProperties".equals(fieldName)) { deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateLinkConnectionProperties = NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java index 2b3170dd5769..09d2af36819d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.NetworkInterfaceDnsSettings; import com.azure.resourcemanager.network.models.NetworkInterfaceMigrationPhase; import com.azure.resourcemanager.network.models.NetworkInterfaceNicType; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -109,7 +109,7 @@ public final class NetworkInterfacePropertiesFormatInner /* * The provisioning state of the network interface resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * WorkloadType of the NetworkInterface for BareMetal resources @@ -369,7 +369,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -606,7 +606,7 @@ public static NetworkInterfacePropertiesFormatInner fromJson(JsonReader jsonRead deserializedNetworkInterfacePropertiesFormatInner.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedNetworkInterfacePropertiesFormatInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("workloadType".equals(fieldName)) { deserializedNetworkInterfacePropertiesFormatInner.workloadType = reader.getString(); } else if ("nicType".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java index 674fcf9ca100..de2dcd45d85a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java @@ -8,7 +8,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; @@ -112,7 +112,7 @@ public NetworkInterfaceTapConfigurationInner withVirtualNetworkTap(VirtualNetwor * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java index 41cb51f20c24..4a6f380af42f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -26,7 +26,7 @@ public final class NetworkInterfaceTapConfigurationPropertiesFormatInner /* * The provisioning state of the network interface tap configuration resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of NetworkInterfaceTapConfigurationPropertiesFormatInner class. @@ -60,7 +60,7 @@ public VirtualNetworkTapInner virtualNetworkTap() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -107,7 +107,7 @@ public static NetworkInterfaceTapConfigurationPropertiesFormatInner fromJson(Jso = VirtualNetworkTapInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedNetworkInterfaceTapConfigurationPropertiesFormatInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java index eb42e6b24f2d..c0186aa1d8a3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ConfigurationType; import com.azure.resourcemanager.network.models.NetworkManagerPropertiesNetworkManagerScopes; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -218,7 +218,7 @@ public NetworkManagerInner withNetworkManagerScopeAccesses(List networkManagerScopeAccesses() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -189,7 +189,7 @@ public static NetworkManagerProperties fromJson(JsonReader jsonReader) throws IO deserializedNetworkManagerProperties.networkManagerScopeAccesses = networkManagerScopeAccesses; } else if ("provisioningState".equals(fieldName)) { deserializedNetworkManagerProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedNetworkManagerProperties.resourceGuid = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java index 9f0ebdfb4a04..17975863e006 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ChildResource; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RouteTableUsageMode; import java.io.IOException; @@ -141,7 +141,7 @@ public NetworkManagerRoutingConfigurationInner withDescription(String descriptio * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java index 80046fbf7e20..d4a8da6c306d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RouteTableUsageMode; import java.io.IOException; @@ -27,7 +27,7 @@ public final class NetworkManagerRoutingConfigurationPropertiesFormat /* * The provisioning state of the resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Unique identifier for this resource. @@ -71,7 +71,7 @@ public NetworkManagerRoutingConfigurationPropertiesFormat withDescription(String * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -148,7 +148,7 @@ public static NetworkManagerRoutingConfigurationPropertiesFormat fromJson(JsonRe deserializedNetworkManagerRoutingConfigurationPropertiesFormat.description = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedNetworkManagerRoutingConfigurationPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedNetworkManagerRoutingConfigurationPropertiesFormat.resourceGuid = reader.getString(); } else if ("routeTableUsageMode".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java index 0f62998b1f75..eb08fc19f094 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ContainerNetworkInterface; import com.azure.resourcemanager.network.models.ContainerNetworkInterfaceConfiguration; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -177,7 +177,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java index 6272e36980a8..8648d0d479c2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ContainerNetworkInterface; import com.azure.resourcemanager.network.models.ContainerNetworkInterfaceConfiguration; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -38,7 +38,7 @@ public final class NetworkProfilePropertiesFormat implements JsonSerializable inboundSecurityRules() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java index 8936ae65d9b9..e53c5c32332f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java @@ -12,10 +12,10 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.DelegationProperties; import com.azure.resourcemanager.network.models.InternetIngressPublicIpsProperties; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.NetworkVirtualAppliancePropertiesFormatNetworkProfile; import com.azure.resourcemanager.network.models.NvaInterfaceConfigurationsProperties; import com.azure.resourcemanager.network.models.PartnerManagedResourceProperties; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualApplianceAdditionalNicProperties; import com.azure.resourcemanager.network.models.VirtualApplianceNicProperties; import com.azure.resourcemanager.network.models.VirtualApplianceSkuProperties; @@ -107,7 +107,7 @@ public final class NetworkVirtualAppliancePropertiesFormat /* * The provisioning state of the resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The deployment type. PartnerManaged for the SaaS NVA @@ -400,7 +400,7 @@ public List inboundSecurityRules() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -612,7 +612,7 @@ public static NetworkVirtualAppliancePropertiesFormat fromJson(JsonReader jsonRe deserializedNetworkVirtualAppliancePropertiesFormat.inboundSecurityRules = inboundSecurityRules; } else if ("provisioningState".equals(fieldName)) { deserializedNetworkVirtualAppliancePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("deploymentType".equals(fieldName)) { deserializedNetworkVirtualAppliancePropertiesFormat.deploymentType = reader.getString(); } else if ("delegation".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java index 5756c867b63b..5ef1ab6c6e1e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.Map; @@ -130,7 +130,7 @@ public NetworkWatcherInner withTags(Map tags) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java index e926ce38b47a..6d748afe080a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -20,7 +20,7 @@ public final class NetworkWatcherPropertiesFormat implements JsonSerializable previousConfigurationPolicyG * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -234,7 +234,7 @@ public static P2SConnectionConfigurationProperties fromJson(JsonReader jsonReade = previousConfigurationPolicyGroupAssociations; } else if ("provisioningState".equals(fieldName)) { deserializedP2SConnectionConfigurationProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java index 70dcc10d06a9..a13a8c64351b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java @@ -10,8 +10,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.P2SConnectionConfiguration; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; import com.azure.resourcemanager.network.models.VpnClientConnectionHealth; import java.io.IOException; @@ -166,7 +166,7 @@ public List p2SConnectionConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java index c42bbd46bcbf..83886467387a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java @@ -10,8 +10,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.P2SConnectionConfiguration; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VpnClientConnectionHealth; import java.io.IOException; import java.util.List; @@ -34,7 +34,7 @@ public final class P2SVpnGatewayProperties implements JsonSerializable p2SConnectionConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -262,7 +262,7 @@ public static P2SVpnGatewayProperties fromJson(JsonReader jsonReader) throws IOE deserializedP2SVpnGatewayProperties.p2SConnectionConfigurations = p2SConnectionConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedP2SVpnGatewayProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("vpnGatewayScaleUnit".equals(fieldName)) { deserializedP2SVpnGatewayProperties.vpnGatewayScaleUnit = reader.getNullable(JsonReader::getInt); } else if ("vpnServerConfiguration".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java index 94e38f9ff354..aac60f5dce0f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java @@ -9,12 +9,12 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PacketCaptureFilter; import com.azure.resourcemanager.network.models.PacketCaptureMachineScope; import com.azure.resourcemanager.network.models.PacketCaptureSettings; import com.azure.resourcemanager.network.models.PacketCaptureStorageLocation; import com.azure.resourcemanager.network.models.PacketCaptureTargetType; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -90,7 +90,7 @@ private PacketCaptureResultProperties innerProperties() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java index 8db17d8e3a33..559b755a0cb2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java @@ -9,12 +9,12 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PacketCaptureFilter; import com.azure.resourcemanager.network.models.PacketCaptureMachineScope; import com.azure.resourcemanager.network.models.PacketCaptureSettings; import com.azure.resourcemanager.network.models.PacketCaptureStorageLocation; import com.azure.resourcemanager.network.models.PacketCaptureTargetType; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -26,7 +26,7 @@ public final class PacketCaptureResultProperties extends PacketCaptureParameters /* * The provisioning state of the packet capture session. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of PacketCaptureResultProperties class. @@ -39,7 +39,7 @@ private PacketCaptureResultProperties() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -142,7 +142,7 @@ public static PacketCaptureResultProperties fromJson(JsonReader jsonReader) thro .withCaptureSettings(PacketCaptureSettings.fromJson(reader)); } else if ("provisioningState".equals(fieldName)) { deserializedPacketCaptureResultProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java index 2633f1057b4c..d398210d35cc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CircuitConnectionStatus; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; @@ -130,7 +130,7 @@ public String authResourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java index 2b68c0677d80..82e2c8021f64 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CircuitConnectionStatus; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -53,7 +53,7 @@ public final class PeerExpressRouteCircuitConnectionPropertiesFormat /* * The provisioning state of the peer express route circuit connection resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of PeerExpressRouteCircuitConnectionPropertiesFormat class. @@ -123,7 +123,7 @@ public String authResourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -182,7 +182,7 @@ public static PeerExpressRouteCircuitConnectionPropertiesFormat fromJson(JsonRea deserializedPeerExpressRouteCircuitConnectionPropertiesFormat.authResourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedPeerExpressRouteCircuitConnectionPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java index bc7fabee96df..770e865af7fa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java @@ -9,8 +9,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateDnsZoneConfig; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -94,7 +94,7 @@ public PrivateDnsZoneGroupInner withId(String id) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java index 1ce2393764ed..e8dc6934df5d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java @@ -9,8 +9,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateDnsZoneConfig; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -23,7 +23,7 @@ public final class PrivateDnsZoneGroupPropertiesFormat /* * The provisioning state of the private dns zone group resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * A collection of private dns zone configurations of the private dns zone group. @@ -41,7 +41,7 @@ public PrivateDnsZoneGroupPropertiesFormat() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -108,7 +108,7 @@ public static PrivateDnsZoneGroupPropertiesFormat fromJson(JsonReader jsonReader if ("provisioningState".equals(fieldName)) { deserializedPrivateDnsZoneGroupPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("privateDnsZoneConfigs".equals(fieldName)) { List privateDnsZoneConfigs = reader.readArray(reader1 -> PrivateDnsZoneConfig.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java index c8d98f693de5..07643c18cf8a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java @@ -8,8 +8,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; @@ -125,7 +125,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java index a9daed5cf1ee..bc85d6bbbf24 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java @@ -9,8 +9,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -32,7 +32,7 @@ public final class PrivateEndpointConnectionPropertiesInner /* * The provisioning state of the private endpoint connection resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The consumer link id. @@ -87,7 +87,7 @@ public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -157,7 +157,7 @@ public static PrivateEndpointConnectionPropertiesInner fromJson(JsonReader jsonR = PrivateLinkServiceConnectionState.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedPrivateEndpointConnectionPropertiesInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("linkIdentifier".equals(fieldName)) { deserializedPrivateEndpointConnectionPropertiesInner.linkIdentifier = reader.getString(); } else if ("privateEndpointLocation".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java index 5736d38fa2d9..bf9be7cf1a74 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java @@ -11,10 +11,10 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CustomDnsConfigPropertiesFormat; import com.azure.resourcemanager.network.models.ExtendedLocation; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateEndpointIPConfiguration; import com.azure.resourcemanager.network.models.PrivateEndpointIPVersionType; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnection; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -194,7 +194,7 @@ public List networkInterfaces() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java index edb74f4fbc66..aa2c7a24a147 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java @@ -10,10 +10,10 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CustomDnsConfigPropertiesFormat; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateEndpointIPConfiguration; import com.azure.resourcemanager.network.models.PrivateEndpointIPVersionType; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnection; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -35,7 +35,7 @@ public final class PrivateEndpointPropertiesInner implements JsonSerializable networkInterfaces() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -349,7 +349,7 @@ public static PrivateEndpointPropertiesInner fromJson(JsonReader jsonReader) thr deserializedPrivateEndpointPropertiesInner.networkInterfaces = networkInterfaces; } else if ("provisioningState".equals(fieldName)) { deserializedPrivateEndpointPropertiesInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("ipVersionType".equals(fieldName)) { deserializedPrivateEndpointPropertiesInner.ipVersionType = PrivateEndpointIPVersionType.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java index 234074de7a2d..6664684cd0f0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java @@ -9,8 +9,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnectionState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -23,7 +23,7 @@ public final class PrivateLinkServiceConnectionProperties /* * The provisioning state of the private link service connection resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The resource id of private link service. @@ -56,7 +56,7 @@ public PrivateLinkServiceConnectionProperties() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -189,7 +189,7 @@ public static PrivateLinkServiceConnectionProperties fromJson(JsonReader jsonRea if ("provisioningState".equals(fieldName)) { deserializedPrivateLinkServiceConnectionProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("privateLinkServiceId".equals(fieldName)) { deserializedPrivateLinkServiceConnectionProperties.privateLinkServiceId = reader.getString(); } else if ("groupIds".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java index b8be8b00bb03..baf1c14119a1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java @@ -11,9 +11,9 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AccessMode; import com.azure.resourcemanager.network.models.ExtendedLocation; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesAutoApproval; import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesVisibility; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -265,7 +265,7 @@ public List networkInterfaces() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java index 373b096465c7..e505053bbacf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -199,7 +199,7 @@ public PrivateLinkServiceIpConfigurationInner withPrimary(Boolean primary) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java index 4a79a042bd10..7da219d9c0a7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -43,7 +43,7 @@ public final class PrivateLinkServiceIpConfigurationPropertiesInner /* * The provisioning state of the private link service IP configuration resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. @@ -142,7 +142,7 @@ public PrivateLinkServiceIpConfigurationPropertiesInner withPrimary(Boolean prim * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -222,7 +222,7 @@ public static PrivateLinkServiceIpConfigurationPropertiesInner fromJson(JsonRead = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedPrivateLinkServiceIpConfigurationPropertiesInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("privateIPAddressVersion".equals(fieldName)) { deserializedPrivateLinkServiceIpConfigurationPropertiesInner.privateIpAddressVersion = IpVersion.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java index 9fdaa8ea4b34..97007bf36b86 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java @@ -10,9 +10,9 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AccessMode; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesAutoApproval; import com.azure.resourcemanager.network.models.PrivateLinkServicePropertiesVisibility; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -49,7 +49,7 @@ public final class PrivateLinkServiceProperties implements JsonSerializable networkInterfaces() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -367,7 +367,7 @@ public static PrivateLinkServiceProperties fromJson(JsonReader jsonReader) throw deserializedPrivateLinkServiceProperties.networkInterfaces = networkInterfaces; } else if ("provisioningState".equals(fieldName)) { deserializedPrivateLinkServiceProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("privateEndpointConnections".equals(fieldName)) { List privateEndpointConnections = reader.readArray(reader1 -> PrivateEndpointConnectionInner.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java index 85b96082e27f..659cc5237c89 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java @@ -9,9 +9,9 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ProbeNoHealthyBackendsBehavior; import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -285,7 +285,7 @@ public ProbeInner withRequestPath(String requestPath) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java index 9ff865473ef6..2ab70594638b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java @@ -11,9 +11,9 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.ProbeNoHealthyBackendsBehavior; import com.azure.resourcemanager.network.models.ProbeProtocol; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -74,7 +74,7 @@ public final class ProbePropertiesFormat implements JsonSerializable tags) { /** * Get the rules property: Collection of RouteFilterRules contained within a route filter. - * + * * @return the rules value. */ public List rules() { @@ -122,7 +121,7 @@ public List rules() { /** * Set the rules property: Collection of RouteFilterRules contained within a route filter. - * + * * @param rules the rules value to set. * @return the RouteFilterInner object itself. */ @@ -136,7 +135,7 @@ public RouteFilterInner withRules(List rules) { /** * Get the peerings property: A collection of references to express route circuit peerings. - * + * * @return the peerings value. */ public List peerings() { @@ -145,7 +144,7 @@ public List peerings() { /** * Get the ipv6Peerings property: A collection of references to express route circuit ipv6 peerings. - * + * * @return the ipv6Peerings value. */ public List ipv6Peerings() { @@ -154,16 +153,16 @@ public List ipv6Peerings() { /** * Get the provisioningState property: The provisioning state of the route filter resource. - * + * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } /** * Validates the instance. - * + * * @throws IllegalArgumentException thrown if the instance is not valid. */ @Override @@ -194,7 +193,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of RouteFilterInner from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of RouteFilterInner if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -207,7 +206,6 @@ public static RouteFilterInner fromJson(JsonReader jsonReader) throws IOExceptio while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { deserializedRouteFilterInner.withLocation(reader.getString()); } else if ("id".equals(fieldName)) { @@ -227,7 +225,6 @@ public static RouteFilterInner fromJson(JsonReader jsonReader) throws IOExceptio reader.skipChildren(); } } - return deserializedRouteFilterInner; }); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java index 6354284706f1..1fd4856aca06 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -36,7 +36,7 @@ public final class RouteFilterPropertiesFormat implements JsonSerializable ipv6Peerings() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -147,7 +147,7 @@ public static RouteFilterPropertiesFormat fromJson(JsonReader jsonReader) throws deserializedRouteFilterPropertiesFormat.ipv6Peerings = ipv6Peerings; } else if ("provisioningState".equals(fieldName)) { deserializedRouteFilterPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java index 1e5000b37b08..aca4d517c31f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.Access; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RouteFilterRuleType; import java.io.IOException; import java.util.List; @@ -191,7 +191,7 @@ public RouteFilterRuleInner withCommunities(List communities) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java index 274159fdf188..4c490e8818da 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.Access; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RouteFilterRuleType; import java.io.IOException; import java.util.List; @@ -39,7 +39,7 @@ public final class RouteFilterRulePropertiesFormat implements JsonSerializable communities) * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -183,7 +183,7 @@ public static RouteFilterRulePropertiesFormat fromJson(JsonReader jsonReader) th deserializedRouteFilterRulePropertiesFormat.communities = communities; } else if ("provisioningState".equals(fieldName)) { deserializedRouteFilterRulePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java index 4b85e025fa69..f3ca416c6342 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java @@ -8,7 +8,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RouteNextHopType; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; @@ -161,7 +161,7 @@ public RouteInner withNextHopIpAddress(String nextHopIpAddress) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java index f6e034f09a42..9d40449e0424 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java @@ -8,7 +8,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ReadOnlySubResourceModel; import com.azure.resourcemanager.network.models.RouteMapRule; import java.io.IOException; @@ -176,7 +176,7 @@ public RouteMapInner withRules(List rules) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java index d41da6522da3..c437018c7c5c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RouteMapRule; import java.io.IOException; import java.util.List; @@ -37,7 +37,7 @@ public final class RouteMapProperties implements JsonSerializable rules) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -168,8 +168,7 @@ public static RouteMapProperties fromJson(JsonReader jsonReader) throws IOExcept List rules = reader.readArray(reader1 -> RouteMapRule.fromJson(reader1)); deserializedRouteMapProperties.rules = rules; } else if ("provisioningState".equals(fieldName)) { - deserializedRouteMapProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + deserializedRouteMapProperties.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java index 9771f3cdbeb2..b018388d388d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RouteNextHopType; import java.io.IOException; @@ -38,7 +38,7 @@ public final class RoutePropertiesFormat implements JsonSerializable routingPolicie * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java index f03d4d724f0b..d79a3827a547 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingPolicy; import java.io.IOException; import java.util.List; @@ -27,7 +27,7 @@ public final class RoutingIntentProperties implements JsonSerializable routingPo * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -106,7 +106,7 @@ public static RoutingIntentProperties fromJson(JsonReader jsonReader) throws IOE deserializedRoutingIntentProperties.routingPolicies = routingPolicies; } else if ("provisioningState".equals(fieldName)) { deserializedRoutingIntentProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java index 593ee45fa74c..3c65899292e5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java @@ -12,7 +12,7 @@ import com.azure.resourcemanager.network.models.ChildResource; import com.azure.resourcemanager.network.models.DisableBgpRoutePropagation; import com.azure.resourcemanager.network.models.NetworkManagerRoutingGroupItem; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -143,7 +143,7 @@ public RoutingRuleCollectionInner withDescription(String description) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java index 1517b807af8b..6809a3120629 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.DisableBgpRoutePropagation; import com.azure.resourcemanager.network.models.NetworkManagerRoutingGroupItem; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -30,7 +30,7 @@ public final class RoutingRuleCollectionPropertiesFormat /* * The provisioning state of the resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Unique identifier for this resource. @@ -78,7 +78,7 @@ public RoutingRuleCollectionPropertiesFormat withDescription(String description) * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -189,7 +189,7 @@ public static RoutingRuleCollectionPropertiesFormat fromJson(JsonReader jsonRead deserializedRoutingRuleCollectionPropertiesFormat.description = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedRoutingRuleCollectionPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedRoutingRuleCollectionPropertiesFormat.resourceGuid = reader.getString(); } else if ("disableBgpRoutePropagation".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java index 86c8cfe2364c..f37bfe064bad 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ChildResource; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingRuleNextHop; import com.azure.resourcemanager.network.models.RoutingRuleRouteDestination; import java.io.IOException; @@ -142,7 +142,7 @@ public RoutingRuleInner withDescription(String description) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java index 1ad6a365596a..755a50407fe8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingRuleNextHop; import com.azure.resourcemanager.network.models.RoutingRuleRouteDestination; import java.io.IOException; @@ -28,7 +28,7 @@ public final class RoutingRulePropertiesFormat implements JsonSerializable tags) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java index 5447e376c00b..ced301ac1121 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SecurityPartnerProviderConnectionStatus; import com.azure.resourcemanager.network.models.SecurityProviderName; import java.io.IOException; @@ -24,7 +24,7 @@ public final class SecurityPartnerProviderPropertiesFormat /* * The provisioning state of the Security Partner Provider resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The security provider name. @@ -52,7 +52,7 @@ public SecurityPartnerProviderPropertiesFormat() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -143,7 +143,7 @@ public static SecurityPartnerProviderPropertiesFormat fromJson(JsonReader jsonRe if ("provisioningState".equals(fieldName)) { deserializedSecurityPartnerProviderPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("securityProviderName".equals(fieldName)) { deserializedSecurityPartnerProviderPropertiesFormat.securityProviderName = SecurityProviderName.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java index ccb8752813b5..a7923f84c691 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java @@ -8,7 +8,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SecurityRuleAccess; import com.azure.resourcemanager.network.models.SecurityRuleDirection; import com.azure.resourcemanager.network.models.SecurityRuleProtocol; @@ -458,7 +458,7 @@ public SecurityRuleInner withDirection(SecurityRuleDirection direction) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java index 7cbffb60dd67..f7d0304f37ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SecurityRuleAccess; import com.azure.resourcemanager.network.models.SecurityRuleDirection; import com.azure.resourcemanager.network.models.SecurityRuleProtocol; @@ -105,7 +105,7 @@ public final class SecurityRulePropertiesFormat implements JsonSerializable actions() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -120,7 +120,7 @@ public static ServiceDelegationPropertiesFormat fromJson(JsonReader jsonReader) deserializedServiceDelegationPropertiesFormat.actions = actions; } else if ("provisioningState".equals(fieldName)) { deserializedServiceDelegationPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java index 23ee0b326800..3e13405ca71e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java @@ -8,7 +8,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; import java.util.List; @@ -159,7 +159,7 @@ public ServiceEndpointPolicyDefinitionInner withServiceResources(List se * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java index c91a646abade..c2156554c08f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -37,7 +37,7 @@ public final class ServiceEndpointPolicyDefinitionPropertiesFormat /* * The provisioning state of the service endpoint policy definition resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ServiceEndpointPolicyDefinitionPropertiesFormat class. @@ -110,7 +110,7 @@ public ServiceEndpointPolicyDefinitionPropertiesFormat withServiceResources(List * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -160,7 +160,7 @@ public static ServiceEndpointPolicyDefinitionPropertiesFormat fromJson(JsonReade deserializedServiceEndpointPolicyDefinitionPropertiesFormat.serviceResources = serviceResources; } else if ("provisioningState".equals(fieldName)) { deserializedServiceEndpointPolicyDefinitionPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java index 9f6bf8ce017f..2a0f128fb772 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; import java.util.Map; @@ -189,7 +189,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java index 366a743493df..56cdf9f74684 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -37,7 +37,7 @@ public final class ServiceEndpointPolicyPropertiesFormat /* * The provisioning state of the service endpoint policy resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The alias indicating if the policy belongs to a service @@ -101,7 +101,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -202,7 +202,7 @@ public static ServiceEndpointPolicyPropertiesFormat fromJson(JsonReader jsonRead deserializedServiceEndpointPolicyPropertiesFormat.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedServiceEndpointPolicyPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("serviceAlias".equals(fieldName)) { deserializedServiceEndpointPolicyPropertiesFormat.serviceAlias = reader.getString(); } else if ("contextualServiceEndpointPolicies".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java index b123fcb28167..1d521dd1f009 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java @@ -10,8 +10,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.BaseProvisioningState; import com.azure.resourcemanager.network.models.CommonTrackedResource; -import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ServiceGatewaySku; import java.io.IOException; import java.util.List; @@ -278,7 +278,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public BaseProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java index f7690f52c2d1..d26e97b0c304 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.models.BaseProvisioningState; import java.io.IOException; /** @@ -41,7 +41,7 @@ public final class ServiceGatewayPropertiesFormatInner /* * The provisioning state of the service gateway resource. */ - private ProvisioningState provisioningState; + private BaseProvisioningState provisioningState; /** * Creates an instance of ServiceGatewayPropertiesFormatInner class. @@ -125,7 +125,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public BaseProvisioningState provisioningState() { return this.provisioningState; } @@ -187,7 +187,7 @@ public static ServiceGatewayPropertiesFormatInner fromJson(JsonReader jsonReader deserializedServiceGatewayPropertiesFormatInner.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedServiceGatewayPropertiesFormatInner.provisioningState - = ProvisioningState.fromString(reader.getString()); + = BaseProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java index a231dd0f4937..a60534689867 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ChildResource; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -149,7 +149,7 @@ public String region() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java index 674acb844b92..4eea5c9aacf1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -30,7 +30,7 @@ public final class StaticMemberProperties implements JsonSerializable attached * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java index 79ce2de2866e..a4f762b12588 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualHubRouteV2; import java.io.IOException; import java.util.List; @@ -32,7 +32,7 @@ public final class VirtualHubRouteTableV2Properties implements JsonSerializable< /* * The provisioning state of the virtual hub route table v2 resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of VirtualHubRouteTableV2Properties class. @@ -85,7 +85,7 @@ public VirtualHubRouteTableV2Properties withAttachedConnections(List att * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -136,7 +136,7 @@ public static VirtualHubRouteTableV2Properties fromJson(JsonReader jsonReader) t deserializedVirtualHubRouteTableV2Properties.attachedConnections = attachedConnections; } else if ("provisioningState".equals(fieldName)) { deserializedVirtualHubRouteTableV2Properties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java index c4c315d2519d..e0cc613c4547 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkApplianceIpConfiguration; import java.io.IOException; import java.util.List; @@ -164,7 +164,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java index bb9697cf71e7..acff43a1968b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; import com.azure.resourcemanager.network.models.IpVersion; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -38,7 +38,7 @@ public final class VirtualNetworkApplianceIpConfigurationProperties /* * The provisioning state of the private link service IP configuration resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. @@ -83,7 +83,7 @@ public Boolean primary() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -145,7 +145,7 @@ public static VirtualNetworkApplianceIpConfigurationProperties fromJson(JsonRead = reader.getNullable(JsonReader::getBoolean); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkApplianceIpConfigurationProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("privateIPAddressVersion".equals(fieldName)) { deserializedVirtualNetworkApplianceIpConfigurationProperties.privateIpAddressVersion = IpVersion.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java index a22adc8c8764..ff3db7af03c7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkApplianceIpConfiguration; import java.io.IOException; import java.util.List; @@ -33,7 +33,7 @@ public final class VirtualNetworkAppliancePropertiesFormatInner /* * The provisioning state of the virtual network appliance resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The resource GUID property of the virtual network appliance resource. @@ -85,7 +85,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -167,7 +167,7 @@ public static VirtualNetworkAppliancePropertiesFormatInner fromJson(JsonReader j deserializedVirtualNetworkAppliancePropertiesFormatInner.ipConfigurations = ipConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkAppliancePropertiesFormatInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedVirtualNetworkAppliancePropertiesFormatInner.resourceGuid = reader.getString(); } else if ("subnet".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java index 35df986403dd..afb4f7bddfbe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.ConnectionAuthenticationType; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.TunnelConnectionHealth; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionMode; @@ -660,7 +660,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java index 3ee3dbeefad4..4331614bf17c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java @@ -13,7 +13,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.TunnelConnectionHealth; import com.azure.resourcemanager.network.models.VirtualNetworkConnectionGatewayReference; @@ -296,7 +296,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java index ea7ec9892d77..f4890881c7eb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java @@ -13,7 +13,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.TunnelConnectionHealth; import com.azure.resourcemanager.network.models.VirtualNetworkConnectionGatewayReference; @@ -135,7 +135,7 @@ public final class VirtualNetworkGatewayConnectionListEntityPropertiesFormat /* * The provisioning state of the virtual network gateway connection resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Bypass ExpressRoute Gateway for data forwarding. @@ -342,7 +342,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -524,7 +524,7 @@ public static VirtualNetworkGatewayConnectionListEntityPropertiesFormat fromJson = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayConnectionListEntityPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("expressRouteGatewayBypass".equals(fieldName)) { deserializedVirtualNetworkGatewayConnectionListEntityPropertiesFormat.expressRouteGatewayBypass = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java index 66ca422170f7..ae46f531452e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.ConnectionAuthenticationType; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.TunnelConnectionHealth; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionMode; @@ -160,7 +160,7 @@ public final class VirtualNetworkGatewayConnectionPropertiesFormatInner /* * The provisioning state of the virtual network gateway connection resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Bypass ExpressRoute Gateway for data forwarding. @@ -652,7 +652,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -934,7 +934,7 @@ public static VirtualNetworkGatewayConnectionPropertiesFormatInner fromJson(Json deserializedVirtualNetworkGatewayConnectionPropertiesFormatInner.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayConnectionPropertiesFormatInner.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("expressRouteGatewayBypass".equals(fieldName)) { deserializedVirtualNetworkGatewayConnectionPropertiesFormatInner.expressRouteGatewayBypass = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java index 8f41b3dcb738..650884e8ad45 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java @@ -16,7 +16,7 @@ import com.azure.resourcemanager.network.models.BgpSettings; import com.azure.resourcemanager.network.models.ExtendedLocation; import com.azure.resourcemanager.network.models.ManagedServiceIdentity; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ResiliencyModel; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayAutoScaleConfiguration; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayMigrationStatus; @@ -617,7 +617,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java index b995bd3d2f59..02e04f108f7b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -173,7 +173,7 @@ public String privateIpAddress() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java index a82e68e9c6b4..871fc0ab8405 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpAllocationMethod; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -43,7 +43,7 @@ public final class VirtualNetworkGatewayIPConfigurationPropertiesFormat /* * The provisioning state of the virtual network gateway IP configuration resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of VirtualNetworkGatewayIPConfigurationPropertiesFormat class. @@ -127,7 +127,7 @@ public String privateIpAddress() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -183,7 +183,7 @@ public static VirtualNetworkGatewayIPConfigurationPropertiesFormat fromJson(Json = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java index b049a0dc93c4..aaf15f64008f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java @@ -8,7 +8,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VpnNatRuleMapping; import com.azure.resourcemanager.network.models.VpnNatRuleMode; @@ -93,7 +93,7 @@ public VirtualNetworkGatewayNatRuleInner withName(String name) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java index d543e2c7060b..07649dc226c4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VpnNatRuleMapping; import com.azure.resourcemanager.network.models.VpnNatRuleMode; import com.azure.resourcemanager.network.models.VpnNatRuleType; @@ -25,7 +25,7 @@ public final class VirtualNetworkGatewayNatRuleProperties /* * The provisioning state of the NAT Rule resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The type of NAT rule for VPN NAT. @@ -63,7 +63,7 @@ public VirtualNetworkGatewayNatRuleProperties() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -215,7 +215,7 @@ public static VirtualNetworkGatewayNatRuleProperties fromJson(JsonReader jsonRea if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayNatRuleProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("type".equals(fieldName)) { deserializedVirtualNetworkGatewayNatRuleProperties.type = VpnNatRuleType.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java index 6b9fba63aa26..3a8561f3a016 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java @@ -11,7 +11,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayPolicyGroupMember; import java.io.IOException; import java.util.List; @@ -45,7 +45,7 @@ public final class VirtualNetworkGatewayPolicyGroupProperties /* * The provisioning state of the VirtualNetworkGatewayPolicyGroup resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of VirtualNetworkGatewayPolicyGroupProperties class. @@ -128,7 +128,7 @@ public List vngClientConnectionConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -193,7 +193,7 @@ public static VirtualNetworkGatewayPolicyGroupProperties fromJson(JsonReader jso = vngClientConnectionConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayPolicyGroupProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java index e06cb4318f2b..c721a788854b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java @@ -13,7 +13,7 @@ import com.azure.resourcemanager.network.models.AddressSpace; import com.azure.resourcemanager.network.models.AdminState; import com.azure.resourcemanager.network.models.BgpSettings; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ResiliencyModel; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayAutoScaleConfiguration; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayMigrationStatus; @@ -129,7 +129,7 @@ public final class VirtualNetworkGatewayPropertiesFormat /* * The provisioning state of the virtual network gateway resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Whether dns forwarding is enabled or not. @@ -561,7 +561,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -889,7 +889,7 @@ public static VirtualNetworkGatewayPropertiesFormat fromJson(JsonReader jsonRead deserializedVirtualNetworkGatewayPropertiesFormat.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkGatewayPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("enableDnsForwarding".equals(fieldName)) { deserializedVirtualNetworkGatewayPropertiesFormat.enableDnsForwarding = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java index 453ff78fbd51..f2a07f546ca2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java @@ -13,8 +13,8 @@ import com.azure.resourcemanager.network.models.AddressSpace; import com.azure.resourcemanager.network.models.DhcpOptions; import com.azure.resourcemanager.network.models.ExtendedLocation; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateEndpointVNetPolicies; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities; import com.azure.resourcemanager.network.models.VirtualNetworkEncryption; import java.io.IOException; @@ -291,7 +291,7 @@ public String resourceGuid() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java index 343b9ddbc457..228321f41838 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressSpace; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities; import com.azure.resourcemanager.network.models.VirtualNetworkEncryption; @@ -403,7 +403,7 @@ public VirtualNetworkPeeringInner withPeeringSyncLevel(VirtualNetworkPeeringLeve * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java index a78561e9ea85..4af5a4559e2c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressSpace; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities; import com.azure.resourcemanager.network.models.VirtualNetworkEncryption; import com.azure.resourcemanager.network.models.VirtualNetworkPeeringLevel; @@ -99,7 +99,7 @@ public final class VirtualNetworkPeeringPropertiesFormat /* * The provisioning state of the virtual network peering resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * If we need to verify the provisioning state of the remote gateway. @@ -414,7 +414,7 @@ public VirtualNetworkPeeringPropertiesFormat withPeeringSyncLevel(VirtualNetwork * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -640,7 +640,7 @@ public static VirtualNetworkPeeringPropertiesFormat fromJson(JsonReader jsonRead = VirtualNetworkPeeringLevel.fromString(reader.getString()); } else if ("provisioningState".equals(fieldName)) { deserializedVirtualNetworkPeeringPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("doNotVerifyRemoteGateways".equals(fieldName)) { deserializedVirtualNetworkPeeringPropertiesFormat.doNotVerifyRemoteGateways = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java index 65ae36bff885..b3e6d12738ca 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java @@ -12,8 +12,8 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressSpace; import com.azure.resourcemanager.network.models.DhcpOptions; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PrivateEndpointVNetPolicies; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities; import com.azure.resourcemanager.network.models.VirtualNetworkEncryption; import java.io.IOException; @@ -57,7 +57,7 @@ public final class VirtualNetworkPropertiesFormat implements JsonSerializable peerings() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java index 9be545db327d..793ada6667ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java @@ -8,7 +8,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import java.io.IOException; @@ -135,7 +135,7 @@ public VirtualRouterPeeringInner withPeerIp(String peerIp) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java index 97cfb80fb1a2..fe33d95ffe5d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -30,7 +30,7 @@ public final class VirtualRouterPeeringProperties implements JsonSerializable peerings() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -206,7 +206,7 @@ public static VirtualRouterPropertiesFormat fromJson(JsonReader jsonReader) thro deserializedVirtualRouterPropertiesFormat.peerings = peerings; } else if ("provisioningState".equals(fieldName)) { deserializedVirtualRouterPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java index 4507c300e80f..46ade093b987 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java @@ -10,8 +10,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.OfficeTrafficCategory; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; import java.io.IOException; import java.util.List; @@ -214,7 +214,7 @@ public OfficeTrafficCategory office365LocalBreakoutCategory() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java index deed4f5d24df..15f7c03ceea4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java @@ -10,8 +10,8 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.OfficeTrafficCategory; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -53,7 +53,7 @@ public final class VirtualWanProperties implements JsonSerializable virtualNetworkGatewayPolicyGroups() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -156,7 +156,7 @@ public static VngClientConnectionConfigurationProperties fromJson(JsonReader jso = virtualNetworkGatewayPolicyGroups; } else if ("provisioningState".equals(fieldName)) { deserializedVngClientConnectionConfigurationProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java index eda77c293445..4fcbfb6f47c8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -26,7 +26,7 @@ public final class VpnClientRevokedCertificatePropertiesFormat /* * The provisioning state of the VPN client revoked certificate resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of VpnClientRevokedCertificatePropertiesFormat class. @@ -59,7 +59,7 @@ public VpnClientRevokedCertificatePropertiesFormat withThumbprint(String thumbpr * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -101,7 +101,7 @@ public static VpnClientRevokedCertificatePropertiesFormat fromJson(JsonReader js deserializedVpnClientRevokedCertificatePropertiesFormat.thumbprint = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVpnClientRevokedCertificatePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java index b5d00cb609b4..290618996c24 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; /** @@ -27,7 +27,7 @@ public final class VpnClientRootCertificatePropertiesFormat /* * The provisioning state of the VPN client root certificate resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of VpnClientRootCertificatePropertiesFormat class. @@ -60,7 +60,7 @@ public VpnClientRootCertificatePropertiesFormat withPublicCertData(String public * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -110,7 +110,7 @@ public static VpnClientRootCertificatePropertiesFormat fromJson(JsonReader jsonR deserializedVpnClientRootCertificatePropertiesFormat.publicCertData = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedVpnClientRootCertificatePropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java index 1d8d5bd0e29b..721a8fcd2ffd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; @@ -425,7 +425,7 @@ public VpnConnectionInner withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddr * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java index 57ea49357fda..07ec75638e94 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingConfiguration; import com.azure.resourcemanager.network.models.TrafficSelectorPolicy; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; @@ -107,7 +107,7 @@ public final class VpnConnectionProperties implements JsonSerializable vpnLinkConnections = reader.readArray(reader1 -> VpnSiteLinkConnectionInner.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java index 21725cefa6aa..b606fd67df55 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.BgpSettings; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; import com.azure.resourcemanager.network.models.VpnGatewayIpConfiguration; import java.io.IOException; @@ -188,7 +188,7 @@ public VpnGatewayInner withBgpSettings(BgpSettings bgpSettings) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java index 3a9b21034b75..33b08230e7e0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VpnNatRuleMapping; import com.azure.resourcemanager.network.models.VpnNatRuleMode; @@ -94,7 +94,7 @@ public VpnGatewayNatRuleInner withName(String name) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java index b9c76fee638c..68f907356e1f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VpnNatRuleMapping; import com.azure.resourcemanager.network.models.VpnNatRuleMode; import com.azure.resourcemanager.network.models.VpnNatRuleType; @@ -25,7 +25,7 @@ public final class VpnGatewayNatRuleProperties implements JsonSerializable p2SConnectionConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java index a419168ce7a6..7d6af5641807 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VpnServerConfigurationPolicyGroupMember; import java.io.IOException; import java.util.List; @@ -44,7 +44,7 @@ public final class VpnServerConfigurationPolicyGroupProperties /* * The provisioning state of the VpnServerConfigurationPolicyGroup resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of VpnServerConfigurationPolicyGroupProperties class. @@ -127,7 +127,7 @@ public List p2SConnectionConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -187,7 +187,7 @@ public static VpnServerConfigurationPolicyGroupProperties fromJson(JsonReader js = p2SConnectionConfigurations; } else if ("provisioningState".equals(fieldName)) { deserializedVpnServerConfigurationPolicyGroupProperties.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java index 5ef609c43c0d..79abdc0dc447 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java @@ -13,8 +13,8 @@ import com.azure.resourcemanager.network.models.AddressSpace; import com.azure.resourcemanager.network.models.BgpSettings; import com.azure.resourcemanager.network.models.DeviceProperties; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.O365PolicyProperties; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; import java.io.IOException; import java.util.List; @@ -259,7 +259,7 @@ public VpnSiteInner withBgpProperties(BgpSettings bgpProperties) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java index 32fd7bebd45a..e3c50f168116 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java @@ -11,7 +11,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; import com.azure.resourcemanager.network.models.VpnConnectionStatus; @@ -405,7 +405,7 @@ public VpnSiteLinkConnectionInner withUseLocalAzureIpAddress(Boolean useLocalAzu * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java index 046e8330d012..aca3a22786b1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.GatewayCustomBgpIpAddressIpConfiguration; import com.azure.resourcemanager.network.models.IpsecPolicy; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayConnectionProtocol; import com.azure.resourcemanager.network.models.VpnConnectionStatus; import com.azure.resourcemanager.network.models.VpnLinkConnectionMode; @@ -104,7 +104,7 @@ public final class VpnSiteLinkConnectionProperties implements JsonSerializable ingressNatRules = reader.readArray(reader1 -> SubResource.fromJson(reader1)); deserializedVpnSiteLinkConnectionProperties.ingressNatRules = ingressNatRules; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java index b2da38bd5081..09498fe5e862 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java @@ -8,7 +8,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SubResourceModel; import com.azure.resourcemanager.network.models.VpnLinkBgpSettings; import com.azure.resourcemanager.network.models.VpnLinkProviderProperties; @@ -183,7 +183,7 @@ public VpnSiteLinkInner withBgpProperties(VpnLinkBgpSettings bgpProperties) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java index b813ce575219..eb75bde07a2f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.VpnLinkBgpSettings; import com.azure.resourcemanager.network.models.VpnLinkProviderProperties; import java.io.IOException; @@ -42,7 +42,7 @@ public final class VpnSiteLinkProperties implements JsonSerializable applicationGateways() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java index df1628400cdc..4cf669551c9d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java @@ -13,8 +13,8 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayForContainersReferenceDefinition; import com.azure.resourcemanager.network.models.ManagedRulesDefinition; -import com.azure.resourcemanager.network.models.NetworkProvisioningState; import com.azure.resourcemanager.network.models.PolicySettings; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.WebApplicationFirewallCustomRule; import com.azure.resourcemanager.network.models.WebApplicationFirewallPolicyResourceState; import java.io.IOException; @@ -44,7 +44,7 @@ public final class WebApplicationFirewallPolicyPropertiesFormat /* * The provisioning state of the web application firewall policy resource. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Resource status of the policy. @@ -132,7 +132,7 @@ public List applicationGateways() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -267,7 +267,7 @@ public static WebApplicationFirewallPolicyPropertiesFormat fromJson(JsonReader j deserializedWebApplicationFirewallPolicyPropertiesFormat.applicationGateways = applicationGateways; } else if ("provisioningState".equals(fieldName)) { deserializedWebApplicationFirewallPolicyPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("resourceState".equals(fieldName)) { deserializedWebApplicationFirewallPolicyPropertiesFormat.resourceState = WebApplicationFirewallPolicyResourceState.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java index 1a05b33de099..8e1fff99f2af 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java @@ -258,7 +258,7 @@ public SecurityConfigurationRuleDirection direction() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public BaseProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java index feba457876ec..4530d5c37e41 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java @@ -249,7 +249,7 @@ public SecurityConfigurationRuleDirection direction() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public BaseProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRule.java index cf6edfce10a5..f98cff11d762 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AdminRule.java @@ -345,7 +345,7 @@ public AdminRule withDirection(SecurityConfigurationRuleDirection direction) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public BaseProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java index 179b061a8b0d..a2f1bcb6e90d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java @@ -139,7 +139,7 @@ public List backendAddresses() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java index 8d6974ec973e..74495ecd13b1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java @@ -517,7 +517,7 @@ public ApplicationGatewayBackendHttpSettings withSniName(String sniName) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java index e088d9022d6f..e3afc5c07f28 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java @@ -296,7 +296,7 @@ public ApplicationGatewayBackendSettings withEnableL4ClientIpPreservation(Boolea * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java index 8d1ada3950eb..ce32c5874234 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java @@ -188,7 +188,7 @@ public ApplicationGatewayEntraJWTValidationConfig withAudiences(List aud * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java index 371dcf20c2b1..5a6561f545c3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java @@ -88,7 +88,7 @@ public String name() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java index 6a8db5d2539e..eca0a2a4187c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java @@ -221,7 +221,7 @@ public SubResource privateLinkConfiguration() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java index 016481bdcce2..5b4ebc8aa7da 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java @@ -127,7 +127,7 @@ public ApplicationGatewayFrontendPort withPort(Integer port) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java index ed4ebc3c2c8e..4e61fc664015 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java @@ -268,7 +268,7 @@ public ApplicationGatewayHttpListener withRequireServerNameIndication(Boolean re * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java index f99d83cd85d7..988c605beb66 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java @@ -153,7 +153,7 @@ public ApplicationGatewayLoadDistributionAlgorithm loadDistributionAlgorithm() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java index 443394ecf1d1..317fc2664e4b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java @@ -129,7 +129,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java index b7d57b9267cb..c348a6c7938b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java @@ -198,7 +198,7 @@ public ApplicationGatewayPrivateLinkIpConfiguration withPrimary(Boolean primary) * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java index f0825d22e2f5..b662b0d9dffe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java @@ -114,7 +114,7 @@ public ApplicationGatewayRewriteRuleSet withRewriteRules(List rules * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java index 47899681e6f4..39801025ebca 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java @@ -162,7 +162,7 @@ public AzureFirewallNetworkRuleCollection withRules(List { + /** + * Failed. + */ + public static final BaseProvisioningState FAILED = fromString("Failed"); + + /** + * Succeeded. + */ + public static final BaseProvisioningState SUCCEEDED = fromString("Succeeded"); + + /** + * Canceled. + */ + public static final BaseProvisioningState CANCELED = fromString("Canceled"); + + /** + * Creating. + */ + public static final BaseProvisioningState CREATING = fromString("Creating"); + + /** + * Updating. + */ + public static final BaseProvisioningState UPDATING = fromString("Updating"); + + /** + * Deleting. + */ + public static final BaseProvisioningState DELETING = fromString("Deleting"); + + /** + * Creates a new instance of BaseProvisioningState value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public BaseProvisioningState() { + } + + /** + * Creates or finds a BaseProvisioningState from its string representation. + * + * @param name a name to look for. + * @return the corresponding BaseProvisioningState. + */ + public static BaseProvisioningState fromString(String name) { + return fromString(name, BaseProvisioningState.class); + } + + /** + * Gets known BaseProvisioningState values. + * + * @return known BaseProvisioningState values. + */ + public static Collection values() { + return values(BaseProvisioningState.class); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java index ed1407064a78..1812eb78c976 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java @@ -152,7 +152,7 @@ public BastionHostIPConfiguration withPublicIpAddress(SubResource publicIpAddres * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java index 7909f61997ba..7ced37180c0a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java @@ -74,7 +74,7 @@ public GroupMemberType memberType() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java index 5c903cef3628..2c8d8cda9e48 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java @@ -113,7 +113,7 @@ public List ipConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java index 88578c26a9d1..fa26841a611b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java @@ -157,7 +157,7 @@ public List containerNetworkInterfaces() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java index e14dd5fe214b..d60d86c9f613 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java @@ -86,7 +86,7 @@ public String etag() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java index 3e955f62f31f..96710aa766b8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java @@ -110,7 +110,7 @@ private DdosDetectionRulePropertiesFormat innerProperties() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java index 63c272ae59e7..61054c020a33 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java @@ -240,7 +240,7 @@ public SecurityConfigurationRuleDirection direction() { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public BaseProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Delegation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Delegation.java index e9ec2d707c34..0405d6b538db 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Delegation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/Delegation.java @@ -152,7 +152,7 @@ public List actions() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java index 5e69a7f9e59b..24174fc24d06 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java @@ -24,7 +24,7 @@ public final class DelegationProperties implements JsonSerializable addressPrefixes) { * * @return the provisioningState value. */ - public ProvisioningState provisioningState() { + public BaseProvisioningState provisioningState() { return this.provisioningState; } @@ -212,7 +212,8 @@ public static IpamPoolProperties fromJson(JsonReader jsonReader) throws IOExcept } else if ("parentPoolName".equals(fieldName)) { deserializedIpamPoolProperties.parentPoolName = reader.getString(); } else if ("provisioningState".equals(fieldName)) { - deserializedIpamPoolProperties.provisioningState = ProvisioningState.fromString(reader.getString()); + deserializedIpamPoolProperties.provisioningState + = BaseProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProvisioningState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProvisioningState.java deleted file mode 100644 index 584cf0a4a660..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkProvisioningState.java +++ /dev/null @@ -1,61 +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.network.models; - -import com.azure.core.util.ExpandableStringEnum; -import java.util.Collection; - -/** - * The current provisioning state. - */ -public final class NetworkProvisioningState extends ExpandableStringEnum { - /** - * Succeeded. - */ - public static final NetworkProvisioningState SUCCEEDED = fromString("Succeeded"); - - /** - * Updating. - */ - public static final NetworkProvisioningState UPDATING = fromString("Updating"); - - /** - * Deleting. - */ - public static final NetworkProvisioningState DELETING = fromString("Deleting"); - - /** - * Failed. - */ - public static final NetworkProvisioningState FAILED = fromString("Failed"); - - /** - * Creates a new instance of NetworkProvisioningState value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Deprecated - public NetworkProvisioningState() { - } - - /** - * Creates or finds a NetworkProvisioningState from its string representation. - * - * @param name a name to look for. - * @return the corresponding NetworkProvisioningState. - */ - public static NetworkProvisioningState fromString(String name) { - return fromString(name, NetworkProvisioningState.class); - } - - /** - * Gets known NetworkProvisioningState values. - * - * @return known NetworkProvisioningState values. - */ - public static Collection values() { - return values(NetworkProvisioningState.class); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java index c68aaad570a2..51bc57a0a91f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java @@ -207,7 +207,7 @@ public List previousConfigurationPolicyG * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java index fb0b77ca8eea..9ff167ad9663 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java @@ -107,7 +107,7 @@ public PrivateLinkServiceConnection withId(String id) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java index e9130898de24..00a57b0f72fa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java @@ -8,29 +8,14 @@ import java.util.Collection; /** - * Provisioning states of a resource. + * The current provisioning state. */ public final class ProvisioningState extends ExpandableStringEnum { - /** - * Failed. - */ - public static final ProvisioningState FAILED = fromString("Failed"); - /** * Succeeded. */ public static final ProvisioningState SUCCEEDED = fromString("Succeeded"); - /** - * Canceled. - */ - public static final ProvisioningState CANCELED = fromString("Canceled"); - - /** - * Creating. - */ - public static final ProvisioningState CREATING = fromString("Creating"); - /** * Updating. */ @@ -41,6 +26,11 @@ public final class ProvisioningState extends ExpandableStringEnum { /* * The provisioning state of the recordset. */ - private NetworkProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * Recordset time to live. @@ -85,7 +85,7 @@ public String fqdn() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -151,7 +151,7 @@ public static RecordSet fromJson(JsonReader jsonReader) throws IOException { } else if ("fqdn".equals(fieldName)) { deserializedRecordSet.fqdn = reader.getString(); } else if ("provisioningState".equals(fieldName)) { - deserializedRecordSet.provisioningState = NetworkProvisioningState.fromString(reader.getString()); + deserializedRecordSet.provisioningState = ProvisioningState.fromString(reader.getString()); } else if ("ttl".equals(fieldName)) { deserializedRecordSet.ttl = reader.getNullable(JsonReader::getInt); } else if ("ipAddresses".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java index cfc5243fb7d7..52936020a2a1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java @@ -118,7 +118,7 @@ public String link() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java index c166ebd14ed7..1dbb26d60ace 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java @@ -104,7 +104,7 @@ public String link() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java index d34fc85308dd..74e54353125d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java @@ -36,7 +36,7 @@ public final class ServiceEndpointPropertiesFormat implements JsonSerializable locations) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -158,7 +158,7 @@ public static ServiceEndpointPropertiesFormat fromJson(JsonReader jsonReader) th deserializedServiceEndpointPropertiesFormat.locations = locations; } else if ("provisioningState".equals(fieldName)) { deserializedServiceEndpointPropertiesFormat.provisioningState - = NetworkProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java index 82f65b685f58..0868eadd81c8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java @@ -29,7 +29,7 @@ public final class SharedKeyProperties implements JsonSerializable vngClientConnectionConfigurations() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java index 1ef27509f624..5f67270ec50b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java @@ -142,7 +142,7 @@ public List virtualNetworkGatewayPolicyGroups() { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java index 054116e255ae..399e7378970f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java @@ -115,7 +115,7 @@ public VpnClientRevokedCertificate withThumbprint(String thumbprint) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java index 4a7620343aad..7588c7682fd3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java @@ -116,7 +116,7 @@ public VpnClientRootCertificate withPublicCertData(String publicCertData) { * * @return the provisioningState value. */ - public NetworkProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index c8ade6201112..f53f3015e047 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIPPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveBaseSecurityAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveBaseSecurityAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLOAResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWANInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIPPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveConnectivityConfigurationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveSecurityAdminRulesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EffectiveRouteMapRouteList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteGatewayList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GatewayRouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerDeploymentStatusListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SignaturesOverridesList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SwapResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualHubEffectiveRouteList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VpnClientConnectionHealthDetailListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJWTValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIPAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BGPCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySNAT.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySQL.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLOARequest.java","src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HTTPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HTTPConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HTTPHeader.java","src/main/java/com/azure/resourcemanager/network/models/HTTPMethod.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IDPSQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IPConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IPRule.java","src/main/java/com/azure/resourcemanager/network/models/IPTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIPVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIPPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveBaseSecurityAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveBaseSecurityAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLOAResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWANInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIPPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveConnectivityConfigurationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveSecurityAdminRulesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EffectiveRouteMapRouteList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteGatewayList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GatewayRouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerDeploymentStatusListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SignaturesOverridesList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SwapResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualHubEffectiveRouteList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VpnClientConnectionHealthDetailListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJWTValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIPAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BGPCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BaseProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySNAT.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySQL.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLOARequest.java","src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HTTPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HTTPConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HTTPHeader.java","src/main/java/com/azure/resourcemanager/network/models/HTTPMethod.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IDPSQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IPConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IPRule.java","src/main/java/com/azure/resourcemanager/network/models/IPTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIPVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file From 389b2915149be0590354a1f4f3139e98860f07da Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Tue, 24 Mar 2026 14:52:00 +0800 Subject: [PATCH 07/33] Remove invalid @Override annotations from generated Resource subclasses via customization Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../customization/src/main/java/NetworkCustomization.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java index ede09d388ad7..2dbcb6e84c7c 100644 --- a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java +++ b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java @@ -33,9 +33,15 @@ private static void customizeResourceBaseClass(ClassCustomization customization) // rewrite them to set the field via reflection-free approach clazz.getMethodsByName("withId").forEach(m -> { m.setBody(new BlockStmt().addStatement("return this;")); + m.getAnnotationByName("Override").ifPresent(a -> a.remove()); }); clazz.getMethodsByName("withName").forEach(m -> { m.setBody(new BlockStmt().addStatement("return this;")); + m.getAnnotationByName("Override").ifPresent(a -> a.remove()); + }); + // remove @Override from validate() since Resource doesn't declare it + clazz.getMethodsByName("validate").forEach(m -> { + m.getAnnotationByName("Override").ifPresent(a -> a.remove()); }); }); }); From 05458710315c333d30205994d8173f1c3af2281b Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Tue, 24 Mar 2026 15:11:47 +0800 Subject: [PATCH 08/33] Fix hand-written wrapper code and regenerate network SDK - Fix SubnetInner/SubResource type mismatch in LoadBalancerFrontendImpl and NicIpConfigurationBaseImpl - Fix generateVpnProfile return type (ArmAcceptedLroResponse -> two-step with getVpnProfilePackageUrl) - Fix PacketCaptureImpl createResourceAsync return type mismatch - Regenerate SDK with @@usage and HTTP casing fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../CHANGELOG.md | 1423 ++++++++++++++++- .../fluent/ApplicationGatewaysClient.java | 42 +- .../fluent/ConnectionMonitorsClient.java | 14 +- .../fluent/EffectiveConfigurationsClient.java | 103 +- .../fluent/ExpressRouteConnectionsClient.java | 35 +- .../fluent/ExpressRouteGatewaysClient.java | 66 +- ...llPolicyIdpsSignaturesOverridesClient.java | 39 +- ...nagerDeploymentStatusOperationsClient.java | 43 +- .../network/fluent/NetworkManagersClient.java | 89 +- .../network/fluent/VipSwapsClient.java | 41 +- .../network/fluent/VirtualHubsClient.java | 295 +++- .../fluent/VirtualNetworkGatewaysClient.java | 364 ++++- ...ctivityConfigurationsListResultInner.java} | 40 +- ...iveSecurityAdminRulesListResultInner.java} | 39 +- .../models/BgpPeerStatusListResultInner.java} | 32 +- .../models/ConnectionMonitorResultInner.java | 185 ++- .../ConnectionMonitorResultProperties.java | 88 +- .../models/DdosProtectionPlanInner.java | 1 - .../EffectiveRouteMapRouteListInner.java} | 35 +- .../ExpressRouteConnectionListInner.java} | 26 +- .../models/ExpressRouteGatewayListInner.java} | 25 +- .../models/GatewayRouteListResultInner.java} | 32 +- ...nagerDeploymentStatusListResultInner.java} | 40 +- ...ectivityConfigurationListResultInner.java} | 40 +- ...iveSecurityAdminRulesListResultInner.java} | 41 +- .../models/PacketCaptureResultInner.java | 150 +- .../models/PacketCaptureResultProperties.java | 96 +- .../fluent/models/RouteFilterInner.java | 2 - .../models/SignaturesOverridesListInner.java} | 25 +- .../models/SwapResourceListResultInner.java} | 25 +- .../VirtualHubEffectiveRouteListInner.java} | 35 +- ...onnectionHealthDetailListResultInner.java} | 38 +- .../ApplicationGatewaysClientImpl.java | 83 +- .../ConnectionMonitorsClientImpl.java | 26 +- .../EffectiveConfigurationsClientImpl.java | 249 +-- .../ExpressRouteConnectionsClientImpl.java | 69 +- .../ExpressRouteGatewaysClientImpl.java | 129 +- ...licyIdpsSignaturesOverridesClientImpl.java | 69 +- .../LoadBalancerFrontendImpl.java | 10 +- ...rDeploymentStatusOperationsClientImpl.java | 104 +- .../NetworkManagersClientImpl.java | 219 +-- .../NicIpConfigurationBaseImpl.java | 6 +- .../implementation/PacketCaptureImpl.java | 1 + .../implementation/VipSwapsClientImpl.java | 73 +- .../implementation/VirtualHubsClientImpl.java | 603 ++++--- .../VirtualNetworkGatewayImpl.java | 14 +- .../VirtualNetworkGatewaysClientImpl.java | 730 ++++++--- .../ActiveBaseSecurityAdminRule.java} | 74 +- .../ActiveConnectivityConfiguration.java} | 43 +- .../ActiveDefaultSecurityAdminRule.java | 129 +- .../models/ActiveSecurityAdminRule.java | 128 +- ...esult.java => ArmAcceptedLroResponse.java} | 22 +- .../BgpPeerStatus.java} | 37 +- .../ConnectionMonitorHttpConfiguration.java | 38 +- .../EffectiveBaseSecurityAdminRule.java} | 63 +- .../EffectiveConnectivityConfiguration.java} | 52 +- .../EffectiveDefaultSecurityAdminRule.java | 92 +- .../EffectiveRouteMapRoute.java} | 28 +- .../models/EffectiveSecurityAdminRule.java | 92 +- .../GatewayRoute.java} | 34 +- .../models/GenerateVpnProfileFinalResult.java | 92 -- .../network/models/HttpConfiguration.java | 46 +- .../models/HttpConfigurationMethod.java | 26 +- .../network/models/HttpHeader.java | 30 +- .../network/models/HttpMethod.java | 24 +- .../NetworkManagerDeploymentStatus.java} | 39 +- .../network/models/ProtocolConfiguration.java | 26 +- .../network/models/StopFinalResult1.java | 63 - .../TrackedResourcewithOptionalLocation.java | 10 +- .../VirtualHubEffectiveRoute.java} | 33 +- .../VpnClientConnectionHealthDetail.java} | 50 +- ...zure-resourcemanager-network_metadata.json | 2 +- ...tiveConnectivityConfigurationsSamples.java | 2 +- ...gerEffectiveSecurityAdminRulesSamples.java | 2 +- .../ExpressRouteConnectionsListSamples.java | 2 +- ...uteGatewaysListByResourceGroupSamples.java | 2 +- ...uteGatewaysListBySubscriptionSamples.java} | 8 +- ...icyIdpsSignaturesOverridesListSamples.java | 2 +- ...rDeploymentStatusOperationListSamples.java | 2 +- ...tiveConnectivityConfigurationsSamples.java | 2 +- ...rsListActiveSecurityAdminRulesSamples.java | 2 +- .../network/generated/VipSwapListSamples.java | 4 +- 82 files changed, 4574 insertions(+), 2661 deletions(-) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/ActiveConnectivityConfigurationsListResult.java => fluent/models/ActiveConnectivityConfigurationsListResultInner.java} (75%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/ActiveSecurityAdminRulesListResult.java => fluent/models/ActiveSecurityAdminRulesListResultInner.java} (72%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/BgpPeerStatusListResult.java => fluent/models/BgpPeerStatusListResultInner.java} (60%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/EffectiveRouteMapRouteList.java => fluent/models/EffectiveRouteMapRouteListInner.java} (61%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/ExpressRouteConnectionList.java => fluent/models/ExpressRouteConnectionListInner.java} (67%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/ExpressRouteGatewayList.java => fluent/models/ExpressRouteGatewayListInner.java} (68%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/GatewayRouteListResult.java => fluent/models/GatewayRouteListResultInner.java} (60%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/NetworkManagerDeploymentStatusListResult.java => fluent/models/NetworkManagerDeploymentStatusListResultInner.java} (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java => fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java} (79%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java => fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java} (74%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/SignaturesOverridesList.java => fluent/models/SignaturesOverridesListInner.java} (70%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/SwapResourceListResult.java => fluent/models/SwapResourceListResultInner.java} (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/VirtualHubEffectiveRouteList.java => fluent/models/VirtualHubEffectiveRouteListInner.java} (60%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{implementation/models/VpnClientConnectionHealthDetailListResult.java => fluent/models/VpnClientConnectionHealthDetailListResultInner.java} (67%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/ActiveBaseSecurityAdminRuleInner.java => models/ActiveBaseSecurityAdminRule.java} (74%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/ActiveConnectivityConfigurationInner.java => models/ActiveConnectivityConfiguration.java} (78%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/{StartFinalResult.java => ArmAcceptedLroResponse.java} (63%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/BgpPeerStatusInner.java => models/BgpPeerStatus.java} (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/EffectiveBaseSecurityAdminRuleInner.java => models/EffectiveBaseSecurityAdminRule.java} (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/EffectiveConnectivityConfigurationInner.java => models/EffectiveConnectivityConfiguration.java} (78%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/EffectiveRouteMapRouteInner.java => models/EffectiveRouteMapRoute.java} (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/GatewayRouteInner.java => models/GatewayRoute.java} (74%) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/NetworkManagerDeploymentStatusInner.java => models/NetworkManagerDeploymentStatus.java} (73%) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult1.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/VirtualHubEffectiveRouteInner.java => models/VirtualHubEffectiveRoute.java} (73%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/{fluent/models/VpnClientConnectionHealthDetailInner.java => models/VpnClientConnectionHealthDetail.java} (74%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{ExpressRouteGatewaysListSamples.java => ExpressRouteGatewaysListBySubscriptionSamples.java} (67%) diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index 83d0c962e6a9..a79282b21aea 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -1,14 +1,1429 @@ # Release History -## 2.59.0-beta.1 (Unreleased) +## 2.59.0-beta.1 (2026-03-24) + +### Breaking Changes + +#### `models.NatGatewayListResult` was removed + +#### `models.ApplicationGatewayPrivateLinkResourceListResult` was removed + +#### `models.AzureFirewallIpConfiguration` was removed + +#### `models.NspLoggingConfigurationListResult` was removed + +#### `models.ExpressRoutePortsLocationListResult` was removed + +#### `models.PublicIpAddressListResult` was removed + +#### `models.TrackedResource` was removed + +#### `models.NspLinkReferenceListResult` was removed + +#### `models.AdminRuleCollectionListResult` was removed + +#### `models.ListVpnConnectionsResult` was removed + +#### `models.GetServiceGatewayServicesResult` was removed + +#### `models.BastionSessionDeleteResult` was removed + +#### `models.ErrorAdditionalInfo` was removed + +#### `models.BastionShareableLinkListResult` was removed + +#### `models.StaticCidrList` was removed + +#### `models.LoadBalancerOutboundRuleListResult` was removed + +#### `models.LoadBalancerListResult` was removed + +#### `models.AzureFirewallListResult` was removed + +#### `models.ListHubRouteTablesResult` was removed + +#### `models.RoutingRuleListResult` was removed + +#### `models.VirtualNetworkPeeringListResult` was removed + +#### `models.SecurityUserRuleCollectionListResult` was removed + +#### `models.SecurityUserRuleListResult` was removed + +#### `models.ListVirtualWansResult` was removed + +#### `models.ExpressRouteCrossConnectionListResult` was removed + +#### `models.AvailableDelegationsResult` was removed + +#### `models.UsagesListResult` was removed + +#### `models.ExpressRoutePortAuthorizationListResult` was removed + +#### `models.ExpressRouteLinkListResult` was removed + +#### `models.LoadBalancerProbeListResult` was removed + +#### `models.PacketCaptureListResult` was removed + +#### `models.NspProfileListResult` was removed + +#### `models.PublicIpAddressSkuTier` was removed + +#### `models.InboundNatRuleListResult` was removed + +#### `models.RouteListResult` was removed + +#### `models.BgpServiceCommunityListResult` was removed + +#### `models.PublicIpPrefixListResult` was removed + +#### `models.LocalNetworkGatewayListResult` was removed + +#### `models.VirtualRouterListResult` was removed + +#### `models.ExpressRouteCircuitPeeringListResult` was removed + +#### `models.ListVpnServerConfigurationsResult` was removed + +#### `models.ApplicationGatewayAvailableSslPredefinedPolicies` was removed + +#### `models.ListVirtualNetworkGatewayNatRulesResult` was removed + +#### `models.EndpointServicesListResult` was removed + +#### `models.ServiceTagInformationListResult` was removed + +#### `models.ListRouteMapsResult` was removed + +#### `models.VirtualNetworkApplianceListResult` was removed + +#### `models.BastionActiveSessionListResult` was removed + +#### `models.ListVpnGatewayNatRulesResult` was removed + +#### `models.NetworkInterfaceListResult` was removed + +#### `models.NetworkInterfaceIpConfigurationListResult` was removed + +#### `models.ConnectionMonitorListResult` was removed + +#### `models.FirewallPolicyRuleCollectionGroupListResult` was removed + +#### `models.SecurityPartnerProviderListResult` was removed + +#### `models.PublicIpPrefixSkuName` was removed + +#### `models.VirtualNetworkGatewayListConnectionsResult` was removed + +#### `models.FirewallPolicyListResult` was removed + +#### `models.AdminRuleListResult` was removed + +#### `models.FirewallPolicySql` was removed + +#### `models.SecurityPerimeterResource` was removed + +#### `models.NetworkInterfaceLoadBalancerListResult` was removed + +#### `models.LoadBalancerLoadBalancingRuleListResult` was removed + +#### `models.VirtualNetworkGatewayListResult` was removed + +#### `models.ConnectionSharedKeyResultList` was removed + +#### `models.PublicIpAddressMigrationPhase` was removed + +#### `models.NetworkWatcherListResult` was removed + +#### `models.IpConfigurationBgpPeeringAddress` was removed + +#### `models.ReachabilityAnalysisRunListResult` was removed + +#### `models.ExpressRouteServiceProviderListResult` was removed + +#### `models.AzureFirewallFqdnTagListResult` was removed + +#### `models.FirewallPolicyIdpsSignatureMode` was removed + +#### `models.VirtualNetworkGatewayConnectionListResult` was removed + +#### `models.ListHubVirtualNetworkConnectionsResult` was removed + +#### `models.NspAssociationsListResult` was removed + +#### `models.ApplicationSecurityGroupListResult` was removed + +#### `models.VirtualNetworkDdosProtectionStatusResult` was removed + +#### `models.NetworkVirtualApplianceConnectionList` was removed + +#### `models.ListVpnSiteLinksResult` was removed + +#### `models.ListVpnSitesResult` was removed + +#### `models.PeerExpressRouteCircuitConnectionListResult` was removed + +#### `models.OperationListResult` was removed + +#### `models.SecurityUserConfigurationListResult` was removed + +#### `models.BgpCommunity` was removed + +#### `models.AuthorizationListResult` was removed + +#### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was removed + +#### `models.VirtualNetworkListUsageResult` was removed + +#### `models.ScopeConnectionListResult` was removed + +#### `models.StaticMemberListResult` was removed + +#### `models.PrivateEndpointListResult` was removed + +#### `models.IpAllocationListResult` was removed + +#### `models.SecurityRuleListResult` was removed + +#### `models.FirewallPolicyIdpsSignatureSeverity` was removed + +#### `models.VirtualNetworkTapListResult` was removed + +#### `models.RouteFilterListResult` was removed + +#### `models.IdpsQueryObject` was removed + +#### `models.VirtualRouterPeeringListResult` was removed + +#### `models.ServiceGatewayListResult` was removed + +#### `models.VerifierWorkspaceListResult` was removed + +#### `models.NetworkVirtualApplianceListResult` was removed + +#### `models.LoadBalancerVipSwapRequestFrontendIpConfiguration` was removed + +#### `models.ApplicationGatewayListResult` was removed + +#### `models.PerimeterAssociableResourcesListResult` was removed + +#### `models.ListVirtualHubIpConfigurationResults` was removed + +#### `models.ListVirtualHubRouteTableV2SResult` was removed + +#### `models.ExpressRouteCircuitListResult` was removed + +#### `models.VirtualApplianceIpConfiguration` was removed + +#### `models.ReachabilityAnalysisIntentListResult` was removed + +#### `models.NetworkManagerConnectionListResult` was removed + +#### `models.ApplicationGatewayPrivateEndpointConnectionListResult` was removed + +#### `models.ListRoutingIntentResult` was removed + +#### `models.ServiceEndpointPolicyListResult` was removed + +#### `models.PoolAssociationList` was removed + +#### `models.NetworkSecurityPerimeterListResult` was removed + +#### `models.ExpressRouteCrossConnectionPeeringList` was removed + +#### `models.PrivateLinkServiceListResult` was removed + +#### `models.ListVirtualHubBgpConnectionResults` was removed + +#### `models.NspLinkListResult` was removed + +#### `models.SubnetListResult` was removed + +#### `models.FlowLogListResult` was removed + +#### `models.AzureFirewallPublicIpAddress` was removed + +#### `models.HubPublicIpAddresses` was removed + +#### `models.PrivateEndpointIpVersionType` was removed + +#### `models.ListVpnGatewaysResult` was removed + +#### `models.RoutingRuleCollectionListResult` was removed + +#### `models.RouteTableListResult` was removed + +#### `models.PreferredIpVersion` was removed + +#### `models.HubIpAddresses` was removed + +#### `models.WebApplicationFirewallPolicyListResult` was removed + +#### `models.AutoApprovedPrivateLinkServicesResult` was removed + +#### `models.NetworkManagerRoutingConfigurationListResult` was removed + +#### `models.NetworkVirtualApplianceSiteListResult` was removed + +#### `models.PrivateEndpointConnectionListResult` was removed + +#### `models.ExpressRouteCircuitConnectionListResult` was removed + +#### `models.ListVirtualHubsResult` was removed + +#### `models.AvailableServiceAliasesResult` was removed + +#### `models.LoadBalancerFrontendIpConfigurationListResult` was removed + +#### `models.GetServiceGatewayAddressLocationsResult` was removed + +#### `models.ApplicationGatewayWafDynamicManifestResultList` was removed + +#### `models.NetworkInterfaceTapConfigurationListResult` was removed + +#### `models.GenerateExpressRoutePortsLoaRequest` was removed + +#### `models.PrivateEndpointIpConfiguration` was removed + +#### `models.LoadBalancerBackendAddressPoolListResult` was removed + +#### `models.ListP2SVpnGatewaysResult` was removed + +#### `models.VirtualNetworkListResult` was removed + +#### `models.CreatedByType` was removed + +#### `models.CustomIpPrefixListResult` was removed + +#### `models.SecurityAdminConfigurationListResult` was removed + +#### `models.ApplicationGatewayEntraJwtValidationConfig` was removed + +#### `models.BastionHostListResult` was removed + +#### `models.ListVpnSiteLinkConnectionsResult` was removed + +#### `models.IpRule` was removed + +#### `models.NetworkProfileListResult` was removed + +#### `models.ErrorDetail` was removed + +#### `models.FirewallPolicyIdpsSignatureDirection` was removed + +#### `models.DdosProtectionPlanListResult` was removed + +#### `models.NetworkSecurityGroupListResult` was removed + +#### `models.NspServiceTagsListResult` was removed + +#### `models.AvailablePrivateEndpointTypesResult` was removed + +#### `models.IpGroupListResult` was removed + +#### `models.SecurityPerimeterSystemData` was removed + +#### `models.IpTraffic` was removed + +#### `models.NetworkGroupListResult` was removed + +#### `models.FirewallPolicySnat` was removed + +#### `models.BastionHostIpConfiguration` was removed + +#### `models.DscpConfigurationListResult` was removed + +#### `models.IpamPoolList` was removed + +#### `models.PrivateDnsZoneGroupListResult` was removed + +#### `models.ExpressRoutePortListResult` was removed + +#### `models.ServiceEndpointPolicyDefinitionListResult` was removed + +#### `models.NetworkVirtualApplianceSkuListResult` was removed + +#### `models.PublicIpPrefixSkuTier` was removed + +#### `models.VirtualApplianceIpConfigurationProperties` was removed + +#### `models.FirewallPolicyIdpsQuerySortOrder` was removed + +#### `models.ConnectivityConfigurationListResult` was removed + +#### `models.SecurityPerimeterProxyResource` was removed + +#### `models.RouteFilterRuleListResult` was removed + +#### `models.NetworkManagerListResult` was removed + +#### `models.ListVpnServerConfigurationPolicyGroupsResult` was removed + +#### `models.AzureWebCategoryListResult` was removed + +#### `models.NspAccessRuleListResult` was removed + +#### `models.Error` was modified + +* `Error()` was changed to private access + +#### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified + +* `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access +* `withUpDown(java.lang.String)` was removed +* `withNeighbor(java.lang.String)` was removed +* `withStateOrPrefixesReceived(java.lang.String)` was removed +* `withAsn(java.lang.Integer)` was removed + +#### `models.UsageName` was modified + +* `UsageName()` was changed to private access +* `withValue(java.lang.String)` was removed +* `withLocalizedValue(java.lang.String)` was removed + +#### `models.SecurityRuleAssociations` was modified + +* `SecurityRuleAssociations()` was changed to private access +* `withEffectiveSecurityRules(java.util.List)` was removed +* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed +* `withSubnetAssociation(models.SubnetAssociation)` was removed +* `withDefaultSecurityRules(java.util.List)` was removed + +#### `models.ResourceBasics` was modified + +* `ResourceBasics()` was changed to private access +* `withAddressPrefixes(java.util.List)` was removed +* `withResourceId(java.lang.String)` was removed + +#### `models.MatchedRule` was modified + +* `MatchedRule()` was changed to private access +* `withAction(java.lang.String)` was removed +* `withRuleName(java.lang.String)` was removed + +#### `models.ApplicationGatewayFirewallRule` was modified + +* `ApplicationGatewayFirewallRule()` was changed to private access +* `withRuleId(int)` was removed +* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed +* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed +* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed +* `withDescription(java.lang.String)` was removed +* `withRuleIdString(java.lang.String)` was removed + +#### `models.VpnGatewayIpConfiguration` was modified + +* `VpnGatewayIpConfiguration()` was changed to private access +* `withPrivateIpAddress(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withPublicIpAddress(java.lang.String)` was removed + +#### `models.EffectiveRoute` was modified + +* `EffectiveRoute()` was changed to private access +* `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed +* `withAddressPrefix(java.util.List)` was removed +* `withNextHopIpAddress(java.util.List)` was removed +* `withState(models.EffectiveRouteState)` was removed +* `withSource(models.EffectiveRouteSource)` was removed +* `withName(java.lang.String)` was removed +* `withNextHopType(models.RouteNextHopType)` was removed + +#### `models.VirtualNetworkApplianceIpConfiguration` was modified + +* `VirtualNetworkApplianceIpConfiguration()` was changed to private access +* `privateIpAddress()` was removed +* `withId(java.lang.String)` was removed +* `withPrivateIpAddressVersion(models.IpVersion)` was removed +* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withPrimary(java.lang.Boolean)` was removed + +#### `models.TunnelConnectionHealth` was modified + +* `TunnelConnectionHealth()` was changed to private access + +#### `models.DdosDetectionRule` was modified + +* `withId(java.lang.String)` was removed + +#### `models.ActiveSecurityAdminRule` was modified + +* `ActiveSecurityAdminRule()` was changed to private access +* `withRuleGroups(java.util.List)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withId(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withDestinations(java.util.List)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withRegion(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withDescription(java.lang.String)` was removed +* `withSources(java.util.List)` was removed + +#### `models.ContainerNetworkInterfaceIpConfiguration` was modified + +* `ContainerNetworkInterfaceIpConfiguration()` was changed to private access +* `withName(java.lang.String)` was removed + +#### `models.ApplicationGatewayBackendHealthHttpSettings` was modified + +* `ApplicationGatewayBackendHealthHttpSettings()` was changed to private access +* `withServers(java.util.List)` was removed +* `withBackendHttpSettings(models.ApplicationGatewayBackendHttpSettings)` was removed + +#### `models.NetworkInterfaceAssociation` was modified + +* `NetworkInterfaceAssociation()` was changed to private access +* `withSecurityRules(java.util.List)` was removed + +#### `models.TopologyAssociation` was modified + +* `TopologyAssociation()` was changed to private access +* `withResourceId(java.lang.String)` was removed +* `withAssociationType(models.AssociationType)` was removed +* `withName(java.lang.String)` was removed + +#### `models.SecurityGroupNetworkInterface` was modified + +* `SecurityGroupNetworkInterface()` was changed to private access +* `withSecurityRuleAssociations(models.SecurityRuleAssociations)` was removed +* `withId(java.lang.String)` was removed + +#### `models.EffectiveDefaultSecurityAdminRule` was modified + +* `EffectiveDefaultSecurityAdminRule()` was changed to private access +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withId(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withFlag(java.lang.String)` was removed + +#### `models.Container` was modified + +* `Container()` was changed to private access +* `withId(java.lang.String)` was removed + +#### `models.ServiceAssociationLink` was modified + +* `ServiceAssociationLink()` was changed to private access +* `withId(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed +* `withAllowDelete(java.lang.Boolean)` was removed +* `withName(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed +* `withLinkedResourceType(java.lang.String)` was removed + +#### `models.TroubleshootingRecommendedActions` was modified + +* `TroubleshootingRecommendedActions()` was changed to private access +* `withActionUri(java.lang.String)` was removed +* `withActionId(java.lang.String)` was removed +* `withActionText(java.lang.String)` was removed +* `withActionUriText(java.lang.String)` was removed + +#### `models.GatewayResiliencyRecommendation` was modified + +* `GatewayResiliencyRecommendation()` was changed to private access +* `withRecommendationText(java.lang.String)` was removed +* `withCallToActionLink(java.lang.String)` was removed +* `withRecommendationTitle(java.lang.String)` was removed +* `withSeverity(java.lang.String)` was removed +* `withCallToActionText(java.lang.String)` was removed +* `withRecommendationId(java.lang.String)` was removed + +#### `models.ContainerNetworkInterface` was modified + +* `ContainerNetworkInterface()` was changed to private access +* `withId(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withContainer(models.Container)` was removed + +#### `models.ExpressRouteFailoverRedundantRoute` was modified + +* `ExpressRouteFailoverRedundantRoute()` was changed to private access +* `withRoutes(java.util.List)` was removed +* `withPeeringLocations(java.util.List)` was removed + +#### `models.ApplicationGatewayPrivateLinkIpConfiguration` was modified + +* `withPrivateIpAddress(java.lang.String)` was removed +* `privateIpAddress()` was removed + +#### `models.AzureReachabilityReportLatencyInfo` was modified + +* `AzureReachabilityReportLatencyInfo()` was changed to private access +* `withTimestamp(java.time.OffsetDateTime)` was removed +* `withScore(java.lang.Integer)` was removed + +#### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified + +* `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access +* `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed +* `withState(java.lang.String)` was removed +* `networkInterfaceIpConfigurationId()` was removed +* `withIpAddress(java.lang.String)` was removed +* `withReason(java.lang.String)` was removed + +#### `models.ConnectivityHop` was modified + +* `ConnectivityHop()` was changed to private access + +#### `models.ReachabilityAnalysisRunProperties` was modified + +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withProvisioningState(models.ProvisioningState)` was removed + +#### `models.NetworkVirtualApplianceSkuInstances` was modified + +* `NetworkVirtualApplianceSkuInstances()` was changed to private access + +#### `models.EffectiveNetworkSecurityRule` was modified + +* `EffectiveNetworkSecurityRule()` was changed to private access +* `withSourcePortRange(java.lang.String)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withAccess(models.SecurityRuleAccess)` was removed +* `withDirection(models.SecurityRuleDirection)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withSourceAddressPrefix(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withDestinationPortRange(java.lang.String)` was removed +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed +* `withDestinationAddressPrefix(java.lang.String)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withExpandedSourceAddressPrefix(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withSourceAddressPrefixes(java.util.List)` was removed + +#### `models.EvaluatedNetworkSecurityGroup` was modified + +* `EvaluatedNetworkSecurityGroup()` was changed to private access +* `withMatchedRule(models.MatchedRule)` was removed +* `withNetworkSecurityGroupId(java.lang.String)` was removed +* `withAppliedTo(java.lang.String)` was removed + +#### `models.TopologyResource` was modified + +* `TopologyResource()` was changed to private access +* `withAssociations(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed + +#### `models.AzureFirewallIpGroups` was modified + +* `AzureFirewallIpGroups()` was changed to private access + +#### `models.EffectiveRouteMapRoute` was modified + +* `EffectiveRouteMapRoute()` was changed to private access +* `withAsPath(java.lang.String)` was removed +* `withBgpCommunities(java.lang.String)` was removed +* `withPrefix(java.lang.String)` was removed + +#### `models.CrossTenantScopes` was modified + +* `CrossTenantScopes()` was changed to private access + +#### `models.AzureReachabilityReportItem` was modified + +* `AzureReachabilityReportItem()` was changed to private access +* `withAzureLocation(java.lang.String)` was removed +* `withProvider(java.lang.String)` was removed +* `withLatencies(java.util.List)` was removed + +#### `models.TroubleshootingDetails` was modified + +* `TroubleshootingDetails()` was changed to private access +* `withId(java.lang.String)` was removed +* `withRecommendedActions(java.util.List)` was removed +* `withReasonType(java.lang.String)` was removed +* `withDetail(java.lang.String)` was removed +* `withSummary(java.lang.String)` was removed + +#### `models.SingleQueryResult` was modified + +* `SingleQueryResult()` was changed to private access +* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withProtocol(java.lang.String)` was removed +* `models.FirewallPolicyIdpsSignatureDirection direction()` -> `models.FirewallPolicyIDPSSignatureDirection direction()` +* `withInheritedFromParentPolicy(java.lang.Boolean)` was removed +* `models.FirewallPolicyIdpsSignatureMode mode()` -> `models.FirewallPolicyIDPSSignatureMode mode()` +* `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed +* `models.FirewallPolicyIdpsSignatureSeverity severity()` -> `models.FirewallPolicyIDPSSignatureSeverity severity()` +* `withLastUpdated(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withDestinationPorts(java.util.List)` was removed +* `withSignatureId(java.lang.Integer)` was removed +* `withGroup(java.lang.String)` was removed +* `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed +* `withSourcePorts(java.util.List)` was removed + +#### `models.NetworkSecurityRulesEvaluationResult` was modified + +* `NetworkSecurityRulesEvaluationResult()` was changed to private access +* `withProtocolMatched(java.lang.Boolean)` was removed +* `withDestinationMatched(java.lang.Boolean)` was removed +* `withName(java.lang.String)` was removed +* `withDestinationPortMatched(java.lang.Boolean)` was removed +* `withSourcePortMatched(java.lang.Boolean)` was removed +* `withSourceMatched(java.lang.Boolean)` was removed + +#### `models.VirtualNetworkConnectionGatewayReference` was modified + +* `VirtualNetworkConnectionGatewayReference()` was changed to private access +* `withId(java.lang.String)` was removed + +#### `models.ReachabilityAnalysisIntentProperties` was modified + +* `withIpTraffic(models.IpTraffic)` was removed +* `withProvisioningState(models.ProvisioningState)` was removed +* `models.IpTraffic ipTraffic()` -> `models.IPTraffic ipTraffic()` +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` + +#### `models.ActiveBaseSecurityAdminRule` was modified + +* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` +* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` + +#### `models.PublicIpPrefixSku` was modified + +* `withTier(models.PublicIpPrefixSkuTier)` was removed +* `withName(models.PublicIpPrefixSkuName)` was removed +* `models.PublicIpPrefixSkuTier tier()` -> `models.PublicIPPrefixSkuTier tier()` +* `models.PublicIpPrefixSkuName name()` -> `models.PublicIPPrefixSkuName name()` + +#### `models.EffectiveSecurityAdminRule` was modified + +* `EffectiveSecurityAdminRule()` was changed to private access +* `withSourcePortRanges(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withPriority(java.lang.Integer)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withSources(java.util.List)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withDestinations(java.util.List)` was removed + +#### `models.BgpPeerStatus` was modified + +* `BgpPeerStatus()` was changed to private access + +#### `models.NatRulePortMapping` was modified + +* `NatRulePortMapping()` was changed to private access +* `withBackendPort(java.lang.Integer)` was removed +* `withFrontendPort(java.lang.Integer)` was removed +* `withInboundNatRuleName(java.lang.String)` was removed + +#### `models.MetricSpecification` was modified + +* `MetricSpecification()` was changed to private access +* `withIsInternal(java.lang.Boolean)` was removed +* `withAvailabilities(java.util.List)` was removed +* `withSourceMdmNamespace(java.lang.String)` was removed +* `withUnit(java.lang.String)` was removed +* `withFillGapWithZero(java.lang.Boolean)` was removed +* `withMetricFilterPattern(java.lang.String)` was removed +* `withDimensions(java.util.List)` was removed +* `withResourceIdDimensionNameOverride(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed +* `withDisplayDescription(java.lang.String)` was removed +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed +* `withSourceMdmAccount(java.lang.String)` was removed +* `withAggregationType(java.lang.String)` was removed +* `withName(java.lang.String)` was removed + +#### `models.LoadBalancerBackendAddress` was modified + +* `withLoadBalancerFrontendIpConfiguration(com.azure.core.management.SubResource)` was removed +* `loadBalancerFrontendIpConfiguration()` was removed +* `networkInterfaceIpConfiguration()` was removed + +#### `models.DefaultAdminRule` was modified + +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` + +#### `models.ApplicationGatewayForContainersReferenceDefinition` was modified + +* `ApplicationGatewayForContainersReferenceDefinition()` was changed to private access +* `withId(java.lang.String)` was removed + +#### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified + +* `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access +* `withOfferName(java.lang.String)` was removed +* `withValueInMbps(java.lang.Integer)` was removed + +#### `models.ApplicationGatewayFirewallRuleGroup` was modified + +* `ApplicationGatewayFirewallRuleGroup()` was changed to private access +* `withDescription(java.lang.String)` was removed +* `withRules(java.util.List)` was removed +* `withRuleGroupName(java.lang.String)` was removed + +#### `models.IpamPoolProperties` was modified + +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withProvisioningState(models.ProvisioningState)` was removed + +#### `models.AvailableProvidersListState` was modified + +* `AvailableProvidersListState()` was changed to private access +* `withStateName(java.lang.String)` was removed +* `withProviders(java.util.List)` was removed +* `withCities(java.util.List)` was removed + +#### `models.AdminRule` was modified + +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` + +#### `models.HopLink` was modified + +* `HopLink()` was changed to private access + +#### `models.ResourceNavigationLink` was modified + +* `ResourceNavigationLink()` was changed to private access +* `withLink(java.lang.String)` was removed +* `withLinkedResourceType(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withName(java.lang.String)` was removed + +#### `models.EffectiveNetworkSecurityGroup` was modified + +* `EffectiveNetworkSecurityGroup()` was changed to private access +* `java.lang.String tagMap()` -> `java.util.Map tagMap()` +* `withEffectiveSecurityRules(java.util.List)` was removed +* `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed +* `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed +* `withTagMap(java.lang.String)` was removed + +#### `models.ReferencedPublicIpAddress` was modified + +* `ReferencedPublicIpAddress()` was changed to private access +* `withId(java.lang.String)` was removed + +#### `models.PeerRoute` was modified + +* `PeerRoute()` was changed to private access + +#### `models.GatewayRouteSet` was modified + +* `GatewayRouteSet()` was changed to private access +* `withDetails(java.util.Map)` was removed +* `withName(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed + +#### `models.NetworkGroupsCreateOrUpdateHeaders` was modified + +* `etag()` was removed +* `withEtag(java.lang.String)` was removed + +#### `models.VpnClientConnectionHealthDetail` was modified + +* `VpnClientConnectionHealthDetail()` was changed to private access +* `vpnUsername()` was removed + +#### `models.ServiceTagInformationPropertiesFormat` was modified + +* `ServiceTagInformationPropertiesFormat()` was changed to private access + +#### `models.ExpressRouteCircuitArpTable` was modified + +* `ExpressRouteCircuitArpTable()` was changed to private access +* `withInterfaceProperty(java.lang.String)` was removed +* `withIpAddress(java.lang.String)` was removed +* `withAge(java.lang.Integer)` was removed +* `withMacAddress(java.lang.String)` was removed + +#### `models.ActiveConnectivityConfiguration` was modified + +* `ActiveConnectivityConfiguration()` was changed to private access +* `withAppliesToGroups(java.util.List)` was removed +* `withConnectivityTopology(models.ConnectivityTopology)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withConfigurationGroups(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withHubs(java.util.List)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withId(java.lang.String)` was removed +* `withRegion(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withIsGlobal(models.IsGlobal)` was removed + +#### `models.RouteSourceDetails` was modified + +* `RouteSourceDetails()` was changed to private access +* `withCircuit(java.lang.String)` was removed +* `withPri(java.lang.String)` was removed +* `withSec(java.lang.String)` was removed + +#### `models.RecordSet` was modified + +* `RecordSet()` was changed to private access +* `withTtl(java.lang.Integer)` was removed +* `withRecordSetName(java.lang.String)` was removed +* `withFqdn(java.lang.String)` was removed +* `withIpAddresses(java.util.List)` was removed +* `withRecordType(java.lang.String)` was removed + +#### `models.ApplicationGatewayBackendHealthPool` was modified + +* `ApplicationGatewayBackendHealthPool()` was changed to private access +* `withBackendAddressPool(models.ApplicationGatewayBackendAddressPool)` was removed +* `withBackendHttpSettingsCollection(java.util.List)` was removed + +#### `models.AvailableProvidersListCity` was modified + +* `AvailableProvidersListCity()` was changed to private access +* `withCityName(java.lang.String)` was removed +* `withProviders(java.util.List)` was removed + +#### `models.ExpressRouteFailoverCircuitResourceDetails` was modified + +* `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access +* `withName(java.lang.String)` was removed +* `withNrpResourceUri(java.lang.String)` was removed +* `withConnectionName(java.lang.String)` was removed + +#### `models.ConnectivityIssue` was modified + +* `ConnectivityIssue()` was changed to private access + +#### `models.Availability` was modified + +* `Availability()` was changed to private access +* `withBlobDuration(java.lang.String)` was removed +* `withTimeGrain(java.lang.String)` was removed +* `withRetention(java.lang.String)` was removed + +#### `models.VerifierWorkspaceProperties` was modified + +* `withProvisioningState(models.ProvisioningState)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` + +#### `models.OperationDisplay` was modified + +* `OperationDisplay()` was changed to private access +* `withResource(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withOperation(java.lang.String)` was removed +* `withProvider(java.lang.String)` was removed + +#### `models.ApplicationGatewayBackendHttpSettings` was modified + +* `withValidateSni(java.lang.Boolean)` was removed +* `validateSni()` was removed + +#### `models.OperationPropertiesFormatServiceSpecification` was modified + +* `OperationPropertiesFormatServiceSpecification()` was changed to private access +* `withLogSpecifications(java.util.List)` was removed +* `withMetricSpecifications(java.util.List)` was removed + +#### `models.AvailableProvidersListCountry` was modified + +* `AvailableProvidersListCountry()` was changed to private access +* `withStates(java.util.List)` was removed +* `withCountryName(java.lang.String)` was removed +* `withProviders(java.util.List)` was removed + +#### `models.VirtualNetworkUsageName` was modified + +* `VirtualNetworkUsageName()` was changed to private access + +#### `models.ProvisioningState` was modified + +* `CANCELED` was removed +* `CREATING` was removed + +#### `models.ApplicationGatewayFirewallRuleSet` was modified + +* `ApplicationGatewayFirewallRuleSet()` was changed to private access +* `withTags(java.util.Map)` was removed +* `withRuleSetType(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed +* `withRuleSetVersion(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withLocation(java.lang.String)` was removed + +#### `models.ApplicationGatewayFirewallManifestRuleSet` was modified + +* `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access +* `withTiers(java.util.List)` was removed +* `withRuleSetType(java.lang.String)` was removed +* `withRuleSetVersion(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed + +#### `models.NetworkManagerDeploymentStatus` was modified + +* `NetworkManagerDeploymentStatus()` was changed to private access +* `withDeploymentStatus(models.DeploymentStatus)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withErrorMessage(java.lang.String)` was removed +* `withConfigurationIds(java.util.List)` was removed +* `withDeploymentType(models.ConfigurationType)` was removed +* `withRegion(java.lang.String)` was removed + +#### `models.CircuitMetadataMap` was modified + +* `CircuitMetadataMap()` was changed to private access +* `withLocation(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed +* `withName(java.lang.String)` was removed + +#### `models.ExpressRouteCircuitRoutesTableSummary` was modified + +* `ExpressRouteCircuitRoutesTableSummary()` was changed to private access +* `withAs(java.lang.Integer)` was removed +* `withV(java.lang.Integer)` was removed +* `withNeighbor(java.lang.String)` was removed +* `withStatePfxRcd(java.lang.String)` was removed +* `withUpDown(java.lang.String)` was removed + +#### `models.ConnectivityParameters` was modified + +* `preferredIpVersion()` was removed +* `withPreferredIpVersion(models.IpVersion)` was removed + +#### `models.OrderBy` was modified + +* `withOrder(models.FirewallPolicyIdpsQuerySortOrder)` was removed +* `models.FirewallPolicyIdpsQuerySortOrder order()` -> `models.FirewallPolicyIDPSQuerySortOrder order()` + +#### `models.ManagedRuleSetRuleGroup` was modified + +* `ManagedRuleSetRuleGroup()` was changed to private access +* `withRules(java.util.List)` was removed +* `withRuleGroupName(java.lang.String)` was removed + +#### `models.Dimension` was modified + +* `Dimension()` was changed to private access +* `withDisplayName(java.lang.String)` was removed +* `withInternalName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed + +#### `models.PublicIpAddressSku` was modified + +* `withTier(models.PublicIpAddressSkuTier)` was removed +* `models.PublicIpAddressSkuTier tier()` -> `models.PublicIPAddressSkuTier tier()` + +#### `models.NetworkSecurityGroupResult` was modified + +* `NetworkSecurityGroupResult()` was changed to private access +* `withSecurityRuleAccessResult(models.SecurityRuleAccess)` was removed + +#### `models.ResiliencyRecommendationComponents` was modified + +* `ResiliencyRecommendationComponents()` was changed to private access +* `withMaxScore(java.lang.String)` was removed +* `withCurrentScore(java.lang.String)` was removed +* `withRecommendations(java.util.List)` was removed +* `withName(java.lang.String)` was removed + +#### `models.EffectiveBaseSecurityAdminRule` was modified + +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` + +#### `models.LogSpecification` was modified + +* `LogSpecification()` was changed to private access +* `withDisplayName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withBlobDuration(java.lang.String)` was removed + +#### `models.InboundNatRulePortMapping` was modified + +* `InboundNatRulePortMapping()` was changed to private access + +#### `models.EffectiveConnectivityConfiguration` was modified + +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withDescription(java.lang.String)` was removed +* `withHubs(java.util.List)` was removed +* `withIsGlobal(models.IsGlobal)` was removed +* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` +* `withAppliesToGroups(java.util.List)` was removed +* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withConnectivityTopology(models.ConnectivityTopology)` was removed + +#### `models.PerimeterBasedAccessRule` was modified + +* `PerimeterBasedAccessRule()` was changed to private access + +#### `models.NetworkConfigurationDiagnosticResult` was modified + +* `NetworkConfigurationDiagnosticResult()` was changed to private access +* `withNetworkSecurityGroupResult(models.NetworkSecurityGroupResult)` was removed +* `withProfile(models.NetworkConfigurationDiagnosticProfile)` was removed + +#### `models.ConnectionMonitorTestConfiguration` was modified + +* `preferredIpVersion()` was removed +* `withPreferredIpVersion(models.PreferredIpVersion)` was removed + +#### `models.VirtualHubEffectiveRoute` was modified + +* `VirtualHubEffectiveRoute()` was changed to private access +* `withNextHopType(java.lang.String)` was removed +* `withNextHops(java.util.List)` was removed +* `withAddressPrefixes(java.util.List)` was removed +* `withRouteOrigin(java.lang.String)` was removed +* `withAsPath(java.lang.String)` was removed + +#### `models.ExpressRoutePortsLocationBandwidths` was modified + +* `ExpressRoutePortsLocationBandwidths()` was changed to private access + +#### `models.ApplicationRule` was modified + +* `terminateTls()` was removed +* `withTerminateTls(java.lang.Boolean)` was removed + +#### `models.StaticCidrProperties` was modified + +* `totalNumberOfIpAddresses()` was removed +* `withNumberOfIpAddressesToAllocate(java.lang.String)` was removed +* `withProvisioningState(models.ProvisioningState)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `numberOfIpAddressesToAllocate()` was removed + +#### `models.EffectiveNetworkSecurityGroupAssociation` was modified + +* `EffectiveNetworkSecurityGroupAssociation()` was changed to private access +* `withNetworkManager(com.azure.core.management.SubResource)` was removed +* `withNetworkInterface(com.azure.core.management.SubResource)` was removed +* `withSubnet(com.azure.core.management.SubResource)` was removed + +#### `models.ConnectionMonitorSuccessThreshold` was modified + +* `java.lang.Float roundTripTimeMs()` -> `java.lang.Double roundTripTimeMs()` +* `withRoundTripTimeMs(java.lang.Float)` was removed + +#### `models.IntentContent` was modified + +* `IntentContent()` was changed to private access +* `withDescription(java.lang.String)` was removed +* `withDestinationResourceId(java.lang.String)` was removed +* `models.IpTraffic ipTraffic()` -> `models.IPTraffic ipTraffic()` +* `withIpTraffic(models.IpTraffic)` was removed +* `withSourceResourceId(java.lang.String)` was removed + +#### `models.ConfigurationGroup` was modified + +* `ConfigurationGroup()` was changed to private access +* `withId(java.lang.String)` was removed +* `withMemberType(models.GroupMemberType)` was removed +* `withDescription(java.lang.String)` was removed + +#### `models.ExpressRouteCircuitRoutesTable` was modified + +* `ExpressRouteCircuitRoutesTable()` was changed to private access +* `withNetwork(java.lang.String)` was removed +* `withLocPrf(java.lang.String)` was removed +* `withPath(java.lang.String)` was removed +* `withNextHop(java.lang.String)` was removed +* `withWeight(java.lang.Integer)` was removed + +#### `models.SubnetAssociation` was modified + +* `SubnetAssociation()` was changed to private access +* `withSecurityRules(java.util.List)` was removed + +#### `models.RadiusAuthServer` was modified + +* `RadiusAuthServer()` was changed to private access +* `withRadiusServerSecret(java.lang.String)` was removed +* `withRadiusServerAddress(java.lang.String)` was removed + +#### `models.VirtualApplianceNicProperties` was modified + +* `VirtualApplianceNicProperties()` was changed to private access + +#### `models.GatewayRoute` was modified + +* `GatewayRoute()` was changed to private access + +#### `models.VirtualWanSecurityProvider` was modified + +* `VirtualWanSecurityProvider()` was changed to private access +* `withName(java.lang.String)` was removed +* `withUrl(java.lang.String)` was removed + +#### `models.VpnClientConnectionHealth` was modified + +* `VpnClientConnectionHealth()` was changed to private access +* `withVpnClientConnectionsCount(java.lang.Integer)` was removed +* `withAllocatedIpAddresses(java.util.List)` was removed + +#### `models.ExpressRouteFailoverConnectionResourceDetails` was modified + +* `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access +* `withName(java.lang.String)` was removed +* `withLastUpdatedTime(java.lang.String)` was removed +* `withStatus(models.FailoverConnectionStatus)` was removed +* `withNrpResourceUri(java.lang.String)` was removed + +#### `models.ActiveDefaultSecurityAdminRule` was modified + +* `ActiveDefaultSecurityAdminRule()` was changed to private access +* `withRegion(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withFlag(java.lang.String)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withId(java.lang.String)` was removed ### Features Added -### Breaking Changes +* `models.HubIPAddresses` was added -### Bugs Fixed +* `models.ReadOnlySubResourceModel` was added -### Other Changes +* `models.PublicIPAddressSkuTier` was added + +* `models.HubPublicIPAddresses` was added + +* `models.VirtualApplianceIPConfiguration` was added + +* `models.ProxyResourcewithoutEtag` was added + +* `models.IPConfigurationBgpPeeringAddress` was added + +* `models.LoadBalancerVipSwapRequestFrontendIPConfiguration` was added + +* `models.ApplicationGatewayEntraJWTValidationConfig` was added + +* `models.GetIkeSasFinalResult` was added + +* `models.ResetVpnClientSharedKeyFinalResult` was added + +* `models.BGPCommunity` was added + +* `models.FirewallPolicySQL` was added + +* `models.StartExpressRouteSiteFailoverSimulationFinalResult` was added + +* `models.PrivateEndpointIPConfiguration` was added + +* `models.VirtualApplianceIPConfigurationProperties` was added + +* `models.NoContentResponse` was added + +* `models.StopFinalResult` was added + +* `models.GeneratevpnclientpackageFinalResult` was added + +* `models.FirewallPolicyIDPSQuerySortOrder` was added + +* `models.FirewallPolicyIDPSSignatureMode` was added + +* `models.GetVpnProfilePackageUrlFinalResult` was added + +* `models.PublicIPPrefixSkuName` was added + +* `models.DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult` was added + +* `models.PrivateEndpointIPVersionType` was added + +* `models.IPTraffic` was added + +* `models.FirewallPolicyIDPSSignatureSeverity` was added + +* `models.StopPacketCaptureFinalResult2` was added + +* `models.BaseProvisioningState` was added + +* `models.StopPacketCaptureFinalResult1` was added + +* `models.UnprepareNetworkPoliciesFinalResult` was added + +* `models.AzureFirewallIPConfiguration` was added + +* `models.ArmAcceptedLroResponse` was added + +* `models.ResourceWithWritableName` was added + +* `models.StartPacketCaptureFinalResult` was added + +* `models.SubResourceModel` was added + +* `models.StartPacketCaptureFinalResult1` was added + +* `models.StartPacketCaptureFinalResult2` was added + +* `models.DeleteBastionShareableLinkFinalResult` was added + +* `models.AzureFirewallPublicIPAddress` was added + +* `models.PrepareNetworkPoliciesFinalResult` was added + +* `models.VpnConnectionsStopPacketCaptureFinalResult` was added + +* `models.FirewallPolicySNAT` was added + +* `models.IDPSQueryObject` was added + +* `models.SingletonResource` was added + +* `models.PublicIPAddressMigrationPhase` was added + +* `models.GenerateExpressRoutePortsLOARequest` was added + +* `models.ProxyResourceWithReadOnlyID` was added + +* `models.ResourceWithRequiredLocation` was added + +* `models.ResourceWithReadOnlyNameAndID` was added + +* `models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties` was added + +* `models.WritableResource` was added + +* `models.PreferredIPVersion` was added + +* `models.StopExpressRouteSiteFailoverSimulationFinalResult` was added + +* `models.VpnConnectionsStartPacketCaptureFinalResult` was added + +* `models.FirewallPolicyIDPSSignatureDirection` was added + +* `models.TrackedResourcewithOptionalLocation` was added + +* `models.BastionHostIPConfiguration` was added + +* `models.StopPacketCaptureFinalResult` was added + +* `models.ResourceWithReadOnlyID` was added + +* `models.IPRule` was added + +* `models.PublicIPPrefixSkuTier` was added + +#### `models.VirtualNetworkApplianceIpConfiguration` was modified + +* `privateIPAddress()` was added + +#### `models.DdosDetectionRule` was modified + +* `id()` was added + +#### `models.ApplicationGatewayPrivateLinkIpConfiguration` was modified + +* `privateIPAddress()` was added +* `withPrivateIPAddress(java.lang.String)` was added + +#### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified + +* `networkInterfaceIPConfigurationId()` was added + +#### `models.ReachabilityAnalysisIntentProperties` was modified + +* `withIpTraffic(models.IPTraffic)` was added + +#### `models.PublicIpPrefixSku` was modified + +* `withName(models.PublicIPPrefixSkuName)` was added +* `withTier(models.PublicIPPrefixSkuTier)` was added + +#### `models.LoadBalancerBackendAddress` was modified + +* `withLoadBalancerFrontendIPConfiguration(com.azure.core.management.SubResource)` was added +* `networkInterfaceIPConfiguration()` was added +* `loadBalancerFrontendIPConfiguration()` was added + +#### `models.ResourceNavigationLink` was modified + +* `id()` was added + +#### `models.NetworkGroupsCreateOrUpdateHeaders` was modified + +* `retryAfter()` was added +* `eTag()` was added + +#### `models.VpnClientConnectionHealthDetail` was modified + +* `vpnUserName()` was added + +#### `models.ActiveConnectivityConfiguration` was modified + +* `configurationGroups()` was added +* `id()` was added + +#### `models.ApplicationGatewayBackendHttpSettings` was modified + +* `validateSNI()` was added +* `withValidateSNI(java.lang.Boolean)` was added + +#### `models.ConnectivityParameters` was modified + +* `withPreferredIPVersion(models.IpVersion)` was added +* `preferredIPVersion()` was added + +#### `models.OrderBy` was modified + +* `withOrder(models.FirewallPolicyIDPSQuerySortOrder)` was added + +#### `models.PublicIpAddressSku` was modified + +* `withTier(models.PublicIPAddressSkuTier)` was added + +#### `models.ConnectionMonitorTestConfiguration` was modified + +* `withPreferredIPVersion(models.PreferredIPVersion)` was added +* `preferredIPVersion()` was added + +#### `models.ApplicationRule` was modified + +* `withTerminateTLS(java.lang.Boolean)` was added +* `terminateTLS()` was added + +#### `models.StaticCidrProperties` was modified + +* `withNumberOfIPAddressesToAllocate(java.lang.String)` was added +* `totalNumberOfIPAddresses()` was added +* `numberOfIPAddressesToAllocate()` was added + +#### `models.ConnectionMonitorSuccessThreshold` was modified + +* `withRoundTripTimeMs(java.lang.Double)` was added ## 2.58.0 (2026-02-14) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java index 821257e7d26c..67306edd4353 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java @@ -20,8 +20,6 @@ import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayInner; import com.azure.resourcemanager.network.fluent.models.ApplicationGatewaySslPredefinedPolicyInner; import com.azure.resourcemanager.network.models.ApplicationGatewayOnDemandProbe; -import com.azure.resourcemanager.network.models.StartFinalResult; -import com.azure.resourcemanager.network.models.StopFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -443,8 +441,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StartFinalResult> beginStartAsync(String resourceGroupName, - String applicationGatewayName); + PollerFlux, Void> beginStartAsync(String resourceGroupName, String applicationGatewayName); /** * Starts the specified application gateway. @@ -457,8 +454,7 @@ PollerFlux, StartFinalResult> beginStartAsync(Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StartFinalResult> beginStart(String resourceGroupName, - String applicationGatewayName); + SyncPoller, Void> beginStart(String resourceGroupName, String applicationGatewayName); /** * Starts the specified application gateway. @@ -472,8 +468,8 @@ SyncPoller, StartFinalResult> beginStart(String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StartFinalResult> beginStart(String resourceGroupName, - String applicationGatewayName, Context context); + SyncPoller, Void> beginStart(String resourceGroupName, String applicationGatewayName, + Context context); /** * Starts the specified application gateway. @@ -483,10 +479,10 @@ SyncPoller, StartFinalResult> beginStart(String res * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startAsync(String resourceGroupName, String applicationGatewayName); + Mono startAsync(String resourceGroupName, String applicationGatewayName); /** * Starts the specified application gateway. @@ -496,10 +492,9 @@ SyncPoller, StartFinalResult> beginStart(String res * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StartFinalResult start(String resourceGroupName, String applicationGatewayName); + void start(String resourceGroupName, String applicationGatewayName); /** * Starts the specified application gateway. @@ -510,10 +505,9 @@ SyncPoller, StartFinalResult> beginStart(String res * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StartFinalResult start(String resourceGroupName, String applicationGatewayName, Context context); + void start(String resourceGroupName, String applicationGatewayName, Context context); /** * Stops the specified application gateway in a resource group. @@ -539,8 +533,7 @@ SyncPoller, StartFinalResult> beginStart(String res * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, - String applicationGatewayName); + PollerFlux, Void> beginStopAsync(String resourceGroupName, String applicationGatewayName); /** * Stops the specified application gateway in a resource group. @@ -553,8 +546,7 @@ PollerFlux, StopFinalResult> beginStopAsync(String r * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopFinalResult> beginStop(String resourceGroupName, - String applicationGatewayName); + SyncPoller, Void> beginStop(String resourceGroupName, String applicationGatewayName); /** * Stops the specified application gateway in a resource group. @@ -568,8 +560,8 @@ SyncPoller, StopFinalResult> beginStop(String resour * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopFinalResult> beginStop(String resourceGroupName, - String applicationGatewayName, Context context); + SyncPoller, Void> beginStop(String resourceGroupName, String applicationGatewayName, + Context context); /** * Stops the specified application gateway in a resource group. @@ -579,10 +571,10 @@ SyncPoller, StopFinalResult> beginStop(String resour * @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 body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopAsync(String resourceGroupName, String applicationGatewayName); + Mono stopAsync(String resourceGroupName, String applicationGatewayName); /** * Stops the specified application gateway in a resource group. @@ -592,10 +584,9 @@ SyncPoller, StopFinalResult> beginStop(String resour * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopFinalResult stop(String resourceGroupName, String applicationGatewayName); + void stop(String resourceGroupName, String applicationGatewayName); /** * Stops the specified application gateway in a resource group. @@ -606,10 +597,9 @@ SyncPoller, StopFinalResult> beginStop(String resour * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopFinalResult stop(String resourceGroupName, String applicationGatewayName, Context context); + void stop(String resourceGroupName, String applicationGatewayName, Context context); /** * Gets the backend health of the specified application gateway in a resource group. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java index fff5d9698220..68830678aad2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java @@ -15,7 +15,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorInner; import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorResultInner; -import com.azure.resourcemanager.network.models.StopFinalResult1; +import com.azure.resourcemanager.network.models.StopFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -477,7 +477,7 @@ Mono>> stopWithResponseAsync(String resourceGroupName, * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StopFinalResult1> beginStopAsync(String resourceGroupName, + PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName); /** @@ -492,7 +492,7 @@ PollerFlux, StopFinalResult1> beginStopAsync(String * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopFinalResult1> beginStop(String resourceGroupName, + SyncPoller, StopFinalResult> beginStop(String resourceGroupName, String networkWatcherName, String connectionMonitorName); /** @@ -508,7 +508,7 @@ SyncPoller, StopFinalResult1> beginStop(String reso * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopFinalResult1> beginStop(String resourceGroupName, + SyncPoller, StopFinalResult> beginStop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context); /** @@ -523,7 +523,7 @@ SyncPoller, StopFinalResult1> beginStop(String reso * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName); + Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName); /** * Stops the specified connection monitor. @@ -537,7 +537,7 @@ SyncPoller, StopFinalResult1> beginStop(String reso * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopFinalResult1 stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName); + StopFinalResult stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName); /** * Stops the specified connection monitor. @@ -552,6 +552,6 @@ SyncPoller, StopFinalResult1> beginStop(String reso * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopFinalResult1 stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, + StopFinalResult stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java index 46d507b606c3..f73a30207b65 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java @@ -6,12 +6,12 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; import com.azure.core.util.Context; -import com.azure.resourcemanager.network.fluent.models.EffectiveBaseSecurityAdminRuleInner; -import com.azure.resourcemanager.network.fluent.models.EffectiveConnectivityConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveConnectivityConfigurationListResultInner; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveSecurityAdminRulesListResultInner; import com.azure.resourcemanager.network.models.QueryRequestOptions; +import reactor.core.publisher.Mono; /** * An instance of this class provides access to all the operations defined in EffectiveConfigurationsClient. @@ -28,12 +28,13 @@ public interface EffectiveConfigurationsClient { * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with - * {@link PagedFlux}. + * @return result of the request to list networkManagerEffectiveConnectivityConfiguration along with + * {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listNetworkManagerEffectiveConnectivityConfigurationsAsync( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> + listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top); /** * List all effective connectivity configurations applied on a virtual network. @@ -44,12 +45,13 @@ PagedFlux listNetworkManagerEffectiveCo * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with - * {@link PagedFlux}. + * @return result of the request to list networkManagerEffectiveConnectivityConfiguration on successful completion + * of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listNetworkManagerEffectiveConnectivityConfigurationsAsync( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono + listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters); /** * List all effective connectivity configurations applied on a virtual network. @@ -57,15 +59,19 @@ PagedFlux listNetworkManagerEffectiveCo * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with - * {@link PagedIterable}. + * @return result of the request to list networkManagerEffectiveConnectivityConfiguration along with + * {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listNetworkManagerEffectiveConnectivityConfigurations( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Response + listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context); /** * List all effective connectivity configurations applied on a virtual network. @@ -73,19 +79,15 @@ PagedIterable listNetworkManagerEffecti * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with - * {@link PagedIterable}. + * @return result of the request to list networkManagerEffectiveConnectivityConfiguration. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listNetworkManagerEffectiveConnectivityConfigurations( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkManagerEffectiveConnectivityConfigurationListResultInner + listNetworkManagerEffectiveConnectivityConfigurations(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters); /** * List all effective security admin rules applied on a virtual network. @@ -98,12 +100,13 @@ PagedIterable listNetworkManagerEffecti * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with - * {@link PagedFlux}. + * @return result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on + * successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listNetworkManagerEffectiveSecurityAdminRulesAsync( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> + listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top); /** * List all effective security admin rules applied on a virtual network. @@ -114,11 +117,11 @@ PagedFlux listNetworkManagerEffectiveSecuri * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with - * {@link PagedFlux}. + * @return result of the request to list networkManagerEffectiveSecurityAdminRules on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listNetworkManagerEffectiveSecurityAdminRulesAsync( + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listNetworkManagerEffectiveSecurityAdminRulesAsync( String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); /** @@ -127,15 +130,18 @@ PagedFlux listNetworkManagerEffectiveSecuri * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with - * {@link PagedIterable}. + * @return result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listNetworkManagerEffectiveSecurityAdminRules( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Response + listNetworkManagerEffectiveSecurityAdminRulesWithResponse(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters, Integer top, Context context); /** * List all effective security admin rules applied on a virtual network. @@ -143,17 +149,12 @@ PagedIterable listNetworkManagerEffectiveSe * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with - * {@link PagedIterable}. + * @return result of the request to list networkManagerEffectiveSecurityAdminRules. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listNetworkManagerEffectiveSecurityAdminRules( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkManagerEffectiveSecurityAdminRulesListResultInner listNetworkManagerEffectiveSecurityAdminRules( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java index 4b35a384c638..460f70a44bd5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java @@ -6,14 +6,13 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.PagedFlux; -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.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionInner; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionListInner; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -311,10 +310,11 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return expressRouteConnection list as paginated response with {@link PagedFlux}. + * @return expressRouteConnection list along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String expressRouteGatewayName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> listWithResponseAsync(String resourceGroupName, + String expressRouteGatewayName); /** * Lists ExpressRouteConnections. @@ -324,10 +324,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return expressRouteConnection list as paginated response with {@link PagedIterable}. + * @return expressRouteConnection list on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String expressRouteGatewayName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listAsync(String resourceGroupName, String expressRouteGatewayName); /** * Lists ExpressRouteConnections. @@ -338,9 +338,22 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return expressRouteConnection list as paginated response with {@link PagedIterable}. + * @return expressRouteConnection list along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String expressRouteGatewayName, + @ServiceMethod(returns = ReturnType.SINGLE) + Response listWithResponse(String resourceGroupName, String expressRouteGatewayName, Context context); + + /** + * Lists ExpressRouteConnections. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param expressRouteGatewayName The name of the ExpressRoute gateway. + * @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 expressRouteConnection list. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ExpressRouteConnectionListInner list(String resourceGroupName, String expressRouteGatewayName); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java index 4e27f0ee7cf2..a4c20d1c4dc4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java @@ -6,18 +6,16 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.PagedFlux; -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.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ExpressRouteGatewayInner; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteGatewayListInner; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -25,8 +23,8 @@ /** * An instance of this class provides access to all the operations defined in ExpressRouteGatewaysClient. */ -public interface ExpressRouteGatewaysClient extends InnerSupportsGet, - InnerSupportsListing, InnerSupportsDelete { +public interface ExpressRouteGatewaysClient + extends InnerSupportsGet, InnerSupportsDelete { /** * Fetches the details of a ExpressRoute gateway in a resource group. * @@ -405,10 +403,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways as paginated response with {@link PagedFlux}. + * @return list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> listByResourceGroupWithResponseAsync(String resourceGroupName); /** * Lists ExpressRoute gateways in a given resource group. @@ -417,10 +415,10 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways as paginated response with {@link PagedIterable}. + * @return list of ExpressRoute gateways on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listByResourceGroupAsync(String resourceGroupName); /** * Lists ExpressRoute gateways in a given resource group. @@ -430,30 +428,42 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways as paginated response with {@link PagedIterable}. + * @return list of ExpressRoute gateways along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response listByResourceGroupWithResponse(String resourceGroupName, Context context); + + /** + * Lists ExpressRoute gateways in a given 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 list of ExpressRoute gateways. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + ExpressRouteGatewayListInner listByResourceGroup(String resourceGroupName); /** * Lists ExpressRoute gateways under a given subscription. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways as paginated response with {@link PagedFlux}. + * @return list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> listBySubscriptionWithResponseAsync(); /** * Lists ExpressRoute gateways under a given subscription. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways as paginated response with {@link PagedIterable}. + * @return list of ExpressRoute gateways on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listBySubscriptionAsync(); /** * Lists ExpressRoute gateways under a given subscription. @@ -462,8 +472,18 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of ExpressRoute gateways as paginated response with {@link PagedIterable}. + * @return list of ExpressRoute gateways along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response listBySubscriptionWithResponse(Context context); + + /** + * Lists ExpressRoute gateways under a given subscription. + * + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of ExpressRoute gateways. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + ExpressRouteGatewayListInner listBySubscription(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java index 294f7ba23948..bea0de81ce95 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java @@ -6,11 +6,10 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azure.core.util.Context; import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesInner; +import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesListInner; import reactor.core.publisher.Mono; /** @@ -205,10 +204,12 @@ SignaturesOverridesInner patch(String resourceGroupName, String firewallPolicyNa * @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 describes an object containing an array with a single item as paginated response with {@link PagedFlux}. + * @return describes an object containing an array with a single item along with {@link Response} on successful + * completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String firewallPolicyName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> listWithResponseAsync(String resourceGroupName, + String firewallPolicyName); /** * Returns all signatures overrides objects for a specific policy as a list containing a single value. @@ -218,11 +219,10 @@ SignaturesOverridesInner patch(String resourceGroupName, String firewallPolicyNa * @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 describes an object containing an array with a single item as paginated response with - * {@link PagedIterable}. + * @return describes an object containing an array with a single item on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String firewallPolicyName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listAsync(String resourceGroupName, String firewallPolicyName); /** * Returns all signatures overrides objects for a specific policy as a list containing a single value. @@ -233,9 +233,22 @@ SignaturesOverridesInner patch(String resourceGroupName, String firewallPolicyNa * @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 describes an object containing an array with a single item as paginated response with - * {@link PagedIterable}. + * @return describes an object containing an array with a single item along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response listWithResponse(String resourceGroupName, String firewallPolicyName, + Context context); + + /** + * Returns all signatures overrides objects for a specific policy as a list containing a single value. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param firewallPolicyName The name of the Firewall Policy. + * @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 describes an object containing an array with a single item. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String firewallPolicyName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + SignaturesOverridesListInner list(String resourceGroupName, String firewallPolicyName); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java index f871df451db3..5ae7cfc7962b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java @@ -6,11 +6,11 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; import com.azure.core.util.Context; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerDeploymentStatusInner; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerDeploymentStatusListResultInner; import com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatusParameter; +import reactor.core.publisher.Mono; /** * An instance of this class provides access to all the operations defined in @@ -28,11 +28,12 @@ public interface NetworkManagerDeploymentStatusOperationsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of Network Manager Deployment Status as paginated response with {@link PagedFlux}. + * @return a list of Network Manager Deployment Status along with {@link Response} on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, - NetworkManagerDeploymentStatusParameter parameters, Integer top); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> listWithResponseAsync(String resourceGroupName, + String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, Integer top); /** * Post to List of Network Manager Deployment Status. @@ -43,10 +44,10 @@ PagedFlux listAsync(String resourceGroupNam * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of Network Manager Deployment Status as paginated response with {@link PagedFlux}. + * @return a list of Network Manager Deployment Status on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String networkManagerName, + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listAsync(String resourceGroupName, String networkManagerName, NetworkManagerDeploymentStatusParameter parameters); /** @@ -55,14 +56,17 @@ PagedFlux listAsync(String resourceGroupNam * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of Network Manager Deployment Status as paginated response with {@link PagedIterable}. + * @return a list of Network Manager Deployment Status along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - NetworkManagerDeploymentStatusParameter parameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Response listWithResponse(String resourceGroupName, + String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, Integer top, Context context); /** * Post to List of Network Manager Deployment Status. @@ -70,15 +74,12 @@ PagedIterable list(String resourceGroupName * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of Network Manager Deployment Status as paginated response with {@link PagedIterable}. + * @return a list of Network Manager Deployment Status. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String networkManagerName, - NetworkManagerDeploymentStatusParameter parameters, Integer top, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkManagerDeploymentStatusListResultInner list(String resourceGroupName, String networkManagerName, + NetworkManagerDeploymentStatusParameter parameters); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java index 1204c85bb9ca..941603566c0d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java @@ -13,8 +13,8 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.ActiveBaseSecurityAdminRuleInner; -import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationsListResultInner; +import com.azure.resourcemanager.network.fluent.models.ActiveSecurityAdminRulesListResultInner; import com.azure.resourcemanager.network.fluent.models.NetworkManagerInner; import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; import com.azure.resourcemanager.network.models.PatchObject; @@ -459,12 +459,13 @@ PagedIterable listByResourceGroup(String resourceGroupName, * @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 result of the request to list active connectivity configurations as paginated response with - * {@link PagedFlux}. + * @return result of the request to list active connectivity configurations along with {@link Response} on + * successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listActiveConnectivityConfigurationsAsync(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters, Integer top); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> + listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, + ActiveConfigurationParameter parameters, Integer top); /** * Lists active connectivity configurations in a network manager. @@ -475,12 +476,12 @@ PagedFlux listActiveConnectivityConfigurat * @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 result of the request to list active connectivity configurations as paginated response with - * {@link PagedFlux}. + * @return result of the request to list active connectivity configurations on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listActiveConnectivityConfigurationsAsync(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listActiveConnectivityConfigurationsAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters); /** * Lists active connectivity configurations in a network manager. @@ -488,15 +489,18 @@ PagedFlux listActiveConnectivityConfigurat * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active connectivity configurations as paginated response with - * {@link PagedIterable}. + * @return result of the request to list active connectivity configurations along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listActiveConnectivityConfigurations(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Response listActiveConnectivityConfigurationsWithResponse( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, + Context context); /** * Lists active connectivity configurations in a network manager. @@ -504,18 +508,14 @@ PagedIterable listActiveConnectivityConfig * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations as paginated response with - * {@link PagedIterable}. + * @return result of the request to list active connectivity configurations. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listActiveConnectivityConfigurations(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + ActiveConnectivityConfigurationsListResultInner listActiveConnectivityConfigurations(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters); /** * Lists active security admin rules in a network manager. @@ -528,11 +528,12 @@ PagedIterable listActiveConnectivityConfig * @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 result of the request to list active security admin rules as paginated response with {@link PagedFlux}. + * @return result of the request to list active security admin rules along with {@link Response} on successful + * completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listActiveSecurityAdminRulesAsync(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters, Integer top); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> listActiveSecurityAdminRulesWithResponseAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top); /** * Lists active security admin rules in a network manager. @@ -543,10 +544,10 @@ PagedFlux listActiveSecurityAdminRulesAsync(St * @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 result of the request to list active security admin rules as paginated response with {@link PagedFlux}. + * @return result of the request to list active security admin rules on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listActiveSecurityAdminRulesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listActiveSecurityAdminRulesAsync(String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters); /** @@ -555,15 +556,17 @@ PagedFlux listActiveSecurityAdminRulesAsync(St * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active security admin rules as paginated response with - * {@link PagedIterable}. + * @return result of the request to list active security admin rules along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listActiveSecurityAdminRules(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters); + @ServiceMethod(returns = ReturnType.SINGLE) + Response listActiveSecurityAdminRulesWithResponse(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context); /** * Lists active security admin rules in a network manager. @@ -571,16 +574,12 @@ PagedIterable listActiveSecurityAdminRules(Str * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules as paginated response with - * {@link PagedIterable}. + * @return result of the request to list active security admin rules. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listActiveSecurityAdminRules(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + ActiveSecurityAdminRulesListResultInner listActiveSecurityAdminRules(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java index 7f781f250bd5..850ba46d9c88 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java @@ -6,14 +6,13 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.PagedFlux; -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.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.SwapResourceInner; +import com.azure.resourcemanager.network.fluent.models.SwapResourceListResultInner; import com.azure.resourcemanager.network.models.SingletonResource; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -217,11 +216,11 @@ void create(String groupName, String resourceName, SingletonResource singletonRe * @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 list of SwapResource which identifies the slot type for the specified cloud service as paginated - * response with {@link PagedFlux}. + * @return the list of SwapResource which identifies the slot type for the specified cloud service along with + * {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String groupName, String resourceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> listWithResponseAsync(String groupName, String resourceName); /** * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a @@ -232,11 +231,11 @@ void create(String groupName, String resourceName, SingletonResource singletonRe * @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 list of SwapResource which identifies the slot type for the specified cloud service as paginated - * response with {@link PagedIterable}. + * @return the list of SwapResource which identifies the slot type for the specified cloud service on successful + * completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String groupName, String resourceName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listAsync(String groupName, String resourceName); /** * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a @@ -248,9 +247,23 @@ void create(String groupName, String resourceName, SingletonResource singletonRe * @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 list of SwapResource which identifies the slot type for the specified cloud service as paginated - * response with {@link PagedIterable}. + * @return the list of SwapResource which identifies the slot type for the specified cloud service along with + * {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String groupName, String resourceName, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + Response listWithResponse(String groupName, String resourceName, Context context); + + /** + * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a + * cloud service can either be Staging or Production. + * + * @param groupName The groupName parameter. + * @param resourceName The name of the cloud service. + * @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 list of SwapResource which identifies the slot type for the specified cloud service. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + SwapResourceListResultInner list(String groupName, String resourceName); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java index 91e32360808d..977adc09cb92 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java @@ -13,8 +13,8 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.EffectiveRouteMapRouteInner; -import com.azure.resourcemanager.network.fluent.models.VirtualHubEffectiveRouteInner; +import com.azure.resourcemanager.network.fluent.models.EffectiveRouteMapRouteListInner; +import com.azure.resourcemanager.network.fluent.models.VirtualHubEffectiveRouteListInner; import com.azure.resourcemanager.network.fluent.models.VirtualHubInner; import com.azure.resourcemanager.network.models.EffectiveRoutesParameters; import com.azure.resourcemanager.network.models.GetInboundRoutesParameters; @@ -423,11 +423,11 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @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 effective routes configured for the Virtual Hub resource or the specified resource as paginated - * response with {@link PagedFlux}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource along with + * {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getEffectiveVirtualHubRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getEffectiveVirtualHubRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters); /** @@ -435,15 +435,17 @@ PagedFlux getEffectiveVirtualHubRoutesAsync(Strin * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. + * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated - * response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of the effective routes configured for the Virtual Hub resource or the + * specified resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getEffectiveVirtualHubRoutesAsync(String resourceGroupName, - String virtualHubName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, VirtualHubEffectiveRouteListInner> + beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, + EffectiveRoutesParameters effectiveRoutesParameters); /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . @@ -453,13 +455,90 @@ PagedFlux getEffectiveVirtualHubRoutesAsync(Strin * @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 effective routes configured for the Virtual Hub resource or the specified resource as paginated - * response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of the effective routes configured for the Virtual Hub resource or the + * specified resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getEffectiveVirtualHubRoutes(String resourceGroupName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, VirtualHubEffectiveRouteListInner> + beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName); + + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the effective routes configured for the Virtual Hub resource or the + * specified resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, VirtualHubEffectiveRouteListInner> + beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName); + + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the effective routes configured for the Virtual Hub resource or the + * specified resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, VirtualHubEffectiveRouteListInner> + beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, + EffectiveRoutesParameters effectiveRoutesParameters, Context context); + + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the effective routes configured for the Virtual Hub resource or the specified resource on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getEffectiveVirtualHubRoutesAsync(String resourceGroupName, + String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters); + + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @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 effective routes configured for the Virtual Hub resource or the specified resource on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName); + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @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 effective routes configured for the Virtual Hub resource or the specified resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VirtualHubEffectiveRouteListInner getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName); + /** * Gets the effective routes configured for the Virtual Hub resource or the specified resource . * @@ -470,12 +549,11 @@ PagedIterable getEffectiveVirtualHubRoutes(String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the effective routes configured for the Virtual Hub resource or the specified resource as paginated - * response with {@link PagedIterable}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getEffectiveVirtualHubRoutes(String resourceGroupName, - String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + VirtualHubEffectiveRouteListInner getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, + EffectiveRoutesParameters effectiveRoutesParameters, Context context); /** * Gets the inbound routes configured for the Virtual Hub on a particular connection. @@ -486,11 +564,11 @@ PagedIterable getEffectiveVirtualHubRoutes(String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the inbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedFlux}. + * @return the inbound routes configured for the Virtual Hub on a particular connection along with {@link Response} + * on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getInboundRoutesAsync(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getInboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters); /** @@ -502,11 +580,76 @@ PagedFlux getInboundRoutesAsync(String resourceGrou * @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 inbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of the inbound routes configured for the Virtual Hub on a particular + * connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getInboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, EffectiveRouteMapRouteListInner> beginGetInboundRoutesAsync( + String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters); + + /** + * Gets the inbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the inbound routes configured for the Virtual Hub on a particular + * connection. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, EffectiveRouteMapRouteListInner> beginGetInboundRoutes( + String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters); + + /** + * Gets the inbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the inbound routes configured for the Virtual Hub on a particular + * connection. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, EffectiveRouteMapRouteListInner> beginGetInboundRoutes( + String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, + Context context); + + /** + * Gets the inbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the inbound routes configured for the Virtual Hub on a particular connection on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getInboundRoutesAsync(String resourceGroupName, String virtualHubName, + GetInboundRoutesParameters getInboundRoutesParameters); + + /** + * Gets the inbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the inbound routes configured for the Virtual Hub on a particular connection. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + EffectiveRouteMapRouteListInner getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters); /** @@ -519,11 +662,10 @@ PagedIterable getInboundRoutes(String resourceGroup * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the inbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedIterable}. + * @return the inbound routes configured for the Virtual Hub on a particular connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getInboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.SINGLE) + EffectiveRouteMapRouteListInner getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Context context); /** @@ -535,11 +677,11 @@ PagedIterable getInboundRoutes(String resourceGroup * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the outbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedFlux}. + * @return the outbound routes configured for the Virtual Hub on a particular connection along with {@link Response} + * on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getOutboundRoutesAsync(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getOutboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters); /** @@ -551,11 +693,77 @@ PagedFlux getOutboundRoutesAsync(String resourceGro * @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 outbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of the outbound routes configured for the Virtual Hub on a particular + * connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getOutboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, EffectiveRouteMapRouteListInner> + beginGetOutboundRoutesAsync(String resourceGroupName, String virtualHubName, + GetOutboundRoutesParameters getOutboundRoutesParameters); + + /** + * Gets the outbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the outbound routes configured for the Virtual Hub on a particular + * connection. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, EffectiveRouteMapRouteListInner> beginGetOutboundRoutes( + String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters); + + /** + * Gets the outbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the outbound routes configured for the Virtual Hub on a particular + * connection. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, EffectiveRouteMapRouteListInner> beginGetOutboundRoutes( + String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, + Context context); + + /** + * Gets the outbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the outbound routes configured for the Virtual Hub on a particular connection on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getOutboundRoutesAsync(String resourceGroupName, String virtualHubName, + GetOutboundRoutesParameters getOutboundRoutesParameters); + + /** + * Gets the outbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the outbound routes configured for the Virtual Hub on a particular connection. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + EffectiveRouteMapRouteListInner getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters); /** @@ -568,10 +776,9 @@ PagedIterable getOutboundRoutes(String resourceGrou * @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 outbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedIterable}. + * @return the outbound routes configured for the Virtual Hub on a particular connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getOutboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.SINGLE) + EffectiveRouteMapRouteListInner getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java index 0b9d00270421..1700ed834617 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java @@ -13,20 +13,20 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.BgpPeerStatusInner; +import com.azure.resourcemanager.network.fluent.models.BgpPeerStatusListResultInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteFailoverSingleTestDetailsInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteFailoverTestDetailsInner; import com.azure.resourcemanager.network.fluent.models.GatewayResiliencyInformationInner; -import com.azure.resourcemanager.network.fluent.models.GatewayRouteInner; +import com.azure.resourcemanager.network.fluent.models.GatewayRouteListResultInner; import com.azure.resourcemanager.network.fluent.models.GatewayRouteSetsInformationInner; import com.azure.resourcemanager.network.fluent.models.RadiusAuthServerListResultInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionListEntityInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayInner; -import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailInner; +import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailListResultInner; import com.azure.resourcemanager.network.fluent.models.VpnClientIPsecParametersInner; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse; import com.azure.resourcemanager.network.models.DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult; import com.azure.resourcemanager.network.models.ExpressRouteFailoverStopApiParameters; -import com.azure.resourcemanager.network.models.GenerateVpnProfileFinalResult; import com.azure.resourcemanager.network.models.GeneratevpnclientpackageFinalResult; import com.azure.resourcemanager.network.models.GetVpnProfilePackageUrlFinalResult; import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; @@ -875,7 +875,7 @@ Mono>> generateVpnProfileWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, GenerateVpnProfileFinalResult> beginGenerateVpnProfileAsync( + PollerFlux, ArmAcceptedLroResponse> beginGenerateVpnProfileAsync( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -891,7 +891,7 @@ PollerFlux, GenerateVpnProfileFinalRes * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GenerateVpnProfileFinalResult> beginGenerateVpnProfile( + SyncPoller, ArmAcceptedLroResponse> beginGenerateVpnProfile( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -908,7 +908,7 @@ SyncPoller, GenerateVpnProfileFinalRes * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GenerateVpnProfileFinalResult> beginGenerateVpnProfile( + SyncPoller, ArmAcceptedLroResponse> beginGenerateVpnProfile( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** @@ -924,8 +924,8 @@ SyncPoller, GenerateVpnProfileFinalRes * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono generateVpnProfileAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters); + Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for @@ -940,7 +940,7 @@ Mono generateVpnProfileAsync(String resourceGroup * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - GenerateVpnProfileFinalResult generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + ArmAcceptedLroResponse generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -957,7 +957,7 @@ GenerateVpnProfileFinalResult generateVpnProfile(String resourceGroupName, Strin * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - GenerateVpnProfileFinalResult generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + ArmAcceptedLroResponse generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** @@ -1081,10 +1081,84 @@ GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourceGroupN * @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 paginated response with {@link PagedFlux}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getBgpPeerStatusWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName, String peer); + + /** + * The GetBgpPeerStatus operation retrieves the status of all BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer to retrieve the status of. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, BgpPeerStatusListResultInner> + beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer); + + /** + * The GetBgpPeerStatus operation retrieves the status of all BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, BgpPeerStatusListResultInner> + beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName); + + /** + * The GetBgpPeerStatus operation retrieves the status of all BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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, BgpPeerStatusListResultInner> + beginGetBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName); + + /** + * The GetBgpPeerStatus operation retrieves the status of all BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer to retrieve the status of. + * @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, BgpPeerStatusListResultInner> + beginGetBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context); + + /** + * The GetBgpPeerStatus operation retrieves the status of all BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer to retrieve the status of. + * @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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer); /** @@ -1095,10 +1169,11 @@ PagedFlux getBgpPeerStatusAsync(String resourceGroupName, St * @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 paginated response with {@link PagedFlux}. + * @return the response body on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getBgpPeerStatusAsync(String resourceGroupName, + String virtualNetworkGatewayName); /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. @@ -1108,10 +1183,10 @@ PagedFlux getBgpPeerStatusAsync(String resourceGroupName, St * @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 paginated response with {@link PagedIterable}. + * @return the response. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName); + @ServiceMethod(returns = ReturnType.SINGLE) + BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName); /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. @@ -1123,10 +1198,10 @@ PagedFlux getBgpPeerStatusAsync(String resourceGroupName, St * @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 paginated response with {@link PagedIterable}. + * @return the response. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.SINGLE) + BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context); /** @@ -1251,10 +1326,11 @@ Response listRadiusSecretsWithResponse(String r * @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 paginated response with {@link PagedFlux}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getLearnedRoutesWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName); /** * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from @@ -1265,10 +1341,26 @@ Response listRadiusSecretsWithResponse(String r * @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 paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, GatewayRouteListResultInner> + beginGetLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName); + + /** + * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from + * BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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, GatewayRouteListResultInner> + beginGetLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName); /** * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from @@ -1280,10 +1372,54 @@ Response listRadiusSecretsWithResponse(String r * @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 paginated response with {@link PagedIterable}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, GatewayRouteListResultInner> + beginGetLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, Context context); + + /** + * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from + * BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName); + + /** + * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from + * BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + GatewayRouteListResultInner getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName); + + /** + * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from + * BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + GatewayRouteListResultInner getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, Context context); /** @@ -1295,11 +1431,11 @@ PagedIterable getLearnedRoutes(String resourceGroupName, Stri * @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 paginated response with {@link PagedFlux}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, - String peer); + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getAdvertisedRoutesWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName, String peer); /** * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. @@ -1310,10 +1446,71 @@ PagedFlux getAdvertisedRoutesAsync(String resourceGroupName, * @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 paginated response with {@link PagedIterable}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, GatewayRouteListResultInner> + beginGetAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer); + + /** + * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer. + * @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, GatewayRouteListResultInner> + beginGetAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer); + + /** + * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer. + * @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, GatewayRouteListResultInner> beginGetAdvertisedRoutes( + String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context); + + /** + * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer. + * @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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAdvertisedRoutesAsync(String resourceGroupName, + String virtualNetworkGatewayName, String peer); + + /** + * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + GatewayRouteListResultInner getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer); /** @@ -1326,10 +1523,10 @@ PagedIterable getAdvertisedRoutes(String resourceGroupName, S * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the paginated response with {@link PagedIterable}. + * @return the response. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.SINGLE) + GatewayRouteListResultInner getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context); /** @@ -2570,12 +2767,61 @@ StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFailoverSi * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group as paginated response with {@link PagedFlux}. + * specified resource group along with {@link Response} on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getVpnclientConnectionHealthAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getVpnclientConnectionHealthWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName); + /** + * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified + * resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 PollerFlux} for polling of vPN client connection health detail per P2S client connection of + * the virtual network gateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, VpnClientConnectionHealthDetailListResultInner> + beginGetVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName); + + /** + * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified + * resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 vPN client connection health detail per P2S client connection of + * the virtual network gateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, VpnClientConnectionHealthDetailListResultInner> + beginGetVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName); + + /** + * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified + * resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 vPN client connection health detail per P2S client connection of + * the virtual network gateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, VpnClientConnectionHealthDetailListResultInner> + beginGetVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName, Context context); + /** * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified * resource group. @@ -2586,10 +2832,26 @@ PagedFlux getVpnclientConnectionHealthAsyn * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group as paginated response with {@link PagedIterable}. + * specified resource group on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getVpnclientConnectionHealth(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getVpnclientConnectionHealthAsync(String resourceGroupName, + String virtualNetworkGatewayName); + + /** + * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified + * resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the + * specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VpnClientConnectionHealthDetailListResultInner getVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName); /** @@ -2603,10 +2865,10 @@ PagedIterable getVpnclientConnectionHealth * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group as paginated response with {@link PagedIterable}. + * specified resource group. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getVpnclientConnectionHealth(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + VpnClientConnectionHealthDetailListResultInner getVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName, Context context); /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveConnectivityConfigurationsListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java similarity index 75% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveConnectivityConfigurationsListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java index 1cf0a59bbca3..3205201b7a86 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveConnectivityConfigurationsListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java @@ -2,14 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.ActiveConnectivityConfigurationInner; +import com.azure.resourcemanager.network.models.ActiveConnectivityConfiguration; import java.io.IOException; import java.util.List; @@ -18,12 +18,12 @@ * configurations and a skiptoken to get the next set of results. */ @Immutable -public final class ActiveConnectivityConfigurationsListResult - implements JsonSerializable { +public final class ActiveConnectivityConfigurationsListResultInner + implements JsonSerializable { /* * Gets a page of active connectivity configurations. */ - private List value; + private List value; /* * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in @@ -32,9 +32,9 @@ public final class ActiveConnectivityConfigurationsListResult private String skipToken; /** - * Creates an instance of ActiveConnectivityConfigurationsListResult class. + * Creates an instance of ActiveConnectivityConfigurationsListResultInner class. */ - private ActiveConnectivityConfigurationsListResult() { + private ActiveConnectivityConfigurationsListResultInner() { } /** @@ -42,7 +42,7 @@ private ActiveConnectivityConfigurationsListResult() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -79,33 +79,33 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ActiveConnectivityConfigurationsListResult from the JsonReader. + * Reads an instance of ActiveConnectivityConfigurationsListResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ActiveConnectivityConfigurationsListResult 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 ActiveConnectivityConfigurationsListResult. + * @return An instance of ActiveConnectivityConfigurationsListResultInner 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 ActiveConnectivityConfigurationsListResultInner. */ - public static ActiveConnectivityConfigurationsListResult fromJson(JsonReader jsonReader) throws IOException { + public static ActiveConnectivityConfigurationsListResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ActiveConnectivityConfigurationsListResult deserializedActiveConnectivityConfigurationsListResult - = new ActiveConnectivityConfigurationsListResult(); + ActiveConnectivityConfigurationsListResultInner deserializedActiveConnectivityConfigurationsListResultInner + = new ActiveConnectivityConfigurationsListResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> ActiveConnectivityConfigurationInner.fromJson(reader1)); - deserializedActiveConnectivityConfigurationsListResult.value = value; + List value + = reader.readArray(reader1 -> ActiveConnectivityConfiguration.fromJson(reader1)); + deserializedActiveConnectivityConfigurationsListResultInner.value = value; } else if ("skipToken".equals(fieldName)) { - deserializedActiveConnectivityConfigurationsListResult.skipToken = reader.getString(); + deserializedActiveConnectivityConfigurationsListResultInner.skipToken = reader.getString(); } else { reader.skipChildren(); } } - return deserializedActiveConnectivityConfigurationsListResult; + return deserializedActiveConnectivityConfigurationsListResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveSecurityAdminRulesListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveSecurityAdminRulesListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java index 99e8143517e6..0e9e0edd68b6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveSecurityAdminRulesListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java @@ -2,14 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.ActiveBaseSecurityAdminRuleInner; +import com.azure.resourcemanager.network.models.ActiveBaseSecurityAdminRule; import java.io.IOException; import java.util.List; @@ -18,11 +18,12 @@ * skiptoken to get the next set of results. */ @Immutable -public final class ActiveSecurityAdminRulesListResult implements JsonSerializable { +public final class ActiveSecurityAdminRulesListResultInner + implements JsonSerializable { /* * Gets a page of active security admin rules. */ - private List value; + private List value; /* * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in @@ -31,9 +32,9 @@ public final class ActiveSecurityAdminRulesListResult implements JsonSerializabl private String skipToken; /** - * Creates an instance of ActiveSecurityAdminRulesListResult class. + * Creates an instance of ActiveSecurityAdminRulesListResultInner class. */ - private ActiveSecurityAdminRulesListResult() { + private ActiveSecurityAdminRulesListResultInner() { } /** @@ -41,7 +42,7 @@ private ActiveSecurityAdminRulesListResult() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -78,33 +79,33 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ActiveSecurityAdminRulesListResult from the JsonReader. + * Reads an instance of ActiveSecurityAdminRulesListResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ActiveSecurityAdminRulesListResult 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 ActiveSecurityAdminRulesListResult. + * @return An instance of ActiveSecurityAdminRulesListResultInner 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 ActiveSecurityAdminRulesListResultInner. */ - public static ActiveSecurityAdminRulesListResult fromJson(JsonReader jsonReader) throws IOException { + public static ActiveSecurityAdminRulesListResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ActiveSecurityAdminRulesListResult deserializedActiveSecurityAdminRulesListResult - = new ActiveSecurityAdminRulesListResult(); + ActiveSecurityAdminRulesListResultInner deserializedActiveSecurityAdminRulesListResultInner + = new ActiveSecurityAdminRulesListResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> ActiveBaseSecurityAdminRuleInner.fromJson(reader1)); - deserializedActiveSecurityAdminRulesListResult.value = value; + List value + = reader.readArray(reader1 -> ActiveBaseSecurityAdminRule.fromJson(reader1)); + deserializedActiveSecurityAdminRulesListResultInner.value = value; } else if ("skipToken".equals(fieldName)) { - deserializedActiveSecurityAdminRulesListResult.skipToken = reader.getString(); + deserializedActiveSecurityAdminRulesListResultInner.skipToken = reader.getString(); } else { reader.skipChildren(); } } - return deserializedActiveSecurityAdminRulesListResult; + return deserializedActiveSecurityAdminRulesListResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java similarity index 60% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java index 758636688a3c..fe402e5f8e58 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java @@ -2,14 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.BgpPeerStatusInner; +import com.azure.resourcemanager.network.models.BgpPeerStatus; import java.io.IOException; import java.util.List; @@ -17,16 +17,16 @@ * Response for list BGP peer status API service call. */ @Immutable -public final class BgpPeerStatusListResult implements JsonSerializable { +public final class BgpPeerStatusListResultInner implements JsonSerializable { /* * List of BGP peers. */ - private List value; + private List value; /** - * Creates an instance of BgpPeerStatusListResult class. + * Creates an instance of BgpPeerStatusListResultInner class. */ - private BgpPeerStatusListResult() { + private BgpPeerStatusListResultInner() { } /** @@ -34,7 +34,7 @@ private BgpPeerStatusListResult() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -60,29 +60,29 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of BgpPeerStatusListResult from the JsonReader. + * Reads an instance of BgpPeerStatusListResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of BgpPeerStatusListResult 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 BgpPeerStatusListResult. + * @return An instance of BgpPeerStatusListResultInner 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 BgpPeerStatusListResultInner. */ - public static BgpPeerStatusListResult fromJson(JsonReader jsonReader) throws IOException { + public static BgpPeerStatusListResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BgpPeerStatusListResult deserializedBgpPeerStatusListResult = new BgpPeerStatusListResult(); + BgpPeerStatusListResultInner deserializedBgpPeerStatusListResultInner = new BgpPeerStatusListResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value = reader.readArray(reader1 -> BgpPeerStatusInner.fromJson(reader1)); - deserializedBgpPeerStatusListResult.value = value; + List value = reader.readArray(reader1 -> BgpPeerStatus.fromJson(reader1)); + deserializedBgpPeerStatusListResultInner.value = value; } else { reader.skipChildren(); } } - return deserializedBgpPeerStatusListResult; + return deserializedBgpPeerStatusListResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java index 863db2941a6d..757f76a8f777 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java @@ -4,7 +4,7 @@ package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Immutable; +import com.azure.core.annotation.Fluent; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -25,23 +25,13 @@ /** * Information about the connection monitor. */ -@Immutable +@Fluent public final class ConnectionMonitorResultInner extends TrackedResourcewithOptionalLocation { /* * Properties of the connection monitor result. */ private ConnectionMonitorResultProperties innerProperties; - /* - * Connection monitor tags. - */ - private Map tags; - - /* - * Connection monitor location. - */ - private String location; - /* * A unique read-only string that changes whenever the resource is updated. */ @@ -65,7 +55,7 @@ public final class ConnectionMonitorResultInner extends TrackedResourcewithOptio /** * Creates an instance of ConnectionMonitorResultInner class. */ - private ConnectionMonitorResultInner() { + public ConnectionMonitorResultInner() { } /** @@ -77,26 +67,6 @@ private ConnectionMonitorResultProperties innerProperties() { return this.innerProperties; } - /** - * Get the tags property: Connection monitor tags. - * - * @return the tags value. - */ - @Override - public Map tags() { - return this.tags; - } - - /** - * Get the location property: Connection monitor location. - * - * @return the location value. - */ - @Override - public String location() { - return this.location; - } - /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -137,6 +107,24 @@ public String id() { return this.id; } + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultInner withLocation(String location) { + super.withLocation(location); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultInner withTags(Map tags) { + super.withTags(tags); + return this; + } + /** * Get the provisioningState property: The provisioning state of the connection monitor. * @@ -182,6 +170,20 @@ public ConnectionMonitorSource source() { return this.innerProperties() == null ? null : this.innerProperties().source(); } + /** + * Set the source property: Describes the source of connection monitor. + * + * @param source the source value to set. + * @return the ConnectionMonitorResultInner object itself. + */ + public ConnectionMonitorResultInner withSource(ConnectionMonitorSource source) { + if (this.innerProperties() == null) { + this.innerProperties = new ConnectionMonitorResultProperties(); + } + this.innerProperties().withSource(source); + return this; + } + /** * Get the destination property: Describes the destination of connection monitor. * @@ -191,6 +193,20 @@ public ConnectionMonitorDestination destination() { return this.innerProperties() == null ? null : this.innerProperties().destination(); } + /** + * Set the destination property: Describes the destination of connection monitor. + * + * @param destination the destination value to set. + * @return the ConnectionMonitorResultInner object itself. + */ + public ConnectionMonitorResultInner withDestination(ConnectionMonitorDestination destination) { + if (this.innerProperties() == null) { + this.innerProperties = new ConnectionMonitorResultProperties(); + } + this.innerProperties().withDestination(destination); + return this; + } + /** * Get the autoStart property: Determines if the connection monitor will start automatically once created. * @@ -200,6 +216,20 @@ public Boolean autoStart() { return this.innerProperties() == null ? null : this.innerProperties().autoStart(); } + /** + * Set the autoStart property: Determines if the connection monitor will start automatically once created. + * + * @param autoStart the autoStart value to set. + * @return the ConnectionMonitorResultInner object itself. + */ + public ConnectionMonitorResultInner withAutoStart(Boolean autoStart) { + if (this.innerProperties() == null) { + this.innerProperties = new ConnectionMonitorResultProperties(); + } + this.innerProperties().withAutoStart(autoStart); + return this; + } + /** * Get the monitoringIntervalInSeconds property: Monitoring interval in seconds. * @@ -209,6 +239,20 @@ public Integer monitoringIntervalInSeconds() { return this.innerProperties() == null ? null : this.innerProperties().monitoringIntervalInSeconds(); } + /** + * Set the monitoringIntervalInSeconds property: Monitoring interval in seconds. + * + * @param monitoringIntervalInSeconds the monitoringIntervalInSeconds value to set. + * @return the ConnectionMonitorResultInner object itself. + */ + public ConnectionMonitorResultInner withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds) { + if (this.innerProperties() == null) { + this.innerProperties = new ConnectionMonitorResultProperties(); + } + this.innerProperties().withMonitoringIntervalInSeconds(monitoringIntervalInSeconds); + return this; + } + /** * Get the endpoints property: List of connection monitor endpoints. * @@ -218,6 +262,20 @@ public List endpoints() { return this.innerProperties() == null ? null : this.innerProperties().endpoints(); } + /** + * Set the endpoints property: List of connection monitor endpoints. + * + * @param endpoints the endpoints value to set. + * @return the ConnectionMonitorResultInner object itself. + */ + public ConnectionMonitorResultInner withEndpoints(List endpoints) { + if (this.innerProperties() == null) { + this.innerProperties = new ConnectionMonitorResultProperties(); + } + this.innerProperties().withEndpoints(endpoints); + return this; + } + /** * Get the testConfigurations property: List of connection monitor test configurations. * @@ -227,6 +285,21 @@ public List testConfigurations() { return this.innerProperties() == null ? null : this.innerProperties().testConfigurations(); } + /** + * Set the testConfigurations property: List of connection monitor test configurations. + * + * @param testConfigurations the testConfigurations value to set. + * @return the ConnectionMonitorResultInner object itself. + */ + public ConnectionMonitorResultInner + withTestConfigurations(List testConfigurations) { + if (this.innerProperties() == null) { + this.innerProperties = new ConnectionMonitorResultProperties(); + } + this.innerProperties().withTestConfigurations(testConfigurations); + return this; + } + /** * Get the testGroups property: List of connection monitor test groups. * @@ -236,6 +309,20 @@ public List testGroups() { return this.innerProperties() == null ? null : this.innerProperties().testGroups(); } + /** + * Set the testGroups property: List of connection monitor test groups. + * + * @param testGroups the testGroups value to set. + * @return the ConnectionMonitorResultInner object itself. + */ + public ConnectionMonitorResultInner withTestGroups(List testGroups) { + if (this.innerProperties() == null) { + this.innerProperties = new ConnectionMonitorResultProperties(); + } + this.innerProperties().withTestGroups(testGroups); + return this; + } + /** * Get the outputs property: List of connection monitor outputs. * @@ -245,6 +332,20 @@ public List outputs() { return this.innerProperties() == null ? null : this.innerProperties().outputs(); } + /** + * Set the outputs property: List of connection monitor outputs. + * + * @param outputs the outputs value to set. + * @return the ConnectionMonitorResultInner object itself. + */ + public ConnectionMonitorResultInner withOutputs(List outputs) { + if (this.innerProperties() == null) { + this.innerProperties = new ConnectionMonitorResultProperties(); + } + this.innerProperties().withOutputs(outputs); + return this; + } + /** * Get the notes property: Optional notes to be associated with the connection monitor. * @@ -254,6 +355,20 @@ public String notes() { return this.innerProperties() == null ? null : this.innerProperties().notes(); } + /** + * Set the notes property: Optional notes to be associated with the connection monitor. + * + * @param notes the notes value to set. + * @return the ConnectionMonitorResultInner object itself. + */ + public ConnectionMonitorResultInner withNotes(String notes) { + if (this.innerProperties() == null) { + this.innerProperties = new ConnectionMonitorResultProperties(); + } + this.innerProperties().withNotes(notes); + return this; + } + /** * Validates the instance. * @@ -302,10 +417,10 @@ public static ConnectionMonitorResultInner fromJson(JsonReader jsonReader) throw } else if ("etag".equals(fieldName)) { deserializedConnectionMonitorResultInner.etag = reader.getString(); } else if ("location".equals(fieldName)) { - deserializedConnectionMonitorResultInner.location = reader.getString(); + deserializedConnectionMonitorResultInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedConnectionMonitorResultInner.tags = tags; + deserializedConnectionMonitorResultInner.withTags(tags); } else if ("properties".equals(fieldName)) { deserializedConnectionMonitorResultInner.innerProperties = ConnectionMonitorResultProperties.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java index 9c5a80fb694d..7ea4dec4af69 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java @@ -4,7 +4,7 @@ package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Immutable; +import com.azure.core.annotation.Fluent; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -24,7 +24,7 @@ /** * Describes the properties of a connection monitor. */ -@Immutable +@Fluent public final class ConnectionMonitorResultProperties extends ConnectionMonitorParameters { /* * The provisioning state of the connection monitor. @@ -49,7 +49,7 @@ public final class ConnectionMonitorResultProperties extends ConnectionMonitorPa /** * Creates an instance of ConnectionMonitorResultProperties class. */ - private ConnectionMonitorResultProperties() { + public ConnectionMonitorResultProperties() { } /** @@ -88,6 +88,88 @@ public ConnectionMonitorType connectionMonitorType() { return this.connectionMonitorType; } + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultProperties withSource(ConnectionMonitorSource source) { + super.withSource(source); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultProperties withDestination(ConnectionMonitorDestination destination) { + super.withDestination(destination); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultProperties withAutoStart(Boolean autoStart) { + super.withAutoStart(autoStart); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultProperties withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds) { + super.withMonitoringIntervalInSeconds(monitoringIntervalInSeconds); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultProperties withEndpoints(List endpoints) { + super.withEndpoints(endpoints); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultProperties + withTestConfigurations(List testConfigurations) { + super.withTestConfigurations(testConfigurations); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultProperties withTestGroups(List testGroups) { + super.withTestGroups(testGroups); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultProperties withOutputs(List outputs) { + super.withOutputs(outputs); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ConnectionMonitorResultProperties withNotes(String notes) { + super.withNotes(notes); + return this; + } + /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java index d2fd12de13a2..96608e03ae1b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java @@ -178,7 +178,6 @@ public List virtualNetworks() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/EffectiveRouteMapRouteList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java similarity index 61% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/EffectiveRouteMapRouteList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java index 266823574138..f777f5020869 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/EffectiveRouteMapRouteList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java @@ -2,14 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.EffectiveRouteMapRouteInner; +import com.azure.resourcemanager.network.models.EffectiveRouteMapRoute; import java.io.IOException; import java.util.List; @@ -17,16 +17,16 @@ * EffectiveRouteMapRoute List. */ @Immutable -public final class EffectiveRouteMapRouteList implements JsonSerializable { +public final class EffectiveRouteMapRouteListInner implements JsonSerializable { /* * The list of Effective RouteMap Routes configured on the connection resource. */ - private List value; + private List value; /** - * Creates an instance of EffectiveRouteMapRouteList class. + * Creates an instance of EffectiveRouteMapRouteListInner class. */ - private EffectiveRouteMapRouteList() { + private EffectiveRouteMapRouteListInner() { } /** @@ -34,7 +34,7 @@ private EffectiveRouteMapRouteList() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -60,30 +60,31 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of EffectiveRouteMapRouteList from the JsonReader. + * Reads an instance of EffectiveRouteMapRouteListInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of EffectiveRouteMapRouteList 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 EffectiveRouteMapRouteList. + * @return An instance of EffectiveRouteMapRouteListInner 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 EffectiveRouteMapRouteListInner. */ - public static EffectiveRouteMapRouteList fromJson(JsonReader jsonReader) throws IOException { + public static EffectiveRouteMapRouteListInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - EffectiveRouteMapRouteList deserializedEffectiveRouteMapRouteList = new EffectiveRouteMapRouteList(); + EffectiveRouteMapRouteListInner deserializedEffectiveRouteMapRouteListInner + = new EffectiveRouteMapRouteListInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> EffectiveRouteMapRouteInner.fromJson(reader1)); - deserializedEffectiveRouteMapRouteList.value = value; + List value + = reader.readArray(reader1 -> EffectiveRouteMapRoute.fromJson(reader1)); + deserializedEffectiveRouteMapRouteListInner.value = value; } else { reader.skipChildren(); } } - return deserializedEffectiveRouteMapRouteList; + return deserializedEffectiveRouteMapRouteListInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteConnectionList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java similarity index 67% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteConnectionList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java index 2bc1f0c6f408..a00d8fc1651e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteConnectionList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java @@ -2,14 +2,13 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.ExpressRouteConnectionInner; import java.io.IOException; import java.util.List; @@ -17,16 +16,16 @@ * ExpressRouteConnection list. */ @Immutable -public final class ExpressRouteConnectionList implements JsonSerializable { +public final class ExpressRouteConnectionListInner implements JsonSerializable { /* * The list of ExpressRoute connections. */ private List value; /** - * Creates an instance of ExpressRouteConnectionList class. + * Creates an instance of ExpressRouteConnectionListInner class. */ - private ExpressRouteConnectionList() { + private ExpressRouteConnectionListInner() { } /** @@ -60,16 +59,17 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ExpressRouteConnectionList from the JsonReader. + * Reads an instance of ExpressRouteConnectionListInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ExpressRouteConnectionList 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 ExpressRouteConnectionList. + * @return An instance of ExpressRouteConnectionListInner 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 ExpressRouteConnectionListInner. */ - public static ExpressRouteConnectionList fromJson(JsonReader jsonReader) throws IOException { + public static ExpressRouteConnectionListInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ExpressRouteConnectionList deserializedExpressRouteConnectionList = new ExpressRouteConnectionList(); + ExpressRouteConnectionListInner deserializedExpressRouteConnectionListInner + = new ExpressRouteConnectionListInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -77,13 +77,13 @@ public static ExpressRouteConnectionList fromJson(JsonReader jsonReader) throws if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> ExpressRouteConnectionInner.fromJson(reader1)); - deserializedExpressRouteConnectionList.value = value; + deserializedExpressRouteConnectionListInner.value = value; } else { reader.skipChildren(); } } - return deserializedExpressRouteConnectionList; + return deserializedExpressRouteConnectionListInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteGatewayList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java similarity index 68% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteGatewayList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java index 17e2cb9f0b64..678da7d4c48e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteGatewayList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java @@ -2,14 +2,13 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.ExpressRouteGatewayInner; import java.io.IOException; import java.util.List; @@ -17,16 +16,16 @@ * List of ExpressRoute gateways. */ @Immutable -public final class ExpressRouteGatewayList implements JsonSerializable { +public final class ExpressRouteGatewayListInner implements JsonSerializable { /* * List of ExpressRoute gateways. */ private List value; /** - * Creates an instance of ExpressRouteGatewayList class. + * Creates an instance of ExpressRouteGatewayListInner class. */ - private ExpressRouteGatewayList() { + private ExpressRouteGatewayListInner() { } /** @@ -60,16 +59,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ExpressRouteGatewayList from the JsonReader. + * Reads an instance of ExpressRouteGatewayListInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ExpressRouteGatewayList 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 ExpressRouteGatewayList. + * @return An instance of ExpressRouteGatewayListInner 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 ExpressRouteGatewayListInner. */ - public static ExpressRouteGatewayList fromJson(JsonReader jsonReader) throws IOException { + public static ExpressRouteGatewayListInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ExpressRouteGatewayList deserializedExpressRouteGatewayList = new ExpressRouteGatewayList(); + ExpressRouteGatewayListInner deserializedExpressRouteGatewayListInner = new ExpressRouteGatewayListInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -77,13 +76,13 @@ public static ExpressRouteGatewayList fromJson(JsonReader jsonReader) throws IOE if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> ExpressRouteGatewayInner.fromJson(reader1)); - deserializedExpressRouteGatewayList.value = value; + deserializedExpressRouteGatewayListInner.value = value; } else { reader.skipChildren(); } } - return deserializedExpressRouteGatewayList; + return deserializedExpressRouteGatewayListInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GatewayRouteListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java similarity index 60% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GatewayRouteListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java index ad6c74c3e7b8..ff5e9b1dcfa7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/GatewayRouteListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java @@ -2,14 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.GatewayRouteInner; +import com.azure.resourcemanager.network.models.GatewayRoute; import java.io.IOException; import java.util.List; @@ -17,16 +17,16 @@ * List of virtual network gateway routes. */ @Immutable -public final class GatewayRouteListResult implements JsonSerializable { +public final class GatewayRouteListResultInner implements JsonSerializable { /* * List of gateway routes. */ - private List value; + private List value; /** - * Creates an instance of GatewayRouteListResult class. + * Creates an instance of GatewayRouteListResultInner class. */ - private GatewayRouteListResult() { + private GatewayRouteListResultInner() { } /** @@ -34,7 +34,7 @@ private GatewayRouteListResult() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -60,29 +60,29 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of GatewayRouteListResult from the JsonReader. + * Reads an instance of GatewayRouteListResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of GatewayRouteListResult 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 GatewayRouteListResult. + * @return An instance of GatewayRouteListResultInner 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 GatewayRouteListResultInner. */ - public static GatewayRouteListResult fromJson(JsonReader jsonReader) throws IOException { + public static GatewayRouteListResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - GatewayRouteListResult deserializedGatewayRouteListResult = new GatewayRouteListResult(); + GatewayRouteListResultInner deserializedGatewayRouteListResultInner = new GatewayRouteListResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value = reader.readArray(reader1 -> GatewayRouteInner.fromJson(reader1)); - deserializedGatewayRouteListResult.value = value; + List value = reader.readArray(reader1 -> GatewayRoute.fromJson(reader1)); + deserializedGatewayRouteListResultInner.value = value; } else { reader.skipChildren(); } } - return deserializedGatewayRouteListResult; + return deserializedGatewayRouteListResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerDeploymentStatusListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerDeploymentStatusListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java index 9c4d3f6e6d66..356c127d8210 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerDeploymentStatusListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java @@ -2,14 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.NetworkManagerDeploymentStatusInner; +import com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatus; import java.io.IOException; import java.util.List; @@ -17,12 +17,12 @@ * A list of Network Manager Deployment Status. */ @Immutable -public final class NetworkManagerDeploymentStatusListResult - implements JsonSerializable { +public final class NetworkManagerDeploymentStatusListResultInner + implements JsonSerializable { /* * Gets a page of Network Manager Deployment Status */ - private List value; + private List value; /* * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in @@ -31,9 +31,9 @@ public final class NetworkManagerDeploymentStatusListResult private String skipToken; /** - * Creates an instance of NetworkManagerDeploymentStatusListResult class. + * Creates an instance of NetworkManagerDeploymentStatusListResultInner class. */ - private NetworkManagerDeploymentStatusListResult() { + private NetworkManagerDeploymentStatusListResultInner() { } /** @@ -41,7 +41,7 @@ private NetworkManagerDeploymentStatusListResult() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -78,33 +78,33 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkManagerDeploymentStatusListResult from the JsonReader. + * Reads an instance of NetworkManagerDeploymentStatusListResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkManagerDeploymentStatusListResult 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 NetworkManagerDeploymentStatusListResult. + * @return An instance of NetworkManagerDeploymentStatusListResultInner 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 NetworkManagerDeploymentStatusListResultInner. */ - public static NetworkManagerDeploymentStatusListResult fromJson(JsonReader jsonReader) throws IOException { + public static NetworkManagerDeploymentStatusListResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkManagerDeploymentStatusListResult deserializedNetworkManagerDeploymentStatusListResult - = new NetworkManagerDeploymentStatusListResult(); + NetworkManagerDeploymentStatusListResultInner deserializedNetworkManagerDeploymentStatusListResultInner + = new NetworkManagerDeploymentStatusListResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> NetworkManagerDeploymentStatusInner.fromJson(reader1)); - deserializedNetworkManagerDeploymentStatusListResult.value = value; + List value + = reader.readArray(reader1 -> NetworkManagerDeploymentStatus.fromJson(reader1)); + deserializedNetworkManagerDeploymentStatusListResultInner.value = value; } else if ("skipToken".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatusListResult.skipToken = reader.getString(); + deserializedNetworkManagerDeploymentStatusListResultInner.skipToken = reader.getString(); } else { reader.skipChildren(); } } - return deserializedNetworkManagerDeploymentStatusListResult; + return deserializedNetworkManagerDeploymentStatusListResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java similarity index 79% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java index a75e8a194c3c..ce7f86225e39 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java @@ -2,14 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.EffectiveConnectivityConfigurationInner; +import com.azure.resourcemanager.network.models.EffectiveConnectivityConfiguration; import java.io.IOException; import java.util.List; @@ -18,12 +18,12 @@ * skiptoken to get the next set of results. */ @Immutable -public final class NetworkManagerEffectiveConnectivityConfigurationListResult - implements JsonSerializable { +public final class NetworkManagerEffectiveConnectivityConfigurationListResultInner + implements JsonSerializable { /* * Gets a page of NetworkManagerEffectiveConnectivityConfiguration */ - private List value; + private List value; /* * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in @@ -32,9 +32,9 @@ public final class NetworkManagerEffectiveConnectivityConfigurationListResult private String skipToken; /** - * Creates an instance of NetworkManagerEffectiveConnectivityConfigurationListResult class. + * Creates an instance of NetworkManagerEffectiveConnectivityConfigurationListResultInner class. */ - private NetworkManagerEffectiveConnectivityConfigurationListResult() { + private NetworkManagerEffectiveConnectivityConfigurationListResultInner() { } /** @@ -42,7 +42,7 @@ private NetworkManagerEffectiveConnectivityConfigurationListResult() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -79,36 +79,36 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkManagerEffectiveConnectivityConfigurationListResult from the JsonReader. + * Reads an instance of NetworkManagerEffectiveConnectivityConfigurationListResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkManagerEffectiveConnectivityConfigurationListResult if the JsonReader was pointing - * to an instance of it, or null if it was pointing to JSON null. + * @return An instance of NetworkManagerEffectiveConnectivityConfigurationListResultInner 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 - * NetworkManagerEffectiveConnectivityConfigurationListResult. + * NetworkManagerEffectiveConnectivityConfigurationListResultInner. */ - public static NetworkManagerEffectiveConnectivityConfigurationListResult fromJson(JsonReader jsonReader) + public static NetworkManagerEffectiveConnectivityConfigurationListResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkManagerEffectiveConnectivityConfigurationListResult deserializedNetworkManagerEffectiveConnectivityConfigurationListResult - = new NetworkManagerEffectiveConnectivityConfigurationListResult(); + NetworkManagerEffectiveConnectivityConfigurationListResultInner deserializedNetworkManagerEffectiveConnectivityConfigurationListResultInner + = new NetworkManagerEffectiveConnectivityConfigurationListResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> EffectiveConnectivityConfigurationInner.fromJson(reader1)); - deserializedNetworkManagerEffectiveConnectivityConfigurationListResult.value = value; + List value + = reader.readArray(reader1 -> EffectiveConnectivityConfiguration.fromJson(reader1)); + deserializedNetworkManagerEffectiveConnectivityConfigurationListResultInner.value = value; } else if ("skipToken".equals(fieldName)) { - deserializedNetworkManagerEffectiveConnectivityConfigurationListResult.skipToken + deserializedNetworkManagerEffectiveConnectivityConfigurationListResultInner.skipToken = reader.getString(); } else { reader.skipChildren(); } } - return deserializedNetworkManagerEffectiveConnectivityConfigurationListResult; + return deserializedNetworkManagerEffectiveConnectivityConfigurationListResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java similarity index 74% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java index 1478a802ff76..acb391d3e4c1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java @@ -2,14 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.EffectiveBaseSecurityAdminRuleInner; +import com.azure.resourcemanager.network.models.EffectiveBaseSecurityAdminRule; import java.io.IOException; import java.util.List; @@ -18,12 +18,12 @@ * to get the next set of results. */ @Immutable -public final class NetworkManagerEffectiveSecurityAdminRulesListResult - implements JsonSerializable { +public final class NetworkManagerEffectiveSecurityAdminRulesListResultInner + implements JsonSerializable { /* * Gets a page of NetworkManagerEffectiveSecurityAdminRules */ - private List value; + private List value; /* * When present, the value can be passed to a subsequent query call (together with the same query and scopes used in @@ -32,9 +32,9 @@ public final class NetworkManagerEffectiveSecurityAdminRulesListResult private String skipToken; /** - * Creates an instance of NetworkManagerEffectiveSecurityAdminRulesListResult class. + * Creates an instance of NetworkManagerEffectiveSecurityAdminRulesListResultInner class. */ - private NetworkManagerEffectiveSecurityAdminRulesListResult() { + private NetworkManagerEffectiveSecurityAdminRulesListResultInner() { } /** @@ -42,7 +42,7 @@ private NetworkManagerEffectiveSecurityAdminRulesListResult() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -79,34 +79,35 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkManagerEffectiveSecurityAdminRulesListResult from the JsonReader. + * Reads an instance of NetworkManagerEffectiveSecurityAdminRulesListResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkManagerEffectiveSecurityAdminRulesListResult 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 NetworkManagerEffectiveSecurityAdminRulesListResult. + * @return An instance of NetworkManagerEffectiveSecurityAdminRulesListResultInner 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 + * NetworkManagerEffectiveSecurityAdminRulesListResultInner. */ - public static NetworkManagerEffectiveSecurityAdminRulesListResult fromJson(JsonReader jsonReader) + public static NetworkManagerEffectiveSecurityAdminRulesListResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkManagerEffectiveSecurityAdminRulesListResult deserializedNetworkManagerEffectiveSecurityAdminRulesListResult - = new NetworkManagerEffectiveSecurityAdminRulesListResult(); + NetworkManagerEffectiveSecurityAdminRulesListResultInner deserializedNetworkManagerEffectiveSecurityAdminRulesListResultInner + = new NetworkManagerEffectiveSecurityAdminRulesListResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> EffectiveBaseSecurityAdminRuleInner.fromJson(reader1)); - deserializedNetworkManagerEffectiveSecurityAdminRulesListResult.value = value; + List value + = reader.readArray(reader1 -> EffectiveBaseSecurityAdminRule.fromJson(reader1)); + deserializedNetworkManagerEffectiveSecurityAdminRulesListResultInner.value = value; } else if ("skipToken".equals(fieldName)) { - deserializedNetworkManagerEffectiveSecurityAdminRulesListResult.skipToken = reader.getString(); + deserializedNetworkManagerEffectiveSecurityAdminRulesListResultInner.skipToken = reader.getString(); } else { reader.skipChildren(); } } - return deserializedNetworkManagerEffectiveSecurityAdminRulesListResult; + return deserializedNetworkManagerEffectiveSecurityAdminRulesListResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java index aac60f5dce0f..a5823c943c7e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java @@ -4,7 +4,7 @@ package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Immutable; +import com.azure.core.annotation.Fluent; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -21,7 +21,7 @@ /** * Information about packet capture session. */ -@Immutable +@Fluent public final class PacketCaptureResultInner implements JsonSerializable { /* * Name of the packet capture session. @@ -46,7 +46,7 @@ public final class PacketCaptureResultInner implements JsonSerializable filters() { return this.innerProperties() == null ? null : this.innerProperties().filters(); } + /** + * Set the filters property: A list of packet capture filters. + * + * @param filters the filters value to set. + * @return the PacketCaptureResultInner object itself. + */ + public PacketCaptureResultInner withFilters(List filters) { + if (this.innerProperties() == null) { + this.innerProperties = new PacketCaptureResultProperties(); + } + this.innerProperties().withFilters(filters); + return this; + } + /** * Get the continuousCapture property: This continuous capture is a nullable boolean, which can hold 'null', 'true' * or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'. @@ -178,6 +292,21 @@ public Boolean continuousCapture() { return this.innerProperties() == null ? null : this.innerProperties().continuousCapture(); } + /** + * Set the continuousCapture property: This continuous capture is a nullable boolean, which can hold 'null', 'true' + * or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'. + * + * @param continuousCapture the continuousCapture value to set. + * @return the PacketCaptureResultInner object itself. + */ + public PacketCaptureResultInner withContinuousCapture(Boolean continuousCapture) { + if (this.innerProperties() == null) { + this.innerProperties = new PacketCaptureResultProperties(); + } + this.innerProperties().withContinuousCapture(continuousCapture); + return this; + } + /** * Get the captureSettings property: The capture setting holds the 'FileCount', 'FileSizeInBytes', * 'SessionTimeLimitInSeconds' values. @@ -188,6 +317,21 @@ public PacketCaptureSettings captureSettings() { return this.innerProperties() == null ? null : this.innerProperties().captureSettings(); } + /** + * Set the captureSettings property: The capture setting holds the 'FileCount', 'FileSizeInBytes', + * 'SessionTimeLimitInSeconds' values. + * + * @param captureSettings the captureSettings value to set. + * @return the PacketCaptureResultInner object itself. + */ + public PacketCaptureResultInner withCaptureSettings(PacketCaptureSettings captureSettings) { + if (this.innerProperties() == null) { + this.innerProperties = new PacketCaptureResultProperties(); + } + this.innerProperties().withCaptureSettings(captureSettings); + return this; + } + /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java index 559b755a0cb2..c2820dae0f70 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java @@ -4,7 +4,7 @@ package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Immutable; +import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; @@ -21,7 +21,7 @@ /** * The properties of a packet capture session. */ -@Immutable +@Fluent public final class PacketCaptureResultProperties extends PacketCaptureParameters { /* * The provisioning state of the packet capture session. @@ -31,7 +31,7 @@ public final class PacketCaptureResultProperties extends PacketCaptureParameters /** * Creates an instance of PacketCaptureResultProperties class. */ - private PacketCaptureResultProperties() { + public PacketCaptureResultProperties() { } /** @@ -43,6 +43,96 @@ public ProvisioningState provisioningState() { return this.provisioningState; } + /** + * {@inheritDoc} + */ + @Override + public PacketCaptureResultProperties withTarget(String target) { + super.withTarget(target); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PacketCaptureResultProperties withScope(PacketCaptureMachineScope scope) { + super.withScope(scope); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PacketCaptureResultProperties withTargetType(PacketCaptureTargetType targetType) { + super.withTargetType(targetType); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PacketCaptureResultProperties withBytesToCapturePerPacket(Long bytesToCapturePerPacket) { + super.withBytesToCapturePerPacket(bytesToCapturePerPacket); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PacketCaptureResultProperties withTotalBytesPerSession(Long totalBytesPerSession) { + super.withTotalBytesPerSession(totalBytesPerSession); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PacketCaptureResultProperties withTimeLimitInSeconds(Integer timeLimitInSeconds) { + super.withTimeLimitInSeconds(timeLimitInSeconds); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PacketCaptureResultProperties withStorageLocation(PacketCaptureStorageLocation storageLocation) { + super.withStorageLocation(storageLocation); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PacketCaptureResultProperties withFilters(List filters) { + super.withFilters(filters); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PacketCaptureResultProperties withContinuousCapture(Boolean continuousCapture) { + super.withContinuousCapture(continuousCapture); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PacketCaptureResultProperties withCaptureSettings(PacketCaptureSettings captureSettings) { + super.withCaptureSettings(captureSettings); + return this; + } + /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java index 96c20da8df2e..d34430207330 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java @@ -87,7 +87,6 @@ public String name() { /** * {@inheritDoc} */ - @Override public RouteFilterInner withId(String id) { return this; } @@ -165,7 +164,6 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SignaturesOverridesList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java similarity index 70% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SignaturesOverridesList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java index d96384eff743..28862cc28be3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SignaturesOverridesList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java @@ -2,14 +2,13 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.SignaturesOverridesInner; import java.io.IOException; import java.util.List; @@ -17,16 +16,16 @@ * Describes an object containing an array with a single item. */ @Immutable -public final class SignaturesOverridesList implements JsonSerializable { +public final class SignaturesOverridesListInner implements JsonSerializable { /* * Describes a list consisting exactly one item describing the policy's signature override status */ private List value; /** - * Creates an instance of SignaturesOverridesList class. + * Creates an instance of SignaturesOverridesListInner class. */ - private SignaturesOverridesList() { + private SignaturesOverridesListInner() { } /** @@ -61,16 +60,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of SignaturesOverridesList from the JsonReader. + * Reads an instance of SignaturesOverridesListInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of SignaturesOverridesList 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 SignaturesOverridesList. + * @return An instance of SignaturesOverridesListInner 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 SignaturesOverridesListInner. */ - public static SignaturesOverridesList fromJson(JsonReader jsonReader) throws IOException { + public static SignaturesOverridesListInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - SignaturesOverridesList deserializedSignaturesOverridesList = new SignaturesOverridesList(); + SignaturesOverridesListInner deserializedSignaturesOverridesListInner = new SignaturesOverridesListInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -78,13 +77,13 @@ public static SignaturesOverridesList fromJson(JsonReader jsonReader) throws IOE if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> SignaturesOverridesInner.fromJson(reader1)); - deserializedSignaturesOverridesList.value = value; + deserializedSignaturesOverridesListInner.value = value; } else { reader.skipChildren(); } } - return deserializedSignaturesOverridesList; + return deserializedSignaturesOverridesListInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SwapResourceListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SwapResourceListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java index 386d23fcb1c7..c9978a4beca0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/SwapResourceListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java @@ -2,14 +2,13 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.SwapResourceInner; import java.io.IOException; import java.util.List; @@ -17,16 +16,16 @@ * SwapResource List with single entry to represent slot type on the specified cloud service. */ @Immutable -public final class SwapResourceListResult implements JsonSerializable { +public final class SwapResourceListResultInner implements JsonSerializable { /* * The value property. */ private List value; /** - * Creates an instance of SwapResourceListResult class. + * Creates an instance of SwapResourceListResultInner class. */ - private SwapResourceListResult() { + private SwapResourceListResultInner() { } /** @@ -60,29 +59,29 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of SwapResourceListResult from the JsonReader. + * Reads an instance of SwapResourceListResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of SwapResourceListResult 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 SwapResourceListResult. + * @return An instance of SwapResourceListResultInner 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 SwapResourceListResultInner. */ - public static SwapResourceListResult fromJson(JsonReader jsonReader) throws IOException { + public static SwapResourceListResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - SwapResourceListResult deserializedSwapResourceListResult = new SwapResourceListResult(); + SwapResourceListResultInner deserializedSwapResourceListResultInner = new SwapResourceListResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { List value = reader.readArray(reader1 -> SwapResourceInner.fromJson(reader1)); - deserializedSwapResourceListResult.value = value; + deserializedSwapResourceListResultInner.value = value; } else { reader.skipChildren(); } } - return deserializedSwapResourceListResult; + return deserializedSwapResourceListResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualHubEffectiveRouteList.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java similarity index 60% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualHubEffectiveRouteList.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java index c5a4827f49fb..20b19f789a0a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualHubEffectiveRouteList.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java @@ -2,14 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.VirtualHubEffectiveRouteInner; +import com.azure.resourcemanager.network.models.VirtualHubEffectiveRoute; import java.io.IOException; import java.util.List; @@ -17,16 +17,16 @@ * EffectiveRoutes List. */ @Immutable -public final class VirtualHubEffectiveRouteList implements JsonSerializable { +public final class VirtualHubEffectiveRouteListInner implements JsonSerializable { /* * The list of effective routes configured on the virtual hub or the specified resource. */ - private List value; + private List value; /** - * Creates an instance of VirtualHubEffectiveRouteList class. + * Creates an instance of VirtualHubEffectiveRouteListInner class. */ - private VirtualHubEffectiveRouteList() { + private VirtualHubEffectiveRouteListInner() { } /** @@ -34,7 +34,7 @@ private VirtualHubEffectiveRouteList() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -60,30 +60,31 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of VirtualHubEffectiveRouteList from the JsonReader. + * Reads an instance of VirtualHubEffectiveRouteListInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VirtualHubEffectiveRouteList 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 VirtualHubEffectiveRouteList. + * @return An instance of VirtualHubEffectiveRouteListInner 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 VirtualHubEffectiveRouteListInner. */ - public static VirtualHubEffectiveRouteList fromJson(JsonReader jsonReader) throws IOException { + public static VirtualHubEffectiveRouteListInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VirtualHubEffectiveRouteList deserializedVirtualHubEffectiveRouteList = new VirtualHubEffectiveRouteList(); + VirtualHubEffectiveRouteListInner deserializedVirtualHubEffectiveRouteListInner + = new VirtualHubEffectiveRouteListInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> VirtualHubEffectiveRouteInner.fromJson(reader1)); - deserializedVirtualHubEffectiveRouteList.value = value; + List value + = reader.readArray(reader1 -> VirtualHubEffectiveRoute.fromJson(reader1)); + deserializedVirtualHubEffectiveRouteListInner.value = value; } else { reader.skipChildren(); } } - return deserializedVirtualHubEffectiveRouteList; + return deserializedVirtualHubEffectiveRouteListInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VpnClientConnectionHealthDetailListResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java similarity index 67% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VpnClientConnectionHealthDetailListResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java index 7f739b5d95c7..9594560f0134 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/VpnClientConnectionHealthDetailListResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java @@ -2,14 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.implementation.models; +package com.azure.resourcemanager.network.fluent.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.network.fluent.models.VpnClientConnectionHealthDetailInner; +import com.azure.resourcemanager.network.models.VpnClientConnectionHealthDetail; import java.io.IOException; import java.util.List; @@ -17,17 +17,17 @@ * List of virtual network gateway vpn client connection health. */ @Immutable -public final class VpnClientConnectionHealthDetailListResult - implements JsonSerializable { +public final class VpnClientConnectionHealthDetailListResultInner + implements JsonSerializable { /* * List of vpn client connection health. */ - private List value; + private List value; /** - * Creates an instance of VpnClientConnectionHealthDetailListResult class. + * Creates an instance of VpnClientConnectionHealthDetailListResultInner class. */ - private VpnClientConnectionHealthDetailListResult() { + private VpnClientConnectionHealthDetailListResultInner() { } /** @@ -35,7 +35,7 @@ private VpnClientConnectionHealthDetailListResult() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -61,31 +61,31 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of VpnClientConnectionHealthDetailListResult from the JsonReader. + * Reads an instance of VpnClientConnectionHealthDetailListResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VpnClientConnectionHealthDetailListResult 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 VpnClientConnectionHealthDetailListResult. + * @return An instance of VpnClientConnectionHealthDetailListResultInner 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 VpnClientConnectionHealthDetailListResultInner. */ - public static VpnClientConnectionHealthDetailListResult fromJson(JsonReader jsonReader) throws IOException { + public static VpnClientConnectionHealthDetailListResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VpnClientConnectionHealthDetailListResult deserializedVpnClientConnectionHealthDetailListResult - = new VpnClientConnectionHealthDetailListResult(); + VpnClientConnectionHealthDetailListResultInner deserializedVpnClientConnectionHealthDetailListResultInner + = new VpnClientConnectionHealthDetailListResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("value".equals(fieldName)) { - List value - = reader.readArray(reader1 -> VpnClientConnectionHealthDetailInner.fromJson(reader1)); - deserializedVpnClientConnectionHealthDetailListResult.value = value; + List value + = reader.readArray(reader1 -> VpnClientConnectionHealthDetail.fromJson(reader1)); + deserializedVpnClientConnectionHealthDetailListResultInner.value = value; } else { reader.skipChildren(); } } - return deserializedVpnClientConnectionHealthDetailListResult; + return deserializedVpnClientConnectionHealthDetailListResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java index abb516661e26..a092e74e785a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java @@ -44,8 +44,6 @@ import com.azure.resourcemanager.network.implementation.models.ApplicationGatewayListResult; import com.azure.resourcemanager.network.models.ApplicationGatewayOnDemandProbe; import com.azure.resourcemanager.network.models.ErrorException; -import com.azure.resourcemanager.network.models.StartFinalResult; -import com.azure.resourcemanager.network.models.StopFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -1297,11 +1295,10 @@ private Mono>> startWithResponseAsync(String resourceG * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StartFinalResult> beginStartAsync(String resourceGroupName, - String applicationGatewayName) { + public PollerFlux, Void> beginStartAsync(String resourceGroupName, String applicationGatewayName) { Mono>> mono = startWithResponseAsync(resourceGroupName, applicationGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - StartFinalResult.class, StartFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** @@ -1316,13 +1313,13 @@ public PollerFlux, StartFinalResult> beginStartAsyn * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, StartFinalResult> beginStartAsync(String resourceGroupName, - String applicationGatewayName, Context context) { + private PollerFlux, Void> beginStartAsync(String resourceGroupName, String applicationGatewayName, + Context context) { context = this.client.mergeContext(context); Mono>> mono = startWithResponseAsync(resourceGroupName, applicationGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - StartFinalResult.class, StartFinalResult.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** @@ -1336,8 +1333,7 @@ private PollerFlux, StartFinalResult> beginStartAsy * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StartFinalResult> beginStart(String resourceGroupName, - String applicationGatewayName) { + public SyncPoller, Void> beginStart(String resourceGroupName, String applicationGatewayName) { return this.beginStartAsync(resourceGroupName, applicationGatewayName).getSyncPoller(); } @@ -1353,8 +1349,8 @@ public SyncPoller, StartFinalResult> beginStart(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StartFinalResult> beginStart(String resourceGroupName, - String applicationGatewayName, Context context) { + public SyncPoller, Void> beginStart(String resourceGroupName, String applicationGatewayName, + Context context) { return this.beginStartAsync(resourceGroupName, applicationGatewayName, context).getSyncPoller(); } @@ -1366,10 +1362,10 @@ public SyncPoller, StartFinalResult> beginStart(Str * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startAsync(String resourceGroupName, String applicationGatewayName) { + public Mono startAsync(String resourceGroupName, String applicationGatewayName) { return beginStartAsync(resourceGroupName, applicationGatewayName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1383,11 +1379,10 @@ public Mono startAsync(String resourceGroupName, String applic * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startAsync(String resourceGroupName, String applicationGatewayName, - Context context) { + private Mono startAsync(String resourceGroupName, String applicationGatewayName, Context context) { return beginStartAsync(resourceGroupName, applicationGatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1400,11 +1395,10 @@ private Mono startAsync(String resourceGroupName, String appli * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StartFinalResult start(String resourceGroupName, String applicationGatewayName) { - return startAsync(resourceGroupName, applicationGatewayName).block(); + public void start(String resourceGroupName, String applicationGatewayName) { + startAsync(resourceGroupName, applicationGatewayName).block(); } /** @@ -1416,11 +1410,10 @@ public StartFinalResult start(String resourceGroupName, String applicationGatewa * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StartFinalResult start(String resourceGroupName, String applicationGatewayName, Context context) { - return startAsync(resourceGroupName, applicationGatewayName, context).block(); + public void start(String resourceGroupName, String applicationGatewayName, Context context) { + startAsync(resourceGroupName, applicationGatewayName, context).block(); } /** @@ -1506,11 +1499,10 @@ private Mono>> stopWithResponseAsync(String resourceGr * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, - String applicationGatewayName) { + public PollerFlux, Void> beginStopAsync(String resourceGroupName, String applicationGatewayName) { Mono>> mono = stopWithResponseAsync(resourceGroupName, applicationGatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - StopFinalResult.class, StopFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** @@ -1525,13 +1517,13 @@ public PollerFlux, StopFinalResult> beginStopAsync(S * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, - String applicationGatewayName, Context context) { + private PollerFlux, Void> beginStopAsync(String resourceGroupName, String applicationGatewayName, + Context context) { context = this.client.mergeContext(context); Mono>> mono = stopWithResponseAsync(resourceGroupName, applicationGatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - StopFinalResult.class, StopFinalResult.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** @@ -1545,8 +1537,7 @@ private PollerFlux, StopFinalResult> beginStopAsync( * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopFinalResult> beginStop(String resourceGroupName, - String applicationGatewayName) { + public SyncPoller, Void> beginStop(String resourceGroupName, String applicationGatewayName) { return this.beginStopAsync(resourceGroupName, applicationGatewayName).getSyncPoller(); } @@ -1562,8 +1553,8 @@ public SyncPoller, StopFinalResult> beginStop(String * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopFinalResult> beginStop(String resourceGroupName, - String applicationGatewayName, Context context) { + public SyncPoller, Void> beginStop(String resourceGroupName, String applicationGatewayName, + Context context) { return this.beginStopAsync(resourceGroupName, applicationGatewayName, context).getSyncPoller(); } @@ -1575,10 +1566,10 @@ public SyncPoller, StopFinalResult> beginStop(String * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopAsync(String resourceGroupName, String applicationGatewayName) { + public Mono stopAsync(String resourceGroupName, String applicationGatewayName) { return beginStopAsync(resourceGroupName, applicationGatewayName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1592,10 +1583,10 @@ public Mono stopAsync(String resourceGroupName, String applicat * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopAsync(String resourceGroupName, String applicationGatewayName, Context context) { + private Mono stopAsync(String resourceGroupName, String applicationGatewayName, Context context) { return beginStopAsync(resourceGroupName, applicationGatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1608,11 +1599,10 @@ private Mono stopAsync(String resourceGroupName, String applica * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopFinalResult stop(String resourceGroupName, String applicationGatewayName) { - return stopAsync(resourceGroupName, applicationGatewayName).block(); + public void stop(String resourceGroupName, String applicationGatewayName) { + stopAsync(resourceGroupName, applicationGatewayName).block(); } /** @@ -1624,11 +1614,10 @@ public StopFinalResult stop(String resourceGroupName, String applicationGatewayN * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopFinalResult stop(String resourceGroupName, String applicationGatewayName, Context context) { - return stopAsync(resourceGroupName, applicationGatewayName, context).block(); + public void stop(String resourceGroupName, String applicationGatewayName, Context context) { + stopAsync(resourceGroupName, applicationGatewayName, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java index 2baaea682c0b..94375fc5bbc5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java @@ -37,7 +37,7 @@ import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorInner; import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorResultInner; import com.azure.resourcemanager.network.implementation.models.ConnectionMonitorListResult; -import com.azure.resourcemanager.network.models.StopFinalResult1; +import com.azure.resourcemanager.network.models.StopFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -1237,12 +1237,12 @@ private Mono>> stopWithResponseAsync(String resourceGr * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StopFinalResult1> beginStopAsync(String resourceGroupName, + public PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { Mono>> mono = stopWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - StopFinalResult1.class, StopFinalResult1.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + StopFinalResult.class, StopFinalResult.class, this.client.getContext()); } /** @@ -1258,13 +1258,13 @@ public PollerFlux, StopFinalResult1> beginStopAsync * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, StopFinalResult1> beginStopAsync(String resourceGroupName, + private PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - StopFinalResult1.class, StopFinalResult1.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + StopFinalResult.class, StopFinalResult.class, context); } /** @@ -1279,7 +1279,7 @@ private PollerFlux, StopFinalResult1> beginStopAsyn * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopFinalResult1> beginStop(String resourceGroupName, + public SyncPoller, StopFinalResult> beginStop(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { return this.beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).getSyncPoller(); } @@ -1297,7 +1297,7 @@ public SyncPoller, StopFinalResult1> beginStop(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopFinalResult1> beginStop(String resourceGroupName, + public SyncPoller, StopFinalResult> beginStop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context) { return this.beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context) .getSyncPoller(); @@ -1315,7 +1315,7 @@ public SyncPoller, StopFinalResult1> beginStop(Stri * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopAsync(String resourceGroupName, String networkWatcherName, + public Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { return beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1334,7 +1334,7 @@ public Mono stopAsync(String resourceGroupName, String network * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopAsync(String resourceGroupName, String networkWatcherName, + private Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context) { return beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1352,7 +1352,7 @@ private Mono stopAsync(String resourceGroupName, String networ * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopFinalResult1 stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { + public StopFinalResult stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { return stopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).block(); } @@ -1369,7 +1369,7 @@ public StopFinalResult1 stop(String resourceGroupName, String networkWatcherName * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopFinalResult1 stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, + public StopFinalResult stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context) { return stopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java index 46f3e69b420f..0aa3e15e7732 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java @@ -7,7 +7,6 @@ import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.ExpectedResponses; 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.PathParam; @@ -17,20 +16,14 @@ 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.util.Context; import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.EffectiveConfigurationsClient; -import com.azure.resourcemanager.network.fluent.models.EffectiveBaseSecurityAdminRuleInner; -import com.azure.resourcemanager.network.fluent.models.EffectiveConnectivityConfigurationInner; -import com.azure.resourcemanager.network.implementation.models.NetworkManagerEffectiveConnectivityConfigurationListResult; -import com.azure.resourcemanager.network.implementation.models.NetworkManagerEffectiveSecurityAdminRulesListResult; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveConnectivityConfigurationListResultInner; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveSecurityAdminRulesListResultInner; import com.azure.resourcemanager.network.models.QueryRequestOptions; import reactor.core.publisher.Mono; @@ -66,29 +59,27 @@ public final class EffectiveConfigurationsClientImpl implements EffectiveConfigu @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientEffectiveConfigurations") public interface EffectiveConfigurationsService { - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> + Mono> listNetworkManagerEffectiveConnectivityConfigurations(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("$top") Integer top, - @HeaderParam("Accept") String accept, @BodyParam("application/json") QueryRequestOptions parameters, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") QueryRequestOptions parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> + Mono> listNetworkManagerEffectiveSecurityAdminRules(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("$top") Integer top, - @HeaderParam("Accept") String accept, @BodyParam("application/json") QueryRequestOptions parameters, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") QueryRequestOptions parameters, Context context); } /** @@ -103,11 +94,11 @@ public interface EffectiveConfigurationsService { * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listNetworkManagerEffectiveConnectivityConfigurationsSinglePageAsync(String resourceGroupName, + public Mono> + listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -131,13 +122,12 @@ public interface EffectiveConfigurationsService { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listNetworkManagerEffectiveConnectivityConfigurations( this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - virtualNetworkName, top, accept, parameters, context)) - .>map(res -> new PagedResponseBase<>( - res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + virtualNetworkName, top, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -154,11 +144,11 @@ public interface EffectiveConfigurationsService { * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listNetworkManagerEffectiveConnectivityConfigurationsSinglePageAsync(String resourceGroupName, + private Mono> + listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -182,12 +172,12 @@ public interface EffectiveConfigurationsService { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listNetworkManagerEffectiveConnectivityConfigurations(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, accept, parameters, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, contentType, accept, + parameters, context); } /** @@ -196,41 +186,19 @@ public interface EffectiveConfigurationsService { * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with - * {@link PagedFlux}. + * @return result of the request to list networkManagerEffectiveConnectivityConfiguration on successful completion + * of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux - listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters, Integer top) { - return new PagedFlux<>(() -> listNetworkManagerEffectiveConnectivityConfigurationsSinglePageAsync( - resourceGroupName, virtualNetworkName, parameters, top)); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters) { final Integer top = null; - return new PagedFlux<>(() -> listNetworkManagerEffectiveConnectivityConfigurationsSinglePageAsync( - resourceGroupName, virtualNetworkName, parameters, top)); + return listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, + virtualNetworkName, parameters, top).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -245,15 +213,15 @@ public interface EffectiveConfigurationsService { * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with - * {@link PagedFlux}. + * @return result of the request to list networkManagerEffectiveConnectivityConfiguration along with + * {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux - listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters, Integer top, Context context) { - return new PagedFlux<>(() -> listNetworkManagerEffectiveConnectivityConfigurationsSinglePageAsync( - resourceGroupName, virtualNetworkName, parameters, top, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response + listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { + return listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, + virtualNetworkName, parameters, top, context).block(); } /** @@ -265,38 +233,15 @@ public interface EffectiveConfigurationsService { * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with - * {@link PagedIterable}. + * @return result of the request to list networkManagerEffectiveConnectivityConfiguration. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listNetworkManagerEffectiveConnectivityConfigurations( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters) { + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkManagerEffectiveConnectivityConfigurationListResultInner + listNetworkManagerEffectiveConnectivityConfigurations(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters) { final Integer top = null; - return new PagedIterable<>(listNetworkManagerEffectiveConnectivityConfigurationsAsync(resourceGroupName, - virtualNetworkName, parameters, top)); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listNetworkManagerEffectiveConnectivityConfigurations( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, - Context context) { - return new PagedIterable<>(listNetworkManagerEffectiveConnectivityConfigurationsAsync(resourceGroupName, - virtualNetworkName, parameters, top, context)); + return listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(resourceGroupName, virtualNetworkName, + parameters, top, Context.NONE).getValue(); } /** @@ -310,12 +255,12 @@ public PagedIterable listNetworkManager * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link PagedResponse} - * on successful completion of {@link Mono}. + * @return result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listNetworkManagerEffectiveSecurityAdminRulesSinglePageAsync(String resourceGroupName, + public Mono> + listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -339,13 +284,12 @@ public PagedIterable listNetworkManager parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listNetworkManagerEffectiveSecurityAdminRules(this.client.getEndpoint(), - apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, accept, - parameters, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, contentType, + accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -361,12 +305,12 @@ public PagedIterable listNetworkManager * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link PagedResponse} - * on successful completion of {@link Mono}. + * @return result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listNetworkManagerEffectiveSecurityAdminRulesSinglePageAsync(String resourceGroupName, + private Mono> + listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -390,12 +334,12 @@ public PagedIterable listNetworkManager parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listNetworkManagerEffectiveSecurityAdminRules(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, accept, parameters, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, contentType, accept, + parameters, context); } /** @@ -404,39 +348,19 @@ public PagedIterable listNetworkManager * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkName The name of the virtual network. * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with - * {@link PagedFlux}. + * @return result of the request to list networkManagerEffectiveSecurityAdminRules on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listNetworkManagerEffectiveSecurityAdminRulesAsync( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top) { - return new PagedFlux<>(() -> listNetworkManagerEffectiveSecurityAdminRulesSinglePageAsync(resourceGroupName, - virtualNetworkName, parameters, top)); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listNetworkManagerEffectiveSecurityAdminRulesAsync( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters) { + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono + listNetworkManagerEffectiveSecurityAdminRulesAsync(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters) { final Integer top = null; - return new PagedFlux<>(() -> listNetworkManagerEffectiveSecurityAdminRulesSinglePageAsync(resourceGroupName, - virtualNetworkName, parameters, top)); + return listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(resourceGroupName, virtualNetworkName, + parameters, top).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -451,15 +375,14 @@ public PagedFlux listNetworkManagerEffectiv * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with - * {@link PagedFlux}. + * @return result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listNetworkManagerEffectiveSecurityAdminRulesAsync( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, - Context context) { - return new PagedFlux<>(() -> listNetworkManagerEffectiveSecurityAdminRulesSinglePageAsync(resourceGroupName, - virtualNetworkName, parameters, top, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response + listNetworkManagerEffectiveSecurityAdminRulesWithResponse(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters, Integer top, Context context) { + return listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(resourceGroupName, virtualNetworkName, + parameters, top, context).block(); } /** @@ -471,37 +394,13 @@ private PagedFlux listNetworkManagerEffecti * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with - * {@link PagedIterable}. + * @return result of the request to list networkManagerEffectiveSecurityAdminRules. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listNetworkManagerEffectiveSecurityAdminRules( + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkManagerEffectiveSecurityAdminRulesListResultInner listNetworkManagerEffectiveSecurityAdminRules( String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters) { final Integer top = null; - return new PagedIterable<>( - listNetworkManagerEffectiveSecurityAdminRulesAsync(resourceGroupName, virtualNetworkName, parameters, top)); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listNetworkManagerEffectiveSecurityAdminRules( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters, Integer top, - Context context) { - return new PagedIterable<>(listNetworkManagerEffectiveSecurityAdminRulesAsync(resourceGroupName, - virtualNetworkName, parameters, top, context)); + return listNetworkManagerEffectiveSecurityAdminRulesWithResponse(resourceGroupName, virtualNetworkName, + parameters, top, Context.NONE).getValue(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java index 3a00ea8fd1fe..c5510f4d815d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java @@ -19,10 +19,6 @@ 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; @@ -33,7 +29,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ExpressRouteConnectionsClient; import com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionInner; -import com.azure.resourcemanager.network.implementation.models.ExpressRouteConnectionList; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteConnectionListInner; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -106,7 +102,7 @@ Mono>> delete(@HostParam("endpoint") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("endpoint") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRouteGatewayName") String expressRouteGatewayName, @HeaderParam("Accept") String accept, @@ -759,10 +755,10 @@ public void delete(String resourceGroupName, String expressRouteGatewayName, Str * @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 expressRouteConnection list along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return expressRouteConnection list along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, + public Mono> listWithResponseAsync(String resourceGroupName, String expressRouteGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -785,8 +781,6 @@ private Mono> listSinglePageAsync(Str return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, expressRouteGatewayName, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -799,10 +793,10 @@ private Mono> listSinglePageAsync(Str * @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 expressRouteConnection list along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return expressRouteConnection list along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, + private Mono> listWithResponseAsync(String resourceGroupName, String expressRouteGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -823,11 +817,8 @@ private Mono> listSinglePageAsync(Str final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - expressRouteGatewayName, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + expressRouteGatewayName, accept, context); } /** @@ -838,11 +829,12 @@ private Mono> listSinglePageAsync(Str * @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 expressRouteConnection list as paginated response with {@link PagedFlux}. + * @return expressRouteConnection list on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String expressRouteGatewayName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, expressRouteGatewayName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listAsync(String resourceGroupName, String expressRouteGatewayName) { + return listWithResponseAsync(resourceGroupName, expressRouteGatewayName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -854,27 +846,12 @@ public PagedFlux listAsync(String resourceGroupName * @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 expressRouteConnection list as paginated response with {@link PagedFlux}. + * @return expressRouteConnection list along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String expressRouteGatewayName, - Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, expressRouteGatewayName, context)); - } - - /** - * Lists ExpressRouteConnections. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @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 expressRouteConnection list as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String expressRouteGatewayName) { - return new PagedIterable<>(listAsync(resourceGroupName, expressRouteGatewayName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listWithResponse(String resourceGroupName, + String expressRouteGatewayName, Context context) { + return listWithResponseAsync(resourceGroupName, expressRouteGatewayName, context).block(); } /** @@ -882,15 +859,13 @@ public PagedIterable list(String resourceGroupName, * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param expressRouteGatewayName The name of the ExpressRoute gateway. - * @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 expressRouteConnection list as paginated response with {@link PagedIterable}. + * @return expressRouteConnection list. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String expressRouteGatewayName, - Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, expressRouteGatewayName, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteConnectionListInner list(String resourceGroupName, String expressRouteGatewayName) { + return listWithResponse(resourceGroupName, expressRouteGatewayName, Context.NONE).getValue(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java index d4c391a7c870..3003a9afbd78 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java @@ -20,10 +20,6 @@ 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; @@ -34,11 +30,10 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.ExpressRouteGatewaysClient; import com.azure.resourcemanager.network.fluent.models.ExpressRouteGatewayInner; -import com.azure.resourcemanager.network.implementation.models.ExpressRouteGatewayList; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteGatewayListInner; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -46,8 +41,8 @@ /** * An instance of this class provides access to all the operations defined in ExpressRouteGatewaysClient. */ -public final class ExpressRouteGatewaysClientImpl implements InnerSupportsGet, - InnerSupportsListing, InnerSupportsDelete, ExpressRouteGatewaysClient { +public final class ExpressRouteGatewaysClientImpl + implements InnerSupportsGet, InnerSupportsDelete, ExpressRouteGatewaysClient { /** * The proxy service used to perform REST calls. */ @@ -119,7 +114,7 @@ Mono>> delete(@HostParam("endpoint") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, + 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); @@ -128,7 +123,7 @@ Mono> listByResourceGroup(@HostParam("endpoint @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("endpoint") String endpoint, + Mono> listBySubscription(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); } @@ -979,10 +974,10 @@ public void delete(String resourceGroupName, String expressRouteGatewayName, Con * @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 list of ExpressRoute gateways along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + public Mono> listByResourceGroupWithResponseAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1000,8 +995,6 @@ private Mono> listByResourceGroupSingleP return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1013,10 +1006,10 @@ private Mono> listByResourceGroupSingleP * @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 list of ExpressRoute gateways along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + private Mono> listByResourceGroupWithResponseAsync(String resourceGroupName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1033,11 +1026,8 @@ private Mono> listByResourceGroupSingleP final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + return service.listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context); } /** @@ -1047,11 +1037,11 @@ private Mono> listByResourceGroupSingleP * @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 list of ExpressRoute gateways as paginated response with {@link PagedFlux}. + * @return list of ExpressRoute gateways on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listByResourceGroupAsync(String resourceGroupName) { + return listByResourceGroupWithResponseAsync(resourceGroupName).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1062,40 +1052,26 @@ public PagedFlux listByResourceGroupAsync(String resou * @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 list of ExpressRoute gateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context)); - } - - /** - * Lists ExpressRoute gateways in a given 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 list of ExpressRoute gateways as paginated response with {@link PagedIterable}. + * @return list of ExpressRoute gateways along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listByResourceGroupWithResponse(String resourceGroupName, + Context context) { + return listByResourceGroupWithResponseAsync(resourceGroupName, context).block(); } /** * Lists ExpressRoute gateways in a given 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 list of ExpressRoute gateways as paginated response with {@link PagedIterable}. + * @return list of ExpressRoute gateways. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteGatewayListInner listByResourceGroup(String resourceGroupName) { + return listByResourceGroupWithResponse(resourceGroupName, Context.NONE).getValue(); } /** @@ -1103,10 +1079,10 @@ public PagedIterable listByResourceGroup(String resour * * @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 list of ExpressRoute gateways along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + public Mono> listBySubscriptionWithResponseAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1118,10 +1094,8 @@ private Mono> listSinglePageAsync() { final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .withContext(context -> service.listBySubscription(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1132,10 +1106,10 @@ private Mono> listSinglePageAsync() { * @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 list of ExpressRoute gateways along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return list of ExpressRoute gateways along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listBySubscriptionWithResponseAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1147,9 +1121,8 @@ private Mono> listSinglePageAsync(Contex final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + return service.listBySubscription(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + accept, context); } /** @@ -1157,11 +1130,11 @@ private Mono> listSinglePageAsync(Contex * * @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 list of ExpressRoute gateways as paginated response with {@link PagedFlux}. + * @return list of ExpressRoute gateways on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync()); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listBySubscriptionAsync() { + return listBySubscriptionWithResponseAsync().flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1171,36 +1144,22 @@ public PagedFlux listAsync() { * @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 list of ExpressRoute gateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context)); - } - - /** - * Lists ExpressRoute gateways under a given 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 list of ExpressRoute gateways as paginated response with {@link PagedIterable}. + * @return list of ExpressRoute gateways along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listBySubscriptionWithResponse(Context context) { + return listBySubscriptionWithResponseAsync(context).block(); } /** * Lists ExpressRoute gateways under a given 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 list of ExpressRoute gateways as paginated response with {@link PagedIterable}. + * @return list of ExpressRoute gateways. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteGatewayListInner listBySubscription() { + return listBySubscriptionWithResponse(Context.NONE).getValue(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java index 55be8b94ca1c..fd436e384a1d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java @@ -19,10 +19,6 @@ 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; @@ -30,7 +26,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.FirewallPolicyIdpsSignaturesOverridesClient; import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesInner; -import com.azure.resourcemanager.network.implementation.models.SignaturesOverridesList; +import com.azure.resourcemanager.network.fluent.models.SignaturesOverridesListInner; import reactor.core.publisher.Mono; /** @@ -101,7 +97,7 @@ Mono> patch(@HostParam("endpoint") String end @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("endpoint") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Accept") String accept, @@ -527,11 +523,11 @@ public SignaturesOverridesInner patch(String resourceGroupName, String firewallP * @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 describes an object containing an array with a single item along with {@link PagedResponse} on successful + * @return describes an object containing an array with a single item along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, + public Mono> listWithResponseAsync(String resourceGroupName, String firewallPolicyName) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -554,8 +550,6 @@ private Mono> listSinglePageAsync(String return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, firewallPolicyName, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -568,11 +562,11 @@ private Mono> listSinglePageAsync(String * @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 describes an object containing an array with a single item along with {@link PagedResponse} on successful + * @return describes an object containing an array with a single item along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, + private Mono> listWithResponseAsync(String resourceGroupName, String firewallPolicyName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -593,11 +587,8 @@ private Mono> listSinglePageAsync(String final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - firewallPolicyName, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + firewallPolicyName, accept, context); } /** @@ -608,11 +599,12 @@ private Mono> listSinglePageAsync(String * @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 describes an object containing an array with a single item as paginated response with {@link PagedFlux}. + * @return describes an object containing an array with a single item on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String firewallPolicyName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, firewallPolicyName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listAsync(String resourceGroupName, String firewallPolicyName) { + return listWithResponseAsync(resourceGroupName, firewallPolicyName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -624,28 +616,12 @@ public PagedFlux listAsync(String resourceGroupName, S * @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 describes an object containing an array with a single item as paginated response with {@link PagedFlux}. + * @return describes an object containing an array with a single item along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String firewallPolicyName, + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listWithResponse(String resourceGroupName, String firewallPolicyName, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, firewallPolicyName, context)); - } - - /** - * Returns all signatures overrides objects for a specific policy as a list containing a single value. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param firewallPolicyName The name of the Firewall Policy. - * @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 describes an object containing an array with a single item as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String firewallPolicyName) { - return new PagedIterable<>(listAsync(resourceGroupName, firewallPolicyName)); + return listWithResponseAsync(resourceGroupName, firewallPolicyName, context).block(); } /** @@ -653,16 +629,13 @@ public PagedIterable list(String resourceGroupName, St * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param firewallPolicyName The name of the Firewall Policy. - * @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 describes an object containing an array with a single item as paginated response with - * {@link PagedIterable}. + * @return describes an object containing an array with a single item. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String firewallPolicyName, - Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, firewallPolicyName, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public SignaturesOverridesListInner list(String resourceGroupName, String firewallPolicyName) { + return listWithResponse(resourceGroupName, firewallPolicyName, Context.NONE).getValue(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendImpl.java index 3914cfab0a6b..788c2dda942d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendImpl.java @@ -48,7 +48,7 @@ class LoadBalancerFrontendImpl extends ChildResourceImpl getPublicIpAddressAsync() { @Override public Subnet getSubnet() { - return Utils.getAssociatedSubnet(this.parent().manager(), this.innerModel().subnet()); + SubnetInner subnetInner = this.innerModel().subnet(); + if (subnetInner == null) { + return null; + } + return Utils.getAssociatedSubnet(this.parent().manager(), new SubResource().withId(subnetInner.id())); } @Override diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java index 7f135921c25d..10ce67401bfe 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java @@ -7,7 +7,6 @@ import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.ExpectedResponses; 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.PathParam; @@ -17,18 +16,13 @@ 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.util.Context; import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.NetworkManagerDeploymentStatusOperationsClient; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerDeploymentStatusInner; -import com.azure.resourcemanager.network.implementation.models.NetworkManagerDeploymentStatusListResult; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerDeploymentStatusListResultInner; import com.azure.resourcemanager.network.models.NetworkManagerDeploymentStatusParameter; import reactor.core.publisher.Mono; @@ -66,15 +60,14 @@ public final class NetworkManagerDeploymentStatusOperationsClientImpl @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientNetworkManagerDeploymentStatusOperations") public interface NetworkManagerDeploymentStatusOperationsService { - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("endpoint") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, - @HeaderParam("Accept") String accept, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") NetworkManagerDeploymentStatusParameter parameters, Context context); } @@ -89,11 +82,11 @@ Mono> list(@HostParam("endpoi * @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 list of Network Manager Deployment Status along with {@link PagedResponse} on successful completion of + * @return a list of Network Manager Deployment Status along with {@link Response} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, + public Mono> listWithResponseAsync(String resourceGroupName, String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, Integer top) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -117,12 +110,11 @@ private Mono> listSinglePageA parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, top, accept, parameters, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + resourceGroupName, networkManagerName, top, contentType, accept, parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -138,12 +130,13 @@ private Mono> listSinglePageA * @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 list of Network Manager Deployment Status along with {@link PagedResponse} on successful completion of + * @return a list of Network Manager Deployment Status along with {@link Response} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, Integer top, Context context) { + private Mono> listWithResponseAsync( + String resourceGroupName, String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, + Integer top, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -166,13 +159,11 @@ private Mono> listSinglePageA parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - networkManagerName, top, accept, parameters, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + networkManagerName, top, contentType, accept, parameters, context); } /** @@ -181,35 +172,17 @@ private Mono> listSinglePageA * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Parameters supplied to specify which Managed Network deployment status is. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. * @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 list of Network Manager Deployment Status as paginated response with {@link PagedFlux}. + * @return a list of Network Manager Deployment Status on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - NetworkManagerDeploymentStatusParameter parameters, Integer top) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, parameters, top)); - } - - /** - * Post to List of Network Manager Deployment Status. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which Managed Network deployment status is. - * @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 list of Network Manager Deployment Status as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String networkManagerName, - NetworkManagerDeploymentStatusParameter parameters) { + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listAsync(String resourceGroupName, + String networkManagerName, NetworkManagerDeploymentStatusParameter parameters) { final Integer top = null; - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, networkManagerName, parameters, top)); + return listWithResponseAsync(resourceGroupName, networkManagerName, parameters, top) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -224,13 +197,12 @@ public PagedFlux listAsync(String resourceG * @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 list of Network Manager Deployment Status as paginated response with {@link PagedFlux}. + * @return a list of Network Manager Deployment Status along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listWithResponse(String resourceGroupName, String networkManagerName, NetworkManagerDeploymentStatusParameter parameters, Integer top, Context context) { - return new PagedFlux<>( - () -> listSinglePageAsync(resourceGroupName, networkManagerName, parameters, top, context)); + return listWithResponseAsync(resourceGroupName, networkManagerName, parameters, top, context).block(); } /** @@ -242,32 +214,12 @@ private PagedFlux listAsync(String resource * @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 list of Network Manager Deployment Status as paginated response with {@link PagedIterable}. + * @return a list of Network Manager Deployment Status. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkManagerDeploymentStatusListResultInner list(String resourceGroupName, String networkManagerName, NetworkManagerDeploymentStatusParameter parameters) { final Integer top = null; - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, parameters, top)); - } - - /** - * Post to List of Network Manager Deployment Status. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Parameters supplied to specify which Managed Network deployment status is. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 a list of Network Manager Deployment Status as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String networkManagerName, - NetworkManagerDeploymentStatusParameter parameters, Integer top, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, networkManagerName, parameters, top, context)); + return listWithResponse(resourceGroupName, networkManagerName, parameters, top, Context.NONE).getValue(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java index 1fa78bdbc1c3..772ce8db5387 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java @@ -34,11 +34,9 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkManagersClient; -import com.azure.resourcemanager.network.fluent.models.ActiveBaseSecurityAdminRuleInner; -import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationInner; +import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationsListResultInner; +import com.azure.resourcemanager.network.fluent.models.ActiveSecurityAdminRulesListResultInner; import com.azure.resourcemanager.network.fluent.models.NetworkManagerInner; -import com.azure.resourcemanager.network.implementation.models.ActiveConnectivityConfigurationsListResult; -import com.azure.resourcemanager.network.implementation.models.ActiveSecurityAdminRulesListResult; import com.azure.resourcemanager.network.implementation.models.NetworkManagerListResult; import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; import com.azure.resourcemanager.network.models.PatchObject; @@ -140,28 +138,26 @@ Mono> list(@HostParam("endpoint") String endp @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listActiveConnectivityConfigurations( + Mono> listActiveConnectivityConfigurations( @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, - @HeaderParam("Accept") String accept, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") ActiveConfigurationParameter parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listActiveSecurityAdminRules( + Mono> listActiveSecurityAdminRules( @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, - @HeaderParam("Accept") String accept, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") ActiveConfigurationParameter parameters, Context context); @Headers({ "Content-Type: application/json" }) @@ -1191,12 +1187,12 @@ public PagedIterable list(Integer top, String skipToken, Co * @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 result of the request to list active connectivity configurations along with {@link PagedResponse} on + * @return result of the request to list active connectivity configurations along with {@link Response} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listActiveConnectivityConfigurationsSinglePageAsync(String resourceGroupName, String networkManagerName, + public Mono> + listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1220,13 +1216,12 @@ public PagedIterable list(Integer top, String skipToken, Co parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listActiveConnectivityConfigurations(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, accept, parameters, - context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1242,12 +1237,12 @@ public PagedIterable list(Integer top, String skipToken, Co * @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 result of the request to list active connectivity configurations along with {@link PagedResponse} on + * @return result of the request to list active connectivity configurations along with {@link Response} on * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listActiveConnectivityConfigurationsSinglePageAsync(String resourceGroupName, String networkManagerName, + private Mono> + listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1271,12 +1266,12 @@ public PagedIterable list(Integer top, String skipToken, Co parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.listActiveConnectivityConfigurations(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, accept, parameters, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, contentType, accept, + parameters, context); } /** @@ -1285,39 +1280,18 @@ public PagedIterable list(Integer top, String skipToken, Co * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. * @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 result of the request to list active connectivity configurations as paginated response with - * {@link PagedFlux}. + * @return result of the request to list active connectivity configurations on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listActiveConnectivityConfigurationsAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top) { - return new PagedFlux<>(() -> listActiveConnectivityConfigurationsSinglePageAsync(resourceGroupName, - networkManagerName, parameters, top)); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active connectivity configurations as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listActiveConnectivityConfigurationsAsync( + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listActiveConnectivityConfigurationsAsync( String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { final Integer top = null; - return new PagedFlux<>(() -> listActiveConnectivityConfigurationsSinglePageAsync(resourceGroupName, - networkManagerName, parameters, top)); + return listActiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, networkManagerName, parameters, + top).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1332,15 +1306,14 @@ public PagedFlux listActiveConnectivityCon * @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 result of the request to list active connectivity configurations as paginated response with - * {@link PagedFlux}. + * @return result of the request to list active connectivity configurations along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listActiveConnectivityConfigurationsAsync( + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listActiveConnectivityConfigurationsWithResponse( String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context) { - return new PagedFlux<>(() -> listActiveConnectivityConfigurationsSinglePageAsync(resourceGroupName, - networkManagerName, parameters, top, context)); + return listActiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, networkManagerName, parameters, + top, context).block(); } /** @@ -1352,38 +1325,14 @@ private PagedFlux listActiveConnectivityCo * @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 result of the request to list active connectivity configurations as paginated response with - * {@link PagedIterable}. + * @return result of the request to list active connectivity configurations. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listActiveConnectivityConfigurations( + @ServiceMethod(returns = ReturnType.SINGLE) + public ActiveConnectivityConfigurationsListResultInner listActiveConnectivityConfigurations( String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { final Integer top = null; - return new PagedIterable<>( - listActiveConnectivityConfigurationsAsync(resourceGroupName, networkManagerName, parameters, top)); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listActiveConnectivityConfigurations( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, - Context context) { - return new PagedIterable<>( - listActiveConnectivityConfigurationsAsync(resourceGroupName, networkManagerName, parameters, top, context)); + return listActiveConnectivityConfigurationsWithResponse(resourceGroupName, networkManagerName, parameters, top, + Context.NONE).getValue(); } /** @@ -1397,11 +1346,11 @@ public PagedIterable listActiveConnectivit * @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 result of the request to list active security admin rules along with {@link PagedResponse} on successful + * @return result of the request to list active security admin rules along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listActiveSecurityAdminRulesSinglePageAsync( + public Mono> listActiveSecurityAdminRulesWithResponseAsync( String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1425,13 +1374,12 @@ private Mono> listActiveSecurity parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.listActiveSecurityAdminRules(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, accept, parameters, - context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), - res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, contentType, accept, + parameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1447,11 +1395,11 @@ private Mono> listActiveSecurity * @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 result of the request to list active security admin rules along with {@link PagedResponse} on successful + * @return result of the request to list active security admin rules along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listActiveSecurityAdminRulesSinglePageAsync( + private Mono> listActiveSecurityAdminRulesWithResponseAsync( String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context) { if (this.client.getEndpoint() == null) { @@ -1476,13 +1424,12 @@ private Mono> listActiveSecurity parameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .listActiveSecurityAdminRules(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, networkManagerName, top, accept, parameters, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + return service.listActiveSecurityAdminRules(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, contentType, accept, + parameters, context); } /** @@ -1491,37 +1438,17 @@ private Mono> listActiveSecurity * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkManagerName The name of the network manager. * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. * @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 result of the request to list active security admin rules as paginated response with {@link PagedFlux}. + * @return result of the request to list active security admin rules on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listActiveSecurityAdminRulesAsync(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters, Integer top) { - return new PagedFlux<>( - () -> listActiveSecurityAdminRulesSinglePageAsync(resourceGroupName, networkManagerName, parameters, top)); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active security admin rules as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listActiveSecurityAdminRulesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listActiveSecurityAdminRulesAsync(String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { final Integer top = null; - return new PagedFlux<>( - () -> listActiveSecurityAdminRulesSinglePageAsync(resourceGroupName, networkManagerName, parameters, top)); + return listActiveSecurityAdminRulesWithResponseAsync(resourceGroupName, networkManagerName, parameters, top) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -1536,13 +1463,14 @@ public PagedFlux listActiveSecurityAdminRulesA * @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 result of the request to list active security admin rules as paginated response with {@link PagedFlux}. + * @return result of the request to list active security admin rules along with {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listActiveSecurityAdminRulesAsync(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context) { - return new PagedFlux<>(() -> listActiveSecurityAdminRulesSinglePageAsync(resourceGroupName, networkManagerName, - parameters, top, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listActiveSecurityAdminRulesWithResponse( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, + Context context) { + return listActiveSecurityAdminRulesWithResponseAsync(resourceGroupName, networkManagerName, parameters, top, + context).block(); } /** @@ -1554,37 +1482,14 @@ private PagedFlux listActiveSecurityAdminRules * @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 result of the request to list active security admin rules as paginated response with - * {@link PagedIterable}. + * @return result of the request to list active security admin rules. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listActiveSecurityAdminRules(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + public ActiveSecurityAdminRulesListResultInner listActiveSecurityAdminRules(String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { final Integer top = null; - return new PagedIterable<>( - listActiveSecurityAdminRulesAsync(resourceGroupName, networkManagerName, parameters, top)); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listActiveSecurityAdminRules(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context) { - return new PagedIterable<>( - listActiveSecurityAdminRulesAsync(resourceGroupName, networkManagerName, parameters, top, context)); + return listActiveSecurityAdminRulesWithResponse(resourceGroupName, networkManagerName, parameters, top, + Context.NONE).getValue(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NicIpConfigurationBaseImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NicIpConfigurationBaseImpl.java index c8d971d420a1..8aeca1043823 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NicIpConfigurationBaseImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NicIpConfigurationBaseImpl.java @@ -3,12 +3,12 @@ package com.azure.resourcemanager.network.implementation; -import com.azure.core.management.SubResource; import com.azure.core.util.Context; import com.azure.core.util.CoreUtils; import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.NetworkManager; import com.azure.resourcemanager.network.fluent.models.ApplicationSecurityGroupInner; +import com.azure.resourcemanager.network.fluent.models.SubnetInner; import com.azure.resourcemanager.network.models.ApplicationGatewayBackend; import com.azure.resourcemanager.network.models.ApplicationSecurityGroup; import com.azure.resourcemanager.network.models.IpAllocationMethod; @@ -94,7 +94,7 @@ public IpVersion privateIpAddressVersion() { } public String networkId() { - SubResource subnetRef = this.innerModel().subnet(); + SubnetInner subnetRef = this.innerModel().subnet(); if (subnetRef == null) { return null; } @@ -111,7 +111,7 @@ public Network getNetwork() { @Override public String subnetName() { - SubResource subnetRef = this.innerModel().subnet(); + SubnetInner subnetRef = this.innerModel().subnet(); if (subnetRef == null) { return null; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCaptureImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCaptureImpl.java index 53236857a318..dea1e7abadcf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCaptureImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCaptureImpl.java @@ -131,6 +131,7 @@ public boolean isInCreateMode() { @Override public Mono createResourceAsync() { return this.client.createAsync(parent.resourceGroupName(), parent.name(), this.name(), createParameters) + .flatMap(ignored -> this.client.getAsync(parent.resourceGroupName(), parent.name(), this.name())) .map(innerToFluentMap(this)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java index 68fcc13f5596..a46731bc31b6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java @@ -18,10 +18,6 @@ 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; @@ -32,7 +28,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VipSwapsClient; import com.azure.resourcemanager.network.fluent.models.SwapResourceInner; -import com.azure.resourcemanager.network.implementation.models.SwapResourceListResult; +import com.azure.resourcemanager.network.fluent.models.SwapResourceListResultInner; import com.azure.resourcemanager.network.models.SingletonResource; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -94,7 +90,7 @@ Mono>> create(@HostParam("endpoint") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("endpoint") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("groupName") String groupName, @PathParam("resourceName") String resourceName, @HeaderParam("Accept") String accept, Context context); @@ -509,10 +505,10 @@ public void create(String groupName, String resourceName, SingletonResource sing * @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 list of SwapResource which identifies the slot type for the specified cloud service along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String groupName, String resourceName) { + public Mono> listWithResponseAsync(String groupName, String resourceName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -532,8 +528,6 @@ private Mono> listSinglePageAsync(String groupN return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), groupName, resourceName, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), - res.getHeaders(), res.getValue().value(), null, null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -548,10 +542,10 @@ private Mono> listSinglePageAsync(String groupN * @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 list of SwapResource which identifies the slot type for the specified cloud service along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String groupName, String resourceName, + private Mono> listWithResponseAsync(String groupName, String resourceName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -570,11 +564,8 @@ private Mono> listSinglePageAsync(String groupN final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service - .list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), groupName, resourceName, - accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), null, null)); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), groupName, + resourceName, accept, context); } /** @@ -586,12 +577,12 @@ private Mono> listSinglePageAsync(String groupN * @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 list of SwapResource which identifies the slot type for the specified cloud service as paginated - * response with {@link PagedFlux}. + * @return the list of SwapResource which identifies the slot type for the specified cloud service on successful + * completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String groupName, String resourceName) { - return new PagedFlux<>(() -> listSinglePageAsync(groupName, resourceName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listAsync(String groupName, String resourceName) { + return listWithResponseAsync(groupName, resourceName).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -604,29 +595,13 @@ public PagedFlux listAsync(String groupName, String resourceN * @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 list of SwapResource which identifies the slot type for the specified cloud service as paginated - * response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String groupName, String resourceName, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(groupName, resourceName, context)); - } - - /** - * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a - * cloud service can either be Staging or Production. - * - * @param groupName The groupName parameter. - * @param resourceName The name of the cloud service. - * @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 list of SwapResource which identifies the slot type for the specified cloud service as paginated - * response with {@link PagedIterable}. + * @return the list of SwapResource which identifies the slot type for the specified cloud service along with + * {@link Response}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String groupName, String resourceName) { - return new PagedIterable<>(listAsync(groupName, resourceName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listWithResponse(String groupName, String resourceName, + Context context) { + return listWithResponseAsync(groupName, resourceName, context).block(); } /** @@ -635,15 +610,13 @@ public PagedIterable list(String groupName, String resourceNa * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @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 list of SwapResource which identifies the slot type for the specified cloud service as paginated - * response with {@link PagedIterable}. + * @return the list of SwapResource which identifies the slot type for the specified cloud service. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String groupName, String resourceName, Context context) { - return new PagedIterable<>(listAsync(groupName, resourceName, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public SwapResourceListResultInner list(String groupName, String resourceName) { + return listWithResponse(groupName, resourceName, Context.NONE).getValue(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java index 54683a374d2f..ad2cd6980c77 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java @@ -34,12 +34,10 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualHubsClient; -import com.azure.resourcemanager.network.fluent.models.EffectiveRouteMapRouteInner; -import com.azure.resourcemanager.network.fluent.models.VirtualHubEffectiveRouteInner; +import com.azure.resourcemanager.network.fluent.models.EffectiveRouteMapRouteListInner; +import com.azure.resourcemanager.network.fluent.models.VirtualHubEffectiveRouteListInner; import com.azure.resourcemanager.network.fluent.models.VirtualHubInner; -import com.azure.resourcemanager.network.implementation.models.EffectiveRouteMapRouteList; import com.azure.resourcemanager.network.implementation.models.ListVirtualHubsResult; -import com.azure.resourcemanager.network.implementation.models.VirtualHubEffectiveRouteList; import com.azure.resourcemanager.network.models.EffectiveRoutesParameters; import com.azure.resourcemanager.network.models.GetInboundRoutesParameters; import com.azure.resourcemanager.network.models.GetOutboundRoutesParameters; @@ -149,24 +147,24 @@ Mono>> getEffectiveVirtualHubRoutes(@HostParam("endpoi @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, @BodyParam("application/json") EffectiveRoutesParameters effectiveRoutesParameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/inboundRoutes") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> getInboundRoutes(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") GetInboundRoutesParameters getInboundRoutesParameters, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/outboundRoutes") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> getOutboundRoutes(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Accept") String accept, + @PathParam("virtualHubName") String virtualHubName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") GetOutboundRoutesParameters getOutboundRoutesParameters, Context context); @Headers({ "Content-Type: application/json" }) @@ -1135,11 +1133,11 @@ public PagedIterable list(Context context) { * @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 effective routes configured for the Virtual Hub resource or the specified resource along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getEffectiveVirtualHubRoutesSinglePageAsync( - String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) { + public Mono>> getEffectiveVirtualHubRoutesWithResponseAsync(String resourceGroupName, + String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1160,21 +1158,10 @@ private Mono> getEffectiveVirtualHu } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono = service - .getEffectiveVirtualHubRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, accept, effectiveRoutesParameters, context) - .cache(); - return Mono.zip(mono, - this.client - .getLroResult(mono, - this.client.getHttpPipeline(), VirtualHubEffectiveRouteList.class, - VirtualHubEffectiveRouteList.class, this.client.getContext()) - .last() - .flatMap(this.client::getLroFinalResultOrError)); - }) - .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), - res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) + return FluxUtil + .withContext(context -> service.getEffectiveVirtualHubRoutes(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, accept, effectiveRoutesParameters, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1189,12 +1176,11 @@ private Mono> getEffectiveVirtualHu * @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 effective routes configured for the Virtual Hub resource or the specified resource along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getEffectiveVirtualHubRoutesSinglePageAsync( - String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, - Context context) { + private Mono>> getEffectiveVirtualHubRoutesWithResponseAsync(String resourceGroupName, + String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1216,20 +1202,9 @@ private Mono> getEffectiveVirtualHu final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - Mono>> mono = service - .getEffectiveVirtualHubRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, accept, effectiveRoutesParameters, context) - .cache(); - return Mono - .zip(mono, - this.client - .getLroResult(mono, - this.client.getHttpPipeline(), VirtualHubEffectiveRouteList.class, - VirtualHubEffectiveRouteList.class, context) - .last() - .flatMap(this.client::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), null, null)); + return service.getEffectiveVirtualHubRoutes(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, accept, effectiveRoutesParameters, + context); } /** @@ -1241,14 +1216,127 @@ private Mono> getEffectiveVirtualHu * @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 effective routes configured for the Virtual Hub resource or the specified resource as paginated - * response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of the effective routes configured for the Virtual Hub resource or the + * specified resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getEffectiveVirtualHubRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, VirtualHubEffectiveRouteListInner> + beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, + EffectiveRoutesParameters effectiveRoutesParameters) { + Mono>> mono = getEffectiveVirtualHubRoutesWithResponseAsync(resourceGroupName, + virtualHubName, effectiveRoutesParameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VirtualHubEffectiveRouteListInner.class, + VirtualHubEffectiveRouteListInner.class, this.client.getContext()); + } + + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @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 effective routes configured for the Virtual Hub resource or the + * specified resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, VirtualHubEffectiveRouteListInner> + beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName) { + final EffectiveRoutesParameters effectiveRoutesParameters = null; + Mono>> mono = getEffectiveVirtualHubRoutesWithResponseAsync(resourceGroupName, + virtualHubName, effectiveRoutesParameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VirtualHubEffectiveRouteListInner.class, + VirtualHubEffectiveRouteListInner.class, this.client.getContext()); + } + + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. + * @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 PollerFlux} for polling of the effective routes configured for the Virtual Hub resource or the + * specified resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, VirtualHubEffectiveRouteListInner> + beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, + EffectiveRoutesParameters effectiveRoutesParameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = getEffectiveVirtualHubRoutesWithResponseAsync(resourceGroupName, + virtualHubName, effectiveRoutesParameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VirtualHubEffectiveRouteListInner.class, + VirtualHubEffectiveRouteListInner.class, context); + } + + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @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 effective routes configured for the Virtual Hub resource or the + * specified resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, VirtualHubEffectiveRouteListInner> + beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName) { + final EffectiveRoutesParameters effectiveRoutesParameters = null; + return this.beginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters) + .getSyncPoller(); + } + + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. + * @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 the effective routes configured for the Virtual Hub resource or the + * specified resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, VirtualHubEffectiveRouteListInner> + beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, + EffectiveRoutesParameters effectiveRoutesParameters, Context context) { + return this + .beginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, + context) + .getSyncPoller(); + } + + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param effectiveRoutesParameters Parameters supplied to get the effective routes for a specific resource. + * @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 effective routes configured for the Virtual Hub resource or the specified resource on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) { - return new PagedFlux<>(() -> getEffectiveVirtualHubRoutesSinglePageAsync(resourceGroupName, virtualHubName, - effectiveRoutesParameters)); + return beginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters) + .last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -1259,15 +1347,16 @@ public PagedFlux getEffectiveVirtualHubRoutesAsyn * @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 effective routes configured for the Virtual Hub resource or the specified resource as paginated - * response with {@link PagedFlux}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource on successful + * completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getEffectiveVirtualHubRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName) { final EffectiveRoutesParameters effectiveRoutesParameters = null; - return new PagedFlux<>(() -> getEffectiveVirtualHubRoutesSinglePageAsync(resourceGroupName, virtualHubName, - effectiveRoutesParameters)); + return beginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters) + .last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -1280,14 +1369,14 @@ public PagedFlux getEffectiveVirtualHubRoutesAsyn * @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 effective routes configured for the Virtual Hub resource or the specified resource as paginated - * response with {@link PagedFlux}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource on successful + * completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getEffectiveVirtualHubRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, Context context) { - return new PagedFlux<>(() -> getEffectiveVirtualHubRoutesSinglePageAsync(resourceGroupName, virtualHubName, - effectiveRoutesParameters, context)); + return beginGetEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, + context).last().flatMap(this.client::getLroFinalResultOrError); } /** @@ -1298,15 +1387,13 @@ private PagedFlux getEffectiveVirtualHubRoutesAsy * @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 effective routes configured for the Virtual Hub resource or the specified resource as paginated - * response with {@link PagedIterable}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getEffectiveVirtualHubRoutes(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + public VirtualHubEffectiveRouteListInner getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName) { final EffectiveRoutesParameters effectiveRoutesParameters = null; - return new PagedIterable<>( - getEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters)); + return getEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters).block(); } /** @@ -1319,14 +1406,13 @@ public PagedIterable getEffectiveVirtualHubRoutes * @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 effective routes configured for the Virtual Hub resource or the specified resource as paginated - * response with {@link PagedIterable}. + * @return the effective routes configured for the Virtual Hub resource or the specified resource. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getEffectiveVirtualHubRoutes(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + public VirtualHubEffectiveRouteListInner getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, Context context) { - return new PagedIterable<>( - getEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, context)); + return getEffectiveVirtualHubRoutesAsync(resourceGroupName, virtualHubName, effectiveRoutesParameters, context) + .block(); } /** @@ -1338,11 +1424,11 @@ public PagedIterable getEffectiveVirtualHubRoutes * @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 inbound routes configured for the Virtual Hub on a particular connection along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the inbound routes configured for the Virtual Hub on a particular connection along with {@link Response} + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getInboundRoutesSinglePageAsync(String resourceGroupName, + public Mono>> getInboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1366,23 +1452,12 @@ private Mono> getInboundRoutesSingleP getInboundRoutesParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono - = service - .getInboundRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, accept, getInboundRoutesParameters, context) - .cache(); - return Mono.zip(mono, - this.client - .getLroResult(mono, - this.client.getHttpPipeline(), EffectiveRouteMapRouteList.class, - EffectiveRouteMapRouteList.class, this.client.getContext()) - .last() - .flatMap(this.client::getLroFinalResultOrError)); - }) - .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), - res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) + return FluxUtil + .withContext(context -> service.getInboundRoutes(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, contentType, accept, + getInboundRoutesParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1396,11 +1471,11 @@ private Mono> getInboundRoutesSingleP * @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 inbound routes configured for the Virtual Hub on a particular connection along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the inbound routes configured for the Virtual Hub on a particular connection along with {@link Response} + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getInboundRoutesSinglePageAsync(String resourceGroupName, + private Mono>> getInboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1424,23 +1499,34 @@ private Mono> getInboundRoutesSingleP getInboundRoutesParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); + return service.getInboundRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, contentType, accept, getInboundRoutesParameters, context); + } + + /** + * Gets the inbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. + * @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 inbound routes configured for the Virtual Hub on a particular + * connection. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, EffectiveRouteMapRouteListInner> + beginGetInboundRoutesAsync(String resourceGroupName, String virtualHubName, + GetInboundRoutesParameters getInboundRoutesParameters) { Mono>> mono - = service - .getInboundRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, accept, getInboundRoutesParameters, context) - .cache(); - return Mono - .zip(mono, - this.client - .getLroResult(mono, - this.client.getHttpPipeline(), EffectiveRouteMapRouteList.class, - EffectiveRouteMapRouteList.class, context) - .last() - .flatMap(this.client::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), null, null)); + = getInboundRoutesWithResponseAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), EffectiveRouteMapRouteListInner.class, EffectiveRouteMapRouteListInner.class, + this.client.getContext()); } /** @@ -1449,17 +1535,83 @@ private Mono> getInboundRoutesSingleP * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. + * @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 inbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of the inbound routes configured for the Virtual Hub on a particular + * connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getInboundRoutesAsync(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, EffectiveRouteMapRouteListInner> + beginGetInboundRoutesAsync(String resourceGroupName, String virtualHubName, + GetInboundRoutesParameters getInboundRoutesParameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = getInboundRoutesWithResponseAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), EffectiveRouteMapRouteListInner.class, EffectiveRouteMapRouteListInner.class, + context); + } + + /** + * Gets the inbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. + * @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 inbound routes configured for the Virtual Hub on a particular + * connection. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, EffectiveRouteMapRouteListInner> + beginGetInboundRoutes(String resourceGroupName, String virtualHubName, + GetInboundRoutesParameters getInboundRoutesParameters) { + return this.beginGetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters) + .getSyncPoller(); + } + + /** + * Gets the inbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. + * @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 the inbound routes configured for the Virtual Hub on a particular + * connection. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, EffectiveRouteMapRouteListInner> + beginGetInboundRoutes(String resourceGroupName, String virtualHubName, + GetInboundRoutesParameters getInboundRoutesParameters, Context context) { + return this.beginGetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, context) + .getSyncPoller(); + } + + /** + * Gets the inbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getInboundRoutesParameters Parameters supplied to get the inbound routes for a connection resource. + * @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 inbound routes configured for the Virtual Hub on a particular connection on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getInboundRoutesAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) { - return new PagedFlux<>( - () -> getInboundRoutesSinglePageAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters)); + return beginGetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -1472,14 +1624,14 @@ public PagedFlux getInboundRoutesAsync(String resou * @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 inbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedFlux}. + * @return the inbound routes configured for the Virtual Hub on a particular connection on successful completion of + * {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getInboundRoutesAsync(String resourceGroupName, - String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Context context) { - return new PagedFlux<>(() -> getInboundRoutesSinglePageAsync(resourceGroupName, virtualHubName, - getInboundRoutesParameters, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getInboundRoutesAsync(String resourceGroupName, String virtualHubName, + GetInboundRoutesParameters getInboundRoutesParameters, Context context) { + return beginGetInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -1491,14 +1643,12 @@ private PagedFlux getInboundRoutesAsync(String reso * @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 inbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedIterable}. + * @return the inbound routes configured for the Virtual Hub on a particular connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getInboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.SINGLE) + public EffectiveRouteMapRouteListInner getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) { - return new PagedIterable<>( - getInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters)); + return getInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters).block(); } /** @@ -1511,14 +1661,12 @@ public PagedIterable getInboundRoutes(String resour * @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 inbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedIterable}. + * @return the inbound routes configured for the Virtual Hub on a particular connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getInboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.SINGLE) + public EffectiveRouteMapRouteListInner getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, Context context) { - return new PagedIterable<>( - getInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, context)); + return getInboundRoutesAsync(resourceGroupName, virtualHubName, getInboundRoutesParameters, context).block(); } /** @@ -1530,11 +1678,11 @@ public PagedIterable getInboundRoutes(String resour * @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 outbound routes configured for the Virtual Hub on a particular connection along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the outbound routes configured for the Virtual Hub on a particular connection along with {@link Response} + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getOutboundRoutesSinglePageAsync(String resourceGroupName, + public Mono>> getOutboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1558,23 +1706,12 @@ private Mono> getOutboundRoutesSingle getOutboundRoutesParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono - = service - .getOutboundRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, accept, getOutboundRoutesParameters, context) - .cache(); - return Mono.zip(mono, - this.client - .getLroResult(mono, - this.client.getHttpPipeline(), EffectiveRouteMapRouteList.class, - EffectiveRouteMapRouteList.class, this.client.getContext()) - .last() - .flatMap(this.client::getLroFinalResultOrError)); - }) - .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), - res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) + return FluxUtil + .withContext(context -> service.getOutboundRoutes(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualHubName, contentType, accept, + getOutboundRoutesParameters, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1588,11 +1725,11 @@ private Mono> getOutboundRoutesSingle * @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 outbound routes configured for the Virtual Hub on a particular connection along with - * {@link PagedResponse} on successful completion of {@link Mono}. + * @return the outbound routes configured for the Virtual Hub on a particular connection along with {@link Response} + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getOutboundRoutesSinglePageAsync(String resourceGroupName, + private Mono>> getOutboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1616,23 +1753,34 @@ private Mono> getOutboundRoutesSingle getOutboundRoutesParameters.validate(); } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); + return service.getOutboundRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualHubName, contentType, accept, getOutboundRoutesParameters, context); + } + + /** + * Gets the outbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. + * @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 outbound routes configured for the Virtual Hub on a particular + * connection. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, EffectiveRouteMapRouteListInner> + beginGetOutboundRoutesAsync(String resourceGroupName, String virtualHubName, + GetOutboundRoutesParameters getOutboundRoutesParameters) { Mono>> mono - = service - .getOutboundRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualHubName, accept, getOutboundRoutesParameters, context) - .cache(); - return Mono - .zip(mono, - this.client - .getLroResult(mono, - this.client.getHttpPipeline(), EffectiveRouteMapRouteList.class, - EffectiveRouteMapRouteList.class, context) - .last() - .flatMap(this.client::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), null, null)); + = getOutboundRoutesWithResponseAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), EffectiveRouteMapRouteListInner.class, EffectiveRouteMapRouteListInner.class, + this.client.getContext()); } /** @@ -1641,17 +1789,43 @@ private Mono> getOutboundRoutesSingle * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualHubName The name of the VirtualHub. * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. + * @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 outbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of the outbound routes configured for the Virtual Hub on a particular + * connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getOutboundRoutesAsync(String resourceGroupName, - String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) { - return new PagedFlux<>( - () -> getOutboundRoutesSinglePageAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, EffectiveRouteMapRouteListInner> + beginGetOutboundRoutesAsync(String resourceGroupName, String virtualHubName, + GetOutboundRoutesParameters getOutboundRoutesParameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = getOutboundRoutesWithResponseAsync(resourceGroupName, virtualHubName, + getOutboundRoutesParameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), EffectiveRouteMapRouteListInner.class, EffectiveRouteMapRouteListInner.class, + context); + } + + /** + * Gets the outbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. + * @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 outbound routes configured for the Virtual Hub on a particular + * connection. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, EffectiveRouteMapRouteListInner> + beginGetOutboundRoutes(String resourceGroupName, String virtualHubName, + GetOutboundRoutesParameters getOutboundRoutesParameters) { + return this.beginGetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters) + .getSyncPoller(); } /** @@ -1664,14 +1838,55 @@ public PagedFlux getOutboundRoutesAsync(String reso * @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 outbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedFlux}. + * @return the {@link SyncPoller} for polling of the outbound routes configured for the Virtual Hub on a particular + * connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getOutboundRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, EffectiveRouteMapRouteListInner> + beginGetOutboundRoutes(String resourceGroupName, String virtualHubName, + GetOutboundRoutesParameters getOutboundRoutesParameters, Context context) { + return this.beginGetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, context) + .getSyncPoller(); + } + + /** + * Gets the outbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. + * @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 outbound routes configured for the Virtual Hub on a particular connection on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getOutboundRoutesAsync(String resourceGroupName, String virtualHubName, + GetOutboundRoutesParameters getOutboundRoutesParameters) { + return beginGetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the outbound routes configured for the Virtual Hub on a particular connection. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualHubName The name of the VirtualHub. + * @param getOutboundRoutesParameters Parameters supplied to get the outbound routes for a connection resource. + * @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 outbound routes configured for the Virtual Hub on a particular connection on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getOutboundRoutesAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Context context) { - return new PagedFlux<>(() -> getOutboundRoutesSinglePageAsync(resourceGroupName, virtualHubName, - getOutboundRoutesParameters, context)); + return beginGetOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, context) + .last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -1683,14 +1898,12 @@ private PagedFlux getOutboundRoutesAsync(String res * @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 outbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedIterable}. + * @return the outbound routes configured for the Virtual Hub on a particular connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getOutboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.SINGLE) + public EffectiveRouteMapRouteListInner getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) { - return new PagedIterable<>( - getOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters)); + return getOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters).block(); } /** @@ -1703,14 +1916,12 @@ public PagedIterable getOutboundRoutes(String resou * @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 outbound routes configured for the Virtual Hub on a particular connection as paginated response with - * {@link PagedIterable}. + * @return the outbound routes configured for the Virtual Hub on a particular connection. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getOutboundRoutes(String resourceGroupName, String virtualHubName, + @ServiceMethod(returns = ReturnType.SINGLE) + public EffectiveRouteMapRouteListInner getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, Context context) { - return new PagedIterable<>( - getOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, context)); + return getOutboundRoutesAsync(resourceGroupName, virtualHubName, getOutboundRoutesParameters, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayImpl.java index 63b653ca55fd..9c6ff55b53e2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayImpl.java @@ -213,10 +213,15 @@ public PagedFlux listConnectionsAsync() { @Override public String generateVpnProfile() { - return this.manager() + this.manager() .serviceClient() .getVirtualNetworkGateways() .generateVpnProfile(resourceGroupName(), name(), new VpnClientParameters()); + return this.manager() + .serviceClient() + .getVirtualNetworkGateways() + .getVpnProfilePackageUrl(resourceGroupName(), name()) + .body(); } @Override @@ -224,7 +229,12 @@ public Mono generateVpnProfileAsync() { return this.manager() .serviceClient() .getVirtualNetworkGateways() - .generateVpnProfileAsync(resourceGroupName(), name(), new VpnClientParameters()); + .generateVpnProfileAsync(resourceGroupName(), name(), new VpnClientParameters()) + .then(this.manager() + .serviceClient() + .getVirtualNetworkGateways() + .getVpnProfilePackageUrlAsync(resourceGroupName(), name())) + .map(result -> result.body()); } @Override diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java index d6e40890dbd4..14b2e993656f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java @@ -35,26 +35,23 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.core.util.serializer.TypeReference; import com.azure.resourcemanager.network.fluent.VirtualNetworkGatewaysClient; -import com.azure.resourcemanager.network.fluent.models.BgpPeerStatusInner; +import com.azure.resourcemanager.network.fluent.models.BgpPeerStatusListResultInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteFailoverSingleTestDetailsInner; import com.azure.resourcemanager.network.fluent.models.ExpressRouteFailoverTestDetailsInner; import com.azure.resourcemanager.network.fluent.models.GatewayResiliencyInformationInner; -import com.azure.resourcemanager.network.fluent.models.GatewayRouteInner; +import com.azure.resourcemanager.network.fluent.models.GatewayRouteListResultInner; import com.azure.resourcemanager.network.fluent.models.GatewayRouteSetsInformationInner; import com.azure.resourcemanager.network.fluent.models.RadiusAuthServerListResultInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionListEntityInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayInner; -import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailInner; +import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailListResultInner; import com.azure.resourcemanager.network.fluent.models.VpnClientIPsecParametersInner; -import com.azure.resourcemanager.network.implementation.models.BgpPeerStatusListResult; -import com.azure.resourcemanager.network.implementation.models.GatewayRouteListResult; import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayListConnectionsResult; import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayListResult; -import com.azure.resourcemanager.network.implementation.models.VpnClientConnectionHealthDetailListResult; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse; import com.azure.resourcemanager.network.models.DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult; import com.azure.resourcemanager.network.models.ErrorException; import com.azure.resourcemanager.network.models.ExpressRouteFailoverStopApiParameters; -import com.azure.resourcemanager.network.models.GenerateVpnProfileFinalResult; import com.azure.resourcemanager.network.models.GeneratevpnclientpackageFinalResult; import com.azure.resourcemanager.network.models.GetVpnProfilePackageUrlFinalResult; import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; @@ -2397,13 +2394,12 @@ private Mono>> generateVpnProfileWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, GenerateVpnProfileFinalResult> - beginGenerateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters) { + public PollerFlux, ArmAcceptedLroResponse> beginGenerateVpnProfileAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { Mono>> mono = generateVpnProfileWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), GenerateVpnProfileFinalResult.class, GenerateVpnProfileFinalResult.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse.class, ArmAcceptedLroResponse.class, this.client.getContext()); } @@ -2421,15 +2417,13 @@ private Mono>> generateVpnProfileWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, GenerateVpnProfileFinalResult> - beginGenerateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters, Context context) { + private PollerFlux, ArmAcceptedLroResponse> beginGenerateVpnProfileAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = generateVpnProfileWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), GenerateVpnProfileFinalResult.class, GenerateVpnProfileFinalResult.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse.class, ArmAcceptedLroResponse.class, context); } /** @@ -2445,7 +2439,7 @@ private Mono>> generateVpnProfileWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GenerateVpnProfileFinalResult> beginGenerateVpnProfile( + public SyncPoller, ArmAcceptedLroResponse> beginGenerateVpnProfile( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return this.beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); @@ -2465,7 +2459,7 @@ public SyncPoller, GenerateVpnProfileF * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GenerateVpnProfileFinalResult> beginGenerateVpnProfile( + public SyncPoller, ArmAcceptedLroResponse> beginGenerateVpnProfile( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return this.beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); @@ -2484,7 +2478,7 @@ public SyncPoller, GenerateVpnProfileF * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generateVpnProfileAsync(String resourceGroupName, + public Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2504,7 +2498,7 @@ public Mono generateVpnProfileAsync(String resour * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generateVpnProfileAsync(String resourceGroupName, + private Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2523,7 +2517,7 @@ private Mono generateVpnProfileAsync(String resou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GenerateVpnProfileFinalResult generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + public ArmAcceptedLroResponse generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return generateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -2542,7 +2536,7 @@ public GenerateVpnProfileFinalResult generateVpnProfile(String resourceGroupName * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GenerateVpnProfileFinalResult generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + public ArmAcceptedLroResponse generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return generateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -2792,10 +2786,10 @@ public GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourc * @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 PagedResponse} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getBgpPeerStatusSinglePageAsync(String resourceGroupName, + public Mono>> getBgpPeerStatusWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -2815,21 +2809,9 @@ private Mono> getBgpPeerStatusSinglePageAsync( } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono - = service - .getBgpPeerStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, peer, accept, context) - .cache(); - return Mono.zip(mono, - this.client - .getLroResult(mono, this.client.getHttpPipeline(), - BgpPeerStatusListResult.class, BgpPeerStatusListResult.class, this.client.getContext()) - .last() - .flatMap(this.client::getLroFinalResultOrError)); - }) - .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), - res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) + return FluxUtil + .withContext(context -> service.getBgpPeerStatus(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, peer, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -2843,10 +2825,10 @@ private Mono> getBgpPeerStatusSinglePageAsync( * @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 PagedResponse} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getBgpPeerStatusSinglePageAsync(String resourceGroupName, + private Mono>> getBgpPeerStatusWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -2867,20 +2849,50 @@ private Mono> getBgpPeerStatusSinglePageAsync( final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); + return service.getBgpPeerStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, peer, accept, context); + } + + /** + * The GetBgpPeerStatus operation retrieves the status of all BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer to retrieve the status of. + * @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) + public PollerFlux, BgpPeerStatusListResultInner> + beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { + Mono>> mono + = getBgpPeerStatusWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), BgpPeerStatusListResultInner.class, BgpPeerStatusListResultInner.class, + this.client.getContext()); + } + + /** + * The GetBgpPeerStatus operation retrieves the status of all BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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) + public PollerFlux, BgpPeerStatusListResultInner> + beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName) { + final String peer = null; Mono>> mono - = service - .getBgpPeerStatus(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, peer, accept, context) - .cache(); - return Mono - .zip(mono, - this.client - .getLroResult(mono, this.client.getHttpPipeline(), - BgpPeerStatusListResult.class, BgpPeerStatusListResult.class, context) - .last() - .flatMap(this.client::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), null, null)); + = getBgpPeerStatusWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), BgpPeerStatusListResultInner.class, BgpPeerStatusListResultInner.class, + this.client.getContext()); } /** @@ -2889,16 +2901,76 @@ private Mono> getBgpPeerStatusSinglePageAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer to retrieve the status of. + * @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 paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getBgpPeerStatusAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, BgpPeerStatusListResultInner> + beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = getBgpPeerStatusWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), BgpPeerStatusListResultInner.class, BgpPeerStatusListResultInner.class, + context); + } + + /** + * The GetBgpPeerStatus operation retrieves the status of all BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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, BgpPeerStatusListResultInner> + beginGetBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName) { + final String peer = null; + return this.beginGetBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer).getSyncPoller(); + } + + /** + * The GetBgpPeerStatus operation retrieves the status of all BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer to retrieve the status of. + * @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, BgpPeerStatusListResultInner> beginGetBgpPeerStatus( + String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { + return this.beginGetBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer, context) + .getSyncPoller(); + } + + /** + * The GetBgpPeerStatus operation retrieves the status of all BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer to retrieve the status of. + * @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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { - return new PagedFlux<>( - () -> getBgpPeerStatusSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, peer)); + return beginGetBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer).last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -2909,14 +2981,14 @@ public PagedFlux getBgpPeerStatusAsync(String resourceGroupN * @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 paginated response with {@link PagedFlux}. + * @return the response body on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getBgpPeerStatusAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName) { final String peer = null; - return new PagedFlux<>( - () -> getBgpPeerStatusSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, peer)); + return beginGetBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer).last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -2929,13 +3001,13 @@ public PagedFlux getBgpPeerStatusAsync(String resourceGroupN * @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 paginated response with {@link PagedFlux}. + * @return the response body on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getBgpPeerStatusAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { - return new PagedFlux<>( - () -> getBgpPeerStatusSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, peer, context)); + return beginGetBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -2946,13 +3018,12 @@ private PagedFlux getBgpPeerStatusAsync(String resourceGroup * @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 paginated response with {@link PagedIterable}. + * @return the response. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getBgpPeerStatus(String resourceGroupName, - String virtualNetworkGatewayName) { + @ServiceMethod(returns = ReturnType.SINGLE) + public BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName) { final String peer = null; - return new PagedIterable<>(getBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer)); + return getBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer).block(); } /** @@ -2965,12 +3036,12 @@ public PagedIterable getBgpPeerStatus(String resourceGroupNa * @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 paginated response with {@link PagedIterable}. + * @return the response. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getBgpPeerStatus(String resourceGroupName, - String virtualNetworkGatewayName, String peer, Context context) { - return new PagedIterable<>(getBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + public BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName, + String peer, Context context) { + return getBgpPeerStatusAsync(resourceGroupName, virtualNetworkGatewayName, peer, context).block(); } /** @@ -3232,10 +3303,10 @@ public RadiusAuthServerListResultInner listRadiusSecrets(String resourceGroupNam * @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 PagedResponse} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getLearnedRoutesSinglePageAsync(String resourceGroupName, + public Mono>> getLearnedRoutesWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -3255,21 +3326,9 @@ private Mono> getLearnedRoutesSinglePageAsync(S } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono - = service - .getLearnedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, accept, context) - .cache(); - return Mono.zip(mono, - this.client - .getLroResult(mono, this.client.getHttpPipeline(), - GatewayRouteListResult.class, GatewayRouteListResult.class, this.client.getContext()) - .last() - .flatMap(this.client::getLroFinalResultOrError)); - }) - .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), - res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) + return FluxUtil + .withContext(context -> service.getLearnedRoutes(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3283,10 +3342,10 @@ private Mono> getLearnedRoutesSinglePageAsync(S * @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 PagedResponse} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getLearnedRoutesSinglePageAsync(String resourceGroupName, + private Mono>> getLearnedRoutesWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -3307,20 +3366,29 @@ private Mono> getLearnedRoutesSinglePageAsync(S final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); + return service.getLearnedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, accept, context); + } + + /** + * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from + * BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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) + public PollerFlux, GatewayRouteListResultInner> + beginGetLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName) { Mono>> mono - = service - .getLearnedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, accept, context) - .cache(); - return Mono - .zip(mono, - this.client - .getLroResult(mono, this.client.getHttpPipeline(), - GatewayRouteListResult.class, GatewayRouteListResult.class, context) - .last() - .flatMap(this.client::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), null, null)); + = getLearnedRoutesWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), GatewayRouteListResultInner.class, GatewayRouteListResultInner.class, + this.client.getContext()); } /** @@ -3329,15 +3397,74 @@ private Mono> getLearnedRoutesSinglePageAsync(S * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getLearnedRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, GatewayRouteListResultInner> + beginGetLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = getLearnedRoutesWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), GatewayRouteListResultInner.class, GatewayRouteListResultInner.class, + context); + } + + /** + * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from + * BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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, GatewayRouteListResultInner> + beginGetLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName) { + return this.beginGetLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName).getSyncPoller(); + } + + /** + * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from + * BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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, GatewayRouteListResultInner> + beginGetLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + return this.beginGetLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, context).getSyncPoller(); + } + + /** + * This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from + * BGP peers. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName) { - return new PagedFlux<>(() -> getLearnedRoutesSinglePageAsync(resourceGroupName, virtualNetworkGatewayName)); + return beginGetLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -3350,13 +3477,13 @@ public PagedFlux getLearnedRoutesAsync(String resourceGroupNa * @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 paginated response with {@link PagedFlux}. + * @return the response body on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getLearnedRoutesAsync(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - return new PagedFlux<>( - () -> getLearnedRoutesSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, context)); + return beginGetLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -3368,12 +3495,11 @@ private PagedFlux getLearnedRoutesAsync(String resourceGroupN * @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 paginated response with {@link PagedIterable}. + * @return the response. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getLearnedRoutes(String resourceGroupName, - String virtualNetworkGatewayName) { - return new PagedIterable<>(getLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public GatewayRouteListResultInner getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName) { + return getLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName).block(); } /** @@ -3386,12 +3512,12 @@ public PagedIterable getLearnedRoutes(String resourceGroupNam * @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 paginated response with {@link PagedIterable}. + * @return the response. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, + @ServiceMethod(returns = ReturnType.SINGLE) + public GatewayRouteListResultInner getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - return new PagedIterable<>(getLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, context)); + return getLearnedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } /** @@ -3403,10 +3529,10 @@ public PagedIterable getLearnedRoutes(String resourceGroupNam * @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 PagedResponse} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getAdvertisedRoutesSinglePageAsync(String resourceGroupName, + public Mono>> getAdvertisedRoutesWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -3429,21 +3555,9 @@ private Mono> getAdvertisedRoutesSinglePageAsyn } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono - = service - .getAdvertisedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, peer, accept, context) - .cache(); - return Mono.zip(mono, - this.client - .getLroResult(mono, this.client.getHttpPipeline(), - GatewayRouteListResult.class, GatewayRouteListResult.class, this.client.getContext()) - .last() - .flatMap(this.client::getLroFinalResultOrError)); - }) - .>map(res -> new PagedResponseBase<>(res.getT1().getRequest(), - res.getT1().getStatusCode(), res.getT1().getHeaders(), res.getT2().value(), null, null)) + return FluxUtil + .withContext(context -> service.getAdvertisedRoutes(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, peer, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3457,10 +3571,10 @@ private Mono> getAdvertisedRoutesSinglePageAsyn * @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 PagedResponse} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getAdvertisedRoutesSinglePageAsync(String resourceGroupName, + private Mono>> getAdvertisedRoutesWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -3484,20 +3598,29 @@ private Mono> getAdvertisedRoutesSinglePageAsyn final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); + return service.getAdvertisedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, virtualNetworkGatewayName, peer, accept, context); + } + + /** + * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer. + * @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) + public PollerFlux, GatewayRouteListResultInner> + beginGetAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { Mono>> mono - = service - .getAdvertisedRoutes(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, peer, accept, context) - .cache(); - return Mono - .zip(mono, - this.client - .getLroResult(mono, this.client.getHttpPipeline(), - GatewayRouteListResult.class, GatewayRouteListResult.class, context) - .last() - .flatMap(this.client::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), null, null)); + = getAdvertisedRoutesWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), GatewayRouteListResultInner.class, GatewayRouteListResultInner.class, + this.client.getContext()); } /** @@ -3506,16 +3629,39 @@ private Mono> getAdvertisedRoutesSinglePageAsyn * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param virtualNetworkGatewayName The name of the virtual network gateway. * @param peer The IP address of the peer. + * @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 paginated response with {@link PagedFlux}. + * @return the {@link PollerFlux} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getAdvertisedRoutesAsync(String resourceGroupName, - String virtualNetworkGatewayName, String peer) { - return new PagedFlux<>( - () -> getAdvertisedRoutesSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, peer)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, GatewayRouteListResultInner> + beginGetAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = getAdvertisedRoutesWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), GatewayRouteListResultInner.class, GatewayRouteListResultInner.class, + context); + } + + /** + * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer. + * @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, GatewayRouteListResultInner> + beginGetAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer) { + return this.beginGetAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer).getSyncPoller(); } /** @@ -3528,13 +3674,13 @@ public PagedFlux getAdvertisedRoutesAsync(String resourceGrou * @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 paginated response with {@link PagedFlux}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getAdvertisedRoutesAsync(String resourceGroupName, - String virtualNetworkGatewayName, String peer, Context context) { - return new PagedFlux<>( - () -> getAdvertisedRoutesSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, peer, context)); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, GatewayRouteListResultInner> beginGetAdvertisedRoutes( + String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { + return this.beginGetAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer, context) + .getSyncPoller(); } /** @@ -3546,12 +3692,13 @@ private PagedFlux getAdvertisedRoutesAsync(String resourceGro * @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 paginated response with {@link PagedIterable}. + * @return the response body on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getAdvertisedRoutes(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) { - return new PagedIterable<>(getAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer)); + return beginGetAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer).last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -3564,13 +3711,48 @@ public PagedIterable getAdvertisedRoutes(String resourceGroup * @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 paginated response with {@link PagedIterable}. + * @return the response body on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getAdvertisedRoutes(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer, Context context) { - return new PagedIterable<>( - getAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer, context)); + return beginGetAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public GatewayRouteListResultInner getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, + String peer) { + return getAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer).block(); + } + + /** + * This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param peer The IP address of the peer. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public GatewayRouteListResultInner getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, + String peer, Context context) { + return getAdvertisedRoutesAsync(resourceGroupName, virtualNetworkGatewayName, peer, context).block(); } /** @@ -6261,11 +6443,11 @@ public StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFai * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group along with {@link PagedResponse} on successful completion of {@link Mono}. + * specified resource group along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - getVpnclientConnectionHealthSinglePageAsync(String resourceGroupName, String virtualNetworkGatewayName) { + public Mono>> getVpnclientConnectionHealthWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -6284,22 +6466,9 @@ public StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFai } final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono = service - .getVpnclientConnectionHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, accept, context) - .cache(); - return Mono.zip(mono, - this.client - .getLroResult( - mono, this.client.getHttpPipeline(), VpnClientConnectionHealthDetailListResult.class, - VpnClientConnectionHealthDetailListResult.class, this.client.getContext()) - .last() - .flatMap(this.client::getLroFinalResultOrError)); - }) - .>map( - res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), null, null)) + return FluxUtil + .withContext(context -> service.getVpnclientConnectionHealth(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -6314,11 +6483,11 @@ public StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFai * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group along with {@link PagedResponse} on successful completion of {@link Mono}. + * specified resource group along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getVpnclientConnectionHealthSinglePageAsync( - String resourceGroupName, String virtualNetworkGatewayName, Context context) { + private Mono>> getVpnclientConnectionHealthWithResponseAsync(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -6338,20 +6507,100 @@ private Mono> getVpnclientCo final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - Mono>> mono = service - .getVpnclientConnectionHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, virtualNetworkGatewayName, accept, context) - .cache(); - return Mono - .zip(mono, - this.client - .getLroResult( - mono, this.client.getHttpPipeline(), VpnClientConnectionHealthDetailListResult.class, - VpnClientConnectionHealthDetailListResult.class, context) - .last() - .flatMap(this.client::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), null, null)); + return service.getVpnclientConnectionHealth(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualNetworkGatewayName, accept, context); + } + + /** + * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified + * resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 vPN client connection health detail per P2S client connection of + * the virtual network gateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public + PollerFlux, VpnClientConnectionHealthDetailListResultInner> + beginGetVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName) { + Mono>> mono + = getVpnclientConnectionHealthWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), VpnClientConnectionHealthDetailListResultInner.class, + VpnClientConnectionHealthDetailListResultInner.class, this.client.getContext()); + } + + /** + * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified + * resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 PollerFlux} for polling of vPN client connection health detail per P2S client connection of + * the virtual network gateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private + PollerFlux, VpnClientConnectionHealthDetailListResultInner> + beginGetVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = getVpnclientConnectionHealthWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); + return this.client + .getLroResult( + mono, this.client.getHttpPipeline(), VpnClientConnectionHealthDetailListResultInner.class, + VpnClientConnectionHealthDetailListResultInner.class, context); + } + + /** + * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified + * resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 vPN client connection health detail per P2S client connection of + * the virtual network gateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public + SyncPoller, VpnClientConnectionHealthDetailListResultInner> + beginGetVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName) { + return this.beginGetVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName) + .getSyncPoller(); + } + + /** + * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified + * resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @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 vPN client connection health detail per P2S client connection of + * the virtual network gateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public + SyncPoller, VpnClientConnectionHealthDetailListResultInner> + beginGetVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + return this.beginGetVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName, context) + .getSyncPoller(); } /** @@ -6364,13 +6613,13 @@ private Mono> getVpnclientCo * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group as paginated response with {@link PagedFlux}. + * specified resource group on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getVpnclientConnectionHealthAsync(String resourceGroupName, - String virtualNetworkGatewayName) { - return new PagedFlux<>( - () -> getVpnclientConnectionHealthSinglePageAsync(resourceGroupName, virtualNetworkGatewayName)); + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono + getVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName) { + return beginGetVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName).last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -6384,13 +6633,13 @@ public PagedFlux getVpnclientConnectionHea * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group as paginated response with {@link PagedFlux}. + * specified resource group on successful completion of {@link Mono}. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getVpnclientConnectionHealthAsync(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { - return new PagedFlux<>( - () -> getVpnclientConnectionHealthSinglePageAsync(resourceGroupName, virtualNetworkGatewayName, context)); + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono + getVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + return beginGetVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); } /** @@ -6403,12 +6652,12 @@ private PagedFlux getVpnclientConnectionHe * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group as paginated response with {@link PagedIterable}. + * specified resource group. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getVpnclientConnectionHealth(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnClientConnectionHealthDetailListResultInner getVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName) { - return new PagedIterable<>(getVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName)); + return getVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName).block(); } /** @@ -6422,13 +6671,12 @@ public PagedIterable getVpnclientConnectio * @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 vPN client connection health detail per P2S client connection of the virtual network gateway in the - * specified resource group as paginated response with {@link PagedIterable}. + * specified resource group. */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getVpnclientConnectionHealth(String resourceGroupName, + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnClientConnectionHealthDetailListResultInner getVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName, Context context) { - return new PagedIterable<>( - getVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName, context)); + return getVpnclientConnectionHealthAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveBaseSecurityAdminRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java similarity index 74% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveBaseSecurityAdminRuleInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java index fb56db3f41f5..628d5b5973e9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveBaseSecurityAdminRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; @@ -10,11 +10,6 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ActiveDefaultSecurityAdminRule; -import com.azure.resourcemanager.network.models.ActiveSecurityAdminRule; -import com.azure.resourcemanager.network.models.ConfigurationGroup; -import com.azure.resourcemanager.network.models.EffectiveAdminRuleKind; -import com.azure.resourcemanager.network.models.NetworkManagerSecurityGroupItem; import java.io.IOException; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; @@ -24,7 +19,7 @@ * Network base admin rule. */ @Immutable -public class ActiveBaseSecurityAdminRuleInner implements JsonSerializable { +public class ActiveBaseSecurityAdminRule implements JsonSerializable { /* * Whether the rule is custom or default. */ @@ -66,9 +61,9 @@ public class ActiveBaseSecurityAdminRuleInner implements JsonSerializable ruleGroups; /** - * Creates an instance of ActiveBaseSecurityAdminRuleInner class. + * Creates an instance of ActiveBaseSecurityAdminRule class. */ - protected ActiveBaseSecurityAdminRuleInner() { + protected ActiveBaseSecurityAdminRule() { } /** @@ -93,9 +88,9 @@ public String id() { * Set the id property: Resource ID. * * @param id the id value to set. - * @return the ActiveBaseSecurityAdminRuleInner object itself. + * @return the ActiveBaseSecurityAdminRule object itself. */ - ActiveBaseSecurityAdminRuleInner withId(String id) { + ActiveBaseSecurityAdminRule withId(String id) { this.id = id; return this; } @@ -113,9 +108,9 @@ public OffsetDateTime commitTime() { * Set the commitTime property: Deployment time string. * * @param commitTime the commitTime value to set. - * @return the ActiveBaseSecurityAdminRuleInner object itself. + * @return the ActiveBaseSecurityAdminRule object itself. */ - ActiveBaseSecurityAdminRuleInner withCommitTime(OffsetDateTime commitTime) { + ActiveBaseSecurityAdminRule withCommitTime(OffsetDateTime commitTime) { this.commitTime = commitTime; return this; } @@ -133,9 +128,9 @@ public String region() { * Set the region property: Deployment region. * * @param region the region value to set. - * @return the ActiveBaseSecurityAdminRuleInner object itself. + * @return the ActiveBaseSecurityAdminRule object itself. */ - ActiveBaseSecurityAdminRuleInner withRegion(String region) { + ActiveBaseSecurityAdminRule withRegion(String region) { this.region = region; return this; } @@ -153,9 +148,9 @@ public String configurationDescription() { * Set the configurationDescription property: A description of the security admin configuration. * * @param configurationDescription the configurationDescription value to set. - * @return the ActiveBaseSecurityAdminRuleInner object itself. + * @return the ActiveBaseSecurityAdminRule object itself. */ - ActiveBaseSecurityAdminRuleInner withConfigurationDescription(String configurationDescription) { + ActiveBaseSecurityAdminRule withConfigurationDescription(String configurationDescription) { this.configurationDescription = configurationDescription; return this; } @@ -173,9 +168,9 @@ public String ruleCollectionDescription() { * Set the ruleCollectionDescription property: A description of the rule collection. * * @param ruleCollectionDescription the ruleCollectionDescription value to set. - * @return the ActiveBaseSecurityAdminRuleInner object itself. + * @return the ActiveBaseSecurityAdminRule object itself. */ - ActiveBaseSecurityAdminRuleInner withRuleCollectionDescription(String ruleCollectionDescription) { + ActiveBaseSecurityAdminRule withRuleCollectionDescription(String ruleCollectionDescription) { this.ruleCollectionDescription = ruleCollectionDescription; return this; } @@ -193,9 +188,9 @@ public List ruleCollectionAppliesToGroups() { * Set the ruleCollectionAppliesToGroups property: Groups for rule collection. * * @param ruleCollectionAppliesToGroups the ruleCollectionAppliesToGroups value to set. - * @return the ActiveBaseSecurityAdminRuleInner object itself. + * @return the ActiveBaseSecurityAdminRule object itself. */ - ActiveBaseSecurityAdminRuleInner + ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(List ruleCollectionAppliesToGroups) { this.ruleCollectionAppliesToGroups = ruleCollectionAppliesToGroups; return this; @@ -214,9 +209,9 @@ public List ruleGroups() { * Set the ruleGroups property: Effective configuration groups. * * @param ruleGroups the ruleGroups value to set. - * @return the ActiveBaseSecurityAdminRuleInner object itself. + * @return the ActiveBaseSecurityAdminRule object itself. */ - ActiveBaseSecurityAdminRuleInner withRuleGroups(List ruleGroups) { + ActiveBaseSecurityAdminRule withRuleGroups(List ruleGroups) { this.ruleGroups = ruleGroups; return this; } @@ -255,14 +250,14 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ActiveBaseSecurityAdminRuleInner from the JsonReader. + * Reads an instance of ActiveBaseSecurityAdminRule from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ActiveBaseSecurityAdminRuleInner 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 ActiveBaseSecurityAdminRuleInner. + * @return An instance of ActiveBaseSecurityAdminRule 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 ActiveBaseSecurityAdminRule. */ - public static ActiveBaseSecurityAdminRuleInner fromJson(JsonReader jsonReader) throws IOException { + public static ActiveBaseSecurityAdminRule fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { @@ -289,43 +284,42 @@ public static ActiveBaseSecurityAdminRuleInner fromJson(JsonReader jsonReader) t }); } - static ActiveBaseSecurityAdminRuleInner fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + static ActiveBaseSecurityAdminRule fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ActiveBaseSecurityAdminRuleInner deserializedActiveBaseSecurityAdminRuleInner - = new ActiveBaseSecurityAdminRuleInner(); + ActiveBaseSecurityAdminRule deserializedActiveBaseSecurityAdminRule = new ActiveBaseSecurityAdminRule(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("kind".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRuleInner.kind + deserializedActiveBaseSecurityAdminRule.kind = EffectiveAdminRuleKind.fromString(reader.getString()); } else if ("id".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRuleInner.id = reader.getString(); + deserializedActiveBaseSecurityAdminRule.id = reader.getString(); } else if ("commitTime".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRuleInner.commitTime = reader + deserializedActiveBaseSecurityAdminRule.commitTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); } else if ("region".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRuleInner.region = reader.getString(); + deserializedActiveBaseSecurityAdminRule.region = reader.getString(); } else if ("configurationDescription".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRuleInner.configurationDescription = reader.getString(); + deserializedActiveBaseSecurityAdminRule.configurationDescription = reader.getString(); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedActiveBaseSecurityAdminRuleInner.ruleCollectionDescription = reader.getString(); + deserializedActiveBaseSecurityAdminRule.ruleCollectionDescription = reader.getString(); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedActiveBaseSecurityAdminRuleInner.ruleCollectionAppliesToGroups + deserializedActiveBaseSecurityAdminRule.ruleCollectionAppliesToGroups = ruleCollectionAppliesToGroups; } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedActiveBaseSecurityAdminRuleInner.ruleGroups = ruleGroups; + deserializedActiveBaseSecurityAdminRule.ruleGroups = ruleGroups; } else { reader.skipChildren(); } } - return deserializedActiveBaseSecurityAdminRuleInner; + return deserializedActiveBaseSecurityAdminRule; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java similarity index 78% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java index 6e29c3d5910c..88397bd7a20d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java @@ -2,21 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ConfigurationGroup; -import com.azure.resourcemanager.network.models.ConnectivityConfigurationPropertiesConnectivityCapabilities; -import com.azure.resourcemanager.network.models.ConnectivityGroupItem; -import com.azure.resourcemanager.network.models.ConnectivityTopology; -import com.azure.resourcemanager.network.models.DeleteExistingPeering; -import com.azure.resourcemanager.network.models.Hub; -import com.azure.resourcemanager.network.models.IsGlobal; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.fluent.models.ConnectivityConfigurationProperties; import java.io.IOException; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; @@ -26,7 +19,7 @@ * Active connectivity configuration. */ @Immutable -public final class ActiveConnectivityConfigurationInner extends EffectiveConnectivityConfigurationInner { +public final class ActiveConnectivityConfiguration extends EffectiveConnectivityConfiguration { /* * Deployment time string. */ @@ -53,9 +46,9 @@ public final class ActiveConnectivityConfigurationInner extends EffectiveConnect private String id; /** - * Creates an instance of ActiveConnectivityConfigurationInner class. + * Creates an instance of ActiveConnectivityConfiguration class. */ - private ActiveConnectivityConfigurationInner() { + private ActiveConnectivityConfiguration() { } /** @@ -219,41 +212,41 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ActiveConnectivityConfigurationInner from the JsonReader. + * Reads an instance of ActiveConnectivityConfiguration from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ActiveConnectivityConfigurationInner 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 ActiveConnectivityConfigurationInner. + * @return An instance of ActiveConnectivityConfiguration 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 ActiveConnectivityConfiguration. */ - public static ActiveConnectivityConfigurationInner fromJson(JsonReader jsonReader) throws IOException { + public static ActiveConnectivityConfiguration fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ActiveConnectivityConfigurationInner deserializedActiveConnectivityConfigurationInner - = new ActiveConnectivityConfigurationInner(); + ActiveConnectivityConfiguration deserializedActiveConnectivityConfiguration + = new ActiveConnectivityConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedActiveConnectivityConfigurationInner.id = reader.getString(); + deserializedActiveConnectivityConfiguration.id = reader.getString(); } else if ("properties".equals(fieldName)) { - deserializedActiveConnectivityConfigurationInner.innerProperties + deserializedActiveConnectivityConfiguration.innerProperties = ConnectivityConfigurationProperties.fromJson(reader); } else if ("configurationGroups".equals(fieldName)) { List configurationGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedActiveConnectivityConfigurationInner.configurationGroups = configurationGroups; + deserializedActiveConnectivityConfiguration.configurationGroups = configurationGroups; } else if ("commitTime".equals(fieldName)) { - deserializedActiveConnectivityConfigurationInner.commitTime = reader + deserializedActiveConnectivityConfiguration.commitTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); } else if ("region".equals(fieldName)) { - deserializedActiveConnectivityConfigurationInner.region = reader.getString(); + deserializedActiveConnectivityConfiguration.region = reader.getString(); } else { reader.skipChildren(); } } - return deserializedActiveConnectivityConfigurationInner; + return deserializedActiveConnectivityConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java index 8e1fff99f2af..97c4177a39d1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java @@ -9,10 +9,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.ActiveBaseSecurityAdminRuleInner; import com.azure.resourcemanager.network.fluent.models.DefaultAdminPropertiesFormat; import java.io.IOException; -import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; import java.util.List; @@ -20,7 +18,7 @@ * Network default admin rule. */ @Immutable -public final class ActiveDefaultSecurityAdminRule extends ActiveBaseSecurityAdminRuleInner { +public final class ActiveDefaultSecurityAdminRule extends ActiveBaseSecurityAdminRule { /* * Whether the rule is custom or default. */ @@ -31,41 +29,6 @@ public final class ActiveDefaultSecurityAdminRule extends ActiveBaseSecurityAdmi */ private DefaultAdminPropertiesFormat innerProperties; - /* - * Effective configuration groups. - */ - private List ruleGroups; - - /* - * Groups for rule collection - */ - private List ruleCollectionAppliesToGroups; - - /* - * A description of the rule collection. - */ - private String ruleCollectionDescription; - - /* - * A description of the security admin configuration. - */ - private String configurationDescription; - - /* - * Deployment region. - */ - private String region; - - /* - * Deployment time string. - */ - private OffsetDateTime commitTime; - - /* - * Resource ID. - */ - private String id; - /** * Creates an instance of ActiveDefaultSecurityAdminRule class. */ @@ -87,80 +50,10 @@ public EffectiveAdminRuleKind kind() { * * @return the innerProperties value. */ - private DefaultAdminPropertiesFormat innerProperties() { + DefaultAdminPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the ruleGroups property: Effective configuration groups. - * - * @return the ruleGroups value. - */ - @Override - public List ruleGroups() { - return this.ruleGroups; - } - - /** - * Get the ruleCollectionAppliesToGroups property: Groups for rule collection. - * - * @return the ruleCollectionAppliesToGroups value. - */ - @Override - public List ruleCollectionAppliesToGroups() { - return this.ruleCollectionAppliesToGroups; - } - - /** - * Get the ruleCollectionDescription property: A description of the rule collection. - * - * @return the ruleCollectionDescription value. - */ - @Override - public String ruleCollectionDescription() { - return this.ruleCollectionDescription; - } - - /** - * Get the configurationDescription property: A description of the security admin configuration. - * - * @return the configurationDescription value. - */ - @Override - public String configurationDescription() { - return this.configurationDescription; - } - - /** - * Get the region property: Deployment region. - * - * @return the region value. - */ - @Override - public String region() { - return this.region; - } - - /** - * Get the commitTime property: Deployment time string. - * - * @return the commitTime value. - */ - @Override - public OffsetDateTime commitTime() { - return this.commitTime; - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - @Override - public String id() { - return this.id; - } - /** * Get the description property: A description for this rule. Restricted to 140 chars. * @@ -326,25 +219,25 @@ public static ActiveDefaultSecurityAdminRule fromJson(JsonReader jsonReader) thr reader.nextToken(); if ("id".equals(fieldName)) { - deserializedActiveDefaultSecurityAdminRule.id = reader.getString(); + deserializedActiveDefaultSecurityAdminRule.withId(reader.getString()); } else if ("commitTime".equals(fieldName)) { - deserializedActiveDefaultSecurityAdminRule.commitTime = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + deserializedActiveDefaultSecurityAdminRule.withCommitTime(reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()))); } else if ("region".equals(fieldName)) { - deserializedActiveDefaultSecurityAdminRule.region = reader.getString(); + deserializedActiveDefaultSecurityAdminRule.withRegion(reader.getString()); } else if ("configurationDescription".equals(fieldName)) { - deserializedActiveDefaultSecurityAdminRule.configurationDescription = reader.getString(); + deserializedActiveDefaultSecurityAdminRule.withConfigurationDescription(reader.getString()); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedActiveDefaultSecurityAdminRule.ruleCollectionDescription = reader.getString(); + deserializedActiveDefaultSecurityAdminRule.withRuleCollectionDescription(reader.getString()); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedActiveDefaultSecurityAdminRule.ruleCollectionAppliesToGroups - = ruleCollectionAppliesToGroups; + deserializedActiveDefaultSecurityAdminRule + .withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedActiveDefaultSecurityAdminRule.ruleGroups = ruleGroups; + deserializedActiveDefaultSecurityAdminRule.withRuleGroups(ruleGroups); } else if ("kind".equals(fieldName)) { deserializedActiveDefaultSecurityAdminRule.kind = EffectiveAdminRuleKind.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java index 4530d5c37e41..2215c8c90ae4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java @@ -9,10 +9,8 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.ActiveBaseSecurityAdminRuleInner; import com.azure.resourcemanager.network.fluent.models.AdminPropertiesFormat; import java.io.IOException; -import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; import java.util.List; @@ -20,7 +18,7 @@ * Network admin rule. */ @Immutable -public final class ActiveSecurityAdminRule extends ActiveBaseSecurityAdminRuleInner { +public final class ActiveSecurityAdminRule extends ActiveBaseSecurityAdminRule { /* * Whether the rule is custom or default. */ @@ -31,41 +29,6 @@ public final class ActiveSecurityAdminRule extends ActiveBaseSecurityAdminRuleIn */ private AdminPropertiesFormat innerProperties; - /* - * Effective configuration groups. - */ - private List ruleGroups; - - /* - * Groups for rule collection - */ - private List ruleCollectionAppliesToGroups; - - /* - * A description of the rule collection. - */ - private String ruleCollectionDescription; - - /* - * A description of the security admin configuration. - */ - private String configurationDescription; - - /* - * Deployment region. - */ - private String region; - - /* - * Deployment time string. - */ - private OffsetDateTime commitTime; - - /* - * Resource ID. - */ - private String id; - /** * Creates an instance of ActiveSecurityAdminRule class. */ @@ -87,80 +50,10 @@ public EffectiveAdminRuleKind kind() { * * @return the innerProperties value. */ - private AdminPropertiesFormat innerProperties() { + AdminPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the ruleGroups property: Effective configuration groups. - * - * @return the ruleGroups value. - */ - @Override - public List ruleGroups() { - return this.ruleGroups; - } - - /** - * Get the ruleCollectionAppliesToGroups property: Groups for rule collection. - * - * @return the ruleCollectionAppliesToGroups value. - */ - @Override - public List ruleCollectionAppliesToGroups() { - return this.ruleCollectionAppliesToGroups; - } - - /** - * Get the ruleCollectionDescription property: A description of the rule collection. - * - * @return the ruleCollectionDescription value. - */ - @Override - public String ruleCollectionDescription() { - return this.ruleCollectionDescription; - } - - /** - * Get the configurationDescription property: A description of the security admin configuration. - * - * @return the configurationDescription value. - */ - @Override - public String configurationDescription() { - return this.configurationDescription; - } - - /** - * Get the region property: Deployment region. - * - * @return the region value. - */ - @Override - public String region() { - return this.region; - } - - /** - * Get the commitTime property: Deployment time string. - * - * @return the commitTime value. - */ - @Override - public OffsetDateTime commitTime() { - return this.commitTime; - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - @Override - public String id() { - return this.id; - } - /** * Get the description property: A description for this rule. Restricted to 140 chars. * @@ -316,24 +209,25 @@ public static ActiveSecurityAdminRule fromJson(JsonReader jsonReader) throws IOE reader.nextToken(); if ("id".equals(fieldName)) { - deserializedActiveSecurityAdminRule.id = reader.getString(); + deserializedActiveSecurityAdminRule.withId(reader.getString()); } else if ("commitTime".equals(fieldName)) { - deserializedActiveSecurityAdminRule.commitTime = reader - .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + deserializedActiveSecurityAdminRule.withCommitTime(reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()))); } else if ("region".equals(fieldName)) { - deserializedActiveSecurityAdminRule.region = reader.getString(); + deserializedActiveSecurityAdminRule.withRegion(reader.getString()); } else if ("configurationDescription".equals(fieldName)) { - deserializedActiveSecurityAdminRule.configurationDescription = reader.getString(); + deserializedActiveSecurityAdminRule.withConfigurationDescription(reader.getString()); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedActiveSecurityAdminRule.ruleCollectionDescription = reader.getString(); + deserializedActiveSecurityAdminRule.withRuleCollectionDescription(reader.getString()); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedActiveSecurityAdminRule.ruleCollectionAppliesToGroups = ruleCollectionAppliesToGroups; + deserializedActiveSecurityAdminRule + .withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedActiveSecurityAdminRule.ruleGroups = ruleGroups; + deserializedActiveSecurityAdminRule.withRuleGroups(ruleGroups); } else if ("kind".equals(fieldName)) { deserializedActiveSecurityAdminRule.kind = EffectiveAdminRuleKind.fromString(reader.getString()); } else if ("properties".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java similarity index 63% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java index 76c4755a9230..bcea04818aac 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java @@ -12,14 +12,14 @@ import java.io.IOException; /** - * The StartFinalResult model. + * Resource operation accepted. */ @Immutable -public final class StartFinalResult implements JsonSerializable { +public final class ArmAcceptedLroResponse implements JsonSerializable { /** - * Creates an instance of StartFinalResult class. + * Creates an instance of ArmAcceptedLroResponse class. */ - private StartFinalResult() { + private ArmAcceptedLroResponse() { } /** @@ -40,16 +40,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of StartFinalResult from the JsonReader. + * Reads an instance of ArmAcceptedLroResponse from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of StartFinalResult 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 StartFinalResult. + * @return An instance of ArmAcceptedLroResponse 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 ArmAcceptedLroResponse. */ - public static StartFinalResult fromJson(JsonReader jsonReader) throws IOException { + public static ArmAcceptedLroResponse fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - StartFinalResult deserializedStartFinalResult = new StartFinalResult(); + ArmAcceptedLroResponse deserializedArmAcceptedLroResponse = new ArmAcceptedLroResponse(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -57,7 +57,7 @@ public static StartFinalResult fromJson(JsonReader jsonReader) throws IOExceptio reader.skipChildren(); } - return deserializedStartFinalResult; + return deserializedArmAcceptedLroResponse; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java index c8c51ba5a8fe..44bcaf7c7ff4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java @@ -2,21 +2,20 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.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.network.models.BgpPeerState; import java.io.IOException; /** * BGP peer status details. */ @Immutable -public final class BgpPeerStatusInner implements JsonSerializable { +public final class BgpPeerStatus implements JsonSerializable { /* * The virtual network gateway's local address. */ @@ -58,9 +57,9 @@ public final class BgpPeerStatusInner implements JsonSerializable { - BgpPeerStatusInner deserializedBgpPeerStatusInner = new BgpPeerStatusInner(); + BgpPeerStatus deserializedBgpPeerStatus = new BgpPeerStatus(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("localAddress".equals(fieldName)) { - deserializedBgpPeerStatusInner.localAddress = reader.getString(); + deserializedBgpPeerStatus.localAddress = reader.getString(); } else if ("neighbor".equals(fieldName)) { - deserializedBgpPeerStatusInner.neighbor = reader.getString(); + deserializedBgpPeerStatus.neighbor = reader.getString(); } else if ("asn".equals(fieldName)) { - deserializedBgpPeerStatusInner.asn = reader.getNullable(JsonReader::getLong); + deserializedBgpPeerStatus.asn = reader.getNullable(JsonReader::getLong); } else if ("state".equals(fieldName)) { - deserializedBgpPeerStatusInner.state = BgpPeerState.fromString(reader.getString()); + deserializedBgpPeerStatus.state = BgpPeerState.fromString(reader.getString()); } else if ("connectedDuration".equals(fieldName)) { - deserializedBgpPeerStatusInner.connectedDuration = reader.getString(); + deserializedBgpPeerStatus.connectedDuration = reader.getString(); } else if ("routesReceived".equals(fieldName)) { - deserializedBgpPeerStatusInner.routesReceived = reader.getNullable(JsonReader::getLong); + deserializedBgpPeerStatus.routesReceived = reader.getNullable(JsonReader::getLong); } else if ("messagesSent".equals(fieldName)) { - deserializedBgpPeerStatusInner.messagesSent = reader.getNullable(JsonReader::getLong); + deserializedBgpPeerStatus.messagesSent = reader.getNullable(JsonReader::getLong); } else if ("messagesReceived".equals(fieldName)) { - deserializedBgpPeerStatusInner.messagesReceived = reader.getNullable(JsonReader::getLong); + deserializedBgpPeerStatus.messagesReceived = reader.getNullable(JsonReader::getLong); } else { reader.skipChildren(); } } - return deserializedBgpPeerStatusInner; + return deserializedBgpPeerStatus; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java index 9a67b5546260..f9c4d0d6bcd7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java @@ -25,7 +25,7 @@ public final class ConnectionMonitorHttpConfiguration implements JsonSerializabl /* * The HTTP method to use. */ - private HTTPConfigurationMethod method; + private HttpConfigurationMethod method; /* * The path component of the URI. For instance, "/dir1/dir2". @@ -35,7 +35,7 @@ public final class ConnectionMonitorHttpConfiguration implements JsonSerializabl /* * The HTTP headers to transmit with the request. */ - private List requestHeaders; + private List requestHeaders; /* * HTTP status codes to consider successful. For instance, "2xx,301-304,418". @@ -45,7 +45,7 @@ public final class ConnectionMonitorHttpConfiguration implements JsonSerializabl /* * Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit. */ - private Boolean preferHTTPS; + private Boolean preferHttps; /** * Creates an instance of ConnectionMonitorHttpConfiguration class. @@ -78,7 +78,7 @@ public ConnectionMonitorHttpConfiguration withPort(Integer port) { * * @return the method value. */ - public HTTPConfigurationMethod method() { + public HttpConfigurationMethod method() { return this.method; } @@ -88,7 +88,7 @@ public HTTPConfigurationMethod method() { * @param method the method value to set. * @return the ConnectionMonitorHttpConfiguration object itself. */ - public ConnectionMonitorHttpConfiguration withMethod(HTTPConfigurationMethod method) { + public ConnectionMonitorHttpConfiguration withMethod(HttpConfigurationMethod method) { this.method = method; return this; } @@ -118,7 +118,7 @@ public ConnectionMonitorHttpConfiguration withPath(String path) { * * @return the requestHeaders value. */ - public List requestHeaders() { + public List requestHeaders() { return this.requestHeaders; } @@ -128,7 +128,7 @@ public List requestHeaders() { * @param requestHeaders the requestHeaders value to set. * @return the ConnectionMonitorHttpConfiguration object itself. */ - public ConnectionMonitorHttpConfiguration withRequestHeaders(List requestHeaders) { + public ConnectionMonitorHttpConfiguration withRequestHeaders(List requestHeaders) { this.requestHeaders = requestHeaders; return this; } @@ -156,24 +156,24 @@ public ConnectionMonitorHttpConfiguration withValidStatusCodeRanges(List } /** - * Get the preferHTTPS property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is + * Get the preferHttps property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is * not explicit. * - * @return the preferHTTPS value. + * @return the preferHttps value. */ - public Boolean preferHTTPS() { - return this.preferHTTPS; + public Boolean preferHttps() { + return this.preferHttps; } /** - * Set the preferHTTPS property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is + * Set the preferHttps property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is * not explicit. * - * @param preferHTTPS the preferHTTPS value to set. + * @param preferHttps the preferHttps value to set. * @return the ConnectionMonitorHttpConfiguration object itself. */ - public ConnectionMonitorHttpConfiguration withPreferHTTPS(Boolean preferHTTPS) { - this.preferHTTPS = preferHTTPS; + public ConnectionMonitorHttpConfiguration withPreferHttps(Boolean preferHttps) { + this.preferHttps = preferHttps; return this; } @@ -201,7 +201,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("validStatusCodeRanges", this.validStatusCodeRanges, (writer, element) -> writer.writeString(element)); - jsonWriter.writeBooleanField("preferHTTPS", this.preferHTTPS); + jsonWriter.writeBooleanField("preferHTTPS", this.preferHttps); return jsonWriter.writeEndObject(); } @@ -225,17 +225,17 @@ public static ConnectionMonitorHttpConfiguration fromJson(JsonReader jsonReader) deserializedConnectionMonitorHttpConfiguration.port = reader.getNullable(JsonReader::getInt); } else if ("method".equals(fieldName)) { deserializedConnectionMonitorHttpConfiguration.method - = HTTPConfigurationMethod.fromString(reader.getString()); + = HttpConfigurationMethod.fromString(reader.getString()); } else if ("path".equals(fieldName)) { deserializedConnectionMonitorHttpConfiguration.path = reader.getString(); } else if ("requestHeaders".equals(fieldName)) { - List requestHeaders = reader.readArray(reader1 -> HTTPHeader.fromJson(reader1)); + List requestHeaders = reader.readArray(reader1 -> HttpHeader.fromJson(reader1)); deserializedConnectionMonitorHttpConfiguration.requestHeaders = requestHeaders; } else if ("validStatusCodeRanges".equals(fieldName)) { List validStatusCodeRanges = reader.readArray(reader1 -> reader1.getString()); deserializedConnectionMonitorHttpConfiguration.validStatusCodeRanges = validStatusCodeRanges; } else if ("preferHTTPS".equals(fieldName)) { - deserializedConnectionMonitorHttpConfiguration.preferHTTPS + deserializedConnectionMonitorHttpConfiguration.preferHttps = reader.getNullable(JsonReader::getBoolean); } else { reader.skipChildren(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveBaseSecurityAdminRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveBaseSecurityAdminRuleInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java index f41b8dcedff7..288f84b7cc92 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveBaseSecurityAdminRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java @@ -2,18 +2,13 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.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.network.models.ConfigurationGroup; -import com.azure.resourcemanager.network.models.EffectiveAdminRuleKind; -import com.azure.resourcemanager.network.models.EffectiveDefaultSecurityAdminRule; -import com.azure.resourcemanager.network.models.EffectiveSecurityAdminRule; -import com.azure.resourcemanager.network.models.NetworkManagerSecurityGroupItem; import java.io.IOException; import java.util.List; @@ -21,7 +16,7 @@ * Network base admin rule. */ @Immutable -public class EffectiveBaseSecurityAdminRuleInner implements JsonSerializable { +public class EffectiveBaseSecurityAdminRule implements JsonSerializable { /* * Whether the rule is custom or default. */ @@ -53,9 +48,9 @@ public class EffectiveBaseSecurityAdminRuleInner implements JsonSerializable ruleGroups; /** - * Creates an instance of EffectiveBaseSecurityAdminRuleInner class. + * Creates an instance of EffectiveBaseSecurityAdminRule class. */ - protected EffectiveBaseSecurityAdminRuleInner() { + protected EffectiveBaseSecurityAdminRule() { } /** @@ -80,9 +75,9 @@ public String id() { * Set the id property: Resource ID. * * @param id the id value to set. - * @return the EffectiveBaseSecurityAdminRuleInner object itself. + * @return the EffectiveBaseSecurityAdminRule object itself. */ - EffectiveBaseSecurityAdminRuleInner withId(String id) { + EffectiveBaseSecurityAdminRule withId(String id) { this.id = id; return this; } @@ -100,9 +95,9 @@ public String configurationDescription() { * Set the configurationDescription property: A description of the security admin configuration. * * @param configurationDescription the configurationDescription value to set. - * @return the EffectiveBaseSecurityAdminRuleInner object itself. + * @return the EffectiveBaseSecurityAdminRule object itself. */ - EffectiveBaseSecurityAdminRuleInner withConfigurationDescription(String configurationDescription) { + EffectiveBaseSecurityAdminRule withConfigurationDescription(String configurationDescription) { this.configurationDescription = configurationDescription; return this; } @@ -120,9 +115,9 @@ public String ruleCollectionDescription() { * Set the ruleCollectionDescription property: A description of the rule collection. * * @param ruleCollectionDescription the ruleCollectionDescription value to set. - * @return the EffectiveBaseSecurityAdminRuleInner object itself. + * @return the EffectiveBaseSecurityAdminRule object itself. */ - EffectiveBaseSecurityAdminRuleInner withRuleCollectionDescription(String ruleCollectionDescription) { + EffectiveBaseSecurityAdminRule withRuleCollectionDescription(String ruleCollectionDescription) { this.ruleCollectionDescription = ruleCollectionDescription; return this; } @@ -140,9 +135,9 @@ public List ruleCollectionAppliesToGroups() { * Set the ruleCollectionAppliesToGroups property: Groups for rule collection. * * @param ruleCollectionAppliesToGroups the ruleCollectionAppliesToGroups value to set. - * @return the EffectiveBaseSecurityAdminRuleInner object itself. + * @return the EffectiveBaseSecurityAdminRule object itself. */ - EffectiveBaseSecurityAdminRuleInner + EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(List ruleCollectionAppliesToGroups) { this.ruleCollectionAppliesToGroups = ruleCollectionAppliesToGroups; return this; @@ -161,9 +156,9 @@ public List ruleGroups() { * Set the ruleGroups property: Effective configuration groups. * * @param ruleGroups the ruleGroups value to set. - * @return the EffectiveBaseSecurityAdminRuleInner object itself. + * @return the EffectiveBaseSecurityAdminRule object itself. */ - EffectiveBaseSecurityAdminRuleInner withRuleGroups(List ruleGroups) { + EffectiveBaseSecurityAdminRule withRuleGroups(List ruleGroups) { this.ruleGroups = ruleGroups; return this; } @@ -199,14 +194,14 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of EffectiveBaseSecurityAdminRuleInner from the JsonReader. + * Reads an instance of EffectiveBaseSecurityAdminRule from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of EffectiveBaseSecurityAdminRuleInner 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 EffectiveBaseSecurityAdminRuleInner. + * @return An instance of EffectiveBaseSecurityAdminRule 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 EffectiveBaseSecurityAdminRule. */ - public static EffectiveBaseSecurityAdminRuleInner fromJson(JsonReader jsonReader) throws IOException { + public static EffectiveBaseSecurityAdminRule fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String discriminatorValue = null; try (JsonReader readerToUse = reader.bufferObject()) { @@ -233,38 +228,38 @@ public static EffectiveBaseSecurityAdminRuleInner fromJson(JsonReader jsonReader }); } - static EffectiveBaseSecurityAdminRuleInner fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { + static EffectiveBaseSecurityAdminRule fromJsonKnownDiscriminator(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - EffectiveBaseSecurityAdminRuleInner deserializedEffectiveBaseSecurityAdminRuleInner - = new EffectiveBaseSecurityAdminRuleInner(); + EffectiveBaseSecurityAdminRule deserializedEffectiveBaseSecurityAdminRule + = new EffectiveBaseSecurityAdminRule(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("kind".equals(fieldName)) { - deserializedEffectiveBaseSecurityAdminRuleInner.kind + deserializedEffectiveBaseSecurityAdminRule.kind = EffectiveAdminRuleKind.fromString(reader.getString()); } else if ("id".equals(fieldName)) { - deserializedEffectiveBaseSecurityAdminRuleInner.id = reader.getString(); + deserializedEffectiveBaseSecurityAdminRule.id = reader.getString(); } else if ("configurationDescription".equals(fieldName)) { - deserializedEffectiveBaseSecurityAdminRuleInner.configurationDescription = reader.getString(); + deserializedEffectiveBaseSecurityAdminRule.configurationDescription = reader.getString(); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedEffectiveBaseSecurityAdminRuleInner.ruleCollectionDescription = reader.getString(); + deserializedEffectiveBaseSecurityAdminRule.ruleCollectionDescription = reader.getString(); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedEffectiveBaseSecurityAdminRuleInner.ruleCollectionAppliesToGroups + deserializedEffectiveBaseSecurityAdminRule.ruleCollectionAppliesToGroups = ruleCollectionAppliesToGroups; } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedEffectiveBaseSecurityAdminRuleInner.ruleGroups = ruleGroups; + deserializedEffectiveBaseSecurityAdminRule.ruleGroups = ruleGroups; } else { reader.skipChildren(); } } - return deserializedEffectiveBaseSecurityAdminRuleInner; + return deserializedEffectiveBaseSecurityAdminRule; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveConnectivityConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java similarity index 78% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveConnectivityConfigurationInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java index 7289fc8a2884..6b9572c02160 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveConnectivityConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java @@ -2,21 +2,14 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.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.network.models.ConfigurationGroup; -import com.azure.resourcemanager.network.models.ConnectivityConfigurationPropertiesConnectivityCapabilities; -import com.azure.resourcemanager.network.models.ConnectivityGroupItem; -import com.azure.resourcemanager.network.models.ConnectivityTopology; -import com.azure.resourcemanager.network.models.DeleteExistingPeering; -import com.azure.resourcemanager.network.models.Hub; -import com.azure.resourcemanager.network.models.IsGlobal; -import com.azure.resourcemanager.network.models.ProvisioningState; +import com.azure.resourcemanager.network.fluent.models.ConnectivityConfigurationProperties; import java.io.IOException; import java.util.List; @@ -24,8 +17,7 @@ * The network manager effective connectivity configuration. */ @Immutable -public class EffectiveConnectivityConfigurationInner - implements JsonSerializable { +public class EffectiveConnectivityConfiguration implements JsonSerializable { /* * Connectivity configuration ID. */ @@ -42,9 +34,9 @@ public class EffectiveConnectivityConfigurationInner private List configurationGroups; /** - * Creates an instance of EffectiveConnectivityConfigurationInner class. + * Creates an instance of EffectiveConnectivityConfiguration class. */ - protected EffectiveConnectivityConfigurationInner() { + protected EffectiveConnectivityConfiguration() { } /** @@ -60,9 +52,9 @@ public String id() { * Set the id property: Connectivity configuration ID. * * @param id the id value to set. - * @return the EffectiveConnectivityConfigurationInner object itself. + * @return the EffectiveConnectivityConfiguration object itself. */ - EffectiveConnectivityConfigurationInner withId(String id) { + EffectiveConnectivityConfiguration withId(String id) { this.id = id; return this; } @@ -80,9 +72,9 @@ private ConnectivityConfigurationProperties innerProperties() { * Set the innerProperties property: Properties of a network manager connectivity configuration. * * @param innerProperties the innerProperties value to set. - * @return the EffectiveConnectivityConfigurationInner object itself. + * @return the EffectiveConnectivityConfiguration object itself. */ - EffectiveConnectivityConfigurationInner withInnerProperties(ConnectivityConfigurationProperties innerProperties) { + EffectiveConnectivityConfiguration withInnerProperties(ConnectivityConfigurationProperties innerProperties) { this.innerProperties = innerProperties; return this; } @@ -100,9 +92,9 @@ public List configurationGroups() { * Set the configurationGroups property: Effective configuration groups. * * @param configurationGroups the configurationGroups value to set. - * @return the EffectiveConnectivityConfigurationInner object itself. + * @return the EffectiveConnectivityConfiguration object itself. */ - EffectiveConnectivityConfigurationInner withConfigurationGroups(List configurationGroups) { + EffectiveConnectivityConfiguration withConfigurationGroups(List configurationGroups) { this.configurationGroups = configurationGroups; return this; } @@ -217,36 +209,36 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of EffectiveConnectivityConfigurationInner from the JsonReader. + * Reads an instance of EffectiveConnectivityConfiguration from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of EffectiveConnectivityConfigurationInner 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 EffectiveConnectivityConfigurationInner. + * @return An instance of EffectiveConnectivityConfiguration 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 EffectiveConnectivityConfiguration. */ - public static EffectiveConnectivityConfigurationInner fromJson(JsonReader jsonReader) throws IOException { + public static EffectiveConnectivityConfiguration fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - EffectiveConnectivityConfigurationInner deserializedEffectiveConnectivityConfigurationInner - = new EffectiveConnectivityConfigurationInner(); + EffectiveConnectivityConfiguration deserializedEffectiveConnectivityConfiguration + = new EffectiveConnectivityConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedEffectiveConnectivityConfigurationInner.id = reader.getString(); + deserializedEffectiveConnectivityConfiguration.id = reader.getString(); } else if ("properties".equals(fieldName)) { - deserializedEffectiveConnectivityConfigurationInner.innerProperties + deserializedEffectiveConnectivityConfiguration.innerProperties = ConnectivityConfigurationProperties.fromJson(reader); } else if ("configurationGroups".equals(fieldName)) { List configurationGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedEffectiveConnectivityConfigurationInner.configurationGroups = configurationGroups; + deserializedEffectiveConnectivityConfiguration.configurationGroups = configurationGroups; } else { reader.skipChildren(); } } - return deserializedEffectiveConnectivityConfigurationInner; + return deserializedEffectiveConnectivityConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java index 6f15cef14661..23e877aa81fd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java @@ -9,7 +9,6 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.fluent.models.DefaultAdminPropertiesFormat; -import com.azure.resourcemanager.network.fluent.models.EffectiveBaseSecurityAdminRuleInner; import java.io.IOException; import java.util.List; @@ -17,7 +16,7 @@ * Network default admin rule. */ @Immutable -public final class EffectiveDefaultSecurityAdminRule extends EffectiveBaseSecurityAdminRuleInner { +public final class EffectiveDefaultSecurityAdminRule extends EffectiveBaseSecurityAdminRule { /* * Whether the rule is custom or default. */ @@ -28,31 +27,6 @@ public final class EffectiveDefaultSecurityAdminRule extends EffectiveBaseSecuri */ private DefaultAdminPropertiesFormat innerProperties; - /* - * Effective configuration groups. - */ - private List ruleGroups; - - /* - * Groups for rule collection - */ - private List ruleCollectionAppliesToGroups; - - /* - * A description of the rule collection. - */ - private String ruleCollectionDescription; - - /* - * A description of the security admin configuration. - */ - private String configurationDescription; - - /* - * Resource ID. - */ - private String id; - /** * Creates an instance of EffectiveDefaultSecurityAdminRule class. */ @@ -74,60 +48,10 @@ public EffectiveAdminRuleKind kind() { * * @return the innerProperties value. */ - private DefaultAdminPropertiesFormat innerProperties() { + DefaultAdminPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the ruleGroups property: Effective configuration groups. - * - * @return the ruleGroups value. - */ - @Override - public List ruleGroups() { - return this.ruleGroups; - } - - /** - * Get the ruleCollectionAppliesToGroups property: Groups for rule collection. - * - * @return the ruleCollectionAppliesToGroups value. - */ - @Override - public List ruleCollectionAppliesToGroups() { - return this.ruleCollectionAppliesToGroups; - } - - /** - * Get the ruleCollectionDescription property: A description of the rule collection. - * - * @return the ruleCollectionDescription value. - */ - @Override - public String ruleCollectionDescription() { - return this.ruleCollectionDescription; - } - - /** - * Get the configurationDescription property: A description of the security admin configuration. - * - * @return the configurationDescription value. - */ - @Override - public String configurationDescription() { - return this.configurationDescription; - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - @Override - public String id() { - return this.id; - } - /** * Get the description property: A description for this rule. Restricted to 140 chars. * @@ -290,20 +214,20 @@ public static EffectiveDefaultSecurityAdminRule fromJson(JsonReader jsonReader) reader.nextToken(); if ("id".equals(fieldName)) { - deserializedEffectiveDefaultSecurityAdminRule.id = reader.getString(); + deserializedEffectiveDefaultSecurityAdminRule.withId(reader.getString()); } else if ("configurationDescription".equals(fieldName)) { - deserializedEffectiveDefaultSecurityAdminRule.configurationDescription = reader.getString(); + deserializedEffectiveDefaultSecurityAdminRule.withConfigurationDescription(reader.getString()); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedEffectiveDefaultSecurityAdminRule.ruleCollectionDescription = reader.getString(); + deserializedEffectiveDefaultSecurityAdminRule.withRuleCollectionDescription(reader.getString()); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedEffectiveDefaultSecurityAdminRule.ruleCollectionAppliesToGroups - = ruleCollectionAppliesToGroups; + deserializedEffectiveDefaultSecurityAdminRule + .withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedEffectiveDefaultSecurityAdminRule.ruleGroups = ruleGroups; + deserializedEffectiveDefaultSecurityAdminRule.withRuleGroups(ruleGroups); } else if ("kind".equals(fieldName)) { deserializedEffectiveDefaultSecurityAdminRule.kind = EffectiveAdminRuleKind.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java index 9c18604e3236..68397bbc8dd2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; @@ -15,7 +15,7 @@ * The effective RouteMap route configured on the connection resource. */ @Immutable -public final class EffectiveRouteMapRouteInner implements JsonSerializable { +public final class EffectiveRouteMapRoute implements JsonSerializable { /* * The address prefix of the route. */ @@ -32,9 +32,9 @@ public final class EffectiveRouteMapRouteInner implements JsonSerializable { - EffectiveRouteMapRouteInner deserializedEffectiveRouteMapRouteInner = new EffectiveRouteMapRouteInner(); + EffectiveRouteMapRoute deserializedEffectiveRouteMapRoute = new EffectiveRouteMapRoute(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("prefix".equals(fieldName)) { - deserializedEffectiveRouteMapRouteInner.prefix = reader.getString(); + deserializedEffectiveRouteMapRoute.prefix = reader.getString(); } else if ("bgpCommunities".equals(fieldName)) { - deserializedEffectiveRouteMapRouteInner.bgpCommunities = reader.getString(); + deserializedEffectiveRouteMapRoute.bgpCommunities = reader.getString(); } else if ("asPath".equals(fieldName)) { - deserializedEffectiveRouteMapRouteInner.asPath = reader.getString(); + deserializedEffectiveRouteMapRoute.asPath = reader.getString(); } else { reader.skipChildren(); } } - return deserializedEffectiveRouteMapRouteInner; + return deserializedEffectiveRouteMapRoute; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java index ef7bd1857eab..ed05b17e0c5b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java @@ -9,7 +9,6 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.fluent.models.AdminPropertiesFormat; -import com.azure.resourcemanager.network.fluent.models.EffectiveBaseSecurityAdminRuleInner; import java.io.IOException; import java.util.List; @@ -17,7 +16,7 @@ * Network admin rule. */ @Immutable -public final class EffectiveSecurityAdminRule extends EffectiveBaseSecurityAdminRuleInner { +public final class EffectiveSecurityAdminRule extends EffectiveBaseSecurityAdminRule { /* * Whether the rule is custom or default. */ @@ -28,31 +27,6 @@ public final class EffectiveSecurityAdminRule extends EffectiveBaseSecurityAdmin */ private AdminPropertiesFormat innerProperties; - /* - * Effective configuration groups. - */ - private List ruleGroups; - - /* - * Groups for rule collection - */ - private List ruleCollectionAppliesToGroups; - - /* - * A description of the rule collection. - */ - private String ruleCollectionDescription; - - /* - * A description of the security admin configuration. - */ - private String configurationDescription; - - /* - * Resource ID. - */ - private String id; - /** * Creates an instance of EffectiveSecurityAdminRule class. */ @@ -74,60 +48,10 @@ public EffectiveAdminRuleKind kind() { * * @return the innerProperties value. */ - private AdminPropertiesFormat innerProperties() { + AdminPropertiesFormat innerProperties() { return this.innerProperties; } - /** - * Get the ruleGroups property: Effective configuration groups. - * - * @return the ruleGroups value. - */ - @Override - public List ruleGroups() { - return this.ruleGroups; - } - - /** - * Get the ruleCollectionAppliesToGroups property: Groups for rule collection. - * - * @return the ruleCollectionAppliesToGroups value. - */ - @Override - public List ruleCollectionAppliesToGroups() { - return this.ruleCollectionAppliesToGroups; - } - - /** - * Get the ruleCollectionDescription property: A description of the rule collection. - * - * @return the ruleCollectionDescription value. - */ - @Override - public String ruleCollectionDescription() { - return this.ruleCollectionDescription; - } - - /** - * Get the configurationDescription property: A description of the security admin configuration. - * - * @return the configurationDescription value. - */ - @Override - public String configurationDescription() { - return this.configurationDescription; - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - @Override - public String id() { - return this.id; - } - /** * Get the description property: A description for this rule. Restricted to 140 chars. * @@ -280,20 +204,20 @@ public static EffectiveSecurityAdminRule fromJson(JsonReader jsonReader) throws reader.nextToken(); if ("id".equals(fieldName)) { - deserializedEffectiveSecurityAdminRule.id = reader.getString(); + deserializedEffectiveSecurityAdminRule.withId(reader.getString()); } else if ("configurationDescription".equals(fieldName)) { - deserializedEffectiveSecurityAdminRule.configurationDescription = reader.getString(); + deserializedEffectiveSecurityAdminRule.withConfigurationDescription(reader.getString()); } else if ("ruleCollectionDescription".equals(fieldName)) { - deserializedEffectiveSecurityAdminRule.ruleCollectionDescription = reader.getString(); + deserializedEffectiveSecurityAdminRule.withRuleCollectionDescription(reader.getString()); } else if ("ruleCollectionAppliesToGroups".equals(fieldName)) { List ruleCollectionAppliesToGroups = reader.readArray(reader1 -> NetworkManagerSecurityGroupItem.fromJson(reader1)); - deserializedEffectiveSecurityAdminRule.ruleCollectionAppliesToGroups - = ruleCollectionAppliesToGroups; + deserializedEffectiveSecurityAdminRule + .withRuleCollectionAppliesToGroups(ruleCollectionAppliesToGroups); } else if ("ruleGroups".equals(fieldName)) { List ruleGroups = reader.readArray(reader1 -> ConfigurationGroup.fromJson(reader1)); - deserializedEffectiveSecurityAdminRule.ruleGroups = ruleGroups; + deserializedEffectiveSecurityAdminRule.withRuleGroups(ruleGroups); } else if ("kind".equals(fieldName)) { deserializedEffectiveSecurityAdminRule.kind = EffectiveAdminRuleKind.fromString(reader.getString()); } else if ("properties".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java similarity index 74% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java index 5d07ce0b3045..4c96dd31959b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; @@ -15,7 +15,7 @@ * Gateway routing details. */ @Immutable -public final class GatewayRouteInner implements JsonSerializable { +public final class GatewayRoute implements JsonSerializable { /* * The gateway's local address. */ @@ -52,9 +52,9 @@ public final class GatewayRouteInner implements JsonSerializable { - GatewayRouteInner deserializedGatewayRouteInner = new GatewayRouteInner(); + GatewayRoute deserializedGatewayRoute = new GatewayRoute(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("localAddress".equals(fieldName)) { - deserializedGatewayRouteInner.localAddress = reader.getString(); + deserializedGatewayRoute.localAddress = reader.getString(); } else if ("network".equals(fieldName)) { - deserializedGatewayRouteInner.network = reader.getString(); + deserializedGatewayRoute.network = reader.getString(); } else if ("nextHop".equals(fieldName)) { - deserializedGatewayRouteInner.nextHop = reader.getString(); + deserializedGatewayRoute.nextHop = reader.getString(); } else if ("sourcePeer".equals(fieldName)) { - deserializedGatewayRouteInner.sourcePeer = reader.getString(); + deserializedGatewayRoute.sourcePeer = reader.getString(); } else if ("origin".equals(fieldName)) { - deserializedGatewayRouteInner.origin = reader.getString(); + deserializedGatewayRoute.origin = reader.getString(); } else if ("asPath".equals(fieldName)) { - deserializedGatewayRouteInner.asPath = reader.getString(); + deserializedGatewayRoute.asPath = reader.getString(); } else if ("weight".equals(fieldName)) { - deserializedGatewayRouteInner.weight = reader.getNullable(JsonReader::getInt); + deserializedGatewayRoute.weight = reader.getNullable(JsonReader::getInt); } else { reader.skipChildren(); } } - return deserializedGatewayRouteInner; + return deserializedGatewayRoute; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java deleted file mode 100644 index a288ae135d56..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java +++ /dev/null @@ -1,92 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 GenerateVpnProfileFinalResult model. - */ -@Immutable -public final class GenerateVpnProfileFinalResult implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of GenerateVpnProfileFinalResult class. - */ - private GenerateVpnProfileFinalResult() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model GenerateVpnProfileFinalResult")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(GenerateVpnProfileFinalResult.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of GenerateVpnProfileFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of GenerateVpnProfileFinalResult 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 GenerateVpnProfileFinalResult. - */ - public static GenerateVpnProfileFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - GenerateVpnProfileFinalResult deserializedGenerateVpnProfileFinalResult - = new GenerateVpnProfileFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedGenerateVpnProfileFinalResult.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedGenerateVpnProfileFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java index b91a14f85f29..7fb642a47627 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java @@ -16,16 +16,16 @@ * HTTP configuration of the connectivity check. */ @Fluent -public final class HTTPConfiguration implements JsonSerializable { +public final class HttpConfiguration implements JsonSerializable { /* * HTTP method. */ - private HTTPMethod method; + private HttpMethod method; /* * List of HTTP headers. */ - private List headers; + private List headers; /* * Valid status codes. @@ -33,9 +33,9 @@ public final class HTTPConfiguration implements JsonSerializable validStatusCodes; /** - * Creates an instance of HTTPConfiguration class. + * Creates an instance of HttpConfiguration class. */ - public HTTPConfiguration() { + public HttpConfiguration() { } /** @@ -43,7 +43,7 @@ public HTTPConfiguration() { * * @return the method value. */ - public HTTPMethod method() { + public HttpMethod method() { return this.method; } @@ -51,9 +51,9 @@ public HTTPMethod method() { * Set the method property: HTTP method. * * @param method the method value to set. - * @return the HTTPConfiguration object itself. + * @return the HttpConfiguration object itself. */ - public HTTPConfiguration withMethod(HTTPMethod method) { + public HttpConfiguration withMethod(HttpMethod method) { this.method = method; return this; } @@ -63,7 +63,7 @@ public HTTPConfiguration withMethod(HTTPMethod method) { * * @return the headers value. */ - public List headers() { + public List headers() { return this.headers; } @@ -71,9 +71,9 @@ public List headers() { * Set the headers property: List of HTTP headers. * * @param headers the headers value to set. - * @return the HTTPConfiguration object itself. + * @return the HttpConfiguration object itself. */ - public HTTPConfiguration withHeaders(List headers) { + public HttpConfiguration withHeaders(List headers) { this.headers = headers; return this; } @@ -91,9 +91,9 @@ public List validStatusCodes() { * Set the validStatusCodes property: Valid status codes. * * @param validStatusCodes the validStatusCodes value to set. - * @return the HTTPConfiguration object itself. + * @return the HttpConfiguration object itself. */ - public HTTPConfiguration withValidStatusCodes(List validStatusCodes) { + public HttpConfiguration withValidStatusCodes(List validStatusCodes) { this.validStatusCodes = validStatusCodes; return this; } @@ -123,34 +123,34 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of HTTPConfiguration from the JsonReader. + * Reads an instance of HttpConfiguration from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of HTTPConfiguration if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of HttpConfiguration 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 HTTPConfiguration. + * @throws IOException If an error occurs while reading the HttpConfiguration. */ - public static HTTPConfiguration fromJson(JsonReader jsonReader) throws IOException { + public static HttpConfiguration fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - HTTPConfiguration deserializedHTTPConfiguration = new HTTPConfiguration(); + HttpConfiguration deserializedHttpConfiguration = new HttpConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("method".equals(fieldName)) { - deserializedHTTPConfiguration.method = HTTPMethod.fromString(reader.getString()); + deserializedHttpConfiguration.method = HttpMethod.fromString(reader.getString()); } else if ("headers".equals(fieldName)) { - List headers = reader.readArray(reader1 -> HTTPHeader.fromJson(reader1)); - deserializedHTTPConfiguration.headers = headers; + List headers = reader.readArray(reader1 -> HttpHeader.fromJson(reader1)); + deserializedHttpConfiguration.headers = headers; } else if ("validStatusCodes".equals(fieldName)) { List validStatusCodes = reader.readArray(reader1 -> reader1.getInt()); - deserializedHTTPConfiguration.validStatusCodes = validStatusCodes; + deserializedHttpConfiguration.validStatusCodes = validStatusCodes; } else { reader.skipChildren(); } } - return deserializedHTTPConfiguration; + return deserializedHttpConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java index 73a312c27a6b..f817b4562809 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java @@ -10,42 +10,42 @@ /** * The HTTP method to use. */ -public final class HTTPConfigurationMethod extends ExpandableStringEnum { +public final class HttpConfigurationMethod extends ExpandableStringEnum { /** * Get. */ - public static final HTTPConfigurationMethod GET = fromString("Get"); + public static final HttpConfigurationMethod GET = fromString("Get"); /** * Post. */ - public static final HTTPConfigurationMethod POST = fromString("Post"); + public static final HttpConfigurationMethod POST = fromString("Post"); /** - * Creates a new instance of HTTPConfigurationMethod value. + * Creates a new instance of HttpConfigurationMethod value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public HTTPConfigurationMethod() { + public HttpConfigurationMethod() { } /** - * Creates or finds a HTTPConfigurationMethod from its string representation. + * Creates or finds a HttpConfigurationMethod from its string representation. * * @param name a name to look for. - * @return the corresponding HTTPConfigurationMethod. + * @return the corresponding HttpConfigurationMethod. */ - public static HTTPConfigurationMethod fromString(String name) { - return fromString(name, HTTPConfigurationMethod.class); + public static HttpConfigurationMethod fromString(String name) { + return fromString(name, HttpConfigurationMethod.class); } /** - * Gets known HTTPConfigurationMethod values. + * Gets known HttpConfigurationMethod values. * - * @return known HTTPConfigurationMethod values. + * @return known HttpConfigurationMethod values. */ - public static Collection values() { - return values(HTTPConfigurationMethod.class); + public static Collection values() { + return values(HttpConfigurationMethod.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java index fe35c46a3a3d..8aea94ce7579 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java @@ -15,7 +15,7 @@ * The HTTP header. */ @Fluent -public final class HTTPHeader implements JsonSerializable { +public final class HttpHeader implements JsonSerializable { /* * The name in HTTP header. */ @@ -27,9 +27,9 @@ public final class HTTPHeader implements JsonSerializable { private String value; /** - * Creates an instance of HTTPHeader class. + * Creates an instance of HttpHeader class. */ - public HTTPHeader() { + public HttpHeader() { } /** @@ -45,9 +45,9 @@ public String name() { * Set the name property: The name in HTTP header. * * @param name the name value to set. - * @return the HTTPHeader object itself. + * @return the HttpHeader object itself. */ - public HTTPHeader withName(String name) { + public HttpHeader withName(String name) { this.name = name; return this; } @@ -65,9 +65,9 @@ public String value() { * Set the value property: The value in HTTP header. * * @param value the value value to set. - * @return the HTTPHeader object itself. + * @return the HttpHeader object itself. */ - public HTTPHeader withValue(String value) { + public HttpHeader withValue(String value) { this.value = value; return this; } @@ -92,30 +92,30 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of HTTPHeader from the JsonReader. + * Reads an instance of HttpHeader from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of HTTPHeader if the JsonReader was pointing to an instance of it, or null if it was pointing + * @return An instance of HttpHeader 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 HTTPHeader. + * @throws IOException If an error occurs while reading the HttpHeader. */ - public static HTTPHeader fromJson(JsonReader jsonReader) throws IOException { + public static HttpHeader fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - HTTPHeader deserializedHTTPHeader = new HTTPHeader(); + HttpHeader deserializedHttpHeader = new HttpHeader(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("name".equals(fieldName)) { - deserializedHTTPHeader.name = reader.getString(); + deserializedHttpHeader.name = reader.getString(); } else if ("value".equals(fieldName)) { - deserializedHTTPHeader.value = reader.getString(); + deserializedHttpHeader.value = reader.getString(); } else { reader.skipChildren(); } } - return deserializedHTTPHeader; + return deserializedHttpHeader; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java index 5f67025dd8fd..97c19022ffe8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java @@ -10,37 +10,37 @@ /** * HTTP method. */ -public final class HTTPMethod extends ExpandableStringEnum { +public final class HttpMethod extends ExpandableStringEnum { /** * Get. */ - public static final HTTPMethod GET = fromString("Get"); + public static final HttpMethod GET = fromString("Get"); /** - * Creates a new instance of HTTPMethod value. + * Creates a new instance of HttpMethod value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public HTTPMethod() { + public HttpMethod() { } /** - * Creates or finds a HTTPMethod from its string representation. + * Creates or finds a HttpMethod from its string representation. * * @param name a name to look for. - * @return the corresponding HTTPMethod. + * @return the corresponding HttpMethod. */ - public static HTTPMethod fromString(String name) { - return fromString(name, HTTPMethod.class); + public static HttpMethod fromString(String name) { + return fromString(name, HttpMethod.class); } /** - * Gets known HTTPMethod values. + * Gets known HttpMethod values. * - * @return known HTTPMethod values. + * @return known HttpMethod values. */ - public static Collection values() { - return values(HTTPMethod.class); + public static Collection values() { + return values(HttpMethod.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java index 0c5d7c44640e..71bcbbd14422 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Immutable; import com.azure.core.util.CoreUtils; @@ -10,8 +10,6 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ConfigurationType; -import com.azure.resourcemanager.network.models.DeploymentStatus; import java.io.IOException; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; @@ -21,8 +19,7 @@ * Network Manager Deployment Status. */ @Immutable -public final class NetworkManagerDeploymentStatusInner - implements JsonSerializable { +public final class NetworkManagerDeploymentStatus implements JsonSerializable { /* * Commit Time. */ @@ -54,9 +51,9 @@ public final class NetworkManagerDeploymentStatusInner private String errorMessage; /** - * Creates an instance of NetworkManagerDeploymentStatusInner class. + * Creates an instance of NetworkManagerDeploymentStatus class. */ - private NetworkManagerDeploymentStatusInner() { + private NetworkManagerDeploymentStatus() { } /** @@ -141,43 +138,43 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkManagerDeploymentStatusInner from the JsonReader. + * Reads an instance of NetworkManagerDeploymentStatus from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkManagerDeploymentStatusInner 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 NetworkManagerDeploymentStatusInner. + * @return An instance of NetworkManagerDeploymentStatus 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 NetworkManagerDeploymentStatus. */ - public static NetworkManagerDeploymentStatusInner fromJson(JsonReader jsonReader) throws IOException { + public static NetworkManagerDeploymentStatus fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkManagerDeploymentStatusInner deserializedNetworkManagerDeploymentStatusInner - = new NetworkManagerDeploymentStatusInner(); + NetworkManagerDeploymentStatus deserializedNetworkManagerDeploymentStatus + = new NetworkManagerDeploymentStatus(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("commitTime".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatusInner.commitTime = reader + deserializedNetworkManagerDeploymentStatus.commitTime = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); } else if ("region".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatusInner.region = reader.getString(); + deserializedNetworkManagerDeploymentStatus.region = reader.getString(); } else if ("deploymentStatus".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatusInner.deploymentStatus + deserializedNetworkManagerDeploymentStatus.deploymentStatus = DeploymentStatus.fromString(reader.getString()); } else if ("configurationIds".equals(fieldName)) { List configurationIds = reader.readArray(reader1 -> reader1.getString()); - deserializedNetworkManagerDeploymentStatusInner.configurationIds = configurationIds; + deserializedNetworkManagerDeploymentStatus.configurationIds = configurationIds; } else if ("deploymentType".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatusInner.deploymentType + deserializedNetworkManagerDeploymentStatus.deploymentType = ConfigurationType.fromString(reader.getString()); } else if ("errorMessage".equals(fieldName)) { - deserializedNetworkManagerDeploymentStatusInner.errorMessage = reader.getString(); + deserializedNetworkManagerDeploymentStatus.errorMessage = reader.getString(); } else { reader.skipChildren(); } } - return deserializedNetworkManagerDeploymentStatusInner; + return deserializedNetworkManagerDeploymentStatus; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java index e16f9d33ef1e..9816362499a3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java @@ -19,7 +19,7 @@ public final class ProtocolConfiguration implements JsonSerializable { - /** - * Creates an instance of StopFinalResult1 class. - */ - private StopFinalResult1() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of StopFinalResult1 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of StopFinalResult1 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 StopFinalResult1. - */ - public static StopFinalResult1 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - StopFinalResult1 deserializedStopFinalResult1 = new StopFinalResult1(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedStopFinalResult1; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java index 23baa7178f43..04c41a0eddeb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java @@ -4,7 +4,7 @@ package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Immutable; +import com.azure.core.annotation.Fluent; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Tracked resource with optional location. */ -@Immutable +@Fluent public class TrackedResourcewithOptionalLocation implements JsonSerializable { /* * ID of the connection monitor. @@ -50,7 +50,7 @@ public class TrackedResourcewithOptionalLocation implements JsonSerializable tags() { * @param tags the tags value to set. * @return the TrackedResourcewithOptionalLocation object itself. */ - TrackedResourcewithOptionalLocation withTags(Map tags) { + public TrackedResourcewithOptionalLocation withTags(Map tags) { this.tags = tags; return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java similarity index 73% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java index 9a7eecac211e..629ab3b217a2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; @@ -16,7 +16,7 @@ * The effective route configured on the virtual hub or specified resource. */ @Immutable -public final class VirtualHubEffectiveRouteInner implements JsonSerializable { +public final class VirtualHubEffectiveRoute implements JsonSerializable { /* * The list of address prefixes. */ @@ -43,9 +43,9 @@ public final class VirtualHubEffectiveRouteInner implements JsonSerializable { - VirtualHubEffectiveRouteInner deserializedVirtualHubEffectiveRouteInner - = new VirtualHubEffectiveRouteInner(); + VirtualHubEffectiveRoute deserializedVirtualHubEffectiveRoute = new VirtualHubEffectiveRoute(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("addressPrefixes".equals(fieldName)) { List addressPrefixes = reader.readArray(reader1 -> reader1.getString()); - deserializedVirtualHubEffectiveRouteInner.addressPrefixes = addressPrefixes; + deserializedVirtualHubEffectiveRoute.addressPrefixes = addressPrefixes; } else if ("nextHops".equals(fieldName)) { List nextHops = reader.readArray(reader1 -> reader1.getString()); - deserializedVirtualHubEffectiveRouteInner.nextHops = nextHops; + deserializedVirtualHubEffectiveRoute.nextHops = nextHops; } else if ("nextHopType".equals(fieldName)) { - deserializedVirtualHubEffectiveRouteInner.nextHopType = reader.getString(); + deserializedVirtualHubEffectiveRoute.nextHopType = reader.getString(); } else if ("asPath".equals(fieldName)) { - deserializedVirtualHubEffectiveRouteInner.asPath = reader.getString(); + deserializedVirtualHubEffectiveRoute.asPath = reader.getString(); } else if ("routeOrigin".equals(fieldName)) { - deserializedVirtualHubEffectiveRouteInner.routeOrigin = reader.getString(); + deserializedVirtualHubEffectiveRoute.routeOrigin = reader.getString(); } else { reader.skipChildren(); } } - return deserializedVirtualHubEffectiveRouteInner; + return deserializedVirtualHubEffectiveRoute; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java similarity index 74% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailInner.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java index 07f8bcdca7d4..fb60e72e032e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.network.fluent.models; +package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; @@ -15,8 +15,7 @@ * VPN client connection health detail. */ @Immutable -public final class VpnClientConnectionHealthDetailInner - implements JsonSerializable { +public final class VpnClientConnectionHealthDetail implements JsonSerializable { /* * The vpn client Id. */ @@ -78,9 +77,9 @@ public final class VpnClientConnectionHealthDetailInner private Long maxPacketsPerSecond; /** - * Creates an instance of VpnClientConnectionHealthDetailInner class. + * Creates an instance of VpnClientConnectionHealthDetail class. */ - private VpnClientConnectionHealthDetailInner() { + private VpnClientConnectionHealthDetail() { } /** @@ -209,58 +208,57 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of VpnClientConnectionHealthDetailInner from the JsonReader. + * Reads an instance of VpnClientConnectionHealthDetail from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VpnClientConnectionHealthDetailInner 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 VpnClientConnectionHealthDetailInner. + * @return An instance of VpnClientConnectionHealthDetail 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 VpnClientConnectionHealthDetail. */ - public static VpnClientConnectionHealthDetailInner fromJson(JsonReader jsonReader) throws IOException { + public static VpnClientConnectionHealthDetail fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VpnClientConnectionHealthDetailInner deserializedVpnClientConnectionHealthDetailInner - = new VpnClientConnectionHealthDetailInner(); + VpnClientConnectionHealthDetail deserializedVpnClientConnectionHealthDetail + = new VpnClientConnectionHealthDetail(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("vpnConnectionId".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.vpnConnectionId = reader.getString(); + deserializedVpnClientConnectionHealthDetail.vpnConnectionId = reader.getString(); } else if ("vpnConnectionDuration".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.vpnConnectionDuration + deserializedVpnClientConnectionHealthDetail.vpnConnectionDuration = reader.getNullable(JsonReader::getLong); } else if ("vpnConnectionTime".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.vpnConnectionTime = reader.getString(); + deserializedVpnClientConnectionHealthDetail.vpnConnectionTime = reader.getString(); } else if ("publicIpAddress".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.publicIpAddress = reader.getString(); + deserializedVpnClientConnectionHealthDetail.publicIpAddress = reader.getString(); } else if ("privateIpAddress".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.privateIpAddress = reader.getString(); + deserializedVpnClientConnectionHealthDetail.privateIpAddress = reader.getString(); } else if ("vpnUserName".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.vpnUserName = reader.getString(); + deserializedVpnClientConnectionHealthDetail.vpnUserName = reader.getString(); } else if ("maxBandwidth".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.maxBandwidth - = reader.getNullable(JsonReader::getLong); + deserializedVpnClientConnectionHealthDetail.maxBandwidth = reader.getNullable(JsonReader::getLong); } else if ("egressPacketsTransferred".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.egressPacketsTransferred + deserializedVpnClientConnectionHealthDetail.egressPacketsTransferred = reader.getNullable(JsonReader::getLong); } else if ("egressBytesTransferred".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.egressBytesTransferred + deserializedVpnClientConnectionHealthDetail.egressBytesTransferred = reader.getNullable(JsonReader::getLong); } else if ("ingressPacketsTransferred".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.ingressPacketsTransferred + deserializedVpnClientConnectionHealthDetail.ingressPacketsTransferred = reader.getNullable(JsonReader::getLong); } else if ("ingressBytesTransferred".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.ingressBytesTransferred + deserializedVpnClientConnectionHealthDetail.ingressBytesTransferred = reader.getNullable(JsonReader::getLong); } else if ("maxPacketsPerSecond".equals(fieldName)) { - deserializedVpnClientConnectionHealthDetailInner.maxPacketsPerSecond + deserializedVpnClientConnectionHealthDetail.maxPacketsPerSecond = reader.getNullable(JsonReader::getLong); } else { reader.skipChildren(); } } - return deserializedVpnClientConnectionHealthDetailInner; + return deserializedVpnClientConnectionHealthDetail; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index f53f3015e047..ff562f12932d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIPPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveBaseSecurityAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveBaseSecurityAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLOAResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWANInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIPPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveConnectivityConfigurationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ActiveSecurityAdminRulesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpPeerStatusListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EffectiveRouteMapRouteList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteGatewayList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GatewayRouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerDeploymentStatusListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerEffectiveSecurityAdminRulesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SignaturesOverridesList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SwapResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualHubEffectiveRouteList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VpnClientConnectionHealthDetailListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJWTValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIPAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BGPCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BaseProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySNAT.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySQL.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLOARequest.java","src/main/java/com/azure/resourcemanager/network/models/GenerateVpnProfileFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HTTPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HTTPConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HTTPHeader.java","src/main/java/com/azure/resourcemanager/network/models/HTTPMethod.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IDPSQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IPConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IPRule.java","src/main/java/com/azure/resourcemanager/network/models/IPTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIPVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIPPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLOAResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWANInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIPPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJWTValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIPAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BGPCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BaseProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySNAT.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySQL.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLOARequest.java","src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IDPSQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IPConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IPRule.java","src/main/java/com/azure/resourcemanager/network/models/IPTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIPVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java index a9d3c2d8462f..a8dc234e9c8d 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java @@ -22,7 +22,7 @@ public final class EffectiveConfigurationsListNetworkManagerEffectiveConnectivit listEffectiveConnectivityConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getEffectiveConfigurations() - .listNetworkManagerEffectiveConnectivityConfigurations("myResourceGroup", "testVirtualNetwork", + .listNetworkManagerEffectiveConnectivityConfigurationsWithResponse("myResourceGroup", "testVirtualNetwork", new QueryRequestOptions().withSkipToken("fakeTokenPlaceholder"), null, com.azure.core.util.Context.NONE); } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java index d561b2a676b0..7ff4d465fe56 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java @@ -21,7 +21,7 @@ public final class EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdm public static void listEffectiveSecurityAdminRules(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getEffectiveConfigurations() - .listNetworkManagerEffectiveSecurityAdminRules("myResourceGroup", "testVirtualNetwork", + .listNetworkManagerEffectiveSecurityAdminRulesWithResponse("myResourceGroup", "testVirtualNetwork", new QueryRequestOptions().withSkipToken("fakeTokenPlaceholder"), null, com.azure.core.util.Context.NONE); } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsListSamples.java index fd11ad05d5aa..a6587f3e5915 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteConnectionsListSamples.java @@ -19,6 +19,6 @@ public final class ExpressRouteConnectionsListSamples { public static void expressRouteConnectionList(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getExpressRouteConnections() - .list("resourceGroupName", "expressRouteGatewayName", com.azure.core.util.Context.NONE); + .listWithResponse("resourceGroupName", "expressRouteGatewayName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListByResourceGroupSamples.java index 266c26b5ffc2..9b913c414ffb 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListByResourceGroupSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListByResourceGroupSamples.java @@ -20,6 +20,6 @@ public final class ExpressRouteGatewaysListByResourceGroupSamples { expressRouteGatewayListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getExpressRouteGateways() - .listByResourceGroup("resourceGroupName", com.azure.core.util.Context.NONE); + .listByResourceGroupWithResponse("resourceGroupName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListBySubscriptionSamples.java similarity index 67% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListBySubscriptionSamples.java index 7f3dc6ad2620..6a2a0f6dd5f1 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteGatewaysListBySubscriptionSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for ExpressRouteGateways List. + * Samples for ExpressRouteGateways ListBySubscription. */ -public final class ExpressRouteGatewaysListSamples { +public final class ExpressRouteGatewaysListBySubscriptionSamples { /* * x-ms-original-file: 2025-05-01/ExpressRouteGatewayListBySubscription.json */ @@ -17,6 +17,8 @@ public final class ExpressRouteGatewaysListSamples { * @param manager Entry point to NetworkManager. */ public static void expressRouteGatewayListBySubscription(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient().getExpressRouteGateways().list(com.azure.core.util.Context.NONE); + manager.serviceClient() + .getExpressRouteGateways() + .listBySubscriptionWithResponse(com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesListSamples.java index 3fc6914caa25..fe9b226d5f1f 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesListSamples.java @@ -19,6 +19,6 @@ public final class FirewallPolicyIdpsSignaturesOverridesListSamples { public static void getSignatureOverrides(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getFirewallPolicyIdpsSignaturesOverrides() - .list("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); + .listWithResponse("rg1", "firewallPolicy", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerDeploymentStatusOperationListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerDeploymentStatusOperationListSamples.java index cba0cf12a1f6..c2aa17d17491 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerDeploymentStatusOperationListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagerDeploymentStatusOperationListSamples.java @@ -23,7 +23,7 @@ public final class NetworkManagerDeploymentStatusOperationListSamples { public static void networkManagerDeploymentStatusList(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getNetworkManagerDeploymentStatusOperations() - .list("resoureGroupSample", "testNetworkManager", + .listWithResponse("resoureGroupSample", "testNetworkManager", new NetworkManagerDeploymentStatusParameter().withRegions(Arrays.asList("eastus", "westus")) .withDeploymentTypes( Arrays.asList(ConfigurationType.CONNECTIVITY, ConfigurationType.fromString("AdminPolicy"))) diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java index 084d75f81e55..8d4f7d118363 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java @@ -22,7 +22,7 @@ public final class NetworkManagersListActiveConnectivityConfigurationsSamples { public static void listActiveConnectivityConfigurations(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getNetworkManagers() - .listActiveConnectivityConfigurations("myResourceGroup", "testNetworkManager", + .listActiveConnectivityConfigurationsWithResponse("myResourceGroup", "testNetworkManager", new ActiveConfigurationParameter().withRegions(Arrays.asList("westus")) .withSkipToken("fakeTokenPlaceholder"), null, com.azure.core.util.Context.NONE); diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java index 8303fe5e30c1..5b9c2de9f645 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java @@ -22,7 +22,7 @@ public final class NetworkManagersListActiveSecurityAdminRulesSamples { public static void listActiveSecurityAdminRules(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getNetworkManagers() - .listActiveSecurityAdminRules("myResourceGroup", "testNetworkManager", + .listActiveSecurityAdminRulesWithResponse("myResourceGroup", "testNetworkManager", new ActiveConfigurationParameter().withRegions(Arrays.asList("westus")) .withSkipToken("fakeTokenPlaceholder"), null, com.azure.core.util.Context.NONE); diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapListSamples.java index 58a6a2c93a97..21baec03e25a 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapListSamples.java @@ -17,6 +17,8 @@ public final class VipSwapListSamples { * @param manager Entry point to NetworkManager. */ public static void getSwapResourceList(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient().getVipSwaps().list("rg1", "testCloudService", com.azure.core.util.Context.NONE); + manager.serviceClient() + .getVipSwaps() + .listWithResponse("rg1", "testCloudService", com.azure.core.util.Context.NONE); } } From 9c9071d30563a5da4ff57e388d24ac0f00a64e85 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Tue, 24 Mar 2026 15:20:18 +0800 Subject: [PATCH 09/33] Regenerate with BastionHostIpConfiguration rename Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../CHANGELOG.md | 362 +++++++++--------- .../fluent/models/BastionHostInner.java | 6 +- .../models/BastionHostPropertiesFormat.java | 12 +- .../models/BastionHostIpConfiguration.java | 46 +-- ...zure-resourcemanager-network_metadata.json | 2 +- .../BastionHostsCreateOrUpdateSamples.java | 8 +- 6 files changed, 216 insertions(+), 220 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index a79282b21aea..7209bb210956 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -330,8 +330,6 @@ #### `models.FirewallPolicySnat` was removed -#### `models.BastionHostIpConfiguration` was removed - #### `models.DscpConfigurationListResult` was removed #### `models.IpamPoolList` was removed @@ -371,10 +369,10 @@ #### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access -* `withUpDown(java.lang.String)` was removed * `withNeighbor(java.lang.String)` was removed -* `withStateOrPrefixesReceived(java.lang.String)` was removed * `withAsn(java.lang.Integer)` was removed +* `withUpDown(java.lang.String)` was removed +* `withStateOrPrefixesReceived(java.lang.String)` was removed #### `models.UsageName` was modified @@ -385,60 +383,60 @@ #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access -* `withEffectiveSecurityRules(java.util.List)` was removed * `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed * `withSubnetAssociation(models.SubnetAssociation)` was removed +* `withEffectiveSecurityRules(java.util.List)` was removed * `withDefaultSecurityRules(java.util.List)` was removed #### `models.ResourceBasics` was modified * `ResourceBasics()` was changed to private access -* `withAddressPrefixes(java.util.List)` was removed * `withResourceId(java.lang.String)` was removed +* `withAddressPrefixes(java.util.List)` was removed #### `models.MatchedRule` was modified * `MatchedRule()` was changed to private access -* `withAction(java.lang.String)` was removed * `withRuleName(java.lang.String)` was removed +* `withAction(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallRule` was modified * `ApplicationGatewayFirewallRule()` was changed to private access -* `withRuleId(int)` was removed -* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed -* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed -* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed * `withDescription(java.lang.String)` was removed * `withRuleIdString(java.lang.String)` was removed +* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed +* `withRuleId(int)` was removed +* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed +* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed #### `models.VpnGatewayIpConfiguration` was modified * `VpnGatewayIpConfiguration()` was changed to private access -* `withPrivateIpAddress(java.lang.String)` was removed -* `withId(java.lang.String)` was removed * `withPublicIpAddress(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access -* `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed -* `withAddressPrefix(java.util.List)` was removed -* `withNextHopIpAddress(java.util.List)` was removed * `withState(models.EffectiveRouteState)` was removed +* `withNextHopType(models.RouteNextHopType)` was removed +* `withAddressPrefix(java.util.List)` was removed +* `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed * `withSource(models.EffectiveRouteSource)` was removed +* `withNextHopIpAddress(java.util.List)` was removed * `withName(java.lang.String)` was removed -* `withNextHopType(models.RouteNextHopType)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `privateIpAddress()` was removed * `withId(java.lang.String)` was removed -* `withPrivateIpAddressVersion(models.IpVersion)` was removed +* `withName(java.lang.String)` was removed * `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed +* `withPrivateIpAddressVersion(models.IpVersion)` was removed +* `privateIpAddress()` was removed * `withPrivateIpAddress(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withPrimary(java.lang.Boolean)` was removed #### `models.TunnelConnectionHealth` was modified @@ -452,22 +450,22 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access -* `withRuleGroups(java.util.List)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withId(java.lang.String)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRegion(java.lang.String)` was removed * `withDestinations(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed * `withDestinationPortRanges(java.util.List)` was removed -* `withRegion(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed +* `withId(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withPriority(java.lang.Integer)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withRuleGroups(java.util.List)` was removed * `withDescription(java.lang.String)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed * `withSources(java.util.List)` was removed #### `models.ContainerNetworkInterfaceIpConfiguration` was modified @@ -478,8 +476,8 @@ #### `models.ApplicationGatewayBackendHealthHttpSettings` was modified * `ApplicationGatewayBackendHealthHttpSettings()` was changed to private access -* `withServers(java.util.List)` was removed * `withBackendHttpSettings(models.ApplicationGatewayBackendHttpSettings)` was removed +* `withServers(java.util.List)` was removed #### `models.NetworkInterfaceAssociation` was modified @@ -489,9 +487,9 @@ #### `models.TopologyAssociation` was modified * `TopologyAssociation()` was changed to private access +* `withName(java.lang.String)` was removed * `withResourceId(java.lang.String)` was removed * `withAssociationType(models.AssociationType)` was removed -* `withName(java.lang.String)` was removed #### `models.SecurityGroupNetworkInterface` was modified @@ -502,13 +500,13 @@ #### `models.EffectiveDefaultSecurityAdminRule` was modified * `EffectiveDefaultSecurityAdminRule()` was changed to private access -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `withId(java.lang.String)` was removed +* `withFlag(java.lang.String)` was removed * `withConfigurationDescription(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withId(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed -* `withFlag(java.lang.String)` was removed #### `models.Container` was modified @@ -518,37 +516,37 @@ #### `models.ServiceAssociationLink` was modified * `ServiceAssociationLink()` was changed to private access -* `withId(java.lang.String)` was removed -* `withLink(java.lang.String)` was removed * `withAllowDelete(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed * `withLocations(java.util.List)` was removed +* `withId(java.lang.String)` was removed * `withLinkedResourceType(java.lang.String)` was removed #### `models.TroubleshootingRecommendedActions` was modified * `TroubleshootingRecommendedActions()` was changed to private access -* `withActionUri(java.lang.String)` was removed -* `withActionId(java.lang.String)` was removed * `withActionText(java.lang.String)` was removed +* `withActionId(java.lang.String)` was removed * `withActionUriText(java.lang.String)` was removed +* `withActionUri(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access -* `withRecommendationText(java.lang.String)` was removed -* `withCallToActionLink(java.lang.String)` was removed -* `withRecommendationTitle(java.lang.String)` was removed -* `withSeverity(java.lang.String)` was removed * `withCallToActionText(java.lang.String)` was removed +* `withCallToActionLink(java.lang.String)` was removed * `withRecommendationId(java.lang.String)` was removed +* `withSeverity(java.lang.String)` was removed +* `withRecommendationText(java.lang.String)` was removed +* `withRecommendationTitle(java.lang.String)` was removed #### `models.ContainerNetworkInterface` was modified * `ContainerNetworkInterface()` was changed to private access -* `withId(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withContainer(models.Container)` was removed +* `withName(java.lang.String)` was removed +* `withId(java.lang.String)` was removed #### `models.ExpressRouteFailoverRedundantRoute` was modified @@ -558,23 +556,23 @@ #### `models.ApplicationGatewayPrivateLinkIpConfiguration` was modified -* `withPrivateIpAddress(java.lang.String)` was removed * `privateIpAddress()` was removed +* `withPrivateIpAddress(java.lang.String)` was removed #### `models.AzureReachabilityReportLatencyInfo` was modified * `AzureReachabilityReportLatencyInfo()` was changed to private access -* `withTimestamp(java.time.OffsetDateTime)` was removed * `withScore(java.lang.Integer)` was removed +* `withTimestamp(java.time.OffsetDateTime)` was removed #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access -* `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed * `withState(java.lang.String)` was removed * `networkInterfaceIpConfigurationId()` was removed -* `withIpAddress(java.lang.String)` was removed +* `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed * `withReason(java.lang.String)` was removed +* `withIpAddress(java.lang.String)` was removed #### `models.ConnectivityHop` was modified @@ -582,8 +580,8 @@ #### `models.ReachabilityAnalysisRunProperties` was modified -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withProvisioningState(models.ProvisioningState)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.NetworkVirtualApplianceSkuInstances` was modified @@ -592,36 +590,36 @@ #### `models.EffectiveNetworkSecurityRule` was modified * `EffectiveNetworkSecurityRule()` was changed to private access +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withSourceAddressPrefixes(java.util.List)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withExpandedSourceAddressPrefix(java.util.List)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withDestinationAddressPrefix(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed * `withSourcePortRange(java.lang.String)` was removed +* `withSourceAddressPrefix(java.lang.String)` was removed +* `withDirection(models.SecurityRuleDirection)` was removed * `withSourcePortRanges(java.util.List)` was removed * `withAccess(models.SecurityRuleAccess)` was removed -* `withDirection(models.SecurityRuleDirection)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withSourceAddressPrefix(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withDestinationPortRange(java.lang.String)` was removed -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed -* `withDestinationAddressPrefix(java.lang.String)` was removed -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed -* `withExpandedSourceAddressPrefix(java.util.List)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed -* `withSourceAddressPrefixes(java.util.List)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access -* `withMatchedRule(models.MatchedRule)` was removed * `withNetworkSecurityGroupId(java.lang.String)` was removed * `withAppliedTo(java.lang.String)` was removed +* `withMatchedRule(models.MatchedRule)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access -* `withAssociations(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withLocation(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withAssociations(java.util.List)` was removed #### `models.AzureFirewallIpGroups` was modified @@ -630,8 +628,8 @@ #### `models.EffectiveRouteMapRoute` was modified * `EffectiveRouteMapRoute()` was changed to private access -* `withAsPath(java.lang.String)` was removed * `withBgpCommunities(java.lang.String)` was removed +* `withAsPath(java.lang.String)` was removed * `withPrefix(java.lang.String)` was removed #### `models.CrossTenantScopes` was modified @@ -641,46 +639,46 @@ #### `models.AzureReachabilityReportItem` was modified * `AzureReachabilityReportItem()` was changed to private access +* `withLatencies(java.util.List)` was removed * `withAzureLocation(java.lang.String)` was removed * `withProvider(java.lang.String)` was removed -* `withLatencies(java.util.List)` was removed #### `models.TroubleshootingDetails` was modified * `TroubleshootingDetails()` was changed to private access * `withId(java.lang.String)` was removed -* `withRecommendedActions(java.util.List)` was removed -* `withReasonType(java.lang.String)` was removed * `withDetail(java.lang.String)` was removed * `withSummary(java.lang.String)` was removed +* `withReasonType(java.lang.String)` was removed +* `withRecommendedActions(java.util.List)` was removed #### `models.SingleQueryResult` was modified * `SingleQueryResult()` was changed to private access +* `models.FirewallPolicyIdpsSignatureSeverity severity()` -> `models.FirewallPolicyIDPSSignatureSeverity severity()` +* `withDestinationPorts(java.util.List)` was removed +* `withLastUpdated(java.lang.String)` was removed * `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed -* `withProtocol(java.lang.String)` was removed -* `models.FirewallPolicyIdpsSignatureDirection direction()` -> `models.FirewallPolicyIDPSSignatureDirection direction()` +* `withSignatureId(java.lang.Integer)` was removed +* `withDescription(java.lang.String)` was removed * `withInheritedFromParentPolicy(java.lang.Boolean)` was removed +* `withProtocol(java.lang.String)` was removed * `models.FirewallPolicyIdpsSignatureMode mode()` -> `models.FirewallPolicyIDPSSignatureMode mode()` +* `models.FirewallPolicyIdpsSignatureDirection direction()` -> `models.FirewallPolicyIDPSSignatureDirection direction()` * `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `models.FirewallPolicyIdpsSignatureSeverity severity()` -> `models.FirewallPolicyIDPSSignatureSeverity severity()` -* `withLastUpdated(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed -* `withDestinationPorts(java.util.List)` was removed -* `withSignatureId(java.lang.Integer)` was removed * `withGroup(java.lang.String)` was removed -* `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed * `withSourcePorts(java.util.List)` was removed +* `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified * `NetworkSecurityRulesEvaluationResult()` was changed to private access +* `withSourceMatched(java.lang.Boolean)` was removed +* `withDestinationPortMatched(java.lang.Boolean)` was removed +* `withName(java.lang.String)` was removed * `withProtocolMatched(java.lang.Boolean)` was removed * `withDestinationMatched(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed -* `withDestinationPortMatched(java.lang.Boolean)` was removed * `withSourcePortMatched(java.lang.Boolean)` was removed -* `withSourceMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -689,46 +687,46 @@ #### `models.ReachabilityAnalysisIntentProperties` was modified -* `withIpTraffic(models.IpTraffic)` was removed * `withProvisioningState(models.ProvisioningState)` was removed +* `withIpTraffic(models.IpTraffic)` was removed * `models.IpTraffic ipTraffic()` -> `models.IPTraffic ipTraffic()` * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.ActiveBaseSecurityAdminRule` was modified -* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` #### `models.PublicIpPrefixSku` was modified -* `withTier(models.PublicIpPrefixSkuTier)` was removed +* `models.PublicIpPrefixSkuName name()` -> `models.PublicIPPrefixSkuName name()` * `withName(models.PublicIpPrefixSkuName)` was removed +* `withTier(models.PublicIpPrefixSkuTier)` was removed * `models.PublicIpPrefixSkuTier tier()` -> `models.PublicIPPrefixSkuTier tier()` -* `models.PublicIpPrefixSkuName name()` -> `models.PublicIPPrefixSkuName name()` #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access -* `withSourcePortRanges(java.util.List)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withSources(java.util.List)` was removed * `withRuleGroups(java.util.List)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withDescription(java.lang.String)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withDestinations(java.util.List)` was removed * `withPriority(java.lang.Integer)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withSources(java.util.List)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withConfigurationDescription(java.lang.String)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withDestinations(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed #### `models.BgpPeerStatus` was modified @@ -737,33 +735,33 @@ #### `models.NatRulePortMapping` was modified * `NatRulePortMapping()` was changed to private access +* `withInboundNatRuleName(java.lang.String)` was removed * `withBackendPort(java.lang.Integer)` was removed * `withFrontendPort(java.lang.Integer)` was removed -* `withInboundNatRuleName(java.lang.String)` was removed #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access * `withIsInternal(java.lang.Boolean)` was removed -* `withAvailabilities(java.util.List)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed -* `withUnit(java.lang.String)` was removed +* `withSourceMdmAccount(java.lang.String)` was removed +* `withDisplayDescription(java.lang.String)` was removed +* `withDimensions(java.util.List)` was removed * `withFillGapWithZero(java.lang.Boolean)` was removed * `withMetricFilterPattern(java.lang.String)` was removed -* `withDimensions(java.util.List)` was removed +* `withSourceMdmNamespace(java.lang.String)` was removed +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed +* `withName(java.lang.String)` was removed * `withResourceIdDimensionNameOverride(java.lang.String)` was removed * `withDisplayName(java.lang.String)` was removed -* `withDisplayDescription(java.lang.String)` was removed -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed -* `withSourceMdmAccount(java.lang.String)` was removed +* `withAvailabilities(java.util.List)` was removed * `withAggregationType(java.lang.String)` was removed -* `withName(java.lang.String)` was removed +* `withUnit(java.lang.String)` was removed #### `models.LoadBalancerBackendAddress` was modified -* `withLoadBalancerFrontendIpConfiguration(com.azure.core.management.SubResource)` was removed * `loadBalancerFrontendIpConfiguration()` was removed * `networkInterfaceIpConfiguration()` was removed +* `withLoadBalancerFrontendIpConfiguration(com.azure.core.management.SubResource)` was removed #### `models.DefaultAdminRule` was modified @@ -777,15 +775,15 @@ #### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified * `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access -* `withOfferName(java.lang.String)` was removed * `withValueInMbps(java.lang.Integer)` was removed +* `withOfferName(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallRuleGroup` was modified * `ApplicationGatewayFirewallRuleGroup()` was changed to private access * `withDescription(java.lang.String)` was removed -* `withRules(java.util.List)` was removed * `withRuleGroupName(java.lang.String)` was removed +* `withRules(java.util.List)` was removed #### `models.IpamPoolProperties` was modified @@ -796,8 +794,8 @@ * `AvailableProvidersListState()` was changed to private access * `withStateName(java.lang.String)` was removed -* `withProviders(java.util.List)` was removed * `withCities(java.util.List)` was removed +* `withProviders(java.util.List)` was removed #### `models.AdminRule` was modified @@ -811,18 +809,18 @@ * `ResourceNavigationLink()` was changed to private access * `withLink(java.lang.String)` was removed -* `withLinkedResourceType(java.lang.String)` was removed -* `withId(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withLinkedResourceType(java.lang.String)` was removed #### `models.EffectiveNetworkSecurityGroup` was modified * `EffectiveNetworkSecurityGroup()` was changed to private access * `java.lang.String tagMap()` -> `java.util.Map tagMap()` -* `withEffectiveSecurityRules(java.util.List)` was removed +* `withTagMap(java.lang.String)` was removed * `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed * `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed -* `withTagMap(java.lang.String)` was removed +* `withEffectiveSecurityRules(java.util.List)` was removed #### `models.ReferencedPublicIpAddress` was modified @@ -858,40 +856,40 @@ * `ExpressRouteCircuitArpTable()` was changed to private access * `withInterfaceProperty(java.lang.String)` was removed -* `withIpAddress(java.lang.String)` was removed -* `withAge(java.lang.Integer)` was removed * `withMacAddress(java.lang.String)` was removed +* `withAge(java.lang.Integer)` was removed +* `withIpAddress(java.lang.String)` was removed #### `models.ActiveConnectivityConfiguration` was modified * `ActiveConnectivityConfiguration()` was changed to private access -* `withAppliesToGroups(java.util.List)` was removed -* `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withConfigurationGroups(java.util.List)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRegion(java.lang.String)` was removed * `withHubs(java.util.List)` was removed +* `withAppliesToGroups(java.util.List)` was removed * `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withConfigurationGroups(java.util.List)` was removed +* `withConnectivityTopology(models.ConnectivityTopology)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withIsGlobal(models.IsGlobal)` was removed * `withId(java.lang.String)` was removed -* `withRegion(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed -* `withIsGlobal(models.IsGlobal)` was removed #### `models.RouteSourceDetails` was modified * `RouteSourceDetails()` was changed to private access -* `withCircuit(java.lang.String)` was removed * `withPri(java.lang.String)` was removed * `withSec(java.lang.String)` was removed +* `withCircuit(java.lang.String)` was removed #### `models.RecordSet` was modified * `RecordSet()` was changed to private access -* `withTtl(java.lang.Integer)` was removed * `withRecordSetName(java.lang.String)` was removed +* `withTtl(java.lang.Integer)` was removed * `withFqdn(java.lang.String)` was removed -* `withIpAddresses(java.util.List)` was removed * `withRecordType(java.lang.String)` was removed +* `withIpAddresses(java.util.List)` was removed #### `models.ApplicationGatewayBackendHealthPool` was modified @@ -908,9 +906,9 @@ #### `models.ExpressRouteFailoverCircuitResourceDetails` was modified * `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access -* `withName(java.lang.String)` was removed * `withNrpResourceUri(java.lang.String)` was removed * `withConnectionName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.ConnectivityIssue` was modified @@ -919,27 +917,27 @@ #### `models.Availability` was modified * `Availability()` was changed to private access -* `withBlobDuration(java.lang.String)` was removed -* `withTimeGrain(java.lang.String)` was removed * `withRetention(java.lang.String)` was removed +* `withTimeGrain(java.lang.String)` was removed +* `withBlobDuration(java.lang.String)` was removed #### `models.VerifierWorkspaceProperties` was modified -* `withProvisioningState(models.ProvisioningState)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withProvisioningState(models.ProvisioningState)` was removed #### `models.OperationDisplay` was modified * `OperationDisplay()` was changed to private access -* `withResource(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed * `withOperation(java.lang.String)` was removed +* `withResource(java.lang.String)` was removed * `withProvider(java.lang.String)` was removed #### `models.ApplicationGatewayBackendHttpSettings` was modified -* `withValidateSni(java.lang.Boolean)` was removed * `validateSni()` was removed +* `withValidateSni(java.lang.Boolean)` was removed #### `models.OperationPropertiesFormatServiceSpecification` was modified @@ -950,9 +948,9 @@ #### `models.AvailableProvidersListCountry` was modified * `AvailableProvidersListCountry()` was changed to private access -* `withStates(java.util.List)` was removed -* `withCountryName(java.lang.String)` was removed * `withProviders(java.util.List)` was removed +* `withCountryName(java.lang.String)` was removed +* `withStates(java.util.List)` was removed #### `models.VirtualNetworkUsageName` was modified @@ -966,48 +964,48 @@ #### `models.ApplicationGatewayFirewallRuleSet` was modified * `ApplicationGatewayFirewallRuleSet()` was changed to private access -* `withTags(java.util.Map)` was removed +* `withLocation(java.lang.String)` was removed * `withRuleSetType(java.lang.String)` was removed +* `withTags(java.util.Map)` was removed * `withTiers(java.util.List)` was removed +* `withRuleGroups(java.util.List)` was removed * `withRuleSetVersion(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withLocation(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallManifestRuleSet` was modified * `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access +* `withRuleSetVersion(java.lang.String)` was removed * `withTiers(java.util.List)` was removed +* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed * `withRuleSetType(java.lang.String)` was removed -* `withRuleSetVersion(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed -* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed #### `models.NetworkManagerDeploymentStatus` was modified * `NetworkManagerDeploymentStatus()` was changed to private access -* `withDeploymentStatus(models.DeploymentStatus)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withErrorMessage(java.lang.String)` was removed * `withConfigurationIds(java.util.List)` was removed * `withDeploymentType(models.ConfigurationType)` was removed +* `withErrorMessage(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withDeploymentStatus(models.DeploymentStatus)` was removed * `withRegion(java.lang.String)` was removed #### `models.CircuitMetadataMap` was modified * `CircuitMetadataMap()` was changed to private access +* `withName(java.lang.String)` was removed * `withLocation(java.lang.String)` was removed * `withLink(java.lang.String)` was removed -* `withName(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTableSummary` was modified * `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withAs(java.lang.Integer)` was removed -* `withV(java.lang.Integer)` was removed * `withNeighbor(java.lang.String)` was removed * `withStatePfxRcd(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed +* `withAs(java.lang.Integer)` was removed +* `withV(java.lang.Integer)` was removed #### `models.ConnectivityParameters` was modified @@ -1016,8 +1014,8 @@ #### `models.OrderBy` was modified -* `withOrder(models.FirewallPolicyIdpsQuerySortOrder)` was removed * `models.FirewallPolicyIdpsQuerySortOrder order()` -> `models.FirewallPolicyIDPSQuerySortOrder order()` +* `withOrder(models.FirewallPolicyIdpsQuerySortOrder)` was removed #### `models.ManagedRuleSetRuleGroup` was modified @@ -1028,14 +1026,14 @@ #### `models.Dimension` was modified * `Dimension()` was changed to private access -* `withDisplayName(java.lang.String)` was removed * `withInternalName(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed #### `models.PublicIpAddressSku` was modified -* `withTier(models.PublicIpAddressSkuTier)` was removed * `models.PublicIpAddressSkuTier tier()` -> `models.PublicIPAddressSkuTier tier()` +* `withTier(models.PublicIpAddressSkuTier)` was removed #### `models.NetworkSecurityGroupResult` was modified @@ -1045,25 +1043,25 @@ #### `models.ResiliencyRecommendationComponents` was modified * `ResiliencyRecommendationComponents()` was changed to private access +* `withName(java.lang.String)` was removed +* `withRecommendations(java.util.List)` was removed * `withMaxScore(java.lang.String)` was removed * `withCurrentScore(java.lang.String)` was removed -* `withRecommendations(java.util.List)` was removed -* `withName(java.lang.String)` was removed #### `models.EffectiveBaseSecurityAdminRule` was modified -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` #### `models.LogSpecification` was modified * `LogSpecification()` was changed to private access +* `withBlobDuration(java.lang.String)` was removed * `withDisplayName(java.lang.String)` was removed * `withName(java.lang.String)` was removed -* `withBlobDuration(java.lang.String)` was removed #### `models.InboundNatRulePortMapping` was modified @@ -1071,15 +1069,15 @@ #### `models.EffectiveConnectivityConfiguration` was modified -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withDescription(java.lang.String)` was removed -* `withHubs(java.util.List)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed * `withIsGlobal(models.IsGlobal)` was removed -* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` * `withAppliesToGroups(java.util.List)` was removed +* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` * `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed * `withConnectivityTopology(models.ConnectivityTopology)` was removed +* `withDescription(java.lang.String)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withHubs(java.util.List)` was removed #### `models.PerimeterBasedAccessRule` was modified @@ -1093,17 +1091,17 @@ #### `models.ConnectionMonitorTestConfiguration` was modified -* `preferredIpVersion()` was removed * `withPreferredIpVersion(models.PreferredIpVersion)` was removed +* `preferredIpVersion()` was removed #### `models.VirtualHubEffectiveRoute` was modified * `VirtualHubEffectiveRoute()` was changed to private access +* `withAsPath(java.lang.String)` was removed * `withNextHopType(java.lang.String)` was removed +* `withRouteOrigin(java.lang.String)` was removed * `withNextHops(java.util.List)` was removed * `withAddressPrefixes(java.util.List)` was removed -* `withRouteOrigin(java.lang.String)` was removed -* `withAsPath(java.lang.String)` was removed #### `models.ExpressRoutePortsLocationBandwidths` was modified @@ -1116,11 +1114,11 @@ #### `models.StaticCidrProperties` was modified -* `totalNumberOfIpAddresses()` was removed +* `numberOfIpAddressesToAllocate()` was removed * `withNumberOfIpAddressesToAllocate(java.lang.String)` was removed * `withProvisioningState(models.ProvisioningState)` was removed +* `totalNumberOfIpAddresses()` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `numberOfIpAddressesToAllocate()` was removed #### `models.EffectiveNetworkSecurityGroupAssociation` was modified @@ -1137,26 +1135,26 @@ #### `models.IntentContent` was modified * `IntentContent()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withDestinationResourceId(java.lang.String)` was removed * `models.IpTraffic ipTraffic()` -> `models.IPTraffic ipTraffic()` +* `withDestinationResourceId(java.lang.String)` was removed * `withIpTraffic(models.IpTraffic)` was removed * `withSourceResourceId(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed #### `models.ConfigurationGroup` was modified * `ConfigurationGroup()` was changed to private access +* `withDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withMemberType(models.GroupMemberType)` was removed -* `withDescription(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTable` was modified * `ExpressRouteCircuitRoutesTable()` was changed to private access -* `withNetwork(java.lang.String)` was removed -* `withLocPrf(java.lang.String)` was removed * `withPath(java.lang.String)` was removed * `withNextHop(java.lang.String)` was removed +* `withLocPrf(java.lang.String)` was removed +* `withNetwork(java.lang.String)` was removed * `withWeight(java.lang.Integer)` was removed #### `models.SubnetAssociation` was modified @@ -1167,8 +1165,8 @@ #### `models.RadiusAuthServer` was modified * `RadiusAuthServer()` was changed to private access -* `withRadiusServerSecret(java.lang.String)` was removed * `withRadiusServerAddress(java.lang.String)` was removed +* `withRadiusServerSecret(java.lang.String)` was removed #### `models.VirtualApplianceNicProperties` was modified @@ -1195,21 +1193,21 @@ * `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access * `withName(java.lang.String)` was removed * `withLastUpdatedTime(java.lang.String)` was removed -* `withStatus(models.FailoverConnectionStatus)` was removed * `withNrpResourceUri(java.lang.String)` was removed +* `withStatus(models.FailoverConnectionStatus)` was removed #### `models.ActiveDefaultSecurityAdminRule` was modified * `ActiveDefaultSecurityAdminRule()` was changed to private access -* `withRegion(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed +* `withRegion(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withRuleGroups(java.util.List)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed * `withFlag(java.lang.String)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `withId(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed ### Features Added @@ -1327,8 +1325,6 @@ * `models.TrackedResourcewithOptionalLocation` was added -* `models.BastionHostIPConfiguration` was added - * `models.StopPacketCaptureFinalResult` was added * `models.ResourceWithReadOnlyID` was added @@ -1347,8 +1343,8 @@ #### `models.ApplicationGatewayPrivateLinkIpConfiguration` was modified -* `privateIPAddress()` was added * `withPrivateIPAddress(java.lang.String)` was added +* `privateIPAddress()` was added #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified @@ -1365,8 +1361,8 @@ #### `models.LoadBalancerBackendAddress` was modified -* `withLoadBalancerFrontendIPConfiguration(com.azure.core.management.SubResource)` was added * `networkInterfaceIPConfiguration()` was added +* `withLoadBalancerFrontendIPConfiguration(com.azure.core.management.SubResource)` was added * `loadBalancerFrontendIPConfiguration()` was added #### `models.ResourceNavigationLink` was modified @@ -1375,8 +1371,8 @@ #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified -* `retryAfter()` was added * `eTag()` was added +* `retryAfter()` was added #### `models.VpnClientConnectionHealthDetail` was modified @@ -1394,8 +1390,8 @@ #### `models.ConnectivityParameters` was modified -* `withPreferredIPVersion(models.IpVersion)` was added * `preferredIPVersion()` was added +* `withPreferredIPVersion(models.IpVersion)` was added #### `models.OrderBy` was modified @@ -1417,9 +1413,9 @@ #### `models.StaticCidrProperties` was modified +* `numberOfIPAddressesToAllocate()` was added * `withNumberOfIPAddressesToAllocate(java.lang.String)` was added * `totalNumberOfIPAddresses()` was added -* `numberOfIPAddressesToAllocate()` was added #### `models.ConnectionMonitorSuccessThreshold` was modified diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java index 344f21c1e970..ae328dee2d85 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java @@ -10,7 +10,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.BastionHostIPConfiguration; +import com.azure.resourcemanager.network.models.BastionHostIpConfiguration; import com.azure.resourcemanager.network.models.BastionHostPropertiesFormatNetworkAcls; import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.Sku; @@ -185,7 +185,7 @@ public BastionHostInner withTags(Map tags) { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.innerProperties() == null ? null : this.innerProperties().ipConfigurations(); } @@ -195,7 +195,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the BastionHostInner object itself. */ - public BastionHostInner withIpConfigurations(List ipConfigurations) { + public BastionHostInner withIpConfigurations(List ipConfigurations) { if (this.innerProperties() == null) { this.innerProperties = new BastionHostPropertiesFormat(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java index bbd3189aa1ae..51eab1088629 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.BastionHostIPConfiguration; +import com.azure.resourcemanager.network.models.BastionHostIpConfiguration; import com.azure.resourcemanager.network.models.BastionHostPropertiesFormatNetworkAcls; import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; @@ -24,7 +24,7 @@ public final class BastionHostPropertiesFormat implements JsonSerializable ipConfigurations; + private List ipConfigurations; /* * FQDN for the endpoint on which bastion host is accessible. @@ -102,7 +102,7 @@ public BastionHostPropertiesFormat() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.ipConfigurations; } @@ -112,7 +112,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the BastionHostPropertiesFormat object itself. */ - public BastionHostPropertiesFormat withIpConfigurations(List ipConfigurations) { + public BastionHostPropertiesFormat withIpConfigurations(List ipConfigurations) { this.ipConfigurations = ipConfigurations; return this; } @@ -421,8 +421,8 @@ public static BastionHostPropertiesFormat fromJson(JsonReader jsonReader) throws reader.nextToken(); if ("ipConfigurations".equals(fieldName)) { - List ipConfigurations - = reader.readArray(reader1 -> BastionHostIPConfiguration.fromJson(reader1)); + List ipConfigurations + = reader.readArray(reader1 -> BastionHostIpConfiguration.fromJson(reader1)); deserializedBastionHostPropertiesFormat.ipConfigurations = ipConfigurations; } else if ("dnsName".equals(fieldName)) { deserializedBastionHostPropertiesFormat.dnsName = reader.getString(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java index 1812eb78c976..c18892a1c171 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java @@ -16,7 +16,7 @@ * IP configuration of an Bastion Host. */ @Fluent -public final class BastionHostIPConfiguration extends SubResource { +public final class BastionHostIpConfiguration extends SubResource { /* * Represents the ip configuration associated with the resource. */ @@ -38,9 +38,9 @@ public final class BastionHostIPConfiguration extends SubResource { private String type; /** - * Creates an instance of BastionHostIPConfiguration class. + * Creates an instance of BastionHostIpConfiguration class. */ - public BastionHostIPConfiguration() { + public BastionHostIpConfiguration() { } /** @@ -67,9 +67,9 @@ public String name() { * access the resource. * * @param name the name value to set. - * @return the BastionHostIPConfiguration object itself. + * @return the BastionHostIpConfiguration object itself. */ - public BastionHostIPConfiguration withName(String name) { + public BastionHostIpConfiguration withName(String name) { this.name = name; return this; } @@ -96,7 +96,7 @@ public String type() { * {@inheritDoc} */ @Override - public BastionHostIPConfiguration withId(String id) { + public BastionHostIpConfiguration withId(String id) { super.withId(id); return this; } @@ -114,9 +114,9 @@ public SubResource subnet() { * Set the subnet property: Reference of the subnet resource. * * @param subnet the subnet value to set. - * @return the BastionHostIPConfiguration object itself. + * @return the BastionHostIpConfiguration object itself. */ - public BastionHostIPConfiguration withSubnet(SubResource subnet) { + public BastionHostIpConfiguration withSubnet(SubResource subnet) { if (this.innerProperties() == null) { this.innerProperties = new BastionHostIPConfigurationPropertiesFormat(); } @@ -137,9 +137,9 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: Reference of the PublicIP resource. Null for private only bastion. * * @param publicIpAddress the publicIpAddress value to set. - * @return the BastionHostIPConfiguration object itself. + * @return the BastionHostIpConfiguration object itself. */ - public BastionHostIPConfiguration withPublicIpAddress(SubResource publicIpAddress) { + public BastionHostIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { this.innerProperties = new BastionHostIPConfigurationPropertiesFormat(); } @@ -169,9 +169,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: Private IP allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the BastionHostIPConfiguration object itself. + * @return the BastionHostIpConfiguration object itself. */ - public BastionHostIPConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { + public BastionHostIpConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { this.innerProperties = new BastionHostIPConfigurationPropertiesFormat(); } @@ -203,37 +203,37 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of BastionHostIPConfiguration from the JsonReader. + * Reads an instance of BastionHostIpConfiguration from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of BastionHostIPConfiguration if the JsonReader was pointing to an instance of it, or null if + * @return An instance of BastionHostIpConfiguration 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 BastionHostIPConfiguration. + * @throws IOException If an error occurs while reading the BastionHostIpConfiguration. */ - public static BastionHostIPConfiguration fromJson(JsonReader jsonReader) throws IOException { + public static BastionHostIpConfiguration fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BastionHostIPConfiguration deserializedBastionHostIPConfiguration = new BastionHostIPConfiguration(); + BastionHostIpConfiguration deserializedBastionHostIpConfiguration = new BastionHostIpConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedBastionHostIPConfiguration.withId(reader.getString()); + deserializedBastionHostIpConfiguration.withId(reader.getString()); } else if ("properties".equals(fieldName)) { - deserializedBastionHostIPConfiguration.innerProperties + deserializedBastionHostIpConfiguration.innerProperties = BastionHostIPConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedBastionHostIPConfiguration.name = reader.getString(); + deserializedBastionHostIpConfiguration.name = reader.getString(); } else if ("etag".equals(fieldName)) { - deserializedBastionHostIPConfiguration.etag = reader.getString(); + deserializedBastionHostIpConfiguration.etag = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedBastionHostIPConfiguration.type = reader.getString(); + deserializedBastionHostIpConfiguration.type = reader.getString(); } else { reader.skipChildren(); } } - return deserializedBastionHostIPConfiguration; + return deserializedBastionHostIpConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index ff562f12932d..3f758fb1d3d5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIPPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLOAResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWANInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIPPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJWTValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIPAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BGPCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BaseProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySNAT.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySQL.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLOARequest.java","src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IDPSQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IPConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IPRule.java","src/main/java/com/azure/resourcemanager/network/models/IPTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIPVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIPPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLOAResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWANInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIPPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJWTValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIPAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BGPCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BaseProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIDPSSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySNAT.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySQL.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLOARequest.java","src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIPAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IDPSQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IPConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IPRule.java","src/main/java/com/azure/resourcemanager/network/models/IPTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIPVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIPVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIPPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsCreateOrUpdateSamples.java index 4a041a75ab1b..0b274829830e 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsCreateOrUpdateSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsCreateOrUpdateSamples.java @@ -6,7 +6,7 @@ import com.azure.core.management.SubResource; import com.azure.resourcemanager.network.fluent.models.BastionHostInner; -import com.azure.resourcemanager.network.models.BastionHostIPConfiguration; +import com.azure.resourcemanager.network.models.BastionHostIpConfiguration; import com.azure.resourcemanager.network.models.BastionHostPropertiesFormatNetworkAcls; import com.azure.resourcemanager.network.models.IPRule; import java.util.Arrays; @@ -27,7 +27,7 @@ public static void createBastionHostWithPrivateOnly(com.azure.resourcemanager.ne manager.serviceClient() .getBastionHosts() .createOrUpdate("rg1", "bastionhosttenant", new BastionHostInner() - .withIpConfigurations(Arrays.asList(new BastionHostIPConfiguration() + .withIpConfigurations(Arrays.asList(new BastionHostIpConfiguration() .withName("bastionHostIpConfiguration") .withSubnet(new SubResource().withId( "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet")))) @@ -65,7 +65,7 @@ public static void createBastionHost(com.azure.resourcemanager.network.NetworkMa manager.serviceClient() .getBastionHosts() .createOrUpdate("rg1", "bastionhosttenant", - new BastionHostInner().withIpConfigurations(Arrays.asList(new BastionHostIPConfiguration() + new BastionHostInner().withIpConfigurations(Arrays.asList(new BastionHostIpConfiguration() .withName("bastionHostIpConfiguration") .withSubnet(new SubResource().withId( "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet")) @@ -86,7 +86,7 @@ public static void createBastionHostWithZones(com.azure.resourcemanager.network. manager.serviceClient() .getBastionHosts() .createOrUpdate("rg1", "bastionhosttenant", - new BastionHostInner().withIpConfigurations(Arrays.asList(new BastionHostIPConfiguration() + new BastionHostInner().withIpConfigurations(Arrays.asList(new BastionHostIpConfiguration() .withName("bastionHostIpConfiguration") .withSubnet(new SubResource().withId( "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet")) From 46b6a6b98f976d0beab671bf8c37b9a2f2780c18 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Tue, 24 Mar 2026 15:24:37 +0800 Subject: [PATCH 10/33] Fix javadoc @inheritDoc warnings in customization and test SubnetInner fix Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../customization/src/main/java/NetworkCustomization.java | 4 ++++ .../java/com/azure/resourcemanager/network/NetworkTests.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java index 2dbcb6e84c7c..0a303755b2b7 100644 --- a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java +++ b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java @@ -8,6 +8,8 @@ import com.github.javaparser.ast.body.MethodDeclaration; import com.github.javaparser.ast.stmt.BlockStmt; import com.github.javaparser.ast.type.ClassOrInterfaceType; +import com.github.javaparser.javadoc.Javadoc; +import com.github.javaparser.javadoc.description.JavadocDescription; import org.slf4j.Logger; /** @@ -34,10 +36,12 @@ private static void customizeResourceBaseClass(ClassCustomization customization) clazz.getMethodsByName("withId").forEach(m -> { m.setBody(new BlockStmt().addStatement("return this;")); m.getAnnotationByName("Override").ifPresent(a -> a.remove()); + m.setJavadocComment(new Javadoc(JavadocDescription.parseText("Set the id property: Resource ID."))); }); clazz.getMethodsByName("withName").forEach(m -> { m.setBody(new BlockStmt().addStatement("return this;")); m.getAnnotationByName("Override").ifPresent(a -> a.remove()); + m.setJavadocComment(new Javadoc(JavadocDescription.parseText("Set the name property: Resource name."))); }); // remove @Override from validate() since Resource doesn't declare it clazz.getMethodsByName("validate").forEach(m -> { diff --git a/sdk/network/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/NetworkTests.java b/sdk/network/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/NetworkTests.java index 9cc18aeb335c..6753cc7158d0 100644 --- a/sdk/network/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/NetworkTests.java +++ b/sdk/network/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/NetworkTests.java @@ -52,7 +52,7 @@ public void testSubnetNetworkInterfaceIPConfigurationWithBastion() { .getBastionHosts() .createOrUpdate(rgName, bastionName, new BastionHostInner().withLocation(REGIN.toString()) .withIpConfigurations(Collections.singletonList(new BastionHostIpConfiguration().withName("ipconfig1") - .withSubnet(network.subnets().get("AzureBastionSubnet").innerModel()) + .withSubnet(new SubResource().withId(network.subnets().get("AzureBastionSubnet").innerModel().id())) .withPrivateIpAllocationMethod(IpAllocationMethod.DYNAMIC) .withPublicIpAddress(new SubResource().withId(publicIpBastion.id()))))); From 39b26a2df84e94994615bcc51226ae83ff24cbb0 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Tue, 24 Mar 2026 15:30:48 +0800 Subject: [PATCH 11/33] Fix checkstyle: add @param and @return tags to withId/withName Javadoc Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../src/main/java/NetworkCustomization.java | 10 ++++++++-- .../network/fluent/models/RouteFilterInner.java | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java index 0a303755b2b7..e9fefd87228c 100644 --- a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java +++ b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java @@ -36,12 +36,18 @@ private static void customizeResourceBaseClass(ClassCustomization customization) clazz.getMethodsByName("withId").forEach(m -> { m.setBody(new BlockStmt().addStatement("return this;")); m.getAnnotationByName("Override").ifPresent(a -> a.remove()); - m.setJavadocComment(new Javadoc(JavadocDescription.parseText("Set the id property: Resource ID."))); + Javadoc idDoc = new Javadoc(JavadocDescription.parseText("Set the id property: Resource ID.")); + idDoc.addBlockTag("param", "id", "the id value to set."); + idDoc.addBlockTag("return", "the resource itself."); + m.setJavadocComment(idDoc); }); clazz.getMethodsByName("withName").forEach(m -> { m.setBody(new BlockStmt().addStatement("return this;")); m.getAnnotationByName("Override").ifPresent(a -> a.remove()); - m.setJavadocComment(new Javadoc(JavadocDescription.parseText("Set the name property: Resource name."))); + Javadoc nameDoc = new Javadoc(JavadocDescription.parseText("Set the name property: Resource name.")); + nameDoc.addBlockTag("param", "name", "the name value to set."); + nameDoc.addBlockTag("return", "the resource itself."); + m.setJavadocComment(nameDoc); }); // remove @Override from validate() since Resource doesn't declare it clazz.getMethodsByName("validate").forEach(m -> { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java index d34430207330..d4998ad68de2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java @@ -85,7 +85,7 @@ public String name() { } /** - * {@inheritDoc} + * Set the id property: Resource ID. */ public RouteFilterInner withId(String id) { return this; From d51209337f75235ae28370223598a6aa5d7dfca7 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Tue, 24 Mar 2026 15:36:59 +0800 Subject: [PATCH 12/33] Regenerate with Javadoc fix applied Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../CHANGELOG.md | 362 +++++++++--------- .../fluent/models/RouteFilterInner.java | 3 + 2 files changed, 184 insertions(+), 181 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index 7209bb210956..dad194a961e1 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -369,10 +369,10 @@ #### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access -* `withNeighbor(java.lang.String)` was removed -* `withAsn(java.lang.Integer)` was removed * `withUpDown(java.lang.String)` was removed * `withStateOrPrefixesReceived(java.lang.String)` was removed +* `withNeighbor(java.lang.String)` was removed +* `withAsn(java.lang.Integer)` was removed #### `models.UsageName` was modified @@ -383,10 +383,10 @@ #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access -* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed -* `withSubnetAssociation(models.SubnetAssociation)` was removed * `withEffectiveSecurityRules(java.util.List)` was removed * `withDefaultSecurityRules(java.util.List)` was removed +* `withSubnetAssociation(models.SubnetAssociation)` was removed +* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed #### `models.ResourceBasics` was modified @@ -404,39 +404,39 @@ * `ApplicationGatewayFirewallRule()` was changed to private access * `withDescription(java.lang.String)` was removed +* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed * `withRuleIdString(java.lang.String)` was removed +* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed * `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed * `withRuleId(int)` was removed -* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed -* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed #### `models.VpnGatewayIpConfiguration` was modified * `VpnGatewayIpConfiguration()` was changed to private access -* `withPublicIpAddress(java.lang.String)` was removed -* `withId(java.lang.String)` was removed * `withPrivateIpAddress(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withPublicIpAddress(java.lang.String)` was removed #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access * `withState(models.EffectiveRouteState)` was removed -* `withNextHopType(models.RouteNextHopType)` was removed +* `withName(java.lang.String)` was removed +* `withNextHopIpAddress(java.util.List)` was removed * `withAddressPrefix(java.util.List)` was removed * `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed * `withSource(models.EffectiveRouteSource)` was removed -* `withNextHopIpAddress(java.util.List)` was removed -* `withName(java.lang.String)` was removed +* `withNextHopType(models.RouteNextHopType)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `withId(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `privateIpAddress()` was removed * `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed * `withPrivateIpAddressVersion(models.IpVersion)` was removed -* `privateIpAddress()` was removed -* `withPrivateIpAddress(java.lang.String)` was removed * `withPrimary(java.lang.Boolean)` was removed #### `models.TunnelConnectionHealth` was modified @@ -450,22 +450,22 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withRegion(java.lang.String)` was removed -* `withDestinations(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withId(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withId(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `withPriority(java.lang.Integer)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withRegion(java.lang.String)` was removed * `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed * `withRuleGroups(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withDestinations(java.util.List)` was removed * `withSources(java.util.List)` was removed #### `models.ContainerNetworkInterfaceIpConfiguration` was modified @@ -487,9 +487,9 @@ #### `models.TopologyAssociation` was modified * `TopologyAssociation()` was changed to private access +* `withAssociationType(models.AssociationType)` was removed * `withName(java.lang.String)` was removed * `withResourceId(java.lang.String)` was removed -* `withAssociationType(models.AssociationType)` was removed #### `models.SecurityGroupNetworkInterface` was modified @@ -500,13 +500,13 @@ #### `models.EffectiveDefaultSecurityAdminRule` was modified * `EffectiveDefaultSecurityAdminRule()` was changed to private access -* `withFlag(java.lang.String)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withId(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withRuleGroups(java.util.List)` was removed +* `withFlag(java.lang.String)` was removed #### `models.Container` was modified @@ -516,48 +516,48 @@ #### `models.ServiceAssociationLink` was modified * `ServiceAssociationLink()` was changed to private access +* `withId(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed * `withAllowDelete(java.lang.Boolean)` was removed +* `withLinkedResourceType(java.lang.String)` was removed * `withName(java.lang.String)` was removed * `withLink(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withLinkedResourceType(java.lang.String)` was removed #### `models.TroubleshootingRecommendedActions` was modified * `TroubleshootingRecommendedActions()` was changed to private access -* `withActionText(java.lang.String)` was removed * `withActionId(java.lang.String)` was removed * `withActionUriText(java.lang.String)` was removed * `withActionUri(java.lang.String)` was removed +* `withActionText(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access -* `withCallToActionText(java.lang.String)` was removed -* `withCallToActionLink(java.lang.String)` was removed -* `withRecommendationId(java.lang.String)` was removed -* `withSeverity(java.lang.String)` was removed * `withRecommendationText(java.lang.String)` was removed +* `withRecommendationId(java.lang.String)` was removed * `withRecommendationTitle(java.lang.String)` was removed +* `withCallToActionLink(java.lang.String)` was removed +* `withCallToActionText(java.lang.String)` was removed +* `withSeverity(java.lang.String)` was removed #### `models.ContainerNetworkInterface` was modified * `ContainerNetworkInterface()` was changed to private access +* `withId(java.lang.String)` was removed * `withContainer(models.Container)` was removed * `withName(java.lang.String)` was removed -* `withId(java.lang.String)` was removed #### `models.ExpressRouteFailoverRedundantRoute` was modified * `ExpressRouteFailoverRedundantRoute()` was changed to private access -* `withRoutes(java.util.List)` was removed * `withPeeringLocations(java.util.List)` was removed +* `withRoutes(java.util.List)` was removed #### `models.ApplicationGatewayPrivateLinkIpConfiguration` was modified -* `privateIpAddress()` was removed * `withPrivateIpAddress(java.lang.String)` was removed +* `privateIpAddress()` was removed #### `models.AzureReachabilityReportLatencyInfo` was modified @@ -568,11 +568,11 @@ #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access -* `withState(java.lang.String)` was removed -* `networkInterfaceIpConfigurationId()` was removed * `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed -* `withReason(java.lang.String)` was removed * `withIpAddress(java.lang.String)` was removed +* `networkInterfaceIpConfigurationId()` was removed +* `withState(java.lang.String)` was removed +* `withReason(java.lang.String)` was removed #### `models.ConnectivityHop` was modified @@ -580,8 +580,8 @@ #### `models.ReachabilityAnalysisRunProperties` was modified -* `withProvisioningState(models.ProvisioningState)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withProvisioningState(models.ProvisioningState)` was removed #### `models.NetworkVirtualApplianceSkuInstances` was modified @@ -590,36 +590,36 @@ #### `models.EffectiveNetworkSecurityRule` was modified * `EffectiveNetworkSecurityRule()` was changed to private access -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed -* `withDestinationPortRanges(java.util.List)` was removed * `withSourceAddressPrefixes(java.util.List)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withSourceAddressPrefix(java.lang.String)` was removed * `withPriority(java.lang.Integer)` was removed -* `withExpandedSourceAddressPrefix(java.util.List)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed * `withDestinationAddressPrefix(java.lang.String)` was removed +* `withDestinationPortRange(java.lang.String)` was removed +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed * `withName(java.lang.String)` was removed -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed * `withSourcePortRange(java.lang.String)` was removed -* `withSourceAddressPrefix(java.lang.String)` was removed -* `withDirection(models.SecurityRuleDirection)` was removed -* `withSourcePortRanges(java.util.List)` was removed * `withAccess(models.SecurityRuleAccess)` was removed -* `withDestinationPortRange(java.lang.String)` was removed +* `withExpandedSourceAddressPrefix(java.util.List)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withDirection(models.SecurityRuleDirection)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access -* `withNetworkSecurityGroupId(java.lang.String)` was removed * `withAppliedTo(java.lang.String)` was removed * `withMatchedRule(models.MatchedRule)` was removed +* `withNetworkSecurityGroupId(java.lang.String)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access -* `withLocation(java.lang.String)` was removed * `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withAssociations(java.util.List)` was removed +* `withLocation(java.lang.String)` was removed #### `models.AzureFirewallIpGroups` was modified @@ -640,45 +640,45 @@ * `AzureReachabilityReportItem()` was changed to private access * `withLatencies(java.util.List)` was removed -* `withAzureLocation(java.lang.String)` was removed * `withProvider(java.lang.String)` was removed +* `withAzureLocation(java.lang.String)` was removed #### `models.TroubleshootingDetails` was modified * `TroubleshootingDetails()` was changed to private access +* `withRecommendedActions(java.util.List)` was removed * `withId(java.lang.String)` was removed -* `withDetail(java.lang.String)` was removed -* `withSummary(java.lang.String)` was removed * `withReasonType(java.lang.String)` was removed -* `withRecommendedActions(java.util.List)` was removed +* `withSummary(java.lang.String)` was removed +* `withDetail(java.lang.String)` was removed #### `models.SingleQueryResult` was modified * `SingleQueryResult()` was changed to private access -* `models.FirewallPolicyIdpsSignatureSeverity severity()` -> `models.FirewallPolicyIDPSSignatureSeverity severity()` * `withDestinationPorts(java.util.List)` was removed -* `withLastUpdated(java.lang.String)` was removed -* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed -* `withSignatureId(java.lang.Integer)` was removed -* `withDescription(java.lang.String)` was removed -* `withInheritedFromParentPolicy(java.lang.Boolean)` was removed +* `withGroup(java.lang.String)` was removed * `withProtocol(java.lang.String)` was removed -* `models.FirewallPolicyIdpsSignatureMode mode()` -> `models.FirewallPolicyIDPSSignatureMode mode()` -* `models.FirewallPolicyIdpsSignatureDirection direction()` -> `models.FirewallPolicyIDPSSignatureDirection direction()` * `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `withGroup(java.lang.String)` was removed -* `withSourcePorts(java.util.List)` was removed +* `models.FirewallPolicyIdpsSignatureMode mode()` -> `models.FirewallPolicyIDPSSignatureMode mode()` * `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed +* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withDescription(java.lang.String)` was removed +* `withSignatureId(java.lang.Integer)` was removed +* `models.FirewallPolicyIdpsSignatureSeverity severity()` -> `models.FirewallPolicyIDPSSignatureSeverity severity()` +* `withSourcePorts(java.util.List)` was removed +* `withLastUpdated(java.lang.String)` was removed +* `models.FirewallPolicyIdpsSignatureDirection direction()` -> `models.FirewallPolicyIDPSSignatureDirection direction()` +* `withInheritedFromParentPolicy(java.lang.Boolean)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified * `NetworkSecurityRulesEvaluationResult()` was changed to private access -* `withSourceMatched(java.lang.Boolean)` was removed -* `withDestinationPortMatched(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed * `withProtocolMatched(java.lang.Boolean)` was removed -* `withDestinationMatched(java.lang.Boolean)` was removed +* `withSourceMatched(java.lang.Boolean)` was removed * `withSourcePortMatched(java.lang.Boolean)` was removed +* `withDestinationMatched(java.lang.Boolean)` was removed +* `withName(java.lang.String)` was removed +* `withDestinationPortMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -687,46 +687,46 @@ #### `models.ReachabilityAnalysisIntentProperties` was modified -* `withProvisioningState(models.ProvisioningState)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withIpTraffic(models.IpTraffic)` was removed +* `withProvisioningState(models.ProvisioningState)` was removed * `models.IpTraffic ipTraffic()` -> `models.IPTraffic ipTraffic()` -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.ActiveBaseSecurityAdminRule` was modified -* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` +* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` #### `models.PublicIpPrefixSku` was modified -* `models.PublicIpPrefixSkuName name()` -> `models.PublicIPPrefixSkuName name()` * `withName(models.PublicIpPrefixSkuName)` was removed * `withTier(models.PublicIpPrefixSkuTier)` was removed * `models.PublicIpPrefixSkuTier tier()` -> `models.PublicIPPrefixSkuTier tier()` +* `models.PublicIpPrefixSkuName name()` -> `models.PublicIPPrefixSkuName name()` #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withSourcePortRanges(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed * `withSources(java.util.List)` was removed +* `withDestinations(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withRuleGroups(java.util.List)` was removed * `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withDescription(java.lang.String)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `withDestinations(java.util.List)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withDestinationPortRanges(java.util.List)` was removed * `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed #### `models.BgpPeerStatus` was modified @@ -735,33 +735,33 @@ #### `models.NatRulePortMapping` was modified * `NatRulePortMapping()` was changed to private access -* `withInboundNatRuleName(java.lang.String)` was removed * `withBackendPort(java.lang.Integer)` was removed +* `withInboundNatRuleName(java.lang.String)` was removed * `withFrontendPort(java.lang.Integer)` was removed #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access +* `withName(java.lang.String)` was removed +* `withAggregationType(java.lang.String)` was removed +* `withUnit(java.lang.String)` was removed +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed +* `withAvailabilities(java.util.List)` was removed +* `withDisplayName(java.lang.String)` was removed +* `withMetricFilterPattern(java.lang.String)` was removed +* `withResourceIdDimensionNameOverride(java.lang.String)` was removed * `withIsInternal(java.lang.Boolean)` was removed * `withSourceMdmAccount(java.lang.String)` was removed +* `withSourceMdmNamespace(java.lang.String)` was removed +* `withFillGapWithZero(java.lang.Boolean)` was removed * `withDisplayDescription(java.lang.String)` was removed * `withDimensions(java.util.List)` was removed -* `withFillGapWithZero(java.lang.Boolean)` was removed -* `withMetricFilterPattern(java.lang.String)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed -* `withResourceIdDimensionNameOverride(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed -* `withAvailabilities(java.util.List)` was removed -* `withAggregationType(java.lang.String)` was removed -* `withUnit(java.lang.String)` was removed #### `models.LoadBalancerBackendAddress` was modified +* `withLoadBalancerFrontendIpConfiguration(com.azure.core.management.SubResource)` was removed * `loadBalancerFrontendIpConfiguration()` was removed * `networkInterfaceIpConfiguration()` was removed -* `withLoadBalancerFrontendIpConfiguration(com.azure.core.management.SubResource)` was removed #### `models.DefaultAdminRule` was modified @@ -781,9 +781,9 @@ #### `models.ApplicationGatewayFirewallRuleGroup` was modified * `ApplicationGatewayFirewallRuleGroup()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withRuleGroupName(java.lang.String)` was removed * `withRules(java.util.List)` was removed +* `withRuleGroupName(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed #### `models.IpamPoolProperties` was modified @@ -793,9 +793,9 @@ #### `models.AvailableProvidersListState` was modified * `AvailableProvidersListState()` was changed to private access +* `withProviders(java.util.List)` was removed * `withStateName(java.lang.String)` was removed * `withCities(java.util.List)` was removed -* `withProviders(java.util.List)` was removed #### `models.AdminRule` was modified @@ -808,19 +808,19 @@ #### `models.ResourceNavigationLink` was modified * `ResourceNavigationLink()` was changed to private access -* `withLink(java.lang.String)` was removed * `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed * `withLinkedResourceType(java.lang.String)` was removed #### `models.EffectiveNetworkSecurityGroup` was modified * `EffectiveNetworkSecurityGroup()` was changed to private access * `java.lang.String tagMap()` -> `java.util.Map tagMap()` -* `withTagMap(java.lang.String)` was removed -* `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed * `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed * `withEffectiveSecurityRules(java.util.List)` was removed +* `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed +* `withTagMap(java.lang.String)` was removed #### `models.ReferencedPublicIpAddress` was modified @@ -834,9 +834,9 @@ #### `models.GatewayRouteSet` was modified * `GatewayRouteSet()` was changed to private access +* `withLocations(java.util.List)` was removed * `withDetails(java.util.Map)` was removed * `withName(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified @@ -863,33 +863,33 @@ #### `models.ActiveConnectivityConfiguration` was modified * `ActiveConnectivityConfiguration()` was changed to private access -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withRegion(java.lang.String)` was removed -* `withHubs(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withAppliesToGroups(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed * `withConfigurationGroups(java.util.List)` was removed -* `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRegion(java.lang.String)` was removed * `withIsGlobal(models.IsGlobal)` was removed -* `withId(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed +* `withHubs(java.util.List)` was removed #### `models.RouteSourceDetails` was modified * `RouteSourceDetails()` was changed to private access -* `withPri(java.lang.String)` was removed -* `withSec(java.lang.String)` was removed * `withCircuit(java.lang.String)` was removed +* `withSec(java.lang.String)` was removed +* `withPri(java.lang.String)` was removed #### `models.RecordSet` was modified * `RecordSet()` was changed to private access -* `withRecordSetName(java.lang.String)` was removed -* `withTtl(java.lang.Integer)` was removed +* `withIpAddresses(java.util.List)` was removed * `withFqdn(java.lang.String)` was removed +* `withTtl(java.lang.Integer)` was removed +* `withRecordSetName(java.lang.String)` was removed * `withRecordType(java.lang.String)` was removed -* `withIpAddresses(java.util.List)` was removed #### `models.ApplicationGatewayBackendHealthPool` was modified @@ -907,8 +907,8 @@ * `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access * `withNrpResourceUri(java.lang.String)` was removed -* `withConnectionName(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withConnectionName(java.lang.String)` was removed #### `models.ConnectivityIssue` was modified @@ -918,8 +918,8 @@ * `Availability()` was changed to private access * `withRetention(java.lang.String)` was removed -* `withTimeGrain(java.lang.String)` was removed * `withBlobDuration(java.lang.String)` was removed +* `withTimeGrain(java.lang.String)` was removed #### `models.VerifierWorkspaceProperties` was modified @@ -929,28 +929,28 @@ #### `models.OperationDisplay` was modified * `OperationDisplay()` was changed to private access -* `withDescription(java.lang.String)` was removed +* `withProvider(java.lang.String)` was removed * `withOperation(java.lang.String)` was removed * `withResource(java.lang.String)` was removed -* `withProvider(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed #### `models.ApplicationGatewayBackendHttpSettings` was modified -* `validateSni()` was removed * `withValidateSni(java.lang.Boolean)` was removed +* `validateSni()` was removed #### `models.OperationPropertiesFormatServiceSpecification` was modified * `OperationPropertiesFormatServiceSpecification()` was changed to private access -* `withLogSpecifications(java.util.List)` was removed * `withMetricSpecifications(java.util.List)` was removed +* `withLogSpecifications(java.util.List)` was removed #### `models.AvailableProvidersListCountry` was modified * `AvailableProvidersListCountry()` was changed to private access +* `withStates(java.util.List)` was removed * `withProviders(java.util.List)` was removed * `withCountryName(java.lang.String)` was removed -* `withStates(java.util.List)` was removed #### `models.VirtualNetworkUsageName` was modified @@ -964,53 +964,53 @@ #### `models.ApplicationGatewayFirewallRuleSet` was modified * `ApplicationGatewayFirewallRuleSet()` was changed to private access +* `withRuleGroups(java.util.List)` was removed * `withLocation(java.lang.String)` was removed -* `withRuleSetType(java.lang.String)` was removed * `withTags(java.util.Map)` was removed -* `withTiers(java.util.List)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withRuleSetVersion(java.lang.String)` was removed +* `withRuleSetType(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withRuleSetVersion(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed #### `models.ApplicationGatewayFirewallManifestRuleSet` was modified * `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access -* `withRuleSetVersion(java.lang.String)` was removed * `withTiers(java.util.List)` was removed -* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed * `withRuleSetType(java.lang.String)` was removed +* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed +* `withRuleSetVersion(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed #### `models.NetworkManagerDeploymentStatus` was modified * `NetworkManagerDeploymentStatus()` was changed to private access -* `withConfigurationIds(java.util.List)` was removed * `withDeploymentType(models.ConfigurationType)` was removed +* `withRegion(java.lang.String)` was removed +* `withDeploymentStatus(models.DeploymentStatus)` was removed +* `withConfigurationIds(java.util.List)` was removed * `withErrorMessage(java.lang.String)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed -* `withDeploymentStatus(models.DeploymentStatus)` was removed -* `withRegion(java.lang.String)` was removed #### `models.CircuitMetadataMap` was modified * `CircuitMetadataMap()` was changed to private access * `withName(java.lang.String)` was removed -* `withLocation(java.lang.String)` was removed * `withLink(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTableSummary` was modified * `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withNeighbor(java.lang.String)` was removed -* `withStatePfxRcd(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed -* `withAs(java.lang.Integer)` was removed * `withV(java.lang.Integer)` was removed +* `withNeighbor(java.lang.String)` was removed +* `withAs(java.lang.Integer)` was removed +* `withStatePfxRcd(java.lang.String)` was removed #### `models.ConnectivityParameters` was modified -* `preferredIpVersion()` was removed * `withPreferredIpVersion(models.IpVersion)` was removed +* `preferredIpVersion()` was removed #### `models.OrderBy` was modified @@ -1026,14 +1026,14 @@ #### `models.Dimension` was modified * `Dimension()` was changed to private access +* `withDisplayName(java.lang.String)` was removed * `withInternalName(java.lang.String)` was removed * `withName(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed #### `models.PublicIpAddressSku` was modified -* `models.PublicIpAddressSkuTier tier()` -> `models.PublicIPAddressSkuTier tier()` * `withTier(models.PublicIpAddressSkuTier)` was removed +* `models.PublicIpAddressSkuTier tier()` -> `models.PublicIPAddressSkuTier tier()` #### `models.NetworkSecurityGroupResult` was modified @@ -1043,25 +1043,25 @@ #### `models.ResiliencyRecommendationComponents` was modified * `ResiliencyRecommendationComponents()` was changed to private access -* `withName(java.lang.String)` was removed -* `withRecommendations(java.util.List)` was removed -* `withMaxScore(java.lang.String)` was removed * `withCurrentScore(java.lang.String)` was removed +* `withMaxScore(java.lang.String)` was removed +* `withRecommendations(java.util.List)` was removed +* `withName(java.lang.String)` was removed #### `models.EffectiveBaseSecurityAdminRule` was modified +* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` #### `models.LogSpecification` was modified * `LogSpecification()` was changed to private access +* `withName(java.lang.String)` was removed * `withBlobDuration(java.lang.String)` was removed * `withDisplayName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed #### `models.InboundNatRulePortMapping` was modified @@ -1069,15 +1069,15 @@ #### `models.EffectiveConnectivityConfiguration` was modified -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `withIsGlobal(models.IsGlobal)` was removed * `withAppliesToGroups(java.util.List)` was removed -* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed * `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withDescription(java.lang.String)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` +* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` * `withHubs(java.util.List)` was removed +* `withIsGlobal(models.IsGlobal)` was removed #### `models.PerimeterBasedAccessRule` was modified @@ -1097,11 +1097,11 @@ #### `models.VirtualHubEffectiveRoute` was modified * `VirtualHubEffectiveRoute()` was changed to private access -* `withAsPath(java.lang.String)` was removed * `withNextHopType(java.lang.String)` was removed +* `withAddressPrefixes(java.util.List)` was removed +* `withAsPath(java.lang.String)` was removed * `withRouteOrigin(java.lang.String)` was removed * `withNextHops(java.util.List)` was removed -* `withAddressPrefixes(java.util.List)` was removed #### `models.ExpressRoutePortsLocationBandwidths` was modified @@ -1115,17 +1115,17 @@ #### `models.StaticCidrProperties` was modified * `numberOfIpAddressesToAllocate()` was removed -* `withNumberOfIpAddressesToAllocate(java.lang.String)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withProvisioningState(models.ProvisioningState)` was removed +* `withNumberOfIpAddressesToAllocate(java.lang.String)` was removed * `totalNumberOfIpAddresses()` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.EffectiveNetworkSecurityGroupAssociation` was modified * `EffectiveNetworkSecurityGroupAssociation()` was changed to private access * `withNetworkManager(com.azure.core.management.SubResource)` was removed -* `withNetworkInterface(com.azure.core.management.SubResource)` was removed * `withSubnet(com.azure.core.management.SubResource)` was removed +* `withNetworkInterface(com.azure.core.management.SubResource)` was removed #### `models.ConnectionMonitorSuccessThreshold` was modified @@ -1137,25 +1137,25 @@ * `IntentContent()` was changed to private access * `models.IpTraffic ipTraffic()` -> `models.IPTraffic ipTraffic()` * `withDestinationResourceId(java.lang.String)` was removed -* `withIpTraffic(models.IpTraffic)` was removed * `withSourceResourceId(java.lang.String)` was removed +* `withIpTraffic(models.IpTraffic)` was removed * `withDescription(java.lang.String)` was removed #### `models.ConfigurationGroup` was modified * `ConfigurationGroup()` was changed to private access +* `withMemberType(models.GroupMemberType)` was removed * `withDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withMemberType(models.GroupMemberType)` was removed #### `models.ExpressRouteCircuitRoutesTable` was modified * `ExpressRouteCircuitRoutesTable()` was changed to private access -* `withPath(java.lang.String)` was removed -* `withNextHop(java.lang.String)` was removed +* `withWeight(java.lang.Integer)` was removed * `withLocPrf(java.lang.String)` was removed +* `withNextHop(java.lang.String)` was removed +* `withPath(java.lang.String)` was removed * `withNetwork(java.lang.String)` was removed -* `withWeight(java.lang.Integer)` was removed #### `models.SubnetAssociation` was modified @@ -1179,35 +1179,35 @@ #### `models.VirtualWanSecurityProvider` was modified * `VirtualWanSecurityProvider()` was changed to private access -* `withName(java.lang.String)` was removed * `withUrl(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.VpnClientConnectionHealth` was modified * `VpnClientConnectionHealth()` was changed to private access -* `withVpnClientConnectionsCount(java.lang.Integer)` was removed * `withAllocatedIpAddresses(java.util.List)` was removed +* `withVpnClientConnectionsCount(java.lang.Integer)` was removed #### `models.ExpressRouteFailoverConnectionResourceDetails` was modified * `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access * `withName(java.lang.String)` was removed * `withLastUpdatedTime(java.lang.String)` was removed -* `withNrpResourceUri(java.lang.String)` was removed * `withStatus(models.FailoverConnectionStatus)` was removed +* `withNrpResourceUri(java.lang.String)` was removed #### `models.ActiveDefaultSecurityAdminRule` was modified * `ActiveDefaultSecurityAdminRule()` was changed to private access -* `withConfigurationDescription(java.lang.String)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withRegion(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `withRuleGroups(java.util.List)` was removed * `withFlag(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withId(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRegion(java.lang.String)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withConfigurationDescription(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed ### Features Added @@ -1343,8 +1343,8 @@ #### `models.ApplicationGatewayPrivateLinkIpConfiguration` was modified -* `withPrivateIPAddress(java.lang.String)` was added * `privateIPAddress()` was added +* `withPrivateIPAddress(java.lang.String)` was added #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified @@ -1356,14 +1356,14 @@ #### `models.PublicIpPrefixSku` was modified -* `withName(models.PublicIPPrefixSkuName)` was added * `withTier(models.PublicIPPrefixSkuTier)` was added +* `withName(models.PublicIPPrefixSkuName)` was added #### `models.LoadBalancerBackendAddress` was modified * `networkInterfaceIPConfiguration()` was added -* `withLoadBalancerFrontendIPConfiguration(com.azure.core.management.SubResource)` was added * `loadBalancerFrontendIPConfiguration()` was added +* `withLoadBalancerFrontendIPConfiguration(com.azure.core.management.SubResource)` was added #### `models.ResourceNavigationLink` was modified @@ -1371,8 +1371,8 @@ #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified -* `eTag()` was added * `retryAfter()` was added +* `eTag()` was added #### `models.VpnClientConnectionHealthDetail` was modified @@ -1380,8 +1380,8 @@ #### `models.ActiveConnectivityConfiguration` was modified -* `configurationGroups()` was added * `id()` was added +* `configurationGroups()` was added #### `models.ApplicationGatewayBackendHttpSettings` was modified @@ -1408,14 +1408,14 @@ #### `models.ApplicationRule` was modified -* `withTerminateTLS(java.lang.Boolean)` was added * `terminateTLS()` was added +* `withTerminateTLS(java.lang.Boolean)` was added #### `models.StaticCidrProperties` was modified -* `numberOfIPAddressesToAllocate()` was added -* `withNumberOfIPAddressesToAllocate(java.lang.String)` was added * `totalNumberOfIPAddresses()` was added +* `withNumberOfIPAddressesToAllocate(java.lang.String)` was added +* `numberOfIPAddressesToAllocate()` was added #### `models.ConnectionMonitorSuccessThreshold` was modified diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java index d4998ad68de2..1c69f97519b3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java @@ -86,6 +86,9 @@ public String name() { /** * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the resource itself. */ public RouteFilterInner withId(String id) { return this; From c29e74f78b8975299264a6aa8219d1b6c5c6bb48 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Tue, 24 Mar 2026 16:24:24 +0800 Subject: [PATCH 13/33] Regenerate with IP/BGP/IDPS/SNAT/SQL/JWT/LOA casing fixes and float32-as-double Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../CHANGELOG.md | 529 ++++++------------ .../fluent/ExpressRoutePortsClient.java | 10 +- .../FirewallPolicyIdpsSignaturesClient.java | 10 +- .../models/ApplicationGatewayInner.java | 6 +- .../ApplicationGatewayPropertiesFormat.java | 12 +- .../fluent/models/AzureFirewallInner.java | 16 +- .../models/AzureFirewallPropertiesFormat.java | 30 +- .../models/BastionActiveSessionInner.java | 6 +- .../models/BgpServiceCommunityInner.java | 4 +- .../BgpServiceCommunityPropertiesFormat.java | 8 +- .../models/ExpressRouteCircuitInner.java | 4 +- .../ExpressRouteCircuitPropertiesFormat.java | 8 +- .../fluent/models/ExpressRoutePortInner.java | 2 +- .../ExpressRoutePortPropertiesFormat.java | 6 +- .../models/FirewallPolicyDraftInner.java | 12 +- .../models/FirewallPolicyDraftProperties.java | 20 +- .../fluent/models/FirewallPolicyInner.java | 12 +- .../FirewallPolicyPropertiesFormat.java | 20 +- .../NetworkInterfaceIpConfigurationInner.java | 4 +- ...eIpConfigurationPropertiesFormatInner.java | 8 +- .../fluent/models/PrivateEndpointInner.java | 12 +- .../PrivateEndpointPropertiesInner.java | 22 +- .../fluent/models/PublicIpAddressInner.java | 6 +- .../PublicIpAddressPropertiesFormatInner.java | 10 +- .../ExpressRoutePortsClientImpl.java | 14 +- ...irewallPolicyIdpsSignaturesClientImpl.java | 14 +- ...cationGatewayEntraJwtValidationConfig.java | 50 +- .../network/models/ApplicationRule.java | 22 +- .../models/AzureFirewallIpConfiguration.java | 42 +- .../models/AzureFirewallPublicIpAddress.java | 24 +- ...astionHostPropertiesFormatNetworkAcls.java | 8 +- .../network/models/BgpCommunity.java | 30 +- .../network/models/BgpSettings.java | 10 +- .../ConnectionMonitorSuccessThreshold.java | 8 +- .../ConnectionMonitorTestConfiguration.java | 8 +- .../FirewallPolicyIdpsQuerySortOrder.java | 26 +- .../FirewallPolicyIdpsSignatureDirection.java | 16 +- .../FirewallPolicyIdpsSignatureMode.java | 16 +- .../FirewallPolicyIdpsSignatureSeverity.java | 16 +- .../network/models/FirewallPolicySnat.java | 30 +- .../network/models/FirewallPolicySql.java | 24 +- .../GenerateExpressRoutePortsLoaRequest.java | 32 +- .../network/models/HubIpAddresses.java | 34 +- .../network/models/HubPublicIpAddresses.java | 38 +- .../network/models/IdpsQueryObject.java | 48 +- .../network/models/IntentContent.java | 6 +- .../IpConfigurationBgpPeeringAddress.java | 36 +- .../network/models/IpRule.java | 26 +- .../network/models/IpTraffic.java | 60 +- .../models/LoadBalancerVipSwapRequest.java | 10 +- ...VipSwapRequestFrontendIpConfiguration.java | 34 +- ...rationPrivateLinkConnectionProperties.java | 28 +- .../network/models/OrderBy.java | 8 +- .../network/models/PreferredIpVersion.java | 26 +- .../PrivateEndpointIpConfiguration.java | 44 +- .../models/PrivateEndpointIpVersionType.java | 28 +- .../models/PublicIpAddressMigrationPhase.java | 32 +- .../network/models/PublicIpAddressSku.java | 8 +- .../models/PublicIpAddressSkuTier.java | 26 +- .../network/models/PublicIpPrefixSku.java | 16 +- .../network/models/PublicIpPrefixSkuName.java | 26 +- .../network/models/PublicIpPrefixSkuTier.java | 26 +- .../ReachabilityAnalysisIntentProperties.java | 8 +- .../network/models/SingleQueryResult.java | 18 +- .../network/models/StaticCidrProperties.java | 34 +- .../VirtualApplianceIpConfiguration.java | 38 +- ...ualApplianceIpConfigurationProperties.java | 28 +- ...tworkInterfaceConfigurationProperties.java | 10 +- .../VpnClientConnectionHealthDetail.java | 12 +- ...zure-resourcemanager-network_metadata.json | 2 +- ...licationGatewaysCreateOrUpdateSamples.java | 4 +- .../AzureFirewallsCreateOrUpdateSamples.java | 22 +- .../BastionHostsCreateOrUpdateSamples.java | 4 +- ...essRouteCircuitsCreateOrUpdateSamples.java | 2 +- .../ExpressRoutePortsGenerateLOASamples.java | 4 +- ...FirewallPoliciesCreateOrUpdateSamples.java | 8 +- ...wallPolicyDraftsCreateOrUpdateSamples.java | 8 +- ...rewallPolicyIdpsSignaturesListSamples.java | 8 +- ...BalancersSwapPublicIpAddressesSamples.java | 6 +- ...irtualAppliancesCreateOrUpdateSamples.java | 36 +- ...PrivateEndpointsCreateOrUpdateSamples.java | 10 +- ...ublicIpAddressesCreateOrUpdateSamples.java | 4 +- ...PublicIpPrefixesCreateOrUpdateSamples.java | 12 +- ...chabilityAnalysisIntentsCreateSamples.java | 4 +- .../VpnGatewaysCreateOrUpdateSamples.java | 6 +- 85 files changed, 922 insertions(+), 1093 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index dad194a961e1..ed852a2e4ae4 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -8,8 +8,6 @@ #### `models.ApplicationGatewayPrivateLinkResourceListResult` was removed -#### `models.AzureFirewallIpConfiguration` was removed - #### `models.NspLoggingConfigurationListResult` was removed #### `models.ExpressRoutePortsLocationListResult` was removed @@ -68,8 +66,6 @@ #### `models.NspProfileListResult` was removed -#### `models.PublicIpAddressSkuTier` was removed - #### `models.InboundNatRuleListResult` was removed #### `models.RouteListResult` was removed @@ -112,16 +108,12 @@ #### `models.SecurityPartnerProviderListResult` was removed -#### `models.PublicIpPrefixSkuName` was removed - #### `models.VirtualNetworkGatewayListConnectionsResult` was removed #### `models.FirewallPolicyListResult` was removed #### `models.AdminRuleListResult` was removed -#### `models.FirewallPolicySql` was removed - #### `models.SecurityPerimeterResource` was removed #### `models.NetworkInterfaceLoadBalancerListResult` was removed @@ -132,20 +124,14 @@ #### `models.ConnectionSharedKeyResultList` was removed -#### `models.PublicIpAddressMigrationPhase` was removed - #### `models.NetworkWatcherListResult` was removed -#### `models.IpConfigurationBgpPeeringAddress` was removed - #### `models.ReachabilityAnalysisRunListResult` was removed #### `models.ExpressRouteServiceProviderListResult` was removed #### `models.AzureFirewallFqdnTagListResult` was removed -#### `models.FirewallPolicyIdpsSignatureMode` was removed - #### `models.VirtualNetworkGatewayConnectionListResult` was removed #### `models.ListHubVirtualNetworkConnectionsResult` was removed @@ -168,12 +154,8 @@ #### `models.SecurityUserConfigurationListResult` was removed -#### `models.BgpCommunity` was removed - #### `models.AuthorizationListResult` was removed -#### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was removed - #### `models.VirtualNetworkListUsageResult` was removed #### `models.ScopeConnectionListResult` was removed @@ -186,14 +168,10 @@ #### `models.SecurityRuleListResult` was removed -#### `models.FirewallPolicyIdpsSignatureSeverity` was removed - #### `models.VirtualNetworkTapListResult` was removed #### `models.RouteFilterListResult` was removed -#### `models.IdpsQueryObject` was removed - #### `models.VirtualRouterPeeringListResult` was removed #### `models.ServiceGatewayListResult` was removed @@ -202,8 +180,6 @@ #### `models.NetworkVirtualApplianceListResult` was removed -#### `models.LoadBalancerVipSwapRequestFrontendIpConfiguration` was removed - #### `models.ApplicationGatewayListResult` was removed #### `models.PerimeterAssociableResourcesListResult` was removed @@ -214,8 +190,6 @@ #### `models.ExpressRouteCircuitListResult` was removed -#### `models.VirtualApplianceIpConfiguration` was removed - #### `models.ReachabilityAnalysisIntentListResult` was removed #### `models.NetworkManagerConnectionListResult` was removed @@ -242,22 +216,12 @@ #### `models.FlowLogListResult` was removed -#### `models.AzureFirewallPublicIpAddress` was removed - -#### `models.HubPublicIpAddresses` was removed - -#### `models.PrivateEndpointIpVersionType` was removed - #### `models.ListVpnGatewaysResult` was removed #### `models.RoutingRuleCollectionListResult` was removed #### `models.RouteTableListResult` was removed -#### `models.PreferredIpVersion` was removed - -#### `models.HubIpAddresses` was removed - #### `models.WebApplicationFirewallPolicyListResult` was removed #### `models.AutoApprovedPrivateLinkServicesResult` was removed @@ -282,10 +246,6 @@ #### `models.NetworkInterfaceTapConfigurationListResult` was removed -#### `models.GenerateExpressRoutePortsLoaRequest` was removed - -#### `models.PrivateEndpointIpConfiguration` was removed - #### `models.LoadBalancerBackendAddressPoolListResult` was removed #### `models.ListP2SVpnGatewaysResult` was removed @@ -298,20 +258,14 @@ #### `models.SecurityAdminConfigurationListResult` was removed -#### `models.ApplicationGatewayEntraJwtValidationConfig` was removed - #### `models.BastionHostListResult` was removed #### `models.ListVpnSiteLinkConnectionsResult` was removed -#### `models.IpRule` was removed - #### `models.NetworkProfileListResult` was removed #### `models.ErrorDetail` was removed -#### `models.FirewallPolicyIdpsSignatureDirection` was removed - #### `models.DdosProtectionPlanListResult` was removed #### `models.NetworkSecurityGroupListResult` was removed @@ -324,12 +278,8 @@ #### `models.SecurityPerimeterSystemData` was removed -#### `models.IpTraffic` was removed - #### `models.NetworkGroupListResult` was removed -#### `models.FirewallPolicySnat` was removed - #### `models.DscpConfigurationListResult` was removed #### `models.IpamPoolList` was removed @@ -342,12 +292,6 @@ #### `models.NetworkVirtualApplianceSkuListResult` was removed -#### `models.PublicIpPrefixSkuTier` was removed - -#### `models.VirtualApplianceIpConfigurationProperties` was removed - -#### `models.FirewallPolicyIdpsQuerySortOrder` was removed - #### `models.ConnectivityConfigurationListResult` was removed #### `models.SecurityPerimeterProxyResource` was removed @@ -369,30 +313,30 @@ #### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access +* `withNeighbor(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed * `withStateOrPrefixesReceived(java.lang.String)` was removed -* `withNeighbor(java.lang.String)` was removed * `withAsn(java.lang.Integer)` was removed #### `models.UsageName` was modified * `UsageName()` was changed to private access -* `withValue(java.lang.String)` was removed * `withLocalizedValue(java.lang.String)` was removed +* `withValue(java.lang.String)` was removed #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access +* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed +* `withSubnetAssociation(models.SubnetAssociation)` was removed * `withEffectiveSecurityRules(java.util.List)` was removed * `withDefaultSecurityRules(java.util.List)` was removed -* `withSubnetAssociation(models.SubnetAssociation)` was removed -* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed #### `models.ResourceBasics` was modified * `ResourceBasics()` was changed to private access -* `withResourceId(java.lang.String)` was removed * `withAddressPrefixes(java.util.List)` was removed +* `withResourceId(java.lang.String)` was removed #### `models.MatchedRule` was modified @@ -403,41 +347,41 @@ #### `models.ApplicationGatewayFirewallRule` was modified * `ApplicationGatewayFirewallRule()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed * `withRuleIdString(java.lang.String)` was removed -* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed -* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed * `withRuleId(int)` was removed +* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed +* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed +* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed +* `withDescription(java.lang.String)` was removed #### `models.VpnGatewayIpConfiguration` was modified * `VpnGatewayIpConfiguration()` was changed to private access -* `withPrivateIpAddress(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withPublicIpAddress(java.lang.String)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access -* `withState(models.EffectiveRouteState)` was removed +* `withAddressPrefix(java.util.List)` was removed * `withName(java.lang.String)` was removed * `withNextHopIpAddress(java.util.List)` was removed -* `withAddressPrefix(java.util.List)` was removed +* `withNextHopType(models.RouteNextHopType)` was removed +* `withState(models.EffectiveRouteState)` was removed * `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed * `withSource(models.EffectiveRouteSource)` was removed -* `withNextHopType(models.RouteNextHopType)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `withName(java.lang.String)` was removed -* `withPrivateIpAddress(java.lang.String)` was removed -* `withId(java.lang.String)` was removed * `privateIpAddress()` was removed +* `withPrimary(java.lang.Boolean)` was removed +* `withId(java.lang.String)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed * `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed +* `withName(java.lang.String)` was removed * `withPrivateIpAddressVersion(models.IpVersion)` was removed -* `withPrimary(java.lang.Boolean)` was removed #### `models.TunnelConnectionHealth` was modified @@ -450,23 +394,23 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access -* `withConfigurationDescription(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed * `withId(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed * `withRegion(java.lang.String)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed * `withRuleGroups(java.util.List)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed * `withSourcePortRanges(java.util.List)` was removed -* `withDestinations(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `withSources(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withDestinations(java.util.List)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed #### `models.ContainerNetworkInterfaceIpConfiguration` was modified @@ -487,9 +431,9 @@ #### `models.TopologyAssociation` was modified * `TopologyAssociation()` was changed to private access -* `withAssociationType(models.AssociationType)` was removed * `withName(java.lang.String)` was removed * `withResourceId(java.lang.String)` was removed +* `withAssociationType(models.AssociationType)` was removed #### `models.SecurityGroupNetworkInterface` was modified @@ -501,12 +445,12 @@ * `EffectiveDefaultSecurityAdminRule()` was changed to private access * `withId(java.lang.String)` was removed -* `withConfigurationDescription(java.lang.String)` was removed +* `withFlag(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withRuleGroups(java.util.List)` was removed -* `withFlag(java.lang.String)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.Container` was modified @@ -528,51 +472,51 @@ * `TroubleshootingRecommendedActions()` was changed to private access * `withActionId(java.lang.String)` was removed * `withActionUriText(java.lang.String)` was removed -* `withActionUri(java.lang.String)` was removed * `withActionText(java.lang.String)` was removed +* `withActionUri(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access +* `withRecommendationTitle(java.lang.String)` was removed * `withRecommendationText(java.lang.String)` was removed +* `withSeverity(java.lang.String)` was removed * `withRecommendationId(java.lang.String)` was removed -* `withRecommendationTitle(java.lang.String)` was removed -* `withCallToActionLink(java.lang.String)` was removed * `withCallToActionText(java.lang.String)` was removed -* `withSeverity(java.lang.String)` was removed +* `withCallToActionLink(java.lang.String)` was removed #### `models.ContainerNetworkInterface` was modified * `ContainerNetworkInterface()` was changed to private access +* `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withContainer(models.Container)` was removed -* `withName(java.lang.String)` was removed #### `models.ExpressRouteFailoverRedundantRoute` was modified * `ExpressRouteFailoverRedundantRoute()` was changed to private access -* `withPeeringLocations(java.util.List)` was removed * `withRoutes(java.util.List)` was removed +* `withPeeringLocations(java.util.List)` was removed #### `models.ApplicationGatewayPrivateLinkIpConfiguration` was modified -* `withPrivateIpAddress(java.lang.String)` was removed * `privateIpAddress()` was removed +* `withPrivateIpAddress(java.lang.String)` was removed #### `models.AzureReachabilityReportLatencyInfo` was modified * `AzureReachabilityReportLatencyInfo()` was changed to private access -* `withScore(java.lang.Integer)` was removed * `withTimestamp(java.time.OffsetDateTime)` was removed +* `withScore(java.lang.Integer)` was removed #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access -* `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed * `withIpAddress(java.lang.String)` was removed -* `networkInterfaceIpConfigurationId()` was removed -* `withState(java.lang.String)` was removed * `withReason(java.lang.String)` was removed +* `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed +* `withState(java.lang.String)` was removed +* `networkInterfaceIpConfigurationId()` was removed #### `models.ConnectivityHop` was modified @@ -590,35 +534,35 @@ #### `models.EffectiveNetworkSecurityRule` was modified * `EffectiveNetworkSecurityRule()` was changed to private access -* `withSourceAddressPrefixes(java.util.List)` was removed -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withSourceAddressPrefix(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withPriority(java.lang.Integer)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withDestinationAddressPrefix(java.lang.String)` was removed * `withDestinationPortRange(java.lang.String)` was removed -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed -* `withName(java.lang.String)` was removed -* `withSourcePortRange(java.lang.String)` was removed -* `withAccess(models.SecurityRuleAccess)` was removed * `withExpandedSourceAddressPrefix(java.util.List)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed * `withDirection(models.SecurityRuleDirection)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withSourceAddressPrefixes(java.util.List)` was removed +* `withSourceAddressPrefix(java.lang.String)` was removed +* `withSourcePortRange(java.lang.String)` was removed +* `withAccess(models.SecurityRuleAccess)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withDestinationAddressPrefix(java.lang.String)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access * `withAppliedTo(java.lang.String)` was removed -* `withMatchedRule(models.MatchedRule)` was removed * `withNetworkSecurityGroupId(java.lang.String)` was removed +* `withMatchedRule(models.MatchedRule)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access -* `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withAssociations(java.util.List)` was removed +* `withName(java.lang.String)` was removed * `withLocation(java.lang.String)` was removed #### `models.AzureFirewallIpGroups` was modified @@ -628,8 +572,8 @@ #### `models.EffectiveRouteMapRoute` was modified * `EffectiveRouteMapRoute()` was changed to private access -* `withBgpCommunities(java.lang.String)` was removed * `withAsPath(java.lang.String)` was removed +* `withBgpCommunities(java.lang.String)` was removed * `withPrefix(java.lang.String)` was removed #### `models.CrossTenantScopes` was modified @@ -639,45 +583,42 @@ #### `models.AzureReachabilityReportItem` was modified * `AzureReachabilityReportItem()` was changed to private access -* `withLatencies(java.util.List)` was removed * `withProvider(java.lang.String)` was removed +* `withLatencies(java.util.List)` was removed * `withAzureLocation(java.lang.String)` was removed #### `models.TroubleshootingDetails` was modified * `TroubleshootingDetails()` was changed to private access -* `withRecommendedActions(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withReasonType(java.lang.String)` was removed -* `withSummary(java.lang.String)` was removed * `withDetail(java.lang.String)` was removed +* `withSummary(java.lang.String)` was removed +* `withReasonType(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withRecommendedActions(java.util.List)` was removed #### `models.SingleQueryResult` was modified * `SingleQueryResult()` was changed to private access -* `withDestinationPorts(java.util.List)` was removed -* `withGroup(java.lang.String)` was removed +* `withSignatureId(java.lang.Integer)` was removed * `withProtocol(java.lang.String)` was removed +* `withGroup(java.lang.String)` was removed * `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `models.FirewallPolicyIdpsSignatureMode mode()` -> `models.FirewallPolicyIDPSSignatureMode mode()` -* `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed -* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed -* `withDescription(java.lang.String)` was removed -* `withSignatureId(java.lang.Integer)` was removed -* `models.FirewallPolicyIdpsSignatureSeverity severity()` -> `models.FirewallPolicyIDPSSignatureSeverity severity()` -* `withSourcePorts(java.util.List)` was removed * `withLastUpdated(java.lang.String)` was removed -* `models.FirewallPolicyIdpsSignatureDirection direction()` -> `models.FirewallPolicyIDPSSignatureDirection direction()` +* `withSourcePorts(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed +* `withDestinationPorts(java.util.List)` was removed * `withInheritedFromParentPolicy(java.lang.Boolean)` was removed +* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified * `NetworkSecurityRulesEvaluationResult()` was changed to private access +* `withName(java.lang.String)` was removed * `withProtocolMatched(java.lang.Boolean)` was removed * `withSourceMatched(java.lang.Boolean)` was removed -* `withSourcePortMatched(java.lang.Boolean)` was removed * `withDestinationMatched(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed +* `withSourcePortMatched(java.lang.Boolean)` was removed * `withDestinationPortMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -687,46 +628,37 @@ #### `models.ReachabilityAnalysisIntentProperties` was modified -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `withIpTraffic(models.IpTraffic)` was removed * `withProvisioningState(models.ProvisioningState)` was removed -* `models.IpTraffic ipTraffic()` -> `models.IPTraffic ipTraffic()` +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.ActiveBaseSecurityAdminRule` was modified -* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` +* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -#### `models.PublicIpPrefixSku` was modified - -* `withName(models.PublicIpPrefixSkuName)` was removed -* `withTier(models.PublicIpPrefixSkuTier)` was removed -* `models.PublicIpPrefixSkuTier tier()` -> `models.PublicIPPrefixSkuTier tier()` -* `models.PublicIpPrefixSkuName name()` -> `models.PublicIPPrefixSkuName name()` - #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withSources(java.util.List)` was removed -* `withDestinations(java.util.List)` was removed * `withSourcePortRanges(java.util.List)` was removed -* `withId(java.lang.String)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed * `withRuleGroups(java.util.List)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withDestinations(java.util.List)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withSources(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withPriority(java.lang.Integer)` was removed #### `models.BgpPeerStatus` was modified @@ -735,33 +667,33 @@ #### `models.NatRulePortMapping` was modified * `NatRulePortMapping()` was changed to private access -* `withBackendPort(java.lang.Integer)` was removed * `withInboundNatRuleName(java.lang.String)` was removed +* `withBackendPort(java.lang.Integer)` was removed * `withFrontendPort(java.lang.Integer)` was removed #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access -* `withName(java.lang.String)` was removed -* `withAggregationType(java.lang.String)` was removed -* `withUnit(java.lang.String)` was removed -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed -* `withAvailabilities(java.util.List)` was removed -* `withDisplayName(java.lang.String)` was removed -* `withMetricFilterPattern(java.lang.String)` was removed -* `withResourceIdDimensionNameOverride(java.lang.String)` was removed * `withIsInternal(java.lang.Boolean)` was removed +* `withResourceIdDimensionNameOverride(java.lang.String)` was removed * `withSourceMdmAccount(java.lang.String)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed -* `withFillGapWithZero(java.lang.Boolean)` was removed +* `withUnit(java.lang.String)` was removed * `withDisplayDescription(java.lang.String)` was removed +* `withSourceMdmNamespace(java.lang.String)` was removed +* `withMetricFilterPattern(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withAggregationType(java.lang.String)` was removed * `withDimensions(java.util.List)` was removed +* `withFillGapWithZero(java.lang.Boolean)` was removed +* `withDisplayName(java.lang.String)` was removed +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed +* `withAvailabilities(java.util.List)` was removed #### `models.LoadBalancerBackendAddress` was modified +* `networkInterfaceIpConfiguration()` was removed * `withLoadBalancerFrontendIpConfiguration(com.azure.core.management.SubResource)` was removed * `loadBalancerFrontendIpConfiguration()` was removed -* `networkInterfaceIpConfiguration()` was removed #### `models.DefaultAdminRule` was modified @@ -775,15 +707,15 @@ #### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified * `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access -* `withValueInMbps(java.lang.Integer)` was removed * `withOfferName(java.lang.String)` was removed +* `withValueInMbps(java.lang.Integer)` was removed #### `models.ApplicationGatewayFirewallRuleGroup` was modified * `ApplicationGatewayFirewallRuleGroup()` was changed to private access +* `withDescription(java.lang.String)` was removed * `withRules(java.util.List)` was removed * `withRuleGroupName(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed #### `models.IpamPoolProperties` was modified @@ -793,9 +725,9 @@ #### `models.AvailableProvidersListState` was modified * `AvailableProvidersListState()` was changed to private access +* `withCities(java.util.List)` was removed * `withProviders(java.util.List)` was removed * `withStateName(java.lang.String)` was removed -* `withCities(java.util.List)` was removed #### `models.AdminRule` was modified @@ -808,19 +740,33 @@ #### `models.ResourceNavigationLink` was modified * `ResourceNavigationLink()` was changed to private access -* `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withLink(java.lang.String)` was removed * `withLinkedResourceType(java.lang.String)` was removed +* `withName(java.lang.String)` was removed + +#### `models.BgpCommunity` was modified + +* `BgpCommunity()` was changed to private access +* `withCommunityValue(java.lang.String)` was removed +* `withServiceGroup(java.lang.String)` was removed +* `withCommunityPrefixes(java.util.List)` was removed +* `withServiceSupportedRegion(java.lang.String)` was removed +* `withIsAuthorizedToUse(java.lang.Boolean)` was removed +* `withCommunityName(java.lang.String)` was removed + +#### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified + +* `NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties()` was changed to private access #### `models.EffectiveNetworkSecurityGroup` was modified * `EffectiveNetworkSecurityGroup()` was changed to private access +* `withTagMap(java.lang.String)` was removed * `java.lang.String tagMap()` -> `java.util.Map tagMap()` -* `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed * `withEffectiveSecurityRules(java.util.List)` was removed * `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed -* `withTagMap(java.lang.String)` was removed +* `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed #### `models.ReferencedPublicIpAddress` was modified @@ -840,13 +786,12 @@ #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified -* `etag()` was removed * `withEtag(java.lang.String)` was removed +* `etag()` was removed #### `models.VpnClientConnectionHealthDetail` was modified * `VpnClientConnectionHealthDetail()` was changed to private access -* `vpnUsername()` was removed #### `models.ServiceTagInformationPropertiesFormat` was modified @@ -855,47 +800,47 @@ #### `models.ExpressRouteCircuitArpTable` was modified * `ExpressRouteCircuitArpTable()` was changed to private access -* `withInterfaceProperty(java.lang.String)` was removed -* `withMacAddress(java.lang.String)` was removed * `withAge(java.lang.Integer)` was removed * `withIpAddress(java.lang.String)` was removed +* `withInterfaceProperty(java.lang.String)` was removed +* `withMacAddress(java.lang.String)` was removed #### `models.ActiveConnectivityConfiguration` was modified * `ActiveConnectivityConfiguration()` was changed to private access * `withDescription(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withAppliesToGroups(java.util.List)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withHubs(java.util.List)` was removed * `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed * `withConfigurationGroups(java.util.List)` was removed -* `withRegion(java.lang.String)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withAppliesToGroups(java.util.List)` was removed +* `withId(java.lang.String)` was removed * `withIsGlobal(models.IsGlobal)` was removed -* `withHubs(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRegion(java.lang.String)` was removed #### `models.RouteSourceDetails` was modified * `RouteSourceDetails()` was changed to private access -* `withCircuit(java.lang.String)` was removed * `withSec(java.lang.String)` was removed +* `withCircuit(java.lang.String)` was removed * `withPri(java.lang.String)` was removed #### `models.RecordSet` was modified * `RecordSet()` was changed to private access -* `withIpAddresses(java.util.List)` was removed * `withFqdn(java.lang.String)` was removed -* `withTtl(java.lang.Integer)` was removed * `withRecordSetName(java.lang.String)` was removed * `withRecordType(java.lang.String)` was removed +* `withTtl(java.lang.Integer)` was removed +* `withIpAddresses(java.util.List)` was removed #### `models.ApplicationGatewayBackendHealthPool` was modified * `ApplicationGatewayBackendHealthPool()` was changed to private access -* `withBackendAddressPool(models.ApplicationGatewayBackendAddressPool)` was removed * `withBackendHttpSettingsCollection(java.util.List)` was removed +* `withBackendAddressPool(models.ApplicationGatewayBackendAddressPool)` was removed #### `models.AvailableProvidersListCity` was modified @@ -906,9 +851,9 @@ #### `models.ExpressRouteFailoverCircuitResourceDetails` was modified * `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access -* `withNrpResourceUri(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withConnectionName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withNrpResourceUri(java.lang.String)` was removed #### `models.ConnectivityIssue` was modified @@ -918,8 +863,8 @@ * `Availability()` was changed to private access * `withRetention(java.lang.String)` was removed -* `withBlobDuration(java.lang.String)` was removed * `withTimeGrain(java.lang.String)` was removed +* `withBlobDuration(java.lang.String)` was removed #### `models.VerifierWorkspaceProperties` was modified @@ -929,10 +874,10 @@ #### `models.OperationDisplay` was modified * `OperationDisplay()` was changed to private access +* `withDescription(java.lang.String)` was removed +* `withResource(java.lang.String)` was removed * `withProvider(java.lang.String)` was removed * `withOperation(java.lang.String)` was removed -* `withResource(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed #### `models.ApplicationGatewayBackendHttpSettings` was modified @@ -942,8 +887,8 @@ #### `models.OperationPropertiesFormatServiceSpecification` was modified * `OperationPropertiesFormatServiceSpecification()` was changed to private access -* `withMetricSpecifications(java.util.List)` was removed * `withLogSpecifications(java.util.List)` was removed +* `withMetricSpecifications(java.util.List)` was removed #### `models.AvailableProvidersListCountry` was modified @@ -964,31 +909,31 @@ #### `models.ApplicationGatewayFirewallRuleSet` was modified * `ApplicationGatewayFirewallRuleSet()` was changed to private access -* `withRuleGroups(java.util.List)` was removed -* `withLocation(java.lang.String)` was removed -* `withTags(java.util.Map)` was removed * `withRuleSetType(java.lang.String)` was removed -* `withId(java.lang.String)` was removed * `withRuleSetVersion(java.lang.String)` was removed +* `withTags(java.util.Map)` was removed +* `withId(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed * `withTiers(java.util.List)` was removed #### `models.ApplicationGatewayFirewallManifestRuleSet` was modified * `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access -* `withTiers(java.util.List)` was removed +* `withRuleGroups(java.util.List)` was removed * `withRuleSetType(java.lang.String)` was removed -* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed +* `withTiers(java.util.List)` was removed * `withRuleSetVersion(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed +* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed #### `models.NetworkManagerDeploymentStatus` was modified * `NetworkManagerDeploymentStatus()` was changed to private access -* `withDeploymentType(models.ConfigurationType)` was removed -* `withRegion(java.lang.String)` was removed * `withDeploymentStatus(models.DeploymentStatus)` was removed -* `withConfigurationIds(java.util.List)` was removed * `withErrorMessage(java.lang.String)` was removed +* `withConfigurationIds(java.util.List)` was removed +* `withRegion(java.lang.String)` was removed +* `withDeploymentType(models.ConfigurationType)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed #### `models.CircuitMetadataMap` was modified @@ -1001,21 +946,16 @@ #### `models.ExpressRouteCircuitRoutesTableSummary` was modified * `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withUpDown(java.lang.String)` was removed * `withV(java.lang.Integer)` was removed * `withNeighbor(java.lang.String)` was removed -* `withAs(java.lang.Integer)` was removed * `withStatePfxRcd(java.lang.String)` was removed +* `withUpDown(java.lang.String)` was removed +* `withAs(java.lang.Integer)` was removed #### `models.ConnectivityParameters` was modified -* `withPreferredIpVersion(models.IpVersion)` was removed * `preferredIpVersion()` was removed - -#### `models.OrderBy` was modified - -* `models.FirewallPolicyIdpsQuerySortOrder order()` -> `models.FirewallPolicyIDPSQuerySortOrder order()` -* `withOrder(models.FirewallPolicyIdpsQuerySortOrder)` was removed +* `withPreferredIpVersion(models.IpVersion)` was removed #### `models.ManagedRuleSetRuleGroup` was modified @@ -1026,14 +966,9 @@ #### `models.Dimension` was modified * `Dimension()` was changed to private access -* `withDisplayName(java.lang.String)` was removed * `withInternalName(java.lang.String)` was removed * `withName(java.lang.String)` was removed - -#### `models.PublicIpAddressSku` was modified - -* `withTier(models.PublicIpAddressSkuTier)` was removed -* `models.PublicIpAddressSkuTier tier()` -> `models.PublicIPAddressSkuTier tier()` +* `withDisplayName(java.lang.String)` was removed #### `models.NetworkSecurityGroupResult` was modified @@ -1044,17 +979,17 @@ * `ResiliencyRecommendationComponents()` was changed to private access * `withCurrentScore(java.lang.String)` was removed -* `withMaxScore(java.lang.String)` was removed * `withRecommendations(java.util.List)` was removed * `withName(java.lang.String)` was removed +* `withMaxScore(java.lang.String)` was removed #### `models.EffectiveBaseSecurityAdminRule` was modified +* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` #### `models.LogSpecification` was modified @@ -1070,14 +1005,14 @@ #### `models.EffectiveConnectivityConfiguration` was modified * `withAppliesToGroups(java.util.List)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withDescription(java.lang.String)` was removed -* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` * `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -* `withHubs(java.util.List)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` +* `withConnectivityTopology(models.ConnectivityTopology)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed * `withIsGlobal(models.IsGlobal)` was removed +* `withHubs(java.util.List)` was removed #### `models.PerimeterBasedAccessRule` was modified @@ -1099,63 +1034,49 @@ * `VirtualHubEffectiveRoute()` was changed to private access * `withNextHopType(java.lang.String)` was removed * `withAddressPrefixes(java.util.List)` was removed -* `withAsPath(java.lang.String)` was removed * `withRouteOrigin(java.lang.String)` was removed * `withNextHops(java.util.List)` was removed +* `withAsPath(java.lang.String)` was removed #### `models.ExpressRoutePortsLocationBandwidths` was modified * `ExpressRoutePortsLocationBandwidths()` was changed to private access -#### `models.ApplicationRule` was modified - -* `terminateTls()` was removed -* `withTerminateTls(java.lang.Boolean)` was removed - #### `models.StaticCidrProperties` was modified -* `numberOfIpAddressesToAllocate()` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withProvisioningState(models.ProvisioningState)` was removed -* `withNumberOfIpAddressesToAllocate(java.lang.String)` was removed -* `totalNumberOfIpAddresses()` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.EffectiveNetworkSecurityGroupAssociation` was modified * `EffectiveNetworkSecurityGroupAssociation()` was changed to private access -* `withNetworkManager(com.azure.core.management.SubResource)` was removed * `withSubnet(com.azure.core.management.SubResource)` was removed +* `withNetworkManager(com.azure.core.management.SubResource)` was removed * `withNetworkInterface(com.azure.core.management.SubResource)` was removed -#### `models.ConnectionMonitorSuccessThreshold` was modified - -* `java.lang.Float roundTripTimeMs()` -> `java.lang.Double roundTripTimeMs()` -* `withRoundTripTimeMs(java.lang.Float)` was removed - #### `models.IntentContent` was modified * `IntentContent()` was changed to private access -* `models.IpTraffic ipTraffic()` -> `models.IPTraffic ipTraffic()` * `withDestinationResourceId(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed * `withSourceResourceId(java.lang.String)` was removed * `withIpTraffic(models.IpTraffic)` was removed -* `withDescription(java.lang.String)` was removed #### `models.ConfigurationGroup` was modified * `ConfigurationGroup()` was changed to private access -* `withMemberType(models.GroupMemberType)` was removed * `withDescription(java.lang.String)` was removed +* `withMemberType(models.GroupMemberType)` was removed * `withId(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTable` was modified * `ExpressRouteCircuitRoutesTable()` was changed to private access -* `withWeight(java.lang.Integer)` was removed -* `withLocPrf(java.lang.String)` was removed -* `withNextHop(java.lang.String)` was removed -* `withPath(java.lang.String)` was removed * `withNetwork(java.lang.String)` was removed +* `withPath(java.lang.String)` was removed +* `withNextHop(java.lang.String)` was removed +* `withLocPrf(java.lang.String)` was removed +* `withWeight(java.lang.Integer)` was removed #### `models.SubnetAssociation` was modified @@ -1165,8 +1086,8 @@ #### `models.RadiusAuthServer` was modified * `RadiusAuthServer()` was changed to private access -* `withRadiusServerAddress(java.lang.String)` was removed * `withRadiusServerSecret(java.lang.String)` was removed +* `withRadiusServerAddress(java.lang.String)` was removed #### `models.VirtualApplianceNicProperties` was modified @@ -1191,80 +1112,46 @@ #### `models.ExpressRouteFailoverConnectionResourceDetails` was modified * `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access -* `withName(java.lang.String)` was removed * `withLastUpdatedTime(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withStatus(models.FailoverConnectionStatus)` was removed * `withNrpResourceUri(java.lang.String)` was removed #### `models.ActiveDefaultSecurityAdminRule` was modified * `ActiveDefaultSecurityAdminRule()` was changed to private access -* `withFlag(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed * `withId(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed +* `withFlag(java.lang.String)` was removed * `withRegion(java.lang.String)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withConfigurationDescription(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` ### Features Added -* `models.HubIPAddresses` was added - * `models.ReadOnlySubResourceModel` was added -* `models.PublicIPAddressSkuTier` was added - -* `models.HubPublicIPAddresses` was added - -* `models.VirtualApplianceIPConfiguration` was added - * `models.ProxyResourcewithoutEtag` was added -* `models.IPConfigurationBgpPeeringAddress` was added - -* `models.LoadBalancerVipSwapRequestFrontendIPConfiguration` was added - -* `models.ApplicationGatewayEntraJWTValidationConfig` was added - * `models.GetIkeSasFinalResult` was added * `models.ResetVpnClientSharedKeyFinalResult` was added -* `models.BGPCommunity` was added - -* `models.FirewallPolicySQL` was added - * `models.StartExpressRouteSiteFailoverSimulationFinalResult` was added -* `models.PrivateEndpointIPConfiguration` was added - -* `models.VirtualApplianceIPConfigurationProperties` was added - * `models.NoContentResponse` was added * `models.StopFinalResult` was added * `models.GeneratevpnclientpackageFinalResult` was added -* `models.FirewallPolicyIDPSQuerySortOrder` was added - -* `models.FirewallPolicyIDPSSignatureMode` was added - * `models.GetVpnProfilePackageUrlFinalResult` was added -* `models.PublicIPPrefixSkuName` was added - * `models.DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult` was added -* `models.PrivateEndpointIPVersionType` was added - -* `models.IPTraffic` was added - -* `models.FirewallPolicyIDPSSignatureSeverity` was added - * `models.StopPacketCaptureFinalResult2` was added * `models.BaseProvisioningState` was added @@ -1273,8 +1160,6 @@ * `models.UnprepareNetworkPoliciesFinalResult` was added -* `models.AzureFirewallIPConfiguration` was added - * `models.ArmAcceptedLroResponse` was added * `models.ResourceWithWritableName` was added @@ -1289,50 +1174,30 @@ * `models.DeleteBastionShareableLinkFinalResult` was added -* `models.AzureFirewallPublicIPAddress` was added - * `models.PrepareNetworkPoliciesFinalResult` was added * `models.VpnConnectionsStopPacketCaptureFinalResult` was added -* `models.FirewallPolicySNAT` was added - -* `models.IDPSQueryObject` was added - * `models.SingletonResource` was added -* `models.PublicIPAddressMigrationPhase` was added - -* `models.GenerateExpressRoutePortsLOARequest` was added - * `models.ProxyResourceWithReadOnlyID` was added * `models.ResourceWithRequiredLocation` was added * `models.ResourceWithReadOnlyNameAndID` was added -* `models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties` was added - * `models.WritableResource` was added -* `models.PreferredIPVersion` was added - * `models.StopExpressRouteSiteFailoverSimulationFinalResult` was added * `models.VpnConnectionsStartPacketCaptureFinalResult` was added -* `models.FirewallPolicyIDPSSignatureDirection` was added - * `models.TrackedResourcewithOptionalLocation` was added * `models.StopPacketCaptureFinalResult` was added * `models.ResourceWithReadOnlyID` was added -* `models.IPRule` was added - -* `models.PublicIPPrefixSkuTier` was added - #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `privateIPAddress()` was added @@ -1343,22 +1208,13 @@ #### `models.ApplicationGatewayPrivateLinkIpConfiguration` was modified -* `privateIPAddress()` was added * `withPrivateIPAddress(java.lang.String)` was added +* `privateIPAddress()` was added #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `networkInterfaceIPConfigurationId()` was added -#### `models.ReachabilityAnalysisIntentProperties` was modified - -* `withIpTraffic(models.IPTraffic)` was added - -#### `models.PublicIpPrefixSku` was modified - -* `withTier(models.PublicIPPrefixSkuTier)` was added -* `withName(models.PublicIPPrefixSkuName)` was added - #### `models.LoadBalancerBackendAddress` was modified * `networkInterfaceIPConfiguration()` was added @@ -1374,14 +1230,10 @@ * `retryAfter()` was added * `eTag()` was added -#### `models.VpnClientConnectionHealthDetail` was modified - -* `vpnUserName()` was added - #### `models.ActiveConnectivityConfiguration` was modified -* `id()` was added * `configurationGroups()` was added +* `id()` was added #### `models.ApplicationGatewayBackendHttpSettings` was modified @@ -1390,37 +1242,14 @@ #### `models.ConnectivityParameters` was modified -* `preferredIPVersion()` was added * `withPreferredIPVersion(models.IpVersion)` was added - -#### `models.OrderBy` was modified - -* `withOrder(models.FirewallPolicyIDPSQuerySortOrder)` was added - -#### `models.PublicIpAddressSku` was modified - -* `withTier(models.PublicIPAddressSkuTier)` was added +* `preferredIPVersion()` was added #### `models.ConnectionMonitorTestConfiguration` was modified -* `withPreferredIPVersion(models.PreferredIPVersion)` was added +* `withPreferredIPVersion(models.PreferredIpVersion)` was added * `preferredIPVersion()` was added -#### `models.ApplicationRule` was modified - -* `terminateTLS()` was added -* `withTerminateTLS(java.lang.Boolean)` was added - -#### `models.StaticCidrProperties` was modified - -* `totalNumberOfIPAddresses()` was added -* `withNumberOfIPAddressesToAllocate(java.lang.String)` was added -* `numberOfIPAddressesToAllocate()` was added - -#### `models.ConnectionMonitorSuccessThreshold` was modified - -* `withRoundTripTimeMs(java.lang.Double)` was added - ## 2.58.0 (2026-02-14) ### Breaking Changes diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java index 2c328098546f..bd78fb636be7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java @@ -15,7 +15,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortInner; import com.azure.resourcemanager.network.fluent.models.GenerateExpressRoutePortsLOAResultInner; -import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLOARequest; +import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLoaRequest; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -426,7 +426,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> generateLOAWithResponseAsync(String resourceGroupName, - String expressRoutePortName, GenerateExpressRoutePortsLOARequest request); + String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request); /** * Generate a letter of authorization for the requested ExpressRoutePort resource. @@ -441,7 +441,7 @@ Mono> generateLOAWithResponseA */ @ServiceMethod(returns = ReturnType.SINGLE) Mono generateLOAAsync(String resourceGroupName, - String expressRoutePortName, GenerateExpressRoutePortsLOARequest request); + String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request); /** * Generate a letter of authorization for the requested ExpressRoutePort resource. @@ -457,7 +457,7 @@ Mono generateLOAAsync(String resourceGr */ @ServiceMethod(returns = ReturnType.SINGLE) Response generateLOAWithResponse(String resourceGroupName, - String expressRoutePortName, GenerateExpressRoutePortsLOARequest request, Context context); + String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context); /** * Generate a letter of authorization for the requested ExpressRoutePort resource. @@ -472,5 +472,5 @@ Response generateLOAWithResponse(String */ @ServiceMethod(returns = ReturnType.SINGLE) GenerateExpressRoutePortsLOAResultInner generateLOA(String resourceGroupName, String expressRoutePortName, - GenerateExpressRoutePortsLOARequest request); + GenerateExpressRoutePortsLoaRequest request); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java index 5d657f7f0f88..6bef17e6090a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java @@ -9,7 +9,7 @@ import com.azure.core.http.rest.Response; import com.azure.core.util.Context; import com.azure.resourcemanager.network.fluent.models.QueryResultsInner; -import com.azure.resourcemanager.network.models.IDPSQueryObject; +import com.azure.resourcemanager.network.models.IdpsQueryObject; import reactor.core.publisher.Mono; /** @@ -30,7 +30,7 @@ public interface FirewallPolicyIdpsSignaturesClient { */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> listWithResponseAsync(String resourceGroupName, String firewallPolicyName, - IDPSQueryObject parameters); + IdpsQueryObject parameters); /** * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is @@ -45,7 +45,7 @@ Mono> listWithResponseAsync(String resourceGroupName * @return query result on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono listAsync(String resourceGroupName, String firewallPolicyName, IDPSQueryObject parameters); + Mono listAsync(String resourceGroupName, String firewallPolicyName, IdpsQueryObject parameters); /** * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is @@ -62,7 +62,7 @@ Mono> listWithResponseAsync(String resourceGroupName */ @ServiceMethod(returns = ReturnType.SINGLE) Response listWithResponse(String resourceGroupName, String firewallPolicyName, - IDPSQueryObject parameters, Context context); + IdpsQueryObject parameters, Context context); /** * Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is @@ -77,5 +77,5 @@ Response listWithResponse(String resourceGroupName, String fi * @return query result. */ @ServiceMethod(returns = ReturnType.SINGLE) - QueryResultsInner list(String resourceGroupName, String firewallPolicyName, IDPSQueryObject parameters); + QueryResultsInner list(String resourceGroupName, String firewallPolicyName, IdpsQueryObject parameters); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java index 6fe016e4afd5..24028b1071b0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayBackendHttpSettings; import com.azure.resourcemanager.network.models.ApplicationGatewayBackendSettings; import com.azure.resourcemanager.network.models.ApplicationGatewayCustomError; -import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJWTValidationConfig; +import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJwtValidationConfig; import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendIpConfiguration; import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendPort; import com.azure.resourcemanager.network.models.ApplicationGatewayGlobalConfiguration; @@ -1008,7 +1008,7 @@ public List loadDistributionPolicies() * * @return the entraJWTValidationConfigs value. */ - public List entraJWTValidationConfigs() { + public List entraJWTValidationConfigs() { return this.innerProperties() == null ? null : this.innerProperties().entraJWTValidationConfigs(); } @@ -1021,7 +1021,7 @@ public List entraJWTValidationConfig * @return the ApplicationGatewayInner object itself. */ public ApplicationGatewayInner - withEntraJWTValidationConfigs(List entraJWTValidationConfigs) { + withEntraJWTValidationConfigs(List entraJWTValidationConfigs) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayPropertiesFormat(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java index 9e09390923dd..b938f5dadf70 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.ApplicationGatewayBackendHttpSettings; import com.azure.resourcemanager.network.models.ApplicationGatewayBackendSettings; import com.azure.resourcemanager.network.models.ApplicationGatewayCustomError; -import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJWTValidationConfig; +import com.azure.resourcemanager.network.models.ApplicationGatewayEntraJwtValidationConfig; import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendIpConfiguration; import com.azure.resourcemanager.network.models.ApplicationGatewayFrontendPort; import com.azure.resourcemanager.network.models.ApplicationGatewayGlobalConfiguration; @@ -231,7 +231,7 @@ public final class ApplicationGatewayPropertiesFormat implements JsonSerializabl * Entra JWT validation configurations for the application gateway resource. For default limits, see [Application * Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). */ - private List entraJWTValidationConfigs; + private List entraJWTValidationConfigs; /* * Global Configuration. @@ -970,7 +970,7 @@ public List loadDistributionPolicies() * * @return the entraJWTValidationConfigs value. */ - public List entraJWTValidationConfigs() { + public List entraJWTValidationConfigs() { return this.entraJWTValidationConfigs; } @@ -983,7 +983,7 @@ public List entraJWTValidationConfig * @return the ApplicationGatewayPropertiesFormat object itself. */ public ApplicationGatewayPropertiesFormat - withEntraJWTValidationConfigs(List entraJWTValidationConfigs) { + withEntraJWTValidationConfigs(List entraJWTValidationConfigs) { this.entraJWTValidationConfigs = entraJWTValidationConfigs; return this; } @@ -1317,8 +1317,8 @@ public static ApplicationGatewayPropertiesFormat fromJson(JsonReader jsonReader) = reader.readArray(reader1 -> ApplicationGatewayLoadDistributionPolicy.fromJson(reader1)); deserializedApplicationGatewayPropertiesFormat.loadDistributionPolicies = loadDistributionPolicies; } else if ("entraJWTValidationConfigs".equals(fieldName)) { - List entraJWTValidationConfigs - = reader.readArray(reader1 -> ApplicationGatewayEntraJWTValidationConfig.fromJson(reader1)); + List entraJWTValidationConfigs + = reader.readArray(reader1 -> ApplicationGatewayEntraJwtValidationConfig.fromJson(reader1)); deserializedApplicationGatewayPropertiesFormat.entraJWTValidationConfigs = entraJWTValidationConfigs; } else if ("globalConfiguration".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java index df24ebae4531..f82dd2c5ed7f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java @@ -12,14 +12,14 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AzureFirewallApplicationRuleCollection; import com.azure.resourcemanager.network.models.AzureFirewallAutoscaleConfiguration; -import com.azure.resourcemanager.network.models.AzureFirewallIPConfiguration; +import com.azure.resourcemanager.network.models.AzureFirewallIpConfiguration; import com.azure.resourcemanager.network.models.AzureFirewallIpGroups; import com.azure.resourcemanager.network.models.AzureFirewallNatRuleCollection; import com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleCollection; import com.azure.resourcemanager.network.models.AzureFirewallSku; import com.azure.resourcemanager.network.models.AzureFirewallThreatIntelMode; import com.azure.resourcemanager.network.models.ExtendedLocation; -import com.azure.resourcemanager.network.models.HubIPAddresses; +import com.azure.resourcemanager.network.models.HubIpAddresses; import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; import java.util.List; @@ -263,7 +263,7 @@ public List networkRuleCollections() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.innerProperties() == null ? null : this.innerProperties().ipConfigurations(); } @@ -273,7 +273,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the AzureFirewallInner object itself. */ - public AzureFirewallInner withIpConfigurations(List ipConfigurations) { + public AzureFirewallInner withIpConfigurations(List ipConfigurations) { if (this.innerProperties() == null) { this.innerProperties = new AzureFirewallPropertiesFormat(); } @@ -286,7 +286,7 @@ public AzureFirewallInner withIpConfigurations(List ipConfigurations; + private List ipConfigurations; /* * IP configuration of the Azure Firewall used for management traffic. */ - private AzureFirewallIPConfiguration managementIpConfiguration; + private AzureFirewallIpConfiguration managementIpConfiguration; /* * The provisioning state of the Azure firewall resource. @@ -77,7 +77,7 @@ public final class AzureFirewallPropertiesFormat implements JsonSerializable networkRuleCollections() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.ipConfigurations; } @@ -183,7 +183,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the AzureFirewallPropertiesFormat object itself. */ - public AzureFirewallPropertiesFormat withIpConfigurations(List ipConfigurations) { + public AzureFirewallPropertiesFormat withIpConfigurations(List ipConfigurations) { this.ipConfigurations = ipConfigurations; return this; } @@ -193,7 +193,7 @@ public AzureFirewallPropertiesFormat withIpConfigurations(List AzureFirewallNetworkRuleCollection.fromJson(reader1)); deserializedAzureFirewallPropertiesFormat.networkRuleCollections = networkRuleCollections; } else if ("ipConfigurations".equals(fieldName)) { - List ipConfigurations - = reader.readArray(reader1 -> AzureFirewallIPConfiguration.fromJson(reader1)); + List ipConfigurations + = reader.readArray(reader1 -> AzureFirewallIpConfiguration.fromJson(reader1)); deserializedAzureFirewallPropertiesFormat.ipConfigurations = ipConfigurations; } else if ("managementIpConfiguration".equals(fieldName)) { deserializedAzureFirewallPropertiesFormat.managementIpConfiguration - = AzureFirewallIPConfiguration.fromJson(reader); + = AzureFirewallIpConfiguration.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedAzureFirewallPropertiesFormat.provisioningState = ProvisioningState.fromString(reader.getString()); @@ -478,7 +478,7 @@ public static AzureFirewallPropertiesFormat fromJson(JsonReader jsonReader) thro } else if ("firewallPolicy".equals(fieldName)) { deserializedAzureFirewallPropertiesFormat.firewallPolicy = SubResource.fromJson(reader); } else if ("hubIPAddresses".equals(fieldName)) { - deserializedAzureFirewallPropertiesFormat.hubIPAddresses = HubIPAddresses.fromJson(reader); + deserializedAzureFirewallPropertiesFormat.hubIPAddresses = HubIpAddresses.fromJson(reader); } else if ("ipGroups".equals(fieldName)) { List ipGroups = reader.readArray(reader1 -> AzureFirewallIpGroups.fromJson(reader1)); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java index da62ef1c2ec8..76c9fedc8dec 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java @@ -70,7 +70,7 @@ public final class BastionActiveSessionInner implements JsonSerializable bgpCommunities() { + public List bgpCommunities() { return this.innerProperties() == null ? null : this.innerProperties().bgpCommunities(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java index 089590c9f39b..6d5e97af0ebd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.BGPCommunity; +import com.azure.resourcemanager.network.models.BgpCommunity; import java.io.IOException; import java.util.List; @@ -27,7 +27,7 @@ public final class BgpServiceCommunityPropertiesFormat /* * A list of bgp communities. */ - private List bgpCommunities; + private List bgpCommunities; /** * Creates an instance of BgpServiceCommunityPropertiesFormat class. @@ -49,7 +49,7 @@ public String serviceName() { * * @return the bgpCommunities value. */ - public List bgpCommunities() { + public List bgpCommunities() { return this.bgpCommunities; } @@ -95,7 +95,7 @@ public static BgpServiceCommunityPropertiesFormat fromJson(JsonReader jsonReader if ("serviceName".equals(fieldName)) { deserializedBgpServiceCommunityPropertiesFormat.serviceName = reader.getString(); } else if ("bgpCommunities".equals(fieldName)) { - List bgpCommunities = reader.readArray(reader1 -> BGPCommunity.fromJson(reader1)); + List bgpCommunities = reader.readArray(reader1 -> BgpCommunity.fromJson(reader1)); deserializedBgpServiceCommunityPropertiesFormat.bgpCommunities = bgpCommunities; } else { reader.skipChildren(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java index dcff163b6079..d0601c19f3e8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java @@ -372,7 +372,7 @@ public ExpressRouteCircuitInner withExpressRoutePort(SubResource expressRoutePor * * @return the bandwidthInGbps value. */ - public Double bandwidthInGbps() { + public Float bandwidthInGbps() { return this.innerProperties() == null ? null : this.innerProperties().bandwidthInGbps(); } @@ -383,7 +383,7 @@ public Double bandwidthInGbps() { * @param bandwidthInGbps the bandwidthInGbps value to set. * @return the ExpressRouteCircuitInner object itself. */ - public ExpressRouteCircuitInner withBandwidthInGbps(Double bandwidthInGbps) { + public ExpressRouteCircuitInner withBandwidthInGbps(Float bandwidthInGbps) { if (this.innerProperties() == null) { this.innerProperties = new ExpressRouteCircuitPropertiesFormat(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java index 9df14d119568..054b482645c4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java @@ -70,7 +70,7 @@ public final class ExpressRouteCircuitPropertiesFormat /* * The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource. */ - private Double bandwidthInGbps; + private Float bandwidthInGbps; /* * The identifier of the circuit traffic. Outer tag for QinQ encapsulation. @@ -304,7 +304,7 @@ public ExpressRouteCircuitPropertiesFormat withExpressRoutePort(SubResource expr * * @return the bandwidthInGbps value. */ - public Double bandwidthInGbps() { + public Float bandwidthInGbps() { return this.bandwidthInGbps; } @@ -315,7 +315,7 @@ public Double bandwidthInGbps() { * @param bandwidthInGbps the bandwidthInGbps value to set. * @return the ExpressRouteCircuitPropertiesFormat object itself. */ - public ExpressRouteCircuitPropertiesFormat withBandwidthInGbps(Double bandwidthInGbps) { + public ExpressRouteCircuitPropertiesFormat withBandwidthInGbps(Float bandwidthInGbps) { this.bandwidthInGbps = bandwidthInGbps; return this; } @@ -514,7 +514,7 @@ public static ExpressRouteCircuitPropertiesFormat fromJson(JsonReader jsonReader deserializedExpressRouteCircuitPropertiesFormat.expressRoutePort = SubResource.fromJson(reader); } else if ("bandwidthInGbps".equals(fieldName)) { deserializedExpressRouteCircuitPropertiesFormat.bandwidthInGbps - = reader.getNullable(JsonReader::getDouble); + = reader.getNullable(JsonReader::getFloat); } else if ("stag".equals(fieldName)) { deserializedExpressRouteCircuitPropertiesFormat.stag = reader.getNullable(JsonReader::getInt); } else if ("provisioningState".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java index f6eecae50800..fc7f663b57ab 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java @@ -210,7 +210,7 @@ public ExpressRoutePortInner withBandwidthInGbps(Integer bandwidthInGbps) { * * @return the provisionedBandwidthInGbps value. */ - public Double provisionedBandwidthInGbps() { + public Float provisionedBandwidthInGbps() { return this.innerProperties() == null ? null : this.innerProperties().provisionedBandwidthInGbps(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java index 5a9affc3c589..05b40935b612 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java @@ -36,7 +36,7 @@ public final class ExpressRoutePortPropertiesFormat implements JsonSerializable< /* * Aggregate Gbps of associated circuit bandwidths. */ - private Double provisionedBandwidthInGbps; + private Float provisionedBandwidthInGbps; /* * Maximum transmission unit of the physical port pair(s). @@ -138,7 +138,7 @@ public ExpressRoutePortPropertiesFormat withBandwidthInGbps(Integer bandwidthInG * * @return the provisionedBandwidthInGbps value. */ - public Double provisionedBandwidthInGbps() { + public Float provisionedBandwidthInGbps() { return this.provisionedBandwidthInGbps; } @@ -309,7 +309,7 @@ public static ExpressRoutePortPropertiesFormat fromJson(JsonReader jsonReader) t = reader.getNullable(JsonReader::getInt); } else if ("provisionedBandwidthInGbps".equals(fieldName)) { deserializedExpressRoutePortPropertiesFormat.provisionedBandwidthInGbps - = reader.getNullable(JsonReader::getDouble); + = reader.getNullable(JsonReader::getFloat); } else if ("mtu".equals(fieldName)) { deserializedExpressRoutePortPropertiesFormat.mtu = reader.getString(); } else if ("encapsulation".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java index dd1cec60fafe..962d6ce21b53 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java @@ -15,8 +15,8 @@ import com.azure.resourcemanager.network.models.ExplicitProxy; import com.azure.resourcemanager.network.models.FirewallPolicyInsights; import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetection; -import com.azure.resourcemanager.network.models.FirewallPolicySNAT; -import com.azure.resourcemanager.network.models.FirewallPolicySQL; +import com.azure.resourcemanager.network.models.FirewallPolicySnat; +import com.azure.resourcemanager.network.models.FirewallPolicySql; import com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist; import java.io.IOException; import java.util.Map; @@ -216,7 +216,7 @@ public FirewallPolicyDraftInner withInsights(FirewallPolicyInsights insights) { * * @return the snat value. */ - public FirewallPolicySNAT snat() { + public FirewallPolicySnat snat() { return this.innerProperties() == null ? null : this.innerProperties().snat(); } @@ -226,7 +226,7 @@ public FirewallPolicySNAT snat() { * @param snat the snat value to set. * @return the FirewallPolicyDraftInner object itself. */ - public FirewallPolicyDraftInner withSnat(FirewallPolicySNAT snat) { + public FirewallPolicyDraftInner withSnat(FirewallPolicySnat snat) { if (this.innerProperties() == null) { this.innerProperties = new FirewallPolicyDraftProperties(); } @@ -239,7 +239,7 @@ public FirewallPolicyDraftInner withSnat(FirewallPolicySNAT snat) { * * @return the sql value. */ - public FirewallPolicySQL sql() { + public FirewallPolicySql sql() { return this.innerProperties() == null ? null : this.innerProperties().sql(); } @@ -249,7 +249,7 @@ public FirewallPolicySQL sql() { * @param sql the sql value to set. * @return the FirewallPolicyDraftInner object itself. */ - public FirewallPolicyDraftInner withSql(FirewallPolicySQL sql) { + public FirewallPolicyDraftInner withSql(FirewallPolicySql sql) { if (this.innerProperties() == null) { this.innerProperties = new FirewallPolicyDraftProperties(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java index 29fba1578a88..69e015c3c3e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java @@ -15,8 +15,8 @@ import com.azure.resourcemanager.network.models.ExplicitProxy; import com.azure.resourcemanager.network.models.FirewallPolicyInsights; import com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetection; -import com.azure.resourcemanager.network.models.FirewallPolicySNAT; -import com.azure.resourcemanager.network.models.FirewallPolicySQL; +import com.azure.resourcemanager.network.models.FirewallPolicySnat; +import com.azure.resourcemanager.network.models.FirewallPolicySql; import com.azure.resourcemanager.network.models.FirewallPolicyThreatIntelWhitelist; import java.io.IOException; @@ -48,12 +48,12 @@ public final class FirewallPolicyDraftProperties implements JsonSerializable applicationSecurityGroups() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.innerProperties() == null ? null : this.innerProperties().ipConfigurations(); } @@ -341,7 +341,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the PrivateEndpointInner object itself. */ - public PrivateEndpointInner withIpConfigurations(List ipConfigurations) { + public PrivateEndpointInner withIpConfigurations(List ipConfigurations) { if (this.innerProperties() == null) { this.innerProperties = new PrivateEndpointPropertiesInner(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java index aa2c7a24a147..3c60c3251891 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java @@ -10,8 +10,8 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.CustomDnsConfigPropertiesFormat; -import com.azure.resourcemanager.network.models.PrivateEndpointIPConfiguration; -import com.azure.resourcemanager.network.models.PrivateEndpointIPVersionType; +import com.azure.resourcemanager.network.models.PrivateEndpointIpConfiguration; +import com.azure.resourcemanager.network.models.PrivateEndpointIpVersionType; import com.azure.resourcemanager.network.models.PrivateLinkServiceConnection; import com.azure.resourcemanager.network.models.ProvisioningState; import java.io.IOException; @@ -40,7 +40,7 @@ public final class PrivateEndpointPropertiesInner implements JsonSerializable ipConfigurations; + private List ipConfigurations; /* * The custom name of the network interface attached to the private endpoint. @@ -125,7 +125,7 @@ public ProvisioningState provisioningState() { * * @return the ipVersionType value. */ - public PrivateEndpointIPVersionType ipVersionType() { + public PrivateEndpointIpVersionType ipVersionType() { return this.ipVersionType; } @@ -136,7 +136,7 @@ public PrivateEndpointIPVersionType ipVersionType() { * @param ipVersionType the ipVersionType value to set. * @return the PrivateEndpointPropertiesInner object itself. */ - public PrivateEndpointPropertiesInner withIpVersionType(PrivateEndpointIPVersionType ipVersionType) { + public PrivateEndpointPropertiesInner withIpVersionType(PrivateEndpointIpVersionType ipVersionType) { this.ipVersionType = ipVersionType; return this; } @@ -236,7 +236,7 @@ public List applicationSecurityGroups() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.ipConfigurations; } @@ -247,7 +247,7 @@ public List ipConfigurations() { * @param ipConfigurations the ipConfigurations value to set. * @return the PrivateEndpointPropertiesInner object itself. */ - public PrivateEndpointPropertiesInner withIpConfigurations(List ipConfigurations) { + public PrivateEndpointPropertiesInner withIpConfigurations(List ipConfigurations) { this.ipConfigurations = ipConfigurations; return this; } @@ -352,7 +352,7 @@ public static PrivateEndpointPropertiesInner fromJson(JsonReader jsonReader) thr = ProvisioningState.fromString(reader.getString()); } else if ("ipVersionType".equals(fieldName)) { deserializedPrivateEndpointPropertiesInner.ipVersionType - = PrivateEndpointIPVersionType.fromString(reader.getString()); + = PrivateEndpointIpVersionType.fromString(reader.getString()); } else if ("privateLinkServiceConnections".equals(fieldName)) { List privateLinkServiceConnections = reader.readArray(reader1 -> PrivateLinkServiceConnection.fromJson(reader1)); @@ -372,8 +372,8 @@ public static PrivateEndpointPropertiesInner fromJson(JsonReader jsonReader) thr = reader.readArray(reader1 -> ApplicationSecurityGroupInner.fromJson(reader1)); deserializedPrivateEndpointPropertiesInner.applicationSecurityGroups = applicationSecurityGroups; } else if ("ipConfigurations".equals(fieldName)) { - List ipConfigurations - = reader.readArray(reader1 -> PrivateEndpointIPConfiguration.fromJson(reader1)); + List ipConfigurations + = reader.readArray(reader1 -> PrivateEndpointIpConfiguration.fromJson(reader1)); deserializedPrivateEndpointPropertiesInner.ipConfigurations = ipConfigurations; } else if ("customNetworkInterfaceName".equals(fieldName)) { deserializedPrivateEndpointPropertiesInner.customNetworkInterfaceName = reader.getString(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java index 816f34872f8e..726ab7dc70d0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java @@ -17,8 +17,8 @@ import com.azure.resourcemanager.network.models.IpTag; import com.azure.resourcemanager.network.models.IpVersion; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.PublicIPAddressMigrationPhase; import com.azure.resourcemanager.network.models.PublicIpAddressDnsSettings; +import com.azure.resourcemanager.network.models.PublicIpAddressMigrationPhase; import com.azure.resourcemanager.network.models.PublicIpAddressSku; import java.io.IOException; import java.util.List; @@ -475,7 +475,7 @@ public PublicIpAddressInner withNatGateway(NatGatewayInner natGateway) { * * @return the migrationPhase value. */ - public PublicIPAddressMigrationPhase migrationPhase() { + public PublicIpAddressMigrationPhase migrationPhase() { return this.innerProperties() == null ? null : this.innerProperties().migrationPhase(); } @@ -485,7 +485,7 @@ public PublicIPAddressMigrationPhase migrationPhase() { * @param migrationPhase the migrationPhase value to set. * @return the PublicIpAddressInner object itself. */ - public PublicIpAddressInner withMigrationPhase(PublicIPAddressMigrationPhase migrationPhase) { + public PublicIpAddressInner withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase) { if (this.innerProperties() == null) { this.innerProperties = new PublicIPAddressPropertiesFormatInner(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java index eb8d7e3b7231..7419a6b6ce36 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java @@ -16,8 +16,8 @@ import com.azure.resourcemanager.network.models.IpTag; import com.azure.resourcemanager.network.models.IpVersion; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.PublicIPAddressMigrationPhase; import com.azure.resourcemanager.network.models.PublicIpAddressDnsSettings; +import com.azure.resourcemanager.network.models.PublicIpAddressMigrationPhase; import java.io.IOException; import java.util.List; @@ -95,7 +95,7 @@ public final class PublicIPAddressPropertiesFormatInner /* * Migration phase of Public IP Address. */ - private PublicIPAddressMigrationPhase migrationPhase; + private PublicIpAddressMigrationPhase migrationPhase; /* * The linked public IP address of the public IP address resource. @@ -347,7 +347,7 @@ public PublicIPAddressPropertiesFormatInner withNatGateway(NatGatewayInner natGa * * @return the migrationPhase value. */ - public PublicIPAddressMigrationPhase migrationPhase() { + public PublicIpAddressMigrationPhase migrationPhase() { return this.migrationPhase; } @@ -357,7 +357,7 @@ public PublicIPAddressMigrationPhase migrationPhase() { * @param migrationPhase the migrationPhase value to set. * @return the PublicIPAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withMigrationPhase(PublicIPAddressMigrationPhase migrationPhase) { + public PublicIPAddressPropertiesFormatInner withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase) { this.migrationPhase = migrationPhase; return this; } @@ -508,7 +508,7 @@ public static PublicIPAddressPropertiesFormatInner fromJson(JsonReader jsonReade deserializedPublicIPAddressPropertiesFormatInner.natGateway = NatGatewayInner.fromJson(reader); } else if ("migrationPhase".equals(fieldName)) { deserializedPublicIPAddressPropertiesFormatInner.migrationPhase - = PublicIPAddressMigrationPhase.fromString(reader.getString()); + = PublicIpAddressMigrationPhase.fromString(reader.getString()); } else if ("linkedPublicIPAddress".equals(fieldName)) { deserializedPublicIPAddressPropertiesFormatInner.linkedPublicIpAddress = PublicIpAddressInner.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java index cdf1cb59d826..e5a91ba5c1d6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java @@ -37,7 +37,7 @@ import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortInner; import com.azure.resourcemanager.network.fluent.models.GenerateExpressRoutePortsLOAResultInner; import com.azure.resourcemanager.network.implementation.models.ExpressRoutePortListResult; -import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLOARequest; +import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLoaRequest; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -143,7 +143,7 @@ Mono> generateLOA(@HostParam(" @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") GenerateExpressRoutePortsLOARequest request, Context context); + @BodyParam("application/json") GenerateExpressRoutePortsLoaRequest request, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @@ -1119,7 +1119,7 @@ public PagedIterable list(Context context) { */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> generateLOAWithResponseAsync( - String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLOARequest request) { + String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1166,7 +1166,7 @@ public Mono> generateLOAWithRe */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> generateLOAWithResponseAsync( - String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLOARequest request, + String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1210,7 +1210,7 @@ private Mono> generateLOAWithR */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono generateLOAAsync(String resourceGroupName, - String expressRoutePortName, GenerateExpressRoutePortsLOARequest request) { + String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request) { return generateLOAWithResponseAsync(resourceGroupName, expressRoutePortName, request) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } @@ -1229,7 +1229,7 @@ public Mono generateLOAAsync(String res */ @ServiceMethod(returns = ReturnType.SINGLE) public Response generateLOAWithResponse(String resourceGroupName, - String expressRoutePortName, GenerateExpressRoutePortsLOARequest request, Context context) { + String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context) { return generateLOAWithResponseAsync(resourceGroupName, expressRoutePortName, request, context).block(); } @@ -1246,7 +1246,7 @@ public Response generateLOAWithResponse */ @ServiceMethod(returns = ReturnType.SINGLE) public GenerateExpressRoutePortsLOAResultInner generateLOA(String resourceGroupName, String expressRoutePortName, - GenerateExpressRoutePortsLOARequest request) { + GenerateExpressRoutePortsLoaRequest request) { return generateLOAWithResponse(resourceGroupName, expressRoutePortName, request, Context.NONE).getValue(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java index c6362f949ba1..d7e0a41c3ec3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java @@ -23,7 +23,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.fluent.FirewallPolicyIdpsSignaturesClient; import com.azure.resourcemanager.network.fluent.models.QueryResultsInner; -import com.azure.resourcemanager.network.models.IDPSQueryObject; +import com.azure.resourcemanager.network.models.IdpsQueryObject; import reactor.core.publisher.Mono; /** @@ -65,7 +65,7 @@ Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("firewallPolicyName") String firewallPolicyName, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") IDPSQueryObject parameters, + @HeaderParam("Accept") String accept, @BodyParam("application/json") IdpsQueryObject parameters, Context context); } @@ -83,7 +83,7 @@ Mono> list(@HostParam("endpoint") String endpoint, */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> listWithResponseAsync(String resourceGroupName, String firewallPolicyName, - IDPSQueryObject parameters) { + IdpsQueryObject parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -129,7 +129,7 @@ public Mono> listWithResponseAsync(String resourceGr */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listWithResponseAsync(String resourceGroupName, String firewallPolicyName, - IDPSQueryObject parameters, Context context) { + IdpsQueryObject parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -173,7 +173,7 @@ private Mono> listWithResponseAsync(String resourceG */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listAsync(String resourceGroupName, String firewallPolicyName, - IDPSQueryObject parameters) { + IdpsQueryObject parameters) { return listWithResponseAsync(resourceGroupName, firewallPolicyName, parameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } @@ -193,7 +193,7 @@ public Mono listAsync(String resourceGroupName, String firewa */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listWithResponse(String resourceGroupName, String firewallPolicyName, - IDPSQueryObject parameters, Context context) { + IdpsQueryObject parameters, Context context) { return listWithResponseAsync(resourceGroupName, firewallPolicyName, parameters, context).block(); } @@ -210,7 +210,7 @@ public Response listWithResponse(String resourceGroupName, St * @return query result. */ @ServiceMethod(returns = ReturnType.SINGLE) - public QueryResultsInner list(String resourceGroupName, String firewallPolicyName, IDPSQueryObject parameters) { + public QueryResultsInner list(String resourceGroupName, String firewallPolicyName, IdpsQueryObject parameters) { return listWithResponse(resourceGroupName, firewallPolicyName, parameters, Context.NONE).getValue(); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java index ce32c5874234..2334947204f6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java @@ -17,7 +17,7 @@ * Entra JWT Validation Configuration of an application gateway. */ @Fluent -public final class ApplicationGatewayEntraJWTValidationConfig extends SubResource { +public final class ApplicationGatewayEntraJwtValidationConfig extends SubResource { /* * Properties of the application gateway entra jwt validation configuration. */ @@ -34,9 +34,9 @@ public final class ApplicationGatewayEntraJWTValidationConfig extends SubResourc private String etag; /** - * Creates an instance of ApplicationGatewayEntraJWTValidationConfig class. + * Creates an instance of ApplicationGatewayEntraJwtValidationConfig class. */ - public ApplicationGatewayEntraJWTValidationConfig() { + public ApplicationGatewayEntraJwtValidationConfig() { } /** @@ -63,9 +63,9 @@ public String name() { * gateway. * * @param name the name value to set. - * @return the ApplicationGatewayEntraJWTValidationConfig object itself. + * @return the ApplicationGatewayEntraJwtValidationConfig object itself. */ - public ApplicationGatewayEntraJWTValidationConfig withName(String name) { + public ApplicationGatewayEntraJwtValidationConfig withName(String name) { this.name = name; return this; } @@ -83,7 +83,7 @@ public String etag() { * {@inheritDoc} */ @Override - public ApplicationGatewayEntraJWTValidationConfig withId(String id) { + public ApplicationGatewayEntraJwtValidationConfig withId(String id) { super.withId(id); return this; } @@ -101,9 +101,9 @@ public ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction() { * Set the unAuthorizedRequestAction property: Unauthorized request action. * * @param unAuthorizedRequestAction the unAuthorizedRequestAction value to set. - * @return the ApplicationGatewayEntraJWTValidationConfig object itself. + * @return the ApplicationGatewayEntraJwtValidationConfig object itself. */ - public ApplicationGatewayEntraJWTValidationConfig + public ApplicationGatewayEntraJwtValidationConfig withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); @@ -125,9 +125,9 @@ public String tenantId() { * Set the tenantId property: The Tenant ID of the Microsoft Entra ID application. * * @param tenantId the tenantId value to set. - * @return the ApplicationGatewayEntraJWTValidationConfig object itself. + * @return the ApplicationGatewayEntraJwtValidationConfig object itself. */ - public ApplicationGatewayEntraJWTValidationConfig withTenantId(String tenantId) { + public ApplicationGatewayEntraJwtValidationConfig withTenantId(String tenantId) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); } @@ -148,9 +148,9 @@ public String clientId() { * Set the clientId property: The Client ID of the Microsoft Entra ID application. * * @param clientId the clientId value to set. - * @return the ApplicationGatewayEntraJWTValidationConfig object itself. + * @return the ApplicationGatewayEntraJwtValidationConfig object itself. */ - public ApplicationGatewayEntraJWTValidationConfig withClientId(String clientId) { + public ApplicationGatewayEntraJwtValidationConfig withClientId(String clientId) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); } @@ -173,9 +173,9 @@ public List audiences() { * maximum of 5 audiences are permitted. * * @param audiences the audiences value to set. - * @return the ApplicationGatewayEntraJWTValidationConfig object itself. + * @return the ApplicationGatewayEntraJwtValidationConfig object itself. */ - public ApplicationGatewayEntraJWTValidationConfig withAudiences(List audiences) { + public ApplicationGatewayEntraJwtValidationConfig withAudiences(List audiences) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); } @@ -216,36 +216,36 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ApplicationGatewayEntraJWTValidationConfig from the JsonReader. + * Reads an instance of ApplicationGatewayEntraJwtValidationConfig from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ApplicationGatewayEntraJWTValidationConfig if the JsonReader was pointing to an instance + * @return An instance of ApplicationGatewayEntraJwtValidationConfig 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 ApplicationGatewayEntraJWTValidationConfig. + * @throws IOException If an error occurs while reading the ApplicationGatewayEntraJwtValidationConfig. */ - public static ApplicationGatewayEntraJWTValidationConfig fromJson(JsonReader jsonReader) throws IOException { + public static ApplicationGatewayEntraJwtValidationConfig fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ApplicationGatewayEntraJWTValidationConfig deserializedApplicationGatewayEntraJWTValidationConfig - = new ApplicationGatewayEntraJWTValidationConfig(); + ApplicationGatewayEntraJwtValidationConfig deserializedApplicationGatewayEntraJwtValidationConfig + = new ApplicationGatewayEntraJwtValidationConfig(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedApplicationGatewayEntraJWTValidationConfig.withId(reader.getString()); + deserializedApplicationGatewayEntraJwtValidationConfig.withId(reader.getString()); } else if ("properties".equals(fieldName)) { - deserializedApplicationGatewayEntraJWTValidationConfig.innerProperties + deserializedApplicationGatewayEntraJwtValidationConfig.innerProperties = ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedApplicationGatewayEntraJWTValidationConfig.name = reader.getString(); + deserializedApplicationGatewayEntraJwtValidationConfig.name = reader.getString(); } else if ("etag".equals(fieldName)) { - deserializedApplicationGatewayEntraJWTValidationConfig.etag = reader.getString(); + deserializedApplicationGatewayEntraJwtValidationConfig.etag = reader.getString(); } else { reader.skipChildren(); } } - return deserializedApplicationGatewayEntraJWTValidationConfig; + return deserializedApplicationGatewayEntraJwtValidationConfig; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java index a8f717b18c89..e2363ce01189 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java @@ -59,7 +59,7 @@ public final class ApplicationRule extends FirewallPolicyRule { /* * Terminate TLS connections for this rule. */ - private Boolean terminateTLS; + private Boolean terminateTls; /* * List of destination azure web categories. @@ -228,22 +228,22 @@ public ApplicationRule withSourceIpGroups(List sourceIpGroups) { } /** - * Get the terminateTLS property: Terminate TLS connections for this rule. + * Get the terminateTls property: Terminate TLS connections for this rule. * - * @return the terminateTLS value. + * @return the terminateTls value. */ - public Boolean terminateTLS() { - return this.terminateTLS; + public Boolean terminateTls() { + return this.terminateTls; } /** - * Set the terminateTLS property: Terminate TLS connections for this rule. + * Set the terminateTls property: Terminate TLS connections for this rule. * - * @param terminateTLS the terminateTLS value to set. + * @param terminateTls the terminateTls value to set. * @return the ApplicationRule object itself. */ - public ApplicationRule withTerminateTLS(Boolean terminateTLS) { - this.terminateTLS = terminateTLS; + public ApplicationRule withTerminateTls(Boolean terminateTls) { + this.terminateTls = terminateTls; return this; } @@ -339,7 +339,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("fqdnTags", this.fqdnTags, (writer, element) -> writer.writeString(element)); jsonWriter.writeArrayField("sourceIpGroups", this.sourceIpGroups, (writer, element) -> writer.writeString(element)); - jsonWriter.writeBooleanField("terminateTLS", this.terminateTLS); + jsonWriter.writeBooleanField("terminateTLS", this.terminateTls); jsonWriter.writeArrayField("webCategories", this.webCategories, (writer, element) -> writer.writeString(element)); jsonWriter.writeArrayField("httpHeadersToInsert", this.httpHeadersToInsert, @@ -391,7 +391,7 @@ public static ApplicationRule fromJson(JsonReader jsonReader) throws IOException List sourceIpGroups = reader.readArray(reader1 -> reader1.getString()); deserializedApplicationRule.sourceIpGroups = sourceIpGroups; } else if ("terminateTLS".equals(fieldName)) { - deserializedApplicationRule.terminateTLS = reader.getNullable(JsonReader::getBoolean); + deserializedApplicationRule.terminateTls = reader.getNullable(JsonReader::getBoolean); } else if ("webCategories".equals(fieldName)) { List webCategories = reader.readArray(reader1 -> reader1.getString()); deserializedApplicationRule.webCategories = webCategories; diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java index c9c5a73fb6db..0020c10a268e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java @@ -16,7 +16,7 @@ * IP configuration of an Azure Firewall. */ @Fluent -public final class AzureFirewallIPConfiguration extends SubResource { +public final class AzureFirewallIpConfiguration extends SubResource { /* * Properties of the azure firewall IP configuration. */ @@ -38,9 +38,9 @@ public final class AzureFirewallIPConfiguration extends SubResource { private String type; /** - * Creates an instance of AzureFirewallIPConfiguration class. + * Creates an instance of AzureFirewallIpConfiguration class. */ - public AzureFirewallIPConfiguration() { + public AzureFirewallIpConfiguration() { } /** @@ -67,9 +67,9 @@ public String name() { * access the resource. * * @param name the name value to set. - * @return the AzureFirewallIPConfiguration object itself. + * @return the AzureFirewallIpConfiguration object itself. */ - public AzureFirewallIPConfiguration withName(String name) { + public AzureFirewallIpConfiguration withName(String name) { this.name = name; return this; } @@ -96,7 +96,7 @@ public String type() { * {@inheritDoc} */ @Override - public AzureFirewallIPConfiguration withId(String id) { + public AzureFirewallIpConfiguration withId(String id) { super.withId(id); return this; } @@ -126,9 +126,9 @@ public SubResource subnet() { * 'AzureFirewallManagementSubnet'. * * @param subnet the subnet value to set. - * @return the AzureFirewallIPConfiguration object itself. + * @return the AzureFirewallIpConfiguration object itself. */ - public AzureFirewallIPConfiguration withSubnet(SubResource subnet) { + public AzureFirewallIpConfiguration withSubnet(SubResource subnet) { if (this.innerProperties() == null) { this.innerProperties = new AzureFirewallIPConfigurationPropertiesFormat(); } @@ -151,9 +151,9 @@ public SubResource publicIpAddress() { * is not null. * * @param publicIpAddress the publicIpAddress value to set. - * @return the AzureFirewallIPConfiguration object itself. + * @return the AzureFirewallIpConfiguration object itself. */ - public AzureFirewallIPConfiguration withPublicIpAddress(SubResource publicIpAddress) { + public AzureFirewallIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { this.innerProperties = new AzureFirewallIPConfigurationPropertiesFormat(); } @@ -194,37 +194,37 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of AzureFirewallIPConfiguration from the JsonReader. + * Reads an instance of AzureFirewallIpConfiguration from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of AzureFirewallIPConfiguration if the JsonReader was pointing to an instance of it, or null + * @return An instance of AzureFirewallIpConfiguration 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 AzureFirewallIPConfiguration. + * @throws IOException If an error occurs while reading the AzureFirewallIpConfiguration. */ - public static AzureFirewallIPConfiguration fromJson(JsonReader jsonReader) throws IOException { + public static AzureFirewallIpConfiguration fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - AzureFirewallIPConfiguration deserializedAzureFirewallIPConfiguration = new AzureFirewallIPConfiguration(); + AzureFirewallIpConfiguration deserializedAzureFirewallIpConfiguration = new AzureFirewallIpConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedAzureFirewallIPConfiguration.withId(reader.getString()); + deserializedAzureFirewallIpConfiguration.withId(reader.getString()); } else if ("properties".equals(fieldName)) { - deserializedAzureFirewallIPConfiguration.innerProperties + deserializedAzureFirewallIpConfiguration.innerProperties = AzureFirewallIPConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedAzureFirewallIPConfiguration.name = reader.getString(); + deserializedAzureFirewallIpConfiguration.name = reader.getString(); } else if ("etag".equals(fieldName)) { - deserializedAzureFirewallIPConfiguration.etag = reader.getString(); + deserializedAzureFirewallIpConfiguration.etag = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedAzureFirewallIPConfiguration.type = reader.getString(); + deserializedAzureFirewallIpConfiguration.type = reader.getString(); } else { reader.skipChildren(); } } - return deserializedAzureFirewallIPConfiguration; + return deserializedAzureFirewallIpConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java index 8711db57546f..eb3fa67e32aa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java @@ -15,16 +15,16 @@ * Public IP Address associated with azure firewall. */ @Fluent -public final class AzureFirewallPublicIPAddress implements JsonSerializable { +public final class AzureFirewallPublicIpAddress implements JsonSerializable { /* * Public IP Address value. */ private String address; /** - * Creates an instance of AzureFirewallPublicIPAddress class. + * Creates an instance of AzureFirewallPublicIpAddress class. */ - public AzureFirewallPublicIPAddress() { + public AzureFirewallPublicIpAddress() { } /** @@ -40,9 +40,9 @@ public String address() { * Set the address property: Public IP Address value. * * @param address the address value to set. - * @return the AzureFirewallPublicIPAddress object itself. + * @return the AzureFirewallPublicIpAddress object itself. */ - public AzureFirewallPublicIPAddress withAddress(String address) { + public AzureFirewallPublicIpAddress withAddress(String address) { this.address = address; return this; } @@ -66,28 +66,28 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of AzureFirewallPublicIPAddress from the JsonReader. + * Reads an instance of AzureFirewallPublicIpAddress from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of AzureFirewallPublicIPAddress if the JsonReader was pointing to an instance of it, or null + * @return An instance of AzureFirewallPublicIpAddress 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 AzureFirewallPublicIPAddress. + * @throws IOException If an error occurs while reading the AzureFirewallPublicIpAddress. */ - public static AzureFirewallPublicIPAddress fromJson(JsonReader jsonReader) throws IOException { + public static AzureFirewallPublicIpAddress fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - AzureFirewallPublicIPAddress deserializedAzureFirewallPublicIPAddress = new AzureFirewallPublicIPAddress(); + AzureFirewallPublicIpAddress deserializedAzureFirewallPublicIpAddress = new AzureFirewallPublicIpAddress(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("address".equals(fieldName)) { - deserializedAzureFirewallPublicIPAddress.address = reader.getString(); + deserializedAzureFirewallPublicIpAddress.address = reader.getString(); } else { reader.skipChildren(); } } - return deserializedAzureFirewallPublicIPAddress; + return deserializedAzureFirewallPublicIpAddress; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java index 47969984874d..05ce56fe1282 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java @@ -21,7 +21,7 @@ public final class BastionHostPropertiesFormatNetworkAcls /* * Sets the IP ACL rules for Developer Bastion Host. */ - private List ipRules; + private List ipRules; /** * Creates an instance of BastionHostPropertiesFormatNetworkAcls class. @@ -34,7 +34,7 @@ public BastionHostPropertiesFormatNetworkAcls() { * * @return the ipRules value. */ - public List ipRules() { + public List ipRules() { return this.ipRules; } @@ -44,7 +44,7 @@ public List ipRules() { * @param ipRules the ipRules value to set. * @return the BastionHostPropertiesFormatNetworkAcls object itself. */ - public BastionHostPropertiesFormatNetworkAcls withIpRules(List ipRules) { + public BastionHostPropertiesFormatNetworkAcls withIpRules(List ipRules) { this.ipRules = ipRules; return this; } @@ -87,7 +87,7 @@ public static BastionHostPropertiesFormatNetworkAcls fromJson(JsonReader jsonRea reader.nextToken(); if ("ipRules".equals(fieldName)) { - List ipRules = reader.readArray(reader1 -> IPRule.fromJson(reader1)); + List ipRules = reader.readArray(reader1 -> IpRule.fromJson(reader1)); deserializedBastionHostPropertiesFormatNetworkAcls.ipRules = ipRules; } else { reader.skipChildren(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java index c896e857d674..83cbbfa07ba8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java @@ -16,7 +16,7 @@ * Contains bgp community information offered in Service Community resources. */ @Immutable -public final class BGPCommunity implements JsonSerializable { +public final class BgpCommunity implements JsonSerializable { /* * The region which the service support. e.g. For O365, region is Global. */ @@ -49,9 +49,9 @@ public final class BGPCommunity implements JsonSerializable { private String serviceGroup; /** - * Creates an instance of BGPCommunity class. + * Creates an instance of BgpCommunity class. */ - private BGPCommunity() { + private BgpCommunity() { } /** @@ -134,39 +134,39 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of BGPCommunity from the JsonReader. + * Reads an instance of BgpCommunity from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of BGPCommunity if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of BgpCommunity 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 BGPCommunity. + * @throws IOException If an error occurs while reading the BgpCommunity. */ - public static BGPCommunity fromJson(JsonReader jsonReader) throws IOException { + public static BgpCommunity fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BGPCommunity deserializedBGPCommunity = new BGPCommunity(); + BgpCommunity deserializedBgpCommunity = new BgpCommunity(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("serviceSupportedRegion".equals(fieldName)) { - deserializedBGPCommunity.serviceSupportedRegion = reader.getString(); + deserializedBgpCommunity.serviceSupportedRegion = reader.getString(); } else if ("communityName".equals(fieldName)) { - deserializedBGPCommunity.communityName = reader.getString(); + deserializedBgpCommunity.communityName = reader.getString(); } else if ("communityValue".equals(fieldName)) { - deserializedBGPCommunity.communityValue = reader.getString(); + deserializedBgpCommunity.communityValue = reader.getString(); } else if ("communityPrefixes".equals(fieldName)) { List communityPrefixes = reader.readArray(reader1 -> reader1.getString()); - deserializedBGPCommunity.communityPrefixes = communityPrefixes; + deserializedBgpCommunity.communityPrefixes = communityPrefixes; } else if ("isAuthorizedToUse".equals(fieldName)) { - deserializedBGPCommunity.isAuthorizedToUse = reader.getNullable(JsonReader::getBoolean); + deserializedBgpCommunity.isAuthorizedToUse = reader.getNullable(JsonReader::getBoolean); } else if ("serviceGroup".equals(fieldName)) { - deserializedBGPCommunity.serviceGroup = reader.getString(); + deserializedBgpCommunity.serviceGroup = reader.getString(); } else { reader.skipChildren(); } } - return deserializedBGPCommunity; + return deserializedBgpCommunity; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java index b09609fed46c..a9977d984a07 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java @@ -35,7 +35,7 @@ public final class BgpSettings implements JsonSerializable { /* * BGP peering address with IP configuration ID for virtual network gateway. */ - private List bgpPeeringAddresses; + private List bgpPeeringAddresses; /** * Creates an instance of BgpSettings class. @@ -108,7 +108,7 @@ public BgpSettings withPeerWeight(Integer peerWeight) { * * @return the bgpPeeringAddresses value. */ - public List bgpPeeringAddresses() { + public List bgpPeeringAddresses() { return this.bgpPeeringAddresses; } @@ -118,7 +118,7 @@ public List bgpPeeringAddresses() { * @param bgpPeeringAddresses the bgpPeeringAddresses value to set. * @return the BgpSettings object itself. */ - public BgpSettings withBgpPeeringAddresses(List bgpPeeringAddresses) { + public BgpSettings withBgpPeeringAddresses(List bgpPeeringAddresses) { this.bgpPeeringAddresses = bgpPeeringAddresses; return this; } @@ -170,8 +170,8 @@ public static BgpSettings fromJson(JsonReader jsonReader) throws IOException { } else if ("peerWeight".equals(fieldName)) { deserializedBgpSettings.peerWeight = reader.getNullable(JsonReader::getInt); } else if ("bgpPeeringAddresses".equals(fieldName)) { - List bgpPeeringAddresses - = reader.readArray(reader1 -> IPConfigurationBgpPeeringAddress.fromJson(reader1)); + List bgpPeeringAddresses + = reader.readArray(reader1 -> IpConfigurationBgpPeeringAddress.fromJson(reader1)); deserializedBgpSettings.bgpPeeringAddresses = bgpPeeringAddresses; } else { reader.skipChildren(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java index c3ee2670649e..f0c53511a073 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java @@ -24,7 +24,7 @@ public final class ConnectionMonitorSuccessThreshold implements JsonSerializable /* * The maximum round-trip time in milliseconds permitted for a test to evaluate as successful. */ - private Double roundTripTimeMs; + private Float roundTripTimeMs; /** * Creates an instance of ConnectionMonitorSuccessThreshold class. @@ -60,7 +60,7 @@ public ConnectionMonitorSuccessThreshold withChecksFailedPercent(Integer checksF * * @return the roundTripTimeMs value. */ - public Double roundTripTimeMs() { + public Float roundTripTimeMs() { return this.roundTripTimeMs; } @@ -71,7 +71,7 @@ public Double roundTripTimeMs() { * @param roundTripTimeMs the roundTripTimeMs value to set. * @return the ConnectionMonitorSuccessThreshold object itself. */ - public ConnectionMonitorSuccessThreshold withRoundTripTimeMs(Double roundTripTimeMs) { + public ConnectionMonitorSuccessThreshold withRoundTripTimeMs(Float roundTripTimeMs) { this.roundTripTimeMs = roundTripTimeMs; return this; } @@ -116,7 +116,7 @@ public static ConnectionMonitorSuccessThreshold fromJson(JsonReader jsonReader) = reader.getNullable(JsonReader::getInt); } else if ("roundTripTimeMs".equals(fieldName)) { deserializedConnectionMonitorSuccessThreshold.roundTripTimeMs - = reader.getNullable(JsonReader::getDouble); + = reader.getNullable(JsonReader::getFloat); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java index dfb463f96c25..20c8c55dba67 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java @@ -36,7 +36,7 @@ public final class ConnectionMonitorTestConfiguration implements JsonSerializabl * The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version * depending on other parameters. */ - private PreferredIPVersion preferredIPVersion; + private PreferredIpVersion preferredIPVersion; /* * The parameters used to perform test evaluation over HTTP. @@ -130,7 +130,7 @@ public ConnectionMonitorTestConfiguration withProtocol(ConnectionMonitorTestConf * * @return the preferredIPVersion value. */ - public PreferredIPVersion preferredIPVersion() { + public PreferredIpVersion preferredIPVersion() { return this.preferredIPVersion; } @@ -141,7 +141,7 @@ public PreferredIPVersion preferredIPVersion() { * @param preferredIPVersion the preferredIPVersion value to set. * @return the ConnectionMonitorTestConfiguration object itself. */ - public ConnectionMonitorTestConfiguration withPreferredIPVersion(PreferredIPVersion preferredIPVersion) { + public ConnectionMonitorTestConfiguration withPreferredIPVersion(PreferredIpVersion preferredIPVersion) { this.preferredIPVersion = preferredIPVersion; return this; } @@ -305,7 +305,7 @@ public static ConnectionMonitorTestConfiguration fromJson(JsonReader jsonReader) = reader.getNullable(JsonReader::getInt); } else if ("preferredIPVersion".equals(fieldName)) { deserializedConnectionMonitorTestConfiguration.preferredIPVersion - = PreferredIPVersion.fromString(reader.getString()); + = PreferredIpVersion.fromString(reader.getString()); } else if ("httpConfiguration".equals(fieldName)) { deserializedConnectionMonitorTestConfiguration.httpConfiguration = ConnectionMonitorHttpConfiguration.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java index 2fd28df1e15f..0e178fe779f1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java @@ -10,42 +10,42 @@ /** * Describes if results should be in ascending/descending order. */ -public final class FirewallPolicyIDPSQuerySortOrder extends ExpandableStringEnum { +public final class FirewallPolicyIdpsQuerySortOrder extends ExpandableStringEnum { /** * Ascending. */ - public static final FirewallPolicyIDPSQuerySortOrder ASCENDING = fromString("Ascending"); + public static final FirewallPolicyIdpsQuerySortOrder ASCENDING = fromString("Ascending"); /** * Descending. */ - public static final FirewallPolicyIDPSQuerySortOrder DESCENDING = fromString("Descending"); + public static final FirewallPolicyIdpsQuerySortOrder DESCENDING = fromString("Descending"); /** - * Creates a new instance of FirewallPolicyIDPSQuerySortOrder value. + * Creates a new instance of FirewallPolicyIdpsQuerySortOrder value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public FirewallPolicyIDPSQuerySortOrder() { + public FirewallPolicyIdpsQuerySortOrder() { } /** - * Creates or finds a FirewallPolicyIDPSQuerySortOrder from its string representation. + * Creates or finds a FirewallPolicyIdpsQuerySortOrder from its string representation. * * @param name a name to look for. - * @return the corresponding FirewallPolicyIDPSQuerySortOrder. + * @return the corresponding FirewallPolicyIdpsQuerySortOrder. */ - public static FirewallPolicyIDPSQuerySortOrder fromString(String name) { - return fromString(name, FirewallPolicyIDPSQuerySortOrder.class); + public static FirewallPolicyIdpsQuerySortOrder fromString(String name) { + return fromString(name, FirewallPolicyIdpsQuerySortOrder.class); } /** - * Gets known FirewallPolicyIDPSQuerySortOrder values. + * Gets known FirewallPolicyIdpsQuerySortOrder values. * - * @return known FirewallPolicyIDPSQuerySortOrder values. + * @return known FirewallPolicyIdpsQuerySortOrder values. */ - public static Collection values() { - return values(FirewallPolicyIDPSQuerySortOrder.class); + public static Collection values() { + return values(FirewallPolicyIdpsQuerySortOrder.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java index 9ef92b614238..4df1b5f89050 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java @@ -8,7 +8,7 @@ * Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - * InternalOutbound, 5 - InternalInbound. */ -public enum FirewallPolicyIDPSSignatureDirection { +public enum FirewallPolicyIdpsSignatureDirection { /** * 0. */ @@ -40,23 +40,23 @@ public enum FirewallPolicyIDPSSignatureDirection { FIVE(5); /** - * The actual serialized value for a FirewallPolicyIDPSSignatureDirection instance. + * The actual serialized value for a FirewallPolicyIdpsSignatureDirection instance. */ private final int value; - FirewallPolicyIDPSSignatureDirection(int value) { + FirewallPolicyIdpsSignatureDirection(int value) { this.value = value; } /** - * Parses a serialized value to a FirewallPolicyIDPSSignatureDirection instance. + * Parses a serialized value to a FirewallPolicyIdpsSignatureDirection instance. * * @param value the serialized value to parse. - * @return the parsed FirewallPolicyIDPSSignatureDirection object, or null if unable to parse. + * @return the parsed FirewallPolicyIdpsSignatureDirection object, or null if unable to parse. */ - public static FirewallPolicyIDPSSignatureDirection fromInt(int value) { - FirewallPolicyIDPSSignatureDirection[] items = FirewallPolicyIDPSSignatureDirection.values(); - for (FirewallPolicyIDPSSignatureDirection item : items) { + public static FirewallPolicyIdpsSignatureDirection fromInt(int value) { + FirewallPolicyIdpsSignatureDirection[] items = FirewallPolicyIdpsSignatureDirection.values(); + for (FirewallPolicyIdpsSignatureDirection item : items) { if (item.toInt() == value) { return item; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java index d190a1dad368..2f183f05432c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java @@ -7,7 +7,7 @@ /** * The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny. */ -public enum FirewallPolicyIDPSSignatureMode { +public enum FirewallPolicyIdpsSignatureMode { /** * 0. */ @@ -24,23 +24,23 @@ public enum FirewallPolicyIDPSSignatureMode { TWO(2); /** - * The actual serialized value for a FirewallPolicyIDPSSignatureMode instance. + * The actual serialized value for a FirewallPolicyIdpsSignatureMode instance. */ private final int value; - FirewallPolicyIDPSSignatureMode(int value) { + FirewallPolicyIdpsSignatureMode(int value) { this.value = value; } /** - * Parses a serialized value to a FirewallPolicyIDPSSignatureMode instance. + * Parses a serialized value to a FirewallPolicyIdpsSignatureMode instance. * * @param value the serialized value to parse. - * @return the parsed FirewallPolicyIDPSSignatureMode object, or null if unable to parse. + * @return the parsed FirewallPolicyIdpsSignatureMode object, or null if unable to parse. */ - public static FirewallPolicyIDPSSignatureMode fromInt(int value) { - FirewallPolicyIDPSSignatureMode[] items = FirewallPolicyIDPSSignatureMode.values(); - for (FirewallPolicyIDPSSignatureMode item : items) { + public static FirewallPolicyIdpsSignatureMode fromInt(int value) { + FirewallPolicyIdpsSignatureMode[] items = FirewallPolicyIdpsSignatureMode.values(); + for (FirewallPolicyIdpsSignatureMode item : items) { if (item.toInt() == value) { return item; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java index 22bcd1b406a4..a228c02292fa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java @@ -7,7 +7,7 @@ /** * Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low. */ -public enum FirewallPolicyIDPSSignatureSeverity { +public enum FirewallPolicyIdpsSignatureSeverity { /** * 1. */ @@ -24,23 +24,23 @@ public enum FirewallPolicyIDPSSignatureSeverity { THREE(3); /** - * The actual serialized value for a FirewallPolicyIDPSSignatureSeverity instance. + * The actual serialized value for a FirewallPolicyIdpsSignatureSeverity instance. */ private final int value; - FirewallPolicyIDPSSignatureSeverity(int value) { + FirewallPolicyIdpsSignatureSeverity(int value) { this.value = value; } /** - * Parses a serialized value to a FirewallPolicyIDPSSignatureSeverity instance. + * Parses a serialized value to a FirewallPolicyIdpsSignatureSeverity instance. * * @param value the serialized value to parse. - * @return the parsed FirewallPolicyIDPSSignatureSeverity object, or null if unable to parse. + * @return the parsed FirewallPolicyIdpsSignatureSeverity object, or null if unable to parse. */ - public static FirewallPolicyIDPSSignatureSeverity fromInt(int value) { - FirewallPolicyIDPSSignatureSeverity[] items = FirewallPolicyIDPSSignatureSeverity.values(); - for (FirewallPolicyIDPSSignatureSeverity item : items) { + public static FirewallPolicyIdpsSignatureSeverity fromInt(int value) { + FirewallPolicyIdpsSignatureSeverity[] items = FirewallPolicyIdpsSignatureSeverity.values(); + for (FirewallPolicyIdpsSignatureSeverity item : items) { if (item.toInt() == value) { return item; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java index 1468b470a02d..2346f24fb186 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java @@ -16,7 +16,7 @@ * The private IP addresses/IP ranges to which traffic will not be SNAT. */ @Fluent -public final class FirewallPolicySNAT implements JsonSerializable { +public final class FirewallPolicySnat implements JsonSerializable { /* * List of private IP addresses/IP address ranges to not be SNAT. */ @@ -28,9 +28,9 @@ public final class FirewallPolicySNAT implements JsonSerializable privateRanges() { * Set the privateRanges property: List of private IP addresses/IP address ranges to not be SNAT. * * @param privateRanges the privateRanges value to set. - * @return the FirewallPolicySNAT object itself. + * @return the FirewallPolicySnat object itself. */ - public FirewallPolicySNAT withPrivateRanges(List privateRanges) { + public FirewallPolicySnat withPrivateRanges(List privateRanges) { this.privateRanges = privateRanges; return this; } @@ -68,9 +68,9 @@ public AutoLearnPrivateRangesMode autoLearnPrivateRanges() { * SNAT. * * @param autoLearnPrivateRanges the autoLearnPrivateRanges value to set. - * @return the FirewallPolicySNAT object itself. + * @return the FirewallPolicySnat object itself. */ - public FirewallPolicySNAT withAutoLearnPrivateRanges(AutoLearnPrivateRangesMode autoLearnPrivateRanges) { + public FirewallPolicySnat withAutoLearnPrivateRanges(AutoLearnPrivateRangesMode autoLearnPrivateRanges) { this.autoLearnPrivateRanges = autoLearnPrivateRanges; return this; } @@ -97,32 +97,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of FirewallPolicySNAT from the JsonReader. + * Reads an instance of FirewallPolicySnat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of FirewallPolicySNAT if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of FirewallPolicySnat 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 FirewallPolicySNAT. + * @throws IOException If an error occurs while reading the FirewallPolicySnat. */ - public static FirewallPolicySNAT fromJson(JsonReader jsonReader) throws IOException { + public static FirewallPolicySnat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - FirewallPolicySNAT deserializedFirewallPolicySNAT = new FirewallPolicySNAT(); + FirewallPolicySnat deserializedFirewallPolicySnat = new FirewallPolicySnat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateRanges".equals(fieldName)) { List privateRanges = reader.readArray(reader1 -> reader1.getString()); - deserializedFirewallPolicySNAT.privateRanges = privateRanges; + deserializedFirewallPolicySnat.privateRanges = privateRanges; } else if ("autoLearnPrivateRanges".equals(fieldName)) { - deserializedFirewallPolicySNAT.autoLearnPrivateRanges + deserializedFirewallPolicySnat.autoLearnPrivateRanges = AutoLearnPrivateRangesMode.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedFirewallPolicySNAT; + return deserializedFirewallPolicySnat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java index 693f63e22a4b..59052003b84f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java @@ -15,7 +15,7 @@ * SQL Settings in Firewall Policy. */ @Fluent -public final class FirewallPolicySQL implements JsonSerializable { +public final class FirewallPolicySql implements JsonSerializable { /* * A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port * 11000-11999. @@ -23,9 +23,9 @@ public final class FirewallPolicySQL implements JsonSerializable { - FirewallPolicySQL deserializedFirewallPolicySQL = new FirewallPolicySQL(); + FirewallPolicySql deserializedFirewallPolicySql = new FirewallPolicySql(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("allowSqlRedirect".equals(fieldName)) { - deserializedFirewallPolicySQL.allowSqlRedirect = reader.getNullable(JsonReader::getBoolean); + deserializedFirewallPolicySql.allowSqlRedirect = reader.getNullable(JsonReader::getBoolean); } else { reader.skipChildren(); } } - return deserializedFirewallPolicySQL; + return deserializedFirewallPolicySql; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java index b550b7811adc..7f5ae0fa2867 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java @@ -16,17 +16,17 @@ * The customer name to be printed on a letter of authorization. */ @Fluent -public final class GenerateExpressRoutePortsLOARequest - implements JsonSerializable { +public final class GenerateExpressRoutePortsLoaRequest + implements JsonSerializable { /* * The customer name. */ private String customerName; /** - * Creates an instance of GenerateExpressRoutePortsLOARequest class. + * Creates an instance of GenerateExpressRoutePortsLoaRequest class. */ - public GenerateExpressRoutePortsLOARequest() { + public GenerateExpressRoutePortsLoaRequest() { } /** @@ -42,9 +42,9 @@ public String customerName() { * Set the customerName property: The customer name. * * @param customerName the customerName value to set. - * @return the GenerateExpressRoutePortsLOARequest object itself. + * @return the GenerateExpressRoutePortsLoaRequest object itself. */ - public GenerateExpressRoutePortsLOARequest withCustomerName(String customerName) { + public GenerateExpressRoutePortsLoaRequest withCustomerName(String customerName) { this.customerName = customerName; return this; } @@ -58,11 +58,11 @@ public void validate() { if (customerName() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( - "Missing required property customerName in model GenerateExpressRoutePortsLOARequest")); + "Missing required property customerName in model GenerateExpressRoutePortsLoaRequest")); } } - private static final ClientLogger LOGGER = new ClientLogger(GenerateExpressRoutePortsLOARequest.class); + private static final ClientLogger LOGGER = new ClientLogger(GenerateExpressRoutePortsLoaRequest.class); /** * {@inheritDoc} @@ -75,30 +75,30 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of GenerateExpressRoutePortsLOARequest from the JsonReader. + * Reads an instance of GenerateExpressRoutePortsLoaRequest from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of GenerateExpressRoutePortsLOARequest if the JsonReader was pointing to an instance of it, + * @return An instance of GenerateExpressRoutePortsLoaRequest 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 GenerateExpressRoutePortsLOARequest. + * @throws IOException If an error occurs while reading the GenerateExpressRoutePortsLoaRequest. */ - public static GenerateExpressRoutePortsLOARequest fromJson(JsonReader jsonReader) throws IOException { + public static GenerateExpressRoutePortsLoaRequest fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - GenerateExpressRoutePortsLOARequest deserializedGenerateExpressRoutePortsLOARequest - = new GenerateExpressRoutePortsLOARequest(); + GenerateExpressRoutePortsLoaRequest deserializedGenerateExpressRoutePortsLoaRequest + = new GenerateExpressRoutePortsLoaRequest(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("customerName".equals(fieldName)) { - deserializedGenerateExpressRoutePortsLOARequest.customerName = reader.getString(); + deserializedGenerateExpressRoutePortsLoaRequest.customerName = reader.getString(); } else { reader.skipChildren(); } } - return deserializedGenerateExpressRoutePortsLOARequest; + return deserializedGenerateExpressRoutePortsLoaRequest; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java index 4aa9ea85b7be..e01a2c6dcf27 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java @@ -15,11 +15,11 @@ * IP addresses associated with azure firewall. */ @Fluent -public final class HubIPAddresses implements JsonSerializable { +public final class HubIpAddresses implements JsonSerializable { /* * Public IP addresses associated with azure firewall. */ - private HubPublicIPAddresses publicIPs; + private HubPublicIpAddresses publicIPs; /* * Private IP Address associated with azure firewall. @@ -27,9 +27,9 @@ public final class HubIPAddresses implements JsonSerializable { private String privateIpAddress; /** - * Creates an instance of HubIPAddresses class. + * Creates an instance of HubIpAddresses class. */ - public HubIPAddresses() { + public HubIpAddresses() { } /** @@ -37,7 +37,7 @@ public HubIPAddresses() { * * @return the publicIPs value. */ - public HubPublicIPAddresses publicIPs() { + public HubPublicIpAddresses publicIPs() { return this.publicIPs; } @@ -45,9 +45,9 @@ public HubPublicIPAddresses publicIPs() { * Set the publicIPs property: Public IP addresses associated with azure firewall. * * @param publicIPs the publicIPs value to set. - * @return the HubIPAddresses object itself. + * @return the HubIpAddresses object itself. */ - public HubIPAddresses withPublicIPs(HubPublicIPAddresses publicIPs) { + public HubIpAddresses withPublicIPs(HubPublicIpAddresses publicIPs) { this.publicIPs = publicIPs; return this; } @@ -65,9 +65,9 @@ public String privateIpAddress() { * Set the privateIpAddress property: Private IP Address associated with azure firewall. * * @param privateIpAddress the privateIpAddress value to set. - * @return the HubIPAddresses object itself. + * @return the HubIpAddresses object itself. */ - public HubIPAddresses withPrivateIpAddress(String privateIpAddress) { + public HubIpAddresses withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -95,30 +95,30 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of HubIPAddresses from the JsonReader. + * Reads an instance of HubIpAddresses from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of HubIPAddresses if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of HubIpAddresses 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 HubIPAddresses. + * @throws IOException If an error occurs while reading the HubIpAddresses. */ - public static HubIPAddresses fromJson(JsonReader jsonReader) throws IOException { + public static HubIpAddresses fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - HubIPAddresses deserializedHubIPAddresses = new HubIPAddresses(); + HubIpAddresses deserializedHubIpAddresses = new HubIpAddresses(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("publicIPs".equals(fieldName)) { - deserializedHubIPAddresses.publicIPs = HubPublicIPAddresses.fromJson(reader); + deserializedHubIpAddresses.publicIPs = HubPublicIpAddresses.fromJson(reader); } else if ("privateIPAddress".equals(fieldName)) { - deserializedHubIPAddresses.privateIpAddress = reader.getString(); + deserializedHubIpAddresses.privateIpAddress = reader.getString(); } else { reader.skipChildren(); } } - return deserializedHubIPAddresses; + return deserializedHubIpAddresses; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java index 61698f59ed17..bb474f9b61b3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java @@ -16,11 +16,11 @@ * Public IP addresses associated with azure firewall. */ @Fluent -public final class HubPublicIPAddresses implements JsonSerializable { +public final class HubPublicIpAddresses implements JsonSerializable { /* * The list of Public IP addresses associated with azure firewall or IP addresses to be retained. */ - private List addresses; + private List addresses; /* * The number of Public IP addresses associated with azure firewall. @@ -28,9 +28,9 @@ public final class HubPublicIPAddresses implements JsonSerializable addresses() { + public List addresses() { return this.addresses; } @@ -48,9 +48,9 @@ public List addresses() { * retained. * * @param addresses the addresses value to set. - * @return the HubPublicIPAddresses object itself. + * @return the HubPublicIpAddresses object itself. */ - public HubPublicIPAddresses withAddresses(List addresses) { + public HubPublicIpAddresses withAddresses(List addresses) { this.addresses = addresses; return this; } @@ -68,9 +68,9 @@ public Integer count() { * Set the count property: The number of Public IP addresses associated with azure firewall. * * @param count the count value to set. - * @return the HubPublicIPAddresses object itself. + * @return the HubPublicIpAddresses object itself. */ - public HubPublicIPAddresses withCount(Integer count) { + public HubPublicIpAddresses withCount(Integer count) { this.count = count; return this; } @@ -98,32 +98,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of HubPublicIPAddresses from the JsonReader. + * Reads an instance of HubPublicIpAddresses from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of HubPublicIPAddresses if the JsonReader was pointing to an instance of it, or null if it + * @return An instance of HubPublicIpAddresses 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 HubPublicIPAddresses. + * @throws IOException If an error occurs while reading the HubPublicIpAddresses. */ - public static HubPublicIPAddresses fromJson(JsonReader jsonReader) throws IOException { + public static HubPublicIpAddresses fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - HubPublicIPAddresses deserializedHubPublicIPAddresses = new HubPublicIPAddresses(); + HubPublicIpAddresses deserializedHubPublicIpAddresses = new HubPublicIpAddresses(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("addresses".equals(fieldName)) { - List addresses - = reader.readArray(reader1 -> AzureFirewallPublicIPAddress.fromJson(reader1)); - deserializedHubPublicIPAddresses.addresses = addresses; + List addresses + = reader.readArray(reader1 -> AzureFirewallPublicIpAddress.fromJson(reader1)); + deserializedHubPublicIpAddresses.addresses = addresses; } else if ("count".equals(fieldName)) { - deserializedHubPublicIPAddresses.count = reader.getNullable(JsonReader::getInt); + deserializedHubPublicIpAddresses.count = reader.getNullable(JsonReader::getInt); } else { reader.skipChildren(); } } - return deserializedHubPublicIPAddresses; + return deserializedHubPublicIpAddresses; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java index 032e42ba5b95..cccd91e6147e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java @@ -16,7 +16,7 @@ * Will describe the query to run against the IDPS signatures DB. */ @Fluent -public final class IDPSQueryObject implements JsonSerializable { +public final class IdpsQueryObject implements JsonSerializable { /* * Contain all filters names and values */ @@ -43,9 +43,9 @@ public final class IDPSQueryObject implements JsonSerializable private Integer skip; /** - * Creates an instance of IDPSQueryObject class. + * Creates an instance of IdpsQueryObject class. */ - public IDPSQueryObject() { + public IdpsQueryObject() { } /** @@ -61,9 +61,9 @@ public List filters() { * Set the filters property: Contain all filters names and values. * * @param filters the filters value to set. - * @return the IDPSQueryObject object itself. + * @return the IdpsQueryObject object itself. */ - public IDPSQueryObject withFilters(List filters) { + public IdpsQueryObject withFilters(List filters) { this.filters = filters; return this; } @@ -81,9 +81,9 @@ public String search() { * Set the search property: Search term in all columns. * * @param search the search value to set. - * @return the IDPSQueryObject object itself. + * @return the IdpsQueryObject object itself. */ - public IDPSQueryObject withSearch(String search) { + public IdpsQueryObject withSearch(String search) { this.search = search; return this; } @@ -101,9 +101,9 @@ public OrderBy orderBy() { * Set the orderBy property: Column to sort response by. * * @param orderBy the orderBy value to set. - * @return the IDPSQueryObject object itself. + * @return the IdpsQueryObject object itself. */ - public IDPSQueryObject withOrderBy(OrderBy orderBy) { + public IdpsQueryObject withOrderBy(OrderBy orderBy) { this.orderBy = orderBy; return this; } @@ -121,9 +121,9 @@ public Integer resultsPerPage() { * Set the resultsPerPage property: The number of the results to return in each page. * * @param resultsPerPage the resultsPerPage value to set. - * @return the IDPSQueryObject object itself. + * @return the IdpsQueryObject object itself. */ - public IDPSQueryObject withResultsPerPage(Integer resultsPerPage) { + public IdpsQueryObject withResultsPerPage(Integer resultsPerPage) { this.resultsPerPage = resultsPerPage; return this; } @@ -141,9 +141,9 @@ public Integer skip() { * Set the skip property: The number of records matching the filter to skip. * * @param skip the skip value to set. - * @return the IDPSQueryObject object itself. + * @return the IdpsQueryObject object itself. */ - public IDPSQueryObject withSkip(Integer skip) { + public IdpsQueryObject withSkip(Integer skip) { this.skip = skip; return this; } @@ -177,37 +177,37 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IDPSQueryObject from the JsonReader. + * Reads an instance of IdpsQueryObject from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IDPSQueryObject if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of IdpsQueryObject 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 IDPSQueryObject. + * @throws IOException If an error occurs while reading the IdpsQueryObject. */ - public static IDPSQueryObject fromJson(JsonReader jsonReader) throws IOException { + public static IdpsQueryObject fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IDPSQueryObject deserializedIDPSQueryObject = new IDPSQueryObject(); + IdpsQueryObject deserializedIdpsQueryObject = new IdpsQueryObject(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("filters".equals(fieldName)) { List filters = reader.readArray(reader1 -> FilterItems.fromJson(reader1)); - deserializedIDPSQueryObject.filters = filters; + deserializedIdpsQueryObject.filters = filters; } else if ("search".equals(fieldName)) { - deserializedIDPSQueryObject.search = reader.getString(); + deserializedIdpsQueryObject.search = reader.getString(); } else if ("orderBy".equals(fieldName)) { - deserializedIDPSQueryObject.orderBy = OrderBy.fromJson(reader); + deserializedIdpsQueryObject.orderBy = OrderBy.fromJson(reader); } else if ("resultsPerPage".equals(fieldName)) { - deserializedIDPSQueryObject.resultsPerPage = reader.getNullable(JsonReader::getInt); + deserializedIdpsQueryObject.resultsPerPage = reader.getNullable(JsonReader::getInt); } else if ("skip".equals(fieldName)) { - deserializedIDPSQueryObject.skip = reader.getNullable(JsonReader::getInt); + deserializedIdpsQueryObject.skip = reader.getNullable(JsonReader::getInt); } else { reader.skipChildren(); } } - return deserializedIDPSQueryObject; + return deserializedIdpsQueryObject; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IntentContent.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IntentContent.java index 97016d59f052..9fae41c8fd2a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IntentContent.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IntentContent.java @@ -35,7 +35,7 @@ public final class IntentContent implements JsonSerializable { /* * IP traffic information. */ - private IPTraffic ipTraffic; + private IpTraffic ipTraffic; /** * Creates an instance of IntentContent class. @@ -75,7 +75,7 @@ public String destinationResourceId() { * * @return the ipTraffic value. */ - public IPTraffic ipTraffic() { + public IpTraffic ipTraffic() { return this.ipTraffic; } @@ -138,7 +138,7 @@ public static IntentContent fromJson(JsonReader jsonReader) throws IOException { } else if ("destinationResourceId".equals(fieldName)) { deserializedIntentContent.destinationResourceId = reader.getString(); } else if ("ipTraffic".equals(fieldName)) { - deserializedIntentContent.ipTraffic = IPTraffic.fromJson(reader); + deserializedIntentContent.ipTraffic = IpTraffic.fromJson(reader); } else if ("description".equals(fieldName)) { deserializedIntentContent.description = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java index de3ac42a213c..1ed558d09e49 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java @@ -16,7 +16,7 @@ * Properties of IPConfigurationBgpPeeringAddress. */ @Fluent -public final class IPConfigurationBgpPeeringAddress implements JsonSerializable { +public final class IpConfigurationBgpPeeringAddress implements JsonSerializable { /* * The ID of IP configuration which belongs to gateway. */ @@ -38,9 +38,9 @@ public final class IPConfigurationBgpPeeringAddress implements JsonSerializable< private List tunnelIpAddresses; /** - * Creates an instance of IPConfigurationBgpPeeringAddress class. + * Creates an instance of IpConfigurationBgpPeeringAddress class. */ - public IPConfigurationBgpPeeringAddress() { + public IpConfigurationBgpPeeringAddress() { } /** @@ -56,9 +56,9 @@ public String ipconfigurationId() { * Set the ipconfigurationId property: The ID of IP configuration which belongs to gateway. * * @param ipconfigurationId the ipconfigurationId value to set. - * @return the IPConfigurationBgpPeeringAddress object itself. + * @return the IpConfigurationBgpPeeringAddress object itself. */ - public IPConfigurationBgpPeeringAddress withIpconfigurationId(String ipconfigurationId) { + public IpConfigurationBgpPeeringAddress withIpconfigurationId(String ipconfigurationId) { this.ipconfigurationId = ipconfigurationId; return this; } @@ -86,9 +86,9 @@ public List customBgpIpAddresses() { * Set the customBgpIpAddresses property: The list of custom BGP peering addresses which belong to IP configuration. * * @param customBgpIpAddresses the customBgpIpAddresses value to set. - * @return the IPConfigurationBgpPeeringAddress object itself. + * @return the IpConfigurationBgpPeeringAddress object itself. */ - public IPConfigurationBgpPeeringAddress withCustomBgpIpAddresses(List customBgpIpAddresses) { + public IpConfigurationBgpPeeringAddress withCustomBgpIpAddresses(List customBgpIpAddresses) { this.customBgpIpAddresses = customBgpIpAddresses; return this; } @@ -123,38 +123,38 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IPConfigurationBgpPeeringAddress from the JsonReader. + * Reads an instance of IpConfigurationBgpPeeringAddress from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IPConfigurationBgpPeeringAddress if the JsonReader was pointing to an instance of it, or + * @return An instance of IpConfigurationBgpPeeringAddress 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 IPConfigurationBgpPeeringAddress. + * @throws IOException If an error occurs while reading the IpConfigurationBgpPeeringAddress. */ - public static IPConfigurationBgpPeeringAddress fromJson(JsonReader jsonReader) throws IOException { + public static IpConfigurationBgpPeeringAddress fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IPConfigurationBgpPeeringAddress deserializedIPConfigurationBgpPeeringAddress - = new IPConfigurationBgpPeeringAddress(); + IpConfigurationBgpPeeringAddress deserializedIpConfigurationBgpPeeringAddress + = new IpConfigurationBgpPeeringAddress(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("ipconfigurationId".equals(fieldName)) { - deserializedIPConfigurationBgpPeeringAddress.ipconfigurationId = reader.getString(); + deserializedIpConfigurationBgpPeeringAddress.ipconfigurationId = reader.getString(); } else if ("defaultBgpIpAddresses".equals(fieldName)) { List defaultBgpIpAddresses = reader.readArray(reader1 -> reader1.getString()); - deserializedIPConfigurationBgpPeeringAddress.defaultBgpIpAddresses = defaultBgpIpAddresses; + deserializedIpConfigurationBgpPeeringAddress.defaultBgpIpAddresses = defaultBgpIpAddresses; } else if ("customBgpIpAddresses".equals(fieldName)) { List customBgpIpAddresses = reader.readArray(reader1 -> reader1.getString()); - deserializedIPConfigurationBgpPeeringAddress.customBgpIpAddresses = customBgpIpAddresses; + deserializedIpConfigurationBgpPeeringAddress.customBgpIpAddresses = customBgpIpAddresses; } else if ("tunnelIpAddresses".equals(fieldName)) { List tunnelIpAddresses = reader.readArray(reader1 -> reader1.getString()); - deserializedIPConfigurationBgpPeeringAddress.tunnelIpAddresses = tunnelIpAddresses; + deserializedIpConfigurationBgpPeeringAddress.tunnelIpAddresses = tunnelIpAddresses; } else { reader.skipChildren(); } } - return deserializedIPConfigurationBgpPeeringAddress; + return deserializedIpConfigurationBgpPeeringAddress; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpRule.java index e7206d8680a3..7343116dbf5f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpRule.java @@ -12,19 +12,19 @@ import java.io.IOException; /** - * The IPRule model. + * The IpRule model. */ @Fluent -public final class IPRule implements JsonSerializable { +public final class IpRule implements JsonSerializable { /* * Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. */ private String addressPrefix; /** - * Creates an instance of IPRule class. + * Creates an instance of IpRule class. */ - public IPRule() { + public IpRule() { } /** @@ -40,9 +40,9 @@ public String addressPrefix() { * Set the addressPrefix property: Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. * * @param addressPrefix the addressPrefix value to set. - * @return the IPRule object itself. + * @return the IpRule object itself. */ - public IPRule withAddressPrefix(String addressPrefix) { + public IpRule withAddressPrefix(String addressPrefix) { this.addressPrefix = addressPrefix; return this; } @@ -66,28 +66,28 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IPRule from the JsonReader. + * Reads an instance of IpRule from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IPRule if the JsonReader was pointing to an instance of it, or null if it was pointing to + * @return An instance of IpRule 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 IPRule. + * @throws IOException If an error occurs while reading the IpRule. */ - public static IPRule fromJson(JsonReader jsonReader) throws IOException { + public static IpRule fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IPRule deserializedIPRule = new IPRule(); + IpRule deserializedIpRule = new IpRule(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("addressPrefix".equals(fieldName)) { - deserializedIPRule.addressPrefix = reader.getString(); + deserializedIpRule.addressPrefix = reader.getString(); } else { reader.skipChildren(); } } - return deserializedIPRule; + return deserializedIpRule; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java index 9e0605039bf1..28ddb638fe92 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java @@ -17,7 +17,7 @@ * IP traffic information. */ @Fluent -public final class IPTraffic implements JsonSerializable { +public final class IpTraffic implements JsonSerializable { /* * List of source IP addresses of the traffic.. */ @@ -44,9 +44,9 @@ public final class IPTraffic implements JsonSerializable { private List protocols; /** - * Creates an instance of IPTraffic class. + * Creates an instance of IpTraffic class. */ - public IPTraffic() { + public IpTraffic() { } /** @@ -62,9 +62,9 @@ public List sourceIps() { * Set the sourceIps property: List of source IP addresses of the traffic.. * * @param sourceIps the sourceIps value to set. - * @return the IPTraffic object itself. + * @return the IpTraffic object itself. */ - public IPTraffic withSourceIps(List sourceIps) { + public IpTraffic withSourceIps(List sourceIps) { this.sourceIps = sourceIps; return this; } @@ -82,9 +82,9 @@ public List destinationIps() { * Set the destinationIps property: List of destination IP addresses of the traffic.. * * @param destinationIps the destinationIps value to set. - * @return the IPTraffic object itself. + * @return the IpTraffic object itself. */ - public IPTraffic withDestinationIps(List destinationIps) { + public IpTraffic withDestinationIps(List destinationIps) { this.destinationIps = destinationIps; return this; } @@ -102,9 +102,9 @@ public List sourcePorts() { * Set the sourcePorts property: The source ports of the traffic. * * @param sourcePorts the sourcePorts value to set. - * @return the IPTraffic object itself. + * @return the IpTraffic object itself. */ - public IPTraffic withSourcePorts(List sourcePorts) { + public IpTraffic withSourcePorts(List sourcePorts) { this.sourcePorts = sourcePorts; return this; } @@ -122,9 +122,9 @@ public List destinationPorts() { * Set the destinationPorts property: The destination ports of the traffic. * * @param destinationPorts the destinationPorts value to set. - * @return the IPTraffic object itself. + * @return the IpTraffic object itself. */ - public IPTraffic withDestinationPorts(List destinationPorts) { + public IpTraffic withDestinationPorts(List destinationPorts) { this.destinationPorts = destinationPorts; return this; } @@ -142,9 +142,9 @@ public List protocols() { * Set the protocols property: The protocols property. * * @param protocols the protocols value to set. - * @return the IPTraffic object itself. + * @return the IpTraffic object itself. */ - public IPTraffic withProtocols(List protocols) { + public IpTraffic withProtocols(List protocols) { this.protocols = protocols; return this; } @@ -157,27 +157,27 @@ public IPTraffic withProtocols(List protocols) { public void validate() { if (sourceIps() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property sourceIps in model IPTraffic")); + .log(new IllegalArgumentException("Missing required property sourceIps in model IpTraffic")); } if (destinationIps() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property destinationIps in model IPTraffic")); + .log(new IllegalArgumentException("Missing required property destinationIps in model IpTraffic")); } if (sourcePorts() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property sourcePorts in model IPTraffic")); + .log(new IllegalArgumentException("Missing required property sourcePorts in model IpTraffic")); } if (destinationPorts() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property destinationPorts in model IPTraffic")); + .log(new IllegalArgumentException("Missing required property destinationPorts in model IpTraffic")); } if (protocols() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property protocols in model IPTraffic")); + .log(new IllegalArgumentException("Missing required property protocols in model IpTraffic")); } } - private static final ClientLogger LOGGER = new ClientLogger(IPTraffic.class); + private static final ClientLogger LOGGER = new ClientLogger(IpTraffic.class); /** * {@inheritDoc} @@ -197,43 +197,43 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IPTraffic from the JsonReader. + * Reads an instance of IpTraffic from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IPTraffic if the JsonReader was pointing to an instance of it, or null if it was pointing + * @return An instance of IpTraffic 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 IPTraffic. + * @throws IOException If an error occurs while reading the IpTraffic. */ - public static IPTraffic fromJson(JsonReader jsonReader) throws IOException { + public static IpTraffic fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IPTraffic deserializedIPTraffic = new IPTraffic(); + IpTraffic deserializedIpTraffic = new IpTraffic(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("sourceIps".equals(fieldName)) { List sourceIps = reader.readArray(reader1 -> reader1.getString()); - deserializedIPTraffic.sourceIps = sourceIps; + deserializedIpTraffic.sourceIps = sourceIps; } else if ("destinationIps".equals(fieldName)) { List destinationIps = reader.readArray(reader1 -> reader1.getString()); - deserializedIPTraffic.destinationIps = destinationIps; + deserializedIpTraffic.destinationIps = destinationIps; } else if ("sourcePorts".equals(fieldName)) { List sourcePorts = reader.readArray(reader1 -> reader1.getString()); - deserializedIPTraffic.sourcePorts = sourcePorts; + deserializedIpTraffic.sourcePorts = sourcePorts; } else if ("destinationPorts".equals(fieldName)) { List destinationPorts = reader.readArray(reader1 -> reader1.getString()); - deserializedIPTraffic.destinationPorts = destinationPorts; + deserializedIpTraffic.destinationPorts = destinationPorts; } else if ("protocols".equals(fieldName)) { List protocols = reader.readArray(reader1 -> NetworkProtocol.fromString(reader1.getString())); - deserializedIPTraffic.protocols = protocols; + deserializedIpTraffic.protocols = protocols; } else { reader.skipChildren(); } } - return deserializedIPTraffic; + return deserializedIpTraffic; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java index d401c6082230..db090fd4448d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java @@ -20,7 +20,7 @@ public final class LoadBalancerVipSwapRequest implements JsonSerializable frontendIpConfigurations; + private List frontendIpConfigurations; /** * Creates an instance of LoadBalancerVipSwapRequest class. @@ -33,7 +33,7 @@ public LoadBalancerVipSwapRequest() { * * @return the frontendIpConfigurations value. */ - public List frontendIpConfigurations() { + public List frontendIpConfigurations() { return this.frontendIpConfigurations; } @@ -44,7 +44,7 @@ public List frontendIpConfigu * @return the LoadBalancerVipSwapRequest object itself. */ public LoadBalancerVipSwapRequest - withFrontendIpConfigurations(List frontendIpConfigurations) { + withFrontendIpConfigurations(List frontendIpConfigurations) { this.frontendIpConfigurations = frontendIpConfigurations; return this; } @@ -87,8 +87,8 @@ public static LoadBalancerVipSwapRequest fromJson(JsonReader jsonReader) throws reader.nextToken(); if ("frontendIPConfigurations".equals(fieldName)) { - List frontendIpConfigurations = reader - .readArray(reader1 -> LoadBalancerVipSwapRequestFrontendIPConfiguration.fromJson(reader1)); + List frontendIpConfigurations = reader + .readArray(reader1 -> LoadBalancerVipSwapRequestFrontendIpConfiguration.fromJson(reader1)); deserializedLoadBalancerVipSwapRequest.frontendIpConfigurations = frontendIpConfigurations; } else { reader.skipChildren(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java index fb4fb01e9a73..f80869051ebd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java @@ -17,8 +17,8 @@ * VIP swap request's frontend IP configuration object. */ @Fluent -public final class LoadBalancerVipSwapRequestFrontendIPConfiguration - implements JsonSerializable { +public final class LoadBalancerVipSwapRequestFrontendIpConfiguration + implements JsonSerializable { /* * The ID of frontend IP configuration resource. */ @@ -30,9 +30,9 @@ public final class LoadBalancerVipSwapRequestFrontendIPConfiguration private LoadBalancerVipSwapRequestFrontendIPConfigurationProperties innerProperties; /** - * Creates an instance of LoadBalancerVipSwapRequestFrontendIPConfiguration class. + * Creates an instance of LoadBalancerVipSwapRequestFrontendIpConfiguration class. */ - public LoadBalancerVipSwapRequestFrontendIPConfiguration() { + public LoadBalancerVipSwapRequestFrontendIpConfiguration() { } /** @@ -48,9 +48,9 @@ public String id() { * Set the id property: The ID of frontend IP configuration resource. * * @param id the id value to set. - * @return the LoadBalancerVipSwapRequestFrontendIPConfiguration object itself. + * @return the LoadBalancerVipSwapRequestFrontendIpConfiguration object itself. */ - public LoadBalancerVipSwapRequestFrontendIPConfiguration withId(String id) { + public LoadBalancerVipSwapRequestFrontendIpConfiguration withId(String id) { this.id = id; return this; } @@ -77,9 +77,9 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: A reference to public IP address resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the LoadBalancerVipSwapRequestFrontendIPConfiguration object itself. + * @return the LoadBalancerVipSwapRequestFrontendIpConfiguration object itself. */ - public LoadBalancerVipSwapRequestFrontendIPConfiguration withPublicIpAddress(SubResource publicIpAddress) { + public LoadBalancerVipSwapRequestFrontendIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { this.innerProperties = new LoadBalancerVipSwapRequestFrontendIPConfigurationProperties(); } @@ -110,32 +110,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of LoadBalancerVipSwapRequestFrontendIPConfiguration from the JsonReader. + * Reads an instance of LoadBalancerVipSwapRequestFrontendIpConfiguration from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of LoadBalancerVipSwapRequestFrontendIPConfiguration if the JsonReader was pointing to an + * @return An instance of LoadBalancerVipSwapRequestFrontendIpConfiguration 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 LoadBalancerVipSwapRequestFrontendIPConfiguration. + * @throws IOException If an error occurs while reading the LoadBalancerVipSwapRequestFrontendIpConfiguration. */ - public static LoadBalancerVipSwapRequestFrontendIPConfiguration fromJson(JsonReader jsonReader) throws IOException { + public static LoadBalancerVipSwapRequestFrontendIpConfiguration fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - LoadBalancerVipSwapRequestFrontendIPConfiguration deserializedLoadBalancerVipSwapRequestFrontendIPConfiguration - = new LoadBalancerVipSwapRequestFrontendIPConfiguration(); + LoadBalancerVipSwapRequestFrontendIpConfiguration deserializedLoadBalancerVipSwapRequestFrontendIpConfiguration + = new LoadBalancerVipSwapRequestFrontendIpConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedLoadBalancerVipSwapRequestFrontendIPConfiguration.id = reader.getString(); + deserializedLoadBalancerVipSwapRequestFrontendIpConfiguration.id = reader.getString(); } else if ("properties".equals(fieldName)) { - deserializedLoadBalancerVipSwapRequestFrontendIPConfiguration.innerProperties + deserializedLoadBalancerVipSwapRequestFrontendIpConfiguration.innerProperties = LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedLoadBalancerVipSwapRequestFrontendIPConfiguration; + return deserializedLoadBalancerVipSwapRequestFrontendIpConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java index 3b26772b24af..59a8a1b77a82 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java @@ -16,8 +16,8 @@ * PrivateLinkConnection properties for the network interface. */ @Immutable -public final class NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties - implements JsonSerializable { +public final class NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties + implements JsonSerializable { /* * The group ID for current private link connection. */ @@ -34,9 +34,9 @@ public final class NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertie private List fqdns; /** - * Creates an instance of NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties class. + * Creates an instance of NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties class. */ - private NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties() { + private NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties() { } /** @@ -84,38 +84,38 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties from the JsonReader. + * Reads an instance of NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties if the JsonReader was + * @return An instance of NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties 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 - * NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties. + * NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties. */ - public static NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties fromJson(JsonReader jsonReader) + public static NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties deserializedNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties - = new NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(); + NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties deserializedNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties + = new NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("groupId".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.groupId + deserializedNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.groupId = reader.getString(); } else if ("requiredMemberName".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.requiredMemberName + deserializedNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.requiredMemberName = reader.getString(); } else if ("fqdns".equals(fieldName)) { List fqdns = reader.readArray(reader1 -> reader1.getString()); - deserializedNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.fqdns = fqdns; + deserializedNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.fqdns = fqdns; } else { reader.skipChildren(); } } - return deserializedNetworkInterfaceIPConfigurationPrivateLinkConnectionProperties; + return deserializedNetworkInterfaceIpConfigurationPrivateLinkConnectionProperties; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OrderBy.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OrderBy.java index 6c022d33c109..bab28ab9be65 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OrderBy.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/OrderBy.java @@ -24,7 +24,7 @@ public final class OrderBy implements JsonSerializable { /* * Describes if results should be in ascending/descending order */ - private FirewallPolicyIDPSQuerySortOrder order; + private FirewallPolicyIdpsQuerySortOrder order; /** * Creates an instance of OrderBy class. @@ -57,7 +57,7 @@ public OrderBy withField(String field) { * * @return the order value. */ - public FirewallPolicyIDPSQuerySortOrder order() { + public FirewallPolicyIdpsQuerySortOrder order() { return this.order; } @@ -67,7 +67,7 @@ public FirewallPolicyIDPSQuerySortOrder order() { * @param order the order value to set. * @return the OrderBy object itself. */ - public OrderBy withOrder(FirewallPolicyIDPSQuerySortOrder order) { + public OrderBy withOrder(FirewallPolicyIdpsQuerySortOrder order) { this.order = order; return this; } @@ -109,7 +109,7 @@ public static OrderBy fromJson(JsonReader jsonReader) throws IOException { if ("field".equals(fieldName)) { deserializedOrderBy.field = reader.getString(); } else if ("order".equals(fieldName)) { - deserializedOrderBy.order = FirewallPolicyIDPSQuerySortOrder.fromString(reader.getString()); + deserializedOrderBy.order = FirewallPolicyIdpsQuerySortOrder.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java index 8f315414b645..891f5e0bee45 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java @@ -11,42 +11,42 @@ * The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version * depending on other parameters. */ -public final class PreferredIPVersion extends ExpandableStringEnum { +public final class PreferredIpVersion extends ExpandableStringEnum { /** * IPv4. */ - public static final PreferredIPVersion IPV4 = fromString("IPv4"); + public static final PreferredIpVersion IPV4 = fromString("IPv4"); /** * IPv6. */ - public static final PreferredIPVersion IPV6 = fromString("IPv6"); + public static final PreferredIpVersion IPV6 = fromString("IPv6"); /** - * Creates a new instance of PreferredIPVersion value. + * Creates a new instance of PreferredIpVersion value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PreferredIPVersion() { + public PreferredIpVersion() { } /** - * Creates or finds a PreferredIPVersion from its string representation. + * Creates or finds a PreferredIpVersion from its string representation. * * @param name a name to look for. - * @return the corresponding PreferredIPVersion. + * @return the corresponding PreferredIpVersion. */ - public static PreferredIPVersion fromString(String name) { - return fromString(name, PreferredIPVersion.class); + public static PreferredIpVersion fromString(String name) { + return fromString(name, PreferredIpVersion.class); } /** - * Gets known PreferredIPVersion values. + * Gets known PreferredIpVersion values. * - * @return known PreferredIPVersion values. + * @return known PreferredIpVersion values. */ - public static Collection values() { - return values(PreferredIPVersion.class); + public static Collection values() { + return values(PreferredIpVersion.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java index 199125ae4516..b477d0009b2d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java @@ -16,7 +16,7 @@ * An IP Configuration of the private endpoint. */ @Fluent -public final class PrivateEndpointIPConfiguration implements JsonSerializable { +public final class PrivateEndpointIpConfiguration implements JsonSerializable { /* * Properties of private endpoint IP configurations. */ @@ -38,9 +38,9 @@ public final class PrivateEndpointIPConfiguration implements JsonSerializable { - PrivateEndpointIPConfiguration deserializedPrivateEndpointIPConfiguration - = new PrivateEndpointIPConfiguration(); + PrivateEndpointIpConfiguration deserializedPrivateEndpointIpConfiguration + = new PrivateEndpointIpConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("properties".equals(fieldName)) { - deserializedPrivateEndpointIPConfiguration.innerProperties + deserializedPrivateEndpointIpConfiguration.innerProperties = PrivateEndpointIPConfigurationProperties.fromJson(reader); } else if ("name".equals(fieldName)) { - deserializedPrivateEndpointIPConfiguration.name = reader.getString(); + deserializedPrivateEndpointIpConfiguration.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedPrivateEndpointIPConfiguration.type = reader.getString(); + deserializedPrivateEndpointIpConfiguration.type = reader.getString(); } else if ("etag".equals(fieldName)) { - deserializedPrivateEndpointIPConfiguration.etag = reader.getString(); + deserializedPrivateEndpointIpConfiguration.etag = reader.getString(); } else { reader.skipChildren(); } } - return deserializedPrivateEndpointIPConfiguration; + return deserializedPrivateEndpointIpConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java index 2fcccad6b4f3..f90846a562de 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java @@ -10,47 +10,47 @@ /** * Specifies the IP version type for the private IPs of the private endpoint. If not defined, this defaults to IPv4. */ -public final class PrivateEndpointIPVersionType extends ExpandableStringEnum { +public final class PrivateEndpointIpVersionType extends ExpandableStringEnum { /** * Indicates that the Private IPs of the private endpoint will be IPv4 only. */ - public static final PrivateEndpointIPVersionType IPV4 = fromString("IPv4"); + public static final PrivateEndpointIpVersionType IPV4 = fromString("IPv4"); /** * Indicates that the Private IPs of the private endpoint will be IPv6 only. */ - public static final PrivateEndpointIPVersionType IPV6 = fromString("IPv6"); + public static final PrivateEndpointIpVersionType IPV6 = fromString("IPv6"); /** * Indicates that the Private IPs of the private endpoint can be both IPv4 and IPv6. */ - public static final PrivateEndpointIPVersionType DUAL_STACK = fromString("DualStack"); + public static final PrivateEndpointIpVersionType DUAL_STACK = fromString("DualStack"); /** - * Creates a new instance of PrivateEndpointIPVersionType value. + * Creates a new instance of PrivateEndpointIpVersionType value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PrivateEndpointIPVersionType() { + public PrivateEndpointIpVersionType() { } /** - * Creates or finds a PrivateEndpointIPVersionType from its string representation. + * Creates or finds a PrivateEndpointIpVersionType from its string representation. * * @param name a name to look for. - * @return the corresponding PrivateEndpointIPVersionType. + * @return the corresponding PrivateEndpointIpVersionType. */ - public static PrivateEndpointIPVersionType fromString(String name) { - return fromString(name, PrivateEndpointIPVersionType.class); + public static PrivateEndpointIpVersionType fromString(String name) { + return fromString(name, PrivateEndpointIpVersionType.class); } /** - * Gets known PrivateEndpointIPVersionType values. + * Gets known PrivateEndpointIpVersionType values. * - * @return known PrivateEndpointIPVersionType values. + * @return known PrivateEndpointIpVersionType values. */ - public static Collection values() { - return values(PrivateEndpointIPVersionType.class); + public static Collection values() { + return values(PrivateEndpointIpVersionType.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java index 34cae034fc28..d926e492e922 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java @@ -10,57 +10,57 @@ /** * Migration phase of Public IP Address. */ -public final class PublicIPAddressMigrationPhase extends ExpandableStringEnum { +public final class PublicIpAddressMigrationPhase extends ExpandableStringEnum { /** * None. */ - public static final PublicIPAddressMigrationPhase NONE = fromString("None"); + public static final PublicIpAddressMigrationPhase NONE = fromString("None"); /** * Prepare. */ - public static final PublicIPAddressMigrationPhase PREPARE = fromString("Prepare"); + public static final PublicIpAddressMigrationPhase PREPARE = fromString("Prepare"); /** * Commit. */ - public static final PublicIPAddressMigrationPhase COMMIT = fromString("Commit"); + public static final PublicIpAddressMigrationPhase COMMIT = fromString("Commit"); /** * Abort. */ - public static final PublicIPAddressMigrationPhase ABORT = fromString("Abort"); + public static final PublicIpAddressMigrationPhase ABORT = fromString("Abort"); /** * Committed. */ - public static final PublicIPAddressMigrationPhase COMMITTED = fromString("Committed"); + public static final PublicIpAddressMigrationPhase COMMITTED = fromString("Committed"); /** - * Creates a new instance of PublicIPAddressMigrationPhase value. + * Creates a new instance of PublicIpAddressMigrationPhase value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PublicIPAddressMigrationPhase() { + public PublicIpAddressMigrationPhase() { } /** - * Creates or finds a PublicIPAddressMigrationPhase from its string representation. + * Creates or finds a PublicIpAddressMigrationPhase from its string representation. * * @param name a name to look for. - * @return the corresponding PublicIPAddressMigrationPhase. + * @return the corresponding PublicIpAddressMigrationPhase. */ - public static PublicIPAddressMigrationPhase fromString(String name) { - return fromString(name, PublicIPAddressMigrationPhase.class); + public static PublicIpAddressMigrationPhase fromString(String name) { + return fromString(name, PublicIpAddressMigrationPhase.class); } /** - * Gets known PublicIPAddressMigrationPhase values. + * Gets known PublicIpAddressMigrationPhase values. * - * @return known PublicIPAddressMigrationPhase values. + * @return known PublicIpAddressMigrationPhase values. */ - public static Collection values() { - return values(PublicIPAddressMigrationPhase.class); + public static Collection values() { + return values(PublicIpAddressMigrationPhase.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java index d996937ec14d..e5526c96889a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java @@ -24,7 +24,7 @@ public final class PublicIpAddressSku implements JsonSerializable { +public final class PublicIpAddressSkuTier extends ExpandableStringEnum { /** * Regional. */ - public static final PublicIPAddressSkuTier REGIONAL = fromString("Regional"); + public static final PublicIpAddressSkuTier REGIONAL = fromString("Regional"); /** * Global. */ - public static final PublicIPAddressSkuTier GLOBAL = fromString("Global"); + public static final PublicIpAddressSkuTier GLOBAL = fromString("Global"); /** - * Creates a new instance of PublicIPAddressSkuTier value. + * Creates a new instance of PublicIpAddressSkuTier value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PublicIPAddressSkuTier() { + public PublicIpAddressSkuTier() { } /** - * Creates or finds a PublicIPAddressSkuTier from its string representation. + * Creates or finds a PublicIpAddressSkuTier from its string representation. * * @param name a name to look for. - * @return the corresponding PublicIPAddressSkuTier. + * @return the corresponding PublicIpAddressSkuTier. */ - public static PublicIPAddressSkuTier fromString(String name) { - return fromString(name, PublicIPAddressSkuTier.class); + public static PublicIpAddressSkuTier fromString(String name) { + return fromString(name, PublicIpAddressSkuTier.class); } /** - * Gets known PublicIPAddressSkuTier values. + * Gets known PublicIpAddressSkuTier values. * - * @return known PublicIPAddressSkuTier values. + * @return known PublicIpAddressSkuTier values. */ - public static Collection values() { - return values(PublicIPAddressSkuTier.class); + public static Collection values() { + return values(PublicIpAddressSkuTier.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java index 13a7f00f53cc..c8c9a3b71d42 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java @@ -19,12 +19,12 @@ public final class PublicIpPrefixSku implements JsonSerializable { +public final class PublicIpPrefixSkuName extends ExpandableStringEnum { /** * Standard. */ - public static final PublicIPPrefixSkuName STANDARD = fromString("Standard"); + public static final PublicIpPrefixSkuName STANDARD = fromString("Standard"); /** * StandardV2. */ - public static final PublicIPPrefixSkuName STANDARD_V2 = fromString("StandardV2"); + public static final PublicIpPrefixSkuName STANDARD_V2 = fromString("StandardV2"); /** - * Creates a new instance of PublicIPPrefixSkuName value. + * Creates a new instance of PublicIpPrefixSkuName value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PublicIPPrefixSkuName() { + public PublicIpPrefixSkuName() { } /** - * Creates or finds a PublicIPPrefixSkuName from its string representation. + * Creates or finds a PublicIpPrefixSkuName from its string representation. * * @param name a name to look for. - * @return the corresponding PublicIPPrefixSkuName. + * @return the corresponding PublicIpPrefixSkuName. */ - public static PublicIPPrefixSkuName fromString(String name) { - return fromString(name, PublicIPPrefixSkuName.class); + public static PublicIpPrefixSkuName fromString(String name) { + return fromString(name, PublicIpPrefixSkuName.class); } /** - * Gets known PublicIPPrefixSkuName values. + * Gets known PublicIpPrefixSkuName values. * - * @return known PublicIPPrefixSkuName values. + * @return known PublicIpPrefixSkuName values. */ - public static Collection values() { - return values(PublicIPPrefixSkuName.class); + public static Collection values() { + return values(PublicIpPrefixSkuName.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java index 5c9cac772a06..c8b728e77ccc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java @@ -10,42 +10,42 @@ /** * Tier of a public IP prefix SKU. */ -public final class PublicIPPrefixSkuTier extends ExpandableStringEnum { +public final class PublicIpPrefixSkuTier extends ExpandableStringEnum { /** * Regional. */ - public static final PublicIPPrefixSkuTier REGIONAL = fromString("Regional"); + public static final PublicIpPrefixSkuTier REGIONAL = fromString("Regional"); /** * Global. */ - public static final PublicIPPrefixSkuTier GLOBAL = fromString("Global"); + public static final PublicIpPrefixSkuTier GLOBAL = fromString("Global"); /** - * Creates a new instance of PublicIPPrefixSkuTier value. + * Creates a new instance of PublicIpPrefixSkuTier value. * * @deprecated Use the {@link #fromString(String)} factory method. */ @Deprecated - public PublicIPPrefixSkuTier() { + public PublicIpPrefixSkuTier() { } /** - * Creates or finds a PublicIPPrefixSkuTier from its string representation. + * Creates or finds a PublicIpPrefixSkuTier from its string representation. * * @param name a name to look for. - * @return the corresponding PublicIPPrefixSkuTier. + * @return the corresponding PublicIpPrefixSkuTier. */ - public static PublicIPPrefixSkuTier fromString(String name) { - return fromString(name, PublicIPPrefixSkuTier.class); + public static PublicIpPrefixSkuTier fromString(String name) { + return fromString(name, PublicIpPrefixSkuTier.class); } /** - * Gets known PublicIPPrefixSkuTier values. + * Gets known PublicIpPrefixSkuTier values. * - * @return known PublicIPPrefixSkuTier values. + * @return known PublicIpPrefixSkuTier values. */ - public static Collection values() { - return values(PublicIPPrefixSkuTier.class); + public static Collection values() { + return values(PublicIpPrefixSkuTier.class); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java index 5603417838f2..037070d52193 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java @@ -41,7 +41,7 @@ public final class ReachabilityAnalysisIntentProperties /* * IP traffic information. */ - private IPTraffic ipTraffic; + private IpTraffic ipTraffic; /** * Creates an instance of ReachabilityAnalysisIntentProperties class. @@ -123,7 +123,7 @@ public ReachabilityAnalysisIntentProperties withDestinationResourceId(String des * * @return the ipTraffic value. */ - public IPTraffic ipTraffic() { + public IpTraffic ipTraffic() { return this.ipTraffic; } @@ -133,7 +133,7 @@ public IPTraffic ipTraffic() { * @param ipTraffic the ipTraffic value to set. * @return the ReachabilityAnalysisIntentProperties object itself. */ - public ReachabilityAnalysisIntentProperties withIpTraffic(IPTraffic ipTraffic) { + public ReachabilityAnalysisIntentProperties withIpTraffic(IpTraffic ipTraffic) { this.ipTraffic = ipTraffic; return this; } @@ -200,7 +200,7 @@ public static ReachabilityAnalysisIntentProperties fromJson(JsonReader jsonReade } else if ("destinationResourceId".equals(fieldName)) { deserializedReachabilityAnalysisIntentProperties.destinationResourceId = reader.getString(); } else if ("ipTraffic".equals(fieldName)) { - deserializedReachabilityAnalysisIntentProperties.ipTraffic = IPTraffic.fromJson(reader); + deserializedReachabilityAnalysisIntentProperties.ipTraffic = IpTraffic.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedReachabilityAnalysisIntentProperties.provisioningState = BaseProvisioningState.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java index 872bb3acd4f4..6853b27c2042 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java @@ -25,18 +25,18 @@ public final class SingleQueryResult implements JsonSerializable addressPrefixes) { } /** - * Get the totalNumberOfIPAddresses property: Total number of IP addresses allocated for the static CIDR resource. + * Get the totalNumberOfIpAddresses property: Total number of IP addresses allocated for the static CIDR resource. * - * @return the totalNumberOfIPAddresses value. + * @return the totalNumberOfIpAddresses value. */ - public String totalNumberOfIPAddresses() { - return this.totalNumberOfIPAddresses; + public String totalNumberOfIpAddresses() { + return this.totalNumberOfIpAddresses; } /** @@ -144,7 +144,7 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("description", this.description); - jsonWriter.writeStringField("numberOfIPAddressesToAllocate", this.numberOfIPAddressesToAllocate); + jsonWriter.writeStringField("numberOfIPAddressesToAllocate", this.numberOfIpAddressesToAllocate); jsonWriter.writeArrayField("addressPrefixes", this.addressPrefixes, (writer, element) -> writer.writeString(element)); return jsonWriter.writeEndObject(); @@ -168,12 +168,12 @@ public static StaticCidrProperties fromJson(JsonReader jsonReader) throws IOExce if ("description".equals(fieldName)) { deserializedStaticCidrProperties.description = reader.getString(); } else if ("numberOfIPAddressesToAllocate".equals(fieldName)) { - deserializedStaticCidrProperties.numberOfIPAddressesToAllocate = reader.getString(); + deserializedStaticCidrProperties.numberOfIpAddressesToAllocate = reader.getString(); } else if ("addressPrefixes".equals(fieldName)) { List addressPrefixes = reader.readArray(reader1 -> reader1.getString()); deserializedStaticCidrProperties.addressPrefixes = addressPrefixes; } else if ("totalNumberOfIPAddresses".equals(fieldName)) { - deserializedStaticCidrProperties.totalNumberOfIPAddresses = reader.getString(); + deserializedStaticCidrProperties.totalNumberOfIpAddresses = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedStaticCidrProperties.provisioningState = BaseProvisioningState.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java index 437b5a3018a1..44c6c0953baa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java @@ -15,7 +15,7 @@ * Represents a single IP configuration. */ @Fluent -public final class VirtualApplianceIPConfiguration implements JsonSerializable { +public final class VirtualApplianceIpConfiguration implements JsonSerializable { /* * For hub NVAs, primary IP configs must be named 'privatenicipconfig' and 'publicnicipconfig', with non-primary * configs using these prefixes; no naming restrictions apply for NVAs in VNets. Maximum 80 character are allowed. @@ -25,12 +25,12 @@ public final class VirtualApplianceIPConfiguration implements JsonSerializable { - VirtualApplianceIPConfiguration deserializedVirtualApplianceIPConfiguration - = new VirtualApplianceIPConfiguration(); + VirtualApplianceIpConfiguration deserializedVirtualApplianceIpConfiguration + = new VirtualApplianceIpConfiguration(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("name".equals(fieldName)) { - deserializedVirtualApplianceIPConfiguration.name = reader.getString(); + deserializedVirtualApplianceIpConfiguration.name = reader.getString(); } else if ("properties".equals(fieldName)) { - deserializedVirtualApplianceIPConfiguration.properties - = VirtualApplianceIPConfigurationProperties.fromJson(reader); + deserializedVirtualApplianceIpConfiguration.properties + = VirtualApplianceIpConfigurationProperties.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedVirtualApplianceIPConfiguration; + return deserializedVirtualApplianceIpConfiguration; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java index 73e8c823bb21..ed8e80b8a394 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java @@ -15,17 +15,17 @@ * Represents a single IP configuration properties. */ @Fluent -public final class VirtualApplianceIPConfigurationProperties - implements JsonSerializable { +public final class VirtualApplianceIpConfigurationProperties + implements JsonSerializable { /* * Whether or not this is primary IP configuration of the NIC. */ private Boolean primary; /** - * Creates an instance of VirtualApplianceIPConfigurationProperties class. + * Creates an instance of VirtualApplianceIpConfigurationProperties class. */ - public VirtualApplianceIPConfigurationProperties() { + public VirtualApplianceIpConfigurationProperties() { } /** @@ -41,9 +41,9 @@ public Boolean primary() { * Set the primary property: Whether or not this is primary IP configuration of the NIC. * * @param primary the primary value to set. - * @return the VirtualApplianceIPConfigurationProperties object itself. + * @return the VirtualApplianceIpConfigurationProperties object itself. */ - public VirtualApplianceIPConfigurationProperties withPrimary(Boolean primary) { + public VirtualApplianceIpConfigurationProperties withPrimary(Boolean primary) { this.primary = primary; return this; } @@ -67,30 +67,30 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of VirtualApplianceIPConfigurationProperties from the JsonReader. + * Reads an instance of VirtualApplianceIpConfigurationProperties from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VirtualApplianceIPConfigurationProperties if the JsonReader was pointing to an instance of + * @return An instance of VirtualApplianceIpConfigurationProperties 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 VirtualApplianceIPConfigurationProperties. + * @throws IOException If an error occurs while reading the VirtualApplianceIpConfigurationProperties. */ - public static VirtualApplianceIPConfigurationProperties fromJson(JsonReader jsonReader) throws IOException { + public static VirtualApplianceIpConfigurationProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VirtualApplianceIPConfigurationProperties deserializedVirtualApplianceIPConfigurationProperties - = new VirtualApplianceIPConfigurationProperties(); + VirtualApplianceIpConfigurationProperties deserializedVirtualApplianceIpConfigurationProperties + = new VirtualApplianceIpConfigurationProperties(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("primary".equals(fieldName)) { - deserializedVirtualApplianceIPConfigurationProperties.primary + deserializedVirtualApplianceIpConfigurationProperties.primary = reader.getNullable(JsonReader::getBoolean); } else { reader.skipChildren(); } } - return deserializedVirtualApplianceIPConfigurationProperties; + return deserializedVirtualApplianceIpConfigurationProperties; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java index 8e0813f72848..84ad2bcfa2d4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java @@ -21,7 +21,7 @@ public final class VirtualApplianceNetworkInterfaceConfigurationProperties /* * The ipConfigurations property. */ - private List ipConfigurations; + private List ipConfigurations; /** * Creates an instance of VirtualApplianceNetworkInterfaceConfigurationProperties class. @@ -34,7 +34,7 @@ public VirtualApplianceNetworkInterfaceConfigurationProperties() { * * @return the ipConfigurations value. */ - public List ipConfigurations() { + public List ipConfigurations() { return this.ipConfigurations; } @@ -45,7 +45,7 @@ public List ipConfigurations() { * @return the VirtualApplianceNetworkInterfaceConfigurationProperties object itself. */ public VirtualApplianceNetworkInterfaceConfigurationProperties - withIpConfigurations(List ipConfigurations) { + withIpConfigurations(List ipConfigurations) { this.ipConfigurations = ipConfigurations; return this; } @@ -90,8 +90,8 @@ public static VirtualApplianceNetworkInterfaceConfigurationProperties fromJson(J reader.nextToken(); if ("ipConfigurations".equals(fieldName)) { - List ipConfigurations - = reader.readArray(reader1 -> VirtualApplianceIPConfiguration.fromJson(reader1)); + List ipConfigurations + = reader.readArray(reader1 -> VirtualApplianceIpConfiguration.fromJson(reader1)); deserializedVirtualApplianceNetworkInterfaceConfigurationProperties.ipConfigurations = ipConfigurations; } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java index fb60e72e032e..a4446be678b7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java @@ -44,7 +44,7 @@ public final class VpnClientConnectionHealthDetail implements JsonSerializable Date: Tue, 24 Mar 2026 16:54:58 +0800 Subject: [PATCH 14/33] Regenerate with property-level casing fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../CHANGELOG.md | 365 ++++++++---------- ...ayBackendHttpSettingsPropertiesFormat.java | 22 +- ...yPrivateLinkIpConfigurationProperties.java | 22 +- ...alancerBackendAddressPropertiesFormat.java | 34 +- ...ApplicationGatewayBackendHttpSettings.java | 16 +- ...tionGatewayPrivateLinkIpConfiguration.java | 16 +- .../ConnectionMonitorTestConfiguration.java | 22 +- .../models/ConnectivityParameters.java | 22 +- .../models/LoadBalancerBackendAddress.java | 24 +- ...alancerHealthPerRulePerBackendAddress.java | 14 +- .../LoadBalancersCreateOrUpdateSamples.java | 2 +- ...tworkWatchersCheckConnectivitySamples.java | 2 +- 12 files changed, 252 insertions(+), 309 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index ed852a2e4ae4..23faec8d50a8 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -313,10 +313,10 @@ #### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access -* `withNeighbor(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed -* `withStateOrPrefixesReceived(java.lang.String)` was removed +* `withNeighbor(java.lang.String)` was removed * `withAsn(java.lang.Integer)` was removed +* `withStateOrPrefixesReceived(java.lang.String)` was removed #### `models.UsageName` was modified @@ -327,16 +327,16 @@ #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access -* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed +* `withDefaultSecurityRules(java.util.List)` was removed * `withSubnetAssociation(models.SubnetAssociation)` was removed +* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed * `withEffectiveSecurityRules(java.util.List)` was removed -* `withDefaultSecurityRules(java.util.List)` was removed #### `models.ResourceBasics` was modified * `ResourceBasics()` was changed to private access -* `withAddressPrefixes(java.util.List)` was removed * `withResourceId(java.lang.String)` was removed +* `withAddressPrefixes(java.util.List)` was removed #### `models.MatchedRule` was modified @@ -347,12 +347,12 @@ #### `models.ApplicationGatewayFirewallRule` was modified * `ApplicationGatewayFirewallRule()` was changed to private access -* `withRuleIdString(java.lang.String)` was removed -* `withRuleId(int)` was removed +* `withDescription(java.lang.String)` was removed * `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed * `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed +* `withRuleId(int)` was removed * `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed -* `withDescription(java.lang.String)` was removed +* `withRuleIdString(java.lang.String)` was removed #### `models.VpnGatewayIpConfiguration` was modified @@ -364,23 +364,23 @@ #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access +* `withSource(models.EffectiveRouteSource)` was removed * `withAddressPrefix(java.util.List)` was removed -* `withName(java.lang.String)` was removed -* `withNextHopIpAddress(java.util.List)` was removed -* `withNextHopType(models.RouteNextHopType)` was removed * `withState(models.EffectiveRouteState)` was removed * `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed -* `withSource(models.EffectiveRouteSource)` was removed +* `withName(java.lang.String)` was removed +* `withNextHopType(models.RouteNextHopType)` was removed +* `withNextHopIpAddress(java.util.List)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `privateIpAddress()` was removed -* `withPrimary(java.lang.Boolean)` was removed * `withId(java.lang.String)` was removed -* `withPrivateIpAddress(java.lang.String)` was removed * `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed +* `privateIpAddress()` was removed * `withName(java.lang.String)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed +* `withPrimary(java.lang.Boolean)` was removed * `withPrivateIpAddressVersion(models.IpVersion)` was removed #### `models.TunnelConnectionHealth` was modified @@ -394,23 +394,23 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed +* `withSources(java.util.List)` was removed * `withId(java.lang.String)` was removed -* `withRegion(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withSourcePortRanges(java.util.List)` was removed * `withDestinationPortRanges(java.util.List)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withSources(java.util.List)` was removed +* `withDestinations(java.util.List)` was removed * `withDescription(java.lang.String)` was removed +* `withRegion(java.lang.String)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `withDestinations(java.util.List)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed #### `models.ContainerNetworkInterfaceIpConfiguration` was modified @@ -431,25 +431,25 @@ #### `models.TopologyAssociation` was modified * `TopologyAssociation()` was changed to private access +* `withAssociationType(models.AssociationType)` was removed * `withName(java.lang.String)` was removed * `withResourceId(java.lang.String)` was removed -* `withAssociationType(models.AssociationType)` was removed #### `models.SecurityGroupNetworkInterface` was modified * `SecurityGroupNetworkInterface()` was changed to private access -* `withSecurityRuleAssociations(models.SecurityRuleAssociations)` was removed * `withId(java.lang.String)` was removed +* `withSecurityRuleAssociations(models.SecurityRuleAssociations)` was removed #### `models.EffectiveDefaultSecurityAdminRule` was modified * `EffectiveDefaultSecurityAdminRule()` was changed to private access +* `withConfigurationDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed * `withFlag(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withConfigurationDescription(java.lang.String)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.Container` was modified @@ -460,48 +460,43 @@ #### `models.ServiceAssociationLink` was modified * `ServiceAssociationLink()` was changed to private access -* `withId(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed * `withAllowDelete(java.lang.Boolean)` was removed -* `withLinkedResourceType(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withLink(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withLinkedResourceType(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed #### `models.TroubleshootingRecommendedActions` was modified * `TroubleshootingRecommendedActions()` was changed to private access -* `withActionId(java.lang.String)` was removed * `withActionUriText(java.lang.String)` was removed * `withActionText(java.lang.String)` was removed * `withActionUri(java.lang.String)` was removed +* `withActionId(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access * `withRecommendationTitle(java.lang.String)` was removed -* `withRecommendationText(java.lang.String)` was removed * `withSeverity(java.lang.String)` was removed * `withRecommendationId(java.lang.String)` was removed * `withCallToActionText(java.lang.String)` was removed +* `withRecommendationText(java.lang.String)` was removed * `withCallToActionLink(java.lang.String)` was removed #### `models.ContainerNetworkInterface` was modified * `ContainerNetworkInterface()` was changed to private access -* `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withContainer(models.Container)` was removed +* `withName(java.lang.String)` was removed #### `models.ExpressRouteFailoverRedundantRoute` was modified * `ExpressRouteFailoverRedundantRoute()` was changed to private access -* `withRoutes(java.util.List)` was removed * `withPeeringLocations(java.util.List)` was removed - -#### `models.ApplicationGatewayPrivateLinkIpConfiguration` was modified - -* `privateIpAddress()` was removed -* `withPrivateIpAddress(java.lang.String)` was removed +* `withRoutes(java.util.List)` was removed #### `models.AzureReachabilityReportLatencyInfo` was modified @@ -512,11 +507,10 @@ #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access -* `withIpAddress(java.lang.String)` was removed -* `withReason(java.lang.String)` was removed * `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed * `withState(java.lang.String)` was removed -* `networkInterfaceIpConfigurationId()` was removed +* `withReason(java.lang.String)` was removed +* `withIpAddress(java.lang.String)` was removed #### `models.ConnectivityHop` was modified @@ -534,36 +528,36 @@ #### `models.EffectiveNetworkSecurityRule` was modified * `EffectiveNetworkSecurityRule()` was changed to private access -* `withName(java.lang.String)` was removed * `withPriority(java.lang.Integer)` was removed -* `withDestinationPortRange(java.lang.String)` was removed -* `withExpandedSourceAddressPrefix(java.util.List)` was removed +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed * `withDestinationPortRanges(java.util.List)` was removed +* `withName(java.lang.String)` was removed * `withDirection(models.SecurityRuleDirection)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed -* `withSourceAddressPrefixes(java.util.List)` was removed -* `withSourceAddressPrefix(java.lang.String)` was removed -* `withSourcePortRange(java.lang.String)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withDestinationPortRange(java.lang.String)` was removed * `withAccess(models.SecurityRuleAccess)` was removed +* `withSourcePortRange(java.lang.String)` was removed +* `withSourceAddressPrefixes(java.util.List)` was removed * `withSourcePortRanges(java.util.List)` was removed -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed * `withDestinationAddressPrefix(java.lang.String)` was removed +* `withSourceAddressPrefix(java.lang.String)` was removed +* `withExpandedSourceAddressPrefix(java.util.List)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access * `withAppliedTo(java.lang.String)` was removed -* `withNetworkSecurityGroupId(java.lang.String)` was removed * `withMatchedRule(models.MatchedRule)` was removed +* `withNetworkSecurityGroupId(java.lang.String)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access +* `withLocation(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withAssociations(java.util.List)` was removed * `withName(java.lang.String)` was removed -* `withLocation(java.lang.String)` was removed #### `models.AzureFirewallIpGroups` was modified @@ -583,43 +577,43 @@ #### `models.AzureReachabilityReportItem` was modified * `AzureReachabilityReportItem()` was changed to private access +* `withAzureLocation(java.lang.String)` was removed * `withProvider(java.lang.String)` was removed * `withLatencies(java.util.List)` was removed -* `withAzureLocation(java.lang.String)` was removed #### `models.TroubleshootingDetails` was modified * `TroubleshootingDetails()` was changed to private access -* `withDetail(java.lang.String)` was removed -* `withSummary(java.lang.String)` was removed -* `withReasonType(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withDetail(java.lang.String)` was removed * `withRecommendedActions(java.util.List)` was removed +* `withReasonType(java.lang.String)` was removed +* `withSummary(java.lang.String)` was removed #### `models.SingleQueryResult` was modified * `SingleQueryResult()` was changed to private access -* `withSignatureId(java.lang.Integer)` was removed -* `withProtocol(java.lang.String)` was removed -* `withGroup(java.lang.String)` was removed -* `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `withLastUpdated(java.lang.String)` was removed * `withSourcePorts(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `withDestinationPorts(java.util.List)` was removed +* `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed * `withInheritedFromParentPolicy(java.lang.Boolean)` was removed +* `withSignatureId(java.lang.Integer)` was removed +* `withDescription(java.lang.String)` was removed * `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withDestinationPorts(java.util.List)` was removed * `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed +* `withLastUpdated(java.lang.String)` was removed +* `withProtocol(java.lang.String)` was removed +* `withGroup(java.lang.String)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified * `NetworkSecurityRulesEvaluationResult()` was changed to private access -* `withName(java.lang.String)` was removed * `withProtocolMatched(java.lang.Boolean)` was removed * `withSourceMatched(java.lang.Boolean)` was removed -* `withDestinationMatched(java.lang.Boolean)` was removed * `withSourcePortMatched(java.lang.Boolean)` was removed * `withDestinationPortMatched(java.lang.Boolean)` was removed +* `withName(java.lang.String)` was removed +* `withDestinationMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -628,37 +622,37 @@ #### `models.ReachabilityAnalysisIntentProperties` was modified -* `withProvisioningState(models.ProvisioningState)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withProvisioningState(models.ProvisioningState)` was removed #### `models.ActiveBaseSecurityAdminRule` was modified -* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` +* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access +* `withSources(java.util.List)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withSourcePortRanges(java.util.List)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withDestinations(java.util.List)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withId(java.lang.String)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withSources(java.util.List)` was removed +* `withRuleGroups(java.util.List)` was removed * `withDescription(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed * `withDestinationPortRanges(java.util.List)` was removed * `withPriority(java.lang.Integer)` was removed +* `withDestinations(java.util.List)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed #### `models.BgpPeerStatus` was modified @@ -667,33 +661,27 @@ #### `models.NatRulePortMapping` was modified * `NatRulePortMapping()` was changed to private access -* `withInboundNatRuleName(java.lang.String)` was removed * `withBackendPort(java.lang.Integer)` was removed * `withFrontendPort(java.lang.Integer)` was removed +* `withInboundNatRuleName(java.lang.String)` was removed #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access -* `withIsInternal(java.lang.Boolean)` was removed -* `withResourceIdDimensionNameOverride(java.lang.String)` was removed -* `withSourceMdmAccount(java.lang.String)` was removed -* `withUnit(java.lang.String)` was removed -* `withDisplayDescription(java.lang.String)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed * `withMetricFilterPattern(java.lang.String)` was removed -* `withName(java.lang.String)` was removed +* `withSourceMdmAccount(java.lang.String)` was removed * `withAggregationType(java.lang.String)` was removed -* `withDimensions(java.util.List)` was removed -* `withFillGapWithZero(java.lang.Boolean)` was removed +* `withSourceMdmNamespace(java.lang.String)` was removed * `withDisplayName(java.lang.String)` was removed -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed +* `withUnit(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withResourceIdDimensionNameOverride(java.lang.String)` was removed * `withAvailabilities(java.util.List)` was removed - -#### `models.LoadBalancerBackendAddress` was modified - -* `networkInterfaceIpConfiguration()` was removed -* `withLoadBalancerFrontendIpConfiguration(com.azure.core.management.SubResource)` was removed -* `loadBalancerFrontendIpConfiguration()` was removed +* `withDisplayDescription(java.lang.String)` was removed +* `withIsInternal(java.lang.Boolean)` was removed +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed +* `withFillGapWithZero(java.lang.Boolean)` was removed +* `withDimensions(java.util.List)` was removed #### `models.DefaultAdminRule` was modified @@ -707,27 +695,27 @@ #### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified * `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access -* `withOfferName(java.lang.String)` was removed * `withValueInMbps(java.lang.Integer)` was removed +* `withOfferName(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallRuleGroup` was modified * `ApplicationGatewayFirewallRuleGroup()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withRules(java.util.List)` was removed * `withRuleGroupName(java.lang.String)` was removed +* `withRules(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed #### `models.IpamPoolProperties` was modified -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withProvisioningState(models.ProvisioningState)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.AvailableProvidersListState` was modified * `AvailableProvidersListState()` was changed to private access +* `withStateName(java.lang.String)` was removed * `withCities(java.util.List)` was removed * `withProviders(java.util.List)` was removed -* `withStateName(java.lang.String)` was removed #### `models.AdminRule` was modified @@ -740,20 +728,20 @@ #### `models.ResourceNavigationLink` was modified * `ResourceNavigationLink()` was changed to private access -* `withId(java.lang.String)` was removed * `withLink(java.lang.String)` was removed -* `withLinkedResourceType(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withLinkedResourceType(java.lang.String)` was removed #### `models.BgpCommunity` was modified * `BgpCommunity()` was changed to private access * `withCommunityValue(java.lang.String)` was removed -* `withServiceGroup(java.lang.String)` was removed * `withCommunityPrefixes(java.util.List)` was removed * `withServiceSupportedRegion(java.lang.String)` was removed -* `withIsAuthorizedToUse(java.lang.Boolean)` was removed * `withCommunityName(java.lang.String)` was removed +* `withIsAuthorizedToUse(java.lang.Boolean)` was removed +* `withServiceGroup(java.lang.String)` was removed #### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified @@ -762,11 +750,11 @@ #### `models.EffectiveNetworkSecurityGroup` was modified * `EffectiveNetworkSecurityGroup()` was changed to private access -* `withTagMap(java.lang.String)` was removed -* `java.lang.String tagMap()` -> `java.util.Map tagMap()` -* `withEffectiveSecurityRules(java.util.List)` was removed * `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed +* `withEffectiveSecurityRules(java.util.List)` was removed * `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed +* `java.lang.String tagMap()` -> `java.util.Map tagMap()` +* `withTagMap(java.lang.String)` was removed #### `models.ReferencedPublicIpAddress` was modified @@ -780,9 +768,9 @@ #### `models.GatewayRouteSet` was modified * `GatewayRouteSet()` was changed to private access -* `withLocations(java.util.List)` was removed * `withDetails(java.util.Map)` was removed * `withName(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified @@ -800,40 +788,40 @@ #### `models.ExpressRouteCircuitArpTable` was modified * `ExpressRouteCircuitArpTable()` was changed to private access +* `withMacAddress(java.lang.String)` was removed +* `withInterfaceProperty(java.lang.String)` was removed * `withAge(java.lang.Integer)` was removed * `withIpAddress(java.lang.String)` was removed -* `withInterfaceProperty(java.lang.String)` was removed -* `withMacAddress(java.lang.String)` was removed #### `models.ActiveConnectivityConfiguration` was modified * `ActiveConnectivityConfiguration()` was changed to private access +* `withId(java.lang.String)` was removed +* `withIsGlobal(models.IsGlobal)` was removed * `withDescription(java.lang.String)` was removed -* `withHubs(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed * `withConnectivityTopology(models.ConnectivityTopology)` was removed +* `withAppliesToGroups(java.util.List)` was removed +* `withHubs(java.util.List)` was removed * `withConfigurationGroups(java.util.List)` was removed * `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed * `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `withAppliesToGroups(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withIsGlobal(models.IsGlobal)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed * `withRegion(java.lang.String)` was removed #### `models.RouteSourceDetails` was modified * `RouteSourceDetails()` was changed to private access -* `withSec(java.lang.String)` was removed * `withCircuit(java.lang.String)` was removed * `withPri(java.lang.String)` was removed +* `withSec(java.lang.String)` was removed #### `models.RecordSet` was modified * `RecordSet()` was changed to private access +* `withTtl(java.lang.Integer)` was removed +* `withRecordType(java.lang.String)` was removed * `withFqdn(java.lang.String)` was removed * `withRecordSetName(java.lang.String)` was removed -* `withRecordType(java.lang.String)` was removed -* `withTtl(java.lang.Integer)` was removed * `withIpAddresses(java.util.List)` was removed #### `models.ApplicationGatewayBackendHealthPool` was modified @@ -852,8 +840,8 @@ * `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access * `withConnectionName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withNrpResourceUri(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.ConnectivityIssue` was modified @@ -862,9 +850,9 @@ #### `models.Availability` was modified * `Availability()` was changed to private access -* `withRetention(java.lang.String)` was removed -* `withTimeGrain(java.lang.String)` was removed * `withBlobDuration(java.lang.String)` was removed +* `withTimeGrain(java.lang.String)` was removed +* `withRetention(java.lang.String)` was removed #### `models.VerifierWorkspaceProperties` was modified @@ -874,15 +862,10 @@ #### `models.OperationDisplay` was modified * `OperationDisplay()` was changed to private access -* `withDescription(java.lang.String)` was removed * `withResource(java.lang.String)` was removed -* `withProvider(java.lang.String)` was removed * `withOperation(java.lang.String)` was removed - -#### `models.ApplicationGatewayBackendHttpSettings` was modified - -* `withValidateSni(java.lang.Boolean)` was removed -* `validateSni()` was removed +* `withProvider(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed #### `models.OperationPropertiesFormatServiceSpecification` was modified @@ -893,9 +876,9 @@ #### `models.AvailableProvidersListCountry` was modified * `AvailableProvidersListCountry()` was changed to private access -* `withStates(java.util.List)` was removed * `withProviders(java.util.List)` was removed * `withCountryName(java.lang.String)` was removed +* `withStates(java.util.List)` was removed #### `models.VirtualNetworkUsageName` was modified @@ -909,32 +892,32 @@ #### `models.ApplicationGatewayFirewallRuleSet` was modified * `ApplicationGatewayFirewallRuleSet()` was changed to private access -* `withRuleSetType(java.lang.String)` was removed -* `withRuleSetVersion(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed * `withTags(java.util.Map)` was removed +* `withRuleSetType(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withLocation(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed * `withTiers(java.util.List)` was removed +* `withRuleSetVersion(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed #### `models.ApplicationGatewayFirewallManifestRuleSet` was modified * `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access -* `withRuleGroups(java.util.List)` was removed * `withRuleSetType(java.lang.String)` was removed -* `withTiers(java.util.List)` was removed -* `withRuleSetVersion(java.lang.String)` was removed * `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed +* `withRuleSetVersion(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed +* `withRuleGroups(java.util.List)` was removed #### `models.NetworkManagerDeploymentStatus` was modified * `NetworkManagerDeploymentStatus()` was changed to private access -* `withDeploymentStatus(models.DeploymentStatus)` was removed -* `withErrorMessage(java.lang.String)` was removed -* `withConfigurationIds(java.util.List)` was removed * `withRegion(java.lang.String)` was removed +* `withDeploymentStatus(models.DeploymentStatus)` was removed * `withDeploymentType(models.ConfigurationType)` was removed +* `withErrorMessage(java.lang.String)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed +* `withConfigurationIds(java.util.List)` was removed #### `models.CircuitMetadataMap` was modified @@ -946,29 +929,24 @@ #### `models.ExpressRouteCircuitRoutesTableSummary` was modified * `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withV(java.lang.Integer)` was removed * `withNeighbor(java.lang.String)` was removed +* `withV(java.lang.Integer)` was removed * `withStatePfxRcd(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed * `withAs(java.lang.Integer)` was removed -#### `models.ConnectivityParameters` was modified - -* `preferredIpVersion()` was removed -* `withPreferredIpVersion(models.IpVersion)` was removed - #### `models.ManagedRuleSetRuleGroup` was modified * `ManagedRuleSetRuleGroup()` was changed to private access -* `withRules(java.util.List)` was removed * `withRuleGroupName(java.lang.String)` was removed +* `withRules(java.util.List)` was removed #### `models.Dimension` was modified * `Dimension()` was changed to private access -* `withInternalName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withDisplayName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withInternalName(java.lang.String)` was removed #### `models.NetworkSecurityGroupResult` was modified @@ -978,25 +956,25 @@ #### `models.ResiliencyRecommendationComponents` was modified * `ResiliencyRecommendationComponents()` was changed to private access +* `withName(java.lang.String)` was removed * `withCurrentScore(java.lang.String)` was removed * `withRecommendations(java.util.List)` was removed -* `withName(java.lang.String)` was removed * `withMaxScore(java.lang.String)` was removed #### `models.EffectiveBaseSecurityAdminRule` was modified * `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` #### `models.LogSpecification` was modified * `LogSpecification()` was changed to private access -* `withName(java.lang.String)` was removed * `withBlobDuration(java.lang.String)` was removed * `withDisplayName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.InboundNatRulePortMapping` was modified @@ -1004,15 +982,15 @@ #### `models.EffectiveConnectivityConfiguration` was modified -* `withAppliesToGroups(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` * `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed * `withIsGlobal(models.IsGlobal)` was removed * `withHubs(java.util.List)` was removed +* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` +* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withDescription(java.lang.String)` was removed +* `withAppliesToGroups(java.util.List)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed #### `models.PerimeterBasedAccessRule` was modified @@ -1021,22 +999,17 @@ #### `models.NetworkConfigurationDiagnosticResult` was modified * `NetworkConfigurationDiagnosticResult()` was changed to private access -* `withNetworkSecurityGroupResult(models.NetworkSecurityGroupResult)` was removed * `withProfile(models.NetworkConfigurationDiagnosticProfile)` was removed - -#### `models.ConnectionMonitorTestConfiguration` was modified - -* `withPreferredIpVersion(models.PreferredIpVersion)` was removed -* `preferredIpVersion()` was removed +* `withNetworkSecurityGroupResult(models.NetworkSecurityGroupResult)` was removed #### `models.VirtualHubEffectiveRoute` was modified * `VirtualHubEffectiveRoute()` was changed to private access -* `withNextHopType(java.lang.String)` was removed * `withAddressPrefixes(java.util.List)` was removed -* `withRouteOrigin(java.lang.String)` was removed * `withNextHops(java.util.List)` was removed +* `withRouteOrigin(java.lang.String)` was removed * `withAsPath(java.lang.String)` was removed +* `withNextHopType(java.lang.String)` was removed #### `models.ExpressRoutePortsLocationBandwidths` was modified @@ -1050,23 +1023,23 @@ #### `models.EffectiveNetworkSecurityGroupAssociation` was modified * `EffectiveNetworkSecurityGroupAssociation()` was changed to private access -* `withSubnet(com.azure.core.management.SubResource)` was removed -* `withNetworkManager(com.azure.core.management.SubResource)` was removed * `withNetworkInterface(com.azure.core.management.SubResource)` was removed +* `withNetworkManager(com.azure.core.management.SubResource)` was removed +* `withSubnet(com.azure.core.management.SubResource)` was removed #### `models.IntentContent` was modified * `IntentContent()` was changed to private access -* `withDestinationResourceId(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed +* `withDestinationResourceId(java.lang.String)` was removed * `withSourceResourceId(java.lang.String)` was removed * `withIpTraffic(models.IpTraffic)` was removed #### `models.ConfigurationGroup` was modified * `ConfigurationGroup()` was changed to private access -* `withDescription(java.lang.String)` was removed * `withMemberType(models.GroupMemberType)` was removed +* `withDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTable` was modified @@ -1074,9 +1047,9 @@ * `ExpressRouteCircuitRoutesTable()` was changed to private access * `withNetwork(java.lang.String)` was removed * `withPath(java.lang.String)` was removed +* `withWeight(java.lang.Integer)` was removed * `withNextHop(java.lang.String)` was removed * `withLocPrf(java.lang.String)` was removed -* `withWeight(java.lang.Integer)` was removed #### `models.SubnetAssociation` was modified @@ -1100,8 +1073,8 @@ #### `models.VirtualWanSecurityProvider` was modified * `VirtualWanSecurityProvider()` was changed to private access -* `withUrl(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withUrl(java.lang.String)` was removed #### `models.VpnClientConnectionHealth` was modified @@ -1112,22 +1085,22 @@ #### `models.ExpressRouteFailoverConnectionResourceDetails` was modified * `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access +* `withStatus(models.FailoverConnectionStatus)` was removed * `withLastUpdatedTime(java.lang.String)` was removed * `withName(java.lang.String)` was removed -* `withStatus(models.FailoverConnectionStatus)` was removed * `withNrpResourceUri(java.lang.String)` was removed #### `models.ActiveDefaultSecurityAdminRule` was modified * `ActiveDefaultSecurityAdminRule()` was changed to private access -* `withId(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withFlag(java.lang.String)` was removed -* `withRegion(java.lang.String)` was removed -* `withConfigurationDescription(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withRegion(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withId(java.lang.String)` was removed +* `withFlag(java.lang.String)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` ### Features Added @@ -1206,21 +1179,6 @@ * `id()` was added -#### `models.ApplicationGatewayPrivateLinkIpConfiguration` was modified - -* `withPrivateIPAddress(java.lang.String)` was added -* `privateIPAddress()` was added - -#### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified - -* `networkInterfaceIPConfigurationId()` was added - -#### `models.LoadBalancerBackendAddress` was modified - -* `networkInterfaceIPConfiguration()` was added -* `loadBalancerFrontendIPConfiguration()` was added -* `withLoadBalancerFrontendIPConfiguration(com.azure.core.management.SubResource)` was added - #### `models.ResourceNavigationLink` was modified * `id()` was added @@ -1235,21 +1193,6 @@ * `configurationGroups()` was added * `id()` was added -#### `models.ApplicationGatewayBackendHttpSettings` was modified - -* `validateSNI()` was added -* `withValidateSNI(java.lang.Boolean)` was added - -#### `models.ConnectivityParameters` was modified - -* `withPreferredIPVersion(models.IpVersion)` was added -* `preferredIPVersion()` was added - -#### `models.ConnectionMonitorTestConfiguration` was modified - -* `withPreferredIPVersion(models.PreferredIpVersion)` was added -* `preferredIPVersion()` was added - ## 2.58.0 (2026-02-14) ### Breaking Changes diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java index bcc8e712e64d..d27673243f04 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java @@ -105,7 +105,7 @@ public final class ApplicationGatewayBackendHttpSettingsPropertiesFormat * When enabled, verifies if the Common Name of the certificate provided by the backend server matches the Server * Name Indication (SNI) value. Default value is true. */ - private Boolean validateSNI; + private Boolean validateSni; /* * Specify an SNI value to match the common name of the certificate on the backend. By default, the application @@ -444,24 +444,24 @@ public Boolean validateCertChainAndExpiry() { } /** - * Get the validateSNI property: When enabled, verifies if the Common Name of the certificate provided by the + * Get the validateSni property: When enabled, verifies if the Common Name of the certificate provided by the * backend server matches the Server Name Indication (SNI) value. Default value is true. * - * @return the validateSNI value. + * @return the validateSni value. */ - public Boolean validateSNI() { - return this.validateSNI; + public Boolean validateSni() { + return this.validateSni; } /** - * Set the validateSNI property: When enabled, verifies if the Common Name of the certificate provided by the + * Set the validateSni property: When enabled, verifies if the Common Name of the certificate provided by the * backend server matches the Server Name Indication (SNI) value. Default value is true. * - * @param validateSNI the validateSNI value to set. + * @param validateSni the validateSni value to set. * @return the ApplicationGatewayBackendHttpSettingsPropertiesFormat object itself. */ - public ApplicationGatewayBackendHttpSettingsPropertiesFormat withValidateSNI(Boolean validateSNI) { - this.validateSNI = validateSNI; + public ApplicationGatewayBackendHttpSettingsPropertiesFormat withValidateSni(Boolean validateSni) { + this.validateSni = validateSni; return this; } @@ -531,7 +531,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("path", this.path); jsonWriter.writeBooleanField("dedicatedBackendConnection", this.dedicatedBackendConnection); jsonWriter.writeBooleanField("validateCertChainAndExpiry", this.validateCertChainAndExpiry); - jsonWriter.writeBooleanField("validateSNI", this.validateSNI); + jsonWriter.writeBooleanField("validateSNI", this.validateSni); jsonWriter.writeStringField("sniName", this.sniName); return jsonWriter.writeEndObject(); } @@ -601,7 +601,7 @@ public static ApplicationGatewayBackendHttpSettingsPropertiesFormat fromJson(Jso deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.validateCertChainAndExpiry = reader.getNullable(JsonReader::getBoolean); } else if ("validateSNI".equals(fieldName)) { - deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.validateSNI + deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.validateSni = reader.getNullable(JsonReader::getBoolean); } else if ("sniName".equals(fieldName)) { deserializedApplicationGatewayBackendHttpSettingsPropertiesFormat.sniName = reader.getString(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java index 556fd3aa647f..2d72680b441d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java @@ -23,7 +23,7 @@ public final class ApplicationGatewayPrivateLinkIpConfigurationProperties /* * The private IP address of the IP configuration. */ - private String privateIPAddress; + private String privateIpAddress; /* * The private IP address allocation method. @@ -52,22 +52,22 @@ public ApplicationGatewayPrivateLinkIpConfigurationProperties() { } /** - * Get the privateIPAddress property: The private IP address of the IP configuration. + * Get the privateIpAddress property: The private IP address of the IP configuration. * - * @return the privateIPAddress value. + * @return the privateIpAddress value. */ - public String privateIPAddress() { - return this.privateIPAddress; + public String privateIpAddress() { + return this.privateIpAddress; } /** - * Set the privateIPAddress property: The private IP address of the IP configuration. + * Set the privateIpAddress property: The private IP address of the IP configuration. * - * @param privateIPAddress the privateIPAddress value to set. + * @param privateIpAddress the privateIpAddress value to set. * @return the ApplicationGatewayPrivateLinkIpConfigurationProperties object itself. */ - public ApplicationGatewayPrivateLinkIpConfigurationProperties withPrivateIPAddress(String privateIPAddress) { - this.privateIPAddress = privateIPAddress; + public ApplicationGatewayPrivateLinkIpConfigurationProperties withPrivateIpAddress(String privateIpAddress) { + this.privateIpAddress = privateIpAddress; return this; } @@ -156,7 +156,7 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("privateIPAddress", this.privateIPAddress); + jsonWriter.writeStringField("privateIPAddress", this.privateIpAddress); jsonWriter.writeStringField("privateIPAllocationMethod", this.privateIpAllocationMethod == null ? null : this.privateIpAllocationMethod.toString()); jsonWriter.writeJsonField("subnet", this.subnet); @@ -182,7 +182,7 @@ public static ApplicationGatewayPrivateLinkIpConfigurationProperties fromJson(Js reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedApplicationGatewayPrivateLinkIpConfigurationProperties.privateIPAddress + deserializedApplicationGatewayPrivateLinkIpConfigurationProperties.privateIpAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { deserializedApplicationGatewayPrivateLinkIpConfigurationProperties.privateIpAllocationMethod diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java index b8793befbf32..e9e6e2bcda7b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java @@ -39,12 +39,12 @@ public final class LoadBalancerBackendAddressPropertiesFormat /* * Reference to IP address defined in network interfaces. */ - private SubResource networkInterfaceIPConfiguration; + private SubResource networkInterfaceIpConfiguration; /* * Reference to the frontend ip address configuration defined in regional loadbalancer. */ - private SubResource loadBalancerFrontendIPConfiguration; + private SubResource loadBalancerFrontendIpConfiguration; /* * Collection of inbound NAT rule port mappings. @@ -124,34 +124,34 @@ public LoadBalancerBackendAddressPropertiesFormat withIpAddress(String ipAddress } /** - * Get the networkInterfaceIPConfiguration property: Reference to IP address defined in network interfaces. + * Get the networkInterfaceIpConfiguration property: Reference to IP address defined in network interfaces. * - * @return the networkInterfaceIPConfiguration value. + * @return the networkInterfaceIpConfiguration value. */ - public SubResource networkInterfaceIPConfiguration() { - return this.networkInterfaceIPConfiguration; + public SubResource networkInterfaceIpConfiguration() { + return this.networkInterfaceIpConfiguration; } /** - * Get the loadBalancerFrontendIPConfiguration property: Reference to the frontend ip address configuration defined + * Get the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined * in regional loadbalancer. * - * @return the loadBalancerFrontendIPConfiguration value. + * @return the loadBalancerFrontendIpConfiguration value. */ - public SubResource loadBalancerFrontendIPConfiguration() { - return this.loadBalancerFrontendIPConfiguration; + public SubResource loadBalancerFrontendIpConfiguration() { + return this.loadBalancerFrontendIpConfiguration; } /** - * Set the loadBalancerFrontendIPConfiguration property: Reference to the frontend ip address configuration defined + * Set the loadBalancerFrontendIpConfiguration property: Reference to the frontend ip address configuration defined * in regional loadbalancer. * - * @param loadBalancerFrontendIPConfiguration the loadBalancerFrontendIPConfiguration value to set. + * @param loadBalancerFrontendIpConfiguration the loadBalancerFrontendIpConfiguration value to set. * @return the LoadBalancerBackendAddressPropertiesFormat object itself. */ public LoadBalancerBackendAddressPropertiesFormat - withLoadBalancerFrontendIPConfiguration(SubResource loadBalancerFrontendIPConfiguration) { - this.loadBalancerFrontendIPConfiguration = loadBalancerFrontendIPConfiguration; + withLoadBalancerFrontendIpConfiguration(SubResource loadBalancerFrontendIpConfiguration) { + this.loadBalancerFrontendIpConfiguration = loadBalancerFrontendIpConfiguration; return this; } @@ -208,7 +208,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("virtualNetwork", this.virtualNetwork); jsonWriter.writeJsonField("subnet", this.subnet); jsonWriter.writeStringField("ipAddress", this.ipAddress); - jsonWriter.writeJsonField("loadBalancerFrontendIPConfiguration", this.loadBalancerFrontendIPConfiguration); + jsonWriter.writeJsonField("loadBalancerFrontendIPConfiguration", this.loadBalancerFrontendIpConfiguration); jsonWriter.writeStringField("adminState", this.adminState == null ? null : this.adminState.toString()); return jsonWriter.writeEndObject(); } @@ -237,10 +237,10 @@ public static LoadBalancerBackendAddressPropertiesFormat fromJson(JsonReader jso } else if ("ipAddress".equals(fieldName)) { deserializedLoadBalancerBackendAddressPropertiesFormat.ipAddress = reader.getString(); } else if ("networkInterfaceIPConfiguration".equals(fieldName)) { - deserializedLoadBalancerBackendAddressPropertiesFormat.networkInterfaceIPConfiguration + deserializedLoadBalancerBackendAddressPropertiesFormat.networkInterfaceIpConfiguration = SubResource.fromJson(reader); } else if ("loadBalancerFrontendIPConfiguration".equals(fieldName)) { - deserializedLoadBalancerBackendAddressPropertiesFormat.loadBalancerFrontendIPConfiguration + deserializedLoadBalancerBackendAddressPropertiesFormat.loadBalancerFrontendIpConfiguration = SubResource.fromJson(reader); } else if ("inboundNatRulesPortMapping".equals(fieldName)) { List inboundNatRulesPortMapping diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java index 74495ecd13b1..10e0c0cbb61b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java @@ -463,27 +463,27 @@ public ApplicationGatewayBackendHttpSettings withValidateCertChainAndExpiry(Bool } /** - * Get the validateSNI property: When enabled, verifies if the Common Name of the certificate provided by the + * Get the validateSni property: When enabled, verifies if the Common Name of the certificate provided by the * backend server matches the Server Name Indication (SNI) value. Default value is true. * - * @return the validateSNI value. + * @return the validateSni value. */ - public Boolean validateSNI() { - return this.innerProperties() == null ? null : this.innerProperties().validateSNI(); + public Boolean validateSni() { + return this.innerProperties() == null ? null : this.innerProperties().validateSni(); } /** - * Set the validateSNI property: When enabled, verifies if the Common Name of the certificate provided by the + * Set the validateSni property: When enabled, verifies if the Common Name of the certificate provided by the * backend server matches the Server Name Indication (SNI) value. Default value is true. * - * @param validateSNI the validateSNI value to set. + * @param validateSni the validateSni value to set. * @return the ApplicationGatewayBackendHttpSettings object itself. */ - public ApplicationGatewayBackendHttpSettings withValidateSNI(Boolean validateSNI) { + public ApplicationGatewayBackendHttpSettings withValidateSni(Boolean validateSni) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayBackendHttpSettingsPropertiesFormat(); } - this.innerProperties().withValidateSNI(validateSNI); + this.innerProperties().withValidateSni(validateSni); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java index c348a6c7938b..f68b827e5067 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java @@ -100,25 +100,25 @@ public ApplicationGatewayPrivateLinkIpConfiguration withId(String id) { } /** - * Get the privateIPAddress property: The private IP address of the IP configuration. + * Get the privateIpAddress property: The private IP address of the IP configuration. * - * @return the privateIPAddress value. + * @return the privateIpAddress value. */ - public String privateIPAddress() { - return this.innerProperties() == null ? null : this.innerProperties().privateIPAddress(); + public String privateIpAddress() { + return this.innerProperties() == null ? null : this.innerProperties().privateIpAddress(); } /** - * Set the privateIPAddress property: The private IP address of the IP configuration. + * Set the privateIpAddress property: The private IP address of the IP configuration. * - * @param privateIPAddress the privateIPAddress value to set. + * @param privateIpAddress the privateIpAddress value to set. * @return the ApplicationGatewayPrivateLinkIpConfiguration object itself. */ - public ApplicationGatewayPrivateLinkIpConfiguration withPrivateIPAddress(String privateIPAddress) { + public ApplicationGatewayPrivateLinkIpConfiguration withPrivateIpAddress(String privateIpAddress) { if (this.innerProperties() == null) { this.innerProperties = new ApplicationGatewayPrivateLinkIpConfigurationProperties(); } - this.innerProperties().withPrivateIPAddress(privateIPAddress); + this.innerProperties().withPrivateIpAddress(privateIpAddress); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java index 20c8c55dba67..299645b08290 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java @@ -36,7 +36,7 @@ public final class ConnectionMonitorTestConfiguration implements JsonSerializabl * The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version * depending on other parameters. */ - private PreferredIpVersion preferredIPVersion; + private PreferredIpVersion preferredIpVersion; /* * The parameters used to perform test evaluation over HTTP. @@ -125,24 +125,24 @@ public ConnectionMonitorTestConfiguration withProtocol(ConnectionMonitorTestConf } /** - * Get the preferredIPVersion property: The preferred IP version to use in test evaluation. The connection monitor + * Get the preferredIpVersion property: The preferred IP version to use in test evaluation. The connection monitor * may choose to use a different version depending on other parameters. * - * @return the preferredIPVersion value. + * @return the preferredIpVersion value. */ - public PreferredIpVersion preferredIPVersion() { - return this.preferredIPVersion; + public PreferredIpVersion preferredIpVersion() { + return this.preferredIpVersion; } /** - * Set the preferredIPVersion property: The preferred IP version to use in test evaluation. The connection monitor + * Set the preferredIpVersion property: The preferred IP version to use in test evaluation. The connection monitor * may choose to use a different version depending on other parameters. * - * @param preferredIPVersion the preferredIPVersion value to set. + * @param preferredIpVersion the preferredIpVersion value to set. * @return the ConnectionMonitorTestConfiguration object itself. */ - public ConnectionMonitorTestConfiguration withPreferredIPVersion(PreferredIpVersion preferredIPVersion) { - this.preferredIPVersion = preferredIPVersion; + public ConnectionMonitorTestConfiguration withPreferredIpVersion(PreferredIpVersion preferredIpVersion) { + this.preferredIpVersion = preferredIpVersion; return this; } @@ -270,7 +270,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("protocol", this.protocol == null ? null : this.protocol.toString()); jsonWriter.writeNumberField("testFrequencySec", this.testFrequencySec); jsonWriter.writeStringField("preferredIPVersion", - this.preferredIPVersion == null ? null : this.preferredIPVersion.toString()); + this.preferredIpVersion == null ? null : this.preferredIpVersion.toString()); jsonWriter.writeJsonField("httpConfiguration", this.httpConfiguration); jsonWriter.writeJsonField("tcpConfiguration", this.tcpConfiguration); jsonWriter.writeJsonField("icmpConfiguration", this.icmpConfiguration); @@ -304,7 +304,7 @@ public static ConnectionMonitorTestConfiguration fromJson(JsonReader jsonReader) deserializedConnectionMonitorTestConfiguration.testFrequencySec = reader.getNullable(JsonReader::getInt); } else if ("preferredIPVersion".equals(fieldName)) { - deserializedConnectionMonitorTestConfiguration.preferredIPVersion + deserializedConnectionMonitorTestConfiguration.preferredIpVersion = PreferredIpVersion.fromString(reader.getString()); } else if ("httpConfiguration".equals(fieldName)) { deserializedConnectionMonitorTestConfiguration.httpConfiguration diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java index 7994170e561f..443f1dbd8544 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java @@ -40,7 +40,7 @@ public final class ConnectivityParameters implements JsonSerializable Date: Wed, 25 Mar 2026 09:11:25 +0800 Subject: [PATCH 15/33] revapi --- eng/lintingconfigs/revapi/track2/revapi.json | 59 +++++++++++++++++++- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/eng/lintingconfigs/revapi/track2/revapi.json b/eng/lintingconfigs/revapi/track2/revapi.json index 4ea836949154..2121f5b0b040 100644 --- a/eng/lintingconfigs/revapi/track2/revapi.json +++ b/eng/lintingconfigs/revapi/track2/revapi.json @@ -1242,8 +1242,63 @@ "match": "class com\\.azure\\.resourcemanager\\.trafficmanager\\.models\\..*ListResult" }, "justification": "Pageable models moved to implementation package. Unlikely used by user." - } - ] + }, + { + "code": "java.method.visibilityReduced", + "old" : { + "matcher": "regex", + "match": "method void com\\.azure\\.resourcemanager\\.network\\.models\\..*\\:\\:\\\\(\\)" + }, + "justification": "Output-only immutable models' constructors are now private." + }, + { + "code": "java.method.visibilityReduced", + "old" : { + "matcher": "regex", + "match": "method .* com\\.azure\\.resourcemanager\\.network\\.models\\..*\\:\\:with.*\\(.*\\).*" + }, + "justification": "Output-only immutable models' setters are now package-private if it's being used by child class." + }, + { + "code": "java.method.removed", + "old" : { + "matcher": "regex", + "match": "method .* com\\.azure\\.resourcemanager\\.network\\.models\\..*\\:\\:with.*\\(.*\\).*" + }, + "justification": "Output-only immutable models' setters are removed if no explicit usage." + }, + { + "code": "java.class.removed", + "old" : { + "matcher": "regex", + "match": "class com\\.azure\\.resourcemanager\\.network\\.models\\..*ListResult" + }, + "justification": "Pageable models moved to implementation package. Unlikely used by user." + }, + { + "code": "java.class.removed", + "old" : { + "matcher": "regex", + "match": "class com\\.azure\\.resourcemanager\\.network\\.models\\.List(HubRouteTables|HubVirtualNetworkConnections|P2SVpnGateways|RouteMaps|RoutingIntent|VirtualHub(BgpConnection|IpConfiguration|RouteTableV2S|s)|VirtualNetworkGatewayNatRules|VirtualWans|VpnConnections|VpnGatewayNatRules|VpnGateways|VpnServerConfigurationPolicyGroups|VpnServerConfigurations|VpnSiteLinkConnections|VpnSiteLinks|VpnSites)Result(s)?" + }, + "justification": "Pageable models moved to implementation package. Unlikely used by user." + }, + { + "code": "java.class.removed", + "old" : { + "matcher": "regex", + "match": "class com\\.azure\\.resourcemanager\\.network\\.models\\.(AutoApprovedPrivateLinkServicesResult|AvailableDelegationsResult|AvailablePrivateEndpointTypesResult|AvailableServiceAliasesResult|BastionSessionDeleteResult|GetServiceGatewayAddressLocationsResult|GetServiceGatewayServicesResult|VirtualNetworkDdosProtectionStatusResult|VirtualNetworkGatewayListConnectionsResult|VirtualNetworkListUsageResult|ApplicationGatewayAvailableSslPredefinedPolicies)" + }, + "justification": "Pageable models moved to implementation package. Unlikely used by user." + }, + { + "code": "java.class.removed", + "old" : { + "matcher": "regex", + "match": "class com\\.azure\\.resourcemanager\\.network\\.models\\.(CreatedByType|ErrorAdditionalInfo|ErrorDetail|TrackedResource|SecurityPerimeterProxyResource|SecurityPerimeterResource|SecurityPerimeterSystemData)" + }, + "justification": "Common types now sourced from azure-core or ARM common types." + } ] } } ] From 23e311bcfe0ecb674c581c81e0d373876c2a6e72 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Wed, 25 Mar 2026 10:14:21 +0800 Subject: [PATCH 16/33] Regenerate with fluent model renames and CustomIpPrefixes fix Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/lintingconfigs/revapi/track2/revapi.json | 10 +- .../CHANGELOG.md | 328 +++++----- .../network/fluent/AzureFirewallsClient.java | 14 +- .../fluent/CustomIpPrefixesClient.java | 4 +- .../fluent/ExpressRoutePortsClient.java | 10 +- ...etworkInterfaceIpConfigurationsClient.java | 4 +- .../NetworkInterfacesOperationsClient.java | 172 ++++++ .../fluent/NetworkManagementClient.java | 27 +- .../network/fluent/VirtualWansClient.java | 54 +- ...raJwtValidationConfigPropertiesFormat.java | 48 +- ...ontendIpConfigurationPropertiesFormat.java | 54 +- ...pplicationGatewayIpConfigurationInner.java | 8 +- ...atewayIpConfigurationPropertiesFormat.java | 30 +- ...rewallIpConfigurationPropertiesFormat.java | 38 +- ...onHostIpConfigurationPropertiesFormat.java | 46 +- .../models/FrontendIpConfigurationInner.java | 20 +- ...dIpConfigurationPropertiesFormatInner.java | 74 +-- ...nerateExpressRoutePortsLoaResultInner.java | 24 +- .../models/HubIpConfigurationInner.java | 14 +- ...bIpConfigurationPropertiesFormatInner.java | 48 +- .../fluent/models/IpConfigurationInner.java | 6 +- .../models/IpConfigurationProfileInner.java | 8 +- ...igurationProfilePropertiesFormatInner.java | 30 +- .../IpConfigurationPropertiesFormatInner.java | 32 +- .../fluent/models/IpPrefixesListInner.java | 20 +- ...uestFrontendIpConfigurationProperties.java | 28 +- .../NetworkInterfaceIpConfigurationInner.java | 32 +- ...eIpConfigurationPropertiesFormatInner.java | 104 ++-- .../models/NetworkSecurityPerimeterInner.java | 54 +- .../fluent/models/NspAccessRuleInner.java | 15 +- .../fluent/models/NspAssociationInner.java | 15 +- .../network/fluent/models/NspLinkInner.java | 15 +- .../fluent/models/NspLinkReferenceInner.java | 15 +- .../models/NspLoggingConfigurationInner.java | 15 +- .../fluent/models/NspProfileInner.java | 15 +- ...vateEndpointIpConfigurationProperties.java | 40 +- .../fluent/models/PublicIpAddressInner.java | 32 +- .../PublicIpAddressPropertiesFormatInner.java | 106 ++-- .../fluent/models/PublicIpPrefixInner.java | 16 +- .../PublicIpPrefixPropertiesFormatInner.java | 62 +- .../fluent/models/ServiceGatewayInner.java | 49 +- ...ualNetworkGatewayIpConfigurationInner.java | 12 +- ...atewayIpConfigurationPropertiesFormat.java | 44 +- .../fluent/models/VirtualWanInner.java | 58 +- .../AzureFirewallsClientImpl.java | 26 +- .../CustomIpPrefixesClientImpl.java | 22 +- .../ExpressRoutePortsClientImpl.java | 14 +- ...rkInterfaceIpConfigurationsClientImpl.java | 20 +- ...NetworkInterfacesOperationsClientImpl.java | 568 ++++++++++++++++++ .../NetworkManagementClientImpl.java | 64 +- .../implementation/VirtualWansClientImpl.java | 116 ++-- .../models/ListVirtualWANsResult.java | 8 +- ...cationGatewayEntraJwtValidationConfig.java | 16 +- ...icationGatewayFrontendIpConfiguration.java | 18 +- .../models/AzureFirewallIpConfiguration.java | 12 +- .../models/BastionHostIpConfiguration.java | 14 +- .../network/models/CreatedByType.java | 61 ++ ...VipSwapRequestFrontendIpConfiguration.java | 10 +- .../PrivateEndpointIpConfiguration.java | 14 +- .../SecurityPerimeterProxyResource.java | 141 +++++ .../models/SecurityPerimeterResource.java | 181 ++++++ .../models/SecurityPerimeterSystemData.java | 177 ++++++ .../SecurityPerimeterTrackedResource.java | 141 +++++ ...zure-resourcemanager-network_metadata.json | 2 +- .../proxy-config.json | 2 +- ...CustomIPPrefixesCreateOrUpdateSamples.java | 6 +- .../CustomIPPrefixesDeleteSamples.java | 6 +- ...omIPPrefixesGetByResourceGroupSamples.java | 6 +- ...mIPPrefixesListByResourceGroupSamples.java | 6 +- .../CustomIPPrefixesListSamples.java | 6 +- .../CustomIPPrefixesUpdateTagsSamples.java | 6 +- ...rkInterfaceIPConfigurationsGetSamples.java | 6 +- ...kInterfaceIPConfigurationsListSamples.java | 6 +- ...curityPerimetersCreateOrUpdateSamples.java | 2 +- .../ServiceGatewaysCreateOrUpdateSamples.java | 5 +- .../VirtualWansCreateOrUpdateSamples.java | 4 +- 76 files changed, 2483 insertions(+), 1053 deletions(-) create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesOperationsClient.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesOperationsClientImpl.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java diff --git a/eng/lintingconfigs/revapi/track2/revapi.json b/eng/lintingconfigs/revapi/track2/revapi.json index 2121f5b0b040..c943caf391c6 100644 --- a/eng/lintingconfigs/revapi/track2/revapi.json +++ b/eng/lintingconfigs/revapi/track2/revapi.json @@ -1291,6 +1291,14 @@ }, "justification": "Pageable models moved to implementation package. Unlikely used by user." }, + { + "code": "java.class.removed", + "old" : { + "matcher": "regex", + "match": "class com\\.azure\\.resourcemanager\\.network\\.models\\.(ApplicationGatewayWafDynamicManifestResultList|ConnectionSharedKeyResultList|ExpressRouteCrossConnectionPeeringList|IpamPoolList|NetworkVirtualApplianceConnectionList|PoolAssociationList|StaticCidrList)" + }, + "justification": "Pageable models moved to implementation package. Unlikely used by user." + }, { "code": "java.class.removed", "old" : { @@ -1298,7 +1306,7 @@ "match": "class com\\.azure\\.resourcemanager\\.network\\.models\\.(CreatedByType|ErrorAdditionalInfo|ErrorDetail|TrackedResource|SecurityPerimeterProxyResource|SecurityPerimeterResource|SecurityPerimeterSystemData)" }, "justification": "Common types now sourced from azure-core or ARM common types." - } ] + }] } } ] diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index 23faec8d50a8..af4be77150e2 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -114,8 +114,6 @@ #### `models.AdminRuleListResult` was removed -#### `models.SecurityPerimeterResource` was removed - #### `models.NetworkInterfaceLoadBalancerListResult` was removed #### `models.LoadBalancerLoadBalancingRuleListResult` was removed @@ -252,8 +250,6 @@ #### `models.VirtualNetworkListResult` was removed -#### `models.CreatedByType` was removed - #### `models.CustomIpPrefixListResult` was removed #### `models.SecurityAdminConfigurationListResult` was removed @@ -276,8 +272,6 @@ #### `models.IpGroupListResult` was removed -#### `models.SecurityPerimeterSystemData` was removed - #### `models.NetworkGroupListResult` was removed #### `models.DscpConfigurationListResult` was removed @@ -294,8 +288,6 @@ #### `models.ConnectivityConfigurationListResult` was removed -#### `models.SecurityPerimeterProxyResource` was removed - #### `models.RouteFilterRuleListResult` was removed #### `models.NetworkManagerListResult` was removed @@ -313,30 +305,30 @@ #### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access -* `withUpDown(java.lang.String)` was removed +* `withStateOrPrefixesReceived(java.lang.String)` was removed * `withNeighbor(java.lang.String)` was removed +* `withUpDown(java.lang.String)` was removed * `withAsn(java.lang.Integer)` was removed -* `withStateOrPrefixesReceived(java.lang.String)` was removed #### `models.UsageName` was modified * `UsageName()` was changed to private access -* `withLocalizedValue(java.lang.String)` was removed * `withValue(java.lang.String)` was removed +* `withLocalizedValue(java.lang.String)` was removed #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access -* `withDefaultSecurityRules(java.util.List)` was removed +* `withEffectiveSecurityRules(java.util.List)` was removed * `withSubnetAssociation(models.SubnetAssociation)` was removed +* `withDefaultSecurityRules(java.util.List)` was removed * `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed -* `withEffectiveSecurityRules(java.util.List)` was removed #### `models.ResourceBasics` was modified * `ResourceBasics()` was changed to private access -* `withResourceId(java.lang.String)` was removed * `withAddressPrefixes(java.util.List)` was removed +* `withResourceId(java.lang.String)` was removed #### `models.MatchedRule` was modified @@ -348,40 +340,40 @@ * `ApplicationGatewayFirewallRule()` was changed to private access * `withDescription(java.lang.String)` was removed -* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed +* `withRuleIdString(java.lang.String)` was removed * `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed * `withRuleId(int)` was removed +* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed * `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed -* `withRuleIdString(java.lang.String)` was removed #### `models.VpnGatewayIpConfiguration` was modified * `VpnGatewayIpConfiguration()` was changed to private access -* `withId(java.lang.String)` was removed * `withPublicIpAddress(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withPrivateIpAddress(java.lang.String)` was removed #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access -* `withSource(models.EffectiveRouteSource)` was removed -* `withAddressPrefix(java.util.List)` was removed -* `withState(models.EffectiveRouteState)` was removed * `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed -* `withNextHopType(models.RouteNextHopType)` was removed * `withNextHopIpAddress(java.util.List)` was removed +* `withNextHopType(models.RouteNextHopType)` was removed +* `withState(models.EffectiveRouteState)` was removed +* `withName(java.lang.String)` was removed +* `withSource(models.EffectiveRouteSource)` was removed +* `withAddressPrefix(java.util.List)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access +* `withPrivateIpAddressVersion(models.IpVersion)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed +* `withPrimary(java.lang.Boolean)` was removed * `privateIpAddress()` was removed +* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed * `withName(java.lang.String)` was removed -* `withPrivateIpAddress(java.lang.String)` was removed -* `withPrimary(java.lang.Boolean)` was removed -* `withPrivateIpAddressVersion(models.IpVersion)` was removed #### `models.TunnelConnectionHealth` was modified @@ -394,23 +386,23 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withPriority(java.lang.Integer)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withSources(java.util.List)` was removed -* `withId(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withDestinationPortRanges(java.util.List)` was removed +* `withSources(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed * `withDestinations(java.util.List)` was removed * `withDescription(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed * `withRegion(java.lang.String)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed #### `models.ContainerNetworkInterfaceIpConfiguration` was modified @@ -431,24 +423,24 @@ #### `models.TopologyAssociation` was modified * `TopologyAssociation()` was changed to private access -* `withAssociationType(models.AssociationType)` was removed * `withName(java.lang.String)` was removed * `withResourceId(java.lang.String)` was removed +* `withAssociationType(models.AssociationType)` was removed #### `models.SecurityGroupNetworkInterface` was modified * `SecurityGroupNetworkInterface()` was changed to private access -* `withId(java.lang.String)` was removed * `withSecurityRuleAssociations(models.SecurityRuleAssociations)` was removed +* `withId(java.lang.String)` was removed #### `models.EffectiveDefaultSecurityAdminRule` was modified * `EffectiveDefaultSecurityAdminRule()` was changed to private access -* `withConfigurationDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withFlag(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withFlag(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` @@ -461,35 +453,35 @@ * `ServiceAssociationLink()` was changed to private access * `withAllowDelete(java.lang.Boolean)` was removed -* `withLink(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withId(java.lang.String)` was removed * `withLinkedResourceType(java.lang.String)` was removed * `withLocations(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.TroubleshootingRecommendedActions` was modified * `TroubleshootingRecommendedActions()` was changed to private access * `withActionUriText(java.lang.String)` was removed -* `withActionText(java.lang.String)` was removed * `withActionUri(java.lang.String)` was removed +* `withActionText(java.lang.String)` was removed * `withActionId(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access +* `withRecommendationId(java.lang.String)` was removed +* `withCallToActionLink(java.lang.String)` was removed +* `withRecommendationText(java.lang.String)` was removed * `withRecommendationTitle(java.lang.String)` was removed * `withSeverity(java.lang.String)` was removed -* `withRecommendationId(java.lang.String)` was removed * `withCallToActionText(java.lang.String)` was removed -* `withRecommendationText(java.lang.String)` was removed -* `withCallToActionLink(java.lang.String)` was removed #### `models.ContainerNetworkInterface` was modified * `ContainerNetworkInterface()` was changed to private access -* `withId(java.lang.String)` was removed * `withContainer(models.Container)` was removed +* `withId(java.lang.String)` was removed * `withName(java.lang.String)` was removed #### `models.ExpressRouteFailoverRedundantRoute` was modified @@ -501,8 +493,8 @@ #### `models.AzureReachabilityReportLatencyInfo` was modified * `AzureReachabilityReportLatencyInfo()` was changed to private access -* `withTimestamp(java.time.OffsetDateTime)` was removed * `withScore(java.lang.Integer)` was removed +* `withTimestamp(java.time.OffsetDateTime)` was removed #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified @@ -528,36 +520,36 @@ #### `models.EffectiveNetworkSecurityRule` was modified * `EffectiveNetworkSecurityRule()` was changed to private access -* `withPriority(java.lang.Integer)` was removed -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withName(java.lang.String)` was removed -* `withDirection(models.SecurityRuleDirection)` was removed -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed -* `withDestinationPortRange(java.lang.String)` was removed -* `withAccess(models.SecurityRuleAccess)` was removed -* `withSourcePortRange(java.lang.String)` was removed * `withSourceAddressPrefixes(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withDestinationAddressPrefix(java.lang.String)` was removed +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed * `withSourceAddressPrefix(java.lang.String)` was removed * `withExpandedSourceAddressPrefix(java.util.List)` was removed +* `withSourcePortRange(java.lang.String)` was removed +* `withSourcePortRanges(java.util.List)` was removed * `withDestinationAddressPrefixes(java.util.List)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withDestinationAddressPrefix(java.lang.String)` was removed +* `withDestinationPortRange(java.lang.String)` was removed +* `withDirection(models.SecurityRuleDirection)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withAccess(models.SecurityRuleAccess)` was removed +* `withName(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access -* `withAppliedTo(java.lang.String)` was removed * `withMatchedRule(models.MatchedRule)` was removed +* `withAppliedTo(java.lang.String)` was removed * `withNetworkSecurityGroupId(java.lang.String)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access -* `withLocation(java.lang.String)` was removed -* `withId(java.lang.String)` was removed * `withAssociations(java.util.List)` was removed +* `withId(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed #### `models.AzureFirewallIpGroups` was modified @@ -566,9 +558,9 @@ #### `models.EffectiveRouteMapRoute` was modified * `EffectiveRouteMapRoute()` was changed to private access -* `withAsPath(java.lang.String)` was removed * `withBgpCommunities(java.lang.String)` was removed * `withPrefix(java.lang.String)` was removed +* `withAsPath(java.lang.String)` was removed #### `models.CrossTenantScopes` was modified @@ -578,41 +570,41 @@ * `AzureReachabilityReportItem()` was changed to private access * `withAzureLocation(java.lang.String)` was removed -* `withProvider(java.lang.String)` was removed * `withLatencies(java.util.List)` was removed +* `withProvider(java.lang.String)` was removed #### `models.TroubleshootingDetails` was modified * `TroubleshootingDetails()` was changed to private access * `withId(java.lang.String)` was removed * `withDetail(java.lang.String)` was removed -* `withRecommendedActions(java.util.List)` was removed * `withReasonType(java.lang.String)` was removed +* `withRecommendedActions(java.util.List)` was removed * `withSummary(java.lang.String)` was removed #### `models.SingleQueryResult` was modified * `SingleQueryResult()` was changed to private access -* `withSourcePorts(java.util.List)` was removed * `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `withInheritedFromParentPolicy(java.lang.Boolean)` was removed * `withSignatureId(java.lang.Integer)` was removed -* `withDescription(java.lang.String)` was removed +* `withInheritedFromParentPolicy(java.lang.Boolean)` was removed +* `withLastUpdated(java.lang.String)` was removed * `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed -* `withDestinationPorts(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed * `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed -* `withLastUpdated(java.lang.String)` was removed -* `withProtocol(java.lang.String)` was removed +* `withDestinationPorts(java.util.List)` was removed * `withGroup(java.lang.String)` was removed +* `withProtocol(java.lang.String)` was removed +* `withSourcePorts(java.util.List)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified * `NetworkSecurityRulesEvaluationResult()` was changed to private access * `withProtocolMatched(java.lang.Boolean)` was removed -* `withSourceMatched(java.lang.Boolean)` was removed +* `withName(java.lang.String)` was removed * `withSourcePortMatched(java.lang.Boolean)` was removed * `withDestinationPortMatched(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed +* `withSourceMatched(java.lang.Boolean)` was removed * `withDestinationMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -627,32 +619,32 @@ #### `models.ActiveBaseSecurityAdminRule` was modified +* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` * `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access -* `withSources(java.util.List)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `withConfigurationDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed * `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withSourcePortRanges(java.util.List)` was removed * `withDestinationPortRanges(java.util.List)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed * `withPriority(java.lang.Integer)` was removed +* `withSources(java.util.List)` was removed * `withDestinations(java.util.List)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.BgpPeerStatus` was modified @@ -662,26 +654,26 @@ * `NatRulePortMapping()` was changed to private access * `withBackendPort(java.lang.Integer)` was removed -* `withFrontendPort(java.lang.Integer)` was removed * `withInboundNatRuleName(java.lang.String)` was removed +* `withFrontendPort(java.lang.Integer)` was removed #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access +* `withIsInternal(java.lang.Boolean)` was removed * `withMetricFilterPattern(java.lang.String)` was removed -* `withSourceMdmAccount(java.lang.String)` was removed * `withAggregationType(java.lang.String)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed -* `withUnit(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withResourceIdDimensionNameOverride(java.lang.String)` was removed +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed * `withAvailabilities(java.util.List)` was removed * `withDisplayDescription(java.lang.String)` was removed -* `withIsInternal(java.lang.Boolean)` was removed -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed -* `withFillGapWithZero(java.lang.Boolean)` was removed +* `withSourceMdmAccount(java.lang.String)` was removed * `withDimensions(java.util.List)` was removed +* `withDisplayName(java.lang.String)` was removed +* `withSourceMdmNamespace(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withUnit(java.lang.String)` was removed +* `withFillGapWithZero(java.lang.Boolean)` was removed #### `models.DefaultAdminRule` was modified @@ -695,8 +687,8 @@ #### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified * `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access -* `withValueInMbps(java.lang.Integer)` was removed * `withOfferName(java.lang.String)` was removed +* `withValueInMbps(java.lang.Integer)` was removed #### `models.ApplicationGatewayFirewallRuleGroup` was modified @@ -707,15 +699,15 @@ #### `models.IpamPoolProperties` was modified -* `withProvisioningState(models.ProvisioningState)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withProvisioningState(models.ProvisioningState)` was removed #### `models.AvailableProvidersListState` was modified * `AvailableProvidersListState()` was changed to private access * `withStateName(java.lang.String)` was removed -* `withCities(java.util.List)` was removed * `withProviders(java.util.List)` was removed +* `withCities(java.util.List)` was removed #### `models.AdminRule` was modified @@ -728,20 +720,20 @@ #### `models.ResourceNavigationLink` was modified * `ResourceNavigationLink()` was changed to private access -* `withLink(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed * `withName(java.lang.String)` was removed * `withLinkedResourceType(java.lang.String)` was removed #### `models.BgpCommunity` was modified * `BgpCommunity()` was changed to private access -* `withCommunityValue(java.lang.String)` was removed +* `withServiceGroup(java.lang.String)` was removed * `withCommunityPrefixes(java.util.List)` was removed +* `withCommunityValue(java.lang.String)` was removed +* `withIsAuthorizedToUse(java.lang.Boolean)` was removed * `withServiceSupportedRegion(java.lang.String)` was removed * `withCommunityName(java.lang.String)` was removed -* `withIsAuthorizedToUse(java.lang.Boolean)` was removed -* `withServiceGroup(java.lang.String)` was removed #### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified @@ -774,8 +766,8 @@ #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified -* `withEtag(java.lang.String)` was removed * `etag()` was removed +* `withEtag(java.lang.String)` was removed #### `models.VpnClientConnectionHealthDetail` was modified @@ -788,41 +780,41 @@ #### `models.ExpressRouteCircuitArpTable` was modified * `ExpressRouteCircuitArpTable()` was changed to private access -* `withMacAddress(java.lang.String)` was removed -* `withInterfaceProperty(java.lang.String)` was removed * `withAge(java.lang.Integer)` was removed +* `withInterfaceProperty(java.lang.String)` was removed * `withIpAddress(java.lang.String)` was removed +* `withMacAddress(java.lang.String)` was removed #### `models.ActiveConnectivityConfiguration` was modified * `ActiveConnectivityConfiguration()` was changed to private access -* `withId(java.lang.String)` was removed -* `withIsGlobal(models.IsGlobal)` was removed -* `withDescription(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed * `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withAppliesToGroups(java.util.List)` was removed -* `withHubs(java.util.List)` was removed -* `withConfigurationGroups(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed * `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withConfigurationGroups(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withHubs(java.util.List)` was removed * `withRegion(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withIsGlobal(models.IsGlobal)` was removed #### `models.RouteSourceDetails` was modified * `RouteSourceDetails()` was changed to private access -* `withCircuit(java.lang.String)` was removed * `withPri(java.lang.String)` was removed +* `withCircuit(java.lang.String)` was removed * `withSec(java.lang.String)` was removed #### `models.RecordSet` was modified * `RecordSet()` was changed to private access -* `withTtl(java.lang.Integer)` was removed +* `withIpAddresses(java.util.List)` was removed * `withRecordType(java.lang.String)` was removed * `withFqdn(java.lang.String)` was removed * `withRecordSetName(java.lang.String)` was removed -* `withIpAddresses(java.util.List)` was removed +* `withTtl(java.lang.Integer)` was removed #### `models.ApplicationGatewayBackendHealthPool` was modified @@ -833,15 +825,15 @@ #### `models.AvailableProvidersListCity` was modified * `AvailableProvidersListCity()` was changed to private access -* `withCityName(java.lang.String)` was removed * `withProviders(java.util.List)` was removed +* `withCityName(java.lang.String)` was removed #### `models.ExpressRouteFailoverCircuitResourceDetails` was modified * `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access * `withConnectionName(java.lang.String)` was removed -* `withNrpResourceUri(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withNrpResourceUri(java.lang.String)` was removed #### `models.ConnectivityIssue` was modified @@ -850,9 +842,9 @@ #### `models.Availability` was modified * `Availability()` was changed to private access +* `withRetention(java.lang.String)` was removed * `withBlobDuration(java.lang.String)` was removed * `withTimeGrain(java.lang.String)` was removed -* `withRetention(java.lang.String)` was removed #### `models.VerifierWorkspaceProperties` was modified @@ -864,8 +856,8 @@ * `OperationDisplay()` was changed to private access * `withResource(java.lang.String)` was removed * `withOperation(java.lang.String)` was removed -* `withProvider(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed +* `withProvider(java.lang.String)` was removed #### `models.OperationPropertiesFormatServiceSpecification` was modified @@ -876,9 +868,9 @@ #### `models.AvailableProvidersListCountry` was modified * `AvailableProvidersListCountry()` was changed to private access +* `withStates(java.util.List)` was removed * `withProviders(java.util.List)` was removed * `withCountryName(java.lang.String)` was removed -* `withStates(java.util.List)` was removed #### `models.VirtualNetworkUsageName` was modified @@ -892,21 +884,21 @@ #### `models.ApplicationGatewayFirewallRuleSet` was modified * `ApplicationGatewayFirewallRuleSet()` was changed to private access +* `withId(java.lang.String)` was removed +* `withRuleSetType(java.lang.String)` was removed * `withLocation(java.lang.String)` was removed * `withTags(java.util.Map)` was removed -* `withRuleSetType(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withTiers(java.util.List)` was removed -* `withRuleSetVersion(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed +* `withRuleSetVersion(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed #### `models.ApplicationGatewayFirewallManifestRuleSet` was modified * `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access -* `withRuleSetType(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed * `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed +* `withRuleSetType(java.lang.String)` was removed * `withRuleSetVersion(java.lang.String)` was removed -* `withTiers(java.util.List)` was removed * `withRuleGroups(java.util.List)` was removed #### `models.NetworkManagerDeploymentStatus` was modified @@ -915,22 +907,22 @@ * `withRegion(java.lang.String)` was removed * `withDeploymentStatus(models.DeploymentStatus)` was removed * `withDeploymentType(models.ConfigurationType)` was removed -* `withErrorMessage(java.lang.String)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed * `withConfigurationIds(java.util.List)` was removed +* `withErrorMessage(java.lang.String)` was removed #### `models.CircuitMetadataMap` was modified * `CircuitMetadataMap()` was changed to private access +* `withLocation(java.lang.String)` was removed * `withName(java.lang.String)` was removed * `withLink(java.lang.String)` was removed -* `withLocation(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTableSummary` was modified * `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withNeighbor(java.lang.String)` was removed * `withV(java.lang.Integer)` was removed +* `withNeighbor(java.lang.String)` was removed * `withStatePfxRcd(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed * `withAs(java.lang.Integer)` was removed @@ -938,15 +930,15 @@ #### `models.ManagedRuleSetRuleGroup` was modified * `ManagedRuleSetRuleGroup()` was changed to private access -* `withRuleGroupName(java.lang.String)` was removed * `withRules(java.util.List)` was removed +* `withRuleGroupName(java.lang.String)` was removed #### `models.Dimension` was modified * `Dimension()` was changed to private access * `withDisplayName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withInternalName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.NetworkSecurityGroupResult` was modified @@ -956,25 +948,25 @@ #### `models.ResiliencyRecommendationComponents` was modified * `ResiliencyRecommendationComponents()` was changed to private access -* `withName(java.lang.String)` was removed * `withCurrentScore(java.lang.String)` was removed -* `withRecommendations(java.util.List)` was removed * `withMaxScore(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withRecommendations(java.util.List)` was removed #### `models.EffectiveBaseSecurityAdminRule` was modified +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` #### `models.LogSpecification` was modified * `LogSpecification()` was changed to private access +* `withName(java.lang.String)` was removed * `withBlobDuration(java.lang.String)` was removed * `withDisplayName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed #### `models.InboundNatRulePortMapping` was modified @@ -982,15 +974,15 @@ #### `models.EffectiveConnectivityConfiguration` was modified -* `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withIsGlobal(models.IsGlobal)` was removed +* `withDescription(java.lang.String)` was removed * `withHubs(java.util.List)` was removed * `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` +* `withIsGlobal(models.IsGlobal)` was removed +* `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withDescription(java.lang.String)` was removed -* `withAppliesToGroups(java.util.List)` was removed +* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` * `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withAppliesToGroups(java.util.List)` was removed #### `models.PerimeterBasedAccessRule` was modified @@ -1005,11 +997,11 @@ #### `models.VirtualHubEffectiveRoute` was modified * `VirtualHubEffectiveRoute()` was changed to private access -* `withAddressPrefixes(java.util.List)` was removed -* `withNextHops(java.util.List)` was removed +* `withNextHopType(java.lang.String)` was removed * `withRouteOrigin(java.lang.String)` was removed +* `withNextHops(java.util.List)` was removed * `withAsPath(java.lang.String)` was removed -* `withNextHopType(java.lang.String)` was removed +* `withAddressPrefixes(java.util.List)` was removed #### `models.ExpressRoutePortsLocationBandwidths` was modified @@ -1017,22 +1009,22 @@ #### `models.StaticCidrProperties` was modified -* `withProvisioningState(models.ProvisioningState)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withProvisioningState(models.ProvisioningState)` was removed #### `models.EffectiveNetworkSecurityGroupAssociation` was modified * `EffectiveNetworkSecurityGroupAssociation()` was changed to private access -* `withNetworkInterface(com.azure.core.management.SubResource)` was removed * `withNetworkManager(com.azure.core.management.SubResource)` was removed * `withSubnet(com.azure.core.management.SubResource)` was removed +* `withNetworkInterface(com.azure.core.management.SubResource)` was removed #### `models.IntentContent` was modified * `IntentContent()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withDestinationResourceId(java.lang.String)` was removed * `withSourceResourceId(java.lang.String)` was removed +* `withDestinationResourceId(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed * `withIpTraffic(models.IpTraffic)` was removed #### `models.ConfigurationGroup` was modified @@ -1042,14 +1034,24 @@ * `withDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed +#### `models.SecurityPerimeterSystemData` was modified + +* `SecurityPerimeterSystemData()` was changed to private access +* `withLastModifiedAt(java.time.OffsetDateTime)` was removed +* `withLastModifiedByType(models.CreatedByType)` was removed +* `withCreatedBy(java.lang.String)` was removed +* `withCreatedAt(java.time.OffsetDateTime)` was removed +* `withLastModifiedBy(java.lang.String)` was removed +* `withCreatedByType(models.CreatedByType)` was removed + #### `models.ExpressRouteCircuitRoutesTable` was modified * `ExpressRouteCircuitRoutesTable()` was changed to private access -* `withNetwork(java.lang.String)` was removed -* `withPath(java.lang.String)` was removed +* `withLocPrf(java.lang.String)` was removed * `withWeight(java.lang.Integer)` was removed * `withNextHop(java.lang.String)` was removed -* `withLocPrf(java.lang.String)` was removed +* `withPath(java.lang.String)` was removed +* `withNetwork(java.lang.String)` was removed #### `models.SubnetAssociation` was modified @@ -1059,8 +1061,8 @@ #### `models.RadiusAuthServer` was modified * `RadiusAuthServer()` was changed to private access -* `withRadiusServerSecret(java.lang.String)` was removed * `withRadiusServerAddress(java.lang.String)` was removed +* `withRadiusServerSecret(java.lang.String)` was removed #### `models.VirtualApplianceNicProperties` was modified @@ -1079,29 +1081,29 @@ #### `models.VpnClientConnectionHealth` was modified * `VpnClientConnectionHealth()` was changed to private access -* `withAllocatedIpAddresses(java.util.List)` was removed * `withVpnClientConnectionsCount(java.lang.Integer)` was removed +* `withAllocatedIpAddresses(java.util.List)` was removed #### `models.ExpressRouteFailoverConnectionResourceDetails` was modified * `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access -* `withStatus(models.FailoverConnectionStatus)` was removed -* `withLastUpdatedTime(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withLastUpdatedTime(java.lang.String)` was removed * `withNrpResourceUri(java.lang.String)` was removed +* `withStatus(models.FailoverConnectionStatus)` was removed #### `models.ActiveDefaultSecurityAdminRule` was modified * `ActiveDefaultSecurityAdminRule()` was changed to private access -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withRuleGroups(java.util.List)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withRuleGroups(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed * `withRegion(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed * `withId(java.lang.String)` was removed * `withFlag(java.lang.String)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` ### Features Added @@ -1147,6 +1149,8 @@ * `models.DeleteBastionShareableLinkFinalResult` was added +* `models.SecurityPerimeterTrackedResource` was added + * `models.PrepareNetworkPoliciesFinalResult` was added * `models.VpnConnectionsStopPacketCaptureFinalResult` was added diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java index a11ad2677983..b8806bae5e58 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java @@ -15,7 +15,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; import com.azure.resourcemanager.network.fluent.models.AzureFirewallPacketCaptureResponseInner; -import com.azure.resourcemanager.network.fluent.models.IPPrefixesListInner; +import com.azure.resourcemanager.network.fluent.models.IpPrefixesListInner; import com.azure.resourcemanager.network.models.FirewallPacketCaptureParameters; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; @@ -482,7 +482,7 @@ Mono>> listLearnedPrefixesWithResponseAsync(String res * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, IPPrefixesListInner> + PollerFlux, IpPrefixesListInner> beginListLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName); /** @@ -496,7 +496,7 @@ Mono>> listLearnedPrefixesWithResponseAsync(String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, IPPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, + SyncPoller, IpPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, String azureFirewallName); /** @@ -511,7 +511,7 @@ SyncPoller, IPPrefixesListInner> beginListLearne * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, IPPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, + SyncPoller, IpPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, String azureFirewallName, Context context); /** @@ -525,7 +525,7 @@ SyncPoller, IPPrefixesListInner> beginListLearne * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName); + Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName); /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. @@ -538,7 +538,7 @@ SyncPoller, IPPrefixesListInner> beginListLearne * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - IPPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName); + IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName); /** * Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT. @@ -552,7 +552,7 @@ SyncPoller, IPPrefixesListInner> beginListLearne * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - IPPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName, Context context); + IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName, Context context); /** * Runs a packet capture on AzureFirewall. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java index 8124d32c442d..d14e1b99a6ca 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java @@ -23,9 +23,9 @@ import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in CustomIPPrefixesClient. + * An instance of this class provides access to all the operations defined in CustomIpPrefixesClient. */ -public interface CustomIPPrefixesClient extends InnerSupportsGet, +public interface CustomIpPrefixesClient extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { /** * Gets the specified custom IP prefix in a specified resource group. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java index bd78fb636be7..18599c39755b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java @@ -14,7 +14,7 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ExpressRoutePortInner; -import com.azure.resourcemanager.network.fluent.models.GenerateExpressRoutePortsLOAResultInner; +import com.azure.resourcemanager.network.fluent.models.GenerateExpressRoutePortsLoaResultInner; import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLoaRequest; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; @@ -425,7 +425,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> generateLOAWithResponseAsync(String resourceGroupName, + Mono> generateLOAWithResponseAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request); /** @@ -440,7 +440,7 @@ Mono> generateLOAWithResponseA * @return response for GenerateExpressRoutePortsLOA API service call on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono generateLOAAsync(String resourceGroupName, + Mono generateLOAAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request); /** @@ -456,7 +456,7 @@ Mono generateLOAAsync(String resourceGr * @return response for GenerateExpressRoutePortsLOA API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response generateLOAWithResponse(String resourceGroupName, + Response generateLOAWithResponse(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context); /** @@ -471,6 +471,6 @@ Response generateLOAWithResponse(String * @return response for GenerateExpressRoutePortsLOA API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) - GenerateExpressRoutePortsLOAResultInner generateLOA(String resourceGroupName, String expressRoutePortName, + GenerateExpressRoutePortsLoaResultInner generateLOA(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java index cf530aa351b9..62ffa05dfa27 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java @@ -14,9 +14,9 @@ import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in NetworkInterfaceIPConfigurationsClient. + * An instance of this class provides access to all the operations defined in NetworkInterfaceIpConfigurationsClient. */ -public interface NetworkInterfaceIPConfigurationsClient { +public interface NetworkInterfaceIpConfigurationsClient { /** * Gets the specified network interface ip configuration. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesOperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesOperationsClient.java new file mode 100644 index 000000000000..07b340ad0f76 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesOperationsClient.java @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in NetworkInterfacesOperationsClient. + */ +public interface NetworkInterfacesOperationsClient { + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getVirtualMachineScaleSetIpConfigurationWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String expand); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 network interface ip configuration in a virtual machine scale set on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getVirtualMachineScaleSetIpConfigurationAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getVirtualMachineScaleSetIpConfigurationWithResponse( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String expand, Context context); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 network interface ip configuration in a virtual machine scale set. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfiguration(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetIpConfigurations( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetIpConfigurations( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand, Context context); +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java index 9b3ddf929074..593ef114f1fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java @@ -102,6 +102,13 @@ public interface NetworkManagementClient { */ PublicIpAddressesClient getPublicIpAddresses(); + /** + * Gets the CustomIpPrefixesClient object to access its operations. + * + * @return the CustomIpPrefixesClient object. + */ + CustomIpPrefixesClient getCustomIpPrefixes(); + /** * Gets the DdosCustomPoliciesClient object to access its operations. * @@ -271,11 +278,11 @@ public interface NetworkManagementClient { NatGatewaysClient getNatGateways(); /** - * Gets the NetworkInterfaceIPConfigurationsClient object to access its operations. + * Gets the NetworkInterfaceIpConfigurationsClient object to access its operations. * - * @return the NetworkInterfaceIPConfigurationsClient object. + * @return the NetworkInterfaceIpConfigurationsClient object. */ - NetworkInterfaceIPConfigurationsClient getNetworkInterfaceIPConfigurations(); + NetworkInterfaceIpConfigurationsClient getNetworkInterfaceIpConfigurations(); /** * Gets the NetworkInterfaceTapConfigurationsClient object to access its operations. @@ -767,13 +774,6 @@ public interface NetworkManagementClient { */ VipSwapsClient getVipSwaps(); - /** - * Gets the CustomIPPrefixesClient object to access its operations. - * - * @return the CustomIPPrefixesClient object. - */ - CustomIPPrefixesClient getCustomIPPrefixes(); - /** * Gets the DscpConfigurationsClient object to access its operations. * @@ -1172,4 +1172,11 @@ public interface NetworkManagementClient { * @return the UsagesClient object. */ UsagesClient getUsages(); + + /** + * Gets the NetworkInterfacesOperationsClient object to access its operations. + * + * @return the NetworkInterfacesOperationsClient object. + */ + NetworkInterfacesOperationsClient getNetworkInterfacesOperations(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java index 5940883950b9..d1a28601886c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java @@ -13,7 +13,7 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.VirtualWANInner; +import com.azure.resourcemanager.network.fluent.models.VirtualWanInner; import com.azure.resourcemanager.network.fluent.models.VirtualWanSecurityProvidersInner; import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; import com.azure.resourcemanager.network.models.TagsObject; @@ -29,7 +29,7 @@ * An instance of this class provides access to all the operations defined in VirtualWansClient. */ public interface VirtualWansClient - extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { + extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { /** * Retrieves the details of a VirtualWAN. * @@ -41,7 +41,7 @@ public interface VirtualWansClient * @return virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualWANName); /** @@ -55,7 +55,7 @@ Mono> getByResourceGroupWithResponseAsync(String resou * @return virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String virtualWANName); + Mono getByResourceGroupAsync(String resourceGroupName, String virtualWANName); /** * Retrieves the details of a VirtualWAN. @@ -69,7 +69,7 @@ Mono> getByResourceGroupWithResponseAsync(String resou * @return virtualWAN Resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, String virtualWANName, + Response getByResourceGroupWithResponse(String resourceGroupName, String virtualWANName, Context context); /** @@ -83,7 +83,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNam * @return virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualWANInner getByResourceGroup(String resourceGroupName, String virtualWANName); + VirtualWanInner getByResourceGroup(String resourceGroupName, String virtualWANName); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. @@ -98,7 +98,7 @@ Response getByResourceGroupWithResponse(String resourceGroupNam */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualWANName, - VirtualWANInner wANParameters); + VirtualWanInner wANParameters); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. @@ -112,8 +112,8 @@ Mono>> createOrUpdateWithResponseAsync(String resource * @return the {@link PollerFlux} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VirtualWANInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualWANName, VirtualWANInner wANParameters); + PollerFlux, VirtualWanInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualWANName, VirtualWanInner wANParameters); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. @@ -127,8 +127,8 @@ PollerFlux, VirtualWANInner> beginCreateOrUpdateAsyn * @return the {@link SyncPoller} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualWANInner> beginCreateOrUpdate(String resourceGroupName, - String virtualWANName, VirtualWANInner wANParameters); + SyncPoller, VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, + String virtualWANName, VirtualWanInner wANParameters); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. @@ -143,8 +143,8 @@ SyncPoller, VirtualWANInner> beginCreateOrUpdate(Str * @return the {@link SyncPoller} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VirtualWANInner> beginCreateOrUpdate(String resourceGroupName, - String virtualWANName, VirtualWANInner wANParameters, Context context); + SyncPoller, VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, + String virtualWANName, VirtualWanInner wANParameters, Context context); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. @@ -158,8 +158,8 @@ SyncPoller, VirtualWANInner> beginCreateOrUpdate(Str * @return virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String virtualWANName, - VirtualWANInner wANParameters); + Mono createOrUpdateAsync(String resourceGroupName, String virtualWANName, + VirtualWanInner wANParameters); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. @@ -173,7 +173,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String virtu * @return virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWANName, VirtualWANInner wANParameters); + VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWANName, VirtualWanInner wANParameters); /** * Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. @@ -188,7 +188,7 @@ Mono createOrUpdateAsync(String resourceGroupName, String virtu * @return virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWANName, VirtualWANInner wANParameters, + VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWANName, VirtualWanInner wANParameters, Context context); /** @@ -203,7 +203,7 @@ VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWANName, * @return virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWANName, + Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWANName, TagsObject wANParameters); /** @@ -218,7 +218,7 @@ Mono> updateTagsWithResponseAsync(String resourceGroup * @return virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateTagsAsync(String resourceGroupName, String virtualWANName, TagsObject wANParameters); + Mono updateTagsAsync(String resourceGroupName, String virtualWANName, TagsObject wANParameters); /** * Updates a VirtualWAN tags. @@ -233,7 +233,7 @@ Mono> updateTagsWithResponseAsync(String resourceGroup * @return virtualWAN Resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response updateTagsWithResponse(String resourceGroupName, String virtualWANName, + Response updateTagsWithResponse(String resourceGroupName, String virtualWANName, TagsObject wANParameters, Context context); /** @@ -248,7 +248,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - VirtualWANInner updateTags(String resourceGroupName, String virtualWANName, TagsObject wANParameters); + VirtualWanInner updateTags(String resourceGroupName, String virtualWANName, TagsObject wANParameters); /** * Deletes a VirtualWAN. @@ -351,7 +351,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); + PagedFlux listByResourceGroupAsync(String resourceGroupName); /** * Lists all the VirtualWANs in a resource group. @@ -363,7 +363,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); + PagedIterable listByResourceGroup(String resourceGroupName); /** * Lists all the VirtualWANs in a resource group. @@ -376,7 +376,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); + PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** * Lists all the VirtualWANs in a subscription. @@ -386,7 +386,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); + PagedFlux listAsync(); /** * Lists all the VirtualWANs in a subscription. @@ -396,7 +396,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + PagedIterable list(); /** * Lists all the VirtualWANs in a subscription. @@ -408,7 +408,7 @@ Response updateTagsWithResponse(String resourceGroupName, Strin * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + PagedIterable list(Context context); /** * Gives the supported security providers for the virtual wan. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java index 926eb4919a51..7ca627db3a7b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java @@ -18,8 +18,8 @@ * Properties of entra jwt validation configuration of the application gateway. */ @Fluent -public final class ApplicationGatewayEntraJWTValidationConfigPropertiesFormat - implements JsonSerializable { +public final class ApplicationGatewayEntraJwtValidationConfigPropertiesFormat + implements JsonSerializable { /* * Unauthorized request action. */ @@ -47,9 +47,9 @@ public final class ApplicationGatewayEntraJWTValidationConfigPropertiesFormat private ProvisioningState provisioningState; /** - * Creates an instance of ApplicationGatewayEntraJWTValidationConfigPropertiesFormat class. + * Creates an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat class. */ - public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat() { + public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat() { } /** @@ -65,9 +65,9 @@ public ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction() { * Set the unAuthorizedRequestAction property: Unauthorized request action. * * @param unAuthorizedRequestAction the unAuthorizedRequestAction value to set. - * @return the ApplicationGatewayEntraJWTValidationConfigPropertiesFormat object itself. + * @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself. */ - public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat + public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction) { this.unAuthorizedRequestAction = unAuthorizedRequestAction; return this; @@ -86,9 +86,9 @@ public String tenantId() { * Set the tenantId property: The Tenant ID of the Microsoft Entra ID application. * * @param tenantId the tenantId value to set. - * @return the ApplicationGatewayEntraJWTValidationConfigPropertiesFormat object itself. + * @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself. */ - public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat withTenantId(String tenantId) { + public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withTenantId(String tenantId) { this.tenantId = tenantId; return this; } @@ -106,9 +106,9 @@ public String clientId() { * Set the clientId property: The Client ID of the Microsoft Entra ID application. * * @param clientId the clientId value to set. - * @return the ApplicationGatewayEntraJWTValidationConfigPropertiesFormat object itself. + * @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself. */ - public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat withClientId(String clientId) { + public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withClientId(String clientId) { this.clientId = clientId; return this; } @@ -128,9 +128,9 @@ public List audiences() { * maximum of 5 audiences are permitted. * * @param audiences the audiences value to set. - * @return the ApplicationGatewayEntraJWTValidationConfigPropertiesFormat object itself. + * @return the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself. */ - public ApplicationGatewayEntraJWTValidationConfigPropertiesFormat withAudiences(List audiences) { + public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withAudiences(List audiences) { this.audiences = audiences; return this; } @@ -167,44 +167,44 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ApplicationGatewayEntraJWTValidationConfigPropertiesFormat from the JsonReader. + * Reads an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ApplicationGatewayEntraJWTValidationConfigPropertiesFormat if the JsonReader was pointing + * @return An instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat if the JsonReader was pointing * to an instance of it, or null if it was pointing to JSON null. * @throws IOException If an error occurs while reading the - * ApplicationGatewayEntraJWTValidationConfigPropertiesFormat. + * ApplicationGatewayEntraJwtValidationConfigPropertiesFormat. */ - public static ApplicationGatewayEntraJWTValidationConfigPropertiesFormat fromJson(JsonReader jsonReader) + public static ApplicationGatewayEntraJwtValidationConfigPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ApplicationGatewayEntraJWTValidationConfigPropertiesFormat deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat - = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); + ApplicationGatewayEntraJwtValidationConfigPropertiesFormat deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat + = new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("unAuthorizedRequestAction".equals(fieldName)) { - deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.unAuthorizedRequestAction + deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.unAuthorizedRequestAction = ApplicationGatewayUnAuthorizedRequestAction.fromString(reader.getString()); } else if ("tenantId".equals(fieldName)) { - deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.tenantId + deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.tenantId = reader.getString(); } else if ("clientId".equals(fieldName)) { - deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.clientId + deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.clientId = reader.getString(); } else if ("audiences".equals(fieldName)) { List audiences = reader.readArray(reader1 -> reader1.getString()); - deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.audiences = audiences; + deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.audiences = audiences; } else if ("provisioningState".equals(fieldName)) { - deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat.provisioningState + deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedApplicationGatewayEntraJWTValidationConfigPropertiesFormat; + return deserializedApplicationGatewayEntraJwtValidationConfigPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java index 69f8b3a27f30..d4d57d2cf8ea 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java @@ -18,8 +18,8 @@ * Properties of Frontend IP configuration of an application gateway. */ @Fluent -public final class ApplicationGatewayFrontendIPConfigurationPropertiesFormat - implements JsonSerializable { +public final class ApplicationGatewayFrontendIpConfigurationPropertiesFormat + implements JsonSerializable { /* * PrivateIPAddress of the network interface IP Configuration. */ @@ -51,9 +51,9 @@ public final class ApplicationGatewayFrontendIPConfigurationPropertiesFormat private ProvisioningState provisioningState; /** - * Creates an instance of ApplicationGatewayFrontendIPConfigurationPropertiesFormat class. + * Creates an instance of ApplicationGatewayFrontendIpConfigurationPropertiesFormat class. */ - public ApplicationGatewayFrontendIPConfigurationPropertiesFormat() { + public ApplicationGatewayFrontendIpConfigurationPropertiesFormat() { } /** @@ -69,9 +69,9 @@ public String privateIpAddress() { * Set the privateIpAddress property: PrivateIPAddress of the network interface IP Configuration. * * @param privateIpAddress the privateIpAddress value to set. - * @return the ApplicationGatewayFrontendIPConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayFrontendIPConfigurationPropertiesFormat withPrivateIpAddress(String privateIpAddress) { + public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -89,9 +89,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: The private IP address allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the ApplicationGatewayFrontendIPConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayFrontendIPConfigurationPropertiesFormat + public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -110,9 +110,9 @@ public SubResource subnet() { * Set the subnet property: Reference to the subnet resource. * * @param subnet the subnet value to set. - * @return the ApplicationGatewayFrontendIPConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayFrontendIPConfigurationPropertiesFormat withSubnet(SubResource subnet) { + public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withSubnet(SubResource subnet) { this.subnet = subnet; return this; } @@ -130,9 +130,9 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: Reference to the PublicIP resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the ApplicationGatewayFrontendIPConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayFrontendIPConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { + public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -150,9 +150,9 @@ public SubResource privateLinkConfiguration() { * Set the privateLinkConfiguration property: Reference to the application gateway private link configuration. * * @param privateLinkConfiguration the privateLinkConfiguration value to set. - * @return the ApplicationGatewayFrontendIPConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayFrontendIpConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayFrontendIPConfigurationPropertiesFormat + public ApplicationGatewayFrontendIpConfigurationPropertiesFormat withPrivateLinkConfiguration(SubResource privateLinkConfiguration) { this.privateLinkConfiguration = privateLinkConfiguration; return this; @@ -191,47 +191,47 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ApplicationGatewayFrontendIPConfigurationPropertiesFormat from the JsonReader. + * Reads an instance of ApplicationGatewayFrontendIpConfigurationPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ApplicationGatewayFrontendIPConfigurationPropertiesFormat if the JsonReader was pointing + * @return An instance of ApplicationGatewayFrontendIpConfigurationPropertiesFormat 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 - * ApplicationGatewayFrontendIPConfigurationPropertiesFormat. + * ApplicationGatewayFrontendIpConfigurationPropertiesFormat. */ - public static ApplicationGatewayFrontendIPConfigurationPropertiesFormat fromJson(JsonReader jsonReader) + public static ApplicationGatewayFrontendIpConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ApplicationGatewayFrontendIPConfigurationPropertiesFormat deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat - = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); + ApplicationGatewayFrontendIpConfigurationPropertiesFormat deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat + = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.privateIpAddress + deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.privateIpAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.privateIpAllocationMethod + deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.subnet + deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.publicIpAddress + deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.publicIpAddress = SubResource.fromJson(reader); } else if ("privateLinkConfiguration".equals(fieldName)) { - deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.privateLinkConfiguration + deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.privateLinkConfiguration = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat.provisioningState + deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedApplicationGatewayFrontendIPConfigurationPropertiesFormat; + return deserializedApplicationGatewayFrontendIpConfigurationPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java index 8be5a913037d..10333730ff93 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java @@ -20,7 +20,7 @@ public final class ApplicationGatewayIpConfigurationInner extends SubResource { /* * Properties of the application gateway IP configuration. */ - private ApplicationGatewayIPConfigurationPropertiesFormat innerProperties; + private ApplicationGatewayIpConfigurationPropertiesFormat innerProperties; /* * Name of the IP configuration that is unique within an Application Gateway. @@ -48,7 +48,7 @@ public ApplicationGatewayIpConfigurationInner() { * * @return the innerProperties value. */ - private ApplicationGatewayIPConfigurationPropertiesFormat innerProperties() { + private ApplicationGatewayIpConfigurationPropertiesFormat innerProperties() { return this.innerProperties; } @@ -118,7 +118,7 @@ public SubResource subnet() { */ public ApplicationGatewayIpConfigurationInner withSubnet(SubResource subnet) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayIPConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayIpConfigurationPropertiesFormat(); } this.innerProperties().withSubnet(subnet); return this; @@ -176,7 +176,7 @@ public static ApplicationGatewayIpConfigurationInner fromJson(JsonReader jsonRea deserializedApplicationGatewayIpConfigurationInner.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedApplicationGatewayIpConfigurationInner.innerProperties - = ApplicationGatewayIPConfigurationPropertiesFormat.fromJson(reader); + = ApplicationGatewayIpConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedApplicationGatewayIpConfigurationInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java index 1465fdf2ffbb..34e9817da933 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java @@ -17,8 +17,8 @@ * Properties of IP configuration of an application gateway. */ @Fluent -public final class ApplicationGatewayIPConfigurationPropertiesFormat - implements JsonSerializable { +public final class ApplicationGatewayIpConfigurationPropertiesFormat + implements JsonSerializable { /* * Reference to the subnet resource. A subnet from where application gateway gets its private address. */ @@ -30,9 +30,9 @@ public final class ApplicationGatewayIPConfigurationPropertiesFormat private ProvisioningState provisioningState; /** - * Creates an instance of ApplicationGatewayIPConfigurationPropertiesFormat class. + * Creates an instance of ApplicationGatewayIpConfigurationPropertiesFormat class. */ - public ApplicationGatewayIPConfigurationPropertiesFormat() { + public ApplicationGatewayIpConfigurationPropertiesFormat() { } /** @@ -50,9 +50,9 @@ public SubResource subnet() { * private address. * * @param subnet the subnet value to set. - * @return the ApplicationGatewayIPConfigurationPropertiesFormat object itself. + * @return the ApplicationGatewayIpConfigurationPropertiesFormat object itself. */ - public ApplicationGatewayIPConfigurationPropertiesFormat withSubnet(SubResource subnet) { + public ApplicationGatewayIpConfigurationPropertiesFormat withSubnet(SubResource subnet) { this.subnet = subnet; return this; } @@ -85,32 +85,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ApplicationGatewayIPConfigurationPropertiesFormat from the JsonReader. + * Reads an instance of ApplicationGatewayIpConfigurationPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ApplicationGatewayIPConfigurationPropertiesFormat if the JsonReader was pointing to an + * @return An instance of ApplicationGatewayIpConfigurationPropertiesFormat 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 ApplicationGatewayIPConfigurationPropertiesFormat. + * @throws IOException If an error occurs while reading the ApplicationGatewayIpConfigurationPropertiesFormat. */ - public static ApplicationGatewayIPConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { + public static ApplicationGatewayIpConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ApplicationGatewayIPConfigurationPropertiesFormat deserializedApplicationGatewayIPConfigurationPropertiesFormat - = new ApplicationGatewayIPConfigurationPropertiesFormat(); + ApplicationGatewayIpConfigurationPropertiesFormat deserializedApplicationGatewayIpConfigurationPropertiesFormat + = new ApplicationGatewayIpConfigurationPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("subnet".equals(fieldName)) { - deserializedApplicationGatewayIPConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); + deserializedApplicationGatewayIpConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedApplicationGatewayIPConfigurationPropertiesFormat.provisioningState + deserializedApplicationGatewayIpConfigurationPropertiesFormat.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedApplicationGatewayIPConfigurationPropertiesFormat; + return deserializedApplicationGatewayIpConfigurationPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java index 3d25bc0ecfec..41ecf0dcf4b9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java @@ -17,8 +17,8 @@ * Properties of IP configuration of an Azure Firewall. */ @Fluent -public final class AzureFirewallIPConfigurationPropertiesFormat - implements JsonSerializable { +public final class AzureFirewallIpConfigurationPropertiesFormat + implements JsonSerializable { /* * The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. */ @@ -41,9 +41,9 @@ public final class AzureFirewallIPConfigurationPropertiesFormat private ProvisioningState provisioningState; /** - * Creates an instance of AzureFirewallIPConfigurationPropertiesFormat class. + * Creates an instance of AzureFirewallIpConfigurationPropertiesFormat class. */ - public AzureFirewallIPConfigurationPropertiesFormat() { + public AzureFirewallIpConfigurationPropertiesFormat() { } /** @@ -71,9 +71,9 @@ public SubResource subnet() { * 'AzureFirewallManagementSubnet'. * * @param subnet the subnet value to set. - * @return the AzureFirewallIPConfigurationPropertiesFormat object itself. + * @return the AzureFirewallIpConfigurationPropertiesFormat object itself. */ - public AzureFirewallIPConfigurationPropertiesFormat withSubnet(SubResource subnet) { + public AzureFirewallIpConfigurationPropertiesFormat withSubnet(SubResource subnet) { this.subnet = subnet; return this; } @@ -93,9 +93,9 @@ public SubResource publicIpAddress() { * is not null. * * @param publicIpAddress the publicIpAddress value to set. - * @return the AzureFirewallIPConfigurationPropertiesFormat object itself. + * @return the AzureFirewallIpConfigurationPropertiesFormat object itself. */ - public AzureFirewallIPConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { + public AzureFirewallIpConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -129,37 +129,37 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of AzureFirewallIPConfigurationPropertiesFormat from the JsonReader. + * Reads an instance of AzureFirewallIpConfigurationPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of AzureFirewallIPConfigurationPropertiesFormat if the JsonReader was pointing to an instance + * @return An instance of AzureFirewallIpConfigurationPropertiesFormat 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 AzureFirewallIPConfigurationPropertiesFormat. + * @throws IOException If an error occurs while reading the AzureFirewallIpConfigurationPropertiesFormat. */ - public static AzureFirewallIPConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { + public static AzureFirewallIpConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - AzureFirewallIPConfigurationPropertiesFormat deserializedAzureFirewallIPConfigurationPropertiesFormat - = new AzureFirewallIPConfigurationPropertiesFormat(); + AzureFirewallIpConfigurationPropertiesFormat deserializedAzureFirewallIpConfigurationPropertiesFormat + = new AzureFirewallIpConfigurationPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedAzureFirewallIPConfigurationPropertiesFormat.privateIpAddress = reader.getString(); + deserializedAzureFirewallIpConfigurationPropertiesFormat.privateIpAddress = reader.getString(); } else if ("subnet".equals(fieldName)) { - deserializedAzureFirewallIPConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); + deserializedAzureFirewallIpConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedAzureFirewallIPConfigurationPropertiesFormat.publicIpAddress + deserializedAzureFirewallIpConfigurationPropertiesFormat.publicIpAddress = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedAzureFirewallIPConfigurationPropertiesFormat.provisioningState + deserializedAzureFirewallIpConfigurationPropertiesFormat.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedAzureFirewallIPConfigurationPropertiesFormat; + return deserializedAzureFirewallIpConfigurationPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java index 7405d63b0bce..b09dede240c3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java @@ -19,8 +19,8 @@ * Properties of IP configuration of an Bastion Host. */ @Fluent -public final class BastionHostIPConfigurationPropertiesFormat - implements JsonSerializable { +public final class BastionHostIpConfigurationPropertiesFormat + implements JsonSerializable { /* * Reference of the subnet resource. */ @@ -42,9 +42,9 @@ public final class BastionHostIPConfigurationPropertiesFormat private IpAllocationMethod privateIpAllocationMethod; /** - * Creates an instance of BastionHostIPConfigurationPropertiesFormat class. + * Creates an instance of BastionHostIpConfigurationPropertiesFormat class. */ - public BastionHostIPConfigurationPropertiesFormat() { + public BastionHostIpConfigurationPropertiesFormat() { } /** @@ -60,9 +60,9 @@ public SubResource subnet() { * Set the subnet property: Reference of the subnet resource. * * @param subnet the subnet value to set. - * @return the BastionHostIPConfigurationPropertiesFormat object itself. + * @return the BastionHostIpConfigurationPropertiesFormat object itself. */ - public BastionHostIPConfigurationPropertiesFormat withSubnet(SubResource subnet) { + public BastionHostIpConfigurationPropertiesFormat withSubnet(SubResource subnet) { this.subnet = subnet; return this; } @@ -80,9 +80,9 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: Reference of the PublicIP resource. Null for private only bastion. * * @param publicIpAddress the publicIpAddress value to set. - * @return the BastionHostIPConfigurationPropertiesFormat object itself. + * @return the BastionHostIpConfigurationPropertiesFormat object itself. */ - public BastionHostIPConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { + public BastionHostIpConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -109,9 +109,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: Private IP allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the BastionHostIPConfigurationPropertiesFormat object itself. + * @return the BastionHostIpConfigurationPropertiesFormat object itself. */ - public BastionHostIPConfigurationPropertiesFormat + public BastionHostIpConfigurationPropertiesFormat withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -126,11 +126,11 @@ public void validate() { if (subnet() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( - "Missing required property subnet in model BastionHostIPConfigurationPropertiesFormat")); + "Missing required property subnet in model BastionHostIpConfigurationPropertiesFormat")); } } - private static final ClientLogger LOGGER = new ClientLogger(BastionHostIPConfigurationPropertiesFormat.class); + private static final ClientLogger LOGGER = new ClientLogger(BastionHostIpConfigurationPropertiesFormat.class); /** * {@inheritDoc} @@ -146,39 +146,39 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of BastionHostIPConfigurationPropertiesFormat from the JsonReader. + * Reads an instance of BastionHostIpConfigurationPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of BastionHostIPConfigurationPropertiesFormat if the JsonReader was pointing to an instance + * @return An instance of BastionHostIpConfigurationPropertiesFormat 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 BastionHostIPConfigurationPropertiesFormat. + * @throws IOException If an error occurs while reading the BastionHostIpConfigurationPropertiesFormat. */ - public static BastionHostIPConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { + public static BastionHostIpConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - BastionHostIPConfigurationPropertiesFormat deserializedBastionHostIPConfigurationPropertiesFormat - = new BastionHostIPConfigurationPropertiesFormat(); + BastionHostIpConfigurationPropertiesFormat deserializedBastionHostIpConfigurationPropertiesFormat + = new BastionHostIpConfigurationPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("subnet".equals(fieldName)) { - deserializedBastionHostIPConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); + deserializedBastionHostIpConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedBastionHostIPConfigurationPropertiesFormat.publicIpAddress + deserializedBastionHostIpConfigurationPropertiesFormat.publicIpAddress = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedBastionHostIPConfigurationPropertiesFormat.provisioningState + deserializedBastionHostIpConfigurationPropertiesFormat.provisioningState = ProvisioningState.fromString(reader.getString()); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedBastionHostIPConfigurationPropertiesFormat.privateIpAllocationMethod + deserializedBastionHostIpConfigurationPropertiesFormat.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedBastionHostIPConfigurationPropertiesFormat; + return deserializedBastionHostIpConfigurationPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java index 9facf7429372..cec4031def24 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java @@ -24,7 +24,7 @@ public final class FrontendIpConfigurationInner extends SubResourceModel { /* * Properties of the load balancer probe. */ - private FrontendIPConfigurationPropertiesFormatInner innerProperties; + private FrontendIpConfigurationPropertiesFormatInner innerProperties; /* * A unique read-only string that changes whenever the resource is updated. @@ -52,7 +52,7 @@ public FrontendIpConfigurationInner() { * * @return the innerProperties value. */ - private FrontendIPConfigurationPropertiesFormatInner innerProperties() { + private FrontendIpConfigurationPropertiesFormatInner innerProperties() { return this.innerProperties; } @@ -168,7 +168,7 @@ public String privateIpAddress() { */ public FrontendIpConfigurationInner withPrivateIpAddress(String privateIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAddress(privateIpAddress); return this; @@ -191,7 +191,7 @@ public IpAllocationMethod privateIpAllocationMethod() { */ public FrontendIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -216,7 +216,7 @@ public IpVersion privateIpAddressVersion() { */ public FrontendIpConfigurationInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAddressVersion(privateIpAddressVersion); return this; @@ -239,7 +239,7 @@ public SubnetInner subnet() { */ public FrontendIpConfigurationInner withSubnet(SubnetInner subnet) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); } this.innerProperties().withSubnet(subnet); return this; @@ -262,7 +262,7 @@ public PublicIpAddressInner publicIpAddress() { */ public FrontendIpConfigurationInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -285,7 +285,7 @@ public SubResource publicIPPrefix() { */ public FrontendIpConfigurationInner withPublicIPPrefix(SubResource publicIPPrefix) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPublicIPPrefix(publicIPPrefix); return this; @@ -308,7 +308,7 @@ public SubResource gatewayLoadBalancer() { */ public FrontendIpConfigurationInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer) { if (this.innerProperties() == null) { - this.innerProperties = new FrontendIPConfigurationPropertiesFormatInner(); + this.innerProperties = new FrontendIpConfigurationPropertiesFormatInner(); } this.innerProperties().withGatewayLoadBalancer(gatewayLoadBalancer); return this; @@ -371,7 +371,7 @@ public static FrontendIpConfigurationInner fromJson(JsonReader jsonReader) throw deserializedFrontendIpConfigurationInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedFrontendIpConfigurationInner.innerProperties - = FrontendIPConfigurationPropertiesFormatInner.fromJson(reader); + = FrontendIpConfigurationPropertiesFormatInner.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedFrontendIpConfigurationInner.etag = reader.getString(); } else if ("zones".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java index 5750631e49ab..9d4a450b22de 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java @@ -20,8 +20,8 @@ * Properties of Frontend IP Configuration of the load balancer. */ @Fluent -public final class FrontendIPConfigurationPropertiesFormatInner - implements JsonSerializable { +public final class FrontendIpConfigurationPropertiesFormatInner + implements JsonSerializable { /* * An array of references to inbound rules that use this frontend IP. */ @@ -83,9 +83,9 @@ public final class FrontendIPConfigurationPropertiesFormatInner private ProvisioningState provisioningState; /** - * Creates an instance of FrontendIPConfigurationPropertiesFormatInner class. + * Creates an instance of FrontendIpConfigurationPropertiesFormatInner class. */ - public FrontendIPConfigurationPropertiesFormatInner() { + public FrontendIpConfigurationPropertiesFormatInner() { } /** @@ -137,9 +137,9 @@ public String privateIpAddress() { * Set the privateIpAddress property: The private IP address of the IP configuration. * * @param privateIpAddress the privateIpAddress value to set. - * @return the FrontendIPConfigurationPropertiesFormatInner object itself. + * @return the FrontendIpConfigurationPropertiesFormatInner object itself. */ - public FrontendIPConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { + public FrontendIpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -157,9 +157,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: The Private IP allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the FrontendIPConfigurationPropertiesFormatInner object itself. + * @return the FrontendIpConfigurationPropertiesFormatInner object itself. */ - public FrontendIPConfigurationPropertiesFormatInner + public FrontendIpConfigurationPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -180,9 +180,9 @@ public IpVersion privateIpAddressVersion() { * as IPv4. * * @param privateIpAddressVersion the privateIpAddressVersion value to set. - * @return the FrontendIPConfigurationPropertiesFormatInner object itself. + * @return the FrontendIpConfigurationPropertiesFormatInner object itself. */ - public FrontendIPConfigurationPropertiesFormatInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { + public FrontendIpConfigurationPropertiesFormatInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { this.privateIpAddressVersion = privateIpAddressVersion; return this; } @@ -200,9 +200,9 @@ public SubnetInner subnet() { * Set the subnet property: The reference to the subnet resource. * * @param subnet the subnet value to set. - * @return the FrontendIPConfigurationPropertiesFormatInner object itself. + * @return the FrontendIpConfigurationPropertiesFormatInner object itself. */ - public FrontendIPConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { + public FrontendIpConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { this.subnet = subnet; return this; } @@ -220,9 +220,9 @@ public PublicIpAddressInner publicIpAddress() { * Set the publicIpAddress property: The reference to the Public IP resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the FrontendIPConfigurationPropertiesFormatInner object itself. + * @return the FrontendIpConfigurationPropertiesFormatInner object itself. */ - public FrontendIPConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { + public FrontendIpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -240,9 +240,9 @@ public SubResource publicIPPrefix() { * Set the publicIPPrefix property: The reference to the Public IP Prefix resource. * * @param publicIPPrefix the publicIPPrefix value to set. - * @return the FrontendIPConfigurationPropertiesFormatInner object itself. + * @return the FrontendIpConfigurationPropertiesFormatInner object itself. */ - public FrontendIPConfigurationPropertiesFormatInner withPublicIPPrefix(SubResource publicIPPrefix) { + public FrontendIpConfigurationPropertiesFormatInner withPublicIPPrefix(SubResource publicIPPrefix) { this.publicIPPrefix = publicIPPrefix; return this; } @@ -260,9 +260,9 @@ public SubResource gatewayLoadBalancer() { * Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP. * * @param gatewayLoadBalancer the gatewayLoadBalancer value to set. - * @return the FrontendIPConfigurationPropertiesFormatInner object itself. + * @return the FrontendIpConfigurationPropertiesFormatInner object itself. */ - public FrontendIPConfigurationPropertiesFormatInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer) { + public FrontendIpConfigurationPropertiesFormatInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer) { this.gatewayLoadBalancer = gatewayLoadBalancer; return this; } @@ -309,61 +309,61 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of FrontendIPConfigurationPropertiesFormatInner from the JsonReader. + * Reads an instance of FrontendIpConfigurationPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of FrontendIPConfigurationPropertiesFormatInner if the JsonReader was pointing to an instance + * @return An instance of FrontendIpConfigurationPropertiesFormatInner 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 FrontendIPConfigurationPropertiesFormatInner. + * @throws IOException If an error occurs while reading the FrontendIpConfigurationPropertiesFormatInner. */ - public static FrontendIPConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static FrontendIpConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - FrontendIPConfigurationPropertiesFormatInner deserializedFrontendIPConfigurationPropertiesFormatInner - = new FrontendIPConfigurationPropertiesFormatInner(); + FrontendIpConfigurationPropertiesFormatInner deserializedFrontendIpConfigurationPropertiesFormatInner + = new FrontendIpConfigurationPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("inboundNatRules".equals(fieldName)) { List inboundNatRules = reader.readArray(reader1 -> SubResource.fromJson(reader1)); - deserializedFrontendIPConfigurationPropertiesFormatInner.inboundNatRules = inboundNatRules; + deserializedFrontendIpConfigurationPropertiesFormatInner.inboundNatRules = inboundNatRules; } else if ("inboundNatPools".equals(fieldName)) { List inboundNatPools = reader.readArray(reader1 -> SubResource.fromJson(reader1)); - deserializedFrontendIPConfigurationPropertiesFormatInner.inboundNatPools = inboundNatPools; + deserializedFrontendIpConfigurationPropertiesFormatInner.inboundNatPools = inboundNatPools; } else if ("outboundRules".equals(fieldName)) { List outboundRules = reader.readArray(reader1 -> SubResource.fromJson(reader1)); - deserializedFrontendIPConfigurationPropertiesFormatInner.outboundRules = outboundRules; + deserializedFrontendIpConfigurationPropertiesFormatInner.outboundRules = outboundRules; } else if ("loadBalancingRules".equals(fieldName)) { List loadBalancingRules = reader.readArray(reader1 -> SubResource.fromJson(reader1)); - deserializedFrontendIPConfigurationPropertiesFormatInner.loadBalancingRules = loadBalancingRules; + deserializedFrontendIpConfigurationPropertiesFormatInner.loadBalancingRules = loadBalancingRules; } else if ("privateIPAddress".equals(fieldName)) { - deserializedFrontendIPConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); + deserializedFrontendIpConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedFrontendIPConfigurationPropertiesFormatInner.privateIpAllocationMethod + deserializedFrontendIpConfigurationPropertiesFormatInner.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("privateIPAddressVersion".equals(fieldName)) { - deserializedFrontendIPConfigurationPropertiesFormatInner.privateIpAddressVersion + deserializedFrontendIpConfigurationPropertiesFormatInner.privateIpAddressVersion = IpVersion.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedFrontendIPConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); + deserializedFrontendIpConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedFrontendIPConfigurationPropertiesFormatInner.publicIpAddress + deserializedFrontendIpConfigurationPropertiesFormatInner.publicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("publicIPPrefix".equals(fieldName)) { - deserializedFrontendIPConfigurationPropertiesFormatInner.publicIPPrefix + deserializedFrontendIpConfigurationPropertiesFormatInner.publicIPPrefix = SubResource.fromJson(reader); } else if ("gatewayLoadBalancer".equals(fieldName)) { - deserializedFrontendIPConfigurationPropertiesFormatInner.gatewayLoadBalancer + deserializedFrontendIpConfigurationPropertiesFormatInner.gatewayLoadBalancer = SubResource.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedFrontendIPConfigurationPropertiesFormatInner.provisioningState + deserializedFrontendIpConfigurationPropertiesFormatInner.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedFrontendIPConfigurationPropertiesFormatInner; + return deserializedFrontendIpConfigurationPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java index 508064c61be9..b5bf9804479e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java @@ -15,17 +15,17 @@ * Response for GenerateExpressRoutePortsLOA API service call. */ @Immutable -public final class GenerateExpressRoutePortsLOAResultInner - implements JsonSerializable { +public final class GenerateExpressRoutePortsLoaResultInner + implements JsonSerializable { /* * The content as a base64 encoded string. */ private String encodedContent; /** - * Creates an instance of GenerateExpressRoutePortsLOAResultInner class. + * Creates an instance of GenerateExpressRoutePortsLoaResultInner class. */ - private GenerateExpressRoutePortsLOAResultInner() { + private GenerateExpressRoutePortsLoaResultInner() { } /** @@ -56,29 +56,29 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of GenerateExpressRoutePortsLOAResultInner from the JsonReader. + * Reads an instance of GenerateExpressRoutePortsLoaResultInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of GenerateExpressRoutePortsLOAResultInner if the JsonReader was pointing to an instance of + * @return An instance of GenerateExpressRoutePortsLoaResultInner 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 GenerateExpressRoutePortsLOAResultInner. + * @throws IOException If an error occurs while reading the GenerateExpressRoutePortsLoaResultInner. */ - public static GenerateExpressRoutePortsLOAResultInner fromJson(JsonReader jsonReader) throws IOException { + public static GenerateExpressRoutePortsLoaResultInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - GenerateExpressRoutePortsLOAResultInner deserializedGenerateExpressRoutePortsLOAResultInner - = new GenerateExpressRoutePortsLOAResultInner(); + GenerateExpressRoutePortsLoaResultInner deserializedGenerateExpressRoutePortsLoaResultInner + = new GenerateExpressRoutePortsLoaResultInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("encodedContent".equals(fieldName)) { - deserializedGenerateExpressRoutePortsLOAResultInner.encodedContent = reader.getString(); + deserializedGenerateExpressRoutePortsLoaResultInner.encodedContent = reader.getString(); } else { reader.skipChildren(); } } - return deserializedGenerateExpressRoutePortsLOAResultInner; + return deserializedGenerateExpressRoutePortsLoaResultInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java index c07a085753a4..ddf2a379f1e6 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java @@ -21,7 +21,7 @@ public final class HubIpConfigurationInner extends SubResourceModel { /* * The properties of the Virtual Hub IPConfigurations. */ - private HubIPConfigurationPropertiesFormatInner innerProperties; + private HubIpConfigurationPropertiesFormatInner innerProperties; /* * A unique read-only string that changes whenever the resource is updated. @@ -44,7 +44,7 @@ public HubIpConfigurationInner() { * * @return the innerProperties value. */ - private HubIPConfigurationPropertiesFormatInner innerProperties() { + private HubIpConfigurationPropertiesFormatInner innerProperties() { return this.innerProperties; } @@ -102,7 +102,7 @@ public String privateIpAddress() { */ public HubIpConfigurationInner withPrivateIpAddress(String privateIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new HubIPConfigurationPropertiesFormatInner(); + this.innerProperties = new HubIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAddress(privateIpAddress); return this; @@ -125,7 +125,7 @@ public IpAllocationMethod privateIpAllocationMethod() { */ public HubIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new HubIPConfigurationPropertiesFormatInner(); + this.innerProperties = new HubIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -148,7 +148,7 @@ public SubnetInner subnet() { */ public HubIpConfigurationInner withSubnet(SubnetInner subnet) { if (this.innerProperties() == null) { - this.innerProperties = new HubIPConfigurationPropertiesFormatInner(); + this.innerProperties = new HubIpConfigurationPropertiesFormatInner(); } this.innerProperties().withSubnet(subnet); return this; @@ -171,7 +171,7 @@ public PublicIpAddressInner publicIpAddress() { */ public HubIpConfigurationInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new HubIPConfigurationPropertiesFormatInner(); + this.innerProperties = new HubIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -233,7 +233,7 @@ public static HubIpConfigurationInner fromJson(JsonReader jsonReader) throws IOE deserializedHubIpConfigurationInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedHubIpConfigurationInner.innerProperties - = HubIPConfigurationPropertiesFormatInner.fromJson(reader); + = HubIpConfigurationPropertiesFormatInner.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedHubIpConfigurationInner.etag = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java index 85b9c4200e4b..82629b787564 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java @@ -17,8 +17,8 @@ * Properties of IP configuration. */ @Fluent -public final class HubIPConfigurationPropertiesFormatInner - implements JsonSerializable { +public final class HubIpConfigurationPropertiesFormatInner + implements JsonSerializable { /* * The private IP address of the IP configuration. */ @@ -45,9 +45,9 @@ public final class HubIPConfigurationPropertiesFormatInner private ProvisioningState provisioningState; /** - * Creates an instance of HubIPConfigurationPropertiesFormatInner class. + * Creates an instance of HubIpConfigurationPropertiesFormatInner class. */ - public HubIPConfigurationPropertiesFormatInner() { + public HubIpConfigurationPropertiesFormatInner() { } /** @@ -63,9 +63,9 @@ public String privateIpAddress() { * Set the privateIpAddress property: The private IP address of the IP configuration. * * @param privateIpAddress the privateIpAddress value to set. - * @return the HubIPConfigurationPropertiesFormatInner object itself. + * @return the HubIpConfigurationPropertiesFormatInner object itself. */ - public HubIPConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { + public HubIpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -83,9 +83,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: The private IP address allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the HubIPConfigurationPropertiesFormatInner object itself. + * @return the HubIpConfigurationPropertiesFormatInner object itself. */ - public HubIPConfigurationPropertiesFormatInner + public HubIpConfigurationPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -104,9 +104,9 @@ public SubnetInner subnet() { * Set the subnet property: The reference to the subnet resource. * * @param subnet the subnet value to set. - * @return the HubIPConfigurationPropertiesFormatInner object itself. + * @return the HubIpConfigurationPropertiesFormatInner object itself. */ - public HubIPConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { + public HubIpConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { this.subnet = subnet; return this; } @@ -124,9 +124,9 @@ public PublicIpAddressInner publicIpAddress() { * Set the publicIpAddress property: The reference to the public IP resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the HubIPConfigurationPropertiesFormatInner object itself. + * @return the HubIpConfigurationPropertiesFormatInner object itself. */ - public HubIPConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { + public HubIpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -169,40 +169,40 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of HubIPConfigurationPropertiesFormatInner from the JsonReader. + * Reads an instance of HubIpConfigurationPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of HubIPConfigurationPropertiesFormatInner if the JsonReader was pointing to an instance of + * @return An instance of HubIpConfigurationPropertiesFormatInner 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 HubIPConfigurationPropertiesFormatInner. + * @throws IOException If an error occurs while reading the HubIpConfigurationPropertiesFormatInner. */ - public static HubIPConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static HubIpConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - HubIPConfigurationPropertiesFormatInner deserializedHubIPConfigurationPropertiesFormatInner - = new HubIPConfigurationPropertiesFormatInner(); + HubIpConfigurationPropertiesFormatInner deserializedHubIpConfigurationPropertiesFormatInner + = new HubIpConfigurationPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedHubIPConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); + deserializedHubIpConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedHubIPConfigurationPropertiesFormatInner.privateIpAllocationMethod + deserializedHubIpConfigurationPropertiesFormatInner.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedHubIPConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); + deserializedHubIpConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedHubIPConfigurationPropertiesFormatInner.publicIpAddress + deserializedHubIpConfigurationPropertiesFormatInner.publicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedHubIPConfigurationPropertiesFormatInner.provisioningState + deserializedHubIpConfigurationPropertiesFormatInner.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedHubIPConfigurationPropertiesFormatInner; + return deserializedHubIpConfigurationPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java index b9caff47db8c..c4d3ff884478 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java @@ -21,7 +21,7 @@ public final class IpConfigurationInner extends SubResource { /* * Properties of the IP configuration. */ - private IPConfigurationPropertiesFormatInner innerProperties; + private IpConfigurationPropertiesFormatInner innerProperties; /* * The name of the resource that is unique within a resource group. This name can be used to access the resource. @@ -44,7 +44,7 @@ private IpConfigurationInner() { * * @return the innerProperties value. */ - private IPConfigurationPropertiesFormatInner innerProperties() { + private IpConfigurationPropertiesFormatInner innerProperties() { return this.innerProperties; } @@ -154,7 +154,7 @@ public static IpConfigurationInner fromJson(JsonReader jsonReader) throws IOExce deserializedIpConfigurationInner.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedIpConfigurationInner.innerProperties - = IPConfigurationPropertiesFormatInner.fromJson(reader); + = IpConfigurationPropertiesFormatInner.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedIpConfigurationInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java index de2f2f2310e5..27bcf586a685 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java @@ -20,7 +20,7 @@ public final class IpConfigurationProfileInner extends SubResource { /* * Properties of the IP configuration profile. */ - private IPConfigurationProfilePropertiesFormatInner innerProperties; + private IpConfigurationProfilePropertiesFormatInner innerProperties; /* * The name of the resource. This name can be used to access the resource. @@ -48,7 +48,7 @@ public IpConfigurationProfileInner() { * * @return the innerProperties value. */ - private IPConfigurationProfilePropertiesFormatInner innerProperties() { + private IpConfigurationProfilePropertiesFormatInner innerProperties() { return this.innerProperties; } @@ -118,7 +118,7 @@ public SubnetInner subnet() { */ public IpConfigurationProfileInner withSubnet(SubnetInner subnet) { if (this.innerProperties() == null) { - this.innerProperties = new IPConfigurationProfilePropertiesFormatInner(); + this.innerProperties = new IpConfigurationProfilePropertiesFormatInner(); } this.innerProperties().withSubnet(subnet); return this; @@ -175,7 +175,7 @@ public static IpConfigurationProfileInner fromJson(JsonReader jsonReader) throws deserializedIpConfigurationProfileInner.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedIpConfigurationProfileInner.innerProperties - = IPConfigurationProfilePropertiesFormatInner.fromJson(reader); + = IpConfigurationProfilePropertiesFormatInner.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedIpConfigurationProfileInner.name = reader.getString(); } else if ("type".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java index aa4e8f7520f0..7acd8c13f84e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java @@ -16,8 +16,8 @@ * IP configuration profile properties. */ @Fluent -public final class IPConfigurationProfilePropertiesFormatInner - implements JsonSerializable { +public final class IpConfigurationProfilePropertiesFormatInner + implements JsonSerializable { /* * The reference to the subnet resource to create a container network interface ip configuration. */ @@ -29,9 +29,9 @@ public final class IPConfigurationProfilePropertiesFormatInner private ProvisioningState provisioningState; /** - * Creates an instance of IPConfigurationProfilePropertiesFormatInner class. + * Creates an instance of IpConfigurationProfilePropertiesFormatInner class. */ - public IPConfigurationProfilePropertiesFormatInner() { + public IpConfigurationProfilePropertiesFormatInner() { } /** @@ -49,9 +49,9 @@ public SubnetInner subnet() { * configuration. * * @param subnet the subnet value to set. - * @return the IPConfigurationProfilePropertiesFormatInner object itself. + * @return the IpConfigurationProfilePropertiesFormatInner object itself. */ - public IPConfigurationProfilePropertiesFormatInner withSubnet(SubnetInner subnet) { + public IpConfigurationProfilePropertiesFormatInner withSubnet(SubnetInner subnet) { this.subnet = subnet; return this; } @@ -87,32 +87,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IPConfigurationProfilePropertiesFormatInner from the JsonReader. + * Reads an instance of IpConfigurationProfilePropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IPConfigurationProfilePropertiesFormatInner if the JsonReader was pointing to an instance + * @return An instance of IpConfigurationProfilePropertiesFormatInner 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 IPConfigurationProfilePropertiesFormatInner. + * @throws IOException If an error occurs while reading the IpConfigurationProfilePropertiesFormatInner. */ - public static IPConfigurationProfilePropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static IpConfigurationProfilePropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IPConfigurationProfilePropertiesFormatInner deserializedIPConfigurationProfilePropertiesFormatInner - = new IPConfigurationProfilePropertiesFormatInner(); + IpConfigurationProfilePropertiesFormatInner deserializedIpConfigurationProfilePropertiesFormatInner + = new IpConfigurationProfilePropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("subnet".equals(fieldName)) { - deserializedIPConfigurationProfilePropertiesFormatInner.subnet = SubnetInner.fromJson(reader); + deserializedIpConfigurationProfilePropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedIPConfigurationProfilePropertiesFormatInner.provisioningState + deserializedIpConfigurationProfilePropertiesFormatInner.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedIPConfigurationProfilePropertiesFormatInner; + return deserializedIpConfigurationProfilePropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java index a6da9a0aaf74..c525c54544a3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java @@ -17,8 +17,8 @@ * Properties of IP configuration. */ @Immutable -public final class IPConfigurationPropertiesFormatInner - implements JsonSerializable { +public final class IpConfigurationPropertiesFormatInner + implements JsonSerializable { /* * The private IP address of the IP configuration. */ @@ -45,9 +45,9 @@ public final class IPConfigurationPropertiesFormatInner private ProvisioningState provisioningState; /** - * Creates an instance of IPConfigurationPropertiesFormatInner class. + * Creates an instance of IpConfigurationPropertiesFormatInner class. */ - private IPConfigurationPropertiesFormatInner() { + private IpConfigurationPropertiesFormatInner() { } /** @@ -124,40 +124,40 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IPConfigurationPropertiesFormatInner from the JsonReader. + * Reads an instance of IpConfigurationPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IPConfigurationPropertiesFormatInner if the JsonReader was pointing to an instance of it, + * @return An instance of IpConfigurationPropertiesFormatInner 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 IPConfigurationPropertiesFormatInner. + * @throws IOException If an error occurs while reading the IpConfigurationPropertiesFormatInner. */ - public static IPConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static IpConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IPConfigurationPropertiesFormatInner deserializedIPConfigurationPropertiesFormatInner - = new IPConfigurationPropertiesFormatInner(); + IpConfigurationPropertiesFormatInner deserializedIpConfigurationPropertiesFormatInner + = new IpConfigurationPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedIPConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); + deserializedIpConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedIPConfigurationPropertiesFormatInner.privateIpAllocationMethod + deserializedIpConfigurationPropertiesFormatInner.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedIPConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); + deserializedIpConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedIPConfigurationPropertiesFormatInner.publicIpAddress + deserializedIpConfigurationPropertiesFormatInner.publicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { - deserializedIPConfigurationPropertiesFormatInner.provisioningState + deserializedIpConfigurationPropertiesFormatInner.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedIPConfigurationPropertiesFormatInner; + return deserializedIpConfigurationPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java index d9219cb8fc91..5a453b245c09 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java @@ -16,16 +16,16 @@ * List of SNAT IP Prefixes learnt by firewall to not SNAT. */ @Immutable -public final class IPPrefixesListInner implements JsonSerializable { +public final class IpPrefixesListInner implements JsonSerializable { /* * IP Prefix value. */ private List ipPrefixes; /** - * Creates an instance of IPPrefixesListInner class. + * Creates an instance of IpPrefixesListInner class. */ - private IPPrefixesListInner() { + private IpPrefixesListInner() { } /** @@ -56,29 +56,29 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of IPPrefixesListInner from the JsonReader. + * Reads an instance of IpPrefixesListInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of IPPrefixesListInner if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of IpPrefixesListInner 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 IPPrefixesListInner. + * @throws IOException If an error occurs while reading the IpPrefixesListInner. */ - public static IPPrefixesListInner fromJson(JsonReader jsonReader) throws IOException { + public static IpPrefixesListInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - IPPrefixesListInner deserializedIPPrefixesListInner = new IPPrefixesListInner(); + IpPrefixesListInner deserializedIpPrefixesListInner = new IpPrefixesListInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("ipPrefixes".equals(fieldName)) { List ipPrefixes = reader.readArray(reader1 -> reader1.getString()); - deserializedIPPrefixesListInner.ipPrefixes = ipPrefixes; + deserializedIpPrefixesListInner.ipPrefixes = ipPrefixes; } else { reader.skipChildren(); } } - return deserializedIPPrefixesListInner; + return deserializedIpPrefixesListInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java index ba8ae281953e..a6ff498bae15 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java @@ -16,17 +16,17 @@ * The properties of VIP swap request's frontend IP configuration object. */ @Fluent -public final class LoadBalancerVipSwapRequestFrontendIPConfigurationProperties - implements JsonSerializable { +public final class LoadBalancerVipSwapRequestFrontendIpConfigurationProperties + implements JsonSerializable { /* * A reference to public IP address resource. */ private SubResource publicIpAddress; /** - * Creates an instance of LoadBalancerVipSwapRequestFrontendIPConfigurationProperties class. + * Creates an instance of LoadBalancerVipSwapRequestFrontendIpConfigurationProperties class. */ - public LoadBalancerVipSwapRequestFrontendIPConfigurationProperties() { + public LoadBalancerVipSwapRequestFrontendIpConfigurationProperties() { } /** @@ -42,9 +42,9 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: A reference to public IP address resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the LoadBalancerVipSwapRequestFrontendIPConfigurationProperties object itself. + * @return the LoadBalancerVipSwapRequestFrontendIpConfigurationProperties object itself. */ - public LoadBalancerVipSwapRequestFrontendIPConfigurationProperties + public LoadBalancerVipSwapRequestFrontendIpConfigurationProperties withPublicIpAddress(SubResource publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; @@ -69,32 +69,32 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of LoadBalancerVipSwapRequestFrontendIPConfigurationProperties from the JsonReader. + * Reads an instance of LoadBalancerVipSwapRequestFrontendIpConfigurationProperties from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of LoadBalancerVipSwapRequestFrontendIPConfigurationProperties if the JsonReader was pointing + * @return An instance of LoadBalancerVipSwapRequestFrontendIpConfigurationProperties 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 - * LoadBalancerVipSwapRequestFrontendIPConfigurationProperties. + * LoadBalancerVipSwapRequestFrontendIpConfigurationProperties. */ - public static LoadBalancerVipSwapRequestFrontendIPConfigurationProperties fromJson(JsonReader jsonReader) + public static LoadBalancerVipSwapRequestFrontendIpConfigurationProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - LoadBalancerVipSwapRequestFrontendIPConfigurationProperties deserializedLoadBalancerVipSwapRequestFrontendIPConfigurationProperties - = new LoadBalancerVipSwapRequestFrontendIPConfigurationProperties(); + LoadBalancerVipSwapRequestFrontendIpConfigurationProperties deserializedLoadBalancerVipSwapRequestFrontendIpConfigurationProperties + = new LoadBalancerVipSwapRequestFrontendIpConfigurationProperties(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("publicIPAddress".equals(fieldName)) { - deserializedLoadBalancerVipSwapRequestFrontendIPConfigurationProperties.publicIpAddress + deserializedLoadBalancerVipSwapRequestFrontendIpConfigurationProperties.publicIpAddress = SubResource.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedLoadBalancerVipSwapRequestFrontendIPConfigurationProperties; + return deserializedLoadBalancerVipSwapRequestFrontendIpConfigurationProperties; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java index aa8846e03532..f62718f01836 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java @@ -26,7 +26,7 @@ public final class NetworkInterfaceIpConfigurationInner extends SubResourceModel /* * Network interface IP configuration properties. */ - private NetworkInterfaceIPConfigurationPropertiesFormatInner innerProperties; + private NetworkInterfaceIpConfigurationPropertiesFormatInner innerProperties; /* * A unique read-only string that changes whenever the resource is updated. @@ -49,7 +49,7 @@ public NetworkInterfaceIpConfigurationInner() { * * @return the innerProperties value. */ - private NetworkInterfaceIPConfigurationPropertiesFormatInner innerProperties() { + private NetworkInterfaceIpConfigurationPropertiesFormatInner innerProperties() { return this.innerProperties; } @@ -107,7 +107,7 @@ public SubResource gatewayLoadBalancer() { */ public NetworkInterfaceIpConfigurationInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withGatewayLoadBalancer(gatewayLoadBalancer); return this; @@ -131,7 +131,7 @@ public List virtualNetworkTaps() { public NetworkInterfaceIpConfigurationInner withVirtualNetworkTaps(List virtualNetworkTaps) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withVirtualNetworkTaps(virtualNetworkTaps); return this; @@ -157,7 +157,7 @@ public List applicationGatewayBackendAddre public NetworkInterfaceIpConfigurationInner withApplicationGatewayBackendAddressPools( List applicationGatewayBackendAddressPools) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withApplicationGatewayBackendAddressPools(applicationGatewayBackendAddressPools); return this; @@ -181,7 +181,7 @@ public List loadBalancerBackendAddressPools() { public NetworkInterfaceIpConfigurationInner withLoadBalancerBackendAddressPools(List loadBalancerBackendAddressPools) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withLoadBalancerBackendAddressPools(loadBalancerBackendAddressPools); return this; @@ -205,7 +205,7 @@ public List loadBalancerInboundNatRules() { public NetworkInterfaceIpConfigurationInner withLoadBalancerInboundNatRules(List loadBalancerInboundNatRules) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withLoadBalancerInboundNatRules(loadBalancerInboundNatRules); return this; @@ -230,7 +230,7 @@ public String privateIpAddress() { */ public NetworkInterfaceIpConfigurationInner withPrivateIpAddress(String privateIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAddress(privateIpAddress); return this; @@ -255,7 +255,7 @@ public Integer privateIPAddressPrefixLength() { */ public NetworkInterfaceIpConfigurationInner withPrivateIPAddressPrefixLength(Integer privateIPAddressPrefixLength) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIPAddressPrefixLength(privateIPAddressPrefixLength); return this; @@ -279,7 +279,7 @@ public IpAllocationMethod privateIpAllocationMethod() { public NetworkInterfaceIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -302,7 +302,7 @@ public IpVersion privateIpAddressVersion() { */ public NetworkInterfaceIpConfigurationInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPrivateIpAddressVersion(privateIpAddressVersion); return this; @@ -325,7 +325,7 @@ public SubnetInner subnet() { */ public NetworkInterfaceIpConfigurationInner withSubnet(SubnetInner subnet) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withSubnet(subnet); return this; @@ -348,7 +348,7 @@ public Boolean primary() { */ public NetworkInterfaceIpConfigurationInner withPrimary(Boolean primary) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPrimary(primary); return this; @@ -371,7 +371,7 @@ public PublicIpAddressInner publicIpAddress() { */ public NetworkInterfaceIpConfigurationInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -397,7 +397,7 @@ public List applicationSecurityGroups() { public NetworkInterfaceIpConfigurationInner withApplicationSecurityGroups(List applicationSecurityGroups) { if (this.innerProperties() == null) { - this.innerProperties = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + this.innerProperties = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); } this.innerProperties().withApplicationSecurityGroups(applicationSecurityGroups); return this; @@ -469,7 +469,7 @@ public static NetworkInterfaceIpConfigurationInner fromJson(JsonReader jsonReade deserializedNetworkInterfaceIpConfigurationInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedNetworkInterfaceIpConfigurationInner.innerProperties - = NetworkInterfaceIPConfigurationPropertiesFormatInner.fromJson(reader); + = NetworkInterfaceIpConfigurationPropertiesFormatInner.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedNetworkInterfaceIpConfigurationInner.etag = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java index f962cb403576..f59bbc18e143 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java @@ -22,8 +22,8 @@ * Properties of IP configuration. */ @Fluent -public final class NetworkInterfaceIPConfigurationPropertiesFormatInner - implements JsonSerializable { +public final class NetworkInterfaceIpConfigurationPropertiesFormatInner + implements JsonSerializable { /* * The reference to gateway load balancer frontend IP. */ @@ -102,9 +102,9 @@ public final class NetworkInterfaceIPConfigurationPropertiesFormatInner private NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties; /** - * Creates an instance of NetworkInterfaceIPConfigurationPropertiesFormatInner class. + * Creates an instance of NetworkInterfaceIpConfigurationPropertiesFormatInner class. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner() { + public NetworkInterfaceIpConfigurationPropertiesFormatInner() { } /** @@ -120,9 +120,9 @@ public SubResource gatewayLoadBalancer() { * Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP. * * @param gatewayLoadBalancer the gatewayLoadBalancer value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner + public NetworkInterfaceIpConfigurationPropertiesFormatInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer) { this.gatewayLoadBalancer = gatewayLoadBalancer; return this; @@ -141,9 +141,9 @@ public List virtualNetworkTaps() { * Set the virtualNetworkTaps property: The reference to Virtual Network Taps. * * @param virtualNetworkTaps the virtualNetworkTaps value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner + public NetworkInterfaceIpConfigurationPropertiesFormatInner withVirtualNetworkTaps(List virtualNetworkTaps) { this.virtualNetworkTaps = virtualNetworkTaps; return this; @@ -164,9 +164,9 @@ public List applicationGatewayBackendAddre * resource. * * @param applicationGatewayBackendAddressPools the applicationGatewayBackendAddressPools value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner withApplicationGatewayBackendAddressPools( + public NetworkInterfaceIpConfigurationPropertiesFormatInner withApplicationGatewayBackendAddressPools( List applicationGatewayBackendAddressPools) { this.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools; return this; @@ -185,9 +185,9 @@ public List loadBalancerBackendAddressPools() { * Set the loadBalancerBackendAddressPools property: The reference to LoadBalancerBackendAddressPool resource. * * @param loadBalancerBackendAddressPools the loadBalancerBackendAddressPools value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner + public NetworkInterfaceIpConfigurationPropertiesFormatInner withLoadBalancerBackendAddressPools(List loadBalancerBackendAddressPools) { this.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools; return this; @@ -206,9 +206,9 @@ public List loadBalancerInboundNatRules() { * Set the loadBalancerInboundNatRules property: A list of references of LoadBalancerInboundNatRules. * * @param loadBalancerInboundNatRules the loadBalancerInboundNatRules value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner + public NetworkInterfaceIpConfigurationPropertiesFormatInner withLoadBalancerInboundNatRules(List loadBalancerInboundNatRules) { this.loadBalancerInboundNatRules = loadBalancerInboundNatRules; return this; @@ -229,9 +229,9 @@ public String privateIpAddress() { * CIDR block in the format <address>/<prefix-length>. * * @param privateIpAddress the privateIpAddress value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { + public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -251,9 +251,9 @@ public Integer privateIPAddressPrefixLength() { * allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. * * @param privateIPAddressPrefixLength the privateIPAddressPrefixLength value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner + public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIPAddressPrefixLength(Integer privateIPAddressPrefixLength) { this.privateIPAddressPrefixLength = privateIPAddressPrefixLength; return this; @@ -272,9 +272,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: The private IP address allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner + public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -293,9 +293,9 @@ public IpVersion privateIpAddressVersion() { * Set the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. * * @param privateIpAddressVersion the privateIpAddressVersion value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner + public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) { this.privateIpAddressVersion = privateIpAddressVersion; return this; @@ -314,9 +314,9 @@ public SubnetInner subnet() { * Set the subnet property: Subnet bound to the IP configuration. * * @param subnet the subnet value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { + public NetworkInterfaceIpConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet) { this.subnet = subnet; return this; } @@ -334,9 +334,9 @@ public Boolean primary() { * Set the primary property: Whether this is a primary customer address on the network interface. * * @param primary the primary value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner withPrimary(Boolean primary) { + public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrimary(Boolean primary) { this.primary = primary; return this; } @@ -354,9 +354,9 @@ public PublicIpAddressInner publicIpAddress() { * Set the publicIpAddress property: Public IP address bound to the IP configuration. * * @param publicIpAddress the publicIpAddress value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner + public NetworkInterfaceIpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; @@ -377,9 +377,9 @@ public List applicationSecurityGroups() { * included. * * @param applicationSecurityGroups the applicationSecurityGroups value to set. - * @return the NetworkInterfaceIPConfigurationPropertiesFormatInner object itself. + * @return the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself. */ - public NetworkInterfaceIPConfigurationPropertiesFormatInner + public NetworkInterfaceIpConfigurationPropertiesFormatInner withApplicationSecurityGroups(List applicationSecurityGroups) { this.applicationSecurityGroups = applicationSecurityGroups; return this; @@ -465,83 +465,83 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NetworkInterfaceIPConfigurationPropertiesFormatInner from the JsonReader. + * Reads an instance of NetworkInterfaceIpConfigurationPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NetworkInterfaceIPConfigurationPropertiesFormatInner if the JsonReader was pointing to an + * @return An instance of NetworkInterfaceIpConfigurationPropertiesFormatInner 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 NetworkInterfaceIPConfigurationPropertiesFormatInner. + * @throws IOException If an error occurs while reading the NetworkInterfaceIpConfigurationPropertiesFormatInner. */ - public static NetworkInterfaceIPConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) + public static NetworkInterfaceIpConfigurationPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NetworkInterfaceIPConfigurationPropertiesFormatInner deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner - = new NetworkInterfaceIPConfigurationPropertiesFormatInner(); + NetworkInterfaceIpConfigurationPropertiesFormatInner deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner + = new NetworkInterfaceIpConfigurationPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("gatewayLoadBalancer".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.gatewayLoadBalancer + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.gatewayLoadBalancer = SubResource.fromJson(reader); } else if ("virtualNetworkTaps".equals(fieldName)) { List virtualNetworkTaps = reader.readArray(reader1 -> VirtualNetworkTapInner.fromJson(reader1)); - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.virtualNetworkTaps + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.virtualNetworkTaps = virtualNetworkTaps; } else if ("applicationGatewayBackendAddressPools".equals(fieldName)) { List applicationGatewayBackendAddressPools = reader.readArray(reader1 -> ApplicationGatewayBackendAddressPool.fromJson(reader1)); - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.applicationGatewayBackendAddressPools + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools; } else if ("loadBalancerBackendAddressPools".equals(fieldName)) { List loadBalancerBackendAddressPools = reader.readArray(reader1 -> BackendAddressPoolInner.fromJson(reader1)); - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.loadBalancerBackendAddressPools + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools; } else if ("loadBalancerInboundNatRules".equals(fieldName)) { List loadBalancerInboundNatRules = reader.readArray(reader1 -> InboundNatRuleInner.fromJson(reader1)); - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.loadBalancerInboundNatRules + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.loadBalancerInboundNatRules = loadBalancerInboundNatRules; } else if ("privateIPAddress".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateIpAddress + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.privateIpAddress = reader.getString(); } else if ("privateIPAddressPrefixLength".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateIPAddressPrefixLength + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.privateIPAddressPrefixLength = reader.getNullable(JsonReader::getInt); } else if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateIpAllocationMethod + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("privateIPAddressVersion".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateIpAddressVersion + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.privateIpAddressVersion = IpVersion.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.subnet + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.subnet = SubnetInner.fromJson(reader); } else if ("primary".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.primary + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.primary = reader.getNullable(JsonReader::getBoolean); } else if ("publicIPAddress".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.publicIpAddress + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.publicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("applicationSecurityGroups".equals(fieldName)) { List applicationSecurityGroups = reader.readArray(reader1 -> ApplicationSecurityGroupInner.fromJson(reader1)); - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.applicationSecurityGroups + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.applicationSecurityGroups = applicationSecurityGroups; } else if ("provisioningState".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.provisioningState + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.provisioningState = ProvisioningState.fromString(reader.getString()); } else if ("privateLinkConnectionProperties".equals(fieldName)) { - deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner.privateLinkConnectionProperties + deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner.privateLinkConnectionProperties = NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedNetworkInterfaceIPConfigurationPropertiesFormatInner; + return deserializedNetworkInterfaceIpConfigurationPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java index f622443e352c..8e404ba1c855 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java @@ -4,22 +4,20 @@ package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Fluent; -import com.azure.core.management.SystemData; -import com.azure.core.util.logging.ClientLogger; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.CommonTrackedResource; import com.azure.resourcemanager.network.models.NspProvisioningState; +import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; +import com.azure.resourcemanager.network.models.SecurityPerimeterTrackedResource; import java.io.IOException; -import java.util.Map; /** * The Network Security Perimeter resource. */ -@Fluent -public final class NetworkSecurityPerimeterInner extends CommonTrackedResource { +@Immutable +public final class NetworkSecurityPerimeterInner extends SecurityPerimeterTrackedResource { /* * The network security perimeter properties */ @@ -28,7 +26,7 @@ public final class NetworkSecurityPerimeterInner extends CommonTrackedResource { /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SystemData systemData; + private SecurityPerimeterSystemData systemData; /* * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -67,7 +65,7 @@ private NetworkSecurityPerimeterProperties innerProperties() { * @return the systemData value. */ @Override - public SystemData systemData() { + public SecurityPerimeterSystemData systemData() { return this.systemData; } @@ -103,24 +101,6 @@ public String id() { return this.id; } - /** - * {@inheritDoc} - */ - @Override - public NetworkSecurityPerimeterInner withTags(Map tags) { - super.withTags(tags); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public NetworkSecurityPerimeterInner withLocation(String location) { - super.withLocation(location); - return this; - } - /** * Get the provisioningState property: The provisioning state of the scope assignment resource. * @@ -149,23 +129,17 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (location() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property location in model NetworkSecurityPerimeterInner")); + if (systemData() != null) { + systemData().validate(); } } - private static final ClientLogger LOGGER = new ClientLogger(NetworkSecurityPerimeterInner.class); - /** * {@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.innerProperties); return jsonWriter.writeEndObject(); } @@ -176,7 +150,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkSecurityPerimeterInner 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 NetworkSecurityPerimeterInner. */ public static NetworkSecurityPerimeterInner fromJson(JsonReader jsonReader) throws IOException { @@ -187,19 +160,14 @@ public static NetworkSecurityPerimeterInner fromJson(JsonReader jsonReader) thro String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { - deserializedNetworkSecurityPerimeterInner.withLocation(reader.getString()); - } else if ("id".equals(fieldName)) { + if ("id".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.id = reader.getString(); } else if ("name".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedNetworkSecurityPerimeterInner.systemData = SystemData.fromJson(reader); - } else if ("tags".equals(fieldName)) { - Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedNetworkSecurityPerimeterInner.withTags(tags); + deserializedNetworkSecurityPerimeterInner.systemData = SecurityPerimeterSystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.innerProperties = NetworkSecurityPerimeterProperties.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java index 5f4bc93bd6ff..707e14b24b5b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java @@ -5,14 +5,14 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -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.network.models.AccessRuleDirection; -import com.azure.resourcemanager.network.models.CommonProxyResource; import com.azure.resourcemanager.network.models.NspProvisioningState; import com.azure.resourcemanager.network.models.PerimeterBasedAccessRule; +import com.azure.resourcemanager.network.models.SecurityPerimeterProxyResource; +import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; import com.azure.resourcemanager.network.models.SubscriptionId; import java.io.IOException; import java.util.List; @@ -21,7 +21,7 @@ * The NSP access rule resource. */ @Fluent -public final class NspAccessRuleInner extends CommonProxyResource { +public final class NspAccessRuleInner extends SecurityPerimeterProxyResource { /* * Properties of the NSP access rule. */ @@ -30,7 +30,7 @@ public final class NspAccessRuleInner extends CommonProxyResource { /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SystemData systemData; + private SecurityPerimeterSystemData systemData; /* * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -69,7 +69,7 @@ private NspAccessRuleProperties innerProperties() { * @return the systemData value. */ @Override - public SystemData systemData() { + public SecurityPerimeterSystemData systemData() { return this.systemData; } @@ -300,6 +300,9 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (systemData() != null) { + systemData().validate(); + } } /** @@ -334,7 +337,7 @@ public static NspAccessRuleInner fromJson(JsonReader jsonReader) throws IOExcept } else if ("type".equals(fieldName)) { deserializedNspAccessRuleInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedNspAccessRuleInner.systemData = SystemData.fromJson(reader); + deserializedNspAccessRuleInner.systemData = SecurityPerimeterSystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNspAccessRuleInner.innerProperties = NspAccessRuleProperties.fromJson(reader); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java index 6d210fea828c..63dd1c223656 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java @@ -6,20 +6,20 @@ import com.azure.core.annotation.Fluent; import com.azure.core.management.SubResource; -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.network.models.AssociationAccessMode; -import com.azure.resourcemanager.network.models.CommonProxyResource; import com.azure.resourcemanager.network.models.NspProvisioningState; +import com.azure.resourcemanager.network.models.SecurityPerimeterProxyResource; +import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; import java.io.IOException; /** * The NSP resource association resource. */ @Fluent -public final class NspAssociationInner extends CommonProxyResource { +public final class NspAssociationInner extends SecurityPerimeterProxyResource { /* * Properties of the NSP resource association. */ @@ -28,7 +28,7 @@ public final class NspAssociationInner extends CommonProxyResource { /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SystemData systemData; + private SecurityPerimeterSystemData systemData; /* * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -67,7 +67,7 @@ private NspAssociationProperties innerProperties() { * @return the systemData value. */ @Override - public SystemData systemData() { + public SecurityPerimeterSystemData systemData() { return this.systemData; } @@ -200,6 +200,9 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (systemData() != null) { + systemData().validate(); + } } /** @@ -234,7 +237,7 @@ public static NspAssociationInner fromJson(JsonReader jsonReader) throws IOExcep } else if ("type".equals(fieldName)) { deserializedNspAssociationInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedNspAssociationInner.systemData = SystemData.fromJson(reader); + deserializedNspAssociationInner.systemData = SecurityPerimeterSystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNspAssociationInner.innerProperties = NspAssociationProperties.fromJson(reader); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java index dd12197e94e6..eb6b184a515b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java @@ -5,13 +5,13 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -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.network.models.CommonProxyResource; import com.azure.resourcemanager.network.models.NspLinkProvisioningState; import com.azure.resourcemanager.network.models.NspLinkStatus; +import com.azure.resourcemanager.network.models.SecurityPerimeterProxyResource; +import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; import java.io.IOException; import java.util.List; @@ -19,7 +19,7 @@ * The network security perimeter link resource. */ @Fluent -public final class NspLinkInner extends CommonProxyResource { +public final class NspLinkInner extends SecurityPerimeterProxyResource { /* * Properties of the network security perimeter link resource. */ @@ -28,7 +28,7 @@ public final class NspLinkInner extends CommonProxyResource { /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SystemData systemData; + private SecurityPerimeterSystemData systemData; /* * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -67,7 +67,7 @@ private NspLinkProperties innerProperties() { * @return the systemData value. */ @Override - public SystemData systemData() { + public SecurityPerimeterSystemData systemData() { return this.systemData; } @@ -273,6 +273,9 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (systemData() != null) { + systemData().validate(); + } } /** @@ -307,7 +310,7 @@ public static NspLinkInner fromJson(JsonReader jsonReader) throws IOException { } else if ("type".equals(fieldName)) { deserializedNspLinkInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedNspLinkInner.systemData = SystemData.fromJson(reader); + deserializedNspLinkInner.systemData = SecurityPerimeterSystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNspLinkInner.innerProperties = NspLinkProperties.fromJson(reader); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java index 7e74ef3757d2..e0e9253e79e4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java @@ -5,13 +5,13 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Immutable; -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.network.models.CommonProxyResource; import com.azure.resourcemanager.network.models.NspLinkProvisioningState; import com.azure.resourcemanager.network.models.NspLinkStatus; +import com.azure.resourcemanager.network.models.SecurityPerimeterProxyResource; +import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; import java.io.IOException; import java.util.List; @@ -19,7 +19,7 @@ * The network security perimeter linkReference resource. */ @Immutable -public final class NspLinkReferenceInner extends CommonProxyResource { +public final class NspLinkReferenceInner extends SecurityPerimeterProxyResource { /* * Properties of the network security perimeter linkReference resource. */ @@ -28,7 +28,7 @@ public final class NspLinkReferenceInner extends CommonProxyResource { /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SystemData systemData; + private SecurityPerimeterSystemData systemData; /* * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -67,7 +67,7 @@ private NspLinkReferenceProperties innerProperties() { * @return the systemData value. */ @Override - public SystemData systemData() { + public SecurityPerimeterSystemData systemData() { return this.systemData; } @@ -212,6 +212,9 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (systemData() != null) { + systemData().validate(); + } } /** @@ -246,7 +249,7 @@ public static NspLinkReferenceInner fromJson(JsonReader jsonReader) throws IOExc } else if ("type".equals(fieldName)) { deserializedNspLinkReferenceInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedNspLinkReferenceInner.systemData = SystemData.fromJson(reader); + deserializedNspLinkReferenceInner.systemData = SecurityPerimeterSystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNspLinkReferenceInner.innerProperties = NspLinkReferenceProperties.fromJson(reader); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java index 0cb6429c5f32..a5b7bc97993b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java @@ -5,11 +5,11 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -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.network.models.CommonProxyResource; +import com.azure.resourcemanager.network.models.SecurityPerimeterProxyResource; +import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; import java.io.IOException; import java.util.List; @@ -17,7 +17,7 @@ * The NSP logging configuration. */ @Fluent -public final class NspLoggingConfigurationInner extends CommonProxyResource { +public final class NspLoggingConfigurationInner extends SecurityPerimeterProxyResource { /* * Properties of the NSP logging configuration. */ @@ -26,7 +26,7 @@ public final class NspLoggingConfigurationInner extends CommonProxyResource { /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SystemData systemData; + private SecurityPerimeterSystemData systemData; /* * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -65,7 +65,7 @@ private NspLoggingConfigurationProperties innerProperties() { * @return the systemData value. */ @Override - public SystemData systemData() { + public SecurityPerimeterSystemData systemData() { return this.systemData; } @@ -157,6 +157,9 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (systemData() != null) { + systemData().validate(); + } } /** @@ -191,7 +194,7 @@ public static NspLoggingConfigurationInner fromJson(JsonReader jsonReader) throw } else if ("type".equals(fieldName)) { deserializedNspLoggingConfigurationInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedNspLoggingConfigurationInner.systemData = SystemData.fromJson(reader); + deserializedNspLoggingConfigurationInner.systemData = SecurityPerimeterSystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNspLoggingConfigurationInner.innerProperties = NspLoggingConfigurationProperties.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java index bf210fe38a12..a73cad86d300 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java @@ -5,18 +5,18 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Immutable; -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.network.models.CommonProxyResource; +import com.azure.resourcemanager.network.models.SecurityPerimeterProxyResource; +import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; import java.io.IOException; /** * The network security perimeter profile resource. */ @Immutable -public final class NspProfileInner extends CommonProxyResource { +public final class NspProfileInner extends SecurityPerimeterProxyResource { /* * Properties of the network security perimeter profile */ @@ -25,7 +25,7 @@ public final class NspProfileInner extends CommonProxyResource { /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SystemData systemData; + private SecurityPerimeterSystemData systemData; /* * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -64,7 +64,7 @@ private NspProfileProperties innerProperties() { * @return the systemData value. */ @Override - public SystemData systemData() { + public SecurityPerimeterSystemData systemData() { return this.systemData; } @@ -130,6 +130,9 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (systemData() != null) { + systemData().validate(); + } } /** @@ -164,7 +167,7 @@ public static NspProfileInner fromJson(JsonReader jsonReader) throws IOException } else if ("type".equals(fieldName)) { deserializedNspProfileInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedNspProfileInner.systemData = SystemData.fromJson(reader); + deserializedNspProfileInner.systemData = SecurityPerimeterSystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedNspProfileInner.innerProperties = NspProfileProperties.fromJson(reader); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java index ab98d05d75b0..0b80db0d9989 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java @@ -15,8 +15,8 @@ * Properties of an IP Configuration of the private endpoint. */ @Fluent -public final class PrivateEndpointIPConfigurationProperties - implements JsonSerializable { +public final class PrivateEndpointIpConfigurationProperties + implements JsonSerializable { /* * The ID of a group obtained from the remote resource that this private endpoint should connect to. */ @@ -33,9 +33,9 @@ public final class PrivateEndpointIPConfigurationProperties private String privateIpAddress; /** - * Creates an instance of PrivateEndpointIPConfigurationProperties class. + * Creates an instance of PrivateEndpointIpConfigurationProperties class. */ - public PrivateEndpointIPConfigurationProperties() { + public PrivateEndpointIpConfigurationProperties() { } /** @@ -53,9 +53,9 @@ public String groupId() { * connect to. * * @param groupId the groupId value to set. - * @return the PrivateEndpointIPConfigurationProperties object itself. + * @return the PrivateEndpointIpConfigurationProperties object itself. */ - public PrivateEndpointIPConfigurationProperties withGroupId(String groupId) { + public PrivateEndpointIpConfigurationProperties withGroupId(String groupId) { this.groupId = groupId; return this; } @@ -75,9 +75,9 @@ public String memberName() { * endpoint should connect to. * * @param memberName the memberName value to set. - * @return the PrivateEndpointIPConfigurationProperties object itself. + * @return the PrivateEndpointIpConfigurationProperties object itself. */ - public PrivateEndpointIPConfigurationProperties withMemberName(String memberName) { + public PrivateEndpointIpConfigurationProperties withMemberName(String memberName) { this.memberName = memberName; return this; } @@ -95,9 +95,9 @@ public String privateIpAddress() { * Set the privateIpAddress property: A private ip address obtained from the private endpoint's subnet. * * @param privateIpAddress the privateIpAddress value to set. - * @return the PrivateEndpointIPConfigurationProperties object itself. + * @return the PrivateEndpointIpConfigurationProperties object itself. */ - public PrivateEndpointIPConfigurationProperties withPrivateIpAddress(String privateIpAddress) { + public PrivateEndpointIpConfigurationProperties withPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } @@ -123,33 +123,33 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of PrivateEndpointIPConfigurationProperties from the JsonReader. + * Reads an instance of PrivateEndpointIpConfigurationProperties from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of PrivateEndpointIPConfigurationProperties if the JsonReader was pointing to an instance of + * @return An instance of PrivateEndpointIpConfigurationProperties 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 PrivateEndpointIPConfigurationProperties. + * @throws IOException If an error occurs while reading the PrivateEndpointIpConfigurationProperties. */ - public static PrivateEndpointIPConfigurationProperties fromJson(JsonReader jsonReader) throws IOException { + public static PrivateEndpointIpConfigurationProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - PrivateEndpointIPConfigurationProperties deserializedPrivateEndpointIPConfigurationProperties - = new PrivateEndpointIPConfigurationProperties(); + PrivateEndpointIpConfigurationProperties deserializedPrivateEndpointIpConfigurationProperties + = new PrivateEndpointIpConfigurationProperties(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("groupId".equals(fieldName)) { - deserializedPrivateEndpointIPConfigurationProperties.groupId = reader.getString(); + deserializedPrivateEndpointIpConfigurationProperties.groupId = reader.getString(); } else if ("memberName".equals(fieldName)) { - deserializedPrivateEndpointIPConfigurationProperties.memberName = reader.getString(); + deserializedPrivateEndpointIpConfigurationProperties.memberName = reader.getString(); } else if ("privateIPAddress".equals(fieldName)) { - deserializedPrivateEndpointIPConfigurationProperties.privateIpAddress = reader.getString(); + deserializedPrivateEndpointIpConfigurationProperties.privateIpAddress = reader.getString(); } else { reader.skipChildren(); } } - return deserializedPrivateEndpointIPConfigurationProperties; + return deserializedPrivateEndpointIpConfigurationProperties; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java index 726ab7dc70d0..03a4f851fe22 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java @@ -32,7 +32,7 @@ public final class PublicIpAddressInner extends Resource { /* * Public IP address properties. */ - private PublicIPAddressPropertiesFormatInner innerProperties; + private PublicIpAddressPropertiesFormatInner innerProperties; /* * The extended location of the public ip address. @@ -80,7 +80,7 @@ public PublicIpAddressInner() { * * @return the innerProperties value. */ - private PublicIPAddressPropertiesFormatInner innerProperties() { + private PublicIpAddressPropertiesFormatInner innerProperties() { return this.innerProperties; } @@ -230,7 +230,7 @@ public IpAllocationMethod publicIpAllocationMethod() { */ public PublicIpAddressInner withPublicIpAllocationMethod(IpAllocationMethod publicIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withPublicIpAllocationMethod(publicIpAllocationMethod); return this; @@ -253,7 +253,7 @@ public IpVersion publicIpAddressVersion() { */ public PublicIpAddressInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withPublicIpAddressVersion(publicIpAddressVersion); return this; @@ -285,7 +285,7 @@ public PublicIpAddressDnsSettings dnsSettings() { */ public PublicIpAddressInner withDnsSettings(PublicIpAddressDnsSettings dnsSettings) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withDnsSettings(dnsSettings); return this; @@ -308,7 +308,7 @@ public DdosSettings ddosSettings() { */ public PublicIpAddressInner withDdosSettings(DdosSettings ddosSettings) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withDdosSettings(ddosSettings); return this; @@ -331,7 +331,7 @@ public List ipTags() { */ public PublicIpAddressInner withIpTags(List ipTags) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withIpTags(ipTags); return this; @@ -354,7 +354,7 @@ public String ipAddress() { */ public PublicIpAddressInner withIpAddress(String ipAddress) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withIpAddress(ipAddress); return this; @@ -377,7 +377,7 @@ public SubResource publicIPPrefix() { */ public PublicIpAddressInner withPublicIPPrefix(SubResource publicIPPrefix) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withPublicIPPrefix(publicIPPrefix); return this; @@ -400,7 +400,7 @@ public Integer idleTimeoutInMinutes() { */ public PublicIpAddressInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withIdleTimeoutInMinutes(idleTimeoutInMinutes); return this; @@ -441,7 +441,7 @@ public PublicIpAddressInner servicePublicIpAddress() { */ public PublicIpAddressInner withServicePublicIpAddress(PublicIpAddressInner servicePublicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withServicePublicIpAddress(servicePublicIpAddress); return this; @@ -464,7 +464,7 @@ public NatGatewayInner natGateway() { */ public PublicIpAddressInner withNatGateway(NatGatewayInner natGateway) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withNatGateway(natGateway); return this; @@ -487,7 +487,7 @@ public PublicIpAddressMigrationPhase migrationPhase() { */ public PublicIpAddressInner withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withMigrationPhase(migrationPhase); return this; @@ -510,7 +510,7 @@ public PublicIpAddressInner linkedPublicIpAddress() { */ public PublicIpAddressInner withLinkedPublicIpAddress(PublicIpAddressInner linkedPublicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withLinkedPublicIpAddress(linkedPublicIpAddress); return this; @@ -533,7 +533,7 @@ public DeleteOptions deleteOption() { */ public PublicIpAddressInner withDeleteOption(DeleteOptions deleteOption) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPAddressPropertiesFormatInner(); + this.innerProperties = new PublicIpAddressPropertiesFormatInner(); } this.innerProperties().withDeleteOption(deleteOption); return this; @@ -599,7 +599,7 @@ public static PublicIpAddressInner fromJson(JsonReader jsonReader) throws IOExce deserializedPublicIpAddressInner.withTags(tags); } else if ("properties".equals(fieldName)) { deserializedPublicIpAddressInner.innerProperties - = PublicIPAddressPropertiesFormatInner.fromJson(reader); + = PublicIpAddressPropertiesFormatInner.fromJson(reader); } else if ("extendedLocation".equals(fieldName)) { deserializedPublicIpAddressInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("sku".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java index 7419a6b6ce36..cc78d4f5a190 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java @@ -25,8 +25,8 @@ * Public IP address properties. */ @Fluent -public final class PublicIPAddressPropertiesFormatInner - implements JsonSerializable { +public final class PublicIpAddressPropertiesFormatInner + implements JsonSerializable { /* * The public IP address allocation method. */ @@ -108,9 +108,9 @@ public final class PublicIPAddressPropertiesFormatInner private DeleteOptions deleteOption; /** - * Creates an instance of PublicIPAddressPropertiesFormatInner class. + * Creates an instance of PublicIpAddressPropertiesFormatInner class. */ - public PublicIPAddressPropertiesFormatInner() { + public PublicIpAddressPropertiesFormatInner() { } /** @@ -126,9 +126,9 @@ public IpAllocationMethod publicIpAllocationMethod() { * Set the publicIpAllocationMethod property: The public IP address allocation method. * * @param publicIpAllocationMethod the publicIpAllocationMethod value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner + public PublicIpAddressPropertiesFormatInner withPublicIpAllocationMethod(IpAllocationMethod publicIpAllocationMethod) { this.publicIpAllocationMethod = publicIpAllocationMethod; return this; @@ -147,9 +147,9 @@ public IpVersion publicIpAddressVersion() { * Set the publicIpAddressVersion property: The public IP address version. * * @param publicIpAddressVersion the publicIpAddressVersion value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { + public PublicIpAddressPropertiesFormatInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { this.publicIpAddressVersion = publicIpAddressVersion; return this; } @@ -176,9 +176,9 @@ public PublicIpAddressDnsSettings dnsSettings() { * Set the dnsSettings property: The FQDN of the DNS record associated with the public IP address. * * @param dnsSettings the dnsSettings value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withDnsSettings(PublicIpAddressDnsSettings dnsSettings) { + public PublicIpAddressPropertiesFormatInner withDnsSettings(PublicIpAddressDnsSettings dnsSettings) { this.dnsSettings = dnsSettings; return this; } @@ -196,9 +196,9 @@ public DdosSettings ddosSettings() { * Set the ddosSettings property: The DDoS protection custom policy associated with the public IP address. * * @param ddosSettings the ddosSettings value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withDdosSettings(DdosSettings ddosSettings) { + public PublicIpAddressPropertiesFormatInner withDdosSettings(DdosSettings ddosSettings) { this.ddosSettings = ddosSettings; return this; } @@ -216,9 +216,9 @@ public List ipTags() { * Set the ipTags property: The list of tags associated with the public IP address. * * @param ipTags the ipTags value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withIpTags(List ipTags) { + public PublicIpAddressPropertiesFormatInner withIpTags(List ipTags) { this.ipTags = ipTags; return this; } @@ -236,9 +236,9 @@ public String ipAddress() { * Set the ipAddress property: The IP address associated with the public IP address resource. * * @param ipAddress the ipAddress value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withIpAddress(String ipAddress) { + public PublicIpAddressPropertiesFormatInner withIpAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } @@ -256,9 +256,9 @@ public SubResource publicIPPrefix() { * Set the publicIPPrefix property: The Public IP Prefix this Public IP Address should be allocated from. * * @param publicIPPrefix the publicIPPrefix value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withPublicIPPrefix(SubResource publicIPPrefix) { + public PublicIpAddressPropertiesFormatInner withPublicIPPrefix(SubResource publicIPPrefix) { this.publicIPPrefix = publicIPPrefix; return this; } @@ -276,9 +276,9 @@ public Integer idleTimeoutInMinutes() { * Set the idleTimeoutInMinutes property: The idle timeout of the public IP address. * * @param idleTimeoutInMinutes the idleTimeoutInMinutes value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes) { + public PublicIpAddressPropertiesFormatInner withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes) { this.idleTimeoutInMinutes = idleTimeoutInMinutes; return this; } @@ -314,9 +314,9 @@ public PublicIpAddressInner servicePublicIpAddress() { * Set the servicePublicIpAddress property: The service public IP address of the public IP address resource. * * @param servicePublicIpAddress the servicePublicIpAddress value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner + public PublicIpAddressPropertiesFormatInner withServicePublicIpAddress(PublicIpAddressInner servicePublicIpAddress) { this.servicePublicIpAddress = servicePublicIpAddress; return this; @@ -335,9 +335,9 @@ public NatGatewayInner natGateway() { * Set the natGateway property: The NatGateway for the Public IP address. * * @param natGateway the natGateway value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withNatGateway(NatGatewayInner natGateway) { + public PublicIpAddressPropertiesFormatInner withNatGateway(NatGatewayInner natGateway) { this.natGateway = natGateway; return this; } @@ -355,9 +355,9 @@ public PublicIpAddressMigrationPhase migrationPhase() { * Set the migrationPhase property: Migration phase of Public IP Address. * * @param migrationPhase the migrationPhase value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase) { + public PublicIpAddressPropertiesFormatInner withMigrationPhase(PublicIpAddressMigrationPhase migrationPhase) { this.migrationPhase = migrationPhase; return this; } @@ -375,9 +375,9 @@ public PublicIpAddressInner linkedPublicIpAddress() { * Set the linkedPublicIpAddress property: The linked public IP address of the public IP address resource. * * @param linkedPublicIpAddress the linkedPublicIpAddress value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withLinkedPublicIpAddress(PublicIpAddressInner linkedPublicIpAddress) { + public PublicIpAddressPropertiesFormatInner withLinkedPublicIpAddress(PublicIpAddressInner linkedPublicIpAddress) { this.linkedPublicIpAddress = linkedPublicIpAddress; return this; } @@ -395,9 +395,9 @@ public DeleteOptions deleteOption() { * Set the deleteOption property: Specify what happens to the public IP address when the VM using it is deleted. * * @param deleteOption the deleteOption value to set. - * @return the PublicIPAddressPropertiesFormatInner object itself. + * @return the PublicIpAddressPropertiesFormatInner object itself. */ - public PublicIPAddressPropertiesFormatInner withDeleteOption(DeleteOptions deleteOption) { + public PublicIpAddressPropertiesFormatInner withDeleteOption(DeleteOptions deleteOption) { this.deleteOption = deleteOption; return this; } @@ -457,70 +457,70 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of PublicIPAddressPropertiesFormatInner from the JsonReader. + * Reads an instance of PublicIpAddressPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of PublicIPAddressPropertiesFormatInner if the JsonReader was pointing to an instance of it, + * @return An instance of PublicIpAddressPropertiesFormatInner 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 PublicIPAddressPropertiesFormatInner. + * @throws IOException If an error occurs while reading the PublicIpAddressPropertiesFormatInner. */ - public static PublicIPAddressPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static PublicIpAddressPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - PublicIPAddressPropertiesFormatInner deserializedPublicIPAddressPropertiesFormatInner - = new PublicIPAddressPropertiesFormatInner(); + PublicIpAddressPropertiesFormatInner deserializedPublicIpAddressPropertiesFormatInner + = new PublicIpAddressPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("publicIPAllocationMethod".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.publicIpAllocationMethod + deserializedPublicIpAddressPropertiesFormatInner.publicIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("publicIPAddressVersion".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.publicIpAddressVersion + deserializedPublicIpAddressPropertiesFormatInner.publicIpAddressVersion = IpVersion.fromString(reader.getString()); } else if ("ipConfiguration".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.ipConfiguration + deserializedPublicIpAddressPropertiesFormatInner.ipConfiguration = IpConfigurationInner.fromJson(reader); } else if ("dnsSettings".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.dnsSettings + deserializedPublicIpAddressPropertiesFormatInner.dnsSettings = PublicIpAddressDnsSettings.fromJson(reader); } else if ("ddosSettings".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.ddosSettings = DdosSettings.fromJson(reader); + deserializedPublicIpAddressPropertiesFormatInner.ddosSettings = DdosSettings.fromJson(reader); } else if ("ipTags".equals(fieldName)) { List ipTags = reader.readArray(reader1 -> IpTag.fromJson(reader1)); - deserializedPublicIPAddressPropertiesFormatInner.ipTags = ipTags; + deserializedPublicIpAddressPropertiesFormatInner.ipTags = ipTags; } else if ("ipAddress".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.ipAddress = reader.getString(); + deserializedPublicIpAddressPropertiesFormatInner.ipAddress = reader.getString(); } else if ("publicIPPrefix".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.publicIPPrefix = SubResource.fromJson(reader); + deserializedPublicIpAddressPropertiesFormatInner.publicIPPrefix = SubResource.fromJson(reader); } else if ("idleTimeoutInMinutes".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.idleTimeoutInMinutes + deserializedPublicIpAddressPropertiesFormatInner.idleTimeoutInMinutes = reader.getNullable(JsonReader::getInt); } else if ("resourceGuid".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.resourceGuid = reader.getString(); + deserializedPublicIpAddressPropertiesFormatInner.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.provisioningState + deserializedPublicIpAddressPropertiesFormatInner.provisioningState = ProvisioningState.fromString(reader.getString()); } else if ("servicePublicIPAddress".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.servicePublicIpAddress + deserializedPublicIpAddressPropertiesFormatInner.servicePublicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("natGateway".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.natGateway = NatGatewayInner.fromJson(reader); + deserializedPublicIpAddressPropertiesFormatInner.natGateway = NatGatewayInner.fromJson(reader); } else if ("migrationPhase".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.migrationPhase + deserializedPublicIpAddressPropertiesFormatInner.migrationPhase = PublicIpAddressMigrationPhase.fromString(reader.getString()); } else if ("linkedPublicIPAddress".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.linkedPublicIpAddress + deserializedPublicIpAddressPropertiesFormatInner.linkedPublicIpAddress = PublicIpAddressInner.fromJson(reader); } else if ("deleteOption".equals(fieldName)) { - deserializedPublicIPAddressPropertiesFormatInner.deleteOption + deserializedPublicIpAddressPropertiesFormatInner.deleteOption = DeleteOptions.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedPublicIPAddressPropertiesFormatInner; + return deserializedPublicIpAddressPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java index e798977aab6a..ca38573f371b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java @@ -28,7 +28,7 @@ public final class PublicIpPrefixInner extends Resource { /* * Public IP prefix properties. */ - private PublicIPPrefixPropertiesFormatInner innerProperties; + private PublicIpPrefixPropertiesFormatInner innerProperties; /* * The extended location of the public ip address. @@ -76,7 +76,7 @@ public PublicIpPrefixInner() { * * @return the innerProperties value. */ - private PublicIPPrefixPropertiesFormatInner innerProperties() { + private PublicIpPrefixPropertiesFormatInner innerProperties() { return this.innerProperties; } @@ -226,7 +226,7 @@ public IpVersion publicIpAddressVersion() { */ public PublicIpPrefixInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPPrefixPropertiesFormatInner(); + this.innerProperties = new PublicIpPrefixPropertiesFormatInner(); } this.innerProperties().withPublicIpAddressVersion(publicIpAddressVersion); return this; @@ -249,7 +249,7 @@ public List ipTags() { */ public PublicIpPrefixInner withIpTags(List ipTags) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPPrefixPropertiesFormatInner(); + this.innerProperties = new PublicIpPrefixPropertiesFormatInner(); } this.innerProperties().withIpTags(ipTags); return this; @@ -272,7 +272,7 @@ public Integer prefixLength() { */ public PublicIpPrefixInner withPrefixLength(Integer prefixLength) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPPrefixPropertiesFormatInner(); + this.innerProperties = new PublicIpPrefixPropertiesFormatInner(); } this.innerProperties().withPrefixLength(prefixLength); return this; @@ -323,7 +323,7 @@ public SubResource customIPPrefix() { */ public PublicIpPrefixInner withCustomIPPrefix(SubResource customIPPrefix) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPPrefixPropertiesFormatInner(); + this.innerProperties = new PublicIpPrefixPropertiesFormatInner(); } this.innerProperties().withCustomIPPrefix(customIPPrefix); return this; @@ -364,7 +364,7 @@ public NatGatewayInner natGateway() { */ public PublicIpPrefixInner withNatGateway(NatGatewayInner natGateway) { if (this.innerProperties() == null) { - this.innerProperties = new PublicIPPrefixPropertiesFormatInner(); + this.innerProperties = new PublicIpPrefixPropertiesFormatInner(); } this.innerProperties().withNatGateway(natGateway); return this; @@ -430,7 +430,7 @@ public static PublicIpPrefixInner fromJson(JsonReader jsonReader) throws IOExcep deserializedPublicIpPrefixInner.withTags(tags); } else if ("properties".equals(fieldName)) { deserializedPublicIpPrefixInner.innerProperties - = PublicIPPrefixPropertiesFormatInner.fromJson(reader); + = PublicIpPrefixPropertiesFormatInner.fromJson(reader); } else if ("extendedLocation".equals(fieldName)) { deserializedPublicIpPrefixInner.extendedLocation = ExtendedLocation.fromJson(reader); } else if ("sku".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java index 9a6ccfba3976..83585b73fc83 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java @@ -21,8 +21,8 @@ * Public IP prefix properties. */ @Fluent -public final class PublicIPPrefixPropertiesFormatInner - implements JsonSerializable { +public final class PublicIpPrefixPropertiesFormatInner + implements JsonSerializable { /* * The public IP address version. */ @@ -74,9 +74,9 @@ public final class PublicIPPrefixPropertiesFormatInner private NatGatewayInner natGateway; /** - * Creates an instance of PublicIPPrefixPropertiesFormatInner class. + * Creates an instance of PublicIpPrefixPropertiesFormatInner class. */ - public PublicIPPrefixPropertiesFormatInner() { + public PublicIpPrefixPropertiesFormatInner() { } /** @@ -92,9 +92,9 @@ public IpVersion publicIpAddressVersion() { * Set the publicIpAddressVersion property: The public IP address version. * * @param publicIpAddressVersion the publicIpAddressVersion value to set. - * @return the PublicIPPrefixPropertiesFormatInner object itself. + * @return the PublicIpPrefixPropertiesFormatInner object itself. */ - public PublicIPPrefixPropertiesFormatInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { + public PublicIpPrefixPropertiesFormatInner withPublicIpAddressVersion(IpVersion publicIpAddressVersion) { this.publicIpAddressVersion = publicIpAddressVersion; return this; } @@ -112,9 +112,9 @@ public List ipTags() { * Set the ipTags property: The list of tags associated with the public IP prefix. * * @param ipTags the ipTags value to set. - * @return the PublicIPPrefixPropertiesFormatInner object itself. + * @return the PublicIpPrefixPropertiesFormatInner object itself. */ - public PublicIPPrefixPropertiesFormatInner withIpTags(List ipTags) { + public PublicIpPrefixPropertiesFormatInner withIpTags(List ipTags) { this.ipTags = ipTags; return this; } @@ -132,9 +132,9 @@ public Integer prefixLength() { * Set the prefixLength property: The Length of the Public IP Prefix. * * @param prefixLength the prefixLength value to set. - * @return the PublicIPPrefixPropertiesFormatInner object itself. + * @return the PublicIpPrefixPropertiesFormatInner object itself. */ - public PublicIPPrefixPropertiesFormatInner withPrefixLength(Integer prefixLength) { + public PublicIpPrefixPropertiesFormatInner withPrefixLength(Integer prefixLength) { this.prefixLength = prefixLength; return this; } @@ -180,9 +180,9 @@ public SubResource customIPPrefix() { * Set the customIPPrefix property: The customIpPrefix that this prefix is associated with. * * @param customIPPrefix the customIPPrefix value to set. - * @return the PublicIPPrefixPropertiesFormatInner object itself. + * @return the PublicIpPrefixPropertiesFormatInner object itself. */ - public PublicIPPrefixPropertiesFormatInner withCustomIPPrefix(SubResource customIPPrefix) { + public PublicIpPrefixPropertiesFormatInner withCustomIPPrefix(SubResource customIPPrefix) { this.customIPPrefix = customIPPrefix; return this; } @@ -218,9 +218,9 @@ public NatGatewayInner natGateway() { * Set the natGateway property: NatGateway of Public IP Prefix. * * @param natGateway the natGateway value to set. - * @return the PublicIPPrefixPropertiesFormatInner object itself. + * @return the PublicIpPrefixPropertiesFormatInner object itself. */ - public PublicIPPrefixPropertiesFormatInner withNatGateway(NatGatewayInner natGateway) { + public PublicIpPrefixPropertiesFormatInner withNatGateway(NatGatewayInner natGateway) { this.natGateway = natGateway; return this; } @@ -258,54 +258,54 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of PublicIPPrefixPropertiesFormatInner from the JsonReader. + * Reads an instance of PublicIpPrefixPropertiesFormatInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of PublicIPPrefixPropertiesFormatInner if the JsonReader was pointing to an instance of it, + * @return An instance of PublicIpPrefixPropertiesFormatInner 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 PublicIPPrefixPropertiesFormatInner. + * @throws IOException If an error occurs while reading the PublicIpPrefixPropertiesFormatInner. */ - public static PublicIPPrefixPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { + public static PublicIpPrefixPropertiesFormatInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - PublicIPPrefixPropertiesFormatInner deserializedPublicIPPrefixPropertiesFormatInner - = new PublicIPPrefixPropertiesFormatInner(); + PublicIpPrefixPropertiesFormatInner deserializedPublicIpPrefixPropertiesFormatInner + = new PublicIpPrefixPropertiesFormatInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("publicIPAddressVersion".equals(fieldName)) { - deserializedPublicIPPrefixPropertiesFormatInner.publicIpAddressVersion + deserializedPublicIpPrefixPropertiesFormatInner.publicIpAddressVersion = IpVersion.fromString(reader.getString()); } else if ("ipTags".equals(fieldName)) { List ipTags = reader.readArray(reader1 -> IpTag.fromJson(reader1)); - deserializedPublicIPPrefixPropertiesFormatInner.ipTags = ipTags; + deserializedPublicIpPrefixPropertiesFormatInner.ipTags = ipTags; } else if ("prefixLength".equals(fieldName)) { - deserializedPublicIPPrefixPropertiesFormatInner.prefixLength + deserializedPublicIpPrefixPropertiesFormatInner.prefixLength = reader.getNullable(JsonReader::getInt); } else if ("ipPrefix".equals(fieldName)) { - deserializedPublicIPPrefixPropertiesFormatInner.ipPrefix = reader.getString(); + deserializedPublicIpPrefixPropertiesFormatInner.ipPrefix = reader.getString(); } else if ("publicIPAddresses".equals(fieldName)) { List publicIpAddresses = reader.readArray(reader1 -> ReferencedPublicIpAddress.fromJson(reader1)); - deserializedPublicIPPrefixPropertiesFormatInner.publicIpAddresses = publicIpAddresses; + deserializedPublicIpPrefixPropertiesFormatInner.publicIpAddresses = publicIpAddresses; } else if ("loadBalancerFrontendIpConfiguration".equals(fieldName)) { - deserializedPublicIPPrefixPropertiesFormatInner.loadBalancerFrontendIpConfiguration + deserializedPublicIpPrefixPropertiesFormatInner.loadBalancerFrontendIpConfiguration = SubResource.fromJson(reader); } else if ("customIPPrefix".equals(fieldName)) { - deserializedPublicIPPrefixPropertiesFormatInner.customIPPrefix = SubResource.fromJson(reader); + deserializedPublicIpPrefixPropertiesFormatInner.customIPPrefix = SubResource.fromJson(reader); } else if ("resourceGuid".equals(fieldName)) { - deserializedPublicIPPrefixPropertiesFormatInner.resourceGuid = reader.getString(); + deserializedPublicIpPrefixPropertiesFormatInner.resourceGuid = reader.getString(); } else if ("provisioningState".equals(fieldName)) { - deserializedPublicIPPrefixPropertiesFormatInner.provisioningState + deserializedPublicIpPrefixPropertiesFormatInner.provisioningState = ProvisioningState.fromString(reader.getString()); } else if ("natGateway".equals(fieldName)) { - deserializedPublicIPPrefixPropertiesFormatInner.natGateway = NatGatewayInner.fromJson(reader); + deserializedPublicIpPrefixPropertiesFormatInner.natGateway = NatGatewayInner.fromJson(reader); } else { reader.skipChildren(); } } - return deserializedPublicIPPrefixPropertiesFormatInner; + return deserializedPublicIpPrefixPropertiesFormatInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java index 1d521dd1f009..95108f631022 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java @@ -5,23 +5,21 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; -import com.azure.core.management.SystemData; -import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.BaseProvisioningState; -import com.azure.resourcemanager.network.models.CommonTrackedResource; +import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; +import com.azure.resourcemanager.network.models.SecurityPerimeterTrackedResource; import com.azure.resourcemanager.network.models.ServiceGatewaySku; import java.io.IOException; import java.util.List; -import java.util.Map; /** * ServiceGateway resource. */ @Fluent -public final class ServiceGatewayInner extends CommonTrackedResource { +public final class ServiceGatewayInner extends SecurityPerimeterTrackedResource { /* * Properties of service gateway. */ @@ -47,7 +45,7 @@ public final class ServiceGatewayInner extends CommonTrackedResource { /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ - private SystemData systemData; + private SecurityPerimeterSystemData systemData; /* * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -141,7 +139,7 @@ public ServiceGatewayInner withZones(List zones) { * @return the systemData value. */ @Override - public SystemData systemData() { + public SecurityPerimeterSystemData systemData() { return this.systemData; } @@ -177,24 +175,6 @@ public String id() { return this.id; } - /** - * {@inheritDoc} - */ - @Override - public ServiceGatewayInner withTags(Map tags) { - super.withTags(tags); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public ServiceGatewayInner withLocation(String location) { - super.withLocation(location); - return this; - } - /** * Get the virtualNetwork property: Reference to an existing virtual network. * @@ -295,22 +275,17 @@ public void validate() { if (sku() != null) { sku().validate(); } - if (location() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property location in model ServiceGatewayInner")); + if (systemData() != null) { + systemData().validate(); } } - private static final ClientLogger LOGGER = new ClientLogger(ServiceGatewayInner.class); - /** * {@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.innerProperties); jsonWriter.writeJsonField("sku", this.sku); jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element)); @@ -323,7 +298,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ServiceGatewayInner 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 ServiceGatewayInner. */ public static ServiceGatewayInner fromJson(JsonReader jsonReader) throws IOException { @@ -333,19 +307,14 @@ public static ServiceGatewayInner fromJson(JsonReader jsonReader) throws IOExcep String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { - deserializedServiceGatewayInner.withLocation(reader.getString()); - } else if ("id".equals(fieldName)) { + if ("id".equals(fieldName)) { deserializedServiceGatewayInner.id = reader.getString(); } else if ("name".equals(fieldName)) { deserializedServiceGatewayInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedServiceGatewayInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { - deserializedServiceGatewayInner.systemData = SystemData.fromJson(reader); - } else if ("tags".equals(fieldName)) { - Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedServiceGatewayInner.withTags(tags); + deserializedServiceGatewayInner.systemData = SecurityPerimeterSystemData.fromJson(reader); } else if ("properties".equals(fieldName)) { deserializedServiceGatewayInner.innerProperties = ServiceGatewayPropertiesFormatInner.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java index 02e04f108f7b..19679668aac4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java @@ -21,7 +21,7 @@ public final class VirtualNetworkGatewayIpConfigurationInner extends SubResource /* * Properties of the virtual network gateway ip configuration. */ - private VirtualNetworkGatewayIPConfigurationPropertiesFormat innerProperties; + private VirtualNetworkGatewayIpConfigurationPropertiesFormat innerProperties; /* * The name of the resource that is unique within a resource group. This name can be used to access the resource. @@ -44,7 +44,7 @@ public VirtualNetworkGatewayIpConfigurationInner() { * * @return the innerProperties value. */ - private VirtualNetworkGatewayIPConfigurationPropertiesFormat innerProperties() { + private VirtualNetworkGatewayIpConfigurationPropertiesFormat innerProperties() { return this.innerProperties; } @@ -106,7 +106,7 @@ public IpAllocationMethod privateIpAllocationMethod() { public VirtualNetworkGatewayIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayIPConfigurationPropertiesFormat(); + this.innerProperties = new VirtualNetworkGatewayIpConfigurationPropertiesFormat(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -129,7 +129,7 @@ public SubResource subnet() { */ public VirtualNetworkGatewayIpConfigurationInner withSubnet(SubResource subnet) { if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayIPConfigurationPropertiesFormat(); + this.innerProperties = new VirtualNetworkGatewayIpConfigurationPropertiesFormat(); } this.innerProperties().withSubnet(subnet); return this; @@ -152,7 +152,7 @@ public SubResource publicIpAddress() { */ public VirtualNetworkGatewayIpConfigurationInner withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new VirtualNetworkGatewayIPConfigurationPropertiesFormat(); + this.innerProperties = new VirtualNetworkGatewayIpConfigurationPropertiesFormat(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -220,7 +220,7 @@ public static VirtualNetworkGatewayIpConfigurationInner fromJson(JsonReader json deserializedVirtualNetworkGatewayIpConfigurationInner.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedVirtualNetworkGatewayIpConfigurationInner.innerProperties - = VirtualNetworkGatewayIPConfigurationPropertiesFormat.fromJson(reader); + = VirtualNetworkGatewayIpConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedVirtualNetworkGatewayIpConfigurationInner.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java index 871fc0ab8405..0b8fec05bdf4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java @@ -18,8 +18,8 @@ * Properties of VirtualNetworkGatewayIPConfiguration. */ @Fluent -public final class VirtualNetworkGatewayIPConfigurationPropertiesFormat - implements JsonSerializable { +public final class VirtualNetworkGatewayIpConfigurationPropertiesFormat + implements JsonSerializable { /* * The private IP address allocation method. */ @@ -46,9 +46,9 @@ public final class VirtualNetworkGatewayIPConfigurationPropertiesFormat private ProvisioningState provisioningState; /** - * Creates an instance of VirtualNetworkGatewayIPConfigurationPropertiesFormat class. + * Creates an instance of VirtualNetworkGatewayIpConfigurationPropertiesFormat class. */ - public VirtualNetworkGatewayIPConfigurationPropertiesFormat() { + public VirtualNetworkGatewayIpConfigurationPropertiesFormat() { } /** @@ -64,9 +64,9 @@ public IpAllocationMethod privateIpAllocationMethod() { * Set the privateIpAllocationMethod property: The private IP address allocation method. * * @param privateIpAllocationMethod the privateIpAllocationMethod value to set. - * @return the VirtualNetworkGatewayIPConfigurationPropertiesFormat object itself. + * @return the VirtualNetworkGatewayIpConfigurationPropertiesFormat object itself. */ - public VirtualNetworkGatewayIPConfigurationPropertiesFormat + public VirtualNetworkGatewayIpConfigurationPropertiesFormat withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { this.privateIpAllocationMethod = privateIpAllocationMethod; return this; @@ -85,9 +85,9 @@ public SubResource subnet() { * Set the subnet property: The reference to the subnet resource. * * @param subnet the subnet value to set. - * @return the VirtualNetworkGatewayIPConfigurationPropertiesFormat object itself. + * @return the VirtualNetworkGatewayIpConfigurationPropertiesFormat object itself. */ - public VirtualNetworkGatewayIPConfigurationPropertiesFormat withSubnet(SubResource subnet) { + public VirtualNetworkGatewayIpConfigurationPropertiesFormat withSubnet(SubResource subnet) { this.subnet = subnet; return this; } @@ -105,9 +105,9 @@ public SubResource publicIpAddress() { * Set the publicIpAddress property: The reference to the public IP resource. * * @param publicIpAddress the publicIpAddress value to set. - * @return the VirtualNetworkGatewayIPConfigurationPropertiesFormat object itself. + * @return the VirtualNetworkGatewayIpConfigurationPropertiesFormat object itself. */ - public VirtualNetworkGatewayIPConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { + public VirtualNetworkGatewayIpConfigurationPropertiesFormat withPublicIpAddress(SubResource publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } @@ -153,43 +153,43 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of VirtualNetworkGatewayIPConfigurationPropertiesFormat from the JsonReader. + * Reads an instance of VirtualNetworkGatewayIpConfigurationPropertiesFormat from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VirtualNetworkGatewayIPConfigurationPropertiesFormat if the JsonReader was pointing to an + * @return An instance of VirtualNetworkGatewayIpConfigurationPropertiesFormat 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 VirtualNetworkGatewayIPConfigurationPropertiesFormat. + * @throws IOException If an error occurs while reading the VirtualNetworkGatewayIpConfigurationPropertiesFormat. */ - public static VirtualNetworkGatewayIPConfigurationPropertiesFormat fromJson(JsonReader jsonReader) + public static VirtualNetworkGatewayIpConfigurationPropertiesFormat fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VirtualNetworkGatewayIPConfigurationPropertiesFormat deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat - = new VirtualNetworkGatewayIPConfigurationPropertiesFormat(); + VirtualNetworkGatewayIpConfigurationPropertiesFormat deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat + = new VirtualNetworkGatewayIpConfigurationPropertiesFormat(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("privateIPAllocationMethod".equals(fieldName)) { - deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.privateIpAllocationMethod + deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); } else if ("subnet".equals(fieldName)) { - deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.subnet + deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat.subnet = SubResource.fromJson(reader); } else if ("publicIPAddress".equals(fieldName)) { - deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.publicIpAddress + deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat.publicIpAddress = SubResource.fromJson(reader); } else if ("privateIPAddress".equals(fieldName)) { - deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.privateIpAddress + deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat.privateIpAddress = reader.getString(); } else if ("provisioningState".equals(fieldName)) { - deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat.provisioningState + deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } } - return deserializedVirtualNetworkGatewayIPConfigurationPropertiesFormat; + return deserializedVirtualNetworkGatewayIpConfigurationPropertiesFormat; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java index 46ade093b987..d9fec9613cbf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java @@ -21,7 +21,7 @@ * VirtualWAN Resource. */ @Fluent -public final class VirtualWANInner extends ResourceWithRequiredLocation { +public final class VirtualWanInner extends ResourceWithRequiredLocation { /* * Properties of the virtual WAN. */ @@ -43,9 +43,9 @@ public final class VirtualWANInner extends ResourceWithRequiredLocation { private String name; /** - * Creates an instance of VirtualWANInner class. + * Creates an instance of VirtualWanInner class. */ - public VirtualWANInner() { + public VirtualWanInner() { } /** @@ -90,7 +90,7 @@ public String name() { * {@inheritDoc} */ @Override - public VirtualWANInner withId(String id) { + public VirtualWanInner withId(String id) { super.withId(id); return this; } @@ -99,7 +99,7 @@ public VirtualWANInner withId(String id) { * {@inheritDoc} */ @Override - public VirtualWANInner withLocation(String location) { + public VirtualWanInner withLocation(String location) { super.withLocation(location); return this; } @@ -108,7 +108,7 @@ public VirtualWANInner withLocation(String location) { * {@inheritDoc} */ @Override - public VirtualWANInner withTags(Map tags) { + public VirtualWanInner withTags(Map tags) { super.withTags(tags); return this; } @@ -126,9 +126,9 @@ public Boolean disableVpnEncryption() { * Set the disableVpnEncryption property: Vpn encryption to be disabled or not. * * @param disableVpnEncryption the disableVpnEncryption value to set. - * @return the VirtualWANInner object itself. + * @return the VirtualWanInner object itself. */ - public VirtualWANInner withDisableVpnEncryption(Boolean disableVpnEncryption) { + public VirtualWanInner withDisableVpnEncryption(Boolean disableVpnEncryption) { if (this.innerProperties() == null) { this.innerProperties = new VirtualWanProperties(); } @@ -167,9 +167,9 @@ public Boolean allowBranchToBranchTraffic() { * Set the allowBranchToBranchTraffic property: True if branch to branch traffic is allowed. * * @param allowBranchToBranchTraffic the allowBranchToBranchTraffic value to set. - * @return the VirtualWANInner object itself. + * @return the VirtualWanInner object itself. */ - public VirtualWANInner withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic) { + public VirtualWanInner withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic) { if (this.innerProperties() == null) { this.innerProperties = new VirtualWanProperties(); } @@ -190,9 +190,9 @@ public Boolean allowVnetToVnetTraffic() { * Set the allowVnetToVnetTraffic property: True if Vnet to Vnet traffic is allowed. * * @param allowVnetToVnetTraffic the allowVnetToVnetTraffic value to set. - * @return the VirtualWANInner object itself. + * @return the VirtualWanInner object itself. */ - public VirtualWANInner withAllowVnetToVnetTraffic(Boolean allowVnetToVnetTraffic) { + public VirtualWanInner withAllowVnetToVnetTraffic(Boolean allowVnetToVnetTraffic) { if (this.innerProperties() == null) { this.innerProperties = new VirtualWanProperties(); } @@ -231,9 +231,9 @@ public String typePropertiesType() { * Set the type property: The type of the VirtualWAN. * * @param type the type value to set. - * @return the VirtualWANInner object itself. + * @return the VirtualWanInner object itself. */ - public VirtualWANInner withTypePropertiesType(String type) { + public VirtualWanInner withTypePropertiesType(String type) { if (this.innerProperties() == null) { this.innerProperties = new VirtualWanProperties(); } @@ -253,11 +253,11 @@ public void validate() { } if (location() == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property location in model VirtualWANInner")); + .log(new IllegalArgumentException("Missing required property location in model VirtualWanInner")); } } - private static final ClientLogger LOGGER = new ClientLogger(VirtualWANInner.class); + private static final ClientLogger LOGGER = new ClientLogger(VirtualWanInner.class); /** * {@inheritDoc} @@ -273,42 +273,42 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of VirtualWANInner from the JsonReader. + * Reads an instance of VirtualWanInner from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of VirtualWANInner if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of VirtualWanInner 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 VirtualWANInner. + * @throws IOException If an error occurs while reading the VirtualWanInner. */ - public static VirtualWANInner fromJson(JsonReader jsonReader) throws IOException { + public static VirtualWanInner fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - VirtualWANInner deserializedVirtualWANInner = new VirtualWANInner(); + VirtualWanInner deserializedVirtualWanInner = new VirtualWanInner(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("location".equals(fieldName)) { - deserializedVirtualWANInner.withLocation(reader.getString()); + deserializedVirtualWanInner.withLocation(reader.getString()); } else if ("id".equals(fieldName)) { - deserializedVirtualWANInner.withId(reader.getString()); + deserializedVirtualWanInner.withId(reader.getString()); } else if ("name".equals(fieldName)) { - deserializedVirtualWANInner.name = reader.getString(); + deserializedVirtualWanInner.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedVirtualWANInner.type = reader.getString(); + deserializedVirtualWanInner.type = reader.getString(); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedVirtualWANInner.withTags(tags); + deserializedVirtualWanInner.withTags(tags); } else if ("properties".equals(fieldName)) { - deserializedVirtualWANInner.innerProperties = VirtualWanProperties.fromJson(reader); + deserializedVirtualWanInner.innerProperties = VirtualWanProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { - deserializedVirtualWANInner.etag = reader.getString(); + deserializedVirtualWanInner.etag = reader.getString(); } else { reader.skipChildren(); } } - return deserializedVirtualWANInner; + return deserializedVirtualWanInner; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java index 4bf5b65683f9..3dfcb616eccf 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java @@ -36,7 +36,7 @@ import com.azure.resourcemanager.network.fluent.AzureFirewallsClient; import com.azure.resourcemanager.network.fluent.models.AzureFirewallInner; import com.azure.resourcemanager.network.fluent.models.AzureFirewallPacketCaptureResponseInner; -import com.azure.resourcemanager.network.fluent.models.IPPrefixesListInner; +import com.azure.resourcemanager.network.fluent.models.IpPrefixesListInner; import com.azure.resourcemanager.network.implementation.models.AzureFirewallListResult; import com.azure.resourcemanager.network.models.FirewallPacketCaptureParameters; import com.azure.resourcemanager.network.models.TagsObject; @@ -1306,12 +1306,12 @@ private Mono>> listLearnedPrefixesWithResponseAsync(St * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, IPPrefixesListInner> + public PollerFlux, IpPrefixesListInner> beginListLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName) { Mono>> mono = listLearnedPrefixesWithResponseAsync(resourceGroupName, azureFirewallName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - IPPrefixesListInner.class, IPPrefixesListInner.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + IpPrefixesListInner.class, IpPrefixesListInner.class, this.client.getContext()); } /** @@ -1326,13 +1326,13 @@ private Mono>> listLearnedPrefixesWithResponseAsync(St * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, IPPrefixesListInner> + private PollerFlux, IpPrefixesListInner> beginListLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName, Context context) { context = this.client.mergeContext(context); Mono>> mono = listLearnedPrefixesWithResponseAsync(resourceGroupName, azureFirewallName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - IPPrefixesListInner.class, IPPrefixesListInner.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + IpPrefixesListInner.class, IpPrefixesListInner.class, context); } /** @@ -1346,7 +1346,7 @@ private Mono>> listLearnedPrefixesWithResponseAsync(St * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, IPPrefixesListInner> + public SyncPoller, IpPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, String azureFirewallName) { return this.beginListLearnedPrefixesAsync(resourceGroupName, azureFirewallName).getSyncPoller(); } @@ -1363,7 +1363,7 @@ private Mono>> listLearnedPrefixesWithResponseAsync(St * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, IPPrefixesListInner> + public SyncPoller, IpPrefixesListInner> beginListLearnedPrefixes(String resourceGroupName, String azureFirewallName, Context context) { return this.beginListLearnedPrefixesAsync(resourceGroupName, azureFirewallName, context).getSyncPoller(); } @@ -1379,7 +1379,7 @@ private Mono>> listLearnedPrefixesWithResponseAsync(St * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName) { + public Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName) { return beginListLearnedPrefixesAsync(resourceGroupName, azureFirewallName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1396,7 +1396,7 @@ public Mono listLearnedPrefixesAsync(String resourceGroupNa * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName, + private Mono listLearnedPrefixesAsync(String resourceGroupName, String azureFirewallName, Context context) { return beginListLearnedPrefixesAsync(resourceGroupName, azureFirewallName, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1413,7 +1413,7 @@ private Mono listLearnedPrefixesAsync(String resourceGroupN * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public IPPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName) { + public IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName) { return listLearnedPrefixesAsync(resourceGroupName, azureFirewallName).block(); } @@ -1429,7 +1429,7 @@ public IPPrefixesListInner listLearnedPrefixes(String resourceGroupName, String * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public IPPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName, + public IpPrefixesListInner listLearnedPrefixes(String resourceGroupName, String azureFirewallName, Context context) { return listLearnedPrefixesAsync(resourceGroupName, azureFirewallName, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java index ee7ae08e1174..b066fe62da4c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java @@ -32,7 +32,7 @@ import com.azure.core.util.FluxUtil; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.CustomIPPrefixesClient; +import com.azure.resourcemanager.network.fluent.CustomIpPrefixesClient; import com.azure.resourcemanager.network.fluent.models.CustomIpPrefixInner; import com.azure.resourcemanager.network.implementation.models.CustomIpPrefixListResult; import com.azure.resourcemanager.network.models.TagsObject; @@ -44,14 +44,14 @@ import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in CustomIPPrefixesClient. + * An instance of this class provides access to all the operations defined in CustomIpPrefixesClient. */ -public final class CustomIPPrefixesClientImpl implements InnerSupportsGet, - InnerSupportsListing, InnerSupportsDelete, CustomIPPrefixesClient { +public final class CustomIpPrefixesClientImpl implements InnerSupportsGet, + InnerSupportsListing, InnerSupportsDelete, CustomIpPrefixesClient { /** * The proxy service used to perform REST calls. */ - private final CustomIPPrefixesService service; + private final CustomIpPrefixesService service; /** * The service client containing this operation class. @@ -59,23 +59,23 @@ public final class CustomIPPrefixesClientImpl implements InnerSupportsGet> list(@HostParam("endpoint") String en @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/generateLoa") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> generateLOA(@HostParam("endpoint") String endpoint, + Mono> generateLOA(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, @@ -1118,7 +1118,7 @@ public PagedIterable list(Context context) { * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> generateLOAWithResponseAsync( + public Mono> generateLOAWithResponseAsync( String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1165,7 +1165,7 @@ public Mono> generateLOAWithRe * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> generateLOAWithResponseAsync( + private Mono> generateLOAWithResponseAsync( String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context) { if (this.client.getEndpoint() == null) { @@ -1209,7 +1209,7 @@ private Mono> generateLOAWithR * @return response for GenerateExpressRoutePortsLOA API service call on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generateLOAAsync(String resourceGroupName, + public Mono generateLOAAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request) { return generateLOAWithResponseAsync(resourceGroupName, expressRoutePortName, request) .flatMap(res -> Mono.justOrEmpty(res.getValue())); @@ -1228,7 +1228,7 @@ public Mono generateLOAAsync(String res * @return response for GenerateExpressRoutePortsLOA API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response generateLOAWithResponse(String resourceGroupName, + public Response generateLOAWithResponse(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context) { return generateLOAWithResponseAsync(resourceGroupName, expressRoutePortName, request, context).block(); } @@ -1245,7 +1245,7 @@ public Response generateLOAWithResponse * @return response for GenerateExpressRoutePortsLOA API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GenerateExpressRoutePortsLOAResultInner generateLOA(String resourceGroupName, String expressRoutePortName, + public GenerateExpressRoutePortsLoaResultInner generateLOA(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request) { return generateLOAWithResponse(resourceGroupName, expressRoutePortName, request, Context.NONE).getValue(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java index 1f58de2e15ac..e51aa89824b9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java @@ -25,19 +25,19 @@ import com.azure.core.management.exception.ManagementException; import com.azure.core.util.Context; import com.azure.core.util.FluxUtil; -import com.azure.resourcemanager.network.fluent.NetworkInterfaceIPConfigurationsClient; +import com.azure.resourcemanager.network.fluent.NetworkInterfaceIpConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; import com.azure.resourcemanager.network.implementation.models.NetworkInterfaceIPConfigurationListResult; import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in NetworkInterfaceIPConfigurationsClient. + * An instance of this class provides access to all the operations defined in NetworkInterfaceIpConfigurationsClient. */ -public final class NetworkInterfaceIPConfigurationsClientImpl implements NetworkInterfaceIPConfigurationsClient { +public final class NetworkInterfaceIpConfigurationsClientImpl implements NetworkInterfaceIpConfigurationsClient { /** * The proxy service used to perform REST calls. */ - private final NetworkInterfaceIPConfigurationsService service; + private final NetworkInterfaceIpConfigurationsService service; /** * The service client containing this operation class. @@ -45,23 +45,23 @@ public final class NetworkInterfaceIPConfigurationsClientImpl implements Network private final NetworkManagementClientImpl client; /** - * Initializes an instance of NetworkInterfaceIPConfigurationsClientImpl. + * Initializes an instance of NetworkInterfaceIpConfigurationsClientImpl. * * @param client the instance of the service client containing this operation class. */ - NetworkInterfaceIPConfigurationsClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(NetworkInterfaceIPConfigurationsService.class, client.getHttpPipeline(), + NetworkInterfaceIpConfigurationsClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(NetworkInterfaceIpConfigurationsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); this.client = client; } /** - * The interface defining all the services for NetworkManagementClientNetworkInterfaceIPConfigurations to be used by + * The interface defining all the services for NetworkManagementClientNetworkInterfaceIpConfigurations to be used by * the proxy service to perform REST calls. */ @Host("{endpoint}") - @ServiceInterface(name = "NetworkManagementClientNetworkInterfaceIPConfigurations") - public interface NetworkInterfaceIPConfigurationsService { + @ServiceInterface(name = "NetworkManagementClientNetworkInterfaceIpConfigurations") + public interface NetworkInterfaceIpConfigurationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}") @ExpectedResponses({ 200 }) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesOperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesOperationsClientImpl.java new file mode 100644 index 000000000000..3fa7f6e227ec --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesOperationsClientImpl.java @@ -0,0 +1,568 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.implementation; + +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.PathParam; +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.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.network.fluent.NetworkInterfacesOperationsClient; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; +import com.azure.resourcemanager.network.implementation.models.NetworkInterfaceIPConfigurationListResult; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in NetworkInterfacesOperationsClient. + */ +public final class NetworkInterfacesOperationsClientImpl implements NetworkInterfacesOperationsClient { + /** + * The proxy service used to perform REST calls. + */ + private final NetworkInterfacesOperationsService service; + + /** + * The service client containing this operation class. + */ + private final NetworkManagementClientImpl client; + + /** + * Initializes an instance of NetworkInterfacesOperationsClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + NetworkInterfacesOperationsClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(NetworkInterfacesOperationsService.class, client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for NetworkManagementClientNetworkInterfacesOperations to be used by the + * proxy service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClientNetworkInterfacesOperations") + public interface NetworkInterfacesOperationsService { + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getVirtualMachineScaleSetIpConfiguration( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @PathParam("virtualmachineIndex") String virtualmachineIndex, + @PathParam("networkInterfaceName") String networkInterfaceName, + @PathParam("ipConfigurationName") String ipConfigurationName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listVirtualMachineScaleSetIpConfigurations( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @PathParam("virtualmachineIndex") String virtualmachineIndex, + @PathParam("networkInterfaceName") String networkInterfaceName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listVirtualMachineScaleSetIpConfigurationsNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> + getVirtualMachineScaleSetIpConfigurationWithResponseAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String expand) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getVirtualMachineScaleSetIpConfiguration(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + getVirtualMachineScaleSetIpConfigurationWithResponseAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String expand, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getVirtualMachineScaleSetIpConfiguration(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, ipConfigurationName, expand, accept, context); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 network interface ip configuration in a virtual machine scale set on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getVirtualMachineScaleSetIpConfigurationAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName) { + final String expand = null; + return getVirtualMachineScaleSetIpConfigurationWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getVirtualMachineScaleSetIpConfigurationWithResponse( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String expand, Context context) { + return getVirtualMachineScaleSetIpConfigurationWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, context).block(); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 network interface ip configuration in a virtual machine scale set. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfiguration(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName) { + final String expand = null; + return getVirtualMachineScaleSetIpConfigurationWithResponse(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, Context.NONE).getValue(); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listVirtualMachineScaleSetIpConfigurations(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, expand, 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 specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetIpConfigurations(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, expand, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand), + nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink)); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName) { + final String expand = null; + return new PagedFlux<>( + () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand), + nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink)); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand, Context context) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand, context), + nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink, context)); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetIpConfigurations( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName) { + final String expand = null; + return new PagedIterable<>(listVirtualMachineScaleSetIpConfigurationsAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand)); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetIpConfigurations( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand, Context context) { + return new PagedIterable<>(listVirtualMachineScaleSetIpConfigurationsAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand, 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 specified network interface ip configuration in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listVirtualMachineScaleSetIpConfigurationsNext(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. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetIpConfigurationsNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java index 12552388666b..6af37d6b3121 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java @@ -29,7 +29,7 @@ import com.azure.resourcemanager.network.fluent.ConfigurationPolicyGroupsClient; import com.azure.resourcemanager.network.fluent.ConnectionMonitorsClient; import com.azure.resourcemanager.network.fluent.ConnectivityConfigurationsClient; -import com.azure.resourcemanager.network.fluent.CustomIPPrefixesClient; +import com.azure.resourcemanager.network.fluent.CustomIpPrefixesClient; import com.azure.resourcemanager.network.fluent.DdosCustomPoliciesClient; import com.azure.resourcemanager.network.fluent.DdosProtectionPlansClient; import com.azure.resourcemanager.network.fluent.DefaultSecurityRulesClient; @@ -78,10 +78,11 @@ import com.azure.resourcemanager.network.fluent.NatGatewaysClient; import com.azure.resourcemanager.network.fluent.NatRulesClient; import com.azure.resourcemanager.network.fluent.NetworkGroupsClient; -import com.azure.resourcemanager.network.fluent.NetworkInterfaceIPConfigurationsClient; +import com.azure.resourcemanager.network.fluent.NetworkInterfaceIpConfigurationsClient; import com.azure.resourcemanager.network.fluent.NetworkInterfaceLoadBalancersClient; import com.azure.resourcemanager.network.fluent.NetworkInterfaceTapConfigurationsClient; import com.azure.resourcemanager.network.fluent.NetworkInterfacesClient; +import com.azure.resourcemanager.network.fluent.NetworkInterfacesOperationsClient; import com.azure.resourcemanager.network.fluent.NetworkManagementClient; import com.azure.resourcemanager.network.fluent.NetworkManagerCommitsClient; import com.azure.resourcemanager.network.fluent.NetworkManagerDeploymentStatusOperationsClient; @@ -375,6 +376,20 @@ public PublicIpAddressesClient getPublicIpAddresses() { return this.publicIpAddresses; } + /** + * The CustomIpPrefixesClient object to access its operations. + */ + private final CustomIpPrefixesClient customIpPrefixes; + + /** + * Gets the CustomIpPrefixesClient object to access its operations. + * + * @return the CustomIpPrefixesClient object. + */ + public CustomIpPrefixesClient getCustomIpPrefixes() { + return this.customIpPrefixes; + } + /** * The DdosCustomPoliciesClient object to access its operations. */ @@ -712,17 +727,17 @@ public NatGatewaysClient getNatGateways() { } /** - * The NetworkInterfaceIPConfigurationsClient object to access its operations. + * The NetworkInterfaceIpConfigurationsClient object to access its operations. */ - private final NetworkInterfaceIPConfigurationsClient networkInterfaceIPConfigurations; + private final NetworkInterfaceIpConfigurationsClient networkInterfaceIpConfigurations; /** - * Gets the NetworkInterfaceIPConfigurationsClient object to access its operations. + * Gets the NetworkInterfaceIpConfigurationsClient object to access its operations. * - * @return the NetworkInterfaceIPConfigurationsClient object. + * @return the NetworkInterfaceIpConfigurationsClient object. */ - public NetworkInterfaceIPConfigurationsClient getNetworkInterfaceIPConfigurations() { - return this.networkInterfaceIPConfigurations; + public NetworkInterfaceIpConfigurationsClient getNetworkInterfaceIpConfigurations() { + return this.networkInterfaceIpConfigurations; } /** @@ -1705,20 +1720,6 @@ public VipSwapsClient getVipSwaps() { return this.vipSwaps; } - /** - * The CustomIPPrefixesClient object to access its operations. - */ - private final CustomIPPrefixesClient customIPPrefixes; - - /** - * Gets the CustomIPPrefixesClient object to access its operations. - * - * @return the CustomIPPrefixesClient object. - */ - public CustomIPPrefixesClient getCustomIPPrefixes() { - return this.customIPPrefixes; - } - /** * The DscpConfigurationsClient object to access its operations. */ @@ -2518,6 +2519,20 @@ public UsagesClient getUsages() { return this.usages; } + /** + * The NetworkInterfacesOperationsClient object to access its operations. + */ + private final NetworkInterfacesOperationsClient networkInterfacesOperations; + + /** + * Gets the NetworkInterfacesOperationsClient object to access its operations. + * + * @return the NetworkInterfacesOperationsClient object. + */ + public NetworkInterfacesOperationsClient getNetworkInterfacesOperations() { + return this.networkInterfacesOperations; + } + /** * Initializes an instance of NetworkManagementClient client. * @@ -2546,6 +2561,7 @@ public UsagesClient getUsages() { this.expressRouteProviderPorts = new ExpressRouteProviderPortsClientImpl(this); this.networkInterfaces = new NetworkInterfacesClientImpl(this); this.publicIpAddresses = new PublicIpAddressesClientImpl(this); + this.customIpPrefixes = new CustomIpPrefixesClientImpl(this); this.ddosCustomPolicies = new DdosCustomPoliciesClientImpl(this); this.ddosProtectionPlans = new DdosProtectionPlansClientImpl(this); this.expressRouteCircuitAuthorizations = new ExpressRouteCircuitAuthorizationsClientImpl(this); @@ -2570,7 +2586,7 @@ public UsagesClient getUsages() { this.loadBalancers = new LoadBalancersClientImpl(this); this.inboundNatRules = new InboundNatRulesClientImpl(this); this.natGateways = new NatGatewaysClientImpl(this); - this.networkInterfaceIPConfigurations = new NetworkInterfaceIPConfigurationsClientImpl(this); + this.networkInterfaceIpConfigurations = new NetworkInterfaceIpConfigurationsClientImpl(this); this.networkInterfaceTapConfigurations = new NetworkInterfaceTapConfigurationsClientImpl(this); this.managementGroupNetworkManagerConnections = new ManagementGroupNetworkManagerConnectionsClientImpl(this); this.connectivityConfigurations = new ConnectivityConfigurationsClientImpl(this); @@ -2642,7 +2658,6 @@ public UsagesClient getUsages() { this.expressRouteProviderPortsLocations = new ExpressRouteProviderPortsLocationsClientImpl(this); this.networkInterfaceLoadBalancers = new NetworkInterfaceLoadBalancersClientImpl(this); this.vipSwaps = new VipSwapsClientImpl(this); - this.customIPPrefixes = new CustomIPPrefixesClientImpl(this); this.dscpConfigurations = new DscpConfigurationsClientImpl(this); this.expressRouteCrossConnectionPeerings = new ExpressRouteCrossConnectionPeeringsClientImpl(this); this.expressRouteLinks = new ExpressRouteLinksClientImpl(this); @@ -2703,5 +2718,6 @@ public UsagesClient getUsages() { this.serviceTags = new ServiceTagsClientImpl(this); this.serviceTagInformations = new ServiceTagInformationsClientImpl(this); this.usages = new UsagesClientImpl(this); + this.networkInterfacesOperations = new NetworkInterfacesOperationsClientImpl(this); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java index 2ee50850c0da..03065f3bf6f7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java @@ -34,7 +34,7 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualWansClient; -import com.azure.resourcemanager.network.fluent.models.VirtualWANInner; +import com.azure.resourcemanager.network.fluent.models.VirtualWanInner; import com.azure.resourcemanager.network.fluent.models.VirtualWanSecurityProvidersInner; import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; import com.azure.resourcemanager.network.implementation.models.ListVirtualWANsResult; @@ -50,8 +50,8 @@ /** * An instance of this class provides access to all the operations defined in VirtualWansClient. */ -public final class VirtualWansClientImpl implements InnerSupportsGet, - InnerSupportsListing, InnerSupportsDelete, VirtualWansClient { +public final class VirtualWansClientImpl implements InnerSupportsGet, + InnerSupportsListing, InnerSupportsDelete, VirtualWansClient { /** * The proxy service used to perform REST calls. */ @@ -84,7 +84,7 @@ public interface VirtualWansService { @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("VirtualWANName") String virtualWANName, @HeaderParam("Accept") String accept, Context context); @@ -96,13 +96,13 @@ Mono>> createOrUpdate(@HostParam("endpoint") String en @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("VirtualWANName") String virtualWANName, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") VirtualWANInner wANParameters, + @HeaderParam("Accept") String accept, @BodyParam("application/json") VirtualWanInner wANParameters, Context context); @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> updateTags(@HostParam("endpoint") String endpoint, + Mono> updateTags(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("VirtualWANName") String virtualWANName, @HeaderParam("Content-Type") String contentType, @@ -183,7 +183,7 @@ Mono> listNext(@PathParam(value = "nextLink", en * @return virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualWANName) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -220,7 +220,7 @@ public Mono> getByResourceGroupWithResponseAsync(Strin * @return virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualWANName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -255,7 +255,7 @@ private Mono> getByResourceGroupWithResponseAsync(Stri * @return virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String virtualWANName) { + public Mono getByResourceGroupAsync(String resourceGroupName, String virtualWANName) { return getByResourceGroupWithResponseAsync(resourceGroupName, virtualWANName) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } @@ -272,7 +272,7 @@ public Mono getByResourceGroupAsync(String resourceGroupName, S * @return virtualWAN Resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, String virtualWANName, + public Response getByResourceGroupWithResponse(String resourceGroupName, String virtualWANName, Context context) { return getByResourceGroupWithResponseAsync(resourceGroupName, virtualWANName, context).block(); } @@ -288,7 +288,7 @@ public Response getByResourceGroupWithResponse(String resourceG * @return virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualWANInner getByResourceGroup(String resourceGroupName, String virtualWANName) { + public VirtualWanInner getByResourceGroup(String resourceGroupName, String virtualWANName) { return getByResourceGroupWithResponse(resourceGroupName, virtualWANName, Context.NONE).getValue(); } @@ -305,7 +305,7 @@ public VirtualWANInner getByResourceGroup(String resourceGroupName, String virtu */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String virtualWANName, VirtualWANInner wANParameters) { + String virtualWANName, VirtualWanInner wANParameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -350,7 +350,7 @@ public Mono>> createOrUpdateWithResponseAsync(String r */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String virtualWANName, VirtualWANInner wANParameters, Context context) { + String virtualWANName, VirtualWanInner wANParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -391,12 +391,12 @@ private Mono>> createOrUpdateWithResponseAsync(String * @return the {@link PollerFlux} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VirtualWANInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualWANName, VirtualWANInner wANParameters) { + public PollerFlux, VirtualWanInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualWANName, VirtualWanInner wANParameters) { Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, virtualWANName, wANParameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - VirtualWANInner.class, VirtualWANInner.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + VirtualWanInner.class, VirtualWanInner.class, this.client.getContext()); } /** @@ -412,13 +412,13 @@ public PollerFlux, VirtualWANInner> beginCreateOrUpd * @return the {@link PollerFlux} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VirtualWANInner> beginCreateOrUpdateAsync(String resourceGroupName, - String virtualWANName, VirtualWANInner wANParameters, Context context) { + private PollerFlux, VirtualWanInner> beginCreateOrUpdateAsync(String resourceGroupName, + String virtualWANName, VirtualWanInner wANParameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = createOrUpdateWithResponseAsync(resourceGroupName, virtualWANName, wANParameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - VirtualWANInner.class, VirtualWANInner.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + VirtualWanInner.class, VirtualWanInner.class, context); } /** @@ -433,8 +433,8 @@ private PollerFlux, VirtualWANInner> beginCreateOrUp * @return the {@link SyncPoller} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualWANInner> beginCreateOrUpdate(String resourceGroupName, - String virtualWANName, VirtualWANInner wANParameters) { + public SyncPoller, VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, + String virtualWANName, VirtualWanInner wANParameters) { return this.beginCreateOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters).getSyncPoller(); } @@ -451,8 +451,8 @@ public SyncPoller, VirtualWANInner> beginCreateOrUpd * @return the {@link SyncPoller} for polling of virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, VirtualWANInner> beginCreateOrUpdate(String resourceGroupName, - String virtualWANName, VirtualWANInner wANParameters, Context context) { + public SyncPoller, VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, + String virtualWANName, VirtualWanInner wANParameters, Context context) { return this.beginCreateOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters, context).getSyncPoller(); } @@ -468,8 +468,8 @@ public SyncPoller, VirtualWANInner> beginCreateOrUpd * @return virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String virtualWANName, - VirtualWANInner wANParameters) { + public Mono createOrUpdateAsync(String resourceGroupName, String virtualWANName, + VirtualWanInner wANParameters) { return beginCreateOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -487,8 +487,8 @@ public Mono createOrUpdateAsync(String resourceGroupName, Strin * @return virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String virtualWANName, - VirtualWANInner wANParameters, Context context) { + private Mono createOrUpdateAsync(String resourceGroupName, String virtualWANName, + VirtualWanInner wANParameters, Context context) { return beginCreateOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -505,8 +505,8 @@ private Mono createOrUpdateAsync(String resourceGroupName, Stri * @return virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWANName, - VirtualWANInner wANParameters) { + public VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWANName, + VirtualWanInner wANParameters) { return createOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters).block(); } @@ -523,8 +523,8 @@ public VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWA * @return virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWANName, - VirtualWANInner wANParameters, Context context) { + public VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWANName, + VirtualWanInner wANParameters, Context context) { return createOrUpdateAsync(resourceGroupName, virtualWANName, wANParameters, context).block(); } @@ -540,7 +540,7 @@ public VirtualWANInner createOrUpdate(String resourceGroupName, String virtualWA * @return virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWANName, + public Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWANName, TagsObject wANParameters) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -585,7 +585,7 @@ public Mono> updateTagsWithResponseAsync(String resour * @return virtualWAN Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWANName, + private Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualWANName, TagsObject wANParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -627,7 +627,7 @@ private Mono> updateTagsWithResponseAsync(String resou * @return virtualWAN Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String virtualWANName, + public Mono updateTagsAsync(String resourceGroupName, String virtualWANName, TagsObject wANParameters) { return updateTagsWithResponseAsync(resourceGroupName, virtualWANName, wANParameters) .flatMap(res -> Mono.justOrEmpty(res.getValue())); @@ -646,7 +646,7 @@ public Mono updateTagsAsync(String resourceGroupName, String vi * @return virtualWAN Resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response updateTagsWithResponse(String resourceGroupName, String virtualWANName, + public Response updateTagsWithResponse(String resourceGroupName, String virtualWANName, TagsObject wANParameters, Context context) { return updateTagsWithResponseAsync(resourceGroupName, virtualWANName, wANParameters, context).block(); } @@ -663,7 +663,7 @@ public Response updateTagsWithResponse(String resourceGroupName * @return virtualWAN Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualWANInner updateTags(String resourceGroupName, String virtualWANName, TagsObject wANParameters) { + public VirtualWanInner updateTags(String resourceGroupName, String virtualWANName, TagsObject wANParameters) { return updateTagsWithResponse(resourceGroupName, virtualWANName, wANParameters, Context.NONE).getValue(); } @@ -878,7 +878,7 @@ public void delete(String resourceGroupName, String virtualWANName, Context cont * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -896,7 +896,7 @@ private Mono> listByResourceGroupSinglePageAsync( return FluxUtil .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + .>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())); } @@ -913,7 +913,7 @@ private Mono> listByResourceGroupSinglePageAsync( * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -947,7 +947,7 @@ private Mono> listByResourceGroupSinglePageAsync( * @return result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); } @@ -963,7 +963,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGroupN * @return result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); } @@ -978,7 +978,7 @@ private PagedFlux listByResourceGroupAsync(String resourceGroup * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { + public PagedIterable listByResourceGroup(String resourceGroupName) { return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); } @@ -993,7 +993,7 @@ public PagedIterable listByResourceGroup(String resourceGroupNa * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); } @@ -1006,7 +1006,7 @@ public PagedIterable listByResourceGroup(String resourceGroupNa * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1020,7 +1020,7 @@ private Mono> listSinglePageAsync() { return FluxUtil .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + .>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())); } @@ -1036,7 +1036,7 @@ private Mono> listSinglePageAsync() { * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { + private Mono> listSinglePageAsync(Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -1061,7 +1061,7 @@ private Mono> listSinglePageAsync(Context context * @return result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { + public PagedFlux listAsync() { return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); } @@ -1075,7 +1075,7 @@ public PagedFlux listAsync() { * @return result of the request to list VirtualWANs as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { + private PagedFlux listAsync(Context context) { return new PagedFlux<>(() -> listSinglePageAsync(context), nextLink -> listNextSinglePageAsync(nextLink, context)); } @@ -1088,7 +1088,7 @@ private PagedFlux listAsync(Context context) { * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { + public PagedIterable list() { return new PagedIterable<>(listAsync()); } @@ -1102,7 +1102,7 @@ public PagedIterable list() { * @return result of the request to list VirtualWANs as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { + public PagedIterable list(Context context) { return new PagedIterable<>(listAsync(context)); } @@ -1503,7 +1503,7 @@ public VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofil * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1515,7 +1515,7 @@ private Mono> listByResourceGroupNextSinglePageAs return FluxUtil .withContext( context -> service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + .>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())); } @@ -1532,7 +1532,7 @@ private Mono> listByResourceGroupNextSinglePageAs * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1559,7 +1559,7 @@ private Mono> listByResourceGroupNextSinglePageAs * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1569,7 +1569,7 @@ private Mono> listNextSinglePageAsync(String next } final String accept = "application/json"; return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) - .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + .>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())); } @@ -1586,7 +1586,7 @@ private Mono> listNextSinglePageAsync(String next * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java index e5acb1c28dee..98372b7a3d0b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.VirtualWANInner; +import com.azure.resourcemanager.network.fluent.models.VirtualWanInner; import java.io.IOException; import java.util.List; @@ -23,7 +23,7 @@ public final class ListVirtualWANsResult implements JsonSerializable value; + private List value; /* * The link to the next page of items @@ -41,7 +41,7 @@ private ListVirtualWANsResult() { * * @return the value value. */ - public List value() { + public List value() { return this.value; } @@ -98,7 +98,7 @@ public static ListVirtualWANsResult fromJson(JsonReader jsonReader) throws IOExc reader.nextToken(); if ("value".equals(fieldName)) { - List value = reader.readArray(reader1 -> VirtualWANInner.fromJson(reader1)); + List value = reader.readArray(reader1 -> VirtualWanInner.fromJson(reader1)); deserializedListVirtualWANsResult.value = value; } else if ("nextLink".equals(fieldName)) { deserializedListVirtualWANsResult.nextLink = reader.getString(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java index 2334947204f6..ceb9cd70d11c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayEntraJWTValidationConfigPropertiesFormat; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayEntraJwtValidationConfigPropertiesFormat; import java.io.IOException; import java.util.List; @@ -21,7 +21,7 @@ public final class ApplicationGatewayEntraJwtValidationConfig extends SubResourc /* * Properties of the application gateway entra jwt validation configuration. */ - private ApplicationGatewayEntraJWTValidationConfigPropertiesFormat innerProperties; + private ApplicationGatewayEntraJwtValidationConfigPropertiesFormat innerProperties; /* * Name of the entra jwt validation configuration that is unique within an application gateway. @@ -44,7 +44,7 @@ public ApplicationGatewayEntraJwtValidationConfig() { * * @return the innerProperties value. */ - private ApplicationGatewayEntraJWTValidationConfigPropertiesFormat innerProperties() { + private ApplicationGatewayEntraJwtValidationConfigPropertiesFormat innerProperties() { return this.innerProperties; } @@ -106,7 +106,7 @@ public ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction() { public ApplicationGatewayEntraJwtValidationConfig withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); + this.innerProperties = new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat(); } this.innerProperties().withUnAuthorizedRequestAction(unAuthorizedRequestAction); return this; @@ -129,7 +129,7 @@ public String tenantId() { */ public ApplicationGatewayEntraJwtValidationConfig withTenantId(String tenantId) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); + this.innerProperties = new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat(); } this.innerProperties().withTenantId(tenantId); return this; @@ -152,7 +152,7 @@ public String clientId() { */ public ApplicationGatewayEntraJwtValidationConfig withClientId(String clientId) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); + this.innerProperties = new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat(); } this.innerProperties().withClientId(clientId); return this; @@ -177,7 +177,7 @@ public List audiences() { */ public ApplicationGatewayEntraJwtValidationConfig withAudiences(List audiences) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayEntraJWTValidationConfigPropertiesFormat(); + this.innerProperties = new ApplicationGatewayEntraJwtValidationConfigPropertiesFormat(); } this.innerProperties().withAudiences(audiences); return this; @@ -235,7 +235,7 @@ public static ApplicationGatewayEntraJwtValidationConfig fromJson(JsonReader jso deserializedApplicationGatewayEntraJwtValidationConfig.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedApplicationGatewayEntraJwtValidationConfig.innerProperties - = ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.fromJson(reader); + = ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedApplicationGatewayEntraJwtValidationConfig.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java index eca0a2a4187c..b698e6c73b62 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayFrontendIPConfigurationPropertiesFormat; +import com.azure.resourcemanager.network.fluent.models.ApplicationGatewayFrontendIpConfigurationPropertiesFormat; import java.io.IOException; /** @@ -20,7 +20,7 @@ public final class ApplicationGatewayFrontendIpConfiguration extends SubResource /* * Properties of the application gateway frontend IP configuration. */ - private ApplicationGatewayFrontendIPConfigurationPropertiesFormat innerProperties; + private ApplicationGatewayFrontendIpConfigurationPropertiesFormat innerProperties; /* * Name of the frontend IP configuration that is unique within an Application Gateway. @@ -48,7 +48,7 @@ public ApplicationGatewayFrontendIpConfiguration() { * * @return the innerProperties value. */ - private ApplicationGatewayFrontendIPConfigurationPropertiesFormat innerProperties() { + private ApplicationGatewayFrontendIpConfigurationPropertiesFormat innerProperties() { return this.innerProperties; } @@ -116,7 +116,7 @@ public String privateIpAddress() { */ public ApplicationGatewayFrontendIpConfiguration withPrivateIpAddress(String privateIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); } this.innerProperties().withPrivateIpAddress(privateIpAddress); return this; @@ -140,7 +140,7 @@ public IpAllocationMethod privateIpAllocationMethod() { public ApplicationGatewayFrontendIpConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -163,7 +163,7 @@ public SubResource subnet() { */ public ApplicationGatewayFrontendIpConfiguration withSubnet(SubResource subnet) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); } this.innerProperties().withSubnet(subnet); return this; @@ -186,7 +186,7 @@ public SubResource publicIpAddress() { */ public ApplicationGatewayFrontendIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -210,7 +210,7 @@ public SubResource privateLinkConfiguration() { public ApplicationGatewayFrontendIpConfiguration withPrivateLinkConfiguration(SubResource privateLinkConfiguration) { if (this.innerProperties() == null) { - this.innerProperties = new ApplicationGatewayFrontendIPConfigurationPropertiesFormat(); + this.innerProperties = new ApplicationGatewayFrontendIpConfigurationPropertiesFormat(); } this.innerProperties().withPrivateLinkConfiguration(privateLinkConfiguration); return this; @@ -268,7 +268,7 @@ public static ApplicationGatewayFrontendIpConfiguration fromJson(JsonReader json deserializedApplicationGatewayFrontendIpConfiguration.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedApplicationGatewayFrontendIpConfiguration.innerProperties - = ApplicationGatewayFrontendIPConfigurationPropertiesFormat.fromJson(reader); + = ApplicationGatewayFrontendIpConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedApplicationGatewayFrontendIpConfiguration.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java index 0020c10a268e..245e29402255 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.AzureFirewallIPConfigurationPropertiesFormat; +import com.azure.resourcemanager.network.fluent.models.AzureFirewallIpConfigurationPropertiesFormat; import java.io.IOException; /** @@ -20,7 +20,7 @@ public final class AzureFirewallIpConfiguration extends SubResource { /* * Properties of the azure firewall IP configuration. */ - private AzureFirewallIPConfigurationPropertiesFormat innerProperties; + private AzureFirewallIpConfigurationPropertiesFormat innerProperties; /* * Name of the resource that is unique within a resource group. This name can be used to access the resource. @@ -48,7 +48,7 @@ public AzureFirewallIpConfiguration() { * * @return the innerProperties value. */ - private AzureFirewallIPConfigurationPropertiesFormat innerProperties() { + private AzureFirewallIpConfigurationPropertiesFormat innerProperties() { return this.innerProperties; } @@ -130,7 +130,7 @@ public SubResource subnet() { */ public AzureFirewallIpConfiguration withSubnet(SubResource subnet) { if (this.innerProperties() == null) { - this.innerProperties = new AzureFirewallIPConfigurationPropertiesFormat(); + this.innerProperties = new AzureFirewallIpConfigurationPropertiesFormat(); } this.innerProperties().withSubnet(subnet); return this; @@ -155,7 +155,7 @@ public SubResource publicIpAddress() { */ public AzureFirewallIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new AzureFirewallIPConfigurationPropertiesFormat(); + this.innerProperties = new AzureFirewallIpConfigurationPropertiesFormat(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -212,7 +212,7 @@ public static AzureFirewallIpConfiguration fromJson(JsonReader jsonReader) throw deserializedAzureFirewallIpConfiguration.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedAzureFirewallIpConfiguration.innerProperties - = AzureFirewallIPConfigurationPropertiesFormat.fromJson(reader); + = AzureFirewallIpConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedAzureFirewallIpConfiguration.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java index c18892a1c171..0a8dd4287ac5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java @@ -9,7 +9,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.BastionHostIPConfigurationPropertiesFormat; +import com.azure.resourcemanager.network.fluent.models.BastionHostIpConfigurationPropertiesFormat; import java.io.IOException; /** @@ -20,7 +20,7 @@ public final class BastionHostIpConfiguration extends SubResource { /* * Represents the ip configuration associated with the resource. */ - private BastionHostIPConfigurationPropertiesFormat innerProperties; + private BastionHostIpConfigurationPropertiesFormat innerProperties; /* * Name of the resource that is unique within a resource group. This name can be used to access the resource. @@ -48,7 +48,7 @@ public BastionHostIpConfiguration() { * * @return the innerProperties value. */ - private BastionHostIPConfigurationPropertiesFormat innerProperties() { + private BastionHostIpConfigurationPropertiesFormat innerProperties() { return this.innerProperties; } @@ -118,7 +118,7 @@ public SubResource subnet() { */ public BastionHostIpConfiguration withSubnet(SubResource subnet) { if (this.innerProperties() == null) { - this.innerProperties = new BastionHostIPConfigurationPropertiesFormat(); + this.innerProperties = new BastionHostIpConfigurationPropertiesFormat(); } this.innerProperties().withSubnet(subnet); return this; @@ -141,7 +141,7 @@ public SubResource publicIpAddress() { */ public BastionHostIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new BastionHostIPConfigurationPropertiesFormat(); + this.innerProperties = new BastionHostIpConfigurationPropertiesFormat(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -173,7 +173,7 @@ public IpAllocationMethod privateIpAllocationMethod() { */ public BastionHostIpConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) { if (this.innerProperties() == null) { - this.innerProperties = new BastionHostIPConfigurationPropertiesFormat(); + this.innerProperties = new BastionHostIpConfigurationPropertiesFormat(); } this.innerProperties().withPrivateIpAllocationMethod(privateIpAllocationMethod); return this; @@ -221,7 +221,7 @@ public static BastionHostIpConfiguration fromJson(JsonReader jsonReader) throws deserializedBastionHostIpConfiguration.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedBastionHostIpConfiguration.innerProperties - = BastionHostIPConfigurationPropertiesFormat.fromJson(reader); + = BastionHostIpConfigurationPropertiesFormat.fromJson(reader); } else if ("name".equals(fieldName)) { deserializedBastionHostIpConfiguration.name = reader.getString(); } else if ("etag".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java new file mode 100644 index 000000000000..e4ae19e90046 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/CreatedByType.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.network.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The kind of entity that created the resource. + */ +public final class CreatedByType extends ExpandableStringEnum { + /** + * The entity was created by a user. + */ + public static final CreatedByType USER = fromString("User"); + + /** + * The entity was created by an application. + */ + public static final CreatedByType APPLICATION = fromString("Application"); + + /** + * The entity was created by a managed identity. + */ + public static final CreatedByType MANAGED_IDENTITY = fromString("ManagedIdentity"); + + /** + * The entity was created by a key. + */ + public static final CreatedByType KEY = fromString("Key"); + + /** + * Creates a new instance of CreatedByType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public CreatedByType() { + } + + /** + * Creates or finds a CreatedByType from its string representation. + * + * @param name a name to look for. + * @return the corresponding CreatedByType. + */ + public static CreatedByType fromString(String name) { + return fromString(name, CreatedByType.class); + } + + /** + * Gets known CreatedByType values. + * + * @return known CreatedByType values. + */ + public static Collection values() { + return values(CreatedByType.class); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java index f80869051ebd..c89c75a0d26d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java @@ -10,7 +10,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.LoadBalancerVipSwapRequestFrontendIPConfigurationProperties; +import com.azure.resourcemanager.network.fluent.models.LoadBalancerVipSwapRequestFrontendIpConfigurationProperties; import java.io.IOException; /** @@ -27,7 +27,7 @@ public final class LoadBalancerVipSwapRequestFrontendIpConfiguration /* * The properties of VIP swap request's frontend IP configuration object. */ - private LoadBalancerVipSwapRequestFrontendIPConfigurationProperties innerProperties; + private LoadBalancerVipSwapRequestFrontendIpConfigurationProperties innerProperties; /** * Creates an instance of LoadBalancerVipSwapRequestFrontendIpConfiguration class. @@ -60,7 +60,7 @@ public LoadBalancerVipSwapRequestFrontendIpConfiguration withId(String id) { * * @return the innerProperties value. */ - private LoadBalancerVipSwapRequestFrontendIPConfigurationProperties innerProperties() { + private LoadBalancerVipSwapRequestFrontendIpConfigurationProperties innerProperties() { return this.innerProperties; } @@ -81,7 +81,7 @@ public SubResource publicIpAddress() { */ public LoadBalancerVipSwapRequestFrontendIpConfiguration withPublicIpAddress(SubResource publicIpAddress) { if (this.innerProperties() == null) { - this.innerProperties = new LoadBalancerVipSwapRequestFrontendIPConfigurationProperties(); + this.innerProperties = new LoadBalancerVipSwapRequestFrontendIpConfigurationProperties(); } this.innerProperties().withPublicIpAddress(publicIpAddress); return this; @@ -129,7 +129,7 @@ public static LoadBalancerVipSwapRequestFrontendIpConfiguration fromJson(JsonRea deserializedLoadBalancerVipSwapRequestFrontendIpConfiguration.id = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedLoadBalancerVipSwapRequestFrontendIpConfiguration.innerProperties - = LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.fromJson(reader); + = LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java index b477d0009b2d..5692bde7413e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java @@ -9,7 +9,7 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.fluent.models.PrivateEndpointIPConfigurationProperties; +import com.azure.resourcemanager.network.fluent.models.PrivateEndpointIpConfigurationProperties; import java.io.IOException; /** @@ -20,7 +20,7 @@ public final class PrivateEndpointIpConfiguration implements JsonSerializable { + SecurityPerimeterProxyResource deserializedSecurityPerimeterProxyResource + = new SecurityPerimeterProxyResource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedSecurityPerimeterProxyResource.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedSecurityPerimeterProxyResource.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedSecurityPerimeterProxyResource.type = reader.getString(); + } else if ("systemData".equals(fieldName)) { + deserializedSecurityPerimeterProxyResource.systemData + = SecurityPerimeterSystemData.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedSecurityPerimeterProxyResource; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java new file mode 100644 index 000000000000..2028fcba7f47 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.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.network.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 java.io.IOException; + +/** + * Common fields that are returned in the response for all Azure Resource Manager resources. + */ +@Immutable +public class SecurityPerimeterResource implements JsonSerializable { + /* + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + private String id; + + /* + * The name of the resource + */ + private String name; + + /* + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + private String type; + + /* + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + private SecurityPerimeterSystemData systemData; + + /** + * Creates an instance of SecurityPerimeterResource class. + */ + public SecurityPerimeterResource() { + } + + /** + * Get the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". + * + * @param id the id value to set. + * @return the SecurityPerimeterResource object itself. + */ + SecurityPerimeterResource withId(String id) { + this.id = id; + return this; + } + + /** + * Get the name property: The name of the resource. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: The name of the resource. + * + * @param name the name value to set. + * @return the SecurityPerimeterResource object itself. + */ + SecurityPerimeterResource withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". + * + * @param type the type value to set. + * @return the SecurityPerimeterResource object itself. + */ + SecurityPerimeterResource withType(String type) { + this.type = type; + return this; + } + + /** + * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @return the systemData value. + */ + public SecurityPerimeterSystemData systemData() { + return this.systemData; + } + + /** + * Set the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @param systemData the systemData value to set. + * @return the SecurityPerimeterResource object itself. + */ + SecurityPerimeterResource withSystemData(SecurityPerimeterSystemData systemData) { + this.systemData = systemData; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (systemData() != null) { + systemData().validate(); + } + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SecurityPerimeterResource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SecurityPerimeterResource 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 SecurityPerimeterResource. + */ + public static SecurityPerimeterResource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + SecurityPerimeterResource deserializedSecurityPerimeterResource = new SecurityPerimeterResource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedSecurityPerimeterResource.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedSecurityPerimeterResource.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedSecurityPerimeterResource.type = reader.getString(); + } else if ("systemData".equals(fieldName)) { + deserializedSecurityPerimeterResource.systemData = SecurityPerimeterSystemData.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedSecurityPerimeterResource; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java new file mode 100644 index 000000000000..2a2e4ded22ed --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java @@ -0,0 +1,177 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.models; + +import com.azure.core.annotation.Immutable; +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 java.io.IOException; +import java.time.OffsetDateTime; +import java.time.format.DateTimeFormatter; + +/** + * Metadata pertaining to creation and last modification of the resource. + */ +@Immutable +public final class SecurityPerimeterSystemData implements JsonSerializable { + /* + * The identity that created the resource. + */ + private String createdBy; + + /* + * The type of identity that created the resource. + */ + private CreatedByType createdByType; + + /* + * The timestamp of resource creation (UTC). + */ + private OffsetDateTime createdAt; + + /* + * The identity that last modified the resource. + */ + private String lastModifiedBy; + + /* + * The type of identity that last modified the resource. + */ + private CreatedByType lastModifiedByType; + + /* + * The timestamp of resource last modification (UTC) + */ + private OffsetDateTime lastModifiedAt; + + /** + * Creates an instance of SecurityPerimeterSystemData class. + */ + private SecurityPerimeterSystemData() { + } + + /** + * Get the createdBy property: The identity that created the resource. + * + * @return the createdBy value. + */ + public String createdBy() { + return this.createdBy; + } + + /** + * Get the createdByType property: The type of identity that created the resource. + * + * @return the createdByType value. + */ + public CreatedByType createdByType() { + return this.createdByType; + } + + /** + * Get the createdAt property: The timestamp of resource creation (UTC). + * + * @return the createdAt value. + */ + public OffsetDateTime createdAt() { + return this.createdAt; + } + + /** + * Get the lastModifiedBy property: The identity that last modified the resource. + * + * @return the lastModifiedBy value. + */ + public String lastModifiedBy() { + return this.lastModifiedBy; + } + + /** + * Get the lastModifiedByType property: The type of identity that last modified the resource. + * + * @return the lastModifiedByType value. + */ + public CreatedByType lastModifiedByType() { + return this.lastModifiedByType; + } + + /** + * Get the lastModifiedAt property: The timestamp of resource last modification (UTC). + * + * @return the lastModifiedAt value. + */ + public OffsetDateTime lastModifiedAt() { + return this.lastModifiedAt; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("createdBy", this.createdBy); + jsonWriter.writeStringField("createdByType", this.createdByType == null ? null : this.createdByType.toString()); + jsonWriter.writeStringField("createdAt", + this.createdAt == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.createdAt)); + jsonWriter.writeStringField("lastModifiedBy", this.lastModifiedBy); + jsonWriter.writeStringField("lastModifiedByType", + this.lastModifiedByType == null ? null : this.lastModifiedByType.toString()); + jsonWriter.writeStringField("lastModifiedAt", + this.lastModifiedAt == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.lastModifiedAt)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SecurityPerimeterSystemData from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SecurityPerimeterSystemData 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 SecurityPerimeterSystemData. + */ + public static SecurityPerimeterSystemData fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + SecurityPerimeterSystemData deserializedSecurityPerimeterSystemData = new SecurityPerimeterSystemData(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("createdBy".equals(fieldName)) { + deserializedSecurityPerimeterSystemData.createdBy = reader.getString(); + } else if ("createdByType".equals(fieldName)) { + deserializedSecurityPerimeterSystemData.createdByType + = CreatedByType.fromString(reader.getString()); + } else if ("createdAt".equals(fieldName)) { + deserializedSecurityPerimeterSystemData.createdAt = reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else if ("lastModifiedBy".equals(fieldName)) { + deserializedSecurityPerimeterSystemData.lastModifiedBy = reader.getString(); + } else if ("lastModifiedByType".equals(fieldName)) { + deserializedSecurityPerimeterSystemData.lastModifiedByType + = CreatedByType.fromString(reader.getString()); + } else if ("lastModifiedAt".equals(fieldName)) { + deserializedSecurityPerimeterSystemData.lastModifiedAt = reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else { + reader.skipChildren(); + } + } + + return deserializedSecurityPerimeterSystemData; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java new file mode 100644 index 000000000000..88b17b8a8d59 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java @@ -0,0 +1,141 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.models; + +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + */ +@Immutable +public class SecurityPerimeterTrackedResource extends SecurityPerimeterResource { + /* + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + private SecurityPerimeterSystemData systemData; + + /* + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + private String type; + + /* + * The name of the resource + */ + private String name; + + /* + * Fully qualified resource ID for the resource. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + private String id; + + /** + * Creates an instance of SecurityPerimeterTrackedResource class. + */ + public SecurityPerimeterTrackedResource() { + } + + /** + * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @return the systemData value. + */ + @Override + public SecurityPerimeterSystemData systemData() { + return this.systemData; + } + + /** + * Get the type property: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts". + * + * @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. E.g. + * "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". + * + * @return the id value. + */ + @Override + public String id() { + return this.id; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + @Override + public void validate() { + if (systemData() != null) { + systemData().validate(); + } + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of SecurityPerimeterTrackedResource from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of SecurityPerimeterTrackedResource 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 SecurityPerimeterTrackedResource. + */ + public static SecurityPerimeterTrackedResource fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + SecurityPerimeterTrackedResource deserializedSecurityPerimeterTrackedResource + = new SecurityPerimeterTrackedResource(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedSecurityPerimeterTrackedResource.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedSecurityPerimeterTrackedResource.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedSecurityPerimeterTrackedResource.type = reader.getString(); + } else if ("systemData".equals(fieldName)) { + deserializedSecurityPerimeterTrackedResource.systemData + = SecurityPerimeterSystemData.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedSecurityPerimeterTrackedResource; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index a5ece5187d8b..a63bc504c4cb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIPPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJWTValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLOAResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IPPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIPConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIPConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIPPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIPConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWANInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIPPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BaseProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BaseProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json index 8afa0e060913..0070dabcac2e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json @@ -1 +1 @@ -[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.CheckDnsNameAvailabilitiesClientImpl$CheckDnsNameAvailabilitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIPPrefixesClientImpl$CustomIPPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.EffectiveConfigurationsClientImpl$EffectiveConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsClientImpl$ExpressRouteProviderPortsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIPConfigurationsClientImpl$LoadBalancerFrontendIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIPConfigurationsClientImpl$NetworkInterfaceIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.P2sVpnGatewaysOperationsClientImpl$P2sVpnGatewaysOperationsService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIPAddressesOperationsClientImpl$PublicIPAddressesOperationsService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2sClientImpl$VirtualHubRouteTableV2sService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file +[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.CheckDnsNameAvailabilitiesClientImpl$CheckDnsNameAvailabilitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIpPrefixesClientImpl$CustomIpPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.EffectiveConfigurationsClientImpl$EffectiveConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsClientImpl$ExpressRouteProviderPortsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIPConfigurationsClientImpl$LoadBalancerFrontendIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIpConfigurationsClientImpl$NetworkInterfaceIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesOperationsClientImpl$NetworkInterfacesOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.P2sVpnGatewaysOperationsClientImpl$P2sVpnGatewaysOperationsService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIPAddressesOperationsClientImpl$PublicIPAddressesOperationsService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2sClientImpl$VirtualHubRouteTableV2sService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesCreateOrUpdateSamples.java index 9bae6a1f9642..8147f3e9c8ab 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesCreateOrUpdateSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesCreateOrUpdateSamples.java @@ -7,9 +7,9 @@ import com.azure.resourcemanager.network.fluent.models.CustomIpPrefixInner; /** - * Samples for CustomIPPrefixes CreateOrUpdate. + * Samples for CustomIpPrefixes CreateOrUpdate. */ -public final class CustomIPPrefixesCreateOrUpdateSamples { +public final class CustomIpPrefixesCreateOrUpdateSamples { /* * x-ms-original-file: 2025-05-01/CustomIpPrefixCreateCustomizedValues.json */ @@ -20,7 +20,7 @@ public final class CustomIPPrefixesCreateOrUpdateSamples { */ public static void createCustomIPPrefixAllocationMethod(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getCustomIPPrefixes() + .getCustomIpPrefixes() .createOrUpdate("rg1", "test-customipprefix", new CustomIpPrefixInner().withLocation("westus").withCidr("0.0.0.0/24"), com.azure.core.util.Context.NONE); diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesDeleteSamples.java index df8fa331dea1..1668f3ac2493 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesDeleteSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesDeleteSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for CustomIPPrefixes Delete. + * Samples for CustomIpPrefixes Delete. */ -public final class CustomIPPrefixesDeleteSamples { +public final class CustomIpPrefixesDeleteSamples { /* * x-ms-original-file: 2025-05-01/CustomIpPrefixDelete.json */ @@ -18,7 +18,7 @@ public final class CustomIPPrefixesDeleteSamples { */ public static void deleteCustomIPPrefix(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getCustomIPPrefixes() + .getCustomIpPrefixes() .delete("rg1", "test-customipprefix", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesGetByResourceGroupSamples.java index bd76c99e4f6c..fead3cc31a2e 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesGetByResourceGroupSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesGetByResourceGroupSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for CustomIPPrefixes GetByResourceGroup. + * Samples for CustomIpPrefixes GetByResourceGroup. */ -public final class CustomIPPrefixesGetByResourceGroupSamples { +public final class CustomIpPrefixesGetByResourceGroupSamples { /* * x-ms-original-file: 2025-05-01/CustomIpPrefixGet.json */ @@ -18,7 +18,7 @@ public final class CustomIPPrefixesGetByResourceGroupSamples { */ public static void getCustomIPPrefix(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getCustomIPPrefixes() + .getCustomIpPrefixes() .getByResourceGroupWithResponse("rg1", "test-customipprefix", null, com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListByResourceGroupSamples.java index a95d8e37b06c..70d22eede8ac 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListByResourceGroupSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListByResourceGroupSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for CustomIPPrefixes ListByResourceGroup. + * Samples for CustomIpPrefixes ListByResourceGroup. */ -public final class CustomIPPrefixesListByResourceGroupSamples { +public final class CustomIpPrefixesListByResourceGroupSamples { /* * x-ms-original-file: 2025-05-01/CustomIpPrefixList.json */ @@ -17,6 +17,6 @@ public final class CustomIPPrefixesListByResourceGroupSamples { * @param manager Entry point to NetworkManager. */ public static void listResourceGroupCustomIPPrefixes(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient().getCustomIPPrefixes().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + manager.serviceClient().getCustomIpPrefixes().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListSamples.java index f7b7db469d61..8a6a7b9004cf 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for CustomIPPrefixes List. + * Samples for CustomIpPrefixes List. */ -public final class CustomIPPrefixesListSamples { +public final class CustomIpPrefixesListSamples { /* * x-ms-original-file: 2025-05-01/CustomIpPrefixListAll.json */ @@ -17,6 +17,6 @@ public final class CustomIPPrefixesListSamples { * @param manager Entry point to NetworkManager. */ public static void listAllCustomIPPrefixes(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient().getCustomIPPrefixes().list(com.azure.core.util.Context.NONE); + manager.serviceClient().getCustomIpPrefixes().list(com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesUpdateTagsSamples.java index f022ed0ff6a8..174cb30ca714 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesUpdateTagsSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesUpdateTagsSamples.java @@ -9,9 +9,9 @@ import java.util.Map; /** - * Samples for CustomIPPrefixes UpdateTags. + * Samples for CustomIpPrefixes UpdateTags. */ -public final class CustomIPPrefixesUpdateTagsSamples { +public final class CustomIpPrefixesUpdateTagsSamples { /* * x-ms-original-file: 2025-05-01/CustomIpPrefixUpdateTags.json */ @@ -22,7 +22,7 @@ public final class CustomIPPrefixesUpdateTagsSamples { */ public static void updatePublicIPAddressTags(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getCustomIPPrefixes() + .getCustomIpPrefixes() .updateTagsWithResponse("rg1", "test-customipprefix", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsGetSamples.java index ec02b81597ca..c16d072c8ba7 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsGetSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsGetSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for NetworkInterfaceIPConfigurations Get. + * Samples for NetworkInterfaceIpConfigurations Get. */ -public final class NetworkInterfaceIPConfigurationsGetSamples { +public final class NetworkInterfaceIpConfigurationsGetSamples { /* * x-ms-original-file: 2025-05-01/NetworkInterfaceIPConfigurationGet.json */ @@ -18,7 +18,7 @@ public final class NetworkInterfaceIPConfigurationsGetSamples { */ public static void networkInterfaceIPConfigurationGet(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getNetworkInterfaceIPConfigurations() + .getNetworkInterfaceIpConfigurations() .getWithResponse("testrg", "mynic", "ipconfig1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsListSamples.java index d9d3e117d4c8..0d9c90ec8b45 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsListSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for NetworkInterfaceIPConfigurations List. + * Samples for NetworkInterfaceIpConfigurations List. */ -public final class NetworkInterfaceIPConfigurationsListSamples { +public final class NetworkInterfaceIpConfigurationsListSamples { /* * x-ms-original-file: 2025-05-01/NetworkInterfaceIPConfigurationList.json */ @@ -18,7 +18,7 @@ public final class NetworkInterfaceIPConfigurationsListSamples { */ public static void networkInterfaceIPConfigurationList(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getNetworkInterfaceIPConfigurations() + .getNetworkInterfaceIpConfigurations() .list("testrg", "nic1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java index ac53940b5424..6cf1f02a0c74 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java @@ -21,7 +21,7 @@ public final class NetworkSecurityPerimetersCreateOrUpdateSamples { public static void putNetworkSecurityPerimeter(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getNetworkSecurityPerimeters() - .createOrUpdateWithResponse("rg1", "nsp1", new NetworkSecurityPerimeterInner().withLocation("location1"), + .createOrUpdateWithResponse("rg1", "nsp1", new NetworkSecurityPerimeterInner(), com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java index 259431c50451..bb267fc2f8fc 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java @@ -25,9 +25,8 @@ public final class ServiceGatewaysCreateOrUpdateSamples { public static void createServiceGateway(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getServiceGateways() - .createOrUpdate("rg1", "sg", new ServiceGatewayInner().withLocation("eastus") - .withVirtualNetwork(new VirtualNetworkInner().withId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet")) + .createOrUpdate("rg1", "sg", new ServiceGatewayInner().withVirtualNetwork(new VirtualNetworkInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet")) .withRouteTargetAddress(new RouteTargetAddressPropertiesFormatInner() .withSubnet(new SubnetInner().withId( "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet")) diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansCreateOrUpdateSamples.java index 5614fc3a34a1..20d64fbd8232 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansCreateOrUpdateSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansCreateOrUpdateSamples.java @@ -4,7 +4,7 @@ package com.azure.resourcemanager.network.generated; -import com.azure.resourcemanager.network.fluent.models.VirtualWANInner; +import com.azure.resourcemanager.network.fluent.models.VirtualWanInner; import java.util.HashMap; import java.util.Map; @@ -24,7 +24,7 @@ public static void virtualWANCreate(com.azure.resourcemanager.network.NetworkMan manager.serviceClient() .getVirtualWans() .createOrUpdate("rg1", "wan1", - new VirtualWANInner().withLocation("West US") + new VirtualWanInner().withLocation("West US") .withTags(mapOf("key1", "fakeTokenPlaceholder")) .withDisableVpnEncryption(false) .withTypePropertiesType("Basic"), From 071e27a26058b8f1e2a04f86bb942e85718c94eb Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Wed, 25 Mar 2026 10:50:24 +0800 Subject: [PATCH 17/33] Regenerate with privateIpAddress fix and oldSuperType suppressions Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/lintingconfigs/revapi/track2/revapi.json | 8 + .../CHANGELOG.md | 209 +++++++++--------- ...orkApplianceIpConfigurationProperties.java | 14 +- .../NetworkGroupsCreateOrUpdateHeaders.java | 12 +- ...irtualNetworkApplianceIpConfiguration.java | 8 +- 5 files changed, 126 insertions(+), 125 deletions(-) diff --git a/eng/lintingconfigs/revapi/track2/revapi.json b/eng/lintingconfigs/revapi/track2/revapi.json index c943caf391c6..a778e2659011 100644 --- a/eng/lintingconfigs/revapi/track2/revapi.json +++ b/eng/lintingconfigs/revapi/track2/revapi.json @@ -1306,6 +1306,14 @@ "match": "class com\\.azure\\.resourcemanager\\.network\\.models\\.(CreatedByType|ErrorAdditionalInfo|ErrorDetail|TrackedResource|SecurityPerimeterProxyResource|SecurityPerimeterResource|SecurityPerimeterSystemData)" }, "justification": "Common types now sourced from azure-core or ARM common types." + }, + { + "code": "java.missing.oldSuperType", + "old" : { + "matcher": "regex", + "match": "class com\\.azure\\.resourcemanager\\.network\\.models\\.(AdminRule|ChildResource|CommonProxyResource|CommonResource|CommonTrackedResource|DefaultAdminRule|SecurityPerimeterProxyResource|SecurityPerimeterResource)" + }, + "justification": "Base class ProxyResource not in old API archive. Revapi analysis artifact." }] } } diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index af4be77150e2..691bb345f02e 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -305,75 +305,74 @@ #### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access -* `withStateOrPrefixesReceived(java.lang.String)` was removed +* `withAsn(java.lang.Integer)` was removed * `withNeighbor(java.lang.String)` was removed +* `withStateOrPrefixesReceived(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed -* `withAsn(java.lang.Integer)` was removed #### `models.UsageName` was modified * `UsageName()` was changed to private access -* `withValue(java.lang.String)` was removed * `withLocalizedValue(java.lang.String)` was removed +* `withValue(java.lang.String)` was removed #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access * `withEffectiveSecurityRules(java.util.List)` was removed +* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed * `withSubnetAssociation(models.SubnetAssociation)` was removed * `withDefaultSecurityRules(java.util.List)` was removed -* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed #### `models.ResourceBasics` was modified * `ResourceBasics()` was changed to private access -* `withAddressPrefixes(java.util.List)` was removed * `withResourceId(java.lang.String)` was removed +* `withAddressPrefixes(java.util.List)` was removed #### `models.MatchedRule` was modified * `MatchedRule()` was changed to private access -* `withRuleName(java.lang.String)` was removed * `withAction(java.lang.String)` was removed +* `withRuleName(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallRule` was modified * `ApplicationGatewayFirewallRule()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withRuleIdString(java.lang.String)` was removed * `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed +* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed +* `withDescription(java.lang.String)` was removed * `withRuleId(int)` was removed * `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed -* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed +* `withRuleIdString(java.lang.String)` was removed #### `models.VpnGatewayIpConfiguration` was modified * `VpnGatewayIpConfiguration()` was changed to private access -* `withPublicIpAddress(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withPrivateIpAddress(java.lang.String)` was removed +* `withPublicIpAddress(java.lang.String)` was removed #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access -* `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed -* `withNextHopIpAddress(java.util.List)` was removed -* `withNextHopType(models.RouteNextHopType)` was removed * `withState(models.EffectiveRouteState)` was removed +* `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed +* `withNextHopType(models.RouteNextHopType)` was removed * `withSource(models.EffectiveRouteSource)` was removed * `withAddressPrefix(java.util.List)` was removed +* `withNextHopIpAddress(java.util.List)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `withPrivateIpAddressVersion(models.IpVersion)` was removed * `withPrivateIpAddress(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withPrimary(java.lang.Boolean)` was removed -* `privateIpAddress()` was removed * `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed +* `withPrimary(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed +* `withPrivateIpAddressVersion(models.IpVersion)` was removed +* `withId(java.lang.String)` was removed #### `models.TunnelConnectionHealth` was modified @@ -386,23 +385,23 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withSources(java.util.List)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withSourcePortRanges(java.util.List)` was removed * `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withDestinations(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `withId(java.lang.String)` was removed +* `withDestinationPortRanges(java.util.List)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed +* `withId(java.lang.String)` was removed * `withRegion(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withDestinations(java.util.List)` was removed * `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withDescription(java.lang.String)` was removed * `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed #### `models.ContainerNetworkInterfaceIpConfiguration` was modified @@ -423,9 +422,9 @@ #### `models.TopologyAssociation` was modified * `TopologyAssociation()` was changed to private access +* `withAssociationType(models.AssociationType)` was removed * `withName(java.lang.String)` was removed * `withResourceId(java.lang.String)` was removed -* `withAssociationType(models.AssociationType)` was removed #### `models.SecurityGroupNetworkInterface` was modified @@ -436,13 +435,13 @@ #### `models.EffectiveDefaultSecurityAdminRule` was modified * `EffectiveDefaultSecurityAdminRule()` was changed to private access -* `withId(java.lang.String)` was removed +* `withFlag(java.lang.String)` was removed * `withConfigurationDescription(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withFlag(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withRuleGroups(java.util.List)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.Container` was modified @@ -452,57 +451,57 @@ #### `models.ServiceAssociationLink` was modified * `ServiceAssociationLink()` was changed to private access -* `withAllowDelete(java.lang.Boolean)` was removed +* `withLink(java.lang.String)` was removed * `withLinkedResourceType(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed * `withId(java.lang.String)` was removed -* `withLink(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed +* `withAllowDelete(java.lang.Boolean)` was removed #### `models.TroubleshootingRecommendedActions` was modified * `TroubleshootingRecommendedActions()` was changed to private access -* `withActionUriText(java.lang.String)` was removed * `withActionUri(java.lang.String)` was removed * `withActionText(java.lang.String)` was removed * `withActionId(java.lang.String)` was removed +* `withActionUriText(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access +* `withCallToActionText(java.lang.String)` was removed * `withRecommendationId(java.lang.String)` was removed -* `withCallToActionLink(java.lang.String)` was removed +* `withSeverity(java.lang.String)` was removed * `withRecommendationText(java.lang.String)` was removed * `withRecommendationTitle(java.lang.String)` was removed -* `withSeverity(java.lang.String)` was removed -* `withCallToActionText(java.lang.String)` was removed +* `withCallToActionLink(java.lang.String)` was removed #### `models.ContainerNetworkInterface` was modified * `ContainerNetworkInterface()` was changed to private access -* `withContainer(models.Container)` was removed -* `withId(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withContainer(models.Container)` was removed #### `models.ExpressRouteFailoverRedundantRoute` was modified * `ExpressRouteFailoverRedundantRoute()` was changed to private access -* `withPeeringLocations(java.util.List)` was removed * `withRoutes(java.util.List)` was removed +* `withPeeringLocations(java.util.List)` was removed #### `models.AzureReachabilityReportLatencyInfo` was modified * `AzureReachabilityReportLatencyInfo()` was changed to private access -* `withScore(java.lang.Integer)` was removed * `withTimestamp(java.time.OffsetDateTime)` was removed +* `withScore(java.lang.Integer)` was removed #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access +* `withIpAddress(java.lang.String)` was removed +* `withReason(java.lang.String)` was removed * `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed * `withState(java.lang.String)` was removed -* `withReason(java.lang.String)` was removed -* `withIpAddress(java.lang.String)` was removed #### `models.ConnectivityHop` was modified @@ -520,36 +519,36 @@ #### `models.EffectiveNetworkSecurityRule` was modified * `EffectiveNetworkSecurityRule()` was changed to private access -* `withSourceAddressPrefixes(java.util.List)` was removed -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed * `withSourceAddressPrefix(java.lang.String)` was removed -* `withExpandedSourceAddressPrefix(java.util.List)` was removed -* `withSourcePortRange(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed * `withSourcePortRanges(java.util.List)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed * `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withSourceAddressPrefixes(java.util.List)` was removed +* `withSourcePortRange(java.lang.String)` was removed * `withDestinationAddressPrefix(java.lang.String)` was removed -* `withDestinationPortRange(java.lang.String)` was removed * `withDirection(models.SecurityRuleDirection)` was removed -* `withDestinationPortRanges(java.util.List)` was removed * `withAccess(models.SecurityRuleAccess)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withDestinationPortRange(java.lang.String)` was removed +* `withExpandedSourceAddressPrefix(java.util.List)` was removed * `withName(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access -* `withMatchedRule(models.MatchedRule)` was removed * `withAppliedTo(java.lang.String)` was removed * `withNetworkSecurityGroupId(java.lang.String)` was removed +* `withMatchedRule(models.MatchedRule)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access -* `withAssociations(java.util.List)` was removed -* `withId(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withAssociations(java.util.List)` was removed * `withLocation(java.lang.String)` was removed +* `withId(java.lang.String)` was removed #### `models.AzureFirewallIpGroups` was modified @@ -558,9 +557,9 @@ #### `models.EffectiveRouteMapRoute` was modified * `EffectiveRouteMapRoute()` was changed to private access +* `withAsPath(java.lang.String)` was removed * `withBgpCommunities(java.lang.String)` was removed * `withPrefix(java.lang.String)` was removed -* `withAsPath(java.lang.String)` was removed #### `models.CrossTenantScopes` was modified @@ -569,43 +568,43 @@ #### `models.AzureReachabilityReportItem` was modified * `AzureReachabilityReportItem()` was changed to private access +* `withProvider(java.lang.String)` was removed * `withAzureLocation(java.lang.String)` was removed * `withLatencies(java.util.List)` was removed -* `withProvider(java.lang.String)` was removed #### `models.TroubleshootingDetails` was modified * `TroubleshootingDetails()` was changed to private access -* `withId(java.lang.String)` was removed * `withDetail(java.lang.String)` was removed +* `withSummary(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withReasonType(java.lang.String)` was removed * `withRecommendedActions(java.util.List)` was removed -* `withSummary(java.lang.String)` was removed #### `models.SingleQueryResult` was modified * `SingleQueryResult()` was changed to private access +* `withProtocol(java.lang.String)` was removed * `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `withSignatureId(java.lang.Integer)` was removed +* `withGroup(java.lang.String)` was removed * `withInheritedFromParentPolicy(java.lang.Boolean)` was removed * `withLastUpdated(java.lang.String)` was removed -* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withSourcePorts(java.util.List)` was removed +* `withDestinationPorts(java.util.List)` was removed * `withDescription(java.lang.String)` was removed * `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed -* `withDestinationPorts(java.util.List)` was removed -* `withGroup(java.lang.String)` was removed -* `withProtocol(java.lang.String)` was removed -* `withSourcePorts(java.util.List)` was removed +* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withSignatureId(java.lang.Integer)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified * `NetworkSecurityRulesEvaluationResult()` was changed to private access -* `withProtocolMatched(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed -* `withSourcePortMatched(java.lang.Boolean)` was removed * `withDestinationPortMatched(java.lang.Boolean)` was removed * `withSourceMatched(java.lang.Boolean)` was removed * `withDestinationMatched(java.lang.Boolean)` was removed +* `withSourcePortMatched(java.lang.Boolean)` was removed +* `withProtocolMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -619,32 +618,32 @@ #### `models.ActiveBaseSecurityAdminRule` was modified +* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` * `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access -* `withId(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withSources(java.util.List)` was removed * `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed +* `withDestinations(java.util.List)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withRuleGroups(java.util.List)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withDescription(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withSourcePortRanges(java.util.List)` was removed * `withDestinationPortRanges(java.util.List)` was removed * `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withSources(java.util.List)` was removed -* `withDestinations(java.util.List)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.BgpPeerStatus` was modified @@ -653,27 +652,27 @@ #### `models.NatRulePortMapping` was modified * `NatRulePortMapping()` was changed to private access -* `withBackendPort(java.lang.Integer)` was removed * `withInboundNatRuleName(java.lang.String)` was removed * `withFrontendPort(java.lang.Integer)` was removed +* `withBackendPort(java.lang.Integer)` was removed #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access +* `withFillGapWithZero(java.lang.Boolean)` was removed * `withIsInternal(java.lang.Boolean)` was removed -* `withMetricFilterPattern(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed * `withAggregationType(java.lang.String)` was removed +* `withDimensions(java.util.List)` was removed +* `withUnit(java.lang.String)` was removed * `withResourceIdDimensionNameOverride(java.lang.String)` was removed -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed * `withAvailabilities(java.util.List)` was removed * `withDisplayDescription(java.lang.String)` was removed * `withSourceMdmAccount(java.lang.String)` was removed -* `withDimensions(java.util.List)` was removed -* `withDisplayName(java.lang.String)` was removed +* `withMetricFilterPattern(java.lang.String)` was removed * `withSourceMdmNamespace(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withUnit(java.lang.String)` was removed -* `withFillGapWithZero(java.lang.Boolean)` was removed +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed #### `models.DefaultAdminRule` was modified @@ -687,20 +686,20 @@ #### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified * `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access -* `withOfferName(java.lang.String)` was removed * `withValueInMbps(java.lang.Integer)` was removed +* `withOfferName(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallRuleGroup` was modified * `ApplicationGatewayFirewallRuleGroup()` was changed to private access +* `withDescription(java.lang.String)` was removed * `withRuleGroupName(java.lang.String)` was removed * `withRules(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed #### `models.IpamPoolProperties` was modified -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withProvisioningState(models.ProvisioningState)` was removed +* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.AvailableProvidersListState` was modified @@ -720,20 +719,20 @@ #### `models.ResourceNavigationLink` was modified * `ResourceNavigationLink()` was changed to private access -* `withId(java.lang.String)` was removed -* `withLink(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withLinkedResourceType(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed #### `models.BgpCommunity` was modified * `BgpCommunity()` was changed to private access -* `withServiceGroup(java.lang.String)` was removed -* `withCommunityPrefixes(java.util.List)` was removed -* `withCommunityValue(java.lang.String)` was removed * `withIsAuthorizedToUse(java.lang.Boolean)` was removed -* `withServiceSupportedRegion(java.lang.String)` was removed * `withCommunityName(java.lang.String)` was removed +* `withCommunityPrefixes(java.util.List)` was removed +* `withServiceSupportedRegion(java.lang.String)` was removed +* `withCommunityValue(java.lang.String)` was removed +* `withServiceGroup(java.lang.String)` was removed #### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified @@ -744,9 +743,9 @@ * `EffectiveNetworkSecurityGroup()` was changed to private access * `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed * `withEffectiveSecurityRules(java.util.List)` was removed -* `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed -* `java.lang.String tagMap()` -> `java.util.Map tagMap()` * `withTagMap(java.lang.String)` was removed +* `java.lang.String tagMap()` -> `java.util.Map tagMap()` +* `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed #### `models.ReferencedPublicIpAddress` was modified @@ -760,13 +759,12 @@ #### `models.GatewayRouteSet` was modified * `GatewayRouteSet()` was changed to private access +* `withLocations(java.util.List)` was removed * `withDetails(java.util.Map)` was removed * `withName(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified -* `etag()` was removed * `withEtag(java.lang.String)` was removed #### `models.VpnClientConnectionHealthDetail` was modified @@ -1175,10 +1173,6 @@ * `models.ResourceWithReadOnlyID` was added -#### `models.VirtualNetworkApplianceIpConfiguration` was modified - -* `privateIPAddress()` was added - #### `models.DdosDetectionRule` was modified * `id()` was added @@ -1190,7 +1184,6 @@ #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified * `retryAfter()` was added -* `eTag()` was added #### `models.ActiveConnectivityConfiguration` was modified diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java index acff43a1968b..60392e236957 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java @@ -23,7 +23,7 @@ public final class VirtualNetworkApplianceIpConfigurationProperties /* * The private IP address of the IP configuration. */ - private String privateIPAddress; + private String privateIpAddress; /* * The private IP address allocation method. @@ -52,12 +52,12 @@ private VirtualNetworkApplianceIpConfigurationProperties() { } /** - * Get the privateIPAddress property: The private IP address of the IP configuration. + * Get the privateIpAddress property: The private IP address of the IP configuration. * - * @return the privateIPAddress value. + * @return the privateIpAddress value. */ - public String privateIPAddress() { - return this.privateIPAddress; + public String privateIpAddress() { + return this.privateIpAddress; } /** @@ -110,7 +110,7 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("privateIPAddress", this.privateIPAddress); + jsonWriter.writeStringField("privateIPAddress", this.privateIpAddress); jsonWriter.writeStringField("privateIPAllocationMethod", this.privateIpAllocationMethod == null ? null : this.privateIpAllocationMethod.toString()); jsonWriter.writeBooleanField("primary", this.primary); @@ -136,7 +136,7 @@ public static VirtualNetworkApplianceIpConfigurationProperties fromJson(JsonRead reader.nextToken(); if ("privateIPAddress".equals(fieldName)) { - deserializedVirtualNetworkApplianceIpConfigurationProperties.privateIPAddress = reader.getString(); + deserializedVirtualNetworkApplianceIpConfigurationProperties.privateIpAddress = reader.getString(); } else if ("privateIPAllocationMethod".equals(fieldName)) { deserializedVirtualNetworkApplianceIpConfigurationProperties.privateIpAllocationMethod = IpAllocationMethod.fromString(reader.getString()); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java index 2210687ee828..de490c807a3d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java @@ -16,7 +16,7 @@ public final class NetworkGroupsCreateOrUpdateHeaders { /* * The ETag property. */ - private final String eTag; + private final String etag; /* * The Retry-After property. @@ -30,7 +30,7 @@ public final class NetworkGroupsCreateOrUpdateHeaders { * @param rawHeaders The raw HttpHeaders that will be used to create the property values. */ public NetworkGroupsCreateOrUpdateHeaders(HttpHeaders rawHeaders) { - this.eTag = rawHeaders.getValue(HttpHeaderName.ETAG); + this.etag = rawHeaders.getValue(HttpHeaderName.ETAG); String retryAfter = rawHeaders.getValue(HttpHeaderName.RETRY_AFTER); if (retryAfter != null) { this.retryAfter = Integer.parseInt(retryAfter); @@ -40,12 +40,12 @@ public NetworkGroupsCreateOrUpdateHeaders(HttpHeaders rawHeaders) { } /** - * Get the eTag property: The ETag property. + * Get the etag property: The ETag property. * - * @return the eTag value. + * @return the etag value. */ - public String eTag() { - return this.eTag; + public String etag() { + return this.etag; } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java index 4c1898105868..42fea7b0e81c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java @@ -80,12 +80,12 @@ public String type() { } /** - * Get the privateIPAddress property: The private IP address of the IP configuration. + * Get the privateIpAddress property: The private IP address of the IP configuration. * - * @return the privateIPAddress value. + * @return the privateIpAddress value. */ - public String privateIPAddress() { - return this.innerProperties() == null ? null : this.innerProperties().privateIPAddress(); + public String privateIpAddress() { + return this.innerProperties() == null ? null : this.innerProperties().privateIpAddress(); } /** From 7c2a2e53a639dfb5c40118120c2125ffb9b62e3e Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Wed, 25 Mar 2026 11:48:59 +0800 Subject: [PATCH 18/33] Regenerate with unified ProvisioningState Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../CHANGELOG.md | 338 ++++++++---------- .../fluent/models/AdminPropertiesFormat.java | 8 +- .../models/AdminRuleCollectionInner.java | 4 +- .../AdminRuleCollectionPropertiesFormat.java | 8 +- .../models/DefaultAdminPropertiesFormat.java | 8 +- .../SecurityAdminConfigurationInner.java | 4 +- ...ityAdminConfigurationPropertiesFormat.java | 8 +- .../fluent/models/ServiceGatewayInner.java | 4 +- .../ServiceGatewayPropertiesFormatInner.java | 8 +- .../ActiveDefaultSecurityAdminRule.java | 2 +- .../models/ActiveSecurityAdminRule.java | 2 +- .../network/models/AdminRule.java | 2 +- .../network/models/BaseProvisioningState.java | 71 ---- .../network/models/DefaultAdminRule.java | 2 +- .../EffectiveDefaultSecurityAdminRule.java | 2 +- .../models/EffectiveSecurityAdminRule.java | 2 +- .../network/models/IpamPoolProperties.java | 7 +- .../network/models/ProvisioningState.java | 20 +- .../ReachabilityAnalysisIntentProperties.java | 6 +- .../ReachabilityAnalysisRunProperties.java | 6 +- .../network/models/StaticCidrProperties.java | 6 +- .../models/VerifierWorkspaceProperties.java | 6 +- ...zure-resourcemanager-network_metadata.json | 2 +- 23 files changed, 220 insertions(+), 306 deletions(-) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/BaseProvisioningState.java diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index 691bb345f02e..4920205dfb70 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -306,29 +306,29 @@ * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access * `withAsn(java.lang.Integer)` was removed -* `withNeighbor(java.lang.String)` was removed * `withStateOrPrefixesReceived(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed +* `withNeighbor(java.lang.String)` was removed #### `models.UsageName` was modified * `UsageName()` was changed to private access -* `withLocalizedValue(java.lang.String)` was removed * `withValue(java.lang.String)` was removed +* `withLocalizedValue(java.lang.String)` was removed #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access -* `withEffectiveSecurityRules(java.util.List)` was removed -* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed * `withSubnetAssociation(models.SubnetAssociation)` was removed * `withDefaultSecurityRules(java.util.List)` was removed +* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed +* `withEffectiveSecurityRules(java.util.List)` was removed #### `models.ResourceBasics` was modified * `ResourceBasics()` was changed to private access -* `withResourceId(java.lang.String)` was removed * `withAddressPrefixes(java.util.List)` was removed +* `withResourceId(java.lang.String)` was removed #### `models.MatchedRule` was modified @@ -340,11 +340,11 @@ * `ApplicationGatewayFirewallRule()` was changed to private access * `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed +* `withRuleId(int)` was removed * `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed * `withDescription(java.lang.String)` was removed -* `withRuleId(int)` was removed -* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed * `withRuleIdString(java.lang.String)` was removed +* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed #### `models.VpnGatewayIpConfiguration` was modified @@ -356,23 +356,23 @@ #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access +* `withAddressPrefix(java.util.List)` was removed +* `withNextHopIpAddress(java.util.List)` was removed +* `withName(java.lang.String)` was removed +* `withSource(models.EffectiveRouteSource)` was removed * `withState(models.EffectiveRouteState)` was removed * `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed * `withNextHopType(models.RouteNextHopType)` was removed -* `withSource(models.EffectiveRouteSource)` was removed -* `withAddressPrefix(java.util.List)` was removed -* `withNextHopIpAddress(java.util.List)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `withPrivateIpAddress(java.lang.String)` was removed * `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed -* `withPrimary(java.lang.Boolean)` was removed +* `withId(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withPrimary(java.lang.Boolean)` was removed * `withPrivateIpAddressVersion(models.IpVersion)` was removed -* `withId(java.lang.String)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed #### `models.TunnelConnectionHealth` was modified @@ -385,23 +385,22 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withSources(java.util.List)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed * `withDestinationPortRanges(java.util.List)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withRegion(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed * `withDestinations(java.util.List)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withDescription(java.lang.String)` was removed +* `withSources(java.util.List)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withRegion(java.lang.String)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withSourcePortRanges(java.util.List)` was removed * `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withDescription(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withPriority(java.lang.Integer)` was removed #### `models.ContainerNetworkInterfaceIpConfiguration` was modified @@ -435,13 +434,12 @@ #### `models.EffectiveDefaultSecurityAdminRule` was modified * `EffectiveDefaultSecurityAdminRule()` was changed to private access -* `withFlag(java.lang.String)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withRuleGroups(java.util.List)` was removed +* `withFlag(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed #### `models.Container` was modified @@ -451,29 +449,29 @@ #### `models.ServiceAssociationLink` was modified * `ServiceAssociationLink()` was changed to private access +* `withId(java.lang.String)` was removed * `withLink(java.lang.String)` was removed +* `withAllowDelete(java.lang.Boolean)` was removed * `withLinkedResourceType(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withLocations(java.util.List)` was removed -* `withAllowDelete(java.lang.Boolean)` was removed +* `withName(java.lang.String)` was removed #### `models.TroubleshootingRecommendedActions` was modified * `TroubleshootingRecommendedActions()` was changed to private access -* `withActionUri(java.lang.String)` was removed +* `withActionUriText(java.lang.String)` was removed * `withActionText(java.lang.String)` was removed +* `withActionUri(java.lang.String)` was removed * `withActionId(java.lang.String)` was removed -* `withActionUriText(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access -* `withCallToActionText(java.lang.String)` was removed * `withRecommendationId(java.lang.String)` was removed -* `withSeverity(java.lang.String)` was removed * `withRecommendationText(java.lang.String)` was removed +* `withSeverity(java.lang.String)` was removed * `withRecommendationTitle(java.lang.String)` was removed +* `withCallToActionText(java.lang.String)` was removed * `withCallToActionLink(java.lang.String)` was removed #### `models.ContainerNetworkInterface` was modified @@ -498,10 +496,10 @@ #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access -* `withIpAddress(java.lang.String)` was removed -* `withReason(java.lang.String)` was removed * `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed * `withState(java.lang.String)` was removed +* `withReason(java.lang.String)` was removed +* `withIpAddress(java.lang.String)` was removed #### `models.ConnectivityHop` was modified @@ -509,7 +507,6 @@ #### `models.ReachabilityAnalysisRunProperties` was modified -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withProvisioningState(models.ProvisioningState)` was removed #### `models.NetworkVirtualApplianceSkuInstances` was modified @@ -519,36 +516,36 @@ #### `models.EffectiveNetworkSecurityRule` was modified * `EffectiveNetworkSecurityRule()` was changed to private access -* `withSourceAddressPrefix(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withName(java.lang.String)` was removed * `withSourceAddressPrefixes(java.util.List)` was removed +* `withSourceAddressPrefix(java.lang.String)` was removed * `withSourcePortRange(java.lang.String)` was removed * `withDestinationAddressPrefix(java.lang.String)` was removed -* `withDirection(models.SecurityRuleDirection)` was removed -* `withAccess(models.SecurityRuleAccess)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed -* `withDestinationPortRanges(java.util.List)` was removed * `withDestinationPortRange(java.lang.String)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed +* `withAccess(models.SecurityRuleAccess)` was removed * `withExpandedSourceAddressPrefix(java.util.List)` was removed -* `withName(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withDirection(models.SecurityRuleDirection)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access -* `withAppliedTo(java.lang.String)` was removed * `withNetworkSecurityGroupId(java.lang.String)` was removed +* `withAppliedTo(java.lang.String)` was removed * `withMatchedRule(models.MatchedRule)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access * `withName(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withAssociations(java.util.List)` was removed * `withLocation(java.lang.String)` was removed -* `withId(java.lang.String)` was removed #### `models.AzureFirewallIpGroups` was modified @@ -568,43 +565,43 @@ #### `models.AzureReachabilityReportItem` was modified * `AzureReachabilityReportItem()` was changed to private access +* `withLatencies(java.util.List)` was removed * `withProvider(java.lang.String)` was removed * `withAzureLocation(java.lang.String)` was removed -* `withLatencies(java.util.List)` was removed #### `models.TroubleshootingDetails` was modified * `TroubleshootingDetails()` was changed to private access -* `withDetail(java.lang.String)` was removed * `withSummary(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withReasonType(java.lang.String)` was removed +* `withDetail(java.lang.String)` was removed * `withRecommendedActions(java.util.List)` was removed +* `withReasonType(java.lang.String)` was removed +* `withId(java.lang.String)` was removed #### `models.SingleQueryResult` was modified * `SingleQueryResult()` was changed to private access -* `withProtocol(java.lang.String)` was removed -* `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `withGroup(java.lang.String)` was removed * `withInheritedFromParentPolicy(java.lang.Boolean)` was removed * `withLastUpdated(java.lang.String)` was removed -* `withSourcePorts(java.util.List)` was removed -* `withDestinationPorts(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed * `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed -* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withSourcePorts(java.util.List)` was removed * `withSignatureId(java.lang.Integer)` was removed +* `withProtocol(java.lang.String)` was removed +* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withGroup(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed +* `withDestinationPorts(java.util.List)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified * `NetworkSecurityRulesEvaluationResult()` was changed to private access +* `withSourcePortMatched(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed -* `withDestinationPortMatched(java.lang.Boolean)` was removed +* `withProtocolMatched(java.lang.Boolean)` was removed * `withSourceMatched(java.lang.Boolean)` was removed +* `withDestinationPortMatched(java.lang.Boolean)` was removed * `withDestinationMatched(java.lang.Boolean)` was removed -* `withSourcePortMatched(java.lang.Boolean)` was removed -* `withProtocolMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -613,37 +610,35 @@ #### `models.ReachabilityAnalysisIntentProperties` was modified -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withProvisioningState(models.ProvisioningState)` was removed #### `models.ActiveBaseSecurityAdminRule` was modified -* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access -* `withSources(java.util.List)` was removed * `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed -* `withDestinations(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withRuleGroups(java.util.List)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withDescription(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed * `withConfigurationDescription(java.lang.String)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withSources(java.util.List)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withDestinations(java.util.List)` was removed * `withId(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed * `withSourcePortRanges(java.util.List)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed #### `models.BgpPeerStatus` was modified @@ -652,31 +647,27 @@ #### `models.NatRulePortMapping` was modified * `NatRulePortMapping()` was changed to private access +* `withBackendPort(java.lang.Integer)` was removed * `withInboundNatRuleName(java.lang.String)` was removed * `withFrontendPort(java.lang.Integer)` was removed -* `withBackendPort(java.lang.Integer)` was removed #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access -* `withFillGapWithZero(java.lang.Boolean)` was removed -* `withIsInternal(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed -* `withAggregationType(java.lang.String)` was removed -* `withDimensions(java.util.List)` was removed -* `withUnit(java.lang.String)` was removed * `withResourceIdDimensionNameOverride(java.lang.String)` was removed -* `withAvailabilities(java.util.List)` was removed -* `withDisplayDescription(java.lang.String)` was removed -* `withSourceMdmAccount(java.lang.String)` was removed +* `withUnit(java.lang.String)` was removed +* `withAggregationType(java.lang.String)` was removed +* `withIsInternal(java.lang.Boolean)` was removed * `withMetricFilterPattern(java.lang.String)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed +* `withSourceMdmAccount(java.lang.String)` was removed +* `withDisplayDescription(java.lang.String)` was removed +* `withDimensions(java.util.List)` was removed +* `withFillGapWithZero(java.lang.Boolean)` was removed * `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed - -#### `models.DefaultAdminRule` was modified - -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withSourceMdmNamespace(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed +* `withAvailabilities(java.util.List)` was removed +* `withName(java.lang.String)` was removed #### `models.ApplicationGatewayForContainersReferenceDefinition` was modified @@ -692,25 +683,20 @@ #### `models.ApplicationGatewayFirewallRuleGroup` was modified * `ApplicationGatewayFirewallRuleGroup()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withRuleGroupName(java.lang.String)` was removed * `withRules(java.util.List)` was removed +* `withRuleGroupName(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed #### `models.IpamPoolProperties` was modified * `withProvisioningState(models.ProvisioningState)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` #### `models.AvailableProvidersListState` was modified * `AvailableProvidersListState()` was changed to private access -* `withStateName(java.lang.String)` was removed * `withProviders(java.util.List)` was removed * `withCities(java.util.List)` was removed - -#### `models.AdminRule` was modified - -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` +* `withStateName(java.lang.String)` was removed #### `models.HopLink` was modified @@ -719,20 +705,20 @@ #### `models.ResourceNavigationLink` was modified * `ResourceNavigationLink()` was changed to private access -* `withName(java.lang.String)` was removed -* `withId(java.lang.String)` was removed * `withLinkedResourceType(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withLink(java.lang.String)` was removed +* `withId(java.lang.String)` was removed #### `models.BgpCommunity` was modified * `BgpCommunity()` was changed to private access * `withIsAuthorizedToUse(java.lang.Boolean)` was removed +* `withCommunityValue(java.lang.String)` was removed +* `withServiceGroup(java.lang.String)` was removed * `withCommunityName(java.lang.String)` was removed * `withCommunityPrefixes(java.util.List)` was removed * `withServiceSupportedRegion(java.lang.String)` was removed -* `withCommunityValue(java.lang.String)` was removed -* `withServiceGroup(java.lang.String)` was removed #### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified @@ -741,11 +727,11 @@ #### `models.EffectiveNetworkSecurityGroup` was modified * `EffectiveNetworkSecurityGroup()` was changed to private access -* `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed * `withEffectiveSecurityRules(java.util.List)` was removed +* `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed * `withTagMap(java.lang.String)` was removed -* `java.lang.String tagMap()` -> `java.util.Map tagMap()` * `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed +* `java.lang.String tagMap()` -> `java.util.Map tagMap()` #### `models.ReferencedPublicIpAddress` was modified @@ -759,9 +745,9 @@ #### `models.GatewayRouteSet` was modified * `GatewayRouteSet()` was changed to private access -* `withLocations(java.util.List)` was removed * `withDetails(java.util.Map)` was removed * `withName(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified @@ -778,41 +764,41 @@ #### `models.ExpressRouteCircuitArpTable` was modified * `ExpressRouteCircuitArpTable()` was changed to private access -* `withAge(java.lang.Integer)` was removed -* `withInterfaceProperty(java.lang.String)` was removed * `withIpAddress(java.lang.String)` was removed +* `withInterfaceProperty(java.lang.String)` was removed +* `withAge(java.lang.Integer)` was removed * `withMacAddress(java.lang.String)` was removed #### `models.ActiveConnectivityConfiguration` was modified * `ActiveConnectivityConfiguration()` was changed to private access -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withAppliesToGroups(java.util.List)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed * `withConfigurationGroups(java.util.List)` was removed +* `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withId(java.lang.String)` was removed -* `withHubs(java.util.List)` was removed +* `withIsGlobal(models.IsGlobal)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed * `withRegion(java.lang.String)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withAppliesToGroups(java.util.List)` was removed +* `withHubs(java.util.List)` was removed * `withDescription(java.lang.String)` was removed -* `withIsGlobal(models.IsGlobal)` was removed #### `models.RouteSourceDetails` was modified * `RouteSourceDetails()` was changed to private access * `withPri(java.lang.String)` was removed -* `withCircuit(java.lang.String)` was removed * `withSec(java.lang.String)` was removed +* `withCircuit(java.lang.String)` was removed #### `models.RecordSet` was modified * `RecordSet()` was changed to private access * `withIpAddresses(java.util.List)` was removed -* `withRecordType(java.lang.String)` was removed * `withFqdn(java.lang.String)` was removed -* `withRecordSetName(java.lang.String)` was removed * `withTtl(java.lang.Integer)` was removed +* `withRecordSetName(java.lang.String)` was removed +* `withRecordType(java.lang.String)` was removed #### `models.ApplicationGatewayBackendHealthPool` was modified @@ -823,15 +809,15 @@ #### `models.AvailableProvidersListCity` was modified * `AvailableProvidersListCity()` was changed to private access -* `withProviders(java.util.List)` was removed * `withCityName(java.lang.String)` was removed +* `withProviders(java.util.List)` was removed #### `models.ExpressRouteFailoverCircuitResourceDetails` was modified * `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access * `withConnectionName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withNrpResourceUri(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.ConnectivityIssue` was modified @@ -840,103 +826,97 @@ #### `models.Availability` was modified * `Availability()` was changed to private access -* `withRetention(java.lang.String)` was removed * `withBlobDuration(java.lang.String)` was removed * `withTimeGrain(java.lang.String)` was removed +* `withRetention(java.lang.String)` was removed #### `models.VerifierWorkspaceProperties` was modified -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withProvisioningState(models.ProvisioningState)` was removed #### `models.OperationDisplay` was modified * `OperationDisplay()` was changed to private access -* `withResource(java.lang.String)` was removed * `withOperation(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed * `withProvider(java.lang.String)` was removed +* `withResource(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed #### `models.OperationPropertiesFormatServiceSpecification` was modified * `OperationPropertiesFormatServiceSpecification()` was changed to private access -* `withLogSpecifications(java.util.List)` was removed * `withMetricSpecifications(java.util.List)` was removed +* `withLogSpecifications(java.util.List)` was removed #### `models.AvailableProvidersListCountry` was modified * `AvailableProvidersListCountry()` was changed to private access -* `withStates(java.util.List)` was removed * `withProviders(java.util.List)` was removed +* `withStates(java.util.List)` was removed * `withCountryName(java.lang.String)` was removed #### `models.VirtualNetworkUsageName` was modified * `VirtualNetworkUsageName()` was changed to private access -#### `models.ProvisioningState` was modified - -* `CANCELED` was removed -* `CREATING` was removed - #### `models.ApplicationGatewayFirewallRuleSet` was modified * `ApplicationGatewayFirewallRuleSet()` was changed to private access -* `withId(java.lang.String)` was removed -* `withRuleSetType(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed * `withLocation(java.lang.String)` was removed * `withTags(java.util.Map)` was removed * `withRuleGroups(java.util.List)` was removed +* `withRuleSetType(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withRuleSetVersion(java.lang.String)` was removed -* `withTiers(java.util.List)` was removed #### `models.ApplicationGatewayFirewallManifestRuleSet` was modified * `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access +* `withRuleSetVersion(java.lang.String)` was removed * `withTiers(java.util.List)` was removed -* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed * `withRuleSetType(java.lang.String)` was removed -* `withRuleSetVersion(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed +* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed #### `models.NetworkManagerDeploymentStatus` was modified * `NetworkManagerDeploymentStatus()` was changed to private access -* `withRegion(java.lang.String)` was removed -* `withDeploymentStatus(models.DeploymentStatus)` was removed -* `withDeploymentType(models.ConfigurationType)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed -* `withConfigurationIds(java.util.List)` was removed +* `withDeploymentType(models.ConfigurationType)` was removed +* `withDeploymentStatus(models.DeploymentStatus)` was removed +* `withRegion(java.lang.String)` was removed * `withErrorMessage(java.lang.String)` was removed +* `withConfigurationIds(java.util.List)` was removed #### `models.CircuitMetadataMap` was modified * `CircuitMetadataMap()` was changed to private access -* `withLocation(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withLink(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTableSummary` was modified * `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withV(java.lang.Integer)` was removed -* `withNeighbor(java.lang.String)` was removed * `withStatePfxRcd(java.lang.String)` was removed -* `withUpDown(java.lang.String)` was removed * `withAs(java.lang.Integer)` was removed +* `withNeighbor(java.lang.String)` was removed +* `withV(java.lang.Integer)` was removed +* `withUpDown(java.lang.String)` was removed #### `models.ManagedRuleSetRuleGroup` was modified * `ManagedRuleSetRuleGroup()` was changed to private access -* `withRules(java.util.List)` was removed * `withRuleGroupName(java.lang.String)` was removed +* `withRules(java.util.List)` was removed #### `models.Dimension` was modified * `Dimension()` was changed to private access -* `withDisplayName(java.lang.String)` was removed -* `withInternalName(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withInternalName(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed #### `models.NetworkSecurityGroupResult` was modified @@ -946,25 +926,25 @@ #### `models.ResiliencyRecommendationComponents` was modified * `ResiliencyRecommendationComponents()` was changed to private access -* `withCurrentScore(java.lang.String)` was removed -* `withMaxScore(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withCurrentScore(java.lang.String)` was removed * `withRecommendations(java.util.List)` was removed +* `withMaxScore(java.lang.String)` was removed #### `models.EffectiveBaseSecurityAdminRule` was modified +* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` #### `models.LogSpecification` was modified * `LogSpecification()` was changed to private access -* `withName(java.lang.String)` was removed * `withBlobDuration(java.lang.String)` was removed * `withDisplayName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.InboundNatRulePortMapping` was modified @@ -972,15 +952,15 @@ #### `models.EffectiveConnectivityConfiguration` was modified -* `withDescription(java.lang.String)` was removed -* `withHubs(java.util.List)` was removed -* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -* `withIsGlobal(models.IsGlobal)` was removed * `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` * `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withHubs(java.util.List)` was removed * `withAppliesToGroups(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withIsGlobal(models.IsGlobal)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed #### `models.PerimeterBasedAccessRule` was modified @@ -996,10 +976,10 @@ * `VirtualHubEffectiveRoute()` was changed to private access * `withNextHopType(java.lang.String)` was removed -* `withRouteOrigin(java.lang.String)` was removed -* `withNextHops(java.util.List)` was removed * `withAsPath(java.lang.String)` was removed * `withAddressPrefixes(java.util.List)` was removed +* `withNextHops(java.util.List)` was removed +* `withRouteOrigin(java.lang.String)` was removed #### `models.ExpressRoutePortsLocationBandwidths` was modified @@ -1007,47 +987,46 @@ #### `models.StaticCidrProperties` was modified -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withProvisioningState(models.ProvisioningState)` was removed #### `models.EffectiveNetworkSecurityGroupAssociation` was modified * `EffectiveNetworkSecurityGroupAssociation()` was changed to private access -* `withNetworkManager(com.azure.core.management.SubResource)` was removed * `withSubnet(com.azure.core.management.SubResource)` was removed * `withNetworkInterface(com.azure.core.management.SubResource)` was removed +* `withNetworkManager(com.azure.core.management.SubResource)` was removed #### `models.IntentContent` was modified * `IntentContent()` was changed to private access -* `withSourceResourceId(java.lang.String)` was removed -* `withDestinationResourceId(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed +* `withDestinationResourceId(java.lang.String)` was removed * `withIpTraffic(models.IpTraffic)` was removed +* `withSourceResourceId(java.lang.String)` was removed #### `models.ConfigurationGroup` was modified * `ConfigurationGroup()` was changed to private access * `withMemberType(models.GroupMemberType)` was removed -* `withDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed #### `models.SecurityPerimeterSystemData` was modified * `SecurityPerimeterSystemData()` was changed to private access -* `withLastModifiedAt(java.time.OffsetDateTime)` was removed -* `withLastModifiedByType(models.CreatedByType)` was removed * `withCreatedBy(java.lang.String)` was removed -* `withCreatedAt(java.time.OffsetDateTime)` was removed * `withLastModifiedBy(java.lang.String)` was removed +* `withLastModifiedAt(java.time.OffsetDateTime)` was removed +* `withLastModifiedByType(models.CreatedByType)` was removed * `withCreatedByType(models.CreatedByType)` was removed +* `withCreatedAt(java.time.OffsetDateTime)` was removed #### `models.ExpressRouteCircuitRoutesTable` was modified * `ExpressRouteCircuitRoutesTable()` was changed to private access * `withLocPrf(java.lang.String)` was removed -* `withWeight(java.lang.Integer)` was removed * `withNextHop(java.lang.String)` was removed +* `withWeight(java.lang.Integer)` was removed * `withPath(java.lang.String)` was removed * `withNetwork(java.lang.String)` was removed @@ -1087,21 +1066,20 @@ * `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access * `withName(java.lang.String)` was removed * `withLastUpdatedTime(java.lang.String)` was removed -* `withNrpResourceUri(java.lang.String)` was removed * `withStatus(models.FailoverConnectionStatus)` was removed +* `withNrpResourceUri(java.lang.String)` was removed #### `models.ActiveDefaultSecurityAdminRule` was modified * `ActiveDefaultSecurityAdminRule()` was changed to private access +* `withConfigurationDescription(java.lang.String)` was removed +* `withRegion(java.lang.String)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed -* `models.ProvisioningState provisioningState()` -> `models.BaseProvisioningState provisioningState()` * `withRuleGroups(java.util.List)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withRegion(java.lang.String)` was removed +* `withFlag(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withConfigurationDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withFlag(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed ### Features Added @@ -1127,8 +1105,6 @@ * `models.StopPacketCaptureFinalResult2` was added -* `models.BaseProvisioningState` was added - * `models.StopPacketCaptureFinalResult1` was added * `models.UnprepareNetworkPoliciesFinalResult` was added diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java index 2187d530f011..2ca4fc5ceb1a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java @@ -11,7 +11,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressPrefixItem; -import com.azure.resourcemanager.network.models.BaseProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleAccess; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleDirection; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleProtocol; @@ -72,7 +72,7 @@ public final class AdminPropertiesFormat implements JsonSerializable appliesToGroups() { * * @return the provisioningState value. */ - public BaseProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -160,7 +160,7 @@ public static AdminRuleCollectionPropertiesFormat fromJson(JsonReader jsonReader deserializedAdminRuleCollectionPropertiesFormat.description = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedAdminRuleCollectionPropertiesFormat.provisioningState - = BaseProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("resourceGuid".equals(fieldName)) { deserializedAdminRuleCollectionPropertiesFormat.resourceGuid = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java index 86f61ce0666f..600d342253d5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java @@ -10,7 +10,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AddressPrefixItem; -import com.azure.resourcemanager.network.models.BaseProvisioningState; +import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleAccess; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleDirection; import com.azure.resourcemanager.network.models.SecurityConfigurationRuleProtocol; @@ -76,7 +76,7 @@ public final class DefaultAdminPropertiesFormat implements JsonSerializable { - /** - * Failed. - */ - public static final BaseProvisioningState FAILED = fromString("Failed"); - - /** - * Succeeded. - */ - public static final BaseProvisioningState SUCCEEDED = fromString("Succeeded"); - - /** - * Canceled. - */ - public static final BaseProvisioningState CANCELED = fromString("Canceled"); - - /** - * Creating. - */ - public static final BaseProvisioningState CREATING = fromString("Creating"); - - /** - * Updating. - */ - public static final BaseProvisioningState UPDATING = fromString("Updating"); - - /** - * Deleting. - */ - public static final BaseProvisioningState DELETING = fromString("Deleting"); - - /** - * Creates a new instance of BaseProvisioningState value. - * - * @deprecated Use the {@link #fromString(String)} factory method. - */ - @Deprecated - public BaseProvisioningState() { - } - - /** - * Creates or finds a BaseProvisioningState from its string representation. - * - * @param name a name to look for. - * @return the corresponding BaseProvisioningState. - */ - public static BaseProvisioningState fromString(String name) { - return fromString(name, BaseProvisioningState.class); - } - - /** - * Gets known BaseProvisioningState values. - * - * @return known BaseProvisioningState values. - */ - public static Collection values() { - return values(BaseProvisioningState.class); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java index 61054c020a33..63c272ae59e7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java @@ -240,7 +240,7 @@ public SecurityConfigurationRuleDirection direction() { * * @return the provisioningState value. */ - public BaseProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java index 23e877aa81fd..640bb2978a52 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java @@ -149,7 +149,7 @@ public SecurityConfigurationRuleDirection direction() { * * @return the provisioningState value. */ - public BaseProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java index ed05b17e0c5b..12fccaff1c35 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java @@ -140,7 +140,7 @@ public SecurityConfigurationRuleDirection direction() { * * @return the provisioningState value. */ - public BaseProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java index d65bacea96a2..d7cf22fc9edb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java @@ -46,7 +46,7 @@ public final class IpamPoolProperties implements JsonSerializable addressPrefixes) { * * @return the provisioningState value. */ - public BaseProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -212,8 +212,7 @@ public static IpamPoolProperties fromJson(JsonReader jsonReader) throws IOExcept } else if ("parentPoolName".equals(fieldName)) { deserializedIpamPoolProperties.parentPoolName = reader.getString(); } else if ("provisioningState".equals(fieldName)) { - deserializedIpamPoolProperties.provisioningState - = BaseProvisioningState.fromString(reader.getString()); + deserializedIpamPoolProperties.provisioningState = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java index 00a57b0f72fa..379a5057794b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java @@ -8,29 +8,39 @@ import java.util.Collection; /** - * The current provisioning state. + * Defines values for ProvisioningState. */ public final class ProvisioningState extends ExpandableStringEnum { /** - * Succeeded. + * Static value Succeeded for ProvisioningState. */ public static final ProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Updating. + * Static value Updating for ProvisioningState. */ public static final ProvisioningState UPDATING = fromString("Updating"); /** - * Deleting. + * Static value Deleting for ProvisioningState. */ public static final ProvisioningState DELETING = fromString("Deleting"); /** - * Failed. + * Static value Failed for ProvisioningState. */ public static final ProvisioningState FAILED = fromString("Failed"); + /** + * Static value Canceled for ProvisioningState. + */ + public static final ProvisioningState CANCELED = fromString("Canceled"); + + /** + * Static value Creating for ProvisioningState. + */ + public static final ProvisioningState CREATING = fromString("Creating"); + /** * Creates a new instance of ProvisioningState value. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java index 037070d52193..7f465548e005 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java @@ -21,7 +21,7 @@ public final class ReachabilityAnalysisIntentProperties /* * Provisioning states of a resource. */ - private BaseProvisioningState provisioningState; + private ProvisioningState provisioningState; /* * The description property. @@ -54,7 +54,7 @@ public ReachabilityAnalysisIntentProperties() { * * @return the provisioningState value. */ - public BaseProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -203,7 +203,7 @@ public static ReachabilityAnalysisIntentProperties fromJson(JsonReader jsonReade deserializedReachabilityAnalysisIntentProperties.ipTraffic = IpTraffic.fromJson(reader); } else if ("provisioningState".equals(fieldName)) { deserializedReachabilityAnalysisIntentProperties.provisioningState - = BaseProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else if ("description".equals(fieldName)) { deserializedReachabilityAnalysisIntentProperties.description = reader.getString(); } else { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java index 65e7d6afe6d2..10080ee9e5a8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java @@ -45,7 +45,7 @@ public final class ReachabilityAnalysisRunProperties implements JsonSerializable /* * Provisioning states of a resource. */ - private BaseProvisioningState provisioningState; + private ProvisioningState provisioningState; /** * Creates an instance of ReachabilityAnalysisRunProperties class. @@ -125,7 +125,7 @@ public String errorMessage() { * * @return the provisioningState value. */ - public BaseProvisioningState provisioningState() { + public ProvisioningState provisioningState() { return this.provisioningState; } @@ -187,7 +187,7 @@ public static ReachabilityAnalysisRunProperties fromJson(JsonReader jsonReader) deserializedReachabilityAnalysisRunProperties.errorMessage = reader.getString(); } else if ("provisioningState".equals(fieldName)) { deserializedReachabilityAnalysisRunProperties.provisioningState - = BaseProvisioningState.fromString(reader.getString()); + = ProvisioningState.fromString(reader.getString()); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java index 3b7ac9244a77..1279f00541e4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java @@ -41,7 +41,7 @@ public final class StaticCidrProperties implements JsonSerializable Date: Wed, 25 Mar 2026 11:53:11 +0800 Subject: [PATCH 19/33] Suppress tagMap return type change in revapi Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/lintingconfigs/revapi/track2/revapi.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eng/lintingconfigs/revapi/track2/revapi.json b/eng/lintingconfigs/revapi/track2/revapi.json index a778e2659011..d6dbce462a1a 100644 --- a/eng/lintingconfigs/revapi/track2/revapi.json +++ b/eng/lintingconfigs/revapi/track2/revapi.json @@ -1314,6 +1314,11 @@ "match": "class com\\.azure\\.resourcemanager\\.network\\.models\\.(AdminRule|ChildResource|CommonProxyResource|CommonResource|CommonTrackedResource|DefaultAdminRule|SecurityPerimeterProxyResource|SecurityPerimeterResource)" }, "justification": "Base class ProxyResource not in old API archive. Revapi analysis artifact." + }, + { + "code": "java.method.returnTypeChanged", + "old" : "method java.util.Map com.azure.resourcemanager.network.models.EffectiveNetworkSecurityGroup::tagMap()", + "justification": "TypeSpec defines tagMap as Record, changing return type from Map to Map>." }] } } From 33f6e94bfa25e96bd90ed19c5355117f916357bf Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Wed, 25 Mar 2026 12:05:15 +0800 Subject: [PATCH 20/33] Fix tagMap suppression format to use regex matcher Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/lintingconfigs/revapi/track2/revapi.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eng/lintingconfigs/revapi/track2/revapi.json b/eng/lintingconfigs/revapi/track2/revapi.json index d6dbce462a1a..595dab24e21a 100644 --- a/eng/lintingconfigs/revapi/track2/revapi.json +++ b/eng/lintingconfigs/revapi/track2/revapi.json @@ -1317,7 +1317,10 @@ }, { "code": "java.method.returnTypeChanged", - "old" : "method java.util.Map com.azure.resourcemanager.network.models.EffectiveNetworkSecurityGroup::tagMap()", + "old" : { + "matcher": "regex", + "match": "method .* com\\.azure\\.resourcemanager\\.network\\.models\\.EffectiveNetworkSecurityGroup\\:\\:tagMap\\(\\)" + }, "justification": "TypeSpec defines tagMap as Record, changing return type from Map to Map>." }] } From 4d628a71d60ce0b264ed956bc156284c023697df Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 27 Mar 2026 10:02:49 +0800 Subject: [PATCH 21/33] Revert PacketCaptureImpl to main - specs fixed createAsync return type Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../network/fluent/BastionHostsClient.java | 28 +- .../fluent/ConnectionMonitorsClient.java | 24 +- ...ressRouteProviderPortsLocationsClient.java | 8 +- .../fluent/NetworkInterfacesClient.java | 154 +++++ .../NetworkInterfacesOperationsClient.java | 172 ------ .../fluent/NetworkManagementClient.java | 7 - .../network/fluent/PacketCapturesClient.java | 17 +- .../PublicIPAddressesOperationsClient.java | 46 -- .../fluent/PublicIpAddressesClient.java | 46 ++ .../network/fluent/ServiceGatewaysClient.java | 45 +- .../network/fluent/SubnetsClient.java | 66 +- .../network/fluent/VipSwapsClient.java | 42 +- ...irtualNetworkGatewayConnectionsClient.java | 59 +- .../fluent/VirtualNetworkGatewaysClient.java | 184 +++--- .../network/fluent/VpnConnectionsClient.java | 66 +- .../network/fluent/VpnGatewaysClient.java | 36 +- .../fluent/VpnLinkConnectionsClient.java | 16 +- ...nGatewayWafDynamicManifestResultInner.java | 4 +- .../models/ConnectionMonitorResultInner.java | 4 +- ...veNetworkSecurityGroupListResultInner.java | 1 - .../models/EffectiveRouteListResultInner.java | 1 - ...ionsRoutesTableSummaryListResultInner.java | 1 - .../models/ExpressRouteProviderPortInner.java | 38 +- ...pressRouteProviderPortListResultInner.java | 3 +- .../models/NetworkSecurityPerimeterInner.java | 41 +- .../models/OperationStatusResultInner.java | 28 +- .../fluent/models/P2SVpnGatewayInner.java | 4 +- ...esourceNavigationLinksListResultInner.java | 1 - ...erviceAssociationLinksListResultInner.java | 1 - .../fluent/models/ServiceGatewayInner.java | 36 +- .../fluent/models/VirtualHubInner.java | 4 +- .../fluent/models/VirtualWanInner.java | 4 +- .../fluent/models/VpnGatewayInner.java | 4 +- .../models/VpnServerConfigurationInner.java | 4 +- .../network/fluent/models/VpnSiteInner.java | 4 +- .../BastionHostsClientImpl.java | 57 +- .../ConnectionMonitorsClientImpl.java | 46 +- ...RouteProviderPortsLocationsClientImpl.java | 10 +- .../NetworkInterfacesClientImpl.java | 505 ++++++++++++++++ ...NetworkInterfacesOperationsClientImpl.java | 568 ------------------ .../NetworkManagementClientImpl.java | 16 - .../implementation/PacketCaptureImpl.java | 1 - .../PacketCapturesClientImpl.java | 40 +- ...PublicIPAddressesOperationsClientImpl.java | 237 -------- .../PublicIpAddressesClientImpl.java | 237 ++++++++ .../ServiceGatewaysClientImpl.java | 88 ++- .../implementation/SubnetsClientImpl.java | 124 ++-- .../implementation/VipSwapsClientImpl.java | 104 +--- ...alNetworkGatewayConnectionsClientImpl.java | 128 ++-- .../VirtualNetworkGatewaysClientImpl.java | 383 +++++------- .../VpnConnectionsClientImpl.java | 132 ++-- .../implementation/VpnGatewaysClientImpl.java | 88 ++- .../VpnLinkConnectionsClientImpl.java | 32 +- ...onse.java => ArmAcceptedLroResponse1.java} | 22 +- ...ult.java => ArmAcceptedLroResponse10.java} | 23 +- ...ult.java => ArmAcceptedLroResponse11.java} | 23 +- .../models/ArmAcceptedLroResponse12.java | 63 ++ .../models/ArmAcceptedLroResponse13.java | 63 ++ .../models/ArmAcceptedLroResponse14.java | 63 ++ ...sult.java => ArmAcceptedLroResponse2.java} | 22 +- .../models/ArmAcceptedLroResponse3.java | 63 ++ .../models/ArmAcceptedLroResponse4.java | 63 ++ .../models/ArmAcceptedLroResponse5.java | 63 ++ .../models/ArmAcceptedLroResponse6.java | 63 ++ .../models/ArmAcceptedLroResponse7.java | 63 ++ .../models/ArmAcceptedLroResponse8.java | 63 ++ .../models/ArmAcceptedLroResponse9.java | 63 ++ ...DeleteBastionShareableLinkFinalResult.java | 65 -- ...tworkGatewayVpnConnectionsFinalResult.java | 67 --- .../network/models/ErrorAdditionalInfo.java | 97 +++ .../network/models/ErrorDetail.java | 155 +++++ .../GeneratevpnclientpackageFinalResult.java | 93 --- .../network/models/GetIkeSasFinalResult.java | 90 --- .../GetVpnProfilePackageUrlFinalResult.java | 92 --- ....java => ProxyResourceWithSettableId.java} | 38 +- .../models/ResourceWithReadOnlyNameAndID.java | 205 ------- .../SecurityPerimeterTrackedResource.java | 71 ++- .../network/models/SingletonResource.java | 51 -- ...outeSiteFailoverSimulationFinalResult.java | 95 --- .../models/StartPacketCaptureFinalResult.java | 92 --- .../StartPacketCaptureFinalResult1.java | 92 --- .../StartPacketCaptureFinalResult2.java | 92 --- ...outeSiteFailoverSimulationFinalResult.java | 94 --- .../models/StopPacketCaptureFinalResult.java | 91 --- .../models/StopPacketCaptureFinalResult1.java | 92 --- .../models/StopPacketCaptureFinalResult2.java | 92 --- ...lyID.java => TrackedResourceWithEtag.java} | 107 ++-- ...ava => TrackedResourceWithSettableId.java} | 53 +- ...a => TrackedResourceWithSettableName.java} | 51 +- .../TrackedResourcewithOptionalLocation.java | 109 ++-- .../UnprepareNetworkPoliciesFinalResult.java | 65 -- ...nectionsStartPacketCaptureFinalResult.java | 93 --- ...nnectionsStopPacketCaptureFinalResult.java | 93 --- ...zure-resourcemanager-network_metadata.json | 2 +- .../proxy-config.json | 2 +- ...curityPerimetersCreateOrUpdateSamples.java | 2 +- .../ServiceGatewaysCreateOrUpdateSamples.java | 5 +- .../generated/VipSwapCreateSamples.java | 3 +- .../network/generated/VipSwapGetSamples.java | 4 +- 99 files changed, 3051 insertions(+), 4017 deletions(-) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesOperationsClient.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesOperationsClientImpl.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/{NoContentResponse.java => ArmAcceptedLroResponse1.java} (63%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/{PrepareNetworkPoliciesFinalResult.java => ArmAcceptedLroResponse10.java} (58%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/{ResetVpnClientSharedKeyFinalResult.java => ArmAcceptedLroResponse11.java} (58%) create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse12.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse13.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse14.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/{StopFinalResult.java => ArmAcceptedLroResponse2.java} (63%) create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse3.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse4.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse5.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse6.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse7.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse8.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse9.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java create mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/{ProxyResourcewithoutEtag.java => ProxyResourceWithSettableId.java} (66%) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/{ResourceWithReadOnlyID.java => TrackedResourceWithEtag.java} (50%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/{ResourceWithRequiredLocation.java => TrackedResourceWithSettableId.java} (69%) rename sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/{ResourceWithWritableName.java => TrackedResourceWithSettableName.java} (67%) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java index 59e6d0213103..1bc3a3c6875a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java @@ -19,7 +19,6 @@ import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; -import com.azure.resourcemanager.network.models.DeleteBastionShareableLinkFinalResult; import com.azure.resourcemanager.network.models.SessionIds; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; @@ -533,9 +532,8 @@ Mono>> deleteBastionShareableLinkWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, DeleteBastionShareableLinkFinalResult> - beginDeleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest); + PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest); /** * Deletes the Bastion Shareable Links for all the VMs specified in the request. @@ -549,9 +547,8 @@ Mono>> deleteBastionShareableLinkWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, DeleteBastionShareableLinkFinalResult> - beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest); + SyncPoller, Void> beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); /** * Deletes the Bastion Shareable Links for all the VMs specified in the request. @@ -566,9 +563,8 @@ Mono>> deleteBastionShareableLinkWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, DeleteBastionShareableLinkFinalResult> - beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest, Context context); + SyncPoller, Void> beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context); /** * Deletes the Bastion Shareable Links for all the VMs specified in the request. @@ -579,11 +575,11 @@ Mono>> deleteBastionShareableLinkWithResponseAsync(Str * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteBastionShareableLinkAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest); + Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); /** * Deletes the Bastion Shareable Links for all the VMs specified in the request. @@ -594,10 +590,9 @@ Mono deleteBastionShareableLinkAsync(Stri * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - DeleteBastionShareableLinkFinalResult deleteBastionShareableLink(String resourceGroupName, String bastionHostName, + void deleteBastionShareableLink(String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest); /** @@ -610,10 +605,9 @@ DeleteBastionShareableLinkFinalResult deleteBastionShareableLink(String resource * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - DeleteBastionShareableLinkFinalResult deleteBastionShareableLink(String resourceGroupName, String bastionHostName, + void deleteBastionShareableLink(String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context); /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java index 68830678aad2..f51e2bf3cd8e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java @@ -15,7 +15,6 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorInner; import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorResultInner; -import com.azure.resourcemanager.network.models.StopFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -477,8 +476,8 @@ Mono>> stopWithResponseAsync(String resourceGroupName, * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, - String networkWatcherName, String connectionMonitorName); + PollerFlux, Void> beginStopAsync(String resourceGroupName, String networkWatcherName, + String connectionMonitorName); /** * Stops the specified connection monitor. @@ -492,8 +491,8 @@ PollerFlux, StopFinalResult> beginStopAsync(String r * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopFinalResult> beginStop(String resourceGroupName, - String networkWatcherName, String connectionMonitorName); + SyncPoller, Void> beginStop(String resourceGroupName, String networkWatcherName, + String connectionMonitorName); /** * Stops the specified connection monitor. @@ -508,8 +507,8 @@ SyncPoller, StopFinalResult> beginStop(String resour * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopFinalResult> beginStop(String resourceGroupName, - String networkWatcherName, String connectionMonitorName, Context context); + SyncPoller, Void> beginStop(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, Context context); /** * Stops the specified connection monitor. @@ -520,10 +519,10 @@ SyncPoller, StopFinalResult> beginStop(String resour * @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 body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName); + Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName); /** * Stops the specified connection monitor. @@ -534,10 +533,9 @@ SyncPoller, StopFinalResult> beginStop(String resour * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopFinalResult stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName); + void stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName); /** * Stops the specified connection monitor. @@ -549,9 +547,7 @@ SyncPoller, StopFinalResult> beginStop(String resour * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopFinalResult stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, - Context context); + void stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java index 4e66fb2f7cc7..71211d3f2d20 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java @@ -22,7 +22,7 @@ public interface ExpressRouteProviderPortsLocationsClient { * @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 ExpressRouteProviderPort list operation along with {@link Response} on successful + * @return response for ListExpressRouteProviderPort API service call along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -33,7 +33,7 @@ public interface ExpressRouteProviderPortsLocationsClient { * * @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 ExpressRouteProviderPort list operation on successful completion of {@link Mono}. + * @return response for ListExpressRouteProviderPort API service call on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono listAsync(); @@ -46,7 +46,7 @@ public interface ExpressRouteProviderPortsLocationsClient { * @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 ExpressRouteProviderPort list operation along with {@link Response}. + * @return response for ListExpressRouteProviderPort API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response listWithResponse(String filter, Context context); @@ -56,7 +56,7 @@ public interface ExpressRouteProviderPortsLocationsClient { * * @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 ExpressRouteProviderPort list operation. + * @return response for ListExpressRouteProviderPort API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) ExpressRouteProviderPortListResultInner list(); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java index 28c88c37e819..a3ba0490a5d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java @@ -16,6 +16,7 @@ import com.azure.resourcemanager.network.fluent.models.EffectiveNetworkSecurityGroupListResultInner; import com.azure.resourcemanager.network.fluent.models.EffectiveRouteListResultInner; import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceInner; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -939,4 +940,157 @@ PagedIterable listVirtualMachineScaleSetNetworkInterfaces @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listVirtualMachineScaleSetNetworkInterfaces(String resourceGroupName, String virtualMachineScaleSetName, Context context); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getVirtualMachineScaleSetIpConfigurationWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String expand); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 network interface ip configuration in a virtual machine scale set on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getVirtualMachineScaleSetIpConfigurationAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getVirtualMachineScaleSetIpConfigurationWithResponse( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String expand, Context context); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 network interface ip configuration in a virtual machine scale set. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfiguration(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetIpConfigurations( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName); + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetIpConfigurations( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesOperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesOperationsClient.java deleted file mode 100644 index 07b340ad0f76..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesOperationsClient.java +++ /dev/null @@ -1,172 +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.network.fluent; - -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedIterable; -import com.azure.core.http.rest.Response; -import com.azure.core.util.Context; -import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in NetworkInterfacesOperationsClient. - */ -public interface NetworkInterfacesOperationsClient { - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getVirtualMachineScaleSetIpConfigurationWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String expand); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 network interface ip configuration in a virtual machine scale set on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getVirtualMachineScaleSetIpConfigurationAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getVirtualMachineScaleSetIpConfigurationWithResponse( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String expand, Context context); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 network interface ip configuration in a virtual machine scale set. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfiguration(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetIpConfigurations( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName); - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetIpConfigurations( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand, Context context); -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java index 593ef114f1fb..e2e59e3be8c5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java @@ -1172,11 +1172,4 @@ public interface NetworkManagementClient { * @return the UsagesClient object. */ UsagesClient getUsages(); - - /** - * Gets the NetworkInterfacesOperationsClient object to access its operations. - * - * @return the NetworkInterfacesOperationsClient object. - */ - NetworkInterfacesOperationsClient getNetworkInterfacesOperations(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java index a7bc7fe45d19..5912ba7284da 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java @@ -13,7 +13,6 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.NetworkWatcherInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureQueryStatusResultInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureResultInner; @@ -55,8 +54,8 @@ Mono>> createWithResponseAsync(String resourceGroupNam * @return the {@link PollerFlux} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, NetworkWatcherInner> beginCreateAsync(String resourceGroupName, - String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters); + PollerFlux, PacketCaptureResultInner> beginCreateAsync( + String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters); /** * Create and start a packet capture on the specified VM. @@ -71,7 +70,7 @@ PollerFlux, NetworkWatcherInner> beginCreateAsyn * @return the {@link SyncPoller} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, NetworkWatcherInner> beginCreate(String resourceGroupName, + SyncPoller, PacketCaptureResultInner> beginCreate(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters); /** @@ -88,7 +87,7 @@ SyncPoller, NetworkWatcherInner> beginCreate(Str * @return the {@link SyncPoller} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, NetworkWatcherInner> beginCreate(String resourceGroupName, + SyncPoller, PacketCaptureResultInner> beginCreate(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context); /** @@ -104,8 +103,8 @@ SyncPoller, NetworkWatcherInner> beginCreate(Str * @return information about packet capture session on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, - PacketCaptureInner parameters); + Mono createAsync(String resourceGroupName, String networkWatcherName, + String packetCaptureName, PacketCaptureInner parameters); /** * Create and start a packet capture on the specified VM. @@ -120,7 +119,7 @@ Mono createAsync(String resourceGroupName, String networkWa * @return information about packet capture session. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkWatcherInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, + PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters); /** @@ -137,7 +136,7 @@ NetworkWatcherInner create(String resourceGroupName, String networkWatcherName, * @return information about packet capture session. */ @ServiceMethod(returns = ReturnType.SINGLE) - NetworkWatcherInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, + PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context); /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java index db375d2e3a63..d1f0ee14414d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java @@ -17,52 +17,6 @@ * An instance of this class provides access to all the operations defined in PublicIPAddressesOperationsClient. */ public interface PublicIPAddressesOperationsClient { - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName); - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, - String virtualMachineScaleSetName); - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, - String virtualMachineScaleSetName, Context context); - /** * Get the specified public IP address in a virtual machine scale set. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java index f4f6b34e17f0..e103ec10f834 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java @@ -940,4 +940,50 @@ PagedIterable listCloudServicePublicIPAddresses(String res @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listCloudServicePublicIPAddresses(String resourceGroupName, String cloudServiceName, Context context); + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName); + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName); + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java index 675979e8d2b8..6271ef669be3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java @@ -16,7 +16,6 @@ import com.azure.resourcemanager.network.fluent.models.ServiceGatewayAddressLocationResponseInner; import com.azure.resourcemanager.network.fluent.models.ServiceGatewayInner; import com.azure.resourcemanager.network.fluent.models.ServiceGatewayServiceInner; -import com.azure.resourcemanager.network.models.NoContentResponse; import com.azure.resourcemanager.network.models.ServiceGatewayUpdateAddressLocationsRequest; import com.azure.resourcemanager.network.models.ServiceGatewayUpdateServicesRequest; import com.azure.resourcemanager.network.models.TagsObject; @@ -464,8 +463,8 @@ Mono>> updateAddressLocationsWithResponseAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, NoContentResponse> beginUpdateAddressLocationsAsync( - String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters); + PollerFlux, Void> beginUpdateAddressLocationsAsync(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters); /** * Creates or updates address locations within the service gateway. @@ -490,8 +489,8 @@ PollerFlux, NoContentResponse> beginUpdateAddressL * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, NoContentResponse> beginUpdateAddressLocations(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters); + SyncPoller, Void> beginUpdateAddressLocations(String resourceGroupName, String serviceGatewayName, + ServiceGatewayUpdateAddressLocationsRequest parameters); /** * Creates or updates address locations within the service gateway. @@ -517,8 +516,8 @@ SyncPoller, NoContentResponse> beginUpdateAddressL * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, NoContentResponse> beginUpdateAddressLocations(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context); + SyncPoller, Void> beginUpdateAddressLocations(String resourceGroupName, String serviceGatewayName, + ServiceGatewayUpdateAddressLocationsRequest parameters, Context context); /** * Creates or updates address locations within the service gateway. @@ -540,10 +539,10 @@ SyncPoller, NoContentResponse> beginUpdateAddressL * @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 body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, + Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters); /** @@ -566,10 +565,9 @@ Mono updateAddressLocationsAsync(String resourceGroupName, St * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - NoContentResponse updateAddressLocations(String resourceGroupName, String serviceGatewayName, + void updateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters); /** @@ -593,10 +591,9 @@ NoContentResponse updateAddressLocations(String resourceGroupName, String servic * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - NoContentResponse updateAddressLocations(String resourceGroupName, String serviceGatewayName, + void updateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context); /** @@ -634,8 +631,8 @@ Mono>> updateServicesWithResponseAsync(String resource * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, NoContentResponse> beginUpdateServicesAsync(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters); + PollerFlux, Void> beginUpdateServicesAsync(String resourceGroupName, String serviceGatewayName, + ServiceGatewayUpdateServicesRequest parameters); /** * Creates, updates, or deletes services within the service gateway. @@ -653,8 +650,8 @@ PollerFlux, NoContentResponse> beginUpdateServices * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, NoContentResponse> beginUpdateServices(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters); + SyncPoller, Void> beginUpdateServices(String resourceGroupName, String serviceGatewayName, + ServiceGatewayUpdateServicesRequest parameters); /** * Creates, updates, or deletes services within the service gateway. @@ -673,8 +670,8 @@ SyncPoller, NoContentResponse> beginUpdateServices * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, NoContentResponse> beginUpdateServices(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context); + SyncPoller, Void> beginUpdateServices(String resourceGroupName, String serviceGatewayName, + ServiceGatewayUpdateServicesRequest parameters, Context context); /** * Creates, updates, or deletes services within the service gateway. @@ -689,10 +686,10 @@ SyncPoller, NoContentResponse> beginUpdateServices * @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 body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, + Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters); /** @@ -708,10 +705,9 @@ Mono updateServicesAsync(String resourceGroupName, String ser * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - NoContentResponse updateServices(String resourceGroupName, String serviceGatewayName, + void updateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters); /** @@ -728,10 +724,9 @@ NoContentResponse updateServices(String resourceGroupName, String serviceGateway * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - NoContentResponse updateServices(String resourceGroupName, String serviceGatewayName, + void updateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context); /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java index 9b7e1035e94c..3bb2571301c3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java @@ -14,9 +14,7 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.SubnetInner; -import com.azure.resourcemanager.network.models.PrepareNetworkPoliciesFinalResult; import com.azure.resourcemanager.network.models.PrepareNetworkPoliciesRequest; -import com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesFinalResult; import com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesRequest; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -377,9 +375,9 @@ Mono>> prepareNetworkPoliciesWithResponseAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, PrepareNetworkPoliciesFinalResult> - beginPrepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); + PollerFlux, Void> beginPrepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); /** * Prepares a subnet by applying network intent policies. @@ -395,9 +393,8 @@ Mono>> prepareNetworkPoliciesWithResponseAsync(String * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, PrepareNetworkPoliciesFinalResult> - beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); + SyncPoller, Void> beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, + String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); /** * Prepares a subnet by applying network intent policies. @@ -414,9 +411,8 @@ Mono>> prepareNetworkPoliciesWithResponseAsync(String * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, PrepareNetworkPoliciesFinalResult> - beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context); + SyncPoller, Void> beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, + String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context); /** * Prepares a subnet by applying network intent policies. @@ -429,11 +425,10 @@ Mono>> prepareNetworkPoliciesWithResponseAsync(String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono prepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, + Mono prepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); /** @@ -447,11 +442,10 @@ Mono prepareNetworkPoliciesAsync(String resou * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrepareNetworkPoliciesFinalResult prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, - String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); + void prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters); /** * Prepares a subnet by applying network intent policies. @@ -465,11 +459,10 @@ PrepareNetworkPoliciesFinalResult prepareNetworkPolicies(String resourceGroupNam * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrepareNetworkPoliciesFinalResult prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, - String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context); + void prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context); /** * Unprepares a subnet by removing network intent policies. @@ -503,9 +496,9 @@ Mono>> unprepareNetworkPoliciesWithResponseAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, UnprepareNetworkPoliciesFinalResult> - beginUnprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); + PollerFlux, Void> beginUnprepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); /** * Unprepares a subnet by removing network intent policies. @@ -521,9 +514,9 @@ Mono>> unprepareNetworkPoliciesWithResponseAsync(Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, UnprepareNetworkPoliciesFinalResult> - beginUnprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); + SyncPoller, Void> beginUnprepareNetworkPolicies(String resourceGroupName, + String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); /** * Unprepares a subnet by removing network intent policies. @@ -540,9 +533,9 @@ Mono>> unprepareNetworkPoliciesWithResponseAsync(Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, UnprepareNetworkPoliciesFinalResult> - beginUnprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context); + SyncPoller, Void> beginUnprepareNetworkPolicies(String resourceGroupName, + String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context); /** * Unprepares a subnet by removing network intent policies. @@ -555,11 +548,10 @@ Mono>> unprepareNetworkPoliciesWithResponseAsync(Strin * @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 body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono unprepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, + Mono unprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); /** @@ -573,11 +565,10 @@ Mono unprepareNetworkPoliciesAsync(String r * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - UnprepareNetworkPoliciesFinalResult unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, - String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); + void unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters); /** * Unprepares a subnet by removing network intent policies. @@ -591,9 +582,8 @@ UnprepareNetworkPoliciesFinalResult unprepareNetworkPolicies(String resourceGrou * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - UnprepareNetworkPoliciesFinalResult unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, - String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context); + void unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java index 850ba46d9c88..766ce5dd3653 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java @@ -13,7 +13,6 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.SwapResourceInner; import com.azure.resourcemanager.network.fluent.models.SwapResourceListResultInner; -import com.azure.resourcemanager.network.models.SingletonResource; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -28,7 +27,6 @@ public interface VipSwapsClient { * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -36,8 +34,7 @@ public interface VipSwapsClient { * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getWithResponseAsync(String groupName, String resourceName, - SingletonResource singletonResource); + Mono> getWithResponseAsync(String groupName, String resourceName); /** * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud @@ -45,7 +42,6 @@ Mono> getWithResponseAsync(String groupName, String * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -53,7 +49,7 @@ Mono> getWithResponseAsync(String groupName, String * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getAsync(String groupName, String resourceName, SingletonResource singletonResource); + Mono getAsync(String groupName, String resourceName); /** * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud @@ -61,7 +57,6 @@ Mono> getWithResponseAsync(String groupName, String * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -70,8 +65,7 @@ Mono> getWithResponseAsync(String groupName, String * {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String groupName, String resourceName, - SingletonResource singletonResource, Context context); + Response getWithResponse(String groupName, String resourceName, Context context); /** * Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud @@ -79,21 +73,19 @@ Response getWithResponse(String groupName, String resourceNam * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the SwapResource which identifies the slot type for the specified cloud service. */ @ServiceMethod(returns = ReturnType.SINGLE) - SwapResourceInner get(String groupName, String resourceName, SingletonResource singletonResource); + SwapResourceInner get(String groupName, String resourceName); /** * Performs vip swap operation on swappable cloud services. * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -103,14 +95,13 @@ Response getWithResponse(String groupName, String resourceNam */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> createWithResponseAsync(String groupName, String resourceName, - SingletonResource singletonResource, SwapResourceInner parameters); + SwapResourceInner parameters); /** * Performs vip swap operation on swappable cloud services. * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -120,14 +111,13 @@ Mono>> createWithResponseAsync(String groupName, Strin */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, Void> beginCreateAsync(String groupName, String resourceName, - SingletonResource singletonResource, SwapResourceInner parameters); + SwapResourceInner parameters); /** * Performs vip swap operation on swappable cloud services. * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -136,15 +126,13 @@ PollerFlux, Void> beginCreateAsync(String groupName, String res * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginCreate(String groupName, String resourceName, - SingletonResource singletonResource, SwapResourceInner parameters); + SyncPoller, Void> beginCreate(String groupName, String resourceName, SwapResourceInner parameters); /** * Performs vip swap operation on swappable cloud services. * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -154,15 +142,14 @@ SyncPoller, Void> beginCreate(String groupName, String resource * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginCreate(String groupName, String resourceName, - SingletonResource singletonResource, SwapResourceInner parameters, Context context); + SyncPoller, Void> beginCreate(String groupName, String resourceName, SwapResourceInner parameters, + Context context); /** * Performs vip swap operation on swappable cloud services. * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -171,15 +158,13 @@ SyncPoller, Void> beginCreate(String groupName, String resource * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono createAsync(String groupName, String resourceName, SingletonResource singletonResource, - SwapResourceInner parameters); + Mono createAsync(String groupName, String resourceName, SwapResourceInner parameters); /** * Performs vip swap operation on swappable cloud services. * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -187,15 +172,13 @@ Mono createAsync(String groupName, String resourceName, SingletonResource * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - void create(String groupName, String resourceName, SingletonResource singletonResource, - SwapResourceInner parameters); + void create(String groupName, String resourceName, SwapResourceInner parameters); /** * Performs vip swap operation on swappable cloud services. * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -204,8 +187,7 @@ void create(String groupName, String resourceName, SingletonResource singletonRe * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - void create(String groupName, String resourceName, SingletonResource singletonResource, - SwapResourceInner parameters, Context context); + void create(String groupName, String resourceName, SwapResourceInner parameters, Context context); /** * Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java index 5bda75449454..91f70010f3a4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java @@ -16,8 +16,9 @@ import com.azure.resourcemanager.network.fluent.models.ConnectionResetSharedKeyInner; import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionInner; -import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult1; -import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult1; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse7; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse8; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse9; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnPacketCaptureStopParameters; @@ -791,7 +792,7 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StartPacketCaptureFinalResult1> beginStartPacketCaptureAsync( + PollerFlux, ArmAcceptedLroResponse7> beginStartPacketCaptureAsync( String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters); @@ -806,7 +807,7 @@ PollerFlux, StartPacketCaptureFinalRe * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StartPacketCaptureFinalResult1> + PollerFlux, ArmAcceptedLroResponse7> beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** @@ -820,7 +821,7 @@ PollerFlux, StartPacketCaptureFinalRe * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StartPacketCaptureFinalResult1> + SyncPoller, ArmAcceptedLroResponse7> beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** @@ -837,7 +838,7 @@ PollerFlux, StartPacketCaptureFinalRe * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StartPacketCaptureFinalResult1> beginStartPacketCapture( + SyncPoller, ArmAcceptedLroResponse7> beginStartPacketCapture( String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context); @@ -854,7 +855,7 @@ SyncPoller, StartPacketCaptureFinalRe * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, + Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters); /** @@ -868,7 +869,7 @@ Mono startPacketCaptureAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, + Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** @@ -882,8 +883,7 @@ Mono startPacketCaptureAsync(String resourceGrou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StartPacketCaptureFinalResult1 startPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName); + ArmAcceptedLroResponse7 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Starts packet capture on virtual network gateway connection in the specified resource group. @@ -899,8 +899,8 @@ StartPacketCaptureFinalResult1 startPacketCapture(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StartPacketCaptureFinalResult1 startPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context); + ArmAcceptedLroResponse7 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters, Context context); /** * Stops packet capture on virtual network gateway connection in the specified resource group. @@ -931,7 +931,7 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StopPacketCaptureFinalResult1> beginStopPacketCaptureAsync( + PollerFlux, ArmAcceptedLroResponse8> beginStopPacketCaptureAsync( String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); @@ -948,7 +948,7 @@ PollerFlux, StopPacketCaptureFinalResu * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopPacketCaptureFinalResult1> beginStopPacketCapture( + SyncPoller, ArmAcceptedLroResponse8> beginStopPacketCapture( String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); @@ -966,7 +966,7 @@ SyncPoller, StopPacketCaptureFinalResu * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopPacketCaptureFinalResult1> beginStopPacketCapture( + SyncPoller, ArmAcceptedLroResponse8> beginStopPacketCapture( String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context); @@ -983,7 +983,7 @@ SyncPoller, StopPacketCaptureFinalResu * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, + Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); /** @@ -999,8 +999,8 @@ Mono stopPacketCaptureAsync(String resourceGroupN * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopPacketCaptureFinalResult1 stopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); + ArmAcceptedLroResponse8 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway connection in the specified resource group. @@ -1016,8 +1016,8 @@ StopPacketCaptureFinalResult1 stopPacketCapture(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopPacketCaptureFinalResult1 stopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context); + ArmAcceptedLroResponse8 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters, Context context); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. @@ -1044,8 +1044,8 @@ Mono>> getIkeSasWithResponseAsync(String resourceGroup * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginGetIkeSasAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName); + PollerFlux, ArmAcceptedLroResponse9> + beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. @@ -1058,7 +1058,7 @@ PollerFlux, Void> beginGetIkeSasAsync(String resourceGroupName, * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginGetIkeSas(String resourceGroupName, + SyncPoller, ArmAcceptedLroResponse9> beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** @@ -1073,7 +1073,7 @@ SyncPoller, Void> beginGetIkeSas(String resourceGroupName, * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginGetIkeSas(String resourceGroupName, + SyncPoller, ArmAcceptedLroResponse9> beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context); /** @@ -1084,10 +1084,10 @@ SyncPoller, Void> beginGetIkeSas(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); + Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. @@ -1097,9 +1097,10 @@ SyncPoller, Void> beginGetIkeSas(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName); + ArmAcceptedLroResponse9 getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. @@ -1110,9 +1111,11 @@ SyncPoller, Void> beginGetIkeSas(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - void getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context); + ArmAcceptedLroResponse9 getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, + Context context); /** * Resets the virtual network gateway connection specified. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java index 1700ed834617..6b8b8ce8eeb1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java @@ -25,16 +25,14 @@ import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailListResultInner; import com.azure.resourcemanager.network.fluent.models.VpnClientIPsecParametersInner; import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse; -import com.azure.resourcemanager.network.models.DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse1; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse2; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse3; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse4; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse5; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse6; import com.azure.resourcemanager.network.models.ExpressRouteFailoverStopApiParameters; -import com.azure.resourcemanager.network.models.GeneratevpnclientpackageFinalResult; -import com.azure.resourcemanager.network.models.GetVpnProfilePackageUrlFinalResult; import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; -import com.azure.resourcemanager.network.models.ResetVpnClientSharedKeyFinalResult; -import com.azure.resourcemanager.network.models.StartExpressRouteSiteFailoverSimulationFinalResult; -import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult; -import com.azure.resourcemanager.network.models.StopExpressRouteSiteFailoverSimulationFinalResult; -import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayMigrationParameters; import com.azure.resourcemanager.network.models.VpnClientParameters; @@ -661,8 +659,8 @@ Mono>> resetVpnClientSharedKeyWithResponseAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ResetVpnClientSharedKeyFinalResult> - beginResetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName); + PollerFlux, Void> beginResetVpnClientSharedKeyAsync(String resourceGroupName, + String virtualNetworkGatewayName); /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. @@ -675,8 +673,8 @@ Mono>> resetVpnClientSharedKeyWithResponseAsync(String * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ResetVpnClientSharedKeyFinalResult> - beginResetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName); + SyncPoller, Void> beginResetVpnClientSharedKey(String resourceGroupName, + String virtualNetworkGatewayName); /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. @@ -690,8 +688,8 @@ Mono>> resetVpnClientSharedKeyWithResponseAsync(String * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ResetVpnClientSharedKeyFinalResult> - beginResetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName, Context context); + SyncPoller, Void> beginResetVpnClientSharedKey(String resourceGroupName, + String virtualNetworkGatewayName, Context context); /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. @@ -701,11 +699,10 @@ Mono>> resetVpnClientSharedKeyWithResponseAsync(String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono resetVpnClientSharedKeyAsync(String resourceGroupName, - String virtualNetworkGatewayName); + Mono resetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName); /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. @@ -715,11 +712,9 @@ Mono resetVpnClientSharedKeyAsync(String res * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ResetVpnClientSharedKeyFinalResult resetVpnClientSharedKey(String resourceGroupName, - String virtualNetworkGatewayName); + void resetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName); /** * Resets the VPN client shared key of the virtual network gateway in the specified resource group. @@ -730,11 +725,9 @@ ResetVpnClientSharedKeyFinalResult resetVpnClientSharedKey(String resourceGroupN * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ResetVpnClientSharedKeyFinalResult resetVpnClientSharedKey(String resourceGroupName, - String virtualNetworkGatewayName, Context context); + void resetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName, Context context); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. @@ -763,9 +756,8 @@ Mono>> generatevpnclientpackageWithResponseAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, GeneratevpnclientpackageFinalResult> - beginGeneratevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters); + PollerFlux, ArmAcceptedLroResponse> beginGeneratevpnclientpackageAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. @@ -779,9 +771,8 @@ Mono>> generatevpnclientpackageWithResponseAsync(Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GeneratevpnclientpackageFinalResult> - beginGeneratevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters); + SyncPoller, ArmAcceptedLroResponse> beginGeneratevpnclientpackage( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. @@ -796,9 +787,8 @@ Mono>> generatevpnclientpackageWithResponseAsync(Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GeneratevpnclientpackageFinalResult> - beginGeneratevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters, Context context); + SyncPoller, ArmAcceptedLroResponse> beginGeneratevpnclientpackage( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. @@ -812,7 +802,7 @@ Mono>> generatevpnclientpackageWithResponseAsync(Strin * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono generatevpnclientpackageAsync(String resourceGroupName, + Mono generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -827,8 +817,8 @@ Mono generatevpnclientpackageAsync(String r * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - GeneratevpnclientpackageFinalResult generatevpnclientpackage(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters); + ArmAcceptedLroResponse generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. @@ -843,8 +833,8 @@ GeneratevpnclientpackageFinalResult generatevpnclientpackage(String resourceGrou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - GeneratevpnclientpackageFinalResult generatevpnclientpackage(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); + ArmAcceptedLroResponse generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters, Context context); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for @@ -875,7 +865,7 @@ Mono>> generateVpnProfileWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse> beginGenerateVpnProfileAsync( + PollerFlux, ArmAcceptedLroResponse1> beginGenerateVpnProfileAsync( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -891,7 +881,7 @@ PollerFlux, ArmAcceptedLroResponse> beginGene * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse> beginGenerateVpnProfile( + SyncPoller, ArmAcceptedLroResponse1> beginGenerateVpnProfile( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -908,7 +898,7 @@ SyncPoller, ArmAcceptedLroResponse> beginGene * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse> beginGenerateVpnProfile( + SyncPoller, ArmAcceptedLroResponse1> beginGenerateVpnProfile( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** @@ -924,7 +914,7 @@ SyncPoller, ArmAcceptedLroResponse> beginGene * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, + Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -940,7 +930,7 @@ Mono generateVpnProfileAsync(String resourceGroupName, S * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + ArmAcceptedLroResponse1 generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -957,7 +947,7 @@ ArmAcceptedLroResponse generateVpnProfile(String resourceGroupName, String virtu * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + ArmAcceptedLroResponse1 generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** @@ -989,7 +979,7 @@ Mono>> getVpnProfilePackageUrlWithResponseAsync(String * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, GetVpnProfilePackageUrlFinalResult> + PollerFlux, ArmAcceptedLroResponse2> beginGetVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName); /** @@ -1005,7 +995,7 @@ Mono>> getVpnProfilePackageUrlWithResponseAsync(String * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GetVpnProfilePackageUrlFinalResult> + SyncPoller, ArmAcceptedLroResponse2> beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName); /** @@ -1022,7 +1012,7 @@ Mono>> getVpnProfilePackageUrlWithResponseAsync(String * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GetVpnProfilePackageUrlFinalResult> + SyncPoller, ArmAcceptedLroResponse2> beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, Context context); /** @@ -1038,7 +1028,7 @@ Mono>> getVpnProfilePackageUrlWithResponseAsync(String * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getVpnProfilePackageUrlAsync(String resourceGroupName, + Mono getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName); /** @@ -1053,8 +1043,7 @@ Mono getVpnProfilePackageUrlAsync(String res * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourceGroupName, - String virtualNetworkGatewayName); + ArmAcceptedLroResponse2 getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The @@ -1069,8 +1058,8 @@ GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourceGroupN * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourceGroupName, - String virtualNetworkGatewayName, Context context); + ArmAcceptedLroResponse2 getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, + Context context); /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. @@ -2067,7 +2056,7 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StartPacketCaptureFinalResult> beginStartPacketCaptureAsync( + PollerFlux, ArmAcceptedLroResponse3> beginStartPacketCaptureAsync( String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters); /** @@ -2081,7 +2070,7 @@ PollerFlux, StartPacketCaptureFinalRes * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StartPacketCaptureFinalResult> + PollerFlux, ArmAcceptedLroResponse3> beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName); /** @@ -2095,7 +2084,7 @@ PollerFlux, StartPacketCaptureFinalRes * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StartPacketCaptureFinalResult> + SyncPoller, ArmAcceptedLroResponse3> beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayName); /** @@ -2111,7 +2100,7 @@ PollerFlux, StartPacketCaptureFinalRes * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StartPacketCaptureFinalResult> beginStartPacketCapture( + SyncPoller, ArmAcceptedLroResponse3> beginStartPacketCapture( String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context); @@ -2127,8 +2116,8 @@ SyncPoller, StartPacketCaptureFinalRes * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters); + Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnPacketCaptureStartParameters parameters); /** * Starts packet capture on virtual network gateway in the specified resource group. @@ -2141,8 +2130,7 @@ Mono startPacketCaptureAsync(String resourceGroup * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName); + Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName); /** * Starts packet capture on virtual network gateway in the specified resource group. @@ -2155,7 +2143,7 @@ Mono startPacketCaptureAsync(String resourceGroup * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName); + ArmAcceptedLroResponse3 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName); /** * Starts packet capture on virtual network gateway in the specified resource group. @@ -2170,7 +2158,7 @@ Mono startPacketCaptureAsync(String resourceGroup * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + ArmAcceptedLroResponse3 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context); /** @@ -2200,7 +2188,7 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StopPacketCaptureFinalResult> beginStopPacketCaptureAsync( + PollerFlux, ArmAcceptedLroResponse4> beginStopPacketCaptureAsync( String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** @@ -2215,7 +2203,7 @@ PollerFlux, StopPacketCaptureFinalResul * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopPacketCaptureFinalResult> beginStopPacketCapture( + SyncPoller, ArmAcceptedLroResponse4> beginStopPacketCapture( String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** @@ -2231,7 +2219,7 @@ SyncPoller, StopPacketCaptureFinalResul * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopPacketCaptureFinalResult> beginStopPacketCapture( + SyncPoller, ArmAcceptedLroResponse4> beginStopPacketCapture( String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context); @@ -2247,8 +2235,8 @@ SyncPoller, StopPacketCaptureFinalResul * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); + Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway in the specified resource group. @@ -2262,7 +2250,7 @@ Mono stopPacketCaptureAsync(String resourceGroupNa * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + ArmAcceptedLroResponse4 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** @@ -2278,7 +2266,7 @@ StopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + ArmAcceptedLroResponse4 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context); /** @@ -2556,7 +2544,7 @@ Mono>> startExpressRouteSiteFailoverSimulationWithResp * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StartExpressRouteSiteFailoverSimulationFinalResult> + PollerFlux, ArmAcceptedLroResponse5> beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation); @@ -2572,7 +2560,7 @@ Mono>> startExpressRouteSiteFailoverSimulationWithResp * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StartExpressRouteSiteFailoverSimulationFinalResult> + SyncPoller, ArmAcceptedLroResponse5> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation); @@ -2589,7 +2577,7 @@ Mono>> startExpressRouteSiteFailoverSimulationWithResp * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StartExpressRouteSiteFailoverSimulationFinalResult> + SyncPoller, ArmAcceptedLroResponse5> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context); @@ -2605,8 +2593,8 @@ Mono>> startExpressRouteSiteFailoverSimulationWithResp * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startExpressRouteSiteFailoverSimulationAsync( - String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation); + Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation); /** * This operation starts failover simulation on the gateway for the specified peering location. @@ -2620,7 +2608,7 @@ Mono startExpressRouteSiteFa * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StartExpressRouteSiteFailoverSimulationFinalResult startExpressRouteSiteFailoverSimulation(String resourceGroupName, + ArmAcceptedLroResponse5 startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation); /** @@ -2636,7 +2624,7 @@ StartExpressRouteSiteFailoverSimulationFinalResult startExpressRouteSiteFailover * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StartExpressRouteSiteFailoverSimulationFinalResult startExpressRouteSiteFailoverSimulation(String resourceGroupName, + ArmAcceptedLroResponse5 startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context); /** @@ -2668,7 +2656,7 @@ Mono>> stopExpressRouteSiteFailoverSimulationWithRespo * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StopExpressRouteSiteFailoverSimulationFinalResult> + PollerFlux, ArmAcceptedLroResponse6> beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); @@ -2685,7 +2673,7 @@ Mono>> stopExpressRouteSiteFailoverSimulationWithRespo * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopExpressRouteSiteFailoverSimulationFinalResult> + SyncPoller, ArmAcceptedLroResponse6> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); @@ -2703,7 +2691,7 @@ Mono>> stopExpressRouteSiteFailoverSimulationWithRespo * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopExpressRouteSiteFailoverSimulationFinalResult> + SyncPoller, ArmAcceptedLroResponse6> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context); @@ -2720,9 +2708,8 @@ Mono>> stopExpressRouteSiteFailoverSimulationWithRespo * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopExpressRouteSiteFailoverSimulationAsync( - String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters); + Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); /** * This operation stops failover simulation on the gateway for the specified peering location. @@ -2737,7 +2724,7 @@ Mono stopExpressRouteSiteFail * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFailoverSimulation(String resourceGroupName, + ArmAcceptedLroResponse6 stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); /** @@ -2754,7 +2741,7 @@ StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFailoverSi * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFailoverSimulation(String resourceGroupName, + ArmAcceptedLroResponse6 stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context); /** @@ -2898,9 +2885,8 @@ Mono>> disconnectVirtualNetworkGatewayVpnConnectionsWi * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> - beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request); + PollerFlux, Void> beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. @@ -2914,9 +2900,8 @@ Mono>> disconnectVirtualNetworkGatewayVpnConnectionsWi * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> - beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, - P2SVpnConnectionRequest request); + SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. @@ -2931,9 +2916,8 @@ Mono>> disconnectVirtualNetworkGatewayVpnConnectionsWi * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> - beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, - P2SVpnConnectionRequest request, Context context); + SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. @@ -2944,11 +2928,11 @@ Mono>> disconnectVirtualNetworkGatewayVpnConnectionsWi * @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 body on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono disconnectVirtualNetworkGatewayVpnConnectionsAsync( - String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request); + Mono disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. @@ -2959,11 +2943,10 @@ Mono disconnectVirtual * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult disconnectVirtualNetworkGatewayVpnConnections( - String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request); + void disconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, + P2SVpnConnectionRequest request); /** * Disconnect vpn connections of virtual network gateway in the specified resource group. @@ -2975,11 +2958,10 @@ DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult disconnectVirtualNetwor * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult disconnectVirtualNetworkGatewayVpnConnections( - String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context); + void disconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, + P2SVpnConnectionRequest request, Context context); /** * Trigger prepare migration for the virtual network gateway. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java index 36cbffa35453..92775290b732 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java @@ -14,10 +14,10 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.VpnConnectionInner; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse12; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse13; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStopParameters; -import com.azure.resourcemanager.network.models.VpnConnectionsStartPacketCaptureFinalResult; -import com.azure.resourcemanager.network.models.VpnConnectionsStopPacketCaptureFinalResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -331,9 +331,9 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VpnConnectionsStartPacketCaptureFinalResult> - beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters); + PollerFlux, ArmAcceptedLroResponse12> beginStartPacketCaptureAsync( + String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -347,7 +347,7 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VpnConnectionsStartPacketCaptureFinalResult> + PollerFlux, ArmAcceptedLroResponse12> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName); /** @@ -362,7 +362,7 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VpnConnectionsStartPacketCaptureFinalResult> + SyncPoller, ArmAcceptedLroResponse12> beginStartPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); /** @@ -380,9 +380,9 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VpnConnectionsStartPacketCaptureFinalResult> - beginStartPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters, Context context); + SyncPoller, ArmAcceptedLroResponse12> beginStartPacketCapture( + String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters, Context context); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -398,8 +398,8 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters); + Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -413,8 +413,8 @@ Mono startPacketCaptureAsync(String * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName); + Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -428,8 +428,7 @@ Mono startPacketCaptureAsync(String * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - VpnConnectionsStartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName); + ArmAcceptedLroResponse12 startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -446,8 +445,8 @@ VpnConnectionsStartPacketCaptureFinalResult startPacketCapture(String resourceGr * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - VpnConnectionsStartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context); + ArmAcceptedLroResponse12 startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters, Context context); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -478,9 +477,9 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VpnConnectionsStopPacketCaptureFinalResult> - beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters); + PollerFlux, ArmAcceptedLroResponse13> beginStopPacketCaptureAsync( + String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -494,7 +493,7 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VpnConnectionsStopPacketCaptureFinalResult> + PollerFlux, ArmAcceptedLroResponse13> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName); /** @@ -509,7 +508,7 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VpnConnectionsStopPacketCaptureFinalResult> + SyncPoller, ArmAcceptedLroResponse13> beginStopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); /** @@ -526,9 +525,9 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, VpnConnectionsStopPacketCaptureFinalResult> - beginStopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters, Context context); + SyncPoller, ArmAcceptedLroResponse13> beginStopPacketCapture( + String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters, Context context); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -543,8 +542,8 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters); + Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -558,8 +557,8 @@ Mono stopPacketCaptureAsync(String r * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName); + Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -573,8 +572,7 @@ Mono stopPacketCaptureAsync(String r * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - VpnConnectionsStopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName); + ArmAcceptedLroResponse13 stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -590,8 +588,8 @@ VpnConnectionsStopPacketCaptureFinalResult stopPacketCapture(String resourceGrou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - VpnConnectionsStopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context); + ArmAcceptedLroResponse13 stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters, Context context); /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java index 94d538dd18d5..20b52af36264 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java @@ -14,8 +14,8 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.VpnGatewayInner; -import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult2; -import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult2; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse10; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse11; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStopParameters; @@ -612,7 +612,7 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StartPacketCaptureFinalResult2> beginStartPacketCaptureAsync( + PollerFlux, ArmAcceptedLroResponse10> beginStartPacketCaptureAsync( String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters); /** @@ -626,7 +626,7 @@ PollerFlux, StartPacketCaptureFinalRe * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StartPacketCaptureFinalResult2> + PollerFlux, ArmAcceptedLroResponse10> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName); /** @@ -640,7 +640,7 @@ PollerFlux, StartPacketCaptureFinalRe * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StartPacketCaptureFinalResult2> + SyncPoller, ArmAcceptedLroResponse10> beginStartPacketCapture(String resourceGroupName, String gatewayName); /** @@ -656,7 +656,7 @@ PollerFlux, StartPacketCaptureFinalRe * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StartPacketCaptureFinalResult2> beginStartPacketCapture( + SyncPoller, ArmAcceptedLroResponse10> beginStartPacketCapture( String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context); @@ -672,7 +672,7 @@ SyncPoller, StartPacketCaptureFinalRe * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters); /** @@ -686,7 +686,7 @@ Mono startPacketCaptureAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName); + Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName); /** * Starts packet capture on vpn gateway in the specified resource group. @@ -699,7 +699,7 @@ Mono startPacketCaptureAsync(String resourceGrou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StartPacketCaptureFinalResult2 startPacketCapture(String resourceGroupName, String gatewayName); + ArmAcceptedLroResponse10 startPacketCapture(String resourceGroupName, String gatewayName); /** * Starts packet capture on vpn gateway in the specified resource group. @@ -714,7 +714,7 @@ Mono startPacketCaptureAsync(String resourceGrou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StartPacketCaptureFinalResult2 startPacketCapture(String resourceGroupName, String gatewayName, + ArmAcceptedLroResponse10 startPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context); /** @@ -744,7 +744,7 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StopPacketCaptureFinalResult2> beginStopPacketCaptureAsync( + PollerFlux, ArmAcceptedLroResponse11> beginStopPacketCaptureAsync( String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters); /** @@ -758,7 +758,7 @@ PollerFlux, StopPacketCaptureFinalResu * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, StopPacketCaptureFinalResult2> + PollerFlux, ArmAcceptedLroResponse11> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName); /** @@ -772,7 +772,7 @@ PollerFlux, StopPacketCaptureFinalResu * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopPacketCaptureFinalResult2> + SyncPoller, ArmAcceptedLroResponse11> beginStopPacketCapture(String resourceGroupName, String gatewayName); /** @@ -788,7 +788,7 @@ PollerFlux, StopPacketCaptureFinalResu * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, StopPacketCaptureFinalResult2> beginStopPacketCapture( + SyncPoller, ArmAcceptedLroResponse11> beginStopPacketCapture( String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context); @@ -804,7 +804,7 @@ SyncPoller, StopPacketCaptureFinalResu * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters); /** @@ -818,7 +818,7 @@ Mono stopPacketCaptureAsync(String resourceGroupN * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName); + Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName); /** * Stops packet capture on vpn gateway in the specified resource group. @@ -831,7 +831,7 @@ Mono stopPacketCaptureAsync(String resourceGroupN * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopPacketCaptureFinalResult2 stopPacketCapture(String resourceGroupName, String gatewayName); + ArmAcceptedLroResponse11 stopPacketCapture(String resourceGroupName, String gatewayName); /** * Stops packet capture on vpn gateway in the specified resource group. @@ -846,6 +846,6 @@ Mono stopPacketCaptureAsync(String resourceGroupN * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - StopPacketCaptureFinalResult2 stopPacketCapture(String resourceGroupName, String gatewayName, + ArmAcceptedLroResponse11 stopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java index 5402661406e7..db4f3fd3ace8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java @@ -15,7 +15,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyResultInner; import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkConnectionInner; -import com.azure.resourcemanager.network.models.GetIkeSasFinalResult; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse14; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -535,8 +535,8 @@ Mono>> getIkeSasWithResponseAsync(String resourceGroup * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, GetIkeSasFinalResult> beginGetIkeSasAsync(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName); + PollerFlux, ArmAcceptedLroResponse14> beginGetIkeSasAsync( + String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); /** * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. @@ -551,7 +551,7 @@ PollerFlux, GetIkeSasFinalResult> beginGetIkeSa * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GetIkeSasFinalResult> beginGetIkeSas(String resourceGroupName, + SyncPoller, ArmAcceptedLroResponse14> beginGetIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); /** @@ -568,7 +568,7 @@ SyncPoller, GetIkeSasFinalResult> beginGetIkeSa * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, GetIkeSasFinalResult> beginGetIkeSas(String resourceGroupName, + SyncPoller, ArmAcceptedLroResponse14> beginGetIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context); /** @@ -584,7 +584,7 @@ SyncPoller, GetIkeSasFinalResult> beginGetIkeSa * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, + Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); /** @@ -600,7 +600,7 @@ Mono getIkeSasAsync(String resourceGroupName, String gatew * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - GetIkeSasFinalResult getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + ArmAcceptedLroResponse14 getIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); /** @@ -617,6 +617,6 @@ GetIkeSasFinalResult getIkeSas(String resourceGroupName, String gatewayName, Str * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - GetIkeSasFinalResult getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + ArmAcceptedLroResponse14 getIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java index 15665e2610fe..7f8407d68643 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java @@ -9,7 +9,7 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayFirewallManifestRuleSet; -import com.azure.resourcemanager.network.models.ProxyResourcewithoutEtag; +import com.azure.resourcemanager.network.models.ProxyResourceWithSettableId; import java.io.IOException; import java.util.List; @@ -17,7 +17,7 @@ * Response for ApplicationGatewayWafDynamicManifest API service call. */ @Immutable -public final class ApplicationGatewayWafDynamicManifestResultInner extends ProxyResourcewithoutEtag { +public final class ApplicationGatewayWafDynamicManifestResultInner extends ProxyResourceWithSettableId { /* * Properties of the ApplicationGatewayWafDynamicManifest . */ diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java index 757f76a8f777..38cf57982844 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java @@ -16,7 +16,7 @@ import com.azure.resourcemanager.network.models.ConnectionMonitorTestGroup; import com.azure.resourcemanager.network.models.ConnectionMonitorType; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.TrackedResourcewithOptionalLocation; +import com.azure.resourcemanager.network.models.TrackedResourceWithEtag; import java.io.IOException; import java.time.OffsetDateTime; import java.util.List; @@ -26,7 +26,7 @@ * Information about the connection monitor. */ @Fluent -public final class ConnectionMonitorResultInner extends TrackedResourcewithOptionalLocation { +public final class ConnectionMonitorResultInner extends TrackedResourceWithEtag { /* * Properties of the connection monitor result. */ diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java index 3bd80193ca92..5558fd5df2fc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java @@ -78,7 +78,6 @@ public void validate() { 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(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java index b60d2719267e..3a7d62ee7683 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java @@ -77,7 +77,6 @@ public void validate() { 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(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java index da833242cd9a..4ae75ec3c898 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java @@ -79,7 +79,6 @@ public void validate() { 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(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java index ac35ab3bf6c7..a58240d137fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java @@ -8,7 +8,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ResourceWithReadOnlyNameAndID; +import com.azure.resourcemanager.network.models.TrackedResourceWithOptionalLocation; import java.io.IOException; import java.util.Map; @@ -16,7 +16,7 @@ * ExpressRouteProviderPort resource. */ @Immutable -public final class ExpressRouteProviderPortInner extends ResourceWithReadOnlyNameAndID { +public final class ExpressRouteProviderPortInner extends TrackedResourceWithOptionalLocation { /* * Properties of the express route Service Provider Port. */ @@ -27,16 +27,6 @@ public final class ExpressRouteProviderPortInner extends ResourceWithReadOnlyNam */ private String etag; - /* - * Resource tags. - */ - private Map tags; - - /* - * Resource location. - */ - private String location; - /* * Resource type. */ @@ -76,26 +66,6 @@ public String etag() { return this.etag; } - /** - * Get the tags property: Resource tags. - * - * @return the tags value. - */ - @Override - public Map tags() { - return this.tags; - } - - /** - * Get the location property: Resource location. - * - * @return the location value. - */ - @Override - public String location() { - return this.location; - } - /** * Get the type property: Resource type. * @@ -245,10 +215,10 @@ public static ExpressRouteProviderPortInner fromJson(JsonReader jsonReader) thro } else if ("type".equals(fieldName)) { deserializedExpressRouteProviderPortInner.type = reader.getString(); } else if ("location".equals(fieldName)) { - deserializedExpressRouteProviderPortInner.location = reader.getString(); + deserializedExpressRouteProviderPortInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedExpressRouteProviderPortInner.tags = tags; + deserializedExpressRouteProviderPortInner.withTags(tags); } else if ("properties".equals(fieldName)) { deserializedExpressRouteProviderPortInner.innerProperties = ExpressRouteProviderPortProperties.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java index e959e24569ce..c377a6d68ef8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java @@ -14,7 +14,7 @@ import java.util.List; /** - * The response of a ExpressRouteProviderPort list operation. + * Response for ListExpressRouteProviderPort API service call. */ @Immutable public final class ExpressRouteProviderPortListResultInner @@ -77,7 +77,6 @@ public void validate() { 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(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java index 8e404ba1c855..7d4f29494d1c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java @@ -4,7 +4,8 @@ package com.azure.resourcemanager.network.fluent.models; -import com.azure.core.annotation.Immutable; +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -12,11 +13,12 @@ import com.azure.resourcemanager.network.models.SecurityPerimeterSystemData; import com.azure.resourcemanager.network.models.SecurityPerimeterTrackedResource; import java.io.IOException; +import java.util.Map; /** * The Network Security Perimeter resource. */ -@Immutable +@Fluent public final class NetworkSecurityPerimeterInner extends SecurityPerimeterTrackedResource { /* * The network security perimeter properties @@ -101,6 +103,24 @@ public String id() { return this.id; } + /** + * {@inheritDoc} + */ + @Override + public NetworkSecurityPerimeterInner withTags(Map tags) { + super.withTags(tags); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public NetworkSecurityPerimeterInner withLocation(String location) { + super.withLocation(location); + return this; + } + /** * Get the provisioningState property: The provisioning state of the scope assignment resource. * @@ -132,14 +152,23 @@ public void validate() { if (systemData() != null) { systemData().validate(); } + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property location in model NetworkSecurityPerimeterInner")); + } } + private static final ClientLogger LOGGER = new ClientLogger(NetworkSecurityPerimeterInner.class); + /** * {@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.innerProperties); return jsonWriter.writeEndObject(); } @@ -150,6 +179,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of NetworkSecurityPerimeterInner 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 NetworkSecurityPerimeterInner. */ public static NetworkSecurityPerimeterInner fromJson(JsonReader jsonReader) throws IOException { @@ -160,7 +190,9 @@ public static NetworkSecurityPerimeterInner fromJson(JsonReader jsonReader) thro String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { + if ("location".equals(fieldName)) { + deserializedNetworkSecurityPerimeterInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.id = reader.getString(); } else if ("name".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.name = reader.getString(); @@ -168,6 +200,9 @@ public static NetworkSecurityPerimeterInner fromJson(JsonReader jsonReader) thro deserializedNetworkSecurityPerimeterInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.systemData = SecurityPerimeterSystemData.fromJson(reader); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedNetworkSecurityPerimeterInner.withTags(tags); } else if ("properties".equals(fieldName)) { deserializedNetworkSecurityPerimeterInner.innerProperties = NetworkSecurityPerimeterProperties.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java index c301b09ea0ba..51365c2b587f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java @@ -5,13 +5,13 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Immutable; -import com.azure.core.management.exception.ManagementError; import com.azure.core.util.CoreUtils; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; +import com.azure.resourcemanager.network.models.ErrorDetail; import java.io.IOException; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; @@ -60,7 +60,12 @@ public final class OperationStatusResultInner implements JsonSerializable operations() { * * @return the error value. */ - public ManagementError error() { + public ErrorDetail 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; + } + /** * Validates the instance. * @@ -154,6 +169,9 @@ public void validate() { if (operations() != null) { operations().forEach(e -> e.validate()); } + if (error() != null) { + error().validate(); + } } private static final ClientLogger LOGGER = new ClientLogger(OperationStatusResultInner.class); @@ -212,7 +230,9 @@ public static OperationStatusResultInner fromJson(JsonReader jsonReader) throws = reader.readArray(reader1 -> OperationStatusResultInner.fromJson(reader1)); deserializedOperationStatusResultInner.operations = operations; } else if ("error".equals(fieldName)) { - deserializedOperationStatusResultInner.error = ManagementError.fromJson(reader); + deserializedOperationStatusResultInner.error = ErrorDetail.fromJson(reader); + } else if ("resourceId".equals(fieldName)) { + deserializedOperationStatusResultInner.resourceId = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java index a13a8c64351b..d1100d3ae394 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.P2SConnectionConfiguration; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; +import com.azure.resourcemanager.network.models.TrackedResourceWithSettableId; import com.azure.resourcemanager.network.models.VpnClientConnectionHealth; import java.io.IOException; import java.util.List; @@ -22,7 +22,7 @@ * P2SVpnGateway Resource. */ @Fluent -public final class P2SVpnGatewayInner extends ResourceWithRequiredLocation { +public final class P2SVpnGatewayInner extends TrackedResourceWithSettableId { /* * Properties of the P2SVpnGateway. */ diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java index f7a1d7b7f4f2..1a4cdcd7473e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java @@ -78,7 +78,6 @@ public void validate() { 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(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java index 9c36d1f74341..064da1d2bbd8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java @@ -78,7 +78,6 @@ public void validate() { 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(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java index 8e5ea9915d6e..1fe279ec9db3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java @@ -5,6 +5,7 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -14,6 +15,7 @@ import com.azure.resourcemanager.network.models.ServiceGatewaySku; import java.io.IOException; import java.util.List; +import java.util.Map; /** * ServiceGateway resource. @@ -175,6 +177,24 @@ public String id() { return this.id; } + /** + * {@inheritDoc} + */ + @Override + public ServiceGatewayInner withTags(Map tags) { + super.withTags(tags); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ServiceGatewayInner withLocation(String location) { + super.withLocation(location); + return this; + } + /** * Get the virtualNetwork property: Reference to an existing virtual network. * @@ -278,14 +298,22 @@ public void validate() { if (systemData() != null) { systemData().validate(); } + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property location in model ServiceGatewayInner")); + } } + private static final ClientLogger LOGGER = new ClientLogger(ServiceGatewayInner.class); + /** * {@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.innerProperties); jsonWriter.writeJsonField("sku", this.sku); jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element)); @@ -298,6 +326,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ServiceGatewayInner 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 ServiceGatewayInner. */ public static ServiceGatewayInner fromJson(JsonReader jsonReader) throws IOException { @@ -307,7 +336,9 @@ public static ServiceGatewayInner fromJson(JsonReader jsonReader) throws IOExcep String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { + if ("location".equals(fieldName)) { + deserializedServiceGatewayInner.withLocation(reader.getString()); + } else if ("id".equals(fieldName)) { deserializedServiceGatewayInner.id = reader.getString(); } else if ("name".equals(fieldName)) { deserializedServiceGatewayInner.name = reader.getString(); @@ -315,6 +346,9 @@ public static ServiceGatewayInner fromJson(JsonReader jsonReader) throws IOExcep deserializedServiceGatewayInner.type = reader.getString(); } else if ("systemData".equals(fieldName)) { deserializedServiceGatewayInner.systemData = SecurityPerimeterSystemData.fromJson(reader); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedServiceGatewayInner.withTags(tags); } else if ("properties".equals(fieldName)) { deserializedServiceGatewayInner.innerProperties = ServiceGatewayPropertiesFormatInner.fromJson(reader); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java index 541204e16fd0..29759ba88adb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java @@ -13,8 +13,8 @@ import com.azure.resourcemanager.network.models.HubRoutingPreference; import com.azure.resourcemanager.network.models.PreferredRoutingGateway; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; import com.azure.resourcemanager.network.models.RoutingState; +import com.azure.resourcemanager.network.models.TrackedResourceWithSettableId; import com.azure.resourcemanager.network.models.VirtualHubRouteTable; import com.azure.resourcemanager.network.models.VirtualRouterAutoScaleConfiguration; import java.io.IOException; @@ -25,7 +25,7 @@ * VirtualHub Resource. */ @Fluent -public final class VirtualHubInner extends ResourceWithRequiredLocation { +public final class VirtualHubInner extends TrackedResourceWithSettableId { /* * Properties of the virtual hub. */ diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java index d9fec9613cbf..5c83bf8d2505 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.OfficeTrafficCategory; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; +import com.azure.resourcemanager.network.models.TrackedResourceWithSettableId; import java.io.IOException; import java.util.List; import java.util.Map; @@ -21,7 +21,7 @@ * VirtualWAN Resource. */ @Fluent -public final class VirtualWanInner extends ResourceWithRequiredLocation { +public final class VirtualWanInner extends TrackedResourceWithSettableId { /* * Properties of the virtual WAN. */ diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java index b606fd67df55..8ffbbeac5c82 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java @@ -12,7 +12,7 @@ import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.BgpSettings; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; +import com.azure.resourcemanager.network.models.TrackedResourceWithSettableId; import com.azure.resourcemanager.network.models.VpnGatewayIpConfiguration; import java.io.IOException; import java.util.List; @@ -22,7 +22,7 @@ * VpnGateway Resource. */ @Fluent -public final class VpnGatewayInner extends ResourceWithRequiredLocation { +public final class VpnGatewayInner extends TrackedResourceWithSettableId { /* * Properties of the VPN gateway. */ diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java index 4f8e44978f22..bff7446116e5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java @@ -11,7 +11,7 @@ import com.azure.resourcemanager.network.models.AadAuthenticationParameters; import com.azure.resourcemanager.network.models.IpsecPolicy; import com.azure.resourcemanager.network.models.RadiusServer; -import com.azure.resourcemanager.network.models.ResourceWithWritableName; +import com.azure.resourcemanager.network.models.TrackedResourceWithSettableName; import com.azure.resourcemanager.network.models.VpnAuthenticationType; import com.azure.resourcemanager.network.models.VpnGatewayTunnelingProtocol; import com.azure.resourcemanager.network.models.VpnServerConfigRadiusClientRootCertificate; @@ -26,7 +26,7 @@ * VpnServerConfiguration Resource. */ @Fluent -public final class VpnServerConfigurationInner extends ResourceWithWritableName { +public final class VpnServerConfigurationInner extends TrackedResourceWithSettableName { /* * Properties of the P2SVpnServer configuration. */ diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java index 79abdc0dc447..2ced5337c3b3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java @@ -15,7 +15,7 @@ import com.azure.resourcemanager.network.models.DeviceProperties; import com.azure.resourcemanager.network.models.O365PolicyProperties; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.ResourceWithRequiredLocation; +import com.azure.resourcemanager.network.models.TrackedResourceWithSettableId; import java.io.IOException; import java.util.List; import java.util.Map; @@ -24,7 +24,7 @@ * VpnSite Resource. */ @Fluent -public final class VpnSiteInner extends ResourceWithRequiredLocation { +public final class VpnSiteInner extends TrackedResourceWithSettableId { /* * Properties of the VPN site. */ diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java index 0696d42e4785..a5c6e61c5707 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java @@ -44,7 +44,6 @@ import com.azure.resourcemanager.network.implementation.models.BastionShareableLinkListResult; import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; -import com.azure.resourcemanager.network.models.DeleteBastionShareableLinkFinalResult; import com.azure.resourcemanager.network.models.SessionIds; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; @@ -1574,14 +1573,12 @@ private Mono>> deleteBastionShareableLinkWithResponseA * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, DeleteBastionShareableLinkFinalResult> - beginDeleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest) { + public PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { Mono>> mono = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostName, bslRequest); - return this.client.getLroResult( - mono, this.client.getHttpPipeline(), DeleteBastionShareableLinkFinalResult.class, - DeleteBastionShareableLinkFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** @@ -1597,15 +1594,13 @@ private Mono>> deleteBastionShareableLinkWithResponseA * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, DeleteBastionShareableLinkFinalResult> - beginDeleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest, Context context) { + private PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { context = this.client.mergeContext(context); Mono>> mono = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostName, bslRequest, context); - return this.client.getLroResult( - mono, this.client.getHttpPipeline(), DeleteBastionShareableLinkFinalResult.class, - DeleteBastionShareableLinkFinalResult.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** @@ -1620,9 +1615,8 @@ private Mono>> deleteBastionShareableLinkWithResponseA * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, DeleteBastionShareableLinkFinalResult> - beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest) { + public SyncPoller, Void> beginDeleteBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { return this.beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest) .getSyncPoller(); } @@ -1640,9 +1634,8 @@ private Mono>> deleteBastionShareableLinkWithResponseA * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, DeleteBastionShareableLinkFinalResult> - beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest, Context context) { + public SyncPoller, Void> beginDeleteBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { return this.beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context) .getSyncPoller(); } @@ -1656,11 +1649,11 @@ private Mono>> deleteBastionShareableLinkWithResponseA * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteBastionShareableLinkAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest) { + public Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest) { return beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1675,11 +1668,11 @@ public Mono deleteBastionShareableLinkAsy * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteBastionShareableLinkAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + private Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context) { return beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1693,12 +1686,11 @@ private Mono deleteBastionShareableLinkAs * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DeleteBastionShareableLinkFinalResult deleteBastionShareableLink(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest) { - return deleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest).block(); + public void deleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest) { + deleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest).block(); } /** @@ -1711,12 +1703,11 @@ public DeleteBastionShareableLinkFinalResult deleteBastionShareableLink(String r * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DeleteBastionShareableLinkFinalResult deleteBastionShareableLink(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { - return deleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context).block(); + public void deleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context) { + deleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java index 94375fc5bbc5..25f97dd22526 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java @@ -37,7 +37,6 @@ import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorInner; import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorResultInner; import com.azure.resourcemanager.network.implementation.models.ConnectionMonitorListResult; -import com.azure.resourcemanager.network.models.StopFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -1237,12 +1236,12 @@ private Mono>> stopWithResponseAsync(String resourceGr * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, - String networkWatcherName, String connectionMonitorName) { + public PollerFlux, Void> beginStopAsync(String resourceGroupName, String networkWatcherName, + String connectionMonitorName) { Mono>> mono = stopWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - StopFinalResult.class, StopFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** @@ -1258,13 +1257,13 @@ public PollerFlux, StopFinalResult> beginStopAsync(S * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, StopFinalResult> beginStopAsync(String resourceGroupName, - String networkWatcherName, String connectionMonitorName, Context context) { + private PollerFlux, Void> beginStopAsync(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopWithResponseAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - StopFinalResult.class, StopFinalResult.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** @@ -1279,8 +1278,8 @@ private PollerFlux, StopFinalResult> beginStopAsync( * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopFinalResult> beginStop(String resourceGroupName, - String networkWatcherName, String connectionMonitorName) { + public SyncPoller, Void> beginStop(String resourceGroupName, String networkWatcherName, + String connectionMonitorName) { return this.beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).getSyncPoller(); } @@ -1297,8 +1296,8 @@ public SyncPoller, StopFinalResult> beginStop(String * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopFinalResult> beginStop(String resourceGroupName, - String networkWatcherName, String connectionMonitorName, Context context) { + public SyncPoller, Void> beginStop(String resourceGroupName, String networkWatcherName, + String connectionMonitorName, Context context) { return this.beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context) .getSyncPoller(); } @@ -1312,11 +1311,10 @@ public SyncPoller, StopFinalResult> beginStop(String * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopAsync(String resourceGroupName, String networkWatcherName, - String connectionMonitorName) { + public Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { return beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1331,11 +1329,11 @@ public Mono stopAsync(String resourceGroupName, String networkW * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopAsync(String resourceGroupName, String networkWatcherName, - String connectionMonitorName, Context context) { + private Mono stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, + Context context) { return beginStopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1349,11 +1347,10 @@ private Mono stopAsync(String resourceGroupName, String network * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopFinalResult stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { - return stopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).block(); + public void stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName) { + stopAsync(resourceGroupName, networkWatcherName, connectionMonitorName).block(); } /** @@ -1366,12 +1363,11 @@ public StopFinalResult stop(String resourceGroupName, String networkWatcherName, * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopFinalResult stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, + public void stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, Context context) { - return stopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context).block(); + stopAsync(resourceGroupName, networkWatcherName, connectionMonitorName, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java index ad5bc38687e3..794d8429bab0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java @@ -73,7 +73,7 @@ Mono> list(@HostParam("endpoin * @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 ExpressRouteProviderPort list operation along with {@link Response} on successful + * @return response for ListExpressRouteProviderPort API service call along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -102,7 +102,7 @@ public Mono> listWithResponseA * @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 ExpressRouteProviderPort list operation along with {@link Response} on successful + * @return response for ListExpressRouteProviderPort API service call along with {@link Response} on successful * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -128,7 +128,7 @@ private Mono> listWithResponse * * @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 ExpressRouteProviderPort list operation on successful completion of {@link Mono}. + * @return response for ListExpressRouteProviderPort API service call on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listAsync() { @@ -144,7 +144,7 @@ public Mono listAsync() { * @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 ExpressRouteProviderPort list operation along with {@link Response}. + * @return response for ListExpressRouteProviderPort API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listWithResponse(String filter, Context context) { @@ -156,7 +156,7 @@ public Response listWithResponse(String * * @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 ExpressRouteProviderPort list operation. + * @return response for ListExpressRouteProviderPort API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) public ExpressRouteProviderPortListResultInner list() { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java index d459796fba3f..034958e92f71 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java @@ -37,6 +37,8 @@ import com.azure.resourcemanager.network.fluent.models.EffectiveNetworkSecurityGroupListResultInner; import com.azure.resourcemanager.network.fluent.models.EffectiveRouteListResultInner; import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceInner; +import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; +import com.azure.resourcemanager.network.implementation.models.NetworkInterfaceIPConfigurationListResult; import com.azure.resourcemanager.network.implementation.models.NetworkInterfaceListResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; @@ -226,6 +228,33 @@ Mono> listVirtualMachineScaleSetNetworkInte @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, @HeaderParam("Accept") String accept, Context context); + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getVirtualMachineScaleSetIpConfiguration( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @PathParam("virtualmachineIndex") String virtualmachineIndex, + @PathParam("networkInterfaceName") String networkInterfaceName, + @PathParam("ipConfigurationName") String ipConfigurationName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listVirtualMachineScaleSetIpConfigurations( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @PathParam("virtualmachineIndex") String virtualmachineIndex, + @PathParam("networkInterfaceName") String networkInterfaceName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); + @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -273,6 +302,14 @@ Mono> listCloudServiceNetworkInterfacesNext Mono> listVirtualMachineScaleSetNetworkInterfacesNext( @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> listVirtualMachineScaleSetIpConfigurationsNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); } /** @@ -2664,6 +2701,416 @@ public PagedIterable listVirtualMachineScaleSetNetworkInt listVirtualMachineScaleSetNetworkInterfacesAsync(resourceGroupName, virtualMachineScaleSetName, context)); } + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> + getVirtualMachineScaleSetIpConfigurationWithResponseAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String expand) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getVirtualMachineScaleSetIpConfiguration(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + getVirtualMachineScaleSetIpConfigurationWithResponseAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String expand, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getVirtualMachineScaleSetIpConfiguration(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, ipConfigurationName, expand, accept, context); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 network interface ip configuration in a virtual machine scale set on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getVirtualMachineScaleSetIpConfigurationAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName) { + final String expand = null; + return getVirtualMachineScaleSetIpConfigurationWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getVirtualMachineScaleSetIpConfigurationWithResponse( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String expand, Context context) { + return getVirtualMachineScaleSetIpConfigurationWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, context).block(); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 network interface ip configuration in a virtual machine scale set. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfiguration(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName) { + final String expand = null; + return getVirtualMachineScaleSetIpConfigurationWithResponse(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, Context.NONE).getValue(); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listVirtualMachineScaleSetIpConfigurations(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, expand, 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 specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + final String apiVersion = "2018-10-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetIpConfigurations(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, expand, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand), + nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink)); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName) { + final String expand = null; + return new PagedFlux<>( + () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand), + nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink)); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand, Context context) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand, context), + nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink, context)); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetIpConfigurations( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName) { + final String expand = null; + return new PagedIterable<>(listVirtualMachineScaleSetIpConfigurationsAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand)); + } + + /** + * Get the specified network interface ip configuration in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param expand Expands referenced resources. + * @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 network interface ip configuration in a virtual machine scale set as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetIpConfigurations( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String expand, Context context) { + return new PagedIterable<>(listVirtualMachineScaleSetIpConfigurationsAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand, context)); + } + /** * Get the next page of items. * @@ -3001,4 +3448,62 @@ private Mono> listAllNextSinglePageAsync(St .map(res -> 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 specified network interface ip configuration in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listVirtualMachineScaleSetIpConfigurationsNext(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. + * @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 network interface ip configuration in a virtual machine scale set along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetIpConfigurationsNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesOperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesOperationsClientImpl.java deleted file mode 100644 index 3fa7f6e227ec..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesOperationsClientImpl.java +++ /dev/null @@ -1,568 +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.network.implementation; - -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.PathParam; -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.util.Context; -import com.azure.core.util.FluxUtil; -import com.azure.resourcemanager.network.fluent.NetworkInterfacesOperationsClient; -import com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationInner; -import com.azure.resourcemanager.network.implementation.models.NetworkInterfaceIPConfigurationListResult; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in NetworkInterfacesOperationsClient. - */ -public final class NetworkInterfacesOperationsClientImpl implements NetworkInterfacesOperationsClient { - /** - * The proxy service used to perform REST calls. - */ - private final NetworkInterfacesOperationsService service; - - /** - * The service client containing this operation class. - */ - private final NetworkManagementClientImpl client; - - /** - * Initializes an instance of NetworkInterfacesOperationsClientImpl. - * - * @param client the instance of the service client containing this operation class. - */ - NetworkInterfacesOperationsClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(NetworkInterfacesOperationsService.class, client.getHttpPipeline(), - client.getSerializerAdapter()); - this.client = client; - } - - /** - * The interface defining all the services for NetworkManagementClientNetworkInterfacesOperations to be used by the - * proxy service to perform REST calls. - */ - @Host("{endpoint}") - @ServiceInterface(name = "NetworkManagementClientNetworkInterfacesOperations") - public interface NetworkInterfacesOperationsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getVirtualMachineScaleSetIpConfiguration( - @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @PathParam("virtualmachineIndex") String virtualmachineIndex, - @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("ipConfigurationName") String ipConfigurationName, @QueryParam("$expand") String expand, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetIpConfigurations( - @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @PathParam("virtualmachineIndex") String virtualmachineIndex, - @PathParam("networkInterfaceName") String networkInterfaceName, @QueryParam("$expand") String expand, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetIpConfigurationsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, - @HeaderParam("Accept") String accept, Context context); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - getVirtualMachineScaleSetIpConfigurationWithResponseAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String expand) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getVirtualMachineScaleSetIpConfiguration(this.client.getEndpoint(), - apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - getVirtualMachineScaleSetIpConfigurationWithResponseAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String expand, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getVirtualMachineScaleSetIpConfiguration(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, - networkInterfaceName, ipConfigurationName, expand, accept, context); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 network interface ip configuration in a virtual machine scale set on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getVirtualMachineScaleSetIpConfigurationAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName) { - final String expand = null; - return getVirtualMachineScaleSetIpConfigurationWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getVirtualMachineScaleSetIpConfigurationWithResponse( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String expand, Context context) { - return getVirtualMachineScaleSetIpConfigurationWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, context).block(); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 network interface ip configuration in a virtual machine scale set. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkInterfaceIpConfigurationInner getVirtualMachineScaleSetIpConfiguration(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName) { - final String expand = null; - return getVirtualMachineScaleSetIpConfigurationWithResponse(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, expand, Context.NONE).getValue(); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetIpConfigurations(this.client.getEndpoint(), - apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, expand, 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 specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String expand, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetIpConfigurations(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, - networkInterfaceName, expand, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand), - nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink)); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName) { - final String expand = null; - return new PagedFlux<>( - () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand), - nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink)); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listVirtualMachineScaleSetIpConfigurationsAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand, Context context) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetIpConfigurationsSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand, context), - nextLink -> listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(nextLink, context)); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetIpConfigurations( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName) { - final String expand = null; - return new PagedIterable<>(listVirtualMachineScaleSetIpConfigurationsAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand)); - } - - /** - * Get the specified network interface ip configuration in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param expand Expands referenced resources. - * @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 network interface ip configuration in a virtual machine scale set as paginated response - * with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetIpConfigurations( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String expand, Context context) { - return new PagedIterable<>(listVirtualMachineScaleSetIpConfigurationsAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, expand, 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 specified network interface ip configuration in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetIpConfigurationsNext(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. - * @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 network interface ip configuration in a virtual machine scale set along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetIpConfigurationsNextSinglePageAsync(String nextLink, Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetIpConfigurationsNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java index 6af37d6b3121..879b0a8eee46 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java @@ -82,7 +82,6 @@ import com.azure.resourcemanager.network.fluent.NetworkInterfaceLoadBalancersClient; import com.azure.resourcemanager.network.fluent.NetworkInterfaceTapConfigurationsClient; import com.azure.resourcemanager.network.fluent.NetworkInterfacesClient; -import com.azure.resourcemanager.network.fluent.NetworkInterfacesOperationsClient; import com.azure.resourcemanager.network.fluent.NetworkManagementClient; import com.azure.resourcemanager.network.fluent.NetworkManagerCommitsClient; import com.azure.resourcemanager.network.fluent.NetworkManagerDeploymentStatusOperationsClient; @@ -2519,20 +2518,6 @@ public UsagesClient getUsages() { return this.usages; } - /** - * The NetworkInterfacesOperationsClient object to access its operations. - */ - private final NetworkInterfacesOperationsClient networkInterfacesOperations; - - /** - * Gets the NetworkInterfacesOperationsClient object to access its operations. - * - * @return the NetworkInterfacesOperationsClient object. - */ - public NetworkInterfacesOperationsClient getNetworkInterfacesOperations() { - return this.networkInterfacesOperations; - } - /** * Initializes an instance of NetworkManagementClient client. * @@ -2718,6 +2703,5 @@ public NetworkInterfacesOperationsClient getNetworkInterfacesOperations() { this.serviceTags = new ServiceTagsClientImpl(this); this.serviceTagInformations = new ServiceTagInformationsClientImpl(this); this.usages = new UsagesClientImpl(this); - this.networkInterfacesOperations = new NetworkInterfacesOperationsClientImpl(this); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCaptureImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCaptureImpl.java index dea1e7abadcf..53236857a318 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCaptureImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCaptureImpl.java @@ -131,7 +131,6 @@ public boolean isInCreateMode() { @Override public Mono createResourceAsync() { return this.client.createAsync(parent.resourceGroupName(), parent.name(), this.name(), createParameters) - .flatMap(ignored -> this.client.getAsync(parent.resourceGroupName(), parent.name(), this.name())) .map(innerToFluentMap(this)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java index fb51e0526def..e320c448dbca 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java @@ -33,7 +33,6 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.PacketCapturesClient; -import com.azure.resourcemanager.network.fluent.models.NetworkWatcherInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureQueryStatusResultInner; import com.azure.resourcemanager.network.fluent.models.PacketCaptureResultInner; @@ -259,12 +258,13 @@ private Mono>> createWithResponseAsync(String resource * @return the {@link PollerFlux} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, NetworkWatcherInner> beginCreateAsync(String resourceGroupName, - String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters) { + public PollerFlux, PacketCaptureResultInner> beginCreateAsync( + String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters) { Mono>> mono = createWithResponseAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - NetworkWatcherInner.class, NetworkWatcherInner.class, this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), PacketCaptureResultInner.class, PacketCaptureResultInner.class, + this.client.getContext()); } /** @@ -281,13 +281,14 @@ public PollerFlux, NetworkWatcherInner> beginCre * @return the {@link PollerFlux} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, NetworkWatcherInner> beginCreateAsync(String resourceGroupName, - String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context) { + private PollerFlux, PacketCaptureResultInner> beginCreateAsync( + String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = createWithResponseAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - NetworkWatcherInner.class, NetworkWatcherInner.class, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), PacketCaptureResultInner.class, PacketCaptureResultInner.class, context); } /** @@ -303,8 +304,8 @@ private PollerFlux, NetworkWatcherInner> beginCr * @return the {@link SyncPoller} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, NetworkWatcherInner> beginCreate(String resourceGroupName, - String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters) { + public SyncPoller, PacketCaptureResultInner> beginCreate( + String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters) { return this.beginCreateAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters) .getSyncPoller(); } @@ -323,8 +324,9 @@ public SyncPoller, NetworkWatcherInner> beginCre * @return the {@link SyncPoller} for polling of information about packet capture session. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, NetworkWatcherInner> beginCreate(String resourceGroupName, - String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context) { + public SyncPoller, PacketCaptureResultInner> beginCreate( + String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, + Context context) { return this.beginCreateAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters, context) .getSyncPoller(); } @@ -342,7 +344,7 @@ public SyncPoller, NetworkWatcherInner> beginCre * @return information about packet capture session on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createAsync(String resourceGroupName, String networkWatcherName, + public Mono createAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters) { return beginCreateAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -362,7 +364,7 @@ public Mono createAsync(String resourceGroupName, String ne * @return information about packet capture session on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createAsync(String resourceGroupName, String networkWatcherName, + private Mono createAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context) { return beginCreateAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -381,8 +383,8 @@ private Mono createAsync(String resourceGroupName, String n * @return information about packet capture session. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkWatcherInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, - PacketCaptureInner parameters) { + public PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, + String packetCaptureName, PacketCaptureInner parameters) { return createAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters).block(); } @@ -400,8 +402,8 @@ public NetworkWatcherInner create(String resourceGroupName, String networkWatche * @return information about packet capture session. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkWatcherInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, - PacketCaptureInner parameters, Context context) { + public PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, + String packetCaptureName, PacketCaptureInner parameters, Context context) { return createAsync(resourceGroupName, networkWatcherName, packetCaptureName, parameters, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java index 23a64ae87057..1fd18727f98b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java @@ -62,17 +62,6 @@ public final class PublicIPAddressesOperationsClientImpl implements PublicIPAddr @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientPublicIPAddressesOperations") public interface PublicIPAddressesOperationsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetPublicIPAddresses( - @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}") @ExpectedResponses({ 200 }) @@ -102,14 +91,6 @@ Mono> listVirtualMachineScaleSetVMPublicIPAd @PathParam("ipConfigurationName") String ipConfigurationName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetPublicIPAddressesNext( - @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 }) @@ -119,166 +100,6 @@ Mono> listVirtualMachineScaleSetVMPublicIPAd @HeaderParam("Accept") String accept, Context context); } - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.listVirtualMachineScaleSetPublicIPAddresses(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, 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())); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetPublicIPAddresses(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName), - nextLink -> listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(nextLink)); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName, Context context) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, context), - nextLink -> listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, - String virtualMachineScaleSetName) { - return new PagedIterable<>( - listVirtualMachineScaleSetPublicIPAddressesAsync(resourceGroupName, virtualMachineScaleSetName)); - } - - /** - * Gets information about all public IP addresses on a virtual machine scale set level. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The name of the virtual machine scale set. - * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with - * {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, - String virtualMachineScaleSetName, Context context) { - return new PagedIterable<>( - listVirtualMachineScaleSetPublicIPAddressesAsync(resourceGroupName, virtualMachineScaleSetName, context)); - } - /** * Get the specified public IP address in a virtual machine scale set. * @@ -691,64 +512,6 @@ public PagedIterable listVirtualMachineScaleSetVMPublicIPA virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, 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 information about all public IP addresses on a virtual machine scale set level along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetPublicIPAddressesNext(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. - * @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 information about all public IP addresses on a virtual machine scale set level along with - * {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetPublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - /** * Get the next page of items. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java index 2c1077b969b6..f4ba21233952 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java @@ -206,6 +206,17 @@ Mono> listCloudServicePublicIPAddresses( @PathParam("cloudServiceName") String cloudServiceName, @HeaderParam("Accept") String accept, Context context); + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listVirtualMachineScaleSetPublicIPAddresses( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @HeaderParam("Accept") String accept, Context context); + @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -237,6 +248,14 @@ Mono> listAllNext( Mono> listCloudServicePublicIPAddressesNext( @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> listVirtualMachineScaleSetPublicIPAddressesNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); } /** @@ -2508,6 +2527,166 @@ public PagedIterable listCloudServicePublicIPAddresses(Str listCloudServicePublicIPAddressesAsync(resourceGroupName, cloudServiceName, context)); } + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.listVirtualMachineScaleSetPublicIPAddresses(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, 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())); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetPublicIPAddresses(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName), + nextLink -> listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(nextLink)); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName, Context context) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, context), + nextLink -> listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName) { + return new PagedIterable<>( + listVirtualMachineScaleSetPublicIPAddressesAsync(resourceGroupName, virtualMachineScaleSetName)); + } + + /** + * Gets information about all public IP addresses on a virtual machine scale set level. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The name of the virtual machine scale set. + * @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 information about all public IP addresses on a virtual machine scale set level as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, Context context) { + return new PagedIterable<>( + listVirtualMachineScaleSetPublicIPAddressesAsync(resourceGroupName, virtualMachineScaleSetName, context)); + } + /** * Get the next page of items. * @@ -2729,4 +2908,62 @@ private Mono> listAllNextSinglePageAsync(Str .map(res -> 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 information about all public IP addresses on a virtual machine scale set level along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listVirtualMachineScaleSetPublicIPAddressesNext(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. + * @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 information about all public IP addresses on a virtual machine scale set level along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetPublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java index 2aedf20b4d90..e341ef2cf2d0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java @@ -40,7 +40,6 @@ import com.azure.resourcemanager.network.implementation.models.GetServiceGatewayAddressLocationsResult; import com.azure.resourcemanager.network.implementation.models.GetServiceGatewayServicesResult; import com.azure.resourcemanager.network.implementation.models.ServiceGatewayListResult; -import com.azure.resourcemanager.network.models.NoContentResponse; import com.azure.resourcemanager.network.models.ServiceGatewayUpdateAddressLocationsRequest; import com.azure.resourcemanager.network.models.ServiceGatewayUpdateServicesRequest; import com.azure.resourcemanager.network.models.TagsObject; @@ -1288,12 +1287,12 @@ private Mono>> updateAddressLocationsWithResponseAsync * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, NoContentResponse> beginUpdateAddressLocationsAsync( - String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { + public PollerFlux, Void> beginUpdateAddressLocationsAsync(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { Mono>> mono = updateAddressLocationsWithResponseAsync(resourceGroupName, serviceGatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - NoContentResponse.class, NoContentResponse.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** @@ -1320,14 +1319,13 @@ public PollerFlux, NoContentResponse> beginUpdateA * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, NoContentResponse> beginUpdateAddressLocationsAsync( - String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, - Context context) { + private PollerFlux, Void> beginUpdateAddressLocationsAsync(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = updateAddressLocationsWithResponseAsync(resourceGroupName, serviceGatewayName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - NoContentResponse.class, NoContentResponse.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** @@ -1353,8 +1351,8 @@ private PollerFlux, NoContentResponse> beginUpdate * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, NoContentResponse> beginUpdateAddressLocations( - String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { + public SyncPoller, Void> beginUpdateAddressLocations(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { return this.beginUpdateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters).getSyncPoller(); } @@ -1382,9 +1380,8 @@ public SyncPoller, NoContentResponse> beginUpdateA * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, NoContentResponse> beginUpdateAddressLocations( - String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, - Context context) { + public SyncPoller, Void> beginUpdateAddressLocations(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context) { return this.beginUpdateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters, context) .getSyncPoller(); } @@ -1409,10 +1406,10 @@ public SyncPoller, NoContentResponse> beginUpdateA * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, + public Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { return beginUpdateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1439,10 +1436,10 @@ public Mono updateAddressLocationsAsync(String resourceGroupN * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, + private Mono updateAddressLocationsAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context) { return beginUpdateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1468,12 +1465,11 @@ private Mono updateAddressLocationsAsync(String resourceGroup * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NoContentResponse updateAddressLocations(String resourceGroupName, String serviceGatewayName, + public void updateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters) { - return updateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters).block(); + updateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters).block(); } /** @@ -1497,12 +1493,11 @@ public NoContentResponse updateAddressLocations(String resourceGroupName, String * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NoContentResponse updateAddressLocations(String resourceGroupName, String serviceGatewayName, + public void updateAddressLocations(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateAddressLocationsRequest parameters, Context context) { - return updateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters, context).block(); + updateAddressLocationsAsync(resourceGroupName, serviceGatewayName, parameters, context).block(); } /** @@ -1614,12 +1609,12 @@ private Mono>> updateServicesWithResponseAsync(String * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, NoContentResponse> beginUpdateServicesAsync( - String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) { + public PollerFlux, Void> beginUpdateServicesAsync(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) { Mono>> mono = updateServicesWithResponseAsync(resourceGroupName, serviceGatewayName, parameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - NoContentResponse.class, NoContentResponse.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** @@ -1639,14 +1634,13 @@ public PollerFlux, NoContentResponse> beginUpdateS * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, NoContentResponse> beginUpdateServicesAsync( - String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, - Context context) { + private PollerFlux, Void> beginUpdateServicesAsync(String resourceGroupName, + String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = updateServicesWithResponseAsync(resourceGroupName, serviceGatewayName, parameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - NoContentResponse.class, NoContentResponse.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** @@ -1665,8 +1659,8 @@ private PollerFlux, NoContentResponse> beginUpdate * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, NoContentResponse> beginUpdateServices(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) { + public SyncPoller, Void> beginUpdateServices(String resourceGroupName, String serviceGatewayName, + ServiceGatewayUpdateServicesRequest parameters) { return this.beginUpdateServicesAsync(resourceGroupName, serviceGatewayName, parameters).getSyncPoller(); } @@ -1687,8 +1681,8 @@ public SyncPoller, NoContentResponse> beginUpdateS * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, NoContentResponse> beginUpdateServices(String resourceGroupName, - String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context) { + public SyncPoller, Void> beginUpdateServices(String resourceGroupName, String serviceGatewayName, + ServiceGatewayUpdateServicesRequest parameters, Context context) { return this.beginUpdateServicesAsync(resourceGroupName, serviceGatewayName, parameters, context) .getSyncPoller(); } @@ -1706,10 +1700,10 @@ public SyncPoller, NoContentResponse> beginUpdateS * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, + public Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) { return beginUpdateServicesAsync(resourceGroupName, serviceGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1729,10 +1723,10 @@ public Mono updateServicesAsync(String resourceGroupName, Str * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, + private Mono updateServicesAsync(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context) { return beginUpdateServicesAsync(resourceGroupName, serviceGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1751,12 +1745,11 @@ private Mono updateServicesAsync(String resourceGroupName, St * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NoContentResponse updateServices(String resourceGroupName, String serviceGatewayName, + public void updateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters) { - return updateServicesAsync(resourceGroupName, serviceGatewayName, parameters).block(); + updateServicesAsync(resourceGroupName, serviceGatewayName, parameters).block(); } /** @@ -1773,12 +1766,11 @@ public NoContentResponse updateServices(String resourceGroupName, String service * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NoContentResponse updateServices(String resourceGroupName, String serviceGatewayName, + public void updateServices(String resourceGroupName, String serviceGatewayName, ServiceGatewayUpdateServicesRequest parameters, Context context) { - return updateServicesAsync(resourceGroupName, serviceGatewayName, parameters, context).block(); + updateServicesAsync(resourceGroupName, serviceGatewayName, parameters, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java index c6696f0abc99..9c8e2c90320b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java @@ -35,9 +35,7 @@ import com.azure.resourcemanager.network.fluent.SubnetsClient; import com.azure.resourcemanager.network.fluent.models.SubnetInner; import com.azure.resourcemanager.network.implementation.models.SubnetListResult; -import com.azure.resourcemanager.network.models.PrepareNetworkPoliciesFinalResult; import com.azure.resourcemanager.network.models.PrepareNetworkPoliciesRequest; -import com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesFinalResult; import com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesRequest; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -1033,14 +1031,13 @@ private Mono>> prepareNetworkPoliciesWithResponseAsync * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, PrepareNetworkPoliciesFinalResult> - beginPrepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { + public PollerFlux, Void> beginPrepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { Mono>> mono = prepareNetworkPoliciesWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), PrepareNetworkPoliciesFinalResult.class, - PrepareNetworkPoliciesFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** @@ -1058,15 +1055,14 @@ private Mono>> prepareNetworkPoliciesWithResponseAsync * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, PrepareNetworkPoliciesFinalResult> - beginPrepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { + private PollerFlux, Void> beginPrepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = prepareNetworkPoliciesWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), PrepareNetworkPoliciesFinalResult.class, - PrepareNetworkPoliciesFinalResult.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** @@ -1083,9 +1079,9 @@ private Mono>> prepareNetworkPoliciesWithResponseAsync * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, PrepareNetworkPoliciesFinalResult> - beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { + public SyncPoller, Void> beginPrepareNetworkPolicies(String resourceGroupName, + String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { return this .beginPrepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters) @@ -1107,9 +1103,9 @@ private Mono>> prepareNetworkPoliciesWithResponseAsync * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, PrepareNetworkPoliciesFinalResult> - beginPrepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { + public SyncPoller, Void> beginPrepareNetworkPolicies(String resourceGroupName, + String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { return this .beginPrepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, context) @@ -1127,12 +1123,11 @@ private Mono>> prepareNetworkPoliciesWithResponseAsync * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono prepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { + public Mono prepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, + String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { return beginPrepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters).last().flatMap(this.client::getLroFinalResultOrError); } @@ -1149,12 +1144,11 @@ public Mono prepareNetworkPoliciesAsync(Strin * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono prepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, - PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { + private Mono prepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, + String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { return beginPrepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, context).last().flatMap(this.client::getLroFinalResultOrError); } @@ -1170,12 +1164,11 @@ private Mono prepareNetworkPoliciesAsync(Stri * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrepareNetworkPoliciesFinalResult prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, - String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { - return prepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, + public void prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters) { + prepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters).block(); } @@ -1191,12 +1184,11 @@ public PrepareNetworkPoliciesFinalResult prepareNetworkPolicies(String resourceG * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrepareNetworkPoliciesFinalResult prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, - String subnetName, PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { - return prepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, + public void prepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, + PrepareNetworkPoliciesRequest prepareNetworkPoliciesRequestParameters, Context context) { + prepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, prepareNetworkPoliciesRequestParameters, context).block(); } @@ -1316,14 +1308,13 @@ private Mono>> unprepareNetworkPoliciesWithResponseAsy * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, UnprepareNetworkPoliciesFinalResult> - beginUnprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { + public PollerFlux, Void> beginUnprepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { Mono>> mono = unprepareNetworkPoliciesWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), UnprepareNetworkPoliciesFinalResult.class, - UnprepareNetworkPoliciesFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** @@ -1341,15 +1332,14 @@ private Mono>> unprepareNetworkPoliciesWithResponseAsy * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, UnprepareNetworkPoliciesFinalResult> - beginUnprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { + private PollerFlux, Void> beginUnprepareNetworkPoliciesAsync(String resourceGroupName, + String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = unprepareNetworkPoliciesWithResponseAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), UnprepareNetworkPoliciesFinalResult.class, - UnprepareNetworkPoliciesFinalResult.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** @@ -1366,9 +1356,9 @@ private Mono>> unprepareNetworkPoliciesWithResponseAsy * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, UnprepareNetworkPoliciesFinalResult> - beginUnprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { + public SyncPoller, Void> beginUnprepareNetworkPolicies(String resourceGroupName, + String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { return this .beginUnprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters) @@ -1390,9 +1380,9 @@ private Mono>> unprepareNetworkPoliciesWithResponseAsy * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, UnprepareNetworkPoliciesFinalResult> - beginUnprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { + public SyncPoller, Void> beginUnprepareNetworkPolicies(String resourceGroupName, + String virtualNetworkName, String subnetName, + UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { return this .beginUnprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters, context) @@ -1410,12 +1400,11 @@ private Mono>> unprepareNetworkPoliciesWithResponseAsy * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono unprepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { + public Mono unprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, + String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { return beginUnprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters).last().flatMap(this.client::getLroFinalResultOrError); } @@ -1432,12 +1421,11 @@ public Mono unprepareNetworkPoliciesAsync(S * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono unprepareNetworkPoliciesAsync(String resourceGroupName, - String virtualNetworkName, String subnetName, - UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { + private Mono unprepareNetworkPoliciesAsync(String resourceGroupName, String virtualNetworkName, + String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { return beginUnprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters, context).last().flatMap(this.client::getLroFinalResultOrError); } @@ -1453,13 +1441,11 @@ private Mono unprepareNetworkPoliciesAsync( * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public UnprepareNetworkPoliciesFinalResult unprepareNetworkPolicies(String resourceGroupName, - String virtualNetworkName, String subnetName, + public void unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters) { - return unprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, + unprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters).block(); } @@ -1475,13 +1461,11 @@ public UnprepareNetworkPoliciesFinalResult unprepareNetworkPolicies(String resou * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public UnprepareNetworkPoliciesFinalResult unprepareNetworkPolicies(String resourceGroupName, - String virtualNetworkName, String subnetName, + public void unprepareNetworkPolicies(String resourceGroupName, String virtualNetworkName, String subnetName, UnprepareNetworkPoliciesRequest unprepareNetworkPoliciesRequestParameters, Context context) { - return unprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, + unprepareNetworkPoliciesAsync(resourceGroupName, virtualNetworkName, subnetName, unprepareNetworkPoliciesRequestParameters, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java index a46731bc31b6..7d2d9a9d91dd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java @@ -29,7 +29,6 @@ import com.azure.resourcemanager.network.fluent.VipSwapsClient; import com.azure.resourcemanager.network.fluent.models.SwapResourceInner; import com.azure.resourcemanager.network.fluent.models.SwapResourceListResultInner; -import com.azure.resourcemanager.network.models.SingletonResource; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -72,7 +71,7 @@ public interface VipSwapsService { Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("groupName") String groupName, @PathParam("resourceName") String resourceName, - @PathParam("singletonResource") SingletonResource singletonResource, @HeaderParam("Accept") String accept, + @PathParam("singletonResource") String singletonResource, @HeaderParam("Accept") String accept, Context context); @Headers({ "Accept: application/json;q=0.9" }) @@ -82,8 +81,7 @@ Mono> get(@HostParam("endpoint") String endpoint, Mono>> create(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("groupName") String groupName, @PathParam("resourceName") String resourceName, - @PathParam("singletonResource") SingletonResource singletonResource, - @HeaderParam("Content-Type") String contentType, + @PathParam("singletonResource") String singletonResource, @HeaderParam("Content-Type") String contentType, @BodyParam("application/json") SwapResourceInner parameters, Context context); @Headers({ "Content-Type: application/json" }) @@ -102,7 +100,6 @@ Mono> list(@HostParam("endpoint") String e * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @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. @@ -110,8 +107,7 @@ Mono> list(@HostParam("endpoint") String e * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWithResponseAsync(String groupName, String resourceName, - SingletonResource singletonResource) { + public Mono> getWithResponseAsync(String groupName, String resourceName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -126,11 +122,8 @@ public Mono> getWithResponseAsync(String groupName, if (resourceName == null) { return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); } - if (singletonResource == null) { - return Mono - .error(new IllegalArgumentException("Parameter singletonResource is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; + final String singletonResource = "swap"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), @@ -144,7 +137,6 @@ public Mono> getWithResponseAsync(String groupName, * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @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. @@ -154,7 +146,7 @@ public Mono> getWithResponseAsync(String groupName, */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync(String groupName, String resourceName, - SingletonResource singletonResource, Context context) { + Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -169,11 +161,8 @@ private Mono> getWithResponseAsync(String groupName, if (resourceName == null) { return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); } - if (singletonResource == null) { - return Mono - .error(new IllegalArgumentException("Parameter singletonResource is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; + final String singletonResource = "swap"; final String accept = "application/json"; context = this.client.mergeContext(context); return service.get(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), groupName, @@ -186,7 +175,6 @@ private Mono> getWithResponseAsync(String groupName, * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @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. @@ -194,10 +182,8 @@ private Mono> getWithResponseAsync(String groupName, * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAsync(String groupName, String resourceName, - SingletonResource singletonResource) { - return getWithResponseAsync(groupName, resourceName, singletonResource) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + public Mono getAsync(String groupName, String resourceName) { + return getWithResponseAsync(groupName, resourceName).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** @@ -206,7 +192,6 @@ public Mono getAsync(String groupName, String resourceName, * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @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. @@ -215,9 +200,8 @@ public Mono getAsync(String groupName, String resourceName, * {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String groupName, String resourceName, - SingletonResource singletonResource, Context context) { - return getWithResponseAsync(groupName, resourceName, singletonResource, context).block(); + public Response getWithResponse(String groupName, String resourceName, Context context) { + return getWithResponseAsync(groupName, resourceName, context).block(); } /** @@ -226,15 +210,14 @@ public Response getWithResponse(String groupName, String reso * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @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 SwapResource which identifies the slot type for the specified cloud service. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SwapResourceInner get(String groupName, String resourceName, SingletonResource singletonResource) { - return getWithResponse(groupName, resourceName, singletonResource, Context.NONE).getValue(); + public SwapResourceInner get(String groupName, String resourceName) { + return getWithResponse(groupName, resourceName, Context.NONE).getValue(); } /** @@ -242,7 +225,6 @@ public SwapResourceInner get(String groupName, String resourceName, SingletonRes * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -252,7 +234,7 @@ public SwapResourceInner get(String groupName, String resourceName, SingletonRes */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> createWithResponseAsync(String groupName, String resourceName, - SingletonResource singletonResource, SwapResourceInner parameters) { + SwapResourceInner parameters) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -267,16 +249,13 @@ public Mono>> createWithResponseAsync(String groupName if (resourceName == null) { return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); } - if (singletonResource == null) { - return Mono - .error(new IllegalArgumentException("Parameter singletonResource is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String singletonResource = "swap"; final String contentType = "application/json"; return FluxUtil .withContext( @@ -290,7 +269,6 @@ public Mono>> createWithResponseAsync(String groupName * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -301,7 +279,7 @@ public Mono>> createWithResponseAsync(String groupName */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> createWithResponseAsync(String groupName, String resourceName, - SingletonResource singletonResource, SwapResourceInner parameters, Context context) { + SwapResourceInner parameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -316,16 +294,13 @@ private Mono>> createWithResponseAsync(String groupNam if (resourceName == null) { return Mono.error(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); } - if (singletonResource == null) { - return Mono - .error(new IllegalArgumentException("Parameter singletonResource is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { parameters.validate(); } final String apiVersion = "2025-05-01"; + final String singletonResource = "swap"; final String contentType = "application/json"; context = this.client.mergeContext(context); return service.create(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), groupName, @@ -337,7 +312,6 @@ private Mono>> createWithResponseAsync(String groupNam * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -347,9 +321,8 @@ private Mono>> createWithResponseAsync(String groupNam */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, Void> beginCreateAsync(String groupName, String resourceName, - SingletonResource singletonResource, SwapResourceInner parameters) { - Mono>> mono - = createWithResponseAsync(groupName, resourceName, singletonResource, parameters); + SwapResourceInner parameters) { + Mono>> mono = createWithResponseAsync(groupName, resourceName, parameters); return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } @@ -359,7 +332,6 @@ public PollerFlux, Void> beginCreateAsync(String groupName, Str * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -370,10 +342,9 @@ public PollerFlux, Void> beginCreateAsync(String groupName, Str */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginCreateAsync(String groupName, String resourceName, - SingletonResource singletonResource, SwapResourceInner parameters, Context context) { + SwapResourceInner parameters, Context context) { context = this.client.mergeContext(context); - Mono>> mono - = createWithResponseAsync(groupName, resourceName, singletonResource, parameters, context); + Mono>> mono = createWithResponseAsync(groupName, resourceName, parameters, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); } @@ -383,7 +354,6 @@ private PollerFlux, Void> beginCreateAsync(String groupName, St * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -393,8 +363,8 @@ private PollerFlux, Void> beginCreateAsync(String groupName, St */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginCreate(String groupName, String resourceName, - SingletonResource singletonResource, SwapResourceInner parameters) { - return this.beginCreateAsync(groupName, resourceName, singletonResource, parameters).getSyncPoller(); + SwapResourceInner parameters) { + return this.beginCreateAsync(groupName, resourceName, parameters).getSyncPoller(); } /** @@ -402,7 +372,6 @@ public SyncPoller, Void> beginCreate(String groupName, String r * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -413,8 +382,8 @@ public SyncPoller, Void> beginCreate(String groupName, String r */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginCreate(String groupName, String resourceName, - SingletonResource singletonResource, SwapResourceInner parameters, Context context) { - return this.beginCreateAsync(groupName, resourceName, singletonResource, parameters, context).getSyncPoller(); + SwapResourceInner parameters, Context context) { + return this.beginCreateAsync(groupName, resourceName, parameters, context).getSyncPoller(); } /** @@ -422,7 +391,6 @@ public SyncPoller, Void> beginCreate(String groupName, String r * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -431,9 +399,8 @@ public SyncPoller, Void> beginCreate(String groupName, String r * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createAsync(String groupName, String resourceName, SingletonResource singletonResource, - SwapResourceInner parameters) { - return beginCreateAsync(groupName, resourceName, singletonResource, parameters).last() + public Mono createAsync(String groupName, String resourceName, SwapResourceInner parameters) { + return beginCreateAsync(groupName, resourceName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -442,7 +409,6 @@ public Mono createAsync(String groupName, String resourceName, SingletonRe * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -452,9 +418,9 @@ public Mono createAsync(String groupName, String resourceName, SingletonRe * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createAsync(String groupName, String resourceName, SingletonResource singletonResource, - SwapResourceInner parameters, Context context) { - return beginCreateAsync(groupName, resourceName, singletonResource, parameters, context).last() + private Mono createAsync(String groupName, String resourceName, SwapResourceInner parameters, + Context context) { + return beginCreateAsync(groupName, resourceName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -463,7 +429,6 @@ private Mono createAsync(String groupName, String resourceName, SingletonR * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -471,9 +436,8 @@ private Mono createAsync(String groupName, String resourceName, SingletonR * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void create(String groupName, String resourceName, SingletonResource singletonResource, - SwapResourceInner parameters) { - createAsync(groupName, resourceName, singletonResource, parameters).block(); + public void create(String groupName, String resourceName, SwapResourceInner parameters) { + createAsync(groupName, resourceName, parameters).block(); } /** @@ -481,7 +445,6 @@ public void create(String groupName, String resourceName, SingletonResource sing * * @param groupName The groupName parameter. * @param resourceName The name of the cloud service. - * @param singletonResource The name of the singleton resource. * @param parameters SwapResource object where slot type should be the target slot after vip swap for the specified * cloud service. * @param context The context to associate with this operation. @@ -490,9 +453,8 @@ public void create(String groupName, String resourceName, SingletonResource sing * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void create(String groupName, String resourceName, SingletonResource singletonResource, - SwapResourceInner parameters, Context context) { - createAsync(groupName, resourceName, singletonResource, parameters, context).block(); + public void create(String groupName, String resourceName, SwapResourceInner parameters, Context context) { + createAsync(groupName, resourceName, parameters, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java index ed57be76e47f..ef6ddf760585 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java @@ -38,9 +38,10 @@ import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionInner; import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayConnectionListResult; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse7; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse8; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse9; import com.azure.resourcemanager.network.models.ErrorException; -import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult1; -import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult1; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnPacketCaptureStopParameters; @@ -1964,13 +1965,13 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StartPacketCaptureFinalResult1> - beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters) { + public PollerFlux, ArmAcceptedLroResponse7> beginStartPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StartPacketCaptureFinalResult1.class, StartPacketCaptureFinalResult1.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse7.class, ArmAcceptedLroResponse7.class, this.client.getContext()); } @@ -1985,13 +1986,13 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StartPacketCaptureFinalResult1> + public PollerFlux, ArmAcceptedLroResponse7> beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StartPacketCaptureFinalResult1.class, StartPacketCaptureFinalResult1.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse7.class, ArmAcceptedLroResponse7.class, this.client.getContext()); } @@ -2009,15 +2010,14 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, StartPacketCaptureFinalResult1> - beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters, Context context) { + private PollerFlux, ArmAcceptedLroResponse7> beginStartPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StartPacketCaptureFinalResult1.class, StartPacketCaptureFinalResult1.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse7.class, ArmAcceptedLroResponse7.class, context); } /** @@ -2031,7 +2031,7 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StartPacketCaptureFinalResult1> + public SyncPoller, ArmAcceptedLroResponse7> beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters) @@ -2052,9 +2052,9 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StartPacketCaptureFinalResult1> - beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters, Context context) { + public SyncPoller, ArmAcceptedLroResponse7> beginStartPacketCapture( + String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters, Context context) { return this .beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .getSyncPoller(); @@ -2073,7 +2073,7 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, + public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2090,7 +2090,7 @@ public Mono startPacketCaptureAsync(String resou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, + public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() @@ -2111,7 +2111,7 @@ public Mono startPacketCaptureAsync(String resou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, + private Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .last() @@ -2129,7 +2129,7 @@ private Mono startPacketCaptureAsync(String reso * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StartPacketCaptureFinalResult1 startPacketCapture(String resourceGroupName, + public ArmAcceptedLroResponse7 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).block(); @@ -2149,7 +2149,7 @@ public StartPacketCaptureFinalResult1 startPacketCapture(String resourceGroupNam * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StartPacketCaptureFinalResult1 startPacketCapture(String resourceGroupName, + public ArmAcceptedLroResponse7 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .block(); @@ -2259,13 +2259,13 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StopPacketCaptureFinalResult1> - beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters) { + public PollerFlux, ArmAcceptedLroResponse8> beginStopPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StopPacketCaptureFinalResult1.class, StopPacketCaptureFinalResult1.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse8.class, ArmAcceptedLroResponse8.class, this.client.getContext()); } @@ -2283,15 +2283,14 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, StopPacketCaptureFinalResult1> - beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters, Context context) { + private PollerFlux, ArmAcceptedLroResponse8> beginStopPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StopPacketCaptureFinalResult1.class, StopPacketCaptureFinalResult1.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse8.class, ArmAcceptedLroResponse8.class, context); } /** @@ -2307,7 +2306,7 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopPacketCaptureFinalResult1> beginStopPacketCapture( + public SyncPoller, ArmAcceptedLroResponse8> beginStopPacketCapture( String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { return this.beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters) @@ -2328,7 +2327,7 @@ public SyncPoller, StopPacketCaptureFi * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopPacketCaptureFinalResult1> beginStopPacketCapture( + public SyncPoller, ArmAcceptedLroResponse8> beginStopPacketCapture( String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { return this @@ -2349,7 +2348,7 @@ public SyncPoller, StopPacketCaptureFi * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, + public Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2369,7 +2368,7 @@ public Mono stopPacketCaptureAsync(String resourc * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, + private Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .last() @@ -2389,7 +2388,7 @@ private Mono stopPacketCaptureAsync(String resour * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopPacketCaptureFinalResult1 stopPacketCapture(String resourceGroupName, + public ArmAcceptedLroResponse8 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).block(); } @@ -2408,7 +2407,7 @@ public StopPacketCaptureFinalResult1 stopPacketCapture(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopPacketCaptureFinalResult1 stopPacketCapture(String resourceGroupName, + public ArmAcceptedLroResponse8 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .block(); @@ -2500,11 +2499,12 @@ private Mono>> getIkeSasWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginGetIkeSasAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName) { + public PollerFlux, ArmAcceptedLroResponse9> + beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { Mono>> mono = getIkeSasWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse9.class, ArmAcceptedLroResponse9.class, this.client.getContext()); } @@ -2520,13 +2520,13 @@ public PollerFlux, Void> beginGetIkeSasAsync(String resourceGro * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginGetIkeSasAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, Context context) { + private PollerFlux, ArmAcceptedLroResponse9> + beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { context = this.client.mergeContext(context); Mono>> mono = getIkeSasWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse9.class, ArmAcceptedLroResponse9.class, context); } /** @@ -2540,8 +2540,8 @@ private PollerFlux, Void> beginGetIkeSasAsync(String resourceGr * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginGetIkeSas(String resourceGroupName, - String virtualNetworkGatewayConnectionName) { + public SyncPoller, ArmAcceptedLroResponse9> + beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) { return this.beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).getSyncPoller(); } @@ -2557,8 +2557,8 @@ public SyncPoller, Void> beginGetIkeSas(String resourceGroupNam * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginGetIkeSas(String resourceGroupName, - String virtualNetworkGatewayConnectionName, Context context) { + public SyncPoller, ArmAcceptedLroResponse9> + beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { return this.beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context) .getSyncPoller(); } @@ -2571,10 +2571,11 @@ public SyncPoller, Void> beginGetIkeSas(String resourceGroupNam * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + public Mono getIkeSasAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName) { return beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2588,11 +2589,11 @@ public Mono getIkeSasAsync(String resourceGroupName, String virtualNetwork * @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. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, - Context context) { + private Mono getIkeSasAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, Context context) { return beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2605,10 +2606,11 @@ private Mono getIkeSasAsync(String resourceGroupName, String virtualNetwor * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) { - getIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).block(); + public ArmAcceptedLroResponse9 getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + return getIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).block(); } /** @@ -2620,10 +2622,12 @@ public void getIkeSas(String resourceGroupName, String virtualNetworkGatewayConn * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { - getIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context).block(); + public ArmAcceptedLroResponse9 getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, + Context context) { + return getIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java index 14b2e993656f..ff90ffd4b7c9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java @@ -49,17 +49,15 @@ import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayListConnectionsResult; import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayListResult; import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse; -import com.azure.resourcemanager.network.models.DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse1; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse2; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse3; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse4; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse5; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse6; import com.azure.resourcemanager.network.models.ErrorException; import com.azure.resourcemanager.network.models.ExpressRouteFailoverStopApiParameters; -import com.azure.resourcemanager.network.models.GeneratevpnclientpackageFinalResult; -import com.azure.resourcemanager.network.models.GetVpnProfilePackageUrlFinalResult; import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; -import com.azure.resourcemanager.network.models.ResetVpnClientSharedKeyFinalResult; -import com.azure.resourcemanager.network.models.StartExpressRouteSiteFailoverSimulationFinalResult; -import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult; -import com.azure.resourcemanager.network.models.StopExpressRouteSiteFailoverSimulationFinalResult; -import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VirtualNetworkGatewayMigrationParameters; import com.azure.resourcemanager.network.models.VpnClientParameters; @@ -1909,13 +1907,12 @@ private Mono>> resetVpnClientSharedKeyWithResponseAsyn * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ResetVpnClientSharedKeyFinalResult> - beginResetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName) { + public PollerFlux, Void> beginResetVpnClientSharedKeyAsync(String resourceGroupName, + String virtualNetworkGatewayName) { Mono>> mono = resetVpnClientSharedKeyWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ResetVpnClientSharedKeyFinalResult.class, - ResetVpnClientSharedKeyFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** @@ -1930,14 +1927,13 @@ private Mono>> resetVpnClientSharedKeyWithResponseAsyn * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ResetVpnClientSharedKeyFinalResult> - beginResetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + private PollerFlux, Void> beginResetVpnClientSharedKeyAsync(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { context = this.client.mergeContext(context); Mono>> mono = resetVpnClientSharedKeyWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ResetVpnClientSharedKeyFinalResult.class, - ResetVpnClientSharedKeyFinalResult.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** @@ -1951,8 +1947,8 @@ private Mono>> resetVpnClientSharedKeyWithResponseAsyn * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ResetVpnClientSharedKeyFinalResult> - beginResetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName) { + public SyncPoller, Void> beginResetVpnClientSharedKey(String resourceGroupName, + String virtualNetworkGatewayName) { return this.beginResetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName).getSyncPoller(); } @@ -1968,8 +1964,8 @@ private Mono>> resetVpnClientSharedKeyWithResponseAsyn * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ResetVpnClientSharedKeyFinalResult> - beginResetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + public SyncPoller, Void> beginResetVpnClientSharedKey(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { return this.beginResetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName, context) .getSyncPoller(); } @@ -1982,11 +1978,10 @@ private Mono>> resetVpnClientSharedKeyWithResponseAsyn * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono resetVpnClientSharedKeyAsync(String resourceGroupName, - String virtualNetworkGatewayName) { + public Mono resetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName) { return beginResetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2000,11 +1995,11 @@ public Mono resetVpnClientSharedKeyAsync(Str * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono resetVpnClientSharedKeyAsync(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { + private Mono resetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName, + Context context) { return beginResetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2017,12 +2012,10 @@ private Mono resetVpnClientSharedKeyAsync(St * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ResetVpnClientSharedKeyFinalResult resetVpnClientSharedKey(String resourceGroupName, - String virtualNetworkGatewayName) { - return resetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName).block(); + public void resetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName) { + resetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName).block(); } /** @@ -2034,12 +2027,10 @@ public ResetVpnClientSharedKeyFinalResult resetVpnClientSharedKey(String resourc * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ResetVpnClientSharedKeyFinalResult resetVpnClientSharedKey(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { - return resetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); + public void resetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + resetVpnClientSharedKeyAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } /** @@ -2143,14 +2134,13 @@ private Mono>> generatevpnclientpackageWithResponseAsy * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, GeneratevpnclientpackageFinalResult> - beginGeneratevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters) { + public PollerFlux, ArmAcceptedLroResponse> beginGeneratevpnclientpackageAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { Mono>> mono = generatevpnclientpackageWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), GeneratevpnclientpackageFinalResult.class, - GeneratevpnclientpackageFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse.class, ArmAcceptedLroResponse.class, + this.client.getContext()); } /** @@ -2166,15 +2156,13 @@ private Mono>> generatevpnclientpackageWithResponseAsy * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, GeneratevpnclientpackageFinalResult> - beginGeneratevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters, Context context) { + private PollerFlux, ArmAcceptedLroResponse> beginGeneratevpnclientpackageAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = generatevpnclientpackageWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), GeneratevpnclientpackageFinalResult.class, - GeneratevpnclientpackageFinalResult.class, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse.class, ArmAcceptedLroResponse.class, context); } /** @@ -2189,9 +2177,8 @@ private Mono>> generatevpnclientpackageWithResponseAsy * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GeneratevpnclientpackageFinalResult> - beginGeneratevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters) { + public SyncPoller, ArmAcceptedLroResponse> beginGeneratevpnclientpackage( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return this.beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); } @@ -2209,9 +2196,8 @@ private Mono>> generatevpnclientpackageWithResponseAsy * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GeneratevpnclientpackageFinalResult> - beginGeneratevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, - VpnClientParameters parameters, Context context) { + public SyncPoller, ArmAcceptedLroResponse> beginGeneratevpnclientpackage( + String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return this .beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); @@ -2229,7 +2215,7 @@ private Mono>> generatevpnclientpackageWithResponseAsy * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generatevpnclientpackageAsync(String resourceGroupName, + public Mono generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2248,7 +2234,7 @@ public Mono generatevpnclientpackageAsync(S * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generatevpnclientpackageAsync(String resourceGroupName, + private Mono generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .last() @@ -2267,8 +2253,8 @@ private Mono generatevpnclientpackageAsync( * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GeneratevpnclientpackageFinalResult generatevpnclientpackage(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters) { + public ArmAcceptedLroResponse generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters) { return generatevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -2285,8 +2271,8 @@ public GeneratevpnclientpackageFinalResult generatevpnclientpackage(String resou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GeneratevpnclientpackageFinalResult generatevpnclientpackage(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + public ArmAcceptedLroResponse generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters, Context context) { return generatevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -2394,12 +2380,12 @@ private Mono>> generateVpnProfileWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse> beginGenerateVpnProfileAsync( + public PollerFlux, ArmAcceptedLroResponse1> beginGenerateVpnProfileAsync( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { Mono>> mono = generateVpnProfileWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse.class, ArmAcceptedLroResponse.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse1.class, ArmAcceptedLroResponse1.class, this.client.getContext()); } @@ -2417,13 +2403,13 @@ public PollerFlux, ArmAcceptedLroResponse> be * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse> beginGenerateVpnProfileAsync( + private PollerFlux, ArmAcceptedLroResponse1> beginGenerateVpnProfileAsync( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = generateVpnProfileWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse.class, ArmAcceptedLroResponse.class, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse1.class, ArmAcceptedLroResponse1.class, context); } /** @@ -2439,7 +2425,7 @@ private PollerFlux, ArmAcceptedLroResponse> b * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse> beginGenerateVpnProfile( + public SyncPoller, ArmAcceptedLroResponse1> beginGenerateVpnProfile( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return this.beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); @@ -2459,7 +2445,7 @@ public SyncPoller, ArmAcceptedLroResponse> be * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse> beginGenerateVpnProfile( + public SyncPoller, ArmAcceptedLroResponse1> beginGenerateVpnProfile( String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return this.beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); @@ -2478,7 +2464,7 @@ public SyncPoller, ArmAcceptedLroResponse> be * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generateVpnProfileAsync(String resourceGroupName, + public Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2498,7 +2484,7 @@ public Mono generateVpnProfileAsync(String resourceGroup * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generateVpnProfileAsync(String resourceGroupName, + private Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2517,7 +2503,7 @@ private Mono generateVpnProfileAsync(String resourceGrou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + public ArmAcceptedLroResponse1 generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return generateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -2536,7 +2522,7 @@ public ArmAcceptedLroResponse generateVpnProfile(String resourceGroupName, Strin * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + public ArmAcceptedLroResponse1 generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return generateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -2632,13 +2618,13 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, GetVpnProfilePackageUrlFinalResult> + public PollerFlux, ArmAcceptedLroResponse2> beginGetVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName) { Mono>> mono = getVpnProfilePackageUrlWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), GetVpnProfilePackageUrlFinalResult.class, - GetVpnProfilePackageUrlFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse2.class, ArmAcceptedLroResponse2.class, + this.client.getContext()); } /** @@ -2655,14 +2641,13 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, GetVpnProfilePackageUrlFinalResult> + private PollerFlux, ArmAcceptedLroResponse2> beginGetVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { context = this.client.mergeContext(context); Mono>> mono = getVpnProfilePackageUrlWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), GetVpnProfilePackageUrlFinalResult.class, - GetVpnProfilePackageUrlFinalResult.class, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse2.class, ArmAcceptedLroResponse2.class, context); } /** @@ -2678,7 +2663,7 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GetVpnProfilePackageUrlFinalResult> + public SyncPoller, ArmAcceptedLroResponse2> beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName) { return this.beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName).getSyncPoller(); } @@ -2697,7 +2682,7 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GetVpnProfilePackageUrlFinalResult> + public SyncPoller, ArmAcceptedLroResponse2> beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, Context context) { return this.beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName, context) .getSyncPoller(); @@ -2716,7 +2701,7 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getVpnProfilePackageUrlAsync(String resourceGroupName, + public Mono getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName) { return beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2736,7 +2721,7 @@ public Mono getVpnProfilePackageUrlAsync(Str * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getVpnProfilePackageUrlAsync(String resourceGroupName, + private Mono getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { return beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2754,8 +2739,7 @@ private Mono getVpnProfilePackageUrlAsync(St * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourceGroupName, - String virtualNetworkGatewayName) { + public ArmAcceptedLroResponse2 getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName) { return getVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName).block(); } @@ -2772,8 +2756,8 @@ public GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourc * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GetVpnProfilePackageUrlFinalResult getVpnProfilePackageUrl(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { + public ArmAcceptedLroResponse2 getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, + Context context) { return getVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } @@ -4917,13 +4901,12 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StartPacketCaptureFinalResult> - beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnPacketCaptureStartParameters parameters) { + public PollerFlux, ArmAcceptedLroResponse3> beginStartPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StartPacketCaptureFinalResult.class, StartPacketCaptureFinalResult.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse3.class, ArmAcceptedLroResponse3.class, this.client.getContext()); } @@ -4938,13 +4921,13 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StartPacketCaptureFinalResult> + public PollerFlux, ArmAcceptedLroResponse3> beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StartPacketCaptureFinalResult.class, StartPacketCaptureFinalResult.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse3.class, ArmAcceptedLroResponse3.class, this.client.getContext()); } @@ -4961,15 +4944,14 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, StartPacketCaptureFinalResult> - beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnPacketCaptureStartParameters parameters, Context context) { + private PollerFlux, ArmAcceptedLroResponse3> beginStartPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StartPacketCaptureFinalResult.class, StartPacketCaptureFinalResult.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse3.class, ArmAcceptedLroResponse3.class, context); } /** @@ -4983,7 +4965,7 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StartPacketCaptureFinalResult> + public SyncPoller, ArmAcceptedLroResponse3> beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters) @@ -5003,7 +4985,7 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StartPacketCaptureFinalResult> beginStartPacketCapture( + public SyncPoller, ArmAcceptedLroResponse3> beginStartPacketCapture( String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { return this.beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) @@ -5022,7 +5004,7 @@ public SyncPoller, StartPacketCaptureF * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, + public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -5039,7 +5021,7 @@ public Mono startPacketCaptureAsync(String resour * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, + public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() @@ -5059,7 +5041,7 @@ public Mono startPacketCaptureAsync(String resour * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, + private Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -5076,8 +5058,7 @@ private Mono startPacketCaptureAsync(String resou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, - String virtualNetworkGatewayName) { + public ArmAcceptedLroResponse3 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -5095,7 +5076,7 @@ public StartPacketCaptureFinalResult startPacketCapture(String resourceGroupName * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + public ArmAcceptedLroResponse3 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -5201,13 +5182,12 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StopPacketCaptureFinalResult> - beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnPacketCaptureStopParameters parameters) { + public PollerFlux, ArmAcceptedLroResponse4> beginStopPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StopPacketCaptureFinalResult.class, StopPacketCaptureFinalResult.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse4.class, ArmAcceptedLroResponse4.class, this.client.getContext()); } @@ -5224,15 +5204,14 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, StopPacketCaptureFinalResult> - beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, - VpnPacketCaptureStopParameters parameters, Context context) { + private PollerFlux, ArmAcceptedLroResponse4> beginStopPacketCaptureAsync( + String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StopPacketCaptureFinalResult.class, StopPacketCaptureFinalResult.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse4.class, ArmAcceptedLroResponse4.class, context); } /** @@ -5247,7 +5226,7 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopPacketCaptureFinalResult> beginStopPacketCapture( + public SyncPoller, ArmAcceptedLroResponse4> beginStopPacketCapture( String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { return this.beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); @@ -5266,7 +5245,7 @@ public SyncPoller, StopPacketCaptureFin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopPacketCaptureFinalResult> beginStopPacketCapture( + public SyncPoller, ArmAcceptedLroResponse4> beginStopPacketCapture( String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { return this.beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) @@ -5285,7 +5264,7 @@ public SyncPoller, StopPacketCaptureFin * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, + public Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -5304,7 +5283,7 @@ public Mono stopPacketCaptureAsync(String resource * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, + private Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -5322,7 +5301,7 @@ private Mono stopPacketCaptureAsync(String resourc * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + public ArmAcceptedLroResponse4 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -5340,7 +5319,7 @@ public StopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + public ArmAcceptedLroResponse4 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -6001,16 +5980,14 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - PollerFlux, StartExpressRouteSiteFailoverSimulationFinalResult> + public PollerFlux, ArmAcceptedLroResponse5> beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation) { Mono>> mono = startExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, peeringLocation); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), StartExpressRouteSiteFailoverSimulationFinalResult.class, - StartExpressRouteSiteFailoverSimulationFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse5.class, ArmAcceptedLroResponse5.class, + this.client.getContext()); } /** @@ -6026,17 +6003,14 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private - PollerFlux, StartExpressRouteSiteFailoverSimulationFinalResult> + private PollerFlux, ArmAcceptedLroResponse5> beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context) { context = this.client.mergeContext(context); Mono>> mono = startExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, peeringLocation, context); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), StartExpressRouteSiteFailoverSimulationFinalResult.class, - StartExpressRouteSiteFailoverSimulationFinalResult.class, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse5.class, ArmAcceptedLroResponse5.class, context); } /** @@ -6051,8 +6025,7 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, StartExpressRouteSiteFailoverSimulationFinalResult> + public SyncPoller, ArmAcceptedLroResponse5> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation) { return this @@ -6074,8 +6047,7 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, StartExpressRouteSiteFailoverSimulationFinalResult> + public SyncPoller, ArmAcceptedLroResponse5> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context) { return this @@ -6096,8 +6068,8 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startExpressRouteSiteFailoverSimulationAsync( - String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation) { + public Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation) { return beginStartExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6115,8 +6087,8 @@ public Mono startExpressRout * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startExpressRouteSiteFailoverSimulationAsync( - String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context) { + private Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation, Context context) { return beginStartExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation, context).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6133,8 +6105,8 @@ private Mono startExpressRou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StartExpressRouteSiteFailoverSimulationFinalResult startExpressRouteSiteFailoverSimulation( - String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation) { + public ArmAcceptedLroResponse5 startExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation) { return startExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation).block(); } @@ -6152,8 +6124,8 @@ public StartExpressRouteSiteFailoverSimulationFinalResult startExpressRouteSiteF * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StartExpressRouteSiteFailoverSimulationFinalResult startExpressRouteSiteFailoverSimulation( - String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context) { + public ArmAcceptedLroResponse5 startExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation, Context context) { return startExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation, context).block(); } @@ -6265,16 +6237,14 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - PollerFlux, StopExpressRouteSiteFailoverSimulationFinalResult> + public PollerFlux, ArmAcceptedLroResponse6> beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters) { Mono>> mono = stopExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, stopParameters); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), StopExpressRouteSiteFailoverSimulationFinalResult.class, - StopExpressRouteSiteFailoverSimulationFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse6.class, ArmAcceptedLroResponse6.class, + this.client.getContext()); } /** @@ -6291,17 +6261,14 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private - PollerFlux, StopExpressRouteSiteFailoverSimulationFinalResult> + private PollerFlux, ArmAcceptedLroResponse6> beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, stopParameters, context); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), StopExpressRouteSiteFailoverSimulationFinalResult.class, - StopExpressRouteSiteFailoverSimulationFinalResult.class, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse6.class, ArmAcceptedLroResponse6.class, context); } /** @@ -6317,8 +6284,7 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, StopExpressRouteSiteFailoverSimulationFinalResult> + public SyncPoller, ArmAcceptedLroResponse6> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters) { return this @@ -6341,8 +6307,7 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, StopExpressRouteSiteFailoverSimulationFinalResult> + public SyncPoller, ArmAcceptedLroResponse6> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context) { return this @@ -6364,9 +6329,8 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopExpressRouteSiteFailoverSimulationAsync( - String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters) { + public Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters) { return beginStopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6385,9 +6349,8 @@ public Mono stopExpressRouteS * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopExpressRouteSiteFailoverSimulationAsync( - String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters, Context context) { + private Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context) { return beginStopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters, context).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6405,9 +6368,8 @@ private Mono stopExpressRoute * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFailoverSimulation( - String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters) { + public ArmAcceptedLroResponse6 stopExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters) { return stopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters) .block(); } @@ -6426,9 +6388,8 @@ public StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFai * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopExpressRouteSiteFailoverSimulationFinalResult stopExpressRouteSiteFailoverSimulation( - String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters, Context context) { + public ArmAcceptedLroResponse6 stopExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context) { return stopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters, context).block(); } @@ -6779,16 +6740,12 @@ private Mono>> disconnectVirtualNetworkGatewayVpnConne * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - PollerFlux, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> - beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { + public PollerFlux, Void> beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync( + String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { Mono>> mono = disconnectVirtualNetworkGatewayVpnConnectionsWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, request); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.class, - DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); } /** @@ -6804,17 +6761,13 @@ private Mono>> disconnectVirtualNetworkGatewayVpnConne * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private - PollerFlux, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> - beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, - String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { + private PollerFlux, Void> beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync( + String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { context = this.client.mergeContext(context); Mono>> mono = disconnectVirtualNetworkGatewayVpnConnectionsWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, request, context); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.class, - DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); } /** @@ -6829,10 +6782,8 @@ private Mono>> disconnectVirtualNetworkGatewayVpnConne * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> - beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, - P2SVpnConnectionRequest request) { + public SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVpnConnections( + String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { return this .beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request) @@ -6852,10 +6803,8 @@ private Mono>> disconnectVirtualNetworkGatewayVpnConne * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult> - beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, - P2SVpnConnectionRequest request, Context context) { + public SyncPoller, Void> beginDisconnectVirtualNetworkGatewayVpnConnections( + String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { return this .beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request, context) @@ -6871,12 +6820,11 @@ private Mono>> disconnectVirtualNetworkGatewayVpnConne * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono - disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, String virtualNetworkGatewayName, - P2SVpnConnectionRequest request) { + public Mono disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { return beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6891,12 +6839,11 @@ private Mono>> disconnectVirtualNetworkGatewayVpnConne * @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 on successful completion of {@link Mono}. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono - disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, String virtualNetworkGatewayName, - P2SVpnConnectionRequest request, Context context) { + private Mono disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { return beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request, context).last().flatMap(this.client::getLroFinalResultOrError); } @@ -6910,12 +6857,11 @@ private Mono>> disconnectVirtualNetworkGatewayVpnConne * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult disconnectVirtualNetworkGatewayVpnConnections( - String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { - return disconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request) + public void disconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request) { + disconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request) .block(); } @@ -6929,12 +6875,11 @@ public DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult disconnectVirtua * @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. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult disconnectVirtualNetworkGatewayVpnConnections( - String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { - return disconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request, + public void disconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, + String virtualNetworkGatewayName, P2SVpnConnectionRequest request, Context context) { + disconnectVirtualNetworkGatewayVpnConnectionsAsync(resourceGroupName, virtualNetworkGatewayName, request, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java index fff90b8b9d87..a4d979bc7840 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java @@ -35,10 +35,10 @@ import com.azure.resourcemanager.network.fluent.VpnConnectionsClient; import com.azure.resourcemanager.network.fluent.models.VpnConnectionInner; import com.azure.resourcemanager.network.implementation.models.ListVpnConnectionsResult; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse12; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse13; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStopParameters; -import com.azure.resourcemanager.network.models.VpnConnectionsStartPacketCaptureFinalResult; -import com.azure.resourcemanager.network.models.VpnConnectionsStopPacketCaptureFinalResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -861,16 +861,14 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - PollerFlux, VpnConnectionsStartPacketCaptureFinalResult> - beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters) { + public PollerFlux, ArmAcceptedLroResponse12> beginStartPacketCaptureAsync( + String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), VpnConnectionsStartPacketCaptureFinalResult.class, - VpnConnectionsStartPacketCaptureFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse12.class, ArmAcceptedLroResponse12.class, + this.client.getContext()); } /** @@ -885,16 +883,14 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - PollerFlux, VpnConnectionsStartPacketCaptureFinalResult> + public PollerFlux, ArmAcceptedLroResponse12> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), VpnConnectionsStartPacketCaptureFinalResult.class, - VpnConnectionsStartPacketCaptureFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse12.class, ArmAcceptedLroResponse12.class, + this.client.getContext()); } /** @@ -912,17 +908,14 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private - PollerFlux, VpnConnectionsStartPacketCaptureFinalResult> - beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters, Context context) { + private PollerFlux, ArmAcceptedLroResponse12> beginStartPacketCaptureAsync( + String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context); - return this.client - .getLroResult( - mono, this.client.getHttpPipeline(), VpnConnectionsStartPacketCaptureFinalResult.class, - VpnConnectionsStartPacketCaptureFinalResult.class, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse12.class, ArmAcceptedLroResponse12.class, context); } /** @@ -937,8 +930,7 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, VpnConnectionsStartPacketCaptureFinalResult> + public SyncPoller, ArmAcceptedLroResponse12> beginStartPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters) @@ -960,10 +952,9 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, VpnConnectionsStartPacketCaptureFinalResult> - beginStartPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters, Context context) { + public SyncPoller, ArmAcceptedLroResponse12> beginStartPacketCapture( + String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters, Context context) { return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .getSyncPoller(); } @@ -982,8 +973,8 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters) { + public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1000,8 +991,8 @@ public Mono startPacketCaptureAsync * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName) { + public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1022,9 +1013,8 @@ public Mono startPacketCaptureAsync * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, - Context context) { + private Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context) { return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -1042,7 +1032,7 @@ private Mono startPacketCaptureAsyn * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VpnConnectionsStartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String gatewayName, + public ArmAcceptedLroResponse12 startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).block(); @@ -1063,7 +1053,7 @@ public VpnConnectionsStartPacketCaptureFinalResult startPacketCapture(String res * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VpnConnectionsStartPacketCaptureFinalResult startPacketCapture(String resourceGroupName, String gatewayName, + public ArmAcceptedLroResponse12 startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context).block(); } @@ -1173,16 +1163,14 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - PollerFlux, VpnConnectionsStopPacketCaptureFinalResult> - beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters) { + public PollerFlux, ArmAcceptedLroResponse13> beginStopPacketCaptureAsync( + String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client - .getLroResult(mono, - this.client.getHttpPipeline(), VpnConnectionsStopPacketCaptureFinalResult.class, - VpnConnectionsStopPacketCaptureFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse13.class, ArmAcceptedLroResponse13.class, + this.client.getContext()); } /** @@ -1197,16 +1185,14 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - PollerFlux, VpnConnectionsStopPacketCaptureFinalResult> + public PollerFlux, ArmAcceptedLroResponse13> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client - .getLroResult(mono, - this.client.getHttpPipeline(), VpnConnectionsStopPacketCaptureFinalResult.class, - VpnConnectionsStopPacketCaptureFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse13.class, ArmAcceptedLroResponse13.class, + this.client.getContext()); } /** @@ -1223,17 +1209,14 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private - PollerFlux, VpnConnectionsStopPacketCaptureFinalResult> - beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters, Context context) { + private PollerFlux, ArmAcceptedLroResponse13> beginStopPacketCaptureAsync( + String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context); - return this.client - .getLroResult(mono, - this.client.getHttpPipeline(), VpnConnectionsStopPacketCaptureFinalResult.class, - VpnConnectionsStopPacketCaptureFinalResult.class, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse13.class, ArmAcceptedLroResponse13.class, context); } /** @@ -1248,8 +1231,7 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, VpnConnectionsStopPacketCaptureFinalResult> + public SyncPoller, ArmAcceptedLroResponse13> beginStopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters) @@ -1270,10 +1252,9 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public - SyncPoller, VpnConnectionsStopPacketCaptureFinalResult> - beginStopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters, Context context) { + public SyncPoller, ArmAcceptedLroResponse13> beginStopPacketCapture( + String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters, Context context) { return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .getSyncPoller(); } @@ -1291,8 +1272,8 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters) { + public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1309,8 +1290,8 @@ public Mono stopPacketCaptureAsync(S * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName) { + public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1330,9 +1311,8 @@ public Mono stopPacketCaptureAsync(S * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, - String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, - Context context) { + private Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context) { return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -1350,7 +1330,7 @@ private Mono stopPacketCaptureAsync( * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VpnConnectionsStopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String gatewayName, + public ArmAcceptedLroResponse13 stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; return stopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).block(); @@ -1370,7 +1350,7 @@ public VpnConnectionsStopPacketCaptureFinalResult stopPacketCapture(String resou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public VpnConnectionsStopPacketCaptureFinalResult stopPacketCapture(String resourceGroupName, String gatewayName, + public ArmAcceptedLroResponse13 stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java index b84fa2745162..c937057c27d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java @@ -36,8 +36,8 @@ import com.azure.resourcemanager.network.fluent.VpnGatewaysClient; import com.azure.resourcemanager.network.fluent.models.VpnGatewayInner; import com.azure.resourcemanager.network.implementation.models.ListVpnGatewaysResult; -import com.azure.resourcemanager.network.models.StartPacketCaptureFinalResult2; -import com.azure.resourcemanager.network.models.StopPacketCaptureFinalResult2; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse10; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse11; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStopParameters; @@ -1564,13 +1564,12 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StartPacketCaptureFinalResult2> - beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStartParameters parameters) { + public PollerFlux, ArmAcceptedLroResponse10> beginStartPacketCaptureAsync( + String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StartPacketCaptureFinalResult2.class, StartPacketCaptureFinalResult2.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse10.class, ArmAcceptedLroResponse10.class, this.client.getContext()); } @@ -1585,13 +1584,13 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StartPacketCaptureFinalResult2> + public PollerFlux, ArmAcceptedLroResponse10> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StartPacketCaptureFinalResult2.class, StartPacketCaptureFinalResult2.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse10.class, ArmAcceptedLroResponse10.class, this.client.getContext()); } @@ -1608,15 +1607,14 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, StartPacketCaptureFinalResult2> - beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStartParameters parameters, Context context) { + private PollerFlux, ArmAcceptedLroResponse10> beginStartPacketCaptureAsync( + String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StartPacketCaptureFinalResult2.class, StartPacketCaptureFinalResult2.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse10.class, ArmAcceptedLroResponse10.class, context); } /** @@ -1630,7 +1628,7 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StartPacketCaptureFinalResult2> + public SyncPoller, ArmAcceptedLroResponse10> beginStartPacketCapture(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); @@ -1649,9 +1647,9 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StartPacketCaptureFinalResult2> - beginStartPacketCapture(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStartParameters parameters, Context context) { + public SyncPoller, ArmAcceptedLroResponse10> beginStartPacketCapture( + String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, + Context context) { return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); } @@ -1667,7 +1665,7 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1684,7 +1682,7 @@ public Mono startPacketCaptureAsync(String resou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName) { + public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1703,7 +1701,7 @@ public Mono startPacketCaptureAsync(String resou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + private Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context) { return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1720,7 +1718,7 @@ private Mono startPacketCaptureAsync(String reso * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StartPacketCaptureFinalResult2 startPacketCapture(String resourceGroupName, String gatewayName) { + public ArmAcceptedLroResponse10 startPacketCapture(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, gatewayName, parameters).block(); } @@ -1738,7 +1736,7 @@ public StartPacketCaptureFinalResult2 startPacketCapture(String resourceGroupNam * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StartPacketCaptureFinalResult2 startPacketCapture(String resourceGroupName, String gatewayName, + public ArmAcceptedLroResponse10 startPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).block(); } @@ -1835,13 +1833,12 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StopPacketCaptureFinalResult2> - beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStopParameters parameters) { + public PollerFlux, ArmAcceptedLroResponse11> beginStopPacketCaptureAsync( + String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StopPacketCaptureFinalResult2.class, StopPacketCaptureFinalResult2.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse11.class, ArmAcceptedLroResponse11.class, this.client.getContext()); } @@ -1856,13 +1853,13 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, StopPacketCaptureFinalResult2> + public PollerFlux, ArmAcceptedLroResponse11> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStopParameters parameters = null; Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StopPacketCaptureFinalResult2.class, StopPacketCaptureFinalResult2.class, + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse11.class, ArmAcceptedLroResponse11.class, this.client.getContext()); } @@ -1879,15 +1876,14 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, StopPacketCaptureFinalResult2> - beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, - VpnGatewayPacketCaptureStopParameters parameters, Context context) { + private PollerFlux, ArmAcceptedLroResponse11> beginStopPacketCaptureAsync( + String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), StopPacketCaptureFinalResult2.class, StopPacketCaptureFinalResult2.class, - context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse11.class, ArmAcceptedLroResponse11.class, context); } /** @@ -1901,7 +1897,7 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopPacketCaptureFinalResult2> + public SyncPoller, ArmAcceptedLroResponse11> beginStopPacketCapture(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStopParameters parameters = null; return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); @@ -1920,7 +1916,7 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, StopPacketCaptureFinalResult2> beginStopPacketCapture( + public SyncPoller, ArmAcceptedLroResponse11> beginStopPacketCapture( String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context) { return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); @@ -1938,7 +1934,7 @@ public SyncPoller, StopPacketCaptureFi * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1955,7 +1951,7 @@ public Mono stopPacketCaptureAsync(String resourc * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName) { + public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStopParameters parameters = null; return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1974,7 +1970,7 @@ public Mono stopPacketCaptureAsync(String resourc * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + private Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context) { return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1991,7 +1987,7 @@ private Mono stopPacketCaptureAsync(String resour * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopPacketCaptureFinalResult2 stopPacketCapture(String resourceGroupName, String gatewayName) { + public ArmAcceptedLroResponse11 stopPacketCapture(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStopParameters parameters = null; return stopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).block(); } @@ -2009,7 +2005,7 @@ public StopPacketCaptureFinalResult2 stopPacketCapture(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public StopPacketCaptureFinalResult2 stopPacketCapture(String resourceGroupName, String gatewayName, + public ArmAcceptedLroResponse11 stopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java index b9f3cd50e386..42dec25181e9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java @@ -36,7 +36,7 @@ import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkConnectionInner; import com.azure.resourcemanager.network.implementation.models.ConnectionSharedKeyResultList; import com.azure.resourcemanager.network.implementation.models.ListVpnSiteLinkConnectionsResult; -import com.azure.resourcemanager.network.models.GetIkeSasFinalResult; +import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse14; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -1476,12 +1476,13 @@ private Mono>> getIkeSasWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, GetIkeSasFinalResult> beginGetIkeSasAsync( + public PollerFlux, ArmAcceptedLroResponse14> beginGetIkeSasAsync( String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { Mono>> mono = getIkeSasWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - GetIkeSasFinalResult.class, GetIkeSasFinalResult.class, this.client.getContext()); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse14.class, ArmAcceptedLroResponse14.class, + this.client.getContext()); } /** @@ -1498,14 +1499,14 @@ public PollerFlux, GetIkeSasFinalResult> beginG * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, GetIkeSasFinalResult> beginGetIkeSasAsync( + private PollerFlux, ArmAcceptedLroResponse14> beginGetIkeSasAsync( String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context) { context = this.client.mergeContext(context); Mono>> mono = getIkeSasWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - GetIkeSasFinalResult.class, GetIkeSasFinalResult.class, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), ArmAcceptedLroResponse14.class, ArmAcceptedLroResponse14.class, context); } /** @@ -1521,8 +1522,8 @@ private PollerFlux, GetIkeSasFinalResult> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GetIkeSasFinalResult> beginGetIkeSas(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName) { + public SyncPoller, ArmAcceptedLroResponse14> + beginGetIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { return this.beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName) .getSyncPoller(); } @@ -1541,8 +1542,9 @@ public SyncPoller, GetIkeSasFinalResult> beginG * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, GetIkeSasFinalResult> beginGetIkeSas(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName, Context context) { + public SyncPoller, ArmAcceptedLroResponse14> beginGetIkeSas( + String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, + Context context) { return this.beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context) .getSyncPoller(); } @@ -1560,7 +1562,7 @@ public SyncPoller, GetIkeSasFinalResult> beginG * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getIkeSasAsync(String resourceGroupName, String gatewayName, + public Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { return beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1580,7 +1582,7 @@ public Mono getIkeSasAsync(String resourceGroupName, Strin * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getIkeSasAsync(String resourceGroupName, String gatewayName, + private Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context) { return beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1599,7 +1601,7 @@ private Mono getIkeSasAsync(String resourceGroupName, Stri * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GetIkeSasFinalResult getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + public ArmAcceptedLroResponse14 getIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { return getIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).block(); } @@ -1618,7 +1620,7 @@ public GetIkeSasFinalResult getIkeSas(String resourceGroupName, String gatewayNa * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GetIkeSasFinalResult getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + public ArmAcceptedLroResponse14 getIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context) { return getIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse1.java similarity index 63% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse1.java index 4c4c597a09e7..5f44dad7d516 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse1.java @@ -12,14 +12,14 @@ import java.io.IOException; /** - * There is no content to send for this request, but the headers may be useful. + * Resource operation accepted. */ @Immutable -public final class NoContentResponse implements JsonSerializable { +public final class ArmAcceptedLroResponse1 implements JsonSerializable { /** - * Creates an instance of NoContentResponse class. + * Creates an instance of ArmAcceptedLroResponse1 class. */ - private NoContentResponse() { + private ArmAcceptedLroResponse1() { } /** @@ -40,16 +40,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of NoContentResponse from the JsonReader. + * Reads an instance of ArmAcceptedLroResponse1 from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of NoContentResponse 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 NoContentResponse. + * @return An instance of ArmAcceptedLroResponse1 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 ArmAcceptedLroResponse1. */ - public static NoContentResponse fromJson(JsonReader jsonReader) throws IOException { + public static ArmAcceptedLroResponse1 fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - NoContentResponse deserializedNoContentResponse = new NoContentResponse(); + ArmAcceptedLroResponse1 deserializedArmAcceptedLroResponse1 = new ArmAcceptedLroResponse1(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -57,7 +57,7 @@ public static NoContentResponse fromJson(JsonReader jsonReader) throws IOExcepti reader.skipChildren(); } - return deserializedNoContentResponse; + return deserializedArmAcceptedLroResponse1; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse10.java similarity index 58% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse10.java index 9a9d3dea9f32..3d9e59d56e39 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse10.java @@ -12,14 +12,14 @@ import java.io.IOException; /** - * The PrepareNetworkPoliciesFinalResult model. + * Resource operation accepted. */ @Immutable -public final class PrepareNetworkPoliciesFinalResult implements JsonSerializable { +public final class ArmAcceptedLroResponse10 implements JsonSerializable { /** - * Creates an instance of PrepareNetworkPoliciesFinalResult class. + * Creates an instance of ArmAcceptedLroResponse10 class. */ - private PrepareNetworkPoliciesFinalResult() { + private ArmAcceptedLroResponse10() { } /** @@ -40,17 +40,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of PrepareNetworkPoliciesFinalResult from the JsonReader. + * Reads an instance of ArmAcceptedLroResponse10 from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of PrepareNetworkPoliciesFinalResult 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 PrepareNetworkPoliciesFinalResult. + * @return An instance of ArmAcceptedLroResponse10 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 ArmAcceptedLroResponse10. */ - public static PrepareNetworkPoliciesFinalResult fromJson(JsonReader jsonReader) throws IOException { + public static ArmAcceptedLroResponse10 fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - PrepareNetworkPoliciesFinalResult deserializedPrepareNetworkPoliciesFinalResult - = new PrepareNetworkPoliciesFinalResult(); + ArmAcceptedLroResponse10 deserializedArmAcceptedLroResponse10 = new ArmAcceptedLroResponse10(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -58,7 +57,7 @@ public static PrepareNetworkPoliciesFinalResult fromJson(JsonReader jsonReader) reader.skipChildren(); } - return deserializedPrepareNetworkPoliciesFinalResult; + return deserializedArmAcceptedLroResponse10; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse11.java similarity index 58% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse11.java index 5bfa54d74e76..5800f6aa67ff 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse11.java @@ -12,14 +12,14 @@ import java.io.IOException; /** - * The ResetVpnClientSharedKeyFinalResult model. + * Resource operation accepted. */ @Immutable -public final class ResetVpnClientSharedKeyFinalResult implements JsonSerializable { +public final class ArmAcceptedLroResponse11 implements JsonSerializable { /** - * Creates an instance of ResetVpnClientSharedKeyFinalResult class. + * Creates an instance of ArmAcceptedLroResponse11 class. */ - private ResetVpnClientSharedKeyFinalResult() { + private ArmAcceptedLroResponse11() { } /** @@ -40,17 +40,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ResetVpnClientSharedKeyFinalResult from the JsonReader. + * Reads an instance of ArmAcceptedLroResponse11 from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ResetVpnClientSharedKeyFinalResult 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 ResetVpnClientSharedKeyFinalResult. + * @return An instance of ArmAcceptedLroResponse11 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 ArmAcceptedLroResponse11. */ - public static ResetVpnClientSharedKeyFinalResult fromJson(JsonReader jsonReader) throws IOException { + public static ArmAcceptedLroResponse11 fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ResetVpnClientSharedKeyFinalResult deserializedResetVpnClientSharedKeyFinalResult - = new ResetVpnClientSharedKeyFinalResult(); + ArmAcceptedLroResponse11 deserializedArmAcceptedLroResponse11 = new ArmAcceptedLroResponse11(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -58,7 +57,7 @@ public static ResetVpnClientSharedKeyFinalResult fromJson(JsonReader jsonReader) reader.skipChildren(); } - return deserializedResetVpnClientSharedKeyFinalResult; + return deserializedArmAcceptedLroResponse11; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse12.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse12.java new file mode 100644 index 000000000000..94fbc3264e1b --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse12.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.network.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 java.io.IOException; + +/** + * Resource operation accepted. + */ +@Immutable +public final class ArmAcceptedLroResponse12 implements JsonSerializable { + /** + * Creates an instance of ArmAcceptedLroResponse12 class. + */ + private ArmAcceptedLroResponse12() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArmAcceptedLroResponse12 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArmAcceptedLroResponse12 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 ArmAcceptedLroResponse12. + */ + public static ArmAcceptedLroResponse12 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ArmAcceptedLroResponse12 deserializedArmAcceptedLroResponse12 = new ArmAcceptedLroResponse12(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedArmAcceptedLroResponse12; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse13.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse13.java new file mode 100644 index 000000000000..430a469fd965 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse13.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.network.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 java.io.IOException; + +/** + * Resource operation accepted. + */ +@Immutable +public final class ArmAcceptedLroResponse13 implements JsonSerializable { + /** + * Creates an instance of ArmAcceptedLroResponse13 class. + */ + private ArmAcceptedLroResponse13() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArmAcceptedLroResponse13 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArmAcceptedLroResponse13 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 ArmAcceptedLroResponse13. + */ + public static ArmAcceptedLroResponse13 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ArmAcceptedLroResponse13 deserializedArmAcceptedLroResponse13 = new ArmAcceptedLroResponse13(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedArmAcceptedLroResponse13; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse14.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse14.java new file mode 100644 index 000000000000..59bf153cd7b9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse14.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.network.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 java.io.IOException; + +/** + * Resource operation accepted. + */ +@Immutable +public final class ArmAcceptedLroResponse14 implements JsonSerializable { + /** + * Creates an instance of ArmAcceptedLroResponse14 class. + */ + private ArmAcceptedLroResponse14() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArmAcceptedLroResponse14 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArmAcceptedLroResponse14 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 ArmAcceptedLroResponse14. + */ + public static ArmAcceptedLroResponse14 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ArmAcceptedLroResponse14 deserializedArmAcceptedLroResponse14 = new ArmAcceptedLroResponse14(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedArmAcceptedLroResponse14; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse2.java similarity index 63% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse2.java index 71f308b89d95..3691f60edf9f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse2.java @@ -12,14 +12,14 @@ import java.io.IOException; /** - * The StopFinalResult model. + * Resource operation accepted. */ @Immutable -public final class StopFinalResult implements JsonSerializable { +public final class ArmAcceptedLroResponse2 implements JsonSerializable { /** - * Creates an instance of StopFinalResult class. + * Creates an instance of ArmAcceptedLroResponse2 class. */ - private StopFinalResult() { + private ArmAcceptedLroResponse2() { } /** @@ -40,16 +40,16 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of StopFinalResult from the JsonReader. + * Reads an instance of ArmAcceptedLroResponse2 from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of StopFinalResult 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 StopFinalResult. + * @return An instance of ArmAcceptedLroResponse2 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 ArmAcceptedLroResponse2. */ - public static StopFinalResult fromJson(JsonReader jsonReader) throws IOException { + public static ArmAcceptedLroResponse2 fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - StopFinalResult deserializedStopFinalResult = new StopFinalResult(); + ArmAcceptedLroResponse2 deserializedArmAcceptedLroResponse2 = new ArmAcceptedLroResponse2(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -57,7 +57,7 @@ public static StopFinalResult fromJson(JsonReader jsonReader) throws IOException reader.skipChildren(); } - return deserializedStopFinalResult; + return deserializedArmAcceptedLroResponse2; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse3.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse3.java new file mode 100644 index 000000000000..3c0f68a3a8a4 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse3.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.network.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 java.io.IOException; + +/** + * Resource operation accepted. + */ +@Immutable +public final class ArmAcceptedLroResponse3 implements JsonSerializable { + /** + * Creates an instance of ArmAcceptedLroResponse3 class. + */ + private ArmAcceptedLroResponse3() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArmAcceptedLroResponse3 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArmAcceptedLroResponse3 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 ArmAcceptedLroResponse3. + */ + public static ArmAcceptedLroResponse3 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ArmAcceptedLroResponse3 deserializedArmAcceptedLroResponse3 = new ArmAcceptedLroResponse3(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedArmAcceptedLroResponse3; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse4.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse4.java new file mode 100644 index 000000000000..d512f3ec7b08 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse4.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.network.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 java.io.IOException; + +/** + * Resource operation accepted. + */ +@Immutable +public final class ArmAcceptedLroResponse4 implements JsonSerializable { + /** + * Creates an instance of ArmAcceptedLroResponse4 class. + */ + private ArmAcceptedLroResponse4() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArmAcceptedLroResponse4 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArmAcceptedLroResponse4 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 ArmAcceptedLroResponse4. + */ + public static ArmAcceptedLroResponse4 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ArmAcceptedLroResponse4 deserializedArmAcceptedLroResponse4 = new ArmAcceptedLroResponse4(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedArmAcceptedLroResponse4; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse5.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse5.java new file mode 100644 index 000000000000..b3a2e9b62ba9 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse5.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.network.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 java.io.IOException; + +/** + * Resource operation accepted. + */ +@Immutable +public final class ArmAcceptedLroResponse5 implements JsonSerializable { + /** + * Creates an instance of ArmAcceptedLroResponse5 class. + */ + private ArmAcceptedLroResponse5() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArmAcceptedLroResponse5 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArmAcceptedLroResponse5 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 ArmAcceptedLroResponse5. + */ + public static ArmAcceptedLroResponse5 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ArmAcceptedLroResponse5 deserializedArmAcceptedLroResponse5 = new ArmAcceptedLroResponse5(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedArmAcceptedLroResponse5; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse6.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse6.java new file mode 100644 index 000000000000..7b40305ba0bc --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse6.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.network.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 java.io.IOException; + +/** + * Resource operation accepted. + */ +@Immutable +public final class ArmAcceptedLroResponse6 implements JsonSerializable { + /** + * Creates an instance of ArmAcceptedLroResponse6 class. + */ + private ArmAcceptedLroResponse6() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArmAcceptedLroResponse6 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArmAcceptedLroResponse6 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 ArmAcceptedLroResponse6. + */ + public static ArmAcceptedLroResponse6 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ArmAcceptedLroResponse6 deserializedArmAcceptedLroResponse6 = new ArmAcceptedLroResponse6(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedArmAcceptedLroResponse6; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse7.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse7.java new file mode 100644 index 000000000000..e5a7da41e8c2 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse7.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.network.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 java.io.IOException; + +/** + * Resource operation accepted. + */ +@Immutable +public final class ArmAcceptedLroResponse7 implements JsonSerializable { + /** + * Creates an instance of ArmAcceptedLroResponse7 class. + */ + private ArmAcceptedLroResponse7() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArmAcceptedLroResponse7 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArmAcceptedLroResponse7 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 ArmAcceptedLroResponse7. + */ + public static ArmAcceptedLroResponse7 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ArmAcceptedLroResponse7 deserializedArmAcceptedLroResponse7 = new ArmAcceptedLroResponse7(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedArmAcceptedLroResponse7; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse8.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse8.java new file mode 100644 index 000000000000..8afd30618f47 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse8.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.network.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 java.io.IOException; + +/** + * Resource operation accepted. + */ +@Immutable +public final class ArmAcceptedLroResponse8 implements JsonSerializable { + /** + * Creates an instance of ArmAcceptedLroResponse8 class. + */ + private ArmAcceptedLroResponse8() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArmAcceptedLroResponse8 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArmAcceptedLroResponse8 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 ArmAcceptedLroResponse8. + */ + public static ArmAcceptedLroResponse8 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ArmAcceptedLroResponse8 deserializedArmAcceptedLroResponse8 = new ArmAcceptedLroResponse8(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedArmAcceptedLroResponse8; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse9.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse9.java new file mode 100644 index 000000000000..a5549276d313 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse9.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.network.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 java.io.IOException; + +/** + * Resource operation accepted. + */ +@Immutable +public final class ArmAcceptedLroResponse9 implements JsonSerializable { + /** + * Creates an instance of ArmAcceptedLroResponse9 class. + */ + private ArmAcceptedLroResponse9() { + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ArmAcceptedLroResponse9 from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ArmAcceptedLroResponse9 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 ArmAcceptedLroResponse9. + */ + public static ArmAcceptedLroResponse9 fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ArmAcceptedLroResponse9 deserializedArmAcceptedLroResponse9 = new ArmAcceptedLroResponse9(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + reader.skipChildren(); + } + + return deserializedArmAcceptedLroResponse9; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java deleted file mode 100644 index 9e0c3c647db8..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java +++ /dev/null @@ -1,65 +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.network.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 java.io.IOException; - -/** - * The DeleteBastionShareableLinkFinalResult model. - */ -@Immutable -public final class DeleteBastionShareableLinkFinalResult - implements JsonSerializable { - /** - * Creates an instance of DeleteBastionShareableLinkFinalResult class. - */ - private DeleteBastionShareableLinkFinalResult() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DeleteBastionShareableLinkFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DeleteBastionShareableLinkFinalResult 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 DeleteBastionShareableLinkFinalResult. - */ - public static DeleteBastionShareableLinkFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - DeleteBastionShareableLinkFinalResult deserializedDeleteBastionShareableLinkFinalResult - = new DeleteBastionShareableLinkFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedDeleteBastionShareableLinkFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java deleted file mode 100644 index 5f198b5508ec..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java +++ /dev/null @@ -1,67 +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.network.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 java.io.IOException; - -/** - * The DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult model. - */ -@Immutable -public final class DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult - implements JsonSerializable { - /** - * Creates an instance of DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult class. - */ - private DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult 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 - * DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult. - */ - public static DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult fromJson(JsonReader jsonReader) - throws IOException { - return jsonReader.readObject(reader -> { - DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult deserializedDisconnectVirtualNetworkGatewayVpnConnectionsFinalResult - = new DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedDisconnectVirtualNetworkGatewayVpnConnectionsFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java new file mode 100644 index 000000000000..df2041b0c8ac --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java @@ -0,0 +1,97 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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 java.io.IOException; + +/** + * The resource management error additional info. + */ +@Immutable +public final class ErrorAdditionalInfo implements JsonSerializable { + /* + * The additional info type. + */ + private String type; + + /* + * The additional info. + */ + private Object info; + + /** + * Creates an instance of ErrorAdditionalInfo class. + */ + private ErrorAdditionalInfo() { + } + + /** + * Get the type property: The additional info type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Get the info property: The additional info. + * + * @return the info value. + */ + public Object info() { + return this.info; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ErrorAdditionalInfo from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ErrorAdditionalInfo 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 ErrorAdditionalInfo. + */ + public static ErrorAdditionalInfo fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ErrorAdditionalInfo deserializedErrorAdditionalInfo = new ErrorAdditionalInfo(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedErrorAdditionalInfo.type = reader.getString(); + } else if ("info".equals(fieldName)) { + deserializedErrorAdditionalInfo.info = reader.readUntyped(); + } else { + reader.skipChildren(); + } + } + + return deserializedErrorAdditionalInfo; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java new file mode 100644 index 000000000000..7f5a4eb64084 --- /dev/null +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java @@ -0,0 +1,155 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.network.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 java.io.IOException; +import java.util.List; + +/** + * The error detail. + */ +@Immutable +public final class ErrorDetail implements JsonSerializable { + /* + * The error code. + */ + private String code; + + /* + * The error message. + */ + private String message; + + /* + * The error target. + */ + private String target; + + /* + * The error details. + */ + private List details; + + /* + * The error additional info. + */ + private List additionalInfo; + + /** + * Creates an instance of ErrorDetail class. + */ + private ErrorDetail() { + } + + /** + * Get the code property: The error code. + * + * @return the code value. + */ + public String code() { + return this.code; + } + + /** + * Get the message property: The error message. + * + * @return the message value. + */ + public String message() { + return this.message; + } + + /** + * Get the target property: The error target. + * + * @return the target value. + */ + public String target() { + return this.target; + } + + /** + * Get the details property: The error details. + * + * @return the details value. + */ + public List details() { + return this.details; + } + + /** + * Get the additionalInfo property: The error additional info. + * + * @return the additionalInfo value. + */ + public List additionalInfo() { + return this.additionalInfo; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (details() != null) { + details().forEach(e -> e.validate()); + } + if (additionalInfo() != null) { + additionalInfo().forEach(e -> e.validate()); + } + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of ErrorDetail from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of ErrorDetail 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 ErrorDetail. + */ + public static ErrorDetail fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + ErrorDetail deserializedErrorDetail = new ErrorDetail(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("code".equals(fieldName)) { + deserializedErrorDetail.code = reader.getString(); + } else if ("message".equals(fieldName)) { + deserializedErrorDetail.message = reader.getString(); + } else if ("target".equals(fieldName)) { + deserializedErrorDetail.target = reader.getString(); + } else if ("details".equals(fieldName)) { + List details = reader.readArray(reader1 -> ErrorDetail.fromJson(reader1)); + deserializedErrorDetail.details = details; + } else if ("additionalInfo".equals(fieldName)) { + List additionalInfo + = reader.readArray(reader1 -> ErrorAdditionalInfo.fromJson(reader1)); + deserializedErrorDetail.additionalInfo = additionalInfo; + } else { + reader.skipChildren(); + } + } + + return deserializedErrorDetail; + }); + } +} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java deleted file mode 100644 index a27f8509db55..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java +++ /dev/null @@ -1,93 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 GeneratevpnclientpackageFinalResult model. - */ -@Immutable -public final class GeneratevpnclientpackageFinalResult - implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of GeneratevpnclientpackageFinalResult class. - */ - private GeneratevpnclientpackageFinalResult() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model GeneratevpnclientpackageFinalResult")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(GeneratevpnclientpackageFinalResult.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of GeneratevpnclientpackageFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of GeneratevpnclientpackageFinalResult 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 GeneratevpnclientpackageFinalResult. - */ - public static GeneratevpnclientpackageFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - GeneratevpnclientpackageFinalResult deserializedGeneratevpnclientpackageFinalResult - = new GeneratevpnclientpackageFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedGeneratevpnclientpackageFinalResult.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedGeneratevpnclientpackageFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java deleted file mode 100644 index a1f2a87da063..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java +++ /dev/null @@ -1,90 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 GetIkeSasFinalResult model. - */ -@Immutable -public final class GetIkeSasFinalResult implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of GetIkeSasFinalResult class. - */ - private GetIkeSasFinalResult() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property body in model GetIkeSasFinalResult")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(GetIkeSasFinalResult.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of GetIkeSasFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of GetIkeSasFinalResult 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 GetIkeSasFinalResult. - */ - public static GetIkeSasFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - GetIkeSasFinalResult deserializedGetIkeSasFinalResult = new GetIkeSasFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedGetIkeSasFinalResult.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedGetIkeSasFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java deleted file mode 100644 index df4339d86daa..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java +++ /dev/null @@ -1,92 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 GetVpnProfilePackageUrlFinalResult model. - */ -@Immutable -public final class GetVpnProfilePackageUrlFinalResult implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of GetVpnProfilePackageUrlFinalResult class. - */ - private GetVpnProfilePackageUrlFinalResult() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model GetVpnProfilePackageUrlFinalResult")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(GetVpnProfilePackageUrlFinalResult.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of GetVpnProfilePackageUrlFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of GetVpnProfilePackageUrlFinalResult 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 GetVpnProfilePackageUrlFinalResult. - */ - public static GetVpnProfilePackageUrlFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - GetVpnProfilePackageUrlFinalResult deserializedGetVpnProfilePackageUrlFinalResult - = new GetVpnProfilePackageUrlFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedGetVpnProfilePackageUrlFinalResult.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedGetVpnProfilePackageUrlFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java similarity index 66% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java index 3099903b636f..d94f7311d24b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java @@ -15,7 +15,7 @@ * Proxy resource representation. */ @Immutable -public class ProxyResourcewithoutEtag implements JsonSerializable { +public class ProxyResourceWithSettableId implements JsonSerializable { /* * Resource ID. */ @@ -32,9 +32,9 @@ public class ProxyResourcewithoutEtag implements JsonSerializable { - ProxyResourcewithoutEtag deserializedProxyResourcewithoutEtag = new ProxyResourcewithoutEtag(); + ProxyResourceWithSettableId deserializedProxyResourceWithSettableId = new ProxyResourceWithSettableId(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedProxyResourcewithoutEtag.id = reader.getString(); + deserializedProxyResourceWithSettableId.id = reader.getString(); } else if ("name".equals(fieldName)) { - deserializedProxyResourcewithoutEtag.name = reader.getString(); + deserializedProxyResourceWithSettableId.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedProxyResourcewithoutEtag.type = reader.getString(); + deserializedProxyResourceWithSettableId.type = reader.getString(); } else { reader.skipChildren(); } } - return deserializedProxyResourcewithoutEtag; + return deserializedProxyResourceWithSettableId; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java deleted file mode 100644 index 719244c713ab..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java +++ /dev/null @@ -1,205 +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.network.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 java.io.IOException; -import java.util.Map; - -/** - * Common resource representation. - */ -@Immutable -public class ResourceWithReadOnlyNameAndID implements JsonSerializable { - /* - * Resource ID. - */ - private String id; - - /* - * Resource name. - */ - private String name; - - /* - * Resource type. - */ - private String type; - - /* - * Resource location. - */ - private String location; - - /* - * Resource tags. - */ - private Map tags; - - /** - * Creates an instance of ResourceWithReadOnlyNameAndID class. - */ - protected ResourceWithReadOnlyNameAndID() { - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the ResourceWithReadOnlyNameAndID object itself. - */ - ResourceWithReadOnlyNameAndID withId(String id) { - this.id = id; - return this; - } - - /** - * Get the name property: Resource name. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Resource name. - * - * @param name the name value to set. - * @return the ResourceWithReadOnlyNameAndID object itself. - */ - ResourceWithReadOnlyNameAndID withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type property: Resource type. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Set the type property: Resource type. - * - * @param type the type value to set. - * @return the ResourceWithReadOnlyNameAndID object itself. - */ - ResourceWithReadOnlyNameAndID withType(String type) { - this.type = type; - return this; - } - - /** - * Get the location property: Resource location. - * - * @return the location value. - */ - public String location() { - return this.location; - } - - /** - * Set the location property: Resource location. - * - * @param location the location value to set. - * @return the ResourceWithReadOnlyNameAndID object itself. - */ - ResourceWithReadOnlyNameAndID withLocation(String location) { - this.location = location; - return this; - } - - /** - * 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 ResourceWithReadOnlyNameAndID object itself. - */ - ResourceWithReadOnlyNameAndID withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("location", this.location); - jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ResourceWithReadOnlyNameAndID from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ResourceWithReadOnlyNameAndID 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 ResourceWithReadOnlyNameAndID. - */ - public static ResourceWithReadOnlyNameAndID fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ResourceWithReadOnlyNameAndID deserializedResourceWithReadOnlyNameAndID - = new ResourceWithReadOnlyNameAndID(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedResourceWithReadOnlyNameAndID.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedResourceWithReadOnlyNameAndID.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedResourceWithReadOnlyNameAndID.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedResourceWithReadOnlyNameAndID.location = reader.getString(); - } else if ("tags".equals(fieldName)) { - Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedResourceWithReadOnlyNameAndID.tags = tags; - } else { - reader.skipChildren(); - } - } - - return deserializedResourceWithReadOnlyNameAndID; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java index 88b17b8a8d59..1272476760ef 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java @@ -4,17 +4,29 @@ package com.azure.resourcemanager.network.models; -import com.azure.core.annotation.Immutable; +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.Map; /** * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. */ -@Immutable +@Fluent public class SecurityPerimeterTrackedResource extends SecurityPerimeterResource { + /* + * Resource tags. + */ + private Map tags; + + /* + * The geo-location where the resource lives + */ + private String location; + /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @@ -42,6 +54,46 @@ public class SecurityPerimeterTrackedResource extends SecurityPerimeterResource public SecurityPerimeterTrackedResource() { } + /** + * 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 SecurityPerimeterTrackedResource object itself. + */ + public SecurityPerimeterTrackedResource withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the location property: The geo-location where the resource lives. + * + * @return the location value. + */ + public String location() { + return this.location; + } + + /** + * Set the location property: The geo-location where the resource lives. + * + * @param location the location value to set. + * @return the SecurityPerimeterTrackedResource object itself. + */ + public SecurityPerimeterTrackedResource withLocation(String location) { + this.location = location; + return this; + } + /** * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. * @@ -91,17 +143,26 @@ public String id() { */ @Override public void validate() { + if (location() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Missing required property location in model SecurityPerimeterTrackedResource")); + } if (systemData() != null) { systemData().validate(); } } + private static final ClientLogger LOGGER = new ClientLogger(SecurityPerimeterTrackedResource.class); + /** * {@inheritDoc} */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); + jsonWriter.writeStringField("location", this.location); + jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); return jsonWriter.writeEndObject(); } @@ -111,6 +172,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of SecurityPerimeterTrackedResource 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 SecurityPerimeterTrackedResource. */ public static SecurityPerimeterTrackedResource fromJson(JsonReader jsonReader) throws IOException { @@ -130,6 +192,11 @@ public static SecurityPerimeterTrackedResource fromJson(JsonReader jsonReader) t } else if ("systemData".equals(fieldName)) { deserializedSecurityPerimeterTrackedResource.systemData = SecurityPerimeterSystemData.fromJson(reader); + } else if ("location".equals(fieldName)) { + deserializedSecurityPerimeterTrackedResource.location = reader.getString(); + } else if ("tags".equals(fieldName)) { + Map tags = reader.readMap(reader1 -> reader1.getString()); + deserializedSecurityPerimeterTrackedResource.tags = tags; } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java deleted file mode 100644 index 520312aea6fa..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java +++ /dev/null @@ -1,51 +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.network.models; - -/** - * Defines values for SingletonResource. - */ -public enum SingletonResource { - /** - * Enum value swap. - */ - SWAP("swap"); - - /** - * The actual serialized value for a SingletonResource instance. - */ - private final String value; - - SingletonResource(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a SingletonResource instance. - * - * @param value the serialized value to parse. - * @return the parsed SingletonResource object, or null if unable to parse. - */ - public static SingletonResource fromString(String value) { - if (value == null) { - return null; - } - SingletonResource[] items = SingletonResource.values(); - for (SingletonResource item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() { - return this.value; - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java deleted file mode 100644 index 7aebafe67bbb..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java +++ /dev/null @@ -1,95 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 StartExpressRouteSiteFailoverSimulationFinalResult model. - */ -@Immutable -public final class StartExpressRouteSiteFailoverSimulationFinalResult - implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of StartExpressRouteSiteFailoverSimulationFinalResult class. - */ - private StartExpressRouteSiteFailoverSimulationFinalResult() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model StartExpressRouteSiteFailoverSimulationFinalResult")); - } - } - - private static final ClientLogger LOGGER - = new ClientLogger(StartExpressRouteSiteFailoverSimulationFinalResult.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of StartExpressRouteSiteFailoverSimulationFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of StartExpressRouteSiteFailoverSimulationFinalResult 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 StartExpressRouteSiteFailoverSimulationFinalResult. - */ - public static StartExpressRouteSiteFailoverSimulationFinalResult fromJson(JsonReader jsonReader) - throws IOException { - return jsonReader.readObject(reader -> { - StartExpressRouteSiteFailoverSimulationFinalResult deserializedStartExpressRouteSiteFailoverSimulationFinalResult - = new StartExpressRouteSiteFailoverSimulationFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedStartExpressRouteSiteFailoverSimulationFinalResult.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedStartExpressRouteSiteFailoverSimulationFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java deleted file mode 100644 index bd2c4173f7c1..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java +++ /dev/null @@ -1,92 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 StartPacketCaptureFinalResult model. - */ -@Immutable -public final class StartPacketCaptureFinalResult implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of StartPacketCaptureFinalResult class. - */ - private StartPacketCaptureFinalResult() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model StartPacketCaptureFinalResult")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(StartPacketCaptureFinalResult.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of StartPacketCaptureFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of StartPacketCaptureFinalResult 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 StartPacketCaptureFinalResult. - */ - public static StartPacketCaptureFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - StartPacketCaptureFinalResult deserializedStartPacketCaptureFinalResult - = new StartPacketCaptureFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedStartPacketCaptureFinalResult.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedStartPacketCaptureFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java deleted file mode 100644 index c04cbb714416..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java +++ /dev/null @@ -1,92 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 StartPacketCaptureFinalResult1 model. - */ -@Immutable -public final class StartPacketCaptureFinalResult1 implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of StartPacketCaptureFinalResult1 class. - */ - private StartPacketCaptureFinalResult1() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model StartPacketCaptureFinalResult1")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(StartPacketCaptureFinalResult1.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of StartPacketCaptureFinalResult1 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of StartPacketCaptureFinalResult1 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 StartPacketCaptureFinalResult1. - */ - public static StartPacketCaptureFinalResult1 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - StartPacketCaptureFinalResult1 deserializedStartPacketCaptureFinalResult1 - = new StartPacketCaptureFinalResult1(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedStartPacketCaptureFinalResult1.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedStartPacketCaptureFinalResult1; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java deleted file mode 100644 index fcedbe5267d5..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java +++ /dev/null @@ -1,92 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 StartPacketCaptureFinalResult2 model. - */ -@Immutable -public final class StartPacketCaptureFinalResult2 implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of StartPacketCaptureFinalResult2 class. - */ - private StartPacketCaptureFinalResult2() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model StartPacketCaptureFinalResult2")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(StartPacketCaptureFinalResult2.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of StartPacketCaptureFinalResult2 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of StartPacketCaptureFinalResult2 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 StartPacketCaptureFinalResult2. - */ - public static StartPacketCaptureFinalResult2 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - StartPacketCaptureFinalResult2 deserializedStartPacketCaptureFinalResult2 - = new StartPacketCaptureFinalResult2(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedStartPacketCaptureFinalResult2.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedStartPacketCaptureFinalResult2; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java deleted file mode 100644 index 5ddddfc06def..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java +++ /dev/null @@ -1,94 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 StopExpressRouteSiteFailoverSimulationFinalResult model. - */ -@Immutable -public final class StopExpressRouteSiteFailoverSimulationFinalResult - implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of StopExpressRouteSiteFailoverSimulationFinalResult class. - */ - private StopExpressRouteSiteFailoverSimulationFinalResult() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model StopExpressRouteSiteFailoverSimulationFinalResult")); - } - } - - private static final ClientLogger LOGGER - = new ClientLogger(StopExpressRouteSiteFailoverSimulationFinalResult.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of StopExpressRouteSiteFailoverSimulationFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of StopExpressRouteSiteFailoverSimulationFinalResult 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 StopExpressRouteSiteFailoverSimulationFinalResult. - */ - public static StopExpressRouteSiteFailoverSimulationFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - StopExpressRouteSiteFailoverSimulationFinalResult deserializedStopExpressRouteSiteFailoverSimulationFinalResult - = new StopExpressRouteSiteFailoverSimulationFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedStopExpressRouteSiteFailoverSimulationFinalResult.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedStopExpressRouteSiteFailoverSimulationFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java deleted file mode 100644 index 1b8ac596661f..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java +++ /dev/null @@ -1,91 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 StopPacketCaptureFinalResult model. - */ -@Immutable -public final class StopPacketCaptureFinalResult implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of StopPacketCaptureFinalResult class. - */ - private StopPacketCaptureFinalResult() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model StopPacketCaptureFinalResult")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(StopPacketCaptureFinalResult.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of StopPacketCaptureFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of StopPacketCaptureFinalResult 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 StopPacketCaptureFinalResult. - */ - public static StopPacketCaptureFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - StopPacketCaptureFinalResult deserializedStopPacketCaptureFinalResult = new StopPacketCaptureFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedStopPacketCaptureFinalResult.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedStopPacketCaptureFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java deleted file mode 100644 index 65c15d6a8209..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java +++ /dev/null @@ -1,92 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 StopPacketCaptureFinalResult1 model. - */ -@Immutable -public final class StopPacketCaptureFinalResult1 implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of StopPacketCaptureFinalResult1 class. - */ - private StopPacketCaptureFinalResult1() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model StopPacketCaptureFinalResult1")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(StopPacketCaptureFinalResult1.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of StopPacketCaptureFinalResult1 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of StopPacketCaptureFinalResult1 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 StopPacketCaptureFinalResult1. - */ - public static StopPacketCaptureFinalResult1 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - StopPacketCaptureFinalResult1 deserializedStopPacketCaptureFinalResult1 - = new StopPacketCaptureFinalResult1(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedStopPacketCaptureFinalResult1.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedStopPacketCaptureFinalResult1; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java deleted file mode 100644 index 2f57ab48e57a..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java +++ /dev/null @@ -1,92 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 StopPacketCaptureFinalResult2 model. - */ -@Immutable -public final class StopPacketCaptureFinalResult2 implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of StopPacketCaptureFinalResult2 class. - */ - private StopPacketCaptureFinalResult2() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model StopPacketCaptureFinalResult2")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(StopPacketCaptureFinalResult2.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of StopPacketCaptureFinalResult2 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of StopPacketCaptureFinalResult2 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 StopPacketCaptureFinalResult2. - */ - public static StopPacketCaptureFinalResult2 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - StopPacketCaptureFinalResult2 deserializedStopPacketCaptureFinalResult2 - = new StopPacketCaptureFinalResult2(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedStopPacketCaptureFinalResult2.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedStopPacketCaptureFinalResult2; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java similarity index 50% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java index da9433438c60..4a8b080f4a76 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java @@ -13,43 +13,48 @@ import java.util.Map; /** - * Common resource representation. + * Tracked resource with optional location. */ @Fluent -public class ResourceWithReadOnlyID implements JsonSerializable { +public class TrackedResourceWithEtag implements JsonSerializable { /* - * Resource ID. + * ID of the connection monitor. */ private String id; /* - * Resource name. + * Name of the connection monitor. */ private String name; /* - * Resource type. + * Connection monitor type. */ private String type; /* - * Resource location. + * A unique read-only string that changes whenever the resource is updated. + */ + private String etag; + + /* + * Connection monitor location. */ private String location; /* - * Resource tags. + * Connection monitor tags. */ private Map tags; /** - * Creates an instance of ResourceWithReadOnlyID class. + * Creates an instance of TrackedResourceWithEtag class. */ - public ResourceWithReadOnlyID() { + public TrackedResourceWithEtag() { } /** - * Get the id property: Resource ID. + * Get the id property: ID of the connection monitor. * * @return the id value. */ @@ -58,18 +63,18 @@ public String id() { } /** - * Set the id property: Resource ID. + * Set the id property: ID of the connection monitor. * * @param id the id value to set. - * @return the ResourceWithReadOnlyID object itself. + * @return the TrackedResourceWithEtag object itself. */ - ResourceWithReadOnlyID withId(String id) { + TrackedResourceWithEtag withId(String id) { this.id = id; return this; } /** - * Get the name property: Resource name. + * Get the name property: Name of the connection monitor. * * @return the name value. */ @@ -78,18 +83,18 @@ public String name() { } /** - * Set the name property: Resource name. + * Set the name property: Name of the connection monitor. * * @param name the name value to set. - * @return the ResourceWithReadOnlyID object itself. + * @return the TrackedResourceWithEtag object itself. */ - ResourceWithReadOnlyID withName(String name) { + TrackedResourceWithEtag withName(String name) { this.name = name; return this; } /** - * Get the type property: Resource type. + * Get the type property: Connection monitor type. * * @return the type value. */ @@ -98,18 +103,38 @@ public String type() { } /** - * Set the type property: Resource type. + * Set the type property: Connection monitor type. * * @param type the type value to set. - * @return the ResourceWithReadOnlyID object itself. + * @return the TrackedResourceWithEtag object itself. */ - ResourceWithReadOnlyID withType(String type) { + TrackedResourceWithEtag withType(String type) { this.type = type; return this; } /** - * Get the location property: Resource location. + * Get the etag property: A unique read-only string that changes whenever the resource is updated. + * + * @return the etag value. + */ + public String etag() { + return this.etag; + } + + /** + * Set the etag property: A unique read-only string that changes whenever the resource is updated. + * + * @param etag the etag value to set. + * @return the TrackedResourceWithEtag object itself. + */ + TrackedResourceWithEtag withEtag(String etag) { + this.etag = etag; + return this; + } + + /** + * Get the location property: Connection monitor location. * * @return the location value. */ @@ -118,18 +143,18 @@ public String location() { } /** - * Set the location property: Resource location. + * Set the location property: Connection monitor location. * * @param location the location value to set. - * @return the ResourceWithReadOnlyID object itself. + * @return the TrackedResourceWithEtag object itself. */ - public ResourceWithReadOnlyID withLocation(String location) { + public TrackedResourceWithEtag withLocation(String location) { this.location = location; return this; } /** - * Get the tags property: Resource tags. + * Get the tags property: Connection monitor tags. * * @return the tags value. */ @@ -138,12 +163,12 @@ public Map tags() { } /** - * Set the tags property: Resource tags. + * Set the tags property: Connection monitor tags. * * @param tags the tags value to set. - * @return the ResourceWithReadOnlyID object itself. + * @return the TrackedResourceWithEtag object itself. */ - public ResourceWithReadOnlyID withTags(Map tags) { + public TrackedResourceWithEtag withTags(Map tags) { this.tags = tags; return this; } @@ -168,37 +193,39 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ResourceWithReadOnlyID from the JsonReader. + * Reads an instance of TrackedResourceWithEtag from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ResourceWithReadOnlyID if the JsonReader was pointing to an instance of it, or null if it + * @return An instance of TrackedResourceWithEtag 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 ResourceWithReadOnlyID. + * @throws IOException If an error occurs while reading the TrackedResourceWithEtag. */ - public static ResourceWithReadOnlyID fromJson(JsonReader jsonReader) throws IOException { + public static TrackedResourceWithEtag fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ResourceWithReadOnlyID deserializedResourceWithReadOnlyID = new ResourceWithReadOnlyID(); + TrackedResourceWithEtag deserializedTrackedResourceWithEtag = new TrackedResourceWithEtag(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedResourceWithReadOnlyID.id = reader.getString(); + deserializedTrackedResourceWithEtag.id = reader.getString(); } else if ("name".equals(fieldName)) { - deserializedResourceWithReadOnlyID.name = reader.getString(); + deserializedTrackedResourceWithEtag.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedResourceWithReadOnlyID.type = reader.getString(); + deserializedTrackedResourceWithEtag.type = reader.getString(); + } else if ("etag".equals(fieldName)) { + deserializedTrackedResourceWithEtag.etag = reader.getString(); } else if ("location".equals(fieldName)) { - deserializedResourceWithReadOnlyID.location = reader.getString(); + deserializedTrackedResourceWithEtag.location = reader.getString(); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedResourceWithReadOnlyID.tags = tags; + deserializedTrackedResourceWithEtag.tags = tags; } else { reader.skipChildren(); } } - return deserializedResourceWithReadOnlyID; + return deserializedTrackedResourceWithEtag; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java similarity index 69% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java index 1201b830b25b..37ce541c0974 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java @@ -17,7 +17,7 @@ * Common resource representation. */ @Fluent -public class ResourceWithRequiredLocation implements JsonSerializable { +public class TrackedResourceWithSettableId implements JsonSerializable { /* * Resource ID. */ @@ -44,9 +44,9 @@ public class ResourceWithRequiredLocation implements JsonSerializable tags; /** - * Creates an instance of ResourceWithRequiredLocation class. + * Creates an instance of TrackedResourceWithSettableId class. */ - public ResourceWithRequiredLocation() { + public TrackedResourceWithSettableId() { } /** @@ -62,9 +62,9 @@ public String id() { * Set the id property: Resource ID. * * @param id the id value to set. - * @return the ResourceWithRequiredLocation object itself. + * @return the TrackedResourceWithSettableId object itself. */ - public ResourceWithRequiredLocation withId(String id) { + public TrackedResourceWithSettableId withId(String id) { this.id = id; return this; } @@ -82,9 +82,9 @@ public String name() { * Set the name property: Resource name. * * @param name the name value to set. - * @return the ResourceWithRequiredLocation object itself. + * @return the TrackedResourceWithSettableId object itself. */ - ResourceWithRequiredLocation withName(String name) { + TrackedResourceWithSettableId withName(String name) { this.name = name; return this; } @@ -102,9 +102,9 @@ public String type() { * Set the type property: Resource type. * * @param type the type value to set. - * @return the ResourceWithRequiredLocation object itself. + * @return the TrackedResourceWithSettableId object itself. */ - ResourceWithRequiredLocation withType(String type) { + TrackedResourceWithSettableId withType(String type) { this.type = type; return this; } @@ -122,9 +122,9 @@ public String location() { * Set the location property: Resource location. * * @param location the location value to set. - * @return the ResourceWithRequiredLocation object itself. + * @return the TrackedResourceWithSettableId object itself. */ - public ResourceWithRequiredLocation withLocation(String location) { + public TrackedResourceWithSettableId withLocation(String location) { this.location = location; return this; } @@ -142,9 +142,9 @@ public Map tags() { * Set the tags property: Resource tags. * * @param tags the tags value to set. - * @return the ResourceWithRequiredLocation object itself. + * @return the TrackedResourceWithSettableId object itself. */ - public ResourceWithRequiredLocation withTags(Map tags) { + public TrackedResourceWithSettableId withTags(Map tags) { this.tags = tags; return this; } @@ -158,11 +158,11 @@ public void validate() { if (location() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( - "Missing required property location in model ResourceWithRequiredLocation")); + "Missing required property location in model TrackedResourceWithSettableId")); } } - private static final ClientLogger LOGGER = new ClientLogger(ResourceWithRequiredLocation.class); + private static final ClientLogger LOGGER = new ClientLogger(TrackedResourceWithSettableId.class); /** * {@inheritDoc} @@ -177,38 +177,39 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ResourceWithRequiredLocation from the JsonReader. + * Reads an instance of TrackedResourceWithSettableId from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ResourceWithRequiredLocation if the JsonReader was pointing to an instance of it, or null + * @return An instance of TrackedResourceWithSettableId 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 ResourceWithRequiredLocation. + * @throws IOException If an error occurs while reading the TrackedResourceWithSettableId. */ - public static ResourceWithRequiredLocation fromJson(JsonReader jsonReader) throws IOException { + public static TrackedResourceWithSettableId fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ResourceWithRequiredLocation deserializedResourceWithRequiredLocation = new ResourceWithRequiredLocation(); + TrackedResourceWithSettableId deserializedTrackedResourceWithSettableId + = new TrackedResourceWithSettableId(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("location".equals(fieldName)) { - deserializedResourceWithRequiredLocation.location = reader.getString(); + deserializedTrackedResourceWithSettableId.location = reader.getString(); } else if ("id".equals(fieldName)) { - deserializedResourceWithRequiredLocation.id = reader.getString(); + deserializedTrackedResourceWithSettableId.id = reader.getString(); } else if ("name".equals(fieldName)) { - deserializedResourceWithRequiredLocation.name = reader.getString(); + deserializedTrackedResourceWithSettableId.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedResourceWithRequiredLocation.type = reader.getString(); + deserializedTrackedResourceWithSettableId.type = reader.getString(); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedResourceWithRequiredLocation.tags = tags; + deserializedTrackedResourceWithSettableId.tags = tags; } else { reader.skipChildren(); } } - return deserializedResourceWithRequiredLocation; + return deserializedTrackedResourceWithSettableId; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java similarity index 67% rename from sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java rename to sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java index 499e1b316ec1..2cf861935338 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java @@ -16,7 +16,7 @@ * Common resource representation. */ @Fluent -public class ResourceWithWritableName implements JsonSerializable { +public class TrackedResourceWithSettableName implements JsonSerializable { /* * Resource ID. */ @@ -43,9 +43,9 @@ public class ResourceWithWritableName implements JsonSerializable tags; /** - * Creates an instance of ResourceWithWritableName class. + * Creates an instance of TrackedResourceWithSettableName class. */ - public ResourceWithWritableName() { + public TrackedResourceWithSettableName() { } /** @@ -61,9 +61,9 @@ public String id() { * Set the id property: Resource ID. * * @param id the id value to set. - * @return the ResourceWithWritableName object itself. + * @return the TrackedResourceWithSettableName object itself. */ - public ResourceWithWritableName withId(String id) { + public TrackedResourceWithSettableName withId(String id) { this.id = id; return this; } @@ -81,9 +81,9 @@ public String name() { * Set the name property: Resource name. * * @param name the name value to set. - * @return the ResourceWithWritableName object itself. + * @return the TrackedResourceWithSettableName object itself. */ - public ResourceWithWritableName withName(String name) { + public TrackedResourceWithSettableName withName(String name) { this.name = name; return this; } @@ -101,9 +101,9 @@ public String type() { * Set the type property: Resource type. * * @param type the type value to set. - * @return the ResourceWithWritableName object itself. + * @return the TrackedResourceWithSettableName object itself. */ - ResourceWithWritableName withType(String type) { + TrackedResourceWithSettableName withType(String type) { this.type = type; return this; } @@ -121,9 +121,9 @@ public String location() { * Set the location property: Resource location. * * @param location the location value to set. - * @return the ResourceWithWritableName object itself. + * @return the TrackedResourceWithSettableName object itself. */ - public ResourceWithWritableName withLocation(String location) { + public TrackedResourceWithSettableName withLocation(String location) { this.location = location; return this; } @@ -141,9 +141,9 @@ public Map tags() { * Set the tags property: Resource tags. * * @param tags the tags value to set. - * @return the ResourceWithWritableName object itself. + * @return the TrackedResourceWithSettableName object itself. */ - public ResourceWithWritableName withTags(Map tags) { + public TrackedResourceWithSettableName withTags(Map tags) { this.tags = tags; return this; } @@ -170,37 +170,38 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of ResourceWithWritableName from the JsonReader. + * Reads an instance of TrackedResourceWithSettableName from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ResourceWithWritableName 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 ResourceWithWritableName. + * @return An instance of TrackedResourceWithSettableName 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 TrackedResourceWithSettableName. */ - public static ResourceWithWritableName fromJson(JsonReader jsonReader) throws IOException { + public static TrackedResourceWithSettableName fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - ResourceWithWritableName deserializedResourceWithWritableName = new ResourceWithWritableName(); + TrackedResourceWithSettableName deserializedTrackedResourceWithSettableName + = new TrackedResourceWithSettableName(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedResourceWithWritableName.id = reader.getString(); + deserializedTrackedResourceWithSettableName.id = reader.getString(); } else if ("name".equals(fieldName)) { - deserializedResourceWithWritableName.name = reader.getString(); + deserializedTrackedResourceWithSettableName.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedResourceWithWritableName.type = reader.getString(); + deserializedTrackedResourceWithSettableName.type = reader.getString(); } else if ("location".equals(fieldName)) { - deserializedResourceWithWritableName.location = reader.getString(); + deserializedTrackedResourceWithSettableName.location = reader.getString(); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedResourceWithWritableName.tags = tags; + deserializedTrackedResourceWithSettableName.tags = tags; } else { reader.skipChildren(); } } - return deserializedResourceWithWritableName; + return deserializedTrackedResourceWithSettableName; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java index 04c41a0eddeb..d3da1e522049 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java @@ -13,48 +13,43 @@ import java.util.Map; /** - * Tracked resource with optional location. + * Common resource representation. */ @Fluent -public class TrackedResourcewithOptionalLocation implements JsonSerializable { +public class TrackedResourceWithOptionalLocation implements JsonSerializable { /* - * ID of the connection monitor. + * Resource ID. */ private String id; /* - * Name of the connection monitor. + * Resource name. */ private String name; /* - * Connection monitor type. + * Resource type. */ private String type; /* - * A unique read-only string that changes whenever the resource is updated. - */ - private String etag; - - /* - * Connection monitor location. + * Resource location. */ private String location; /* - * Connection monitor tags. + * Resource tags. */ private Map tags; /** - * Creates an instance of TrackedResourcewithOptionalLocation class. + * Creates an instance of TrackedResourceWithOptionalLocation class. */ - public TrackedResourcewithOptionalLocation() { + public TrackedResourceWithOptionalLocation() { } /** - * Get the id property: ID of the connection monitor. + * Get the id property: Resource ID. * * @return the id value. */ @@ -63,18 +58,18 @@ public String id() { } /** - * Set the id property: ID of the connection monitor. + * Set the id property: Resource ID. * * @param id the id value to set. - * @return the TrackedResourcewithOptionalLocation object itself. + * @return the TrackedResourceWithOptionalLocation object itself. */ - TrackedResourcewithOptionalLocation withId(String id) { + TrackedResourceWithOptionalLocation withId(String id) { this.id = id; return this; } /** - * Get the name property: Name of the connection monitor. + * Get the name property: Resource name. * * @return the name value. */ @@ -83,18 +78,18 @@ public String name() { } /** - * Set the name property: Name of the connection monitor. + * Set the name property: Resource name. * * @param name the name value to set. - * @return the TrackedResourcewithOptionalLocation object itself. + * @return the TrackedResourceWithOptionalLocation object itself. */ - TrackedResourcewithOptionalLocation withName(String name) { + TrackedResourceWithOptionalLocation withName(String name) { this.name = name; return this; } /** - * Get the type property: Connection monitor type. + * Get the type property: Resource type. * * @return the type value. */ @@ -103,38 +98,18 @@ public String type() { } /** - * Set the type property: Connection monitor type. + * Set the type property: Resource type. * * @param type the type value to set. - * @return the TrackedResourcewithOptionalLocation object itself. + * @return the TrackedResourceWithOptionalLocation object itself. */ - TrackedResourcewithOptionalLocation withType(String type) { + TrackedResourceWithOptionalLocation withType(String type) { this.type = type; return this; } /** - * Get the etag property: A unique read-only string that changes whenever the resource is updated. - * - * @return the etag value. - */ - public String etag() { - return this.etag; - } - - /** - * Set the etag property: A unique read-only string that changes whenever the resource is updated. - * - * @param etag the etag value to set. - * @return the TrackedResourcewithOptionalLocation object itself. - */ - TrackedResourcewithOptionalLocation withEtag(String etag) { - this.etag = etag; - return this; - } - - /** - * Get the location property: Connection monitor location. + * Get the location property: Resource location. * * @return the location value. */ @@ -143,18 +118,18 @@ public String location() { } /** - * Set the location property: Connection monitor location. + * Set the location property: Resource location. * * @param location the location value to set. - * @return the TrackedResourcewithOptionalLocation object itself. + * @return the TrackedResourceWithOptionalLocation object itself. */ - public TrackedResourcewithOptionalLocation withLocation(String location) { + public TrackedResourceWithOptionalLocation withLocation(String location) { this.location = location; return this; } /** - * Get the tags property: Connection monitor tags. + * Get the tags property: Resource tags. * * @return the tags value. */ @@ -163,12 +138,12 @@ public Map tags() { } /** - * Set the tags property: Connection monitor tags. + * Set the tags property: Resource tags. * * @param tags the tags value to set. - * @return the TrackedResourcewithOptionalLocation object itself. + * @return the TrackedResourceWithOptionalLocation object itself. */ - public TrackedResourcewithOptionalLocation withTags(Map tags) { + public TrackedResourceWithOptionalLocation withTags(Map tags) { this.tags = tags; return this; } @@ -193,40 +168,38 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { } /** - * Reads an instance of TrackedResourcewithOptionalLocation from the JsonReader. + * Reads an instance of TrackedResourceWithOptionalLocation from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of TrackedResourcewithOptionalLocation if the JsonReader was pointing to an instance of it, + * @return An instance of TrackedResourceWithOptionalLocation 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 TrackedResourcewithOptionalLocation. + * @throws IOException If an error occurs while reading the TrackedResourceWithOptionalLocation. */ - public static TrackedResourcewithOptionalLocation fromJson(JsonReader jsonReader) throws IOException { + public static TrackedResourceWithOptionalLocation fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - TrackedResourcewithOptionalLocation deserializedTrackedResourcewithOptionalLocation - = new TrackedResourcewithOptionalLocation(); + TrackedResourceWithOptionalLocation deserializedTrackedResourceWithOptionalLocation + = new TrackedResourceWithOptionalLocation(); while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); if ("id".equals(fieldName)) { - deserializedTrackedResourcewithOptionalLocation.id = reader.getString(); + deserializedTrackedResourceWithOptionalLocation.id = reader.getString(); } else if ("name".equals(fieldName)) { - deserializedTrackedResourcewithOptionalLocation.name = reader.getString(); + deserializedTrackedResourceWithOptionalLocation.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedTrackedResourcewithOptionalLocation.type = reader.getString(); - } else if ("etag".equals(fieldName)) { - deserializedTrackedResourcewithOptionalLocation.etag = reader.getString(); + deserializedTrackedResourceWithOptionalLocation.type = reader.getString(); } else if ("location".equals(fieldName)) { - deserializedTrackedResourcewithOptionalLocation.location = reader.getString(); + deserializedTrackedResourceWithOptionalLocation.location = reader.getString(); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedTrackedResourcewithOptionalLocation.tags = tags; + deserializedTrackedResourceWithOptionalLocation.tags = tags; } else { reader.skipChildren(); } } - return deserializedTrackedResourcewithOptionalLocation; + return deserializedTrackedResourceWithOptionalLocation; }); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java deleted file mode 100644 index 10f5873281a6..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java +++ /dev/null @@ -1,65 +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.network.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 java.io.IOException; - -/** - * The UnprepareNetworkPoliciesFinalResult model. - */ -@Immutable -public final class UnprepareNetworkPoliciesFinalResult - implements JsonSerializable { - /** - * Creates an instance of UnprepareNetworkPoliciesFinalResult class. - */ - private UnprepareNetworkPoliciesFinalResult() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of UnprepareNetworkPoliciesFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of UnprepareNetworkPoliciesFinalResult 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 UnprepareNetworkPoliciesFinalResult. - */ - public static UnprepareNetworkPoliciesFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - UnprepareNetworkPoliciesFinalResult deserializedUnprepareNetworkPoliciesFinalResult - = new UnprepareNetworkPoliciesFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedUnprepareNetworkPoliciesFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java deleted file mode 100644 index 5b5459dd593f..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java +++ /dev/null @@ -1,93 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 VpnConnectionsStartPacketCaptureFinalResult model. - */ -@Immutable -public final class VpnConnectionsStartPacketCaptureFinalResult - implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of VpnConnectionsStartPacketCaptureFinalResult class. - */ - private VpnConnectionsStartPacketCaptureFinalResult() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model VpnConnectionsStartPacketCaptureFinalResult")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(VpnConnectionsStartPacketCaptureFinalResult.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of VpnConnectionsStartPacketCaptureFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of VpnConnectionsStartPacketCaptureFinalResult 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 VpnConnectionsStartPacketCaptureFinalResult. - */ - public static VpnConnectionsStartPacketCaptureFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - VpnConnectionsStartPacketCaptureFinalResult deserializedVpnConnectionsStartPacketCaptureFinalResult - = new VpnConnectionsStartPacketCaptureFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedVpnConnectionsStartPacketCaptureFinalResult.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedVpnConnectionsStartPacketCaptureFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java deleted file mode 100644 index 56c547707c36..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java +++ /dev/null @@ -1,93 +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.network.models; - -import com.azure.core.annotation.Immutable; -import com.azure.core.util.logging.ClientLogger; -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 VpnConnectionsStopPacketCaptureFinalResult model. - */ -@Immutable -public final class VpnConnectionsStopPacketCaptureFinalResult - implements JsonSerializable { - /* - * The body property. - */ - private String body; - - /** - * Creates an instance of VpnConnectionsStopPacketCaptureFinalResult class. - */ - private VpnConnectionsStopPacketCaptureFinalResult() { - } - - /** - * Get the body property: The body property. - * - * @return the body value. - */ - public String body() { - return this.body; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (body() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property body in model VpnConnectionsStopPacketCaptureFinalResult")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(VpnConnectionsStopPacketCaptureFinalResult.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("body", this.body); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of VpnConnectionsStopPacketCaptureFinalResult from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of VpnConnectionsStopPacketCaptureFinalResult 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 VpnConnectionsStopPacketCaptureFinalResult. - */ - public static VpnConnectionsStopPacketCaptureFinalResult fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - VpnConnectionsStopPacketCaptureFinalResult deserializedVpnConnectionsStopPacketCaptureFinalResult - = new VpnConnectionsStopPacketCaptureFinalResult(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("body".equals(fieldName)) { - deserializedVpnConnectionsStopPacketCaptureFinalResult.body = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedVpnConnectionsStopPacketCaptureFinalResult; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index 5ab8ff2adfa7..60e480d139de 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteBastionShareableLinkFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/GeneratevpnclientpackageFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetIkeSasFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnProfilePackageUrlFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NoContentResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourcewithoutEtag.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResetVpnClientSharedKeyFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithReadOnlyNameAndID.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithRequiredLocation.java","src/main/java/com/azure/resourcemanager/network/models/ResourceWithWritableName.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/SingletonResource.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StartExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StartPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/StopExpressRouteSiteFailoverSimulationFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult1.java","src/main/java/com/azure/resourcemanager/network/models/StopPacketCaptureFinalResult2.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStartPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionsStopPacketCaptureFinalResult.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse1.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse10.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse11.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse12.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse13.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse14.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse2.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse3.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse4.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse5.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse6.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse7.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse8.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse9.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json index 0070dabcac2e..bf621d5ac41c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json @@ -1 +1 @@ -[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.CheckDnsNameAvailabilitiesClientImpl$CheckDnsNameAvailabilitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIpPrefixesClientImpl$CustomIpPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.EffectiveConfigurationsClientImpl$EffectiveConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsClientImpl$ExpressRouteProviderPortsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIPConfigurationsClientImpl$LoadBalancerFrontendIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIpConfigurationsClientImpl$NetworkInterfaceIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesOperationsClientImpl$NetworkInterfacesOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.P2sVpnGatewaysOperationsClientImpl$P2sVpnGatewaysOperationsService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIPAddressesOperationsClientImpl$PublicIPAddressesOperationsService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2sClientImpl$VirtualHubRouteTableV2sService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file +[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.CheckDnsNameAvailabilitiesClientImpl$CheckDnsNameAvailabilitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIpPrefixesClientImpl$CustomIpPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.EffectiveConfigurationsClientImpl$EffectiveConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsClientImpl$ExpressRouteProviderPortsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIPConfigurationsClientImpl$LoadBalancerFrontendIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIpConfigurationsClientImpl$NetworkInterfaceIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.P2sVpnGatewaysOperationsClientImpl$P2sVpnGatewaysOperationsService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIPAddressesOperationsClientImpl$PublicIPAddressesOperationsService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2sClientImpl$VirtualHubRouteTableV2sService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java index 6cf1f02a0c74..ac53940b5424 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkSecurityPerimetersCreateOrUpdateSamples.java @@ -21,7 +21,7 @@ public final class NetworkSecurityPerimetersCreateOrUpdateSamples { public static void putNetworkSecurityPerimeter(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getNetworkSecurityPerimeters() - .createOrUpdateWithResponse("rg1", "nsp1", new NetworkSecurityPerimeterInner(), + .createOrUpdateWithResponse("rg1", "nsp1", new NetworkSecurityPerimeterInner().withLocation("location1"), com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java index bb267fc2f8fc..259431c50451 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ServiceGatewaysCreateOrUpdateSamples.java @@ -25,8 +25,9 @@ public final class ServiceGatewaysCreateOrUpdateSamples { public static void createServiceGateway(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getServiceGateways() - .createOrUpdate("rg1", "sg", new ServiceGatewayInner().withVirtualNetwork(new VirtualNetworkInner().withId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet")) + .createOrUpdate("rg1", "sg", new ServiceGatewayInner().withLocation("eastus") + .withVirtualNetwork(new VirtualNetworkInner().withId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet")) .withRouteTargetAddress(new RouteTargetAddressPropertiesFormatInner() .withSubnet(new SubnetInner().withId( "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet")) diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapCreateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapCreateSamples.java index 9ed21fc619a4..31e4d6b13404 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapCreateSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapCreateSamples.java @@ -5,7 +5,6 @@ package com.azure.resourcemanager.network.generated; import com.azure.resourcemanager.network.fluent.models.SwapResourceInner; -import com.azure.resourcemanager.network.models.SingletonResource; import com.azure.resourcemanager.network.models.SlotType; import com.azure.resourcemanager.network.models.SwapResourceProperties; @@ -24,7 +23,7 @@ public final class VipSwapCreateSamples { public static void putVipSwapOperation(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getVipSwaps() - .create("rg1", "testCloudService", SingletonResource.SWAP, + .create("rg1", "testCloudService", new SwapResourceInner().withProperties(new SwapResourceProperties().withSlotType(SlotType.PRODUCTION)), com.azure.core.util.Context.NONE); } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapGetSamples.java index 81a4f95171cd..4ad3011670ea 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapGetSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VipSwapGetSamples.java @@ -4,8 +4,6 @@ package com.azure.resourcemanager.network.generated; -import com.azure.resourcemanager.network.models.SingletonResource; - /** * Samples for VipSwap Get. */ @@ -21,6 +19,6 @@ public final class VipSwapGetSamples { public static void getSwapResource(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getVipSwaps() - .getWithResponse("rg1", "testCloudService", SingletonResource.SWAP, com.azure.core.util.Context.NONE); + .getWithResponse("rg1", "testCloudService", com.azure.core.util.Context.NONE); } } From aa520651577b3aef936909d3f98d3bcd841aaee2 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 27 Mar 2026 13:48:44 +0800 Subject: [PATCH 22/33] Revert VirtualNetworkGatewayImpl to main - specs fixed LRO return types to String Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- ...irtualNetworkGatewayConnectionsClient.java | 70 ++--- .../fluent/VirtualNetworkGatewaysClient.java | 161 +++++----- .../network/fluent/VpnConnectionsClient.java | 60 ++-- .../network/fluent/VpnGatewaysClient.java | 48 ++- .../fluent/VpnLinkConnectionsClient.java | 22 +- ...alNetworkGatewayConnectionsClientImpl.java | 132 ++++----- .../VirtualNetworkGatewayImpl.java | 14 +- .../VirtualNetworkGatewaysClientImpl.java | 276 ++++++++---------- .../VpnConnectionsClientImpl.java | 105 +++---- .../implementation/VpnGatewaysClientImpl.java | 85 +++--- .../VpnLinkConnectionsClientImpl.java | 38 ++- .../models/ArmAcceptedLroResponse.java | 63 ---- .../models/ArmAcceptedLroResponse1.java | 63 ---- .../models/ArmAcceptedLroResponse10.java | 63 ---- .../models/ArmAcceptedLroResponse11.java | 63 ---- .../models/ArmAcceptedLroResponse12.java | 63 ---- .../models/ArmAcceptedLroResponse13.java | 63 ---- .../models/ArmAcceptedLroResponse14.java | 63 ---- .../models/ArmAcceptedLroResponse2.java | 63 ---- .../models/ArmAcceptedLroResponse3.java | 63 ---- .../models/ArmAcceptedLroResponse4.java | 63 ---- .../models/ArmAcceptedLroResponse5.java | 63 ---- .../models/ArmAcceptedLroResponse6.java | 63 ---- .../models/ArmAcceptedLroResponse7.java | 63 ---- .../models/ArmAcceptedLroResponse8.java | 63 ---- .../models/ArmAcceptedLroResponse9.java | 63 ---- ...zure-resourcemanager-network_metadata.json | 2 +- 27 files changed, 442 insertions(+), 1516 deletions(-) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse1.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse10.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse11.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse12.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse13.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse14.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse2.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse3.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse4.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse5.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse6.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse7.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse8.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse9.java diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java index 91f70010f3a4..a19dfdb68d95 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java @@ -16,9 +16,6 @@ import com.azure.resourcemanager.network.fluent.models.ConnectionResetSharedKeyInner; import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionInner; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse7; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse8; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse9; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnPacketCaptureStopParameters; @@ -792,9 +789,8 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse7> beginStartPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters); + PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters); /** * Starts packet capture on virtual network gateway connection in the specified resource group. @@ -807,8 +803,8 @@ PollerFlux, ArmAcceptedLroResponse7> beginSt * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse7> - beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); + PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName); /** * Starts packet capture on virtual network gateway connection in the specified resource group. @@ -821,8 +817,8 @@ PollerFlux, ArmAcceptedLroResponse7> beginSt * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse7> - beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName); + SyncPoller, String> beginStartPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName); /** * Starts packet capture on virtual network gateway connection in the specified resource group. @@ -838,9 +834,8 @@ PollerFlux, ArmAcceptedLroResponse7> beginSt * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse7> beginStartPacketCapture( - String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters, Context context); + SyncPoller, String> beginStartPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context); /** * Starts packet capture on virtual network gateway connection in the specified resource group. @@ -855,8 +850,8 @@ SyncPoller, ArmAcceptedLroResponse7> beginSt * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters); + Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters); /** * Starts packet capture on virtual network gateway connection in the specified resource group. @@ -869,8 +864,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName); + Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Starts packet capture on virtual network gateway connection in the specified resource group. @@ -883,7 +877,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse7 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName); + String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Starts packet capture on virtual network gateway connection in the specified resource group. @@ -899,7 +893,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse7 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, + String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context); /** @@ -931,9 +925,8 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse8> beginStopPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters); + PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway connection in the specified resource group. @@ -948,9 +941,8 @@ PollerFlux, ArmAcceptedLroResponse8> beginSt * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse8> beginStopPacketCapture( - String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters); + SyncPoller, String> beginStopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway connection in the specified resource group. @@ -966,9 +958,8 @@ SyncPoller, ArmAcceptedLroResponse8> beginSt * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse8> beginStopPacketCapture( - String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, - Context context); + SyncPoller, String> beginStopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context); /** * Stops packet capture on virtual network gateway connection in the specified resource group. @@ -983,8 +974,8 @@ SyncPoller, ArmAcceptedLroResponse8> beginSt * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); + Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway connection in the specified resource group. @@ -999,7 +990,7 @@ Mono stopPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse8 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, + String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters); /** @@ -1016,7 +1007,7 @@ ArmAcceptedLroResponse8 stopPacketCapture(String resourceGroupName, String virtu * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse8 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, + String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context); /** @@ -1044,8 +1035,8 @@ Mono>> getIkeSasWithResponseAsync(String resourceGroup * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse9> - beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); + PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. @@ -1058,7 +1049,7 @@ Mono>> getIkeSasWithResponseAsync(String resourceGroup * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse9> beginGetIkeSas(String resourceGroupName, + SyncPoller, String> beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** @@ -1073,7 +1064,7 @@ SyncPoller, ArmAcceptedLroResponse9> beginGe * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse9> beginGetIkeSas(String resourceGroupName, + SyncPoller, String> beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context); /** @@ -1087,7 +1078,7 @@ SyncPoller, ArmAcceptedLroResponse9> beginGe * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); + Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. @@ -1100,7 +1091,7 @@ SyncPoller, ArmAcceptedLroResponse9> beginGe * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse9 getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName); + String getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName); /** * Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. @@ -1114,8 +1105,7 @@ SyncPoller, ArmAcceptedLroResponse9> beginGe * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse9 getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, - Context context); + String getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context); /** * Resets the virtual network gateway connection specified. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java index 6b8b8ce8eeb1..87c7c3c70eee 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java @@ -24,13 +24,6 @@ import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayInner; import com.azure.resourcemanager.network.fluent.models.VpnClientConnectionHealthDetailListResultInner; import com.azure.resourcemanager.network.fluent.models.VpnClientIPsecParametersInner; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse1; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse2; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse3; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse4; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse5; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse6; import com.azure.resourcemanager.network.models.ExpressRouteFailoverStopApiParameters; import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; import com.azure.resourcemanager.network.models.TagsObject; @@ -756,8 +749,8 @@ Mono>> generatevpnclientpackageWithResponseAsync(Strin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse> beginGeneratevpnclientpackageAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); + PollerFlux, String> beginGeneratevpnclientpackageAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. @@ -771,8 +764,8 @@ PollerFlux, ArmAcceptedLroResponse> beginGene * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse> beginGeneratevpnclientpackage( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); + SyncPoller, String> beginGeneratevpnclientpackage(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. @@ -787,8 +780,8 @@ SyncPoller, ArmAcceptedLroResponse> beginGene * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse> beginGeneratevpnclientpackage( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); + SyncPoller, String> beginGeneratevpnclientpackage(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. @@ -802,8 +795,8 @@ SyncPoller, ArmAcceptedLroResponse> beginGene * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono generatevpnclientpackageAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters); + Mono generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters); /** * Generates VPN client package for P2S client of the virtual network gateway in the specified resource group. @@ -817,7 +810,7 @@ Mono generatevpnclientpackageAsync(String resourceGroupN * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + String generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -833,7 +826,7 @@ ArmAcceptedLroResponse generatevpnclientpackage(String resourceGroupName, String * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + String generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** @@ -865,8 +858,8 @@ Mono>> generateVpnProfileWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse1> beginGenerateVpnProfileAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); + PollerFlux, String> beginGenerateVpnProfileAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for @@ -881,8 +874,8 @@ PollerFlux, ArmAcceptedLroResponse1> beginGe * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse1> beginGenerateVpnProfile( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); + SyncPoller, String> beginGenerateVpnProfile(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for @@ -898,8 +891,8 @@ SyncPoller, ArmAcceptedLroResponse1> beginGe * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse1> beginGenerateVpnProfile( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); + SyncPoller, String> beginGenerateVpnProfile(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** * Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for @@ -914,7 +907,7 @@ SyncPoller, ArmAcceptedLroResponse1> beginGe * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, + Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -930,7 +923,7 @@ Mono generateVpnProfileAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse1 generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + String generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters); /** @@ -947,7 +940,7 @@ ArmAcceptedLroResponse1 generateVpnProfile(String resourceGroupName, String virt * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse1 generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + String generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context); /** @@ -979,8 +972,8 @@ Mono>> getVpnProfilePackageUrlWithResponseAsync(String * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse2> - beginGetVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName); + PollerFlux, String> beginGetVpnProfilePackageUrlAsync(String resourceGroupName, + String virtualNetworkGatewayName); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The @@ -995,8 +988,8 @@ Mono>> getVpnProfilePackageUrlWithResponseAsync(String * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse2> - beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName); + SyncPoller, String> beginGetVpnProfilePackageUrl(String resourceGroupName, + String virtualNetworkGatewayName); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The @@ -1012,8 +1005,8 @@ Mono>> getVpnProfilePackageUrlWithResponseAsync(String * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse2> - beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, Context context); + SyncPoller, String> beginGetVpnProfilePackageUrl(String resourceGroupName, + String virtualNetworkGatewayName, Context context); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The @@ -1028,8 +1021,7 @@ Mono>> getVpnProfilePackageUrlWithResponseAsync(String * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getVpnProfilePackageUrlAsync(String resourceGroupName, - String virtualNetworkGatewayName); + Mono getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The @@ -1043,7 +1035,7 @@ Mono getVpnProfilePackageUrlAsync(String resourceGroupN * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse2 getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName); + String getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName); /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The @@ -1058,8 +1050,7 @@ Mono getVpnProfilePackageUrlAsync(String resourceGroupN * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse2 getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, - Context context); + String getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, Context context); /** * The GetBgpPeerStatus operation retrieves the status of all BGP peers. @@ -2056,8 +2047,8 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse3> beginStartPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters); + PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters); /** * Starts packet capture on virtual network gateway in the specified resource group. @@ -2070,8 +2061,8 @@ PollerFlux, ArmAcceptedLroResponse3> beginSt * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse3> - beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName); + PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName); /** * Starts packet capture on virtual network gateway in the specified resource group. @@ -2084,8 +2075,8 @@ PollerFlux, ArmAcceptedLroResponse3> beginSt * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse3> - beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayName); + SyncPoller, String> beginStartPacketCapture(String resourceGroupName, + String virtualNetworkGatewayName); /** * Starts packet capture on virtual network gateway in the specified resource group. @@ -2100,9 +2091,8 @@ PollerFlux, ArmAcceptedLroResponse3> beginSt * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse3> beginStartPacketCapture( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, - Context context); + SyncPoller, String> beginStartPacketCapture(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context); /** * Starts packet capture on virtual network gateway in the specified resource group. @@ -2116,7 +2106,7 @@ SyncPoller, ArmAcceptedLroResponse3> beginSt * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters); /** @@ -2130,7 +2120,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName); + Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName); /** * Starts packet capture on virtual network gateway in the specified resource group. @@ -2143,7 +2133,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse3 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName); + String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName); /** * Starts packet capture on virtual network gateway in the specified resource group. @@ -2158,7 +2148,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse3 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context); /** @@ -2188,8 +2178,8 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse4> beginStopPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); + PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway in the specified resource group. @@ -2203,8 +2193,8 @@ PollerFlux, ArmAcceptedLroResponse4> beginSt * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse4> beginStopPacketCapture( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); + SyncPoller, String> beginStopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** * Stops packet capture on virtual network gateway in the specified resource group. @@ -2219,9 +2209,8 @@ SyncPoller, ArmAcceptedLroResponse4> beginSt * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse4> beginStopPacketCapture( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, - Context context); + SyncPoller, String> beginStopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context); /** * Stops packet capture on virtual network gateway in the specified resource group. @@ -2235,7 +2224,7 @@ SyncPoller, ArmAcceptedLroResponse4> beginSt * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** @@ -2250,7 +2239,7 @@ Mono stopPacketCaptureAsync(String resourceGroupName, S * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse4 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters); /** @@ -2266,7 +2255,7 @@ ArmAcceptedLroResponse4 stopPacketCapture(String resourceGroupName, String virtu * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse4 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context); /** @@ -2544,9 +2533,8 @@ Mono>> startExpressRouteSiteFailoverSimulationWithResp * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse5> - beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation); + PollerFlux, String> beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation); /** * This operation starts failover simulation on the gateway for the specified peering location. @@ -2560,9 +2548,8 @@ Mono>> startExpressRouteSiteFailoverSimulationWithResp * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse5> - beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation); + SyncPoller, String> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation); /** * This operation starts failover simulation on the gateway for the specified peering location. @@ -2577,9 +2564,8 @@ Mono>> startExpressRouteSiteFailoverSimulationWithResp * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse5> - beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation, Context context); + SyncPoller, String> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation, Context context); /** * This operation starts failover simulation on the gateway for the specified peering location. @@ -2593,7 +2579,7 @@ Mono>> startExpressRouteSiteFailoverSimulationWithResp * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation); /** @@ -2608,8 +2594,8 @@ Mono startExpressRouteSiteFailoverSimulationAsync(Strin * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse5 startExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation); + String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation); /** * This operation starts failover simulation on the gateway for the specified peering location. @@ -2624,8 +2610,8 @@ ArmAcceptedLroResponse5 startExpressRouteSiteFailoverSimulation(String resourceG * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse5 startExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation, Context context); + String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation, Context context); /** * This operation stops failover simulation on the gateway for the specified peering location. @@ -2656,9 +2642,8 @@ Mono>> stopExpressRouteSiteFailoverSimulationWithRespo * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse6> - beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters); + PollerFlux, String> beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); /** * This operation stops failover simulation on the gateway for the specified peering location. @@ -2673,9 +2658,8 @@ Mono>> stopExpressRouteSiteFailoverSimulationWithRespo * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse6> - beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters); + SyncPoller, String> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); /** * This operation stops failover simulation on the gateway for the specified peering location. @@ -2691,9 +2675,8 @@ Mono>> stopExpressRouteSiteFailoverSimulationWithRespo * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse6> - beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters, Context context); + SyncPoller, String> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context); /** * This operation stops failover simulation on the gateway for the specified peering location. @@ -2708,8 +2691,8 @@ Mono>> stopExpressRouteSiteFailoverSimulationWithRespo * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); + Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters); /** * This operation stops failover simulation on the gateway for the specified peering location. @@ -2724,8 +2707,8 @@ Mono stopExpressRouteSiteFailoverSimulationAsync(String * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse6 stopExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters); + String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters); /** * This operation stops failover simulation on the gateway for the specified peering location. @@ -2741,8 +2724,8 @@ ArmAcceptedLroResponse6 stopExpressRouteSiteFailoverSimulation(String resourceGr * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse6 stopExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context); + String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters, Context context); /** * Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java index 92775290b732..00af437ee0f8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java @@ -14,8 +14,6 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.VpnConnectionInner; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse12; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse13; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStopParameters; import java.nio.ByteBuffer; @@ -331,9 +329,8 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse12> beginStartPacketCaptureAsync( - String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters); + PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -347,8 +344,8 @@ PollerFlux, ArmAcceptedLroResponse12> begin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse12> - beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName); + PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -362,8 +359,8 @@ PollerFlux, ArmAcceptedLroResponse12> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse12> - beginStartPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); + SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -380,9 +377,8 @@ PollerFlux, ArmAcceptedLroResponse12> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse12> beginStartPacketCapture( - String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters, Context context); + SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -398,8 +394,8 @@ SyncPoller, ArmAcceptedLroResponse12> begin * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters); + Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -413,8 +409,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName); + Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -428,7 +423,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse12 startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); + String startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); /** * Starts packet capture on Vpn connection in the specified resource group. @@ -445,7 +440,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse12 startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, + String startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context); /** @@ -477,9 +472,8 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse13> beginStopPacketCaptureAsync( - String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters); + PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -493,8 +487,8 @@ PollerFlux, ArmAcceptedLroResponse13> begin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse13> - beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName); + PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, + String vpnConnectionName); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -508,8 +502,8 @@ PollerFlux, ArmAcceptedLroResponse13> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse13> - beginStopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); + SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -525,9 +519,8 @@ PollerFlux, ArmAcceptedLroResponse13> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse13> beginStopPacketCapture( - String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters, Context context); + SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -542,8 +535,8 @@ SyncPoller, ArmAcceptedLroResponse13> begin * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters); + Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -557,8 +550,7 @@ Mono stopPacketCaptureAsync(String resourceGroupName, * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName); + Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -572,7 +564,7 @@ Mono stopPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse13 stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); + String stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName); /** * Stops packet capture on Vpn connection in the specified resource group. @@ -588,7 +580,7 @@ Mono stopPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse13 stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, + String stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context); /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java index 20b52af36264..46f6ba8ac938 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java @@ -14,8 +14,6 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.VpnGatewayInner; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse10; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse11; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStopParameters; @@ -612,8 +610,8 @@ Mono>> startPacketCaptureWithResponseAsync(String reso * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse10> beginStartPacketCaptureAsync( - String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters); + PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStartParameters parameters); /** * Starts packet capture on vpn gateway in the specified resource group. @@ -626,8 +624,7 @@ PollerFlux, ArmAcceptedLroResponse10> begin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse10> - beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName); + PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName); /** * Starts packet capture on vpn gateway in the specified resource group. @@ -640,8 +637,7 @@ PollerFlux, ArmAcceptedLroResponse10> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse10> - beginStartPacketCapture(String resourceGroupName, String gatewayName); + SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName); /** * Starts packet capture on vpn gateway in the specified resource group. @@ -656,9 +652,8 @@ PollerFlux, ArmAcceptedLroResponse10> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse10> beginStartPacketCapture( - String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, - Context context); + SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStartParameters parameters, Context context); /** * Starts packet capture on vpn gateway in the specified resource group. @@ -672,7 +667,7 @@ SyncPoller, ArmAcceptedLroResponse10> begin * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters); /** @@ -686,7 +681,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName); + Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName); /** * Starts packet capture on vpn gateway in the specified resource group. @@ -699,7 +694,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse10 startPacketCapture(String resourceGroupName, String gatewayName); + String startPacketCapture(String resourceGroupName, String gatewayName); /** * Starts packet capture on vpn gateway in the specified resource group. @@ -714,7 +709,7 @@ Mono startPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse10 startPacketCapture(String resourceGroupName, String gatewayName, + String startPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context); /** @@ -744,8 +739,8 @@ Mono>> stopPacketCaptureWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse11> beginStopPacketCaptureAsync( - String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters); + PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStopParameters parameters); /** * Stops packet capture on vpn gateway in the specified resource group. @@ -758,8 +753,7 @@ PollerFlux, ArmAcceptedLroResponse11> begin * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse11> - beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName); + PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName); /** * Stops packet capture on vpn gateway in the specified resource group. @@ -772,8 +766,7 @@ PollerFlux, ArmAcceptedLroResponse11> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse11> - beginStopPacketCapture(String resourceGroupName, String gatewayName); + SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName); /** * Stops packet capture on vpn gateway in the specified resource group. @@ -788,9 +781,8 @@ PollerFlux, ArmAcceptedLroResponse11> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse11> beginStopPacketCapture( - String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, - Context context); + SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStopParameters parameters, Context context); /** * Stops packet capture on vpn gateway in the specified resource group. @@ -804,7 +796,7 @@ SyncPoller, ArmAcceptedLroResponse11> begin * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters); /** @@ -818,7 +810,7 @@ Mono stopPacketCaptureAsync(String resourceGroupName, * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName); + Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName); /** * Stops packet capture on vpn gateway in the specified resource group. @@ -831,7 +823,7 @@ Mono stopPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse11 stopPacketCapture(String resourceGroupName, String gatewayName); + String stopPacketCapture(String resourceGroupName, String gatewayName); /** * Stops packet capture on vpn gateway in the specified resource group. @@ -846,6 +838,6 @@ Mono stopPacketCaptureAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse11 stopPacketCapture(String resourceGroupName, String gatewayName, + String stopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java index db4f3fd3ace8..3f7c7dd74c8f 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java @@ -15,7 +15,6 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyResultInner; import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkConnectionInner; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse14; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -535,8 +534,8 @@ Mono>> getIkeSasWithResponseAsync(String resourceGroup * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, ArmAcceptedLroResponse14> beginGetIkeSasAsync( - String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); + PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName); /** * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. @@ -551,8 +550,8 @@ PollerFlux, ArmAcceptedLroResponse14> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse14> beginGetIkeSas(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName); + SyncPoller, String> beginGetIkeSas(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName); /** * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. @@ -568,8 +567,8 @@ SyncPoller, ArmAcceptedLroResponse14> begin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, ArmAcceptedLroResponse14> beginGetIkeSas(String resourceGroupName, - String gatewayName, String connectionName, String linkConnectionName, Context context); + SyncPoller, String> beginGetIkeSas(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName, Context context); /** * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. @@ -584,7 +583,7 @@ SyncPoller, ArmAcceptedLroResponse14> begin * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, + Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); /** @@ -600,8 +599,7 @@ Mono getIkeSasAsync(String resourceGroupName, String g * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse14 getIkeSas(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName); + String getIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName); /** * Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. @@ -617,6 +615,6 @@ ArmAcceptedLroResponse14 getIkeSas(String resourceGroupName, String gatewayName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - ArmAcceptedLroResponse14 getIkeSas(String resourceGroupName, String gatewayName, String connectionName, - String linkConnectionName, Context context); + String getIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, + Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java index ef6ddf760585..a2d5a3173f5e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java @@ -38,9 +38,6 @@ import com.azure.resourcemanager.network.fluent.models.ConnectionSharedKeyInner; import com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionInner; import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayConnectionListResult; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse7; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse8; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse9; import com.azure.resourcemanager.network.models.ErrorException; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnPacketCaptureStartParameters; @@ -1965,13 +1962,11 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse7> beginStartPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters) { + public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse7.class, ArmAcceptedLroResponse7.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -1986,13 +1981,12 @@ public PollerFlux, ArmAcceptedLroResponse7> * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse7> - beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse7.class, ArmAcceptedLroResponse7.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -2010,14 +2004,13 @@ public PollerFlux, ArmAcceptedLroResponse7> * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse7> beginStartPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters, Context context) { + private PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse7.class, ArmAcceptedLroResponse7.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -2031,8 +2024,8 @@ private PollerFlux, ArmAcceptedLroResponse7> * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse7> - beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters) .getSyncPoller(); @@ -2052,9 +2045,8 @@ private PollerFlux, ArmAcceptedLroResponse7> * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse7> beginStartPacketCapture( - String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStartParameters parameters, Context context) { + public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context) { return this .beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .getSyncPoller(); @@ -2073,8 +2065,8 @@ public SyncPoller, ArmAcceptedLroResponse7> * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) { + public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2090,8 +2082,7 @@ public Mono startPacketCaptureAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName) { + public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -2111,8 +2102,8 @@ public Mono startPacketCaptureAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context) { + private Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters, Context context) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -2129,8 +2120,7 @@ private Mono startPacketCaptureAsync(String resourceGro * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse7 startPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName) { + public String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName) { final VpnPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).block(); } @@ -2149,8 +2139,8 @@ public ArmAcceptedLroResponse7 startPacketCapture(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse7 startPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, Context context) { + public String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .block(); } @@ -2259,13 +2249,11 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse8> beginStopPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters) { + public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse8.class, ArmAcceptedLroResponse8.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -2283,14 +2271,13 @@ public PollerFlux, ArmAcceptedLroResponse8> * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse8> beginStopPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, - Context context) { + private PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse8.class, ArmAcceptedLroResponse8.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -2306,9 +2293,8 @@ private PollerFlux, ArmAcceptedLroResponse8> * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse8> beginStopPacketCapture( - String resourceGroupName, String virtualNetworkGatewayConnectionName, - VpnPacketCaptureStopParameters parameters) { + public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { return this.beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters) .getSyncPoller(); } @@ -2327,9 +2313,8 @@ public SyncPoller, ArmAcceptedLroResponse8> * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse8> beginStopPacketCapture( - String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, - Context context) { + public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { return this .beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .getSyncPoller(); @@ -2348,8 +2333,8 @@ public SyncPoller, ArmAcceptedLroResponse8> * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { + public Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2368,8 +2353,8 @@ public Mono stopPacketCaptureAsync(String resourceGroup * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { + private Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters, Context context) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -2388,8 +2373,8 @@ private Mono stopPacketCaptureAsync(String resourceGrou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse8 stopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) { + public String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).block(); } @@ -2407,8 +2392,8 @@ public ArmAcceptedLroResponse8 stopPacketCapture(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse8 stopPacketCapture(String resourceGroupName, - String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, Context context) { + public String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, + VpnPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters, context) .block(); } @@ -2499,12 +2484,11 @@ private Mono>> getIkeSasWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse9> - beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + public PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName) { Mono>> mono = getIkeSasWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse9.class, ArmAcceptedLroResponse9.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -2520,13 +2504,13 @@ private Mono>> getIkeSasWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse9> - beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { + private PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, + String virtualNetworkGatewayConnectionName, Context context) { context = this.client.mergeContext(context); Mono>> mono = getIkeSasWithResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse9.class, ArmAcceptedLroResponse9.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -2540,8 +2524,8 @@ private Mono>> getIkeSasWithResponseAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse9> - beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + public SyncPoller, String> beginGetIkeSas(String resourceGroupName, + String virtualNetworkGatewayConnectionName) { return this.beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).getSyncPoller(); } @@ -2557,8 +2541,8 @@ private Mono>> getIkeSasWithResponseAsync(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse9> - beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { + public SyncPoller, String> beginGetIkeSas(String resourceGroupName, + String virtualNetworkGatewayConnectionName, Context context) { return this.beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context) .getSyncPoller(); } @@ -2574,8 +2558,7 @@ private Mono>> getIkeSasWithResponseAsync(String resou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getIkeSasAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName) { + public Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) { return beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2592,8 +2575,8 @@ public Mono getIkeSasAsync(String resourceGroupName, * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getIkeSasAsync(String resourceGroupName, - String virtualNetworkGatewayConnectionName, Context context) { + private Mono getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, + Context context) { return beginGetIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2609,7 +2592,7 @@ private Mono getIkeSasAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse9 getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) { + public String getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) { return getIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName).block(); } @@ -2625,8 +2608,7 @@ public ArmAcceptedLroResponse9 getIkeSas(String resourceGroupName, String virtua * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse9 getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, - Context context) { + public String getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, Context context) { return getIkeSasAsync(resourceGroupName, virtualNetworkGatewayConnectionName, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayImpl.java index 9c6ff55b53e2..63b653ca55fd 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayImpl.java @@ -213,15 +213,10 @@ public PagedFlux listConnectionsAsync() { @Override public String generateVpnProfile() { - this.manager() - .serviceClient() - .getVirtualNetworkGateways() - .generateVpnProfile(resourceGroupName(), name(), new VpnClientParameters()); return this.manager() .serviceClient() .getVirtualNetworkGateways() - .getVpnProfilePackageUrl(resourceGroupName(), name()) - .body(); + .generateVpnProfile(resourceGroupName(), name(), new VpnClientParameters()); } @Override @@ -229,12 +224,7 @@ public Mono generateVpnProfileAsync() { return this.manager() .serviceClient() .getVirtualNetworkGateways() - .generateVpnProfileAsync(resourceGroupName(), name(), new VpnClientParameters()) - .then(this.manager() - .serviceClient() - .getVirtualNetworkGateways() - .getVpnProfilePackageUrlAsync(resourceGroupName(), name())) - .map(result -> result.body()); + .generateVpnProfileAsync(resourceGroupName(), name(), new VpnClientParameters()); } @Override diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java index ff90ffd4b7c9..4c55f6044c18 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java @@ -48,13 +48,6 @@ import com.azure.resourcemanager.network.fluent.models.VpnClientIPsecParametersInner; import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayListConnectionsResult; import com.azure.resourcemanager.network.implementation.models.VirtualNetworkGatewayListResult; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse1; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse2; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse3; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse4; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse5; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse6; import com.azure.resourcemanager.network.models.ErrorException; import com.azure.resourcemanager.network.models.ExpressRouteFailoverStopApiParameters; import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; @@ -2134,12 +2127,11 @@ private Mono>> generatevpnclientpackageWithResponseAsy * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse> beginGeneratevpnclientpackageAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { + public PollerFlux, String> beginGeneratevpnclientpackageAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters) { Mono>> mono = generatevpnclientpackageWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse.class, ArmAcceptedLroResponse.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -2156,13 +2148,13 @@ public PollerFlux, ArmAcceptedLroResponse> be * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse> beginGeneratevpnclientpackageAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + private PollerFlux, String> beginGeneratevpnclientpackageAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = generatevpnclientpackageWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse.class, ArmAcceptedLroResponse.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -2177,8 +2169,8 @@ private PollerFlux, ArmAcceptedLroResponse> b * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse> beginGeneratevpnclientpackage( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { + public SyncPoller, String> beginGeneratevpnclientpackage(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters) { return this.beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); } @@ -2196,8 +2188,8 @@ public SyncPoller, ArmAcceptedLroResponse> be * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse> beginGeneratevpnclientpackage( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + public SyncPoller, String> beginGeneratevpnclientpackage(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return this .beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); @@ -2215,8 +2207,8 @@ public SyncPoller, ArmAcceptedLroResponse> be * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generatevpnclientpackageAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters) { + public Mono generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters) { return beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2234,8 +2226,8 @@ public Mono generatevpnclientpackageAsync(String resourc * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generatevpnclientpackageAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + private Mono generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters, Context context) { return beginGeneratevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -2253,7 +2245,7 @@ private Mono generatevpnclientpackageAsync(String resour * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + public String generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return generatevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -2271,7 +2263,7 @@ public ArmAcceptedLroResponse generatevpnclientpackage(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, + public String generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return generatevpnclientpackageAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -2380,12 +2372,11 @@ private Mono>> generateVpnProfileWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse1> beginGenerateVpnProfileAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { + public PollerFlux, String> beginGenerateVpnProfileAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters) { Mono>> mono = generateVpnProfileWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse1.class, ArmAcceptedLroResponse1.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -2403,13 +2394,13 @@ public PollerFlux, ArmAcceptedLroResponse1> * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse1> beginGenerateVpnProfileAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + private PollerFlux, String> beginGenerateVpnProfileAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = generateVpnProfileWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse1.class, ArmAcceptedLroResponse1.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -2425,8 +2416,8 @@ private PollerFlux, ArmAcceptedLroResponse1> * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse1> beginGenerateVpnProfile( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { + public SyncPoller, String> beginGenerateVpnProfile(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters) { return this.beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); } @@ -2445,8 +2436,8 @@ public SyncPoller, ArmAcceptedLroResponse1> * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse1> beginGenerateVpnProfile( - String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + public SyncPoller, String> beginGenerateVpnProfile(String resourceGroupName, + String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return this.beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); } @@ -2464,8 +2455,8 @@ public SyncPoller, ArmAcceptedLroResponse1> * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generateVpnProfileAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters) { + public Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters) { return beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2484,8 +2475,8 @@ public Mono generateVpnProfileAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generateVpnProfileAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { + private Mono generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnClientParameters parameters, Context context) { return beginGenerateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2503,7 +2494,7 @@ private Mono generateVpnProfileAsync(String resourceGro * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse1 generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + public String generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters) { return generateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -2522,7 +2513,7 @@ public ArmAcceptedLroResponse1 generateVpnProfile(String resourceGroupName, Stri * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse1 generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, + public String generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, Context context) { return generateVpnProfileAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -2618,12 +2609,11 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse2> - beginGetVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName) { + public PollerFlux, String> beginGetVpnProfilePackageUrlAsync(String resourceGroupName, + String virtualNetworkGatewayName) { Mono>> mono = getVpnProfilePackageUrlWithResponseAsync(resourceGroupName, virtualNetworkGatewayName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse2.class, ArmAcceptedLroResponse2.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -2641,13 +2631,13 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse2> - beginGetVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + private PollerFlux, String> beginGetVpnProfilePackageUrlAsync(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { context = this.client.mergeContext(context); Mono>> mono = getVpnProfilePackageUrlWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse2.class, ArmAcceptedLroResponse2.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -2663,8 +2653,8 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse2> - beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName) { + public SyncPoller, String> beginGetVpnProfilePackageUrl(String resourceGroupName, + String virtualNetworkGatewayName) { return this.beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName).getSyncPoller(); } @@ -2682,8 +2672,8 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse2> - beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, Context context) { + public SyncPoller, String> beginGetVpnProfilePackageUrl(String resourceGroupName, + String virtualNetworkGatewayName, Context context) { return this.beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName, context) .getSyncPoller(); } @@ -2701,8 +2691,7 @@ private Mono>> getVpnProfilePackageUrlWithResponseAsyn * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getVpnProfilePackageUrlAsync(String resourceGroupName, - String virtualNetworkGatewayName) { + public Mono getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName) { return beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2721,8 +2710,8 @@ public Mono getVpnProfilePackageUrlAsync(String resourc * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getVpnProfilePackageUrlAsync(String resourceGroupName, - String virtualNetworkGatewayName, Context context) { + private Mono getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName, + Context context) { return beginGetVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2739,7 +2728,7 @@ private Mono getVpnProfilePackageUrlAsync(String resour * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse2 getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName) { + public String getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName) { return getVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName).block(); } @@ -2756,8 +2745,7 @@ public ArmAcceptedLroResponse2 getVpnProfilePackageUrl(String resourceGroupName, * @return pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse2 getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, - Context context) { + public String getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, Context context) { return getVpnProfilePackageUrlAsync(resourceGroupName, virtualNetworkGatewayName, context).block(); } @@ -4901,12 +4889,11 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse3> beginStartPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters) { + public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse3.class, ArmAcceptedLroResponse3.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -4921,13 +4908,12 @@ public PollerFlux, ArmAcceptedLroResponse3> * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse3> - beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName) { + public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse3.class, ArmAcceptedLroResponse3.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -4944,14 +4930,13 @@ public PollerFlux, ArmAcceptedLroResponse3> * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse3> beginStartPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, - Context context) { + private PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse3.class, ArmAcceptedLroResponse3.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -4965,8 +4950,8 @@ private PollerFlux, ArmAcceptedLroResponse3> * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse3> - beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayName) { + public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, + String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); @@ -4985,9 +4970,8 @@ private PollerFlux, ArmAcceptedLroResponse3> * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse3> beginStartPacketCapture( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, - Context context) { + public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { return this.beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); } @@ -5004,8 +4988,8 @@ public SyncPoller, ArmAcceptedLroResponse3> * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters) { + public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -5021,8 +5005,7 @@ public Mono startPacketCaptureAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName) { + public Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -5041,8 +5024,8 @@ public Mono startPacketCaptureAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { + private Mono startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnPacketCaptureStartParameters parameters, Context context) { return beginStartPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -5058,7 +5041,7 @@ private Mono startPacketCaptureAsync(String resourceGro * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse3 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName) { + public String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName) { final VpnPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -5076,7 +5059,7 @@ public ArmAcceptedLroResponse3 startPacketCapture(String resourceGroupName, Stri * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse3 startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + public String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -5182,12 +5165,11 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse4> beginStopPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { + public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse4.class, ArmAcceptedLroResponse4.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -5204,14 +5186,13 @@ public PollerFlux, ArmAcceptedLroResponse4> * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse4> beginStopPacketCaptureAsync( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, - Context context) { + private PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse4.class, ArmAcceptedLroResponse4.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -5226,8 +5207,8 @@ private PollerFlux, ArmAcceptedLroResponse4> * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse4> beginStopPacketCapture( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { + public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { return this.beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters) .getSyncPoller(); } @@ -5245,9 +5226,8 @@ public SyncPoller, ArmAcceptedLroResponse4> * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse4> beginStopPacketCapture( - String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, - Context context) { + public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, + String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { return this.beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context) .getSyncPoller(); } @@ -5264,8 +5244,8 @@ public SyncPoller, ArmAcceptedLroResponse4> * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { + public Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -5283,8 +5263,8 @@ public Mono stopPacketCaptureAsync(String resourceGroup * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, - String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { + private Mono stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, + VpnPacketCaptureStopParameters parameters, Context context) { return beginStopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -5301,7 +5281,7 @@ private Mono stopPacketCaptureAsync(String resourceGrou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse4 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + public String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters).block(); } @@ -5319,7 +5299,7 @@ public ArmAcceptedLroResponse4 stopPacketCapture(String resourceGroupName, Strin * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse4 stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, + public String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, virtualNetworkGatewayName, parameters, context).block(); } @@ -5980,13 +5960,11 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse5> - beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation) { + public PollerFlux, String> beginStartExpressRouteSiteFailoverSimulationAsync( + String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation) { Mono>> mono = startExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, peeringLocation); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse5.class, ArmAcceptedLroResponse5.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -6003,14 +5981,13 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse5> - beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation, Context context) { + private PollerFlux, String> beginStartExpressRouteSiteFailoverSimulationAsync( + String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context) { context = this.client.mergeContext(context); Mono>> mono = startExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, peeringLocation, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse5.class, ArmAcceptedLroResponse5.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -6025,9 +6002,8 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse5> - beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation) { + public SyncPoller, String> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation) { return this .beginStartExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation) @@ -6047,9 +6023,8 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse5> - beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - String peeringLocation, Context context) { + public SyncPoller, String> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, String peeringLocation, Context context) { return this .beginStartExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation, context) @@ -6068,7 +6043,7 @@ private Mono>> startExpressRouteSiteFailoverSimulation * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + public Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation) { return beginStartExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation).last().flatMap(this.client::getLroFinalResultOrError); @@ -6087,7 +6062,7 @@ public Mono startExpressRouteSiteFailoverSimulationAsyn * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + private Mono startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, Context context) { return beginStartExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation, context).last().flatMap(this.client::getLroFinalResultOrError); @@ -6105,8 +6080,8 @@ private Mono startExpressRouteSiteFailoverSimulationAsy * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse5 startExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation) { + public String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation) { return startExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation).block(); } @@ -6124,8 +6099,8 @@ public ArmAcceptedLroResponse5 startExpressRouteSiteFailoverSimulation(String re * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse5 startExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, String peeringLocation, Context context) { + public String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + String peeringLocation, Context context) { return startExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, peeringLocation, context).block(); } @@ -6237,13 +6212,12 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse6> - beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters) { + public PollerFlux, String> beginStopExpressRouteSiteFailoverSimulationAsync( + String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters) { Mono>> mono = stopExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, stopParameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse6.class, ArmAcceptedLroResponse6.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -6261,14 +6235,14 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse6> - beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters, Context context) { + private PollerFlux, String> beginStopExpressRouteSiteFailoverSimulationAsync( + String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopExpressRouteSiteFailoverSimulationWithResponseAsync( resourceGroupName, virtualNetworkGatewayName, stopParameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse6.class, ArmAcceptedLroResponse6.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -6284,9 +6258,8 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse6> - beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters) { + public SyncPoller, String> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters) { return this .beginStopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters) @@ -6307,9 +6280,8 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse6> - beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, - ExpressRouteFailoverStopApiParameters stopParameters, Context context) { + public SyncPoller, String> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, + String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context) { return this .beginStopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters, context) @@ -6329,7 +6301,7 @@ private Mono>> stopExpressRouteSiteFailoverSimulationW * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + public Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters) { return beginStopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters).last().flatMap(this.client::getLroFinalResultOrError); @@ -6349,7 +6321,7 @@ public Mono stopExpressRouteSiteFailoverSimulationAsync * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, + private Mono stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context) { return beginStopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters, context).last().flatMap(this.client::getLroFinalResultOrError); @@ -6368,8 +6340,8 @@ private Mono stopExpressRouteSiteFailoverSimulationAsyn * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse6 stopExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters) { + public String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters) { return stopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters) .block(); } @@ -6388,8 +6360,8 @@ public ArmAcceptedLroResponse6 stopExpressRouteSiteFailoverSimulation(String res * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse6 stopExpressRouteSiteFailoverSimulation(String resourceGroupName, - String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, Context context) { + public String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, + ExpressRouteFailoverStopApiParameters stopParameters, Context context) { return stopExpressRouteSiteFailoverSimulationAsync(resourceGroupName, virtualNetworkGatewayName, stopParameters, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java index a4d979bc7840..6fc54fe228b4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java @@ -35,8 +35,6 @@ import com.azure.resourcemanager.network.fluent.VpnConnectionsClient; import com.azure.resourcemanager.network.fluent.models.VpnConnectionInner; import com.azure.resourcemanager.network.implementation.models.ListVpnConnectionsResult; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse12; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse13; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStopParameters; import java.nio.ByteBuffer; @@ -861,13 +859,11 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse12> beginStartPacketCaptureAsync( - String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters) { + public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse12.class, ArmAcceptedLroResponse12.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -883,13 +879,12 @@ public PollerFlux, ArmAcceptedLroResponse12 * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse12> - beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName) { + public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse12.class, ArmAcceptedLroResponse12.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -908,14 +903,14 @@ public PollerFlux, ArmAcceptedLroResponse12 * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse12> beginStartPacketCaptureAsync( - String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters, Context context) { + private PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse12.class, ArmAcceptedLroResponse12.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -930,8 +925,8 @@ private PollerFlux, ArmAcceptedLroResponse1 * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse12> - beginStartPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { + public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters) .getSyncPoller(); @@ -952,9 +947,8 @@ private PollerFlux, ArmAcceptedLroResponse1 * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse12> beginStartPacketCapture( - String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStartParameters parameters, Context context) { + public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context) { return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .getSyncPoller(); } @@ -973,8 +967,8 @@ public SyncPoller, ArmAcceptedLroResponse12 * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters) { + public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -991,7 +985,7 @@ public Mono startPacketCaptureAsync(String resourceGro * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() @@ -1013,8 +1007,8 @@ public Mono startPacketCaptureAsync(String resourceGro * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context) { + private Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters, Context context) { return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -1032,8 +1026,7 @@ private Mono startPacketCaptureAsync(String resourceGr * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse12 startPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName) { + public String startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).block(); } @@ -1053,8 +1046,8 @@ public ArmAcceptedLroResponse12 startPacketCapture(String resourceGroupName, Str * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse12 startPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStartParameters parameters, Context context) { + public String startPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context).block(); } @@ -1163,13 +1156,11 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse13> beginStopPacketCaptureAsync( - String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters) { + public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse13.class, ArmAcceptedLroResponse13.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -1185,13 +1176,12 @@ public PollerFlux, ArmAcceptedLroResponse13 * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse13> - beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName) { + public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse13.class, ArmAcceptedLroResponse13.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -1209,14 +1199,14 @@ public PollerFlux, ArmAcceptedLroResponse13 * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse13> beginStopPacketCaptureAsync( - String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters, Context context) { + private PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String gatewayName, String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse13.class, ArmAcceptedLroResponse13.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -1231,8 +1221,8 @@ private PollerFlux, ArmAcceptedLroResponse1 * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse13> - beginStopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { + public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters) .getSyncPoller(); @@ -1252,9 +1242,8 @@ private PollerFlux, ArmAcceptedLroResponse1 * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse13> beginStopPacketCapture( - String resourceGroupName, String gatewayName, String vpnConnectionName, - VpnConnectionPacketCaptureStopParameters parameters, Context context) { + public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, + String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context) { return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .getSyncPoller(); } @@ -1272,8 +1261,8 @@ public SyncPoller, ArmAcceptedLroResponse13 * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters) { + public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1290,8 +1279,7 @@ public Mono stopPacketCaptureAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName) { + public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1311,8 +1299,8 @@ public Mono stopPacketCaptureAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context) { + private Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters, Context context) { return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context) .last() .flatMap(this.client::getLroFinalResultOrError); @@ -1330,8 +1318,7 @@ private Mono stopPacketCaptureAsync(String resourceGro * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse13 stopPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName) { + public String stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName) { final VpnConnectionPacketCaptureStopParameters parameters = null; return stopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters).block(); } @@ -1350,8 +1337,8 @@ public ArmAcceptedLroResponse13 stopPacketCapture(String resourceGroupName, Stri * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse13 stopPacketCapture(String resourceGroupName, String gatewayName, - String vpnConnectionName, VpnConnectionPacketCaptureStopParameters parameters, Context context) { + public String stopPacketCapture(String resourceGroupName, String gatewayName, String vpnConnectionName, + VpnConnectionPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, gatewayName, vpnConnectionName, parameters, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java index c937057c27d7..9a25c18d13b5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java @@ -36,8 +36,6 @@ import com.azure.resourcemanager.network.fluent.VpnGatewaysClient; import com.azure.resourcemanager.network.fluent.models.VpnGatewayInner; import com.azure.resourcemanager.network.implementation.models.ListVpnGatewaysResult; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse10; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse11; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStartParameters; import com.azure.resourcemanager.network.models.VpnGatewayPacketCaptureStopParameters; @@ -1564,12 +1562,11 @@ private Mono>> startPacketCaptureWithResponseAsync(Str * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse10> beginStartPacketCaptureAsync( - String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) { + public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) { Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse10.class, ArmAcceptedLroResponse10.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -1584,13 +1581,12 @@ public PollerFlux, ArmAcceptedLroResponse10 * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse10> - beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName) { + public PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String gatewayName) { final VpnGatewayPacketCaptureStartParameters parameters = null; Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse10.class, ArmAcceptedLroResponse10.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -1607,14 +1603,13 @@ public PollerFlux, ArmAcceptedLroResponse10 * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse10> beginStartPacketCaptureAsync( - String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, - Context context) { + private PollerFlux, String> beginStartPacketCaptureAsync(String resourceGroupName, + String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = startPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse10.class, ArmAcceptedLroResponse10.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -1628,8 +1623,8 @@ private PollerFlux, ArmAcceptedLroResponse1 * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse10> - beginStartPacketCapture(String resourceGroupName, String gatewayName) { + public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, + String gatewayName) { final VpnGatewayPacketCaptureStartParameters parameters = null; return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); } @@ -1647,9 +1642,8 @@ private PollerFlux, ArmAcceptedLroResponse1 * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse10> beginStartPacketCapture( - String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, - Context context) { + public SyncPoller, String> beginStartPacketCapture(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStartParameters parameters, Context context) { return this.beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); } @@ -1665,7 +1659,7 @@ public SyncPoller, ArmAcceptedLroResponse10 * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) { return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1682,7 +1676,7 @@ public Mono startPacketCaptureAsync(String resourceGro * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName) { + public Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStartParameters parameters = null; return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1701,7 +1695,7 @@ public Mono startPacketCaptureAsync(String resourceGro * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, + private Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context) { return beginStartPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1718,7 +1712,7 @@ private Mono startPacketCaptureAsync(String resourceGr * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse10 startPacketCapture(String resourceGroupName, String gatewayName) { + public String startPacketCapture(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStartParameters parameters = null; return startPacketCaptureAsync(resourceGroupName, gatewayName, parameters).block(); } @@ -1736,7 +1730,7 @@ public ArmAcceptedLroResponse10 startPacketCapture(String resourceGroupName, Str * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse10 startPacketCapture(String resourceGroupName, String gatewayName, + public String startPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context) { return startPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).block(); } @@ -1833,12 +1827,11 @@ private Mono>> stopPacketCaptureWithResponseAsync(Stri * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse11> beginStopPacketCaptureAsync( - String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) { + public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) { Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse11.class, ArmAcceptedLroResponse11.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -1853,13 +1846,12 @@ public PollerFlux, ArmAcceptedLroResponse11 * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse11> - beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName) { + public PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String gatewayName) { final VpnGatewayPacketCaptureStopParameters parameters = null; Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse11.class, ArmAcceptedLroResponse11.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -1876,14 +1868,13 @@ public PollerFlux, ArmAcceptedLroResponse11 * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse11> beginStopPacketCaptureAsync( - String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, - Context context) { + private PollerFlux, String> beginStopPacketCaptureAsync(String resourceGroupName, + String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = stopPacketCaptureWithResponseAsync(resourceGroupName, gatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse11.class, ArmAcceptedLroResponse11.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -1897,8 +1888,7 @@ private PollerFlux, ArmAcceptedLroResponse1 * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse11> - beginStopPacketCapture(String resourceGroupName, String gatewayName) { + public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStopParameters parameters = null; return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); } @@ -1916,9 +1906,8 @@ private PollerFlux, ArmAcceptedLroResponse1 * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse11> beginStopPacketCapture( - String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, - Context context) { + public SyncPoller, String> beginStopPacketCapture(String resourceGroupName, String gatewayName, + VpnGatewayPacketCaptureStopParameters parameters, Context context) { return this.beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); } @@ -1934,7 +1923,7 @@ public SyncPoller, ArmAcceptedLroResponse11 * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) { return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1951,7 +1940,7 @@ public Mono stopPacketCaptureAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName) { + public Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStopParameters parameters = null; return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1970,7 +1959,7 @@ public Mono stopPacketCaptureAsync(String resourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, + private Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context) { return beginStopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).last() .flatMap(this.client::getLroFinalResultOrError); @@ -1987,7 +1976,7 @@ private Mono stopPacketCaptureAsync(String resourceGro * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse11 stopPacketCapture(String resourceGroupName, String gatewayName) { + public String stopPacketCapture(String resourceGroupName, String gatewayName) { final VpnGatewayPacketCaptureStopParameters parameters = null; return stopPacketCaptureAsync(resourceGroupName, gatewayName, parameters).block(); } @@ -2005,7 +1994,7 @@ public ArmAcceptedLroResponse11 stopPacketCapture(String resourceGroupName, Stri * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse11 stopPacketCapture(String resourceGroupName, String gatewayName, + public String stopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context) { return stopPacketCaptureAsync(resourceGroupName, gatewayName, parameters, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java index 42dec25181e9..2ea99a564988 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java @@ -36,7 +36,6 @@ import com.azure.resourcemanager.network.fluent.models.VpnSiteLinkConnectionInner; import com.azure.resourcemanager.network.implementation.models.ConnectionSharedKeyResultList; import com.azure.resourcemanager.network.implementation.models.ListVpnSiteLinkConnectionsResult; -import com.azure.resourcemanager.network.models.ArmAcceptedLroResponse14; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -1476,12 +1475,11 @@ private Mono>> getIkeSasWithResponseAsync(String resou * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, ArmAcceptedLroResponse14> beginGetIkeSasAsync( - String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { + public PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName) { Mono>> mono = getIkeSasWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse14.class, ArmAcceptedLroResponse14.class, + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, this.client.getContext()); } @@ -1499,14 +1497,13 @@ public PollerFlux, ArmAcceptedLroResponse14 * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ArmAcceptedLroResponse14> beginGetIkeSasAsync( - String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, - Context context) { + private PollerFlux, String> beginGetIkeSasAsync(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName, Context context) { context = this.client.mergeContext(context); Mono>> mono = getIkeSasWithResponseAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), ArmAcceptedLroResponse14.class, ArmAcceptedLroResponse14.class, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), String.class, String.class, + context); } /** @@ -1522,8 +1519,8 @@ private PollerFlux, ArmAcceptedLroResponse1 * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse14> - beginGetIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { + public SyncPoller, String> beginGetIkeSas(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName) { return this.beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName) .getSyncPoller(); } @@ -1542,9 +1539,8 @@ private PollerFlux, ArmAcceptedLroResponse1 * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ArmAcceptedLroResponse14> beginGetIkeSas( - String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, - Context context) { + public SyncPoller, String> beginGetIkeSas(String resourceGroupName, String gatewayName, + String connectionName, String linkConnectionName, Context context) { return this.beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context) .getSyncPoller(); } @@ -1562,8 +1558,8 @@ public SyncPoller, ArmAcceptedLroResponse14 * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getIkeSasAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName) { + public Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName) { return beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1582,8 +1578,8 @@ public Mono getIkeSasAsync(String resourceGroupName, S * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getIkeSasAsync(String resourceGroupName, String gatewayName, - String connectionName, String linkConnectionName, Context context) { + private Mono getIkeSasAsync(String resourceGroupName, String gatewayName, String connectionName, + String linkConnectionName, Context context) { return beginGetIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1601,7 +1597,7 @@ private Mono getIkeSasAsync(String resourceGroupName, * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse14 getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + public String getIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName) { return getIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName).block(); } @@ -1620,7 +1616,7 @@ public ArmAcceptedLroResponse14 getIkeSas(String resourceGroupName, String gatew * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ArmAcceptedLroResponse14 getIkeSas(String resourceGroupName, String gatewayName, String connectionName, + public String getIkeSas(String resourceGroupName, String gatewayName, String connectionName, String linkConnectionName, Context context) { return getIkeSasAsync(resourceGroupName, gatewayName, connectionName, linkConnectionName, context).block(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java deleted file mode 100644 index bcea04818aac..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse class. - */ - private ArmAcceptedLroResponse() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse 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 ArmAcceptedLroResponse. - */ - public static ArmAcceptedLroResponse fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse deserializedArmAcceptedLroResponse = new ArmAcceptedLroResponse(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse1.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse1.java deleted file mode 100644 index 5f44dad7d516..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse1.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse1 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse1 class. - */ - private ArmAcceptedLroResponse1() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse1 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse1 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 ArmAcceptedLroResponse1. - */ - public static ArmAcceptedLroResponse1 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse1 deserializedArmAcceptedLroResponse1 = new ArmAcceptedLroResponse1(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse1; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse10.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse10.java deleted file mode 100644 index 3d9e59d56e39..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse10.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse10 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse10 class. - */ - private ArmAcceptedLroResponse10() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse10 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse10 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 ArmAcceptedLroResponse10. - */ - public static ArmAcceptedLroResponse10 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse10 deserializedArmAcceptedLroResponse10 = new ArmAcceptedLroResponse10(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse10; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse11.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse11.java deleted file mode 100644 index 5800f6aa67ff..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse11.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse11 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse11 class. - */ - private ArmAcceptedLroResponse11() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse11 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse11 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 ArmAcceptedLroResponse11. - */ - public static ArmAcceptedLroResponse11 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse11 deserializedArmAcceptedLroResponse11 = new ArmAcceptedLroResponse11(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse11; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse12.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse12.java deleted file mode 100644 index 94fbc3264e1b..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse12.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse12 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse12 class. - */ - private ArmAcceptedLroResponse12() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse12 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse12 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 ArmAcceptedLroResponse12. - */ - public static ArmAcceptedLroResponse12 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse12 deserializedArmAcceptedLroResponse12 = new ArmAcceptedLroResponse12(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse12; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse13.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse13.java deleted file mode 100644 index 430a469fd965..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse13.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse13 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse13 class. - */ - private ArmAcceptedLroResponse13() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse13 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse13 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 ArmAcceptedLroResponse13. - */ - public static ArmAcceptedLroResponse13 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse13 deserializedArmAcceptedLroResponse13 = new ArmAcceptedLroResponse13(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse13; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse14.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse14.java deleted file mode 100644 index 59bf153cd7b9..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse14.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse14 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse14 class. - */ - private ArmAcceptedLroResponse14() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse14 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse14 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 ArmAcceptedLroResponse14. - */ - public static ArmAcceptedLroResponse14 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse14 deserializedArmAcceptedLroResponse14 = new ArmAcceptedLroResponse14(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse14; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse2.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse2.java deleted file mode 100644 index 3691f60edf9f..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse2.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse2 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse2 class. - */ - private ArmAcceptedLroResponse2() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse2 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse2 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 ArmAcceptedLroResponse2. - */ - public static ArmAcceptedLroResponse2 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse2 deserializedArmAcceptedLroResponse2 = new ArmAcceptedLroResponse2(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse2; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse3.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse3.java deleted file mode 100644 index 3c0f68a3a8a4..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse3.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse3 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse3 class. - */ - private ArmAcceptedLroResponse3() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse3 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse3 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 ArmAcceptedLroResponse3. - */ - public static ArmAcceptedLroResponse3 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse3 deserializedArmAcceptedLroResponse3 = new ArmAcceptedLroResponse3(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse3; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse4.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse4.java deleted file mode 100644 index d512f3ec7b08..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse4.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse4 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse4 class. - */ - private ArmAcceptedLroResponse4() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse4 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse4 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 ArmAcceptedLroResponse4. - */ - public static ArmAcceptedLroResponse4 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse4 deserializedArmAcceptedLroResponse4 = new ArmAcceptedLroResponse4(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse4; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse5.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse5.java deleted file mode 100644 index b3a2e9b62ba9..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse5.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse5 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse5 class. - */ - private ArmAcceptedLroResponse5() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse5 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse5 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 ArmAcceptedLroResponse5. - */ - public static ArmAcceptedLroResponse5 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse5 deserializedArmAcceptedLroResponse5 = new ArmAcceptedLroResponse5(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse5; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse6.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse6.java deleted file mode 100644 index 7b40305ba0bc..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse6.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse6 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse6 class. - */ - private ArmAcceptedLroResponse6() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse6 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse6 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 ArmAcceptedLroResponse6. - */ - public static ArmAcceptedLroResponse6 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse6 deserializedArmAcceptedLroResponse6 = new ArmAcceptedLroResponse6(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse6; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse7.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse7.java deleted file mode 100644 index e5a7da41e8c2..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse7.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse7 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse7 class. - */ - private ArmAcceptedLroResponse7() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse7 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse7 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 ArmAcceptedLroResponse7. - */ - public static ArmAcceptedLroResponse7 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse7 deserializedArmAcceptedLroResponse7 = new ArmAcceptedLroResponse7(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse7; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse8.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse8.java deleted file mode 100644 index 8afd30618f47..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse8.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse8 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse8 class. - */ - private ArmAcceptedLroResponse8() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse8 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse8 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 ArmAcceptedLroResponse8. - */ - public static ArmAcceptedLroResponse8 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse8 deserializedArmAcceptedLroResponse8 = new ArmAcceptedLroResponse8(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse8; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse9.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse9.java deleted file mode 100644 index a5549276d313..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse9.java +++ /dev/null @@ -1,63 +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.network.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 java.io.IOException; - -/** - * Resource operation accepted. - */ -@Immutable -public final class ArmAcceptedLroResponse9 implements JsonSerializable { - /** - * Creates an instance of ArmAcceptedLroResponse9 class. - */ - private ArmAcceptedLroResponse9() { - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ArmAcceptedLroResponse9 from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ArmAcceptedLroResponse9 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 ArmAcceptedLroResponse9. - */ - public static ArmAcceptedLroResponse9 fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ArmAcceptedLroResponse9 deserializedArmAcceptedLroResponse9 = new ArmAcceptedLroResponse9(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - reader.skipChildren(); - } - - return deserializedArmAcceptedLroResponse9; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index 60e480d139de..6f7ed50768a9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse1.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse10.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse11.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse12.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse13.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse14.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse2.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse3.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse4.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse5.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse6.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse7.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse8.java","src/main/java/com/azure/resourcemanager/network/models/ArmAcceptedLroResponse9.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file From 9c2ad69590e3aa2f2d7b57490cac092044853f80 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 27 Mar 2026 14:37:12 +0800 Subject: [PATCH 23/33] regen --- .../CHANGELOG.md | 386 ++++++++---------- .../customization/pom.xml | 17 - .../src/main/java/NetworkCustomization.java | 59 --- ...GatewayPrivateEndpointConnectionInner.java | 8 +- .../models/BackendAddressPoolInner.java | 8 +- .../fluent/models/BgpConnectionInner.java | 8 +- .../ConnectionSharedKeyResultInner.java | 8 +- .../models/DdosProtectionPlanInner.java | 43 +- ...ExpressRouteCircuitAuthorizationInner.java | 8 +- .../ExpressRouteCircuitConnectionInner.java | 8 +- .../ExpressRouteCircuitPeeringInner.java | 8 +- .../ExpressRoutePortAuthorizationInner.java | 8 +- .../models/ExpressRouteProviderPortInner.java | 18 +- ...llPolicyRuleCollectionGroupDraftInner.java | 8 +- ...irewallPolicyRuleCollectionGroupInner.java | 8 +- .../models/FrontendIpConfigurationInner.java | 8 +- .../models/HubIpConfigurationInner.java | 8 +- .../fluent/models/HubRouteTableInner.java | 8 +- .../fluent/models/InboundNatRuleInner.java | 8 +- .../models/InboundSecurityRuleInner.java | 8 +- .../fluent/models/LoadBalancingRuleInner.java | 8 +- .../NetworkInterfaceIpConfigurationInner.java | 8 +- ...NetworkInterfaceTapConfigurationInner.java | 8 +- .../fluent/models/OutboundRuleInner.java | 8 +- .../fluent/models/P2SVpnGatewayInner.java | 66 +-- .../PrivateEndpointConnectionInner.java | 8 +- .../network/fluent/models/ProbeInner.java | 8 +- .../fluent/models/RouteFilterInner.java | 88 ++-- .../network/fluent/models/RouteInner.java | 8 +- .../fluent/models/RoutingIntentInner.java | 8 +- .../fluent/models/SecurityRuleInner.java | 8 +- .../ServiceEndpointPolicyDefinitionInner.java | 8 +- .../network/fluent/models/SubnetInner.java | 8 +- .../models/VirtualApplianceSiteInner.java | 8 +- .../fluent/models/VirtualHubInner.java | 66 +-- .../VirtualNetworkGatewayNatRuleInner.java | 8 +- .../models/VirtualNetworkPeeringInner.java | 8 +- .../models/VirtualRouterPeeringInner.java | 8 +- .../fluent/models/VirtualWanInner.java | 66 +-- .../fluent/models/VpnGatewayInner.java | 66 +-- .../fluent/models/VpnGatewayNatRuleInner.java | 8 +- ...pnServerConfigurationPolicyGroupInner.java | 8 +- .../network/fluent/models/VpnSiteInner.java | 66 +-- .../models/VpnSiteLinkConnectionInner.java | 8 +- .../fluent/models/VpnSiteLinkInner.java | 8 +- .../network/models/SubResourceModel.java | 42 +- .../models/TrackedResourceWithSettableId.java | 215 ---------- .../TrackedResourcewithOptionalLocation.java | 205 ---------- ...zure-resourcemanager-network_metadata.json | 2 +- 49 files changed, 586 insertions(+), 1091 deletions(-) delete mode 100644 sdk/network/azure-resourcemanager-network/customization/pom.xml delete mode 100644 sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index 4920205dfb70..d564b417f719 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -26,8 +26,6 @@ #### `models.BastionSessionDeleteResult` was removed -#### `models.ErrorAdditionalInfo` was removed - #### `models.BastionShareableLinkListResult` was removed #### `models.StaticCidrList` was removed @@ -260,8 +258,6 @@ #### `models.NetworkProfileListResult` was removed -#### `models.ErrorDetail` was removed - #### `models.DdosProtectionPlanListResult` was removed #### `models.NetworkSecurityGroupListResult` was removed @@ -305,46 +301,46 @@ #### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access -* `withAsn(java.lang.Integer)` was removed * `withStateOrPrefixesReceived(java.lang.String)` was removed -* `withUpDown(java.lang.String)` was removed * `withNeighbor(java.lang.String)` was removed +* `withUpDown(java.lang.String)` was removed +* `withAsn(java.lang.Integer)` was removed #### `models.UsageName` was modified * `UsageName()` was changed to private access -* `withValue(java.lang.String)` was removed * `withLocalizedValue(java.lang.String)` was removed +* `withValue(java.lang.String)` was removed #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access -* `withSubnetAssociation(models.SubnetAssociation)` was removed +* `withEffectiveSecurityRules(java.util.List)` was removed * `withDefaultSecurityRules(java.util.List)` was removed +* `withSubnetAssociation(models.SubnetAssociation)` was removed * `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed -* `withEffectiveSecurityRules(java.util.List)` was removed #### `models.ResourceBasics` was modified * `ResourceBasics()` was changed to private access -* `withAddressPrefixes(java.util.List)` was removed * `withResourceId(java.lang.String)` was removed +* `withAddressPrefixes(java.util.List)` was removed #### `models.MatchedRule` was modified * `MatchedRule()` was changed to private access -* `withAction(java.lang.String)` was removed * `withRuleName(java.lang.String)` was removed +* `withAction(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallRule` was modified * `ApplicationGatewayFirewallRule()` was changed to private access +* `withRuleIdString(java.lang.String)` was removed +* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed * `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed * `withRuleId(int)` was removed * `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed * `withDescription(java.lang.String)` was removed -* `withRuleIdString(java.lang.String)` was removed -* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed #### `models.VpnGatewayIpConfiguration` was modified @@ -356,22 +352,22 @@ #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access -* `withAddressPrefix(java.util.List)` was removed -* `withNextHopIpAddress(java.util.List)` was removed * `withName(java.lang.String)` was removed -* `withSource(models.EffectiveRouteSource)` was removed -* `withState(models.EffectiveRouteState)` was removed * `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed * `withNextHopType(models.RouteNextHopType)` was removed +* `withAddressPrefix(java.util.List)` was removed +* `withState(models.EffectiveRouteState)` was removed +* `withNextHopIpAddress(java.util.List)` was removed +* `withSource(models.EffectiveRouteSource)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed * `withId(java.lang.String)` was removed * `withName(java.lang.String)` was removed -* `withPrimary(java.lang.Boolean)` was removed * `withPrivateIpAddressVersion(models.IpVersion)` was removed +* `withPrimary(java.lang.Boolean)` was removed +* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed * `withPrivateIpAddress(java.lang.String)` was removed #### `models.TunnelConnectionHealth` was modified @@ -385,22 +381,26 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access -* `withDestinationPortRanges(java.util.List)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withDestinations(java.util.List)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withSources(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed * `withRegion(java.lang.String)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withSourcePortRanges(java.util.List)` was removed +* `withSources(java.util.List)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withDescription(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `withId(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withDestinations(java.util.List)` was removed * `withPriority(java.lang.Integer)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed + +#### `models.ErrorAdditionalInfo` was modified + +* `ErrorAdditionalInfo()` was changed to private access #### `models.ContainerNetworkInterfaceIpConfiguration` was modified @@ -410,8 +410,8 @@ #### `models.ApplicationGatewayBackendHealthHttpSettings` was modified * `ApplicationGatewayBackendHealthHttpSettings()` was changed to private access -* `withBackendHttpSettings(models.ApplicationGatewayBackendHttpSettings)` was removed * `withServers(java.util.List)` was removed +* `withBackendHttpSettings(models.ApplicationGatewayBackendHttpSettings)` was removed #### `models.NetworkInterfaceAssociation` was modified @@ -434,12 +434,12 @@ #### `models.EffectiveDefaultSecurityAdminRule` was modified * `EffectiveDefaultSecurityAdminRule()` was changed to private access +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed * `withFlag(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withRuleGroups(java.util.List)` was removed #### `models.Container` was modified @@ -449,36 +449,36 @@ #### `models.ServiceAssociationLink` was modified * `ServiceAssociationLink()` was changed to private access -* `withId(java.lang.String)` was removed -* `withLink(java.lang.String)` was removed -* `withAllowDelete(java.lang.Boolean)` was removed * `withLinkedResourceType(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withLocations(java.util.List)` was removed +* `withAllowDelete(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed #### `models.TroubleshootingRecommendedActions` was modified * `TroubleshootingRecommendedActions()` was changed to private access -* `withActionUriText(java.lang.String)` was removed * `withActionText(java.lang.String)` was removed * `withActionUri(java.lang.String)` was removed * `withActionId(java.lang.String)` was removed +* `withActionUriText(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access * `withRecommendationId(java.lang.String)` was removed -* `withRecommendationText(java.lang.String)` was removed -* `withSeverity(java.lang.String)` was removed -* `withRecommendationTitle(java.lang.String)` was removed * `withCallToActionText(java.lang.String)` was removed * `withCallToActionLink(java.lang.String)` was removed +* `withSeverity(java.lang.String)` was removed +* `withRecommendationText(java.lang.String)` was removed +* `withRecommendationTitle(java.lang.String)` was removed #### `models.ContainerNetworkInterface` was modified * `ContainerNetworkInterface()` was changed to private access -* `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withContainer(models.Container)` was removed #### `models.ExpressRouteFailoverRedundantRoute` was modified @@ -490,15 +490,15 @@ #### `models.AzureReachabilityReportLatencyInfo` was modified * `AzureReachabilityReportLatencyInfo()` was changed to private access -* `withTimestamp(java.time.OffsetDateTime)` was removed * `withScore(java.lang.Integer)` was removed +* `withTimestamp(java.time.OffsetDateTime)` was removed #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access +* `withReason(java.lang.String)` was removed * `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed * `withState(java.lang.String)` was removed -* `withReason(java.lang.String)` was removed * `withIpAddress(java.lang.String)` was removed #### `models.ConnectivityHop` was modified @@ -517,35 +517,35 @@ * `EffectiveNetworkSecurityRule()` was changed to private access * `withName(java.lang.String)` was removed -* `withSourceAddressPrefixes(java.util.List)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed * `withSourceAddressPrefix(java.lang.String)` was removed -* `withSourcePortRange(java.lang.String)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withSourceAddressPrefixes(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed * `withDestinationAddressPrefix(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed * `withDestinationPortRange(java.lang.String)` was removed -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withDirection(models.SecurityRuleDirection)` was removed +* `withExpandedSourceAddressPrefix(java.util.List)` was removed * `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed +* `withSourcePortRange(java.lang.String)` was removed * `withAccess(models.SecurityRuleAccess)` was removed -* `withExpandedSourceAddressPrefix(java.util.List)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withDirection(models.SecurityRuleDirection)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access -* `withNetworkSecurityGroupId(java.lang.String)` was removed * `withAppliedTo(java.lang.String)` was removed * `withMatchedRule(models.MatchedRule)` was removed +* `withNetworkSecurityGroupId(java.lang.String)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access -* `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withAssociations(java.util.List)` was removed * `withLocation(java.lang.String)` was removed +* `withAssociations(java.util.List)` was removed +* `withName(java.lang.String)` was removed #### `models.AzureFirewallIpGroups` was modified @@ -572,26 +572,26 @@ #### `models.TroubleshootingDetails` was modified * `TroubleshootingDetails()` was changed to private access +* `withId(java.lang.String)` was removed * `withSummary(java.lang.String)` was removed +* `withReasonType(java.lang.String)` was removed * `withDetail(java.lang.String)` was removed * `withRecommendedActions(java.util.List)` was removed -* `withReasonType(java.lang.String)` was removed -* `withId(java.lang.String)` was removed #### `models.SingleQueryResult` was modified * `SingleQueryResult()` was changed to private access +* `withSignatureId(java.lang.Integer)` was removed * `withInheritedFromParentPolicy(java.lang.Boolean)` was removed +* `withDescription(java.lang.String)` was removed * `withLastUpdated(java.lang.String)` was removed +* `withGroup(java.lang.String)` was removed +* `withProtocol(java.lang.String)` was removed +* `withDestinationPorts(java.util.List)` was removed * `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed * `withSourcePorts(java.util.List)` was removed -* `withSignatureId(java.lang.Integer)` was removed -* `withProtocol(java.lang.String)` was removed * `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed -* `withGroup(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed * `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `withDestinationPorts(java.util.List)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified @@ -599,9 +599,9 @@ * `withSourcePortMatched(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed * `withProtocolMatched(java.lang.Boolean)` was removed -* `withSourceMatched(java.lang.Boolean)` was removed -* `withDestinationPortMatched(java.lang.Boolean)` was removed * `withDestinationMatched(java.lang.Boolean)` was removed +* `withDestinationPortMatched(java.lang.Boolean)` was removed +* `withSourceMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -614,31 +614,31 @@ #### `models.ActiveBaseSecurityAdminRule` was modified -* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` +* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access +* `withDescription(java.lang.String)` was removed * `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withDestinationPortRanges(java.util.List)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withDestinations(java.util.List)` was removed * `withSources(java.util.List)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed * `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withDestinationPortRanges(java.util.List)` was removed * `withPriority(java.lang.Integer)` was removed -* `withDestinations(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed #### `models.BgpPeerStatus` was modified @@ -648,26 +648,26 @@ * `NatRulePortMapping()` was changed to private access * `withBackendPort(java.lang.Integer)` was removed -* `withInboundNatRuleName(java.lang.String)` was removed * `withFrontendPort(java.lang.Integer)` was removed +* `withInboundNatRuleName(java.lang.String)` was removed #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access -* `withResourceIdDimensionNameOverride(java.lang.String)` was removed -* `withUnit(java.lang.String)` was removed +* `withSourceMdmAccount(java.lang.String)` was removed * `withAggregationType(java.lang.String)` was removed -* `withIsInternal(java.lang.Boolean)` was removed * `withMetricFilterPattern(java.lang.String)` was removed -* `withSourceMdmAccount(java.lang.String)` was removed +* `withResourceIdDimensionNameOverride(java.lang.String)` was removed +* `withIsInternal(java.lang.Boolean)` was removed +* `withDisplayName(java.lang.String)` was removed +* `withSourceMdmNamespace(java.lang.String)` was removed +* `withUnit(java.lang.String)` was removed +* `withAvailabilities(java.util.List)` was removed * `withDisplayDescription(java.lang.String)` was removed * `withDimensions(java.util.List)` was removed +* `withName(java.lang.String)` was removed * `withFillGapWithZero(java.lang.Boolean)` was removed * `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed -* `withAvailabilities(java.util.List)` was removed -* `withName(java.lang.String)` was removed #### `models.ApplicationGatewayForContainersReferenceDefinition` was modified @@ -677,14 +677,14 @@ #### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified * `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access -* `withValueInMbps(java.lang.Integer)` was removed * `withOfferName(java.lang.String)` was removed +* `withValueInMbps(java.lang.Integer)` was removed #### `models.ApplicationGatewayFirewallRuleGroup` was modified * `ApplicationGatewayFirewallRuleGroup()` was changed to private access -* `withRules(java.util.List)` was removed * `withRuleGroupName(java.lang.String)` was removed +* `withRules(java.util.List)` was removed * `withDescription(java.lang.String)` was removed #### `models.IpamPoolProperties` was modified @@ -694,9 +694,9 @@ #### `models.AvailableProvidersListState` was modified * `AvailableProvidersListState()` was changed to private access -* `withProviders(java.util.List)` was removed * `withCities(java.util.List)` was removed * `withStateName(java.lang.String)` was removed +* `withProviders(java.util.List)` was removed #### `models.HopLink` was modified @@ -706,19 +706,19 @@ * `ResourceNavigationLink()` was changed to private access * `withLinkedResourceType(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withLink(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.BgpCommunity` was modified * `BgpCommunity()` was changed to private access +* `withCommunityName(java.lang.String)` was removed +* `withServiceSupportedRegion(java.lang.String)` was removed * `withIsAuthorizedToUse(java.lang.Boolean)` was removed * `withCommunityValue(java.lang.String)` was removed -* `withServiceGroup(java.lang.String)` was removed -* `withCommunityName(java.lang.String)` was removed * `withCommunityPrefixes(java.util.List)` was removed -* `withServiceSupportedRegion(java.lang.String)` was removed +* `withServiceGroup(java.lang.String)` was removed #### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified @@ -727,11 +727,11 @@ #### `models.EffectiveNetworkSecurityGroup` was modified * `EffectiveNetworkSecurityGroup()` was changed to private access +* `java.lang.String tagMap()` -> `java.util.Map tagMap()` * `withEffectiveSecurityRules(java.util.List)` was removed -* `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed * `withTagMap(java.lang.String)` was removed * `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed -* `java.lang.String tagMap()` -> `java.util.Map tagMap()` +* `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed #### `models.ReferencedPublicIpAddress` was modified @@ -745,9 +745,9 @@ #### `models.GatewayRouteSet` was modified * `GatewayRouteSet()` was changed to private access +* `withLocations(java.util.List)` was removed * `withDetails(java.util.Map)` was removed * `withName(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified @@ -764,40 +764,40 @@ #### `models.ExpressRouteCircuitArpTable` was modified * `ExpressRouteCircuitArpTable()` was changed to private access -* `withIpAddress(java.lang.String)` was removed -* `withInterfaceProperty(java.lang.String)` was removed * `withAge(java.lang.Integer)` was removed * `withMacAddress(java.lang.String)` was removed +* `withInterfaceProperty(java.lang.String)` was removed +* `withIpAddress(java.lang.String)` was removed #### `models.ActiveConnectivityConfiguration` was modified * `ActiveConnectivityConfiguration()` was changed to private access -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withConfigurationGroups(java.util.List)` was removed * `withConnectivityTopology(models.ConnectivityTopology)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withConfigurationGroups(java.util.List)` was removed +* `withHubs(java.util.List)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed * `withId(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed * `withIsGlobal(models.IsGlobal)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed * `withRegion(java.lang.String)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed * `withAppliesToGroups(java.util.List)` was removed -* `withHubs(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed #### `models.RouteSourceDetails` was modified * `RouteSourceDetails()` was changed to private access -* `withPri(java.lang.String)` was removed * `withSec(java.lang.String)` was removed +* `withPri(java.lang.String)` was removed * `withCircuit(java.lang.String)` was removed #### `models.RecordSet` was modified * `RecordSet()` was changed to private access * `withIpAddresses(java.util.List)` was removed +* `withRecordSetName(java.lang.String)` was removed * `withFqdn(java.lang.String)` was removed * `withTtl(java.lang.Integer)` was removed -* `withRecordSetName(java.lang.String)` was removed * `withRecordType(java.lang.String)` was removed #### `models.ApplicationGatewayBackendHealthPool` was modified @@ -816,8 +816,8 @@ * `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access * `withConnectionName(java.lang.String)` was removed -* `withNrpResourceUri(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withNrpResourceUri(java.lang.String)` was removed #### `models.ConnectivityIssue` was modified @@ -827,8 +827,8 @@ * `Availability()` was changed to private access * `withBlobDuration(java.lang.String)` was removed -* `withTimeGrain(java.lang.String)` was removed * `withRetention(java.lang.String)` was removed +* `withTimeGrain(java.lang.String)` was removed #### `models.VerifierWorkspaceProperties` was modified @@ -837,8 +837,8 @@ #### `models.OperationDisplay` was modified * `OperationDisplay()` was changed to private access -* `withOperation(java.lang.String)` was removed * `withProvider(java.lang.String)` was removed +* `withOperation(java.lang.String)` was removed * `withResource(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed @@ -851,9 +851,9 @@ #### `models.AvailableProvidersListCountry` was modified * `AvailableProvidersListCountry()` was changed to private access -* `withProviders(java.util.List)` was removed -* `withStates(java.util.List)` was removed * `withCountryName(java.lang.String)` was removed +* `withStates(java.util.List)` was removed +* `withProviders(java.util.List)` was removed #### `models.VirtualNetworkUsageName` was modified @@ -862,61 +862,61 @@ #### `models.ApplicationGatewayFirewallRuleSet` was modified * `ApplicationGatewayFirewallRuleSet()` was changed to private access -* `withTiers(java.util.List)` was removed -* `withLocation(java.lang.String)` was removed -* `withTags(java.util.Map)` was removed * `withRuleGroups(java.util.List)` was removed * `withRuleSetType(java.lang.String)` was removed -* `withId(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed +* `withTags(java.util.Map)` was removed * `withRuleSetVersion(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed #### `models.ApplicationGatewayFirewallManifestRuleSet` was modified * `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access +* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed * `withRuleSetVersion(java.lang.String)` was removed -* `withTiers(java.util.List)` was removed * `withRuleSetType(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed -* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed +* `withTiers(java.util.List)` was removed #### `models.NetworkManagerDeploymentStatus` was modified * `NetworkManagerDeploymentStatus()` was changed to private access -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withDeploymentType(models.ConfigurationType)` was removed * `withDeploymentStatus(models.DeploymentStatus)` was removed -* `withRegion(java.lang.String)` was removed -* `withErrorMessage(java.lang.String)` was removed +* `withDeploymentType(models.ConfigurationType)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed * `withConfigurationIds(java.util.List)` was removed +* `withErrorMessage(java.lang.String)` was removed +* `withRegion(java.lang.String)` was removed #### `models.CircuitMetadataMap` was modified * `CircuitMetadataMap()` was changed to private access * `withLink(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withLocation(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTableSummary` was modified * `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withStatePfxRcd(java.lang.String)` was removed * `withAs(java.lang.Integer)` was removed -* `withNeighbor(java.lang.String)` was removed -* `withV(java.lang.Integer)` was removed +* `withStatePfxRcd(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed +* `withV(java.lang.Integer)` was removed +* `withNeighbor(java.lang.String)` was removed #### `models.ManagedRuleSetRuleGroup` was modified * `ManagedRuleSetRuleGroup()` was changed to private access -* `withRuleGroupName(java.lang.String)` was removed * `withRules(java.util.List)` was removed +* `withRuleGroupName(java.lang.String)` was removed #### `models.Dimension` was modified * `Dimension()` was changed to private access +* `withDisplayName(java.lang.String)` was removed * `withName(java.lang.String)` was removed * `withInternalName(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed #### `models.NetworkSecurityGroupResult` was modified @@ -927,24 +927,24 @@ * `ResiliencyRecommendationComponents()` was changed to private access * `withName(java.lang.String)` was removed -* `withCurrentScore(java.lang.String)` was removed * `withRecommendations(java.util.List)` was removed +* `withCurrentScore(java.lang.String)` was removed * `withMaxScore(java.lang.String)` was removed #### `models.EffectiveBaseSecurityAdminRule` was modified -* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` #### `models.LogSpecification` was modified * `LogSpecification()` was changed to private access +* `withName(java.lang.String)` was removed * `withBlobDuration(java.lang.String)` was removed * `withDisplayName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed #### `models.InboundNatRulePortMapping` was modified @@ -952,15 +952,15 @@ #### `models.EffectiveConnectivityConfiguration` was modified +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed * `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -* `withHubs(java.util.List)` was removed +* `withIsGlobal(models.IsGlobal)` was removed * `withAppliesToGroups(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed +* `withHubs(java.util.List)` was removed +* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` * `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withIsGlobal(models.IsGlobal)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withDescription(java.lang.String)` was removed +* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` #### `models.PerimeterBasedAccessRule` was modified @@ -969,17 +969,17 @@ #### `models.NetworkConfigurationDiagnosticResult` was modified * `NetworkConfigurationDiagnosticResult()` was changed to private access -* `withProfile(models.NetworkConfigurationDiagnosticProfile)` was removed * `withNetworkSecurityGroupResult(models.NetworkSecurityGroupResult)` was removed +* `withProfile(models.NetworkConfigurationDiagnosticProfile)` was removed #### `models.VirtualHubEffectiveRoute` was modified * `VirtualHubEffectiveRoute()` was changed to private access +* `withRouteOrigin(java.lang.String)` was removed +* `withNextHops(java.util.List)` was removed +* `withAddressPrefixes(java.util.List)` was removed * `withNextHopType(java.lang.String)` was removed * `withAsPath(java.lang.String)` was removed -* `withAddressPrefixes(java.util.List)` was removed -* `withNextHops(java.util.List)` was removed -* `withRouteOrigin(java.lang.String)` was removed #### `models.ExpressRoutePortsLocationBandwidths` was modified @@ -992,43 +992,47 @@ #### `models.EffectiveNetworkSecurityGroupAssociation` was modified * `EffectiveNetworkSecurityGroupAssociation()` was changed to private access -* `withSubnet(com.azure.core.management.SubResource)` was removed -* `withNetworkInterface(com.azure.core.management.SubResource)` was removed * `withNetworkManager(com.azure.core.management.SubResource)` was removed +* `withNetworkInterface(com.azure.core.management.SubResource)` was removed +* `withSubnet(com.azure.core.management.SubResource)` was removed + +#### `models.ErrorDetail` was modified + +* `ErrorDetail()` was changed to private access #### `models.IntentContent` was modified * `IntentContent()` was changed to private access +* `withSourceResourceId(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed -* `withDestinationResourceId(java.lang.String)` was removed * `withIpTraffic(models.IpTraffic)` was removed -* `withSourceResourceId(java.lang.String)` was removed +* `withDestinationResourceId(java.lang.String)` was removed #### `models.ConfigurationGroup` was modified * `ConfigurationGroup()` was changed to private access * `withMemberType(models.GroupMemberType)` was removed -* `withId(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed +* `withId(java.lang.String)` was removed #### `models.SecurityPerimeterSystemData` was modified * `SecurityPerimeterSystemData()` was changed to private access -* `withCreatedBy(java.lang.String)` was removed -* `withLastModifiedBy(java.lang.String)` was removed * `withLastModifiedAt(java.time.OffsetDateTime)` was removed * `withLastModifiedByType(models.CreatedByType)` was removed -* `withCreatedByType(models.CreatedByType)` was removed +* `withLastModifiedBy(java.lang.String)` was removed * `withCreatedAt(java.time.OffsetDateTime)` was removed +* `withCreatedBy(java.lang.String)` was removed +* `withCreatedByType(models.CreatedByType)` was removed #### `models.ExpressRouteCircuitRoutesTable` was modified * `ExpressRouteCircuitRoutesTable()` was changed to private access -* `withLocPrf(java.lang.String)` was removed * `withNextHop(java.lang.String)` was removed -* `withWeight(java.lang.Integer)` was removed * `withPath(java.lang.String)` was removed * `withNetwork(java.lang.String)` was removed +* `withLocPrf(java.lang.String)` was removed +* `withWeight(java.lang.Integer)` was removed #### `models.SubnetAssociation` was modified @@ -1038,8 +1042,8 @@ #### `models.RadiusAuthServer` was modified * `RadiusAuthServer()` was changed to private access -* `withRadiusServerAddress(java.lang.String)` was removed * `withRadiusServerSecret(java.lang.String)` was removed +* `withRadiusServerAddress(java.lang.String)` was removed #### `models.VirtualApplianceNicProperties` was modified @@ -1052,103 +1056,53 @@ #### `models.VirtualWanSecurityProvider` was modified * `VirtualWanSecurityProvider()` was changed to private access -* `withName(java.lang.String)` was removed * `withUrl(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.VpnClientConnectionHealth` was modified * `VpnClientConnectionHealth()` was changed to private access -* `withVpnClientConnectionsCount(java.lang.Integer)` was removed * `withAllocatedIpAddresses(java.util.List)` was removed +* `withVpnClientConnectionsCount(java.lang.Integer)` was removed #### `models.ExpressRouteFailoverConnectionResourceDetails` was modified * `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access -* `withName(java.lang.String)` was removed +* `withNrpResourceUri(java.lang.String)` was removed * `withLastUpdatedTime(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withStatus(models.FailoverConnectionStatus)` was removed -* `withNrpResourceUri(java.lang.String)` was removed #### `models.ActiveDefaultSecurityAdminRule` was modified * `ActiveDefaultSecurityAdminRule()` was changed to private access +* `withId(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withConfigurationDescription(java.lang.String)` was removed * `withRegion(java.lang.String)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed * `withFlag(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withId(java.lang.String)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed ### Features Added * `models.ReadOnlySubResourceModel` was added -* `models.ProxyResourcewithoutEtag` was added - -* `models.GetIkeSasFinalResult` was added - -* `models.ResetVpnClientSharedKeyFinalResult` was added - -* `models.StartExpressRouteSiteFailoverSimulationFinalResult` was added - -* `models.NoContentResponse` was added - -* `models.StopFinalResult` was added - -* `models.GeneratevpnclientpackageFinalResult` was added - -* `models.GetVpnProfilePackageUrlFinalResult` was added - -* `models.DisconnectVirtualNetworkGatewayVpnConnectionsFinalResult` was added - -* `models.StopPacketCaptureFinalResult2` was added - -* `models.StopPacketCaptureFinalResult1` was added - -* `models.UnprepareNetworkPoliciesFinalResult` was added - -* `models.ArmAcceptedLroResponse` was added - -* `models.ResourceWithWritableName` was added - -* `models.StartPacketCaptureFinalResult` was added +* `models.ProxyResourceWithSettableId` was added * `models.SubResourceModel` was added -* `models.StartPacketCaptureFinalResult1` was added - -* `models.StartPacketCaptureFinalResult2` was added +* `models.TrackedResourceWithSettableName` was added -* `models.DeleteBastionShareableLinkFinalResult` was added +* `models.TrackedResourceWithEtag` was added * `models.SecurityPerimeterTrackedResource` was added -* `models.PrepareNetworkPoliciesFinalResult` was added - -* `models.VpnConnectionsStopPacketCaptureFinalResult` was added - -* `models.SingletonResource` was added - * `models.ProxyResourceWithReadOnlyID` was added -* `models.ResourceWithRequiredLocation` was added - -* `models.ResourceWithReadOnlyNameAndID` was added - * `models.WritableResource` was added -* `models.StopExpressRouteSiteFailoverSimulationFinalResult` was added - -* `models.VpnConnectionsStartPacketCaptureFinalResult` was added - -* `models.TrackedResourcewithOptionalLocation` was added - -* `models.StopPacketCaptureFinalResult` was added - -* `models.ResourceWithReadOnlyID` was added - #### `models.DdosDetectionRule` was modified * `id()` was added @@ -1163,8 +1117,8 @@ #### `models.ActiveConnectivityConfiguration` was modified -* `configurationGroups()` was added * `id()` was added +* `configurationGroups()` was added ## 2.58.0 (2026-02-14) diff --git a/sdk/network/azure-resourcemanager-network/customization/pom.xml b/sdk/network/azure-resourcemanager-network/customization/pom.xml deleted file mode 100644 index 46fb4eaf1792..000000000000 --- a/sdk/network/azure-resourcemanager-network/customization/pom.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - com.azure - azure-code-customization-parent - 1.0.0-beta.1 - ../../../parents/azure-code-customization-parent - - - com.azure.resourcemanager - azure-resourcemanager-network-customization - 1.0.0-beta.1 - 4.0.0 - diff --git a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java b/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java deleted file mode 100644 index e9fefd87228c..000000000000 --- a/sdk/network/azure-resourcemanager-network/customization/src/main/java/NetworkCustomization.java +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -import com.azure.autorest.customization.ClassCustomization; -import com.azure.autorest.customization.Customization; -import com.azure.autorest.customization.LibraryCustomization; -import com.azure.autorest.customization.PackageCustomization; -import com.github.javaparser.ast.body.MethodDeclaration; -import com.github.javaparser.ast.stmt.BlockStmt; -import com.github.javaparser.ast.type.ClassOrInterfaceType; -import com.github.javaparser.javadoc.Javadoc; -import com.github.javaparser.javadoc.description.JavadocDescription; -import org.slf4j.Logger; - -/** - * Code customization after code generation for Network. - */ -public class NetworkCustomization extends Customization { - @Override - public void customize(LibraryCustomization customization, Logger logger) { - PackageCustomization fluentModelsPackage - = customization.getPackage("com.azure.resourcemanager.network.fluent.models"); - // change base class to "Resource" for DdosProtectionPlan and RouteFilter - customizeResourceBaseClass(fluentModelsPackage.getClass("DdosProtectionPlanInner")); - customizeResourceBaseClass(fluentModelsPackage.getClass("RouteFilterInner")); - } - - private static void customizeResourceBaseClass(ClassCustomization customization) { - customization.customizeAst(ast -> { - ast.getClassByName(customization.getClassName()).ifPresent(clazz -> { - ast.addImport("com.azure.core.management.Resource"); - clazz.getExtendedTypes().clear(); - clazz.addExtendedType(new ClassOrInterfaceType(null, "Resource")); - // replace withId/withName override methods - they call super methods not on Resource - // rewrite them to set the field via reflection-free approach - clazz.getMethodsByName("withId").forEach(m -> { - m.setBody(new BlockStmt().addStatement("return this;")); - m.getAnnotationByName("Override").ifPresent(a -> a.remove()); - Javadoc idDoc = new Javadoc(JavadocDescription.parseText("Set the id property: Resource ID.")); - idDoc.addBlockTag("param", "id", "the id value to set."); - idDoc.addBlockTag("return", "the resource itself."); - m.setJavadocComment(idDoc); - }); - clazz.getMethodsByName("withName").forEach(m -> { - m.setBody(new BlockStmt().addStatement("return this;")); - m.getAnnotationByName("Override").ifPresent(a -> a.remove()); - Javadoc nameDoc = new Javadoc(JavadocDescription.parseText("Set the name property: Resource name.")); - nameDoc.addBlockTag("param", "name", "the name value to set."); - nameDoc.addBlockTag("return", "the resource itself."); - m.setJavadocComment(nameDoc); - }); - // remove @Override from validate() since Resource doesn't declare it - clazz.getMethodsByName("validate").forEach(m -> { - m.getAnnotationByName("Override").ifPresent(a -> a.remove()); - }); - }); - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java index 4fc79b4fdede..c30500e3ff2d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java @@ -71,8 +71,8 @@ public String type() { * {@inheritDoc} */ @Override - public ApplicationGatewayPrivateEndpointConnectionInner withId(String id) { - super.withId(id); + public ApplicationGatewayPrivateEndpointConnectionInner withName(String name) { + super.withName(name); return this; } @@ -80,8 +80,8 @@ public ApplicationGatewayPrivateEndpointConnectionInner withId(String id) { * {@inheritDoc} */ @Override - public ApplicationGatewayPrivateEndpointConnectionInner withName(String name) { - super.withName(name); + public ApplicationGatewayPrivateEndpointConnectionInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java index e765c9c75a37..90275f2b1388 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java @@ -75,8 +75,8 @@ public String type() { * {@inheritDoc} */ @Override - public BackendAddressPoolInner withId(String id) { - super.withId(id); + public BackendAddressPoolInner withName(String name) { + super.withName(name); return this; } @@ -84,8 +84,8 @@ public BackendAddressPoolInner withId(String id) { * {@inheritDoc} */ @Override - public BackendAddressPoolInner withName(String name) { - super.withName(name); + public BackendAddressPoolInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java index 00bb7f38d5b2..9fde7e01b958 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java @@ -72,8 +72,8 @@ public String type() { * {@inheritDoc} */ @Override - public BgpConnectionInner withId(String id) { - super.withId(id); + public BgpConnectionInner withName(String name) { + super.withName(name); return this; } @@ -81,8 +81,8 @@ public BgpConnectionInner withId(String id) { * {@inheritDoc} */ @Override - public BgpConnectionInner withName(String name) { - super.withName(name); + public BgpConnectionInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java index cbee7a1f85fa..31ca6378bf10 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java @@ -67,8 +67,8 @@ public String type() { * {@inheritDoc} */ @Override - public ConnectionSharedKeyResultInner withId(String id) { - super.withId(id); + public ConnectionSharedKeyResultInner withName(String name) { + super.withName(name); return this; } @@ -76,8 +76,8 @@ public ConnectionSharedKeyResultInner withId(String id) { * {@inheritDoc} */ @Override - public ConnectionSharedKeyResultInner withName(String name) { - super.withName(name); + public ConnectionSharedKeyResultInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java index 96608e03ae1b..179d2f1d90b5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. + package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; @@ -19,7 +20,6 @@ */ @Fluent public final class DdosProtectionPlanInner extends Resource { - /* * Properties of the DDoS protection plan. */ @@ -36,17 +36,17 @@ public final class DdosProtectionPlanInner extends Resource { private String etag; /* - * Resource type. + * The type of the resource. */ private String type; /* - * Resource name. + * The name of the resource. */ private String name; /* - * Resource ID. + * Fully qualified resource Id for the resource. */ private String id; @@ -58,7 +58,7 @@ public DdosProtectionPlanInner() { /** * Get the innerProperties property: Properties of the DDoS protection plan. - * + * * @return the innerProperties value. */ private DdosProtectionPlanPropertiesFormat innerProperties() { @@ -67,7 +67,7 @@ private DdosProtectionPlanPropertiesFormat innerProperties() { /** * Get the tags property: Resource tags. - * + * * @return the tags value. */ public Map tags() { @@ -76,7 +76,7 @@ public Map tags() { /** * Set the tags property: Resource tags. - * + * * @param tags the tags value to set. * @return the DdosProtectionPlanInner object itself. */ @@ -87,7 +87,7 @@ public DdosProtectionPlanInner withTags(Map tags) { /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. - * + * * @return the etag value. */ public String etag() { @@ -95,8 +95,8 @@ public String etag() { } /** - * Get the type property: Resource type. - * + * Get the type property: The type of the resource. + * * @return the type value. */ @Override @@ -105,8 +105,8 @@ public String type() { } /** - * Get the name property: Resource name. - * + * Get the name property: The name of the resource. + * * @return the name value. */ @Override @@ -115,8 +115,8 @@ public String name() { } /** - * Get the id property: Resource ID. - * + * Get the id property: Fully qualified resource Id for the resource. + * * @return the id value. */ @Override @@ -137,7 +137,7 @@ public DdosProtectionPlanInner withLocation(String location) { * Get the resourceGuid property: The resource GUID property of the DDoS protection plan resource. It uniquely * identifies the resource, even if the user changes its name or migrate the resource across subscriptions or * resource groups. - * + * * @return the resourceGuid value. */ public String resourceGuid() { @@ -146,7 +146,7 @@ public String resourceGuid() { /** * Get the provisioningState property: The provisioning state of the DDoS protection plan resource. - * + * * @return the provisioningState value. */ public ProvisioningState provisioningState() { @@ -156,7 +156,7 @@ public ProvisioningState provisioningState() { /** * Get the publicIpAddresses property: The list of public IPs associated with the DDoS protection plan resource. * This list is read-only. - * + * * @return the publicIpAddresses value. */ public List publicIpAddresses() { @@ -166,7 +166,7 @@ public List publicIpAddresses() { /** * Get the virtualNetworks property: The list of virtual networks associated with the DDoS protection plan resource. * This list is read-only. - * + * * @return the virtualNetworks value. */ public List virtualNetworks() { @@ -175,7 +175,7 @@ public List virtualNetworks() { /** * Validates the instance. - * + * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { @@ -198,10 +198,11 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { /** * Reads an instance of DdosProtectionPlanInner from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of DdosProtectionPlanInner 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 DdosProtectionPlanInner. */ public static DdosProtectionPlanInner fromJson(JsonReader jsonReader) throws IOException { @@ -210,6 +211,7 @@ public static DdosProtectionPlanInner fromJson(JsonReader jsonReader) throws IOE while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); + if ("id".equals(fieldName)) { deserializedDdosProtectionPlanInner.id = reader.getString(); } else if ("name".equals(fieldName)) { @@ -230,6 +232,7 @@ public static DdosProtectionPlanInner fromJson(JsonReader jsonReader) throws IOE reader.skipChildren(); } } + return deserializedDdosProtectionPlanInner; }); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java index 1b39eb36b8f1..8e884a25fb08 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java @@ -71,8 +71,8 @@ public String type() { * {@inheritDoc} */ @Override - public ExpressRouteCircuitAuthorizationInner withId(String id) { - super.withId(id); + public ExpressRouteCircuitAuthorizationInner withName(String name) { + super.withName(name); return this; } @@ -80,8 +80,8 @@ public ExpressRouteCircuitAuthorizationInner withId(String id) { * {@inheritDoc} */ @Override - public ExpressRouteCircuitAuthorizationInner withName(String name) { - super.withName(name); + public ExpressRouteCircuitAuthorizationInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java index bbdece81e066..6e96b73fc7b5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java @@ -73,8 +73,8 @@ public String type() { * {@inheritDoc} */ @Override - public ExpressRouteCircuitConnectionInner withId(String id) { - super.withId(id); + public ExpressRouteCircuitConnectionInner withName(String name) { + super.withName(name); return this; } @@ -82,8 +82,8 @@ public ExpressRouteCircuitConnectionInner withId(String id) { * {@inheritDoc} */ @Override - public ExpressRouteCircuitConnectionInner withName(String name) { - super.withName(name); + public ExpressRouteCircuitConnectionInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java index 96ff8c24a759..f9515079b2e2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java @@ -77,8 +77,8 @@ public String type() { * {@inheritDoc} */ @Override - public ExpressRouteCircuitPeeringInner withId(String id) { - super.withId(id); + public ExpressRouteCircuitPeeringInner withName(String name) { + super.withName(name); return this; } @@ -86,8 +86,8 @@ public ExpressRouteCircuitPeeringInner withId(String id) { * {@inheritDoc} */ @Override - public ExpressRouteCircuitPeeringInner withName(String name) { - super.withName(name); + public ExpressRouteCircuitPeeringInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java index 3d8b1e7d58c0..3f7a639ef97d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java @@ -73,8 +73,8 @@ public String type() { * {@inheritDoc} */ @Override - public ExpressRoutePortAuthorizationInner withId(String id) { - super.withId(id); + public ExpressRoutePortAuthorizationInner withName(String name) { + super.withName(name); return this; } @@ -82,8 +82,8 @@ public ExpressRoutePortAuthorizationInner withId(String id) { * {@inheritDoc} */ @Override - public ExpressRoutePortAuthorizationInner withName(String name) { - super.withName(name); + public ExpressRoutePortAuthorizationInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java index a58240d137fb..3a304cce3329 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java @@ -5,10 +5,10 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Immutable; +import com.azure.core.management.Resource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.TrackedResourceWithOptionalLocation; import java.io.IOException; import java.util.Map; @@ -16,7 +16,7 @@ * ExpressRouteProviderPort resource. */ @Immutable -public final class ExpressRouteProviderPortInner extends TrackedResourceWithOptionalLocation { +public final class ExpressRouteProviderPortInner extends Resource { /* * Properties of the express route Service Provider Port. */ @@ -28,17 +28,17 @@ public final class ExpressRouteProviderPortInner extends TrackedResourceWithOpti private String etag; /* - * Resource type. + * The type of the resource. */ private String type; /* - * Resource name. + * The name of the resource. */ private String name; /* - * Resource ID. + * Fully qualified resource Id for the resource. */ private String id; @@ -67,7 +67,7 @@ public String etag() { } /** - * Get the type property: Resource type. + * Get the type property: The type of the resource. * * @return the type value. */ @@ -77,7 +77,7 @@ public String type() { } /** - * Get the name property: Resource name. + * Get the name property: The name of the resource. * * @return the name value. */ @@ -87,7 +87,7 @@ public String name() { } /** - * Get the id property: Resource ID. + * Get the id property: Fully qualified resource Id for the resource. * * @return the id value. */ @@ -173,7 +173,6 @@ public Integer remainingBandwidthInMbps() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -198,6 +197,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ExpressRouteProviderPortInner 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 ExpressRouteProviderPortInner. */ public static ExpressRouteProviderPortInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java index 6584493de231..274beb04b343 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java @@ -57,8 +57,8 @@ public String type() { * {@inheritDoc} */ @Override - public FirewallPolicyRuleCollectionGroupDraftInner withId(String id) { - super.withId(id); + public FirewallPolicyRuleCollectionGroupDraftInner withName(String name) { + super.withName(name); return this; } @@ -66,8 +66,8 @@ public FirewallPolicyRuleCollectionGroupDraftInner withId(String id) { * {@inheritDoc} */ @Override - public FirewallPolicyRuleCollectionGroupDraftInner withName(String name) { - super.withName(name); + public FirewallPolicyRuleCollectionGroupDraftInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java index cb28f2cae6b7..75ad9eb804f9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java @@ -72,8 +72,8 @@ public String type() { * {@inheritDoc} */ @Override - public FirewallPolicyRuleCollectionGroupInner withId(String id) { - super.withId(id); + public FirewallPolicyRuleCollectionGroupInner withName(String name) { + super.withName(name); return this; } @@ -81,8 +81,8 @@ public FirewallPolicyRuleCollectionGroupInner withId(String id) { * {@inheritDoc} */ @Override - public FirewallPolicyRuleCollectionGroupInner withName(String name) { - super.withName(name); + public FirewallPolicyRuleCollectionGroupInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java index cec4031def24..855a80701e98 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java @@ -101,8 +101,8 @@ public String type() { * {@inheritDoc} */ @Override - public FrontendIpConfigurationInner withId(String id) { - super.withId(id); + public FrontendIpConfigurationInner withName(String name) { + super.withName(name); return this; } @@ -110,8 +110,8 @@ public FrontendIpConfigurationInner withId(String id) { * {@inheritDoc} */ @Override - public FrontendIpConfigurationInner withName(String name) { - super.withName(name); + public FrontendIpConfigurationInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java index ddf2a379f1e6..279939e9e09b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java @@ -71,8 +71,8 @@ public String type() { * {@inheritDoc} */ @Override - public HubIpConfigurationInner withId(String id) { - super.withId(id); + public HubIpConfigurationInner withName(String name) { + super.withName(name); return this; } @@ -80,8 +80,8 @@ public HubIpConfigurationInner withId(String id) { * {@inheritDoc} */ @Override - public HubIpConfigurationInner withName(String name) { - super.withName(name); + public HubIpConfigurationInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java index 7e2f11b669ad..9a8b184bca17 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java @@ -72,8 +72,8 @@ public String type() { * {@inheritDoc} */ @Override - public HubRouteTableInner withId(String id) { - super.withId(id); + public HubRouteTableInner withName(String name) { + super.withName(name); return this; } @@ -81,8 +81,8 @@ public HubRouteTableInner withId(String id) { * {@inheritDoc} */ @Override - public HubRouteTableInner withName(String name) { - super.withName(name); + public HubRouteTableInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java index 91d92ec28345..0757654f6f1b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java @@ -72,8 +72,8 @@ public String type() { * {@inheritDoc} */ @Override - public InboundNatRuleInner withId(String id) { - super.withId(id); + public InboundNatRuleInner withName(String name) { + super.withName(name); return this; } @@ -81,8 +81,8 @@ public InboundNatRuleInner withId(String id) { * {@inheritDoc} */ @Override - public InboundNatRuleInner withName(String name) { - super.withName(name); + public InboundNatRuleInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java index f4bd79c8b21d..af8719435705 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java @@ -73,8 +73,8 @@ public String type() { * {@inheritDoc} */ @Override - public InboundSecurityRuleInner withId(String id) { - super.withId(id); + public InboundSecurityRuleInner withName(String name) { + super.withName(name); return this; } @@ -82,8 +82,8 @@ public InboundSecurityRuleInner withId(String id) { * {@inheritDoc} */ @Override - public InboundSecurityRuleInner withName(String name) { - super.withName(name); + public InboundSecurityRuleInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java index d847c2654c77..4fd5625d1840 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java @@ -74,8 +74,8 @@ public String type() { * {@inheritDoc} */ @Override - public LoadBalancingRuleInner withId(String id) { - super.withId(id); + public LoadBalancingRuleInner withName(String name) { + super.withName(name); return this; } @@ -83,8 +83,8 @@ public LoadBalancingRuleInner withId(String id) { * {@inheritDoc} */ @Override - public LoadBalancingRuleInner withName(String name) { - super.withName(name); + public LoadBalancingRuleInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java index f62718f01836..c62c9faabb64 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java @@ -76,8 +76,8 @@ public String type() { * {@inheritDoc} */ @Override - public NetworkInterfaceIpConfigurationInner withId(String id) { - super.withId(id); + public NetworkInterfaceIpConfigurationInner withName(String name) { + super.withName(name); return this; } @@ -85,8 +85,8 @@ public NetworkInterfaceIpConfigurationInner withId(String id) { * {@inheritDoc} */ @Override - public NetworkInterfaceIpConfigurationInner withName(String name) { - super.withName(name); + public NetworkInterfaceIpConfigurationInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java index de2dcd45d85a..eeef448df25c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java @@ -70,8 +70,8 @@ public String type() { * {@inheritDoc} */ @Override - public NetworkInterfaceTapConfigurationInner withId(String id) { - super.withId(id); + public NetworkInterfaceTapConfigurationInner withName(String name) { + super.withName(name); return this; } @@ -79,8 +79,8 @@ public NetworkInterfaceTapConfigurationInner withId(String id) { * {@inheritDoc} */ @Override - public NetworkInterfaceTapConfigurationInner withName(String name) { - super.withName(name); + public NetworkInterfaceTapConfigurationInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java index 6515f693db71..87f509dc7aea 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java @@ -73,8 +73,8 @@ public String type() { * {@inheritDoc} */ @Override - public OutboundRuleInner withId(String id) { - super.withId(id); + public OutboundRuleInner withName(String name) { + super.withName(name); return this; } @@ -82,8 +82,8 @@ public OutboundRuleInner withId(String id) { * {@inheritDoc} */ @Override - public OutboundRuleInner withName(String name) { - super.withName(name); + public OutboundRuleInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java index d1100d3ae394..56e2e0481cb8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java @@ -5,14 +5,13 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; import com.azure.core.management.SubResource; -import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.P2SConnectionConfiguration; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.TrackedResourceWithSettableId; import com.azure.resourcemanager.network.models.VpnClientConnectionHealth; import java.io.IOException; import java.util.List; @@ -22,7 +21,7 @@ * P2SVpnGateway Resource. */ @Fluent -public final class P2SVpnGatewayInner extends TrackedResourceWithSettableId { +public final class P2SVpnGatewayInner extends Resource { /* * Properties of the P2SVpnGateway. */ @@ -34,12 +33,17 @@ public final class P2SVpnGatewayInner extends TrackedResourceWithSettableId { private String etag; /* - * Resource type. + * Resource ID. + */ + private String id; + + /* + * The type of the resource. */ private String type; /* - * Resource name. + * The name of the resource. */ private String name; @@ -68,7 +72,27 @@ public String etag() { } /** - * Get the type property: Resource type. + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the P2SVpnGatewayInner object itself. + */ + public P2SVpnGatewayInner withId(String id) { + this.id = id; + return this; + } + + /** + * Get the type property: The type of the resource. * * @return the type value. */ @@ -78,7 +102,7 @@ public String type() { } /** - * Get the name property: Resource name. + * Get the name property: The name of the resource. * * @return the name value. */ @@ -87,15 +111,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public P2SVpnGatewayInner withId(String id) { - super.withId(id); - return this; - } - /** * {@inheritDoc} */ @@ -278,19 +293,12 @@ public P2SVpnGatewayInner withIsRoutingPreferenceInternet(Boolean isRoutingPrefe * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (location() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property location in model P2SVpnGatewayInner")); - } } - private static final ClientLogger LOGGER = new ClientLogger(P2SVpnGatewayInner.class); - /** * {@inheritDoc} */ @@ -298,9 +306,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); - jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -320,14 +328,12 @@ public static P2SVpnGatewayInner fromJson(JsonReader jsonReader) throws IOExcept String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { - deserializedP2SVpnGatewayInner.withLocation(reader.getString()); - } else if ("id".equals(fieldName)) { - deserializedP2SVpnGatewayInner.withId(reader.getString()); - } else if ("name".equals(fieldName)) { + if ("name".equals(fieldName)) { deserializedP2SVpnGatewayInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedP2SVpnGatewayInner.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedP2SVpnGatewayInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedP2SVpnGatewayInner.withTags(tags); @@ -335,6 +341,8 @@ public static P2SVpnGatewayInner fromJson(JsonReader jsonReader) throws IOExcept deserializedP2SVpnGatewayInner.innerProperties = P2SVpnGatewayProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedP2SVpnGatewayInner.etag = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedP2SVpnGatewayInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java index 07643c18cf8a..9c1bfbdfb7dc 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java @@ -71,8 +71,8 @@ public String type() { * {@inheritDoc} */ @Override - public PrivateEndpointConnectionInner withId(String id) { - super.withId(id); + public PrivateEndpointConnectionInner withName(String name) { + super.withName(name); return this; } @@ -80,8 +80,8 @@ public PrivateEndpointConnectionInner withId(String id) { * {@inheritDoc} */ @Override - public PrivateEndpointConnectionInner withName(String name) { - super.withName(name); + public PrivateEndpointConnectionInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java index 659cc5237c89..6cb9f64ced90 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java @@ -74,8 +74,8 @@ public String type() { * {@inheritDoc} */ @Override - public ProbeInner withId(String id) { - super.withId(id); + public ProbeInner withName(String name) { + super.withName(name); return this; } @@ -83,8 +83,8 @@ public ProbeInner withId(String id) { * {@inheritDoc} */ @Override - public ProbeInner withName(String name) { - super.withName(name); + public ProbeInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java index 1c69f97519b3..a04722951fae 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java @@ -1,11 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) TypeSpec Code Generator. + package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.management.Resource; -import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -19,7 +19,6 @@ */ @Fluent public final class RouteFilterInner extends Resource { - /* * Properties of the route filter. */ @@ -31,12 +30,17 @@ public final class RouteFilterInner extends Resource { private String etag; /* - * Resource type. + * Resource ID. + */ + private String id; + + /* + * The type of the resource. */ private String type; /* - * Resource name. + * The name of the resource. */ private String name; @@ -48,7 +52,7 @@ public RouteFilterInner() { /** * Get the innerProperties property: Properties of the route filter. - * + * * @return the innerProperties value. */ private RouteFilterPropertiesFormat innerProperties() { @@ -57,7 +61,7 @@ private RouteFilterPropertiesFormat innerProperties() { /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. - * + * * @return the etag value. */ public String etag() { @@ -65,8 +69,28 @@ public String etag() { } /** - * Get the type property: Resource type. - * + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the RouteFilterInner object itself. + */ + public RouteFilterInner withId(String id) { + this.id = id; + return this; + } + + /** + * Get the type property: The type of the resource. + * * @return the type value. */ @Override @@ -75,8 +99,8 @@ public String type() { } /** - * Get the name property: Resource name. - * + * Get the name property: The name of the resource. + * * @return the name value. */ @Override @@ -84,16 +108,6 @@ public String name() { return this.name; } - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the resource itself. - */ - public RouteFilterInner withId(String id) { - return this; - } - /** * {@inheritDoc} */ @@ -114,7 +128,7 @@ public RouteFilterInner withTags(Map tags) { /** * Get the rules property: Collection of RouteFilterRules contained within a route filter. - * + * * @return the rules value. */ public List rules() { @@ -123,7 +137,7 @@ public List rules() { /** * Set the rules property: Collection of RouteFilterRules contained within a route filter. - * + * * @param rules the rules value to set. * @return the RouteFilterInner object itself. */ @@ -137,7 +151,7 @@ public RouteFilterInner withRules(List rules) { /** * Get the peerings property: A collection of references to express route circuit peerings. - * + * * @return the peerings value. */ public List peerings() { @@ -146,7 +160,7 @@ public List peerings() { /** * Get the ipv6Peerings property: A collection of references to express route circuit ipv6 peerings. - * + * * @return the ipv6Peerings value. */ public List ipv6Peerings() { @@ -155,7 +169,7 @@ public List ipv6Peerings() { /** * Get the provisioningState property: The provisioning state of the route filter resource. - * + * * @return the provisioningState value. */ public ProvisioningState provisioningState() { @@ -164,21 +178,15 @@ public ProvisioningState provisioningState() { /** * Validates the instance. - * + * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (location() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property location in model RouteFilterInner")); - } } - private static final ClientLogger LOGGER = new ClientLogger(RouteFilterInner.class); - /** * {@inheritDoc} */ @@ -186,15 +194,15 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); - jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } /** * Reads an instance of RouteFilterInner from the JsonReader. - * + * * @param jsonReader The JsonReader being read. * @return An instance of RouteFilterInner if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. @@ -207,14 +215,13 @@ public static RouteFilterInner fromJson(JsonReader jsonReader) throws IOExceptio while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { - deserializedRouteFilterInner.withLocation(reader.getString()); - } else if ("id".equals(fieldName)) { - deserializedRouteFilterInner.withId(reader.getString()); - } else if ("name".equals(fieldName)) { + + if ("name".equals(fieldName)) { deserializedRouteFilterInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedRouteFilterInner.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedRouteFilterInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedRouteFilterInner.withTags(tags); @@ -222,10 +229,13 @@ public static RouteFilterInner fromJson(JsonReader jsonReader) throws IOExceptio deserializedRouteFilterInner.innerProperties = RouteFilterPropertiesFormat.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedRouteFilterInner.etag = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedRouteFilterInner.id = reader.getString(); } else { reader.skipChildren(); } } + return deserializedRouteFilterInner; }); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java index f3ca416c6342..98782147ac19 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java @@ -71,8 +71,8 @@ public String type() { * {@inheritDoc} */ @Override - public RouteInner withId(String id) { - super.withId(id); + public RouteInner withName(String name) { + super.withName(name); return this; } @@ -80,8 +80,8 @@ public RouteInner withId(String id) { * {@inheritDoc} */ @Override - public RouteInner withName(String name) { - super.withName(name); + public RouteInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java index d7e09aac85b2..381e16c42483 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java @@ -72,8 +72,8 @@ public String type() { * {@inheritDoc} */ @Override - public RoutingIntentInner withId(String id) { - super.withId(id); + public RoutingIntentInner withName(String name) { + super.withName(name); return this; } @@ -81,8 +81,8 @@ public RoutingIntentInner withId(String id) { * {@inheritDoc} */ @Override - public RoutingIntentInner withName(String name) { - super.withName(name); + public RoutingIntentInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java index a7923f84c691..504b9c537638 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java @@ -74,8 +74,8 @@ public String type() { * {@inheritDoc} */ @Override - public SecurityRuleInner withId(String id) { - super.withId(id); + public SecurityRuleInner withName(String name) { + super.withName(name); return this; } @@ -83,8 +83,8 @@ public SecurityRuleInner withId(String id) { * {@inheritDoc} */ @Override - public SecurityRuleInner withName(String name) { - super.withName(name); + public SecurityRuleInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java index 3e13405ca71e..7bd380dac224 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java @@ -71,8 +71,8 @@ public String type() { * {@inheritDoc} */ @Override - public ServiceEndpointPolicyDefinitionInner withId(String id) { - super.withId(id); + public ServiceEndpointPolicyDefinitionInner withName(String name) { + super.withName(name); return this; } @@ -80,8 +80,8 @@ public ServiceEndpointPolicyDefinitionInner withId(String id) { * {@inheritDoc} */ @Override - public ServiceEndpointPolicyDefinitionInner withName(String name) { - super.withName(name); + public ServiceEndpointPolicyDefinitionInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java index b4dad2478ad4..a75c76048f1d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java @@ -80,8 +80,8 @@ public String type() { * {@inheritDoc} */ @Override - public SubnetInner withId(String id) { - super.withId(id); + public SubnetInner withName(String name) { + super.withName(name); return this; } @@ -89,8 +89,8 @@ public SubnetInner withId(String id) { * {@inheritDoc} */ @Override - public SubnetInner withName(String name) { - super.withName(name); + public SubnetInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java index cb5ca5153a1c..436e66390838 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java @@ -71,8 +71,8 @@ public String type() { * {@inheritDoc} */ @Override - public VirtualApplianceSiteInner withId(String id) { - super.withId(id); + public VirtualApplianceSiteInner withName(String name) { + super.withName(name); return this; } @@ -80,8 +80,8 @@ public VirtualApplianceSiteInner withId(String id) { * {@inheritDoc} */ @Override - public VirtualApplianceSiteInner withName(String name) { - super.withName(name); + public VirtualApplianceSiteInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java index 29759ba88adb..473747169a5d 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java @@ -5,8 +5,8 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; import com.azure.core.management.SubResource; -import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -14,7 +14,6 @@ import com.azure.resourcemanager.network.models.PreferredRoutingGateway; import com.azure.resourcemanager.network.models.ProvisioningState; import com.azure.resourcemanager.network.models.RoutingState; -import com.azure.resourcemanager.network.models.TrackedResourceWithSettableId; import com.azure.resourcemanager.network.models.VirtualHubRouteTable; import com.azure.resourcemanager.network.models.VirtualRouterAutoScaleConfiguration; import java.io.IOException; @@ -25,7 +24,7 @@ * VirtualHub Resource. */ @Fluent -public final class VirtualHubInner extends TrackedResourceWithSettableId { +public final class VirtualHubInner extends Resource { /* * Properties of the virtual hub. */ @@ -42,12 +41,17 @@ public final class VirtualHubInner extends TrackedResourceWithSettableId { private String kind; /* - * Resource type. + * Resource ID. + */ + private String id; + + /* + * The type of the resource. */ private String type; /* - * Resource name. + * The name of the resource. */ private String name; @@ -86,7 +90,27 @@ public String kind() { } /** - * Get the type property: Resource type. + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the VirtualHubInner object itself. + */ + public VirtualHubInner withId(String id) { + this.id = id; + return this; + } + + /** + * Get the type property: The type of the resource. * * @return the type value. */ @@ -96,7 +120,7 @@ public String type() { } /** - * Get the name property: Resource name. + * Get the name property: The name of the resource. * * @return the name value. */ @@ -105,15 +129,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public VirtualHubInner withId(String id) { - super.withId(id); - return this; - } - /** * {@inheritDoc} */ @@ -576,19 +591,12 @@ public VirtualHubInner withVirtualRouterAutoScaleConfiguration( * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (location() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property location in model VirtualHubInner")); - } } - private static final ClientLogger LOGGER = new ClientLogger(VirtualHubInner.class); - /** * {@inheritDoc} */ @@ -596,9 +604,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); - jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -618,14 +626,12 @@ public static VirtualHubInner fromJson(JsonReader jsonReader) throws IOException String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { - deserializedVirtualHubInner.withLocation(reader.getString()); - } else if ("id".equals(fieldName)) { - deserializedVirtualHubInner.withId(reader.getString()); - } else if ("name".equals(fieldName)) { + if ("name".equals(fieldName)) { deserializedVirtualHubInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedVirtualHubInner.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedVirtualHubInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedVirtualHubInner.withTags(tags); @@ -635,6 +641,8 @@ public static VirtualHubInner fromJson(JsonReader jsonReader) throws IOException deserializedVirtualHubInner.etag = reader.getString(); } else if ("kind".equals(fieldName)) { deserializedVirtualHubInner.kind = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedVirtualHubInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java index aaf15f64008f..17757ba92f6a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java @@ -74,8 +74,8 @@ public String type() { * {@inheritDoc} */ @Override - public VirtualNetworkGatewayNatRuleInner withId(String id) { - super.withId(id); + public VirtualNetworkGatewayNatRuleInner withName(String name) { + super.withName(name); return this; } @@ -83,8 +83,8 @@ public VirtualNetworkGatewayNatRuleInner withId(String id) { * {@inheritDoc} */ @Override - public VirtualNetworkGatewayNatRuleInner withName(String name) { - super.withName(name); + public VirtualNetworkGatewayNatRuleInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java index 228321f41838..5a9dd80458f4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java @@ -77,8 +77,8 @@ public String type() { * {@inheritDoc} */ @Override - public VirtualNetworkPeeringInner withId(String id) { - super.withId(id); + public VirtualNetworkPeeringInner withName(String name) { + super.withName(name); return this; } @@ -86,8 +86,8 @@ public VirtualNetworkPeeringInner withId(String id) { * {@inheritDoc} */ @Override - public VirtualNetworkPeeringInner withName(String name) { - super.withName(name); + public VirtualNetworkPeeringInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java index 793ada6667ac..3b9766ee68b2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java @@ -70,8 +70,8 @@ public String type() { * {@inheritDoc} */ @Override - public VirtualRouterPeeringInner withId(String id) { - super.withId(id); + public VirtualRouterPeeringInner withName(String name) { + super.withName(name); return this; } @@ -79,8 +79,8 @@ public VirtualRouterPeeringInner withId(String id) { * {@inheritDoc} */ @Override - public VirtualRouterPeeringInner withName(String name) { - super.withName(name); + public VirtualRouterPeeringInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java index 5c83bf8d2505..7a719818db0b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java @@ -5,14 +5,13 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; import com.azure.core.management.SubResource; -import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.OfficeTrafficCategory; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.TrackedResourceWithSettableId; import java.io.IOException; import java.util.List; import java.util.Map; @@ -21,7 +20,7 @@ * VirtualWAN Resource. */ @Fluent -public final class VirtualWanInner extends TrackedResourceWithSettableId { +public final class VirtualWanInner extends Resource { /* * Properties of the virtual WAN. */ @@ -33,12 +32,17 @@ public final class VirtualWanInner extends TrackedResourceWithSettableId { private String etag; /* - * Resource type. + * Resource ID. + */ + private String id; + + /* + * The type of the resource. */ private String type; /* - * Resource name. + * The name of the resource. */ private String name; @@ -67,7 +71,27 @@ public String etag() { } /** - * Get the type property: Resource type. + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the VirtualWanInner object itself. + */ + public VirtualWanInner withId(String id) { + this.id = id; + return this; + } + + /** + * Get the type property: The type of the resource. * * @return the type value. */ @@ -77,7 +101,7 @@ public String type() { } /** - * Get the name property: Resource name. + * Get the name property: The name of the resource. * * @return the name value. */ @@ -86,15 +110,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public VirtualWanInner withId(String id) { - super.withId(id); - return this; - } - /** * {@inheritDoc} */ @@ -246,19 +261,12 @@ public VirtualWanInner withTypePropertiesType(String type) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (location() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property location in model VirtualWanInner")); - } } - private static final ClientLogger LOGGER = new ClientLogger(VirtualWanInner.class); - /** * {@inheritDoc} */ @@ -266,9 +274,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); - jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -288,14 +296,12 @@ public static VirtualWanInner fromJson(JsonReader jsonReader) throws IOException String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { - deserializedVirtualWanInner.withLocation(reader.getString()); - } else if ("id".equals(fieldName)) { - deserializedVirtualWanInner.withId(reader.getString()); - } else if ("name".equals(fieldName)) { + if ("name".equals(fieldName)) { deserializedVirtualWanInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedVirtualWanInner.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedVirtualWanInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedVirtualWanInner.withTags(tags); @@ -303,6 +309,8 @@ public static VirtualWanInner fromJson(JsonReader jsonReader) throws IOException deserializedVirtualWanInner.innerProperties = VirtualWanProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVirtualWanInner.etag = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedVirtualWanInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java index 8ffbbeac5c82..50acf3441bc7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java @@ -5,14 +5,13 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; import com.azure.core.management.SubResource; -import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.BgpSettings; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.TrackedResourceWithSettableId; import com.azure.resourcemanager.network.models.VpnGatewayIpConfiguration; import java.io.IOException; import java.util.List; @@ -22,7 +21,7 @@ * VpnGateway Resource. */ @Fluent -public final class VpnGatewayInner extends TrackedResourceWithSettableId { +public final class VpnGatewayInner extends Resource { /* * Properties of the VPN gateway. */ @@ -34,12 +33,17 @@ public final class VpnGatewayInner extends TrackedResourceWithSettableId { private String etag; /* - * Resource type. + * Resource ID. + */ + private String id; + + /* + * The type of the resource. */ private String type; /* - * Resource name. + * The name of the resource. */ private String name; @@ -68,7 +72,27 @@ public String etag() { } /** - * Get the type property: Resource type. + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the VpnGatewayInner object itself. + */ + public VpnGatewayInner withId(String id) { + this.id = id; + return this; + } + + /** + * Get the type property: The type of the resource. * * @return the type value. */ @@ -78,7 +102,7 @@ public String type() { } /** - * Get the name property: Resource name. + * Get the name property: The name of the resource. * * @return the name value. */ @@ -87,15 +111,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public VpnGatewayInner withId(String id) { - super.withId(id); - return this; - } - /** * {@inheritDoc} */ @@ -300,19 +315,12 @@ public VpnGatewayInner withNatRules(List natRules) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (location() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property location in model VpnGatewayInner")); - } } - private static final ClientLogger LOGGER = new ClientLogger(VpnGatewayInner.class); - /** * {@inheritDoc} */ @@ -320,9 +328,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); - jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -342,14 +350,12 @@ public static VpnGatewayInner fromJson(JsonReader jsonReader) throws IOException String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { - deserializedVpnGatewayInner.withLocation(reader.getString()); - } else if ("id".equals(fieldName)) { - deserializedVpnGatewayInner.withId(reader.getString()); - } else if ("name".equals(fieldName)) { + if ("name".equals(fieldName)) { deserializedVpnGatewayInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedVpnGatewayInner.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedVpnGatewayInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedVpnGatewayInner.withTags(tags); @@ -357,6 +363,8 @@ public static VpnGatewayInner fromJson(JsonReader jsonReader) throws IOException deserializedVpnGatewayInner.innerProperties = VpnGatewayProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVpnGatewayInner.etag = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedVpnGatewayInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java index 33b08230e7e0..bd0503acdeec 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java @@ -75,8 +75,8 @@ public String type() { * {@inheritDoc} */ @Override - public VpnGatewayNatRuleInner withId(String id) { - super.withId(id); + public VpnGatewayNatRuleInner withName(String name) { + super.withName(name); return this; } @@ -84,8 +84,8 @@ public VpnGatewayNatRuleInner withId(String id) { * {@inheritDoc} */ @Override - public VpnGatewayNatRuleInner withName(String name) { - super.withName(name); + public VpnGatewayNatRuleInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java index 39db25c97dd5..76f3581dc491 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java @@ -73,8 +73,8 @@ public String type() { * {@inheritDoc} */ @Override - public VpnServerConfigurationPolicyGroupInner withId(String id) { - super.withId(id); + public VpnServerConfigurationPolicyGroupInner withName(String name) { + super.withName(name); return this; } @@ -82,8 +82,8 @@ public VpnServerConfigurationPolicyGroupInner withId(String id) { * {@inheritDoc} */ @Override - public VpnServerConfigurationPolicyGroupInner withName(String name) { - super.withName(name); + public VpnServerConfigurationPolicyGroupInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java index 2ced5337c3b3..088de37d1672 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java @@ -5,8 +5,8 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; import com.azure.core.management.SubResource; -import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -15,7 +15,6 @@ import com.azure.resourcemanager.network.models.DeviceProperties; import com.azure.resourcemanager.network.models.O365PolicyProperties; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.TrackedResourceWithSettableId; import java.io.IOException; import java.util.List; import java.util.Map; @@ -24,7 +23,7 @@ * VpnSite Resource. */ @Fluent -public final class VpnSiteInner extends TrackedResourceWithSettableId { +public final class VpnSiteInner extends Resource { /* * Properties of the VPN site. */ @@ -36,12 +35,17 @@ public final class VpnSiteInner extends TrackedResourceWithSettableId { private String etag; /* - * Resource type. + * Resource ID. + */ + private String id; + + /* + * The type of the resource. */ private String type; /* - * Resource name. + * The name of the resource. */ private String name; @@ -70,7 +74,27 @@ public String etag() { } /** - * Get the type property: Resource type. + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the VpnSiteInner object itself. + */ + public VpnSiteInner withId(String id) { + this.id = id; + return this; + } + + /** + * Get the type property: The type of the resource. * * @return the type value. */ @@ -80,7 +104,7 @@ public String type() { } /** - * Get the name property: Resource name. + * Get the name property: The name of the resource. * * @return the name value. */ @@ -89,15 +113,6 @@ public String name() { return this.name; } - /** - * {@inheritDoc} - */ - @Override - public VpnSiteInner withId(String id) { - super.withId(id); - return this; - } - /** * {@inheritDoc} */ @@ -337,19 +352,12 @@ public VpnSiteInner withO365Policy(O365PolicyProperties o365Policy) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); } - if (location() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Missing required property location in model VpnSiteInner")); - } } - private static final ClientLogger LOGGER = new ClientLogger(VpnSiteInner.class); - /** * {@inheritDoc} */ @@ -357,9 +365,9 @@ public void validate() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("location", location()); - jsonWriter.writeStringField("id", id()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -379,14 +387,12 @@ public static VpnSiteInner fromJson(JsonReader jsonReader) throws IOException { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("location".equals(fieldName)) { - deserializedVpnSiteInner.withLocation(reader.getString()); - } else if ("id".equals(fieldName)) { - deserializedVpnSiteInner.withId(reader.getString()); - } else if ("name".equals(fieldName)) { + if ("name".equals(fieldName)) { deserializedVpnSiteInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedVpnSiteInner.type = reader.getString(); + } else if ("location".equals(fieldName)) { + deserializedVpnSiteInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { Map tags = reader.readMap(reader1 -> reader1.getString()); deserializedVpnSiteInner.withTags(tags); @@ -394,6 +400,8 @@ public static VpnSiteInner fromJson(JsonReader jsonReader) throws IOException { deserializedVpnSiteInner.innerProperties = VpnSiteProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVpnSiteInner.etag = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedVpnSiteInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java index e3c50f168116..fb2db8b88bda 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java @@ -77,8 +77,8 @@ public String type() { * {@inheritDoc} */ @Override - public VpnSiteLinkConnectionInner withId(String id) { - super.withId(id); + public VpnSiteLinkConnectionInner withName(String name) { + super.withName(name); return this; } @@ -86,8 +86,8 @@ public VpnSiteLinkConnectionInner withId(String id) { * {@inheritDoc} */ @Override - public VpnSiteLinkConnectionInner withName(String name) { - super.withName(name); + public VpnSiteLinkConnectionInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java index 09498fe5e862..e316847a7903 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java @@ -72,8 +72,8 @@ public String type() { * {@inheritDoc} */ @Override - public VpnSiteLinkInner withId(String id) { - super.withId(id); + public VpnSiteLinkInner withName(String name) { + super.withName(name); return this; } @@ -81,8 +81,8 @@ public VpnSiteLinkInner withId(String id) { * {@inheritDoc} */ @Override - public VpnSiteLinkInner withName(String name) { - super.withName(name); + public VpnSiteLinkInner withId(String id) { + super.withId(id); return this; } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java index 93588207a5a9..47e7fcc9bd92 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java @@ -5,8 +5,8 @@ package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.SubResource; import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; @@ -15,12 +15,7 @@ * Reference to another subresource. */ @Fluent -public class SubResourceModel implements JsonSerializable { - /* - * Resource ID. - */ - private String id; - +public class SubResourceModel extends SubResource { /* * Name of the resource. */ @@ -37,26 +32,6 @@ public class SubResourceModel implements JsonSerializable { public SubResourceModel() { } - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the SubResourceModel object itself. - */ - public SubResourceModel withId(String id) { - this.id = id; - return this; - } - /** * Get the name property: Name of the resource. * @@ -97,6 +72,15 @@ SubResourceModel withType(String type) { return this; } + /** + * {@inheritDoc} + */ + @Override + public SubResourceModel withId(String id) { + super.withId(id); + return this; + } + /** * Validates the instance. * @@ -111,7 +95,7 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("id", id()); jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -132,7 +116,7 @@ public static SubResourceModel fromJson(JsonReader jsonReader) throws IOExceptio reader.nextToken(); if ("id".equals(fieldName)) { - deserializedSubResourceModel.id = reader.getString(); + deserializedSubResourceModel.withId(reader.getString()); } else if ("name".equals(fieldName)) { deserializedSubResourceModel.name = reader.getString(); } else if ("type".equals(fieldName)) { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java deleted file mode 100644 index 37ce541c0974..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java +++ /dev/null @@ -1,215 +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.network.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.util.logging.ClientLogger; -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; - -/** - * Common resource representation. - */ -@Fluent -public class TrackedResourceWithSettableId implements JsonSerializable { - /* - * Resource ID. - */ - private String id; - - /* - * Resource name. - */ - private String name; - - /* - * Resource type. - */ - private String type; - - /* - * Resource location. - */ - private String location; - - /* - * Resource tags. - */ - private Map tags; - - /** - * Creates an instance of TrackedResourceWithSettableId class. - */ - public TrackedResourceWithSettableId() { - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the TrackedResourceWithSettableId object itself. - */ - public TrackedResourceWithSettableId withId(String id) { - this.id = id; - return this; - } - - /** - * Get the name property: Resource name. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Resource name. - * - * @param name the name value to set. - * @return the TrackedResourceWithSettableId object itself. - */ - TrackedResourceWithSettableId withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type property: Resource type. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Set the type property: Resource type. - * - * @param type the type value to set. - * @return the TrackedResourceWithSettableId object itself. - */ - TrackedResourceWithSettableId withType(String type) { - this.type = type; - return this; - } - - /** - * Get the location property: Resource location. - * - * @return the location value. - */ - public String location() { - return this.location; - } - - /** - * Set the location property: Resource location. - * - * @param location the location value to set. - * @return the TrackedResourceWithSettableId object itself. - */ - public TrackedResourceWithSettableId withLocation(String location) { - this.location = location; - return this; - } - - /** - * 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 TrackedResourceWithSettableId object itself. - */ - public TrackedResourceWithSettableId withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - if (location() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property location in model TrackedResourceWithSettableId")); - } - } - - private static final ClientLogger LOGGER = new ClientLogger(TrackedResourceWithSettableId.class); - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("location", this.location); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TrackedResourceWithSettableId from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TrackedResourceWithSettableId 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 TrackedResourceWithSettableId. - */ - public static TrackedResourceWithSettableId fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - TrackedResourceWithSettableId deserializedTrackedResourceWithSettableId - = new TrackedResourceWithSettableId(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("location".equals(fieldName)) { - deserializedTrackedResourceWithSettableId.location = reader.getString(); - } else if ("id".equals(fieldName)) { - deserializedTrackedResourceWithSettableId.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedTrackedResourceWithSettableId.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedTrackedResourceWithSettableId.type = reader.getString(); - } else if ("tags".equals(fieldName)) { - Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedTrackedResourceWithSettableId.tags = tags; - } else { - reader.skipChildren(); - } - } - - return deserializedTrackedResourceWithSettableId; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java deleted file mode 100644 index d3da1e522049..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourcewithOptionalLocation.java +++ /dev/null @@ -1,205 +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.network.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; - -/** - * Common resource representation. - */ -@Fluent -public class TrackedResourceWithOptionalLocation implements JsonSerializable { - /* - * Resource ID. - */ - private String id; - - /* - * Resource name. - */ - private String name; - - /* - * Resource type. - */ - private String type; - - /* - * Resource location. - */ - private String location; - - /* - * Resource tags. - */ - private Map tags; - - /** - * Creates an instance of TrackedResourceWithOptionalLocation class. - */ - public TrackedResourceWithOptionalLocation() { - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the TrackedResourceWithOptionalLocation object itself. - */ - TrackedResourceWithOptionalLocation withId(String id) { - this.id = id; - return this; - } - - /** - * Get the name property: Resource name. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Resource name. - * - * @param name the name value to set. - * @return the TrackedResourceWithOptionalLocation object itself. - */ - TrackedResourceWithOptionalLocation withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type property: Resource type. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Set the type property: Resource type. - * - * @param type the type value to set. - * @return the TrackedResourceWithOptionalLocation object itself. - */ - TrackedResourceWithOptionalLocation withType(String type) { - this.type = type; - return this; - } - - /** - * Get the location property: Resource location. - * - * @return the location value. - */ - public String location() { - return this.location; - } - - /** - * Set the location property: Resource location. - * - * @param location the location value to set. - * @return the TrackedResourceWithOptionalLocation object itself. - */ - public TrackedResourceWithOptionalLocation withLocation(String location) { - this.location = location; - return this; - } - - /** - * 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 TrackedResourceWithOptionalLocation object itself. - */ - public TrackedResourceWithOptionalLocation withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("location", this.location); - jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TrackedResourceWithOptionalLocation from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TrackedResourceWithOptionalLocation 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 TrackedResourceWithOptionalLocation. - */ - public static TrackedResourceWithOptionalLocation fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - TrackedResourceWithOptionalLocation deserializedTrackedResourceWithOptionalLocation - = new TrackedResourceWithOptionalLocation(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedTrackedResourceWithOptionalLocation.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedTrackedResourceWithOptionalLocation.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedTrackedResourceWithOptionalLocation.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedTrackedResourceWithOptionalLocation.location = reader.getString(); - } else if ("tags".equals(fieldName)) { - Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedTrackedResourceWithOptionalLocation.tags = tags; - } else { - reader.skipChildren(); - } - } - - return deserializedTrackedResourceWithOptionalLocation; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index 6f7ed50768a9..5388a4d51966 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithOptionalLocation.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file From 2dcced0991f35caf40186f623a04b5810973f123 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 27 Mar 2026 14:41:39 +0800 Subject: [PATCH 24/33] revert main --- .../implementation/LoadBalancerFrontendImpl.java | 10 +++------- .../implementation/NicIpConfigurationBaseImpl.java | 6 +++--- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendImpl.java index 788c2dda942d..3914cfab0a6b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendImpl.java @@ -48,7 +48,7 @@ class LoadBalancerFrontendImpl extends ChildResourceImpl getPublicIpAddressAsync() { @Override public Subnet getSubnet() { - SubnetInner subnetInner = this.innerModel().subnet(); - if (subnetInner == null) { - return null; - } - return Utils.getAssociatedSubnet(this.parent().manager(), new SubResource().withId(subnetInner.id())); + return Utils.getAssociatedSubnet(this.parent().manager(), this.innerModel().subnet()); } @Override diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NicIpConfigurationBaseImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NicIpConfigurationBaseImpl.java index 8aeca1043823..c8d971d420a1 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NicIpConfigurationBaseImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NicIpConfigurationBaseImpl.java @@ -3,12 +3,12 @@ package com.azure.resourcemanager.network.implementation; +import com.azure.core.management.SubResource; import com.azure.core.util.Context; import com.azure.core.util.CoreUtils; import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.network.NetworkManager; import com.azure.resourcemanager.network.fluent.models.ApplicationSecurityGroupInner; -import com.azure.resourcemanager.network.fluent.models.SubnetInner; import com.azure.resourcemanager.network.models.ApplicationGatewayBackend; import com.azure.resourcemanager.network.models.ApplicationSecurityGroup; import com.azure.resourcemanager.network.models.IpAllocationMethod; @@ -94,7 +94,7 @@ public IpVersion privateIpAddressVersion() { } public String networkId() { - SubnetInner subnetRef = this.innerModel().subnet(); + SubResource subnetRef = this.innerModel().subnet(); if (subnetRef == null) { return null; } @@ -111,7 +111,7 @@ public Network getNetwork() { @Override public String subnetName() { - SubnetInner subnetRef = this.innerModel().subnet(); + SubResource subnetRef = this.innerModel().subnet(); if (subnetRef == null) { return null; } From 810a7e753f1b8f5bdcda0f8f87c71d24b0bee54c Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 27 Mar 2026 15:51:40 +0800 Subject: [PATCH 25/33] regen --- .../CHANGELOG.md | 319 +- .../network/fluent/BastionHostsClient.java | 395 --- .../CheckDnsNameAvailabilitiesClient.java | 77 - .../fluent/EffectiveConfigurationsClient.java | 160 - .../ExpressRouteProviderPortsClient.java | 66 - .../fluent/NetworkManagementClient.java | 997 +++++- .../network/fluent/NetworkManagersClient.java | 138 - .../network/fluent/VirtualWansClient.java | 176 - .../BastionHostsClientImpl.java | 1581 +-------- .../CheckDnsNameAvailabilitiesClientImpl.java | 196 -- .../EffectiveConfigurationsClientImpl.java | 406 --- .../ExpressRouteProviderPortsClientImpl.java | 174 - .../NetworkManagementClientImpl.java | 2905 ++++++++++++++++- .../NetworkManagersClientImpl.java | 342 -- .../implementation/VirtualWansClientImpl.java | 411 --- .../ApplicationGatewayFirewallExclusion.java | 12 +- ...ayWebApplicationFirewallConfiguration.java | 15 +- ...zure-resourcemanager-network_metadata.json | 2 +- .../proxy-config.json | 2 +- ...eteBastionShareableLinkByTokenSamples.java | 31 - ...ostsDeleteBastionShareableLinkSamples.java | 35 - ...nHostsDisconnectActiveSessionsSamples.java | 29 - .../BastionHostsGetActiveSessionsSamples.java | 25 - ...onHostsGetBastionShareableLinkSamples.java | 35 - ...onHostsPutBastionShareableLinkSamples.java | 35 - ...bilityCheckDnsNameAvailabilitySamples.java | 24 - ...tiveConnectivityConfigurationsSamples.java | 29 - ...gerEffectiveSecurityAdminRulesSamples.java | 28 - ...rPortsExpressRouteProviderPortSamples.java | 24 - ...tiveConnectivityConfigurationsSamples.java | 30 - ...rsListActiveSecurityAdminRulesSamples.java | 30 - ...nserverconfigurationvpnprofileSamples.java | 32 - ...WansSupportedSecurityProvidersSamples.java | 24 - 33 files changed, 4053 insertions(+), 4732 deletions(-) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkByTokenSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDisconnectActiveSessionsSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetActiveSessionsSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetBastionShareableLinkSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsPutBastionShareableLinkSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CheckDnsNameAvailabilityCheckDnsNameAvailabilitySamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsExpressRouteProviderPortSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGeneratevirtualwanvpnserverconfigurationvpnprofileSamples.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansSupportedSecurityProvidersSamples.java diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index d564b417f719..f618e4691bd8 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -301,30 +301,30 @@ #### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access -* `withStateOrPrefixesReceived(java.lang.String)` was removed * `withNeighbor(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed +* `withStateOrPrefixesReceived(java.lang.String)` was removed * `withAsn(java.lang.Integer)` was removed #### `models.UsageName` was modified * `UsageName()` was changed to private access -* `withLocalizedValue(java.lang.String)` was removed * `withValue(java.lang.String)` was removed +* `withLocalizedValue(java.lang.String)` was removed #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access -* `withEffectiveSecurityRules(java.util.List)` was removed -* `withDefaultSecurityRules(java.util.List)` was removed * `withSubnetAssociation(models.SubnetAssociation)` was removed +* `withDefaultSecurityRules(java.util.List)` was removed +* `withEffectiveSecurityRules(java.util.List)` was removed * `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed #### `models.ResourceBasics` was modified * `ResourceBasics()` was changed to private access -* `withResourceId(java.lang.String)` was removed * `withAddressPrefixes(java.util.List)` was removed +* `withResourceId(java.lang.String)` was removed #### `models.MatchedRule` was modified @@ -336,11 +336,11 @@ * `ApplicationGatewayFirewallRule()` was changed to private access * `withRuleIdString(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed * `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed -* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed * `withRuleId(int)` was removed -* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed -* `withDescription(java.lang.String)` was removed +* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed #### `models.VpnGatewayIpConfiguration` was modified @@ -352,23 +352,28 @@ #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access -* `withName(java.lang.String)` was removed -* `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed * `withNextHopType(models.RouteNextHopType)` was removed -* `withAddressPrefix(java.util.List)` was removed -* `withState(models.EffectiveRouteState)` was removed * `withNextHopIpAddress(java.util.List)` was removed +* `withState(models.EffectiveRouteState)` was removed * `withSource(models.EffectiveRouteSource)` was removed +* `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed +* `withName(java.lang.String)` was removed +* `withAddressPrefix(java.util.List)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `withId(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withPrivateIpAddressVersion(models.IpVersion)` was removed * `withPrimary(java.lang.Boolean)` was removed -* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed +* `withName(java.lang.String)` was removed * `withPrivateIpAddress(java.lang.String)` was removed +* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed +* `withId(java.lang.String)` was removed +* `withPrivateIpAddressVersion(models.IpVersion)` was removed + +#### `models.ApplicationGatewayWebApplicationFirewallConfiguration` was modified + +* `java.util.List exclusions()` -> `models.ApplicationGatewayFirewallExclusion exclusions()` +* `withExclusions(java.util.List)` was removed #### `models.TunnelConnectionHealth` was modified @@ -381,21 +386,21 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access -* `withDescription(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withId(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withRegion(java.lang.String)` was removed -* `withSources(java.util.List)` was removed -* `withConfigurationDescription(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed * `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed * `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withId(java.lang.String)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withRegion(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed * `withDestinations(java.util.List)` was removed -* `withPriority(java.lang.Integer)` was removed * `withDestinationPortRanges(java.util.List)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withSources(java.util.List)` was removed * `withSourcePortRanges(java.util.List)` was removed #### `models.ErrorAdditionalInfo` was modified @@ -410,8 +415,8 @@ #### `models.ApplicationGatewayBackendHealthHttpSettings` was modified * `ApplicationGatewayBackendHealthHttpSettings()` was changed to private access -* `withServers(java.util.List)` was removed * `withBackendHttpSettings(models.ApplicationGatewayBackendHttpSettings)` was removed +* `withServers(java.util.List)` was removed #### `models.NetworkInterfaceAssociation` was modified @@ -434,12 +439,12 @@ #### `models.EffectiveDefaultSecurityAdminRule` was modified * `EffectiveDefaultSecurityAdminRule()` was changed to private access -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withConfigurationDescription(java.lang.String)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withFlag(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withFlag(java.lang.String)` was removed #### `models.Container` was modified @@ -449,27 +454,27 @@ #### `models.ServiceAssociationLink` was modified * `ServiceAssociationLink()` was changed to private access -* `withLinkedResourceType(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed -* `withAllowDelete(java.lang.Boolean)` was removed +* `withLinkedResourceType(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed * `withLink(java.lang.String)` was removed +* `withAllowDelete(java.lang.Boolean)` was removed #### `models.TroubleshootingRecommendedActions` was modified * `TroubleshootingRecommendedActions()` was changed to private access -* `withActionText(java.lang.String)` was removed +* `withActionUriText(java.lang.String)` was removed * `withActionUri(java.lang.String)` was removed * `withActionId(java.lang.String)` was removed -* `withActionUriText(java.lang.String)` was removed +* `withActionText(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access +* `withCallToActionLink(java.lang.String)` was removed * `withRecommendationId(java.lang.String)` was removed * `withCallToActionText(java.lang.String)` was removed -* `withCallToActionLink(java.lang.String)` was removed * `withSeverity(java.lang.String)` was removed * `withRecommendationText(java.lang.String)` was removed * `withRecommendationTitle(java.lang.String)` was removed @@ -477,29 +482,29 @@ #### `models.ContainerNetworkInterface` was modified * `ContainerNetworkInterface()` was changed to private access -* `withId(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withContainer(models.Container)` was removed +* `withName(java.lang.String)` was removed +* `withId(java.lang.String)` was removed #### `models.ExpressRouteFailoverRedundantRoute` was modified * `ExpressRouteFailoverRedundantRoute()` was changed to private access -* `withRoutes(java.util.List)` was removed * `withPeeringLocations(java.util.List)` was removed +* `withRoutes(java.util.List)` was removed #### `models.AzureReachabilityReportLatencyInfo` was modified * `AzureReachabilityReportLatencyInfo()` was changed to private access -* `withScore(java.lang.Integer)` was removed * `withTimestamp(java.time.OffsetDateTime)` was removed +* `withScore(java.lang.Integer)` was removed #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access +* `withIpAddress(java.lang.String)` was removed * `withReason(java.lang.String)` was removed * `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed * `withState(java.lang.String)` was removed -* `withIpAddress(java.lang.String)` was removed #### `models.ConnectivityHop` was modified @@ -516,36 +521,36 @@ #### `models.EffectiveNetworkSecurityRule` was modified * `EffectiveNetworkSecurityRule()` was changed to private access -* `withName(java.lang.String)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed -* `withSourceAddressPrefix(java.lang.String)` was removed * `withDestinationPortRanges(java.util.List)` was removed * `withSourceAddressPrefixes(java.util.List)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withSourcePortRange(java.lang.String)` was removed +* `withExpandedSourceAddressPrefix(java.util.List)` was removed * `withSourcePortRanges(java.util.List)` was removed -* `withDestinationAddressPrefix(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withDestinationPortRange(java.lang.String)` was removed * `withDirection(models.SecurityRuleDirection)` was removed -* `withExpandedSourceAddressPrefix(java.util.List)` was removed +* `withDestinationAddressPrefix(java.lang.String)` was removed * `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed -* `withSourcePortRange(java.lang.String)` was removed +* `withSourceAddressPrefix(java.lang.String)` was removed * `withAccess(models.SecurityRuleAccess)` was removed +* `withDestinationPortRange(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access -* `withAppliedTo(java.lang.String)` was removed * `withMatchedRule(models.MatchedRule)` was removed +* `withAppliedTo(java.lang.String)` was removed * `withNetworkSecurityGroupId(java.lang.String)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access -* `withId(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withLocation(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withAssociations(java.util.List)` was removed -* `withName(java.lang.String)` was removed #### `models.AzureFirewallIpGroups` was modified @@ -565,43 +570,43 @@ #### `models.AzureReachabilityReportItem` was modified * `AzureReachabilityReportItem()` was changed to private access +* `withAzureLocation(java.lang.String)` was removed * `withLatencies(java.util.List)` was removed * `withProvider(java.lang.String)` was removed -* `withAzureLocation(java.lang.String)` was removed #### `models.TroubleshootingDetails` was modified * `TroubleshootingDetails()` was changed to private access -* `withId(java.lang.String)` was removed +* `withRecommendedActions(java.util.List)` was removed * `withSummary(java.lang.String)` was removed -* `withReasonType(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withDetail(java.lang.String)` was removed -* `withRecommendedActions(java.util.List)` was removed +* `withReasonType(java.lang.String)` was removed #### `models.SingleQueryResult` was modified * `SingleQueryResult()` was changed to private access -* `withSignatureId(java.lang.Integer)` was removed -* `withInheritedFromParentPolicy(java.lang.Boolean)` was removed * `withDescription(java.lang.String)` was removed -* `withLastUpdated(java.lang.String)` was removed -* `withGroup(java.lang.String)` was removed * `withProtocol(java.lang.String)` was removed -* `withDestinationPorts(java.util.List)` was removed -* `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed -* `withSourcePorts(java.util.List)` was removed * `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withGroup(java.lang.String)` was removed +* `withInheritedFromParentPolicy(java.lang.Boolean)` was removed * `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed +* `withLastUpdated(java.lang.String)` was removed +* `withSignatureId(java.lang.Integer)` was removed +* `withSourcePorts(java.util.List)` was removed +* `withDestinationPorts(java.util.List)` was removed +* `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified * `NetworkSecurityRulesEvaluationResult()` was changed to private access +* `withDestinationMatched(java.lang.Boolean)` was removed * `withSourcePortMatched(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed * `withProtocolMatched(java.lang.Boolean)` was removed -* `withDestinationMatched(java.lang.Boolean)` was removed -* `withDestinationPortMatched(java.lang.Boolean)` was removed * `withSourceMatched(java.lang.Boolean)` was removed +* `withDestinationPortMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -614,31 +619,31 @@ #### `models.ActiveBaseSecurityAdminRule` was modified -* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` * `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access -* `withDescription(java.lang.String)` was removed +* `withSources(java.util.List)` was removed * `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withSourcePortRanges(java.util.List)` was removed * `withDestinations(java.util.List)` was removed -* `withSources(java.util.List)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed * `withAccess(models.SecurityConfigurationRuleAccess)` was removed * `withConfigurationDescription(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed * `withDestinationPortRanges(java.util.List)` was removed -* `withPriority(java.lang.Integer)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed #### `models.BgpPeerStatus` was modified @@ -654,20 +659,20 @@ #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access -* `withSourceMdmAccount(java.lang.String)` was removed +* `withFillGapWithZero(java.lang.Boolean)` was removed +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed +* `withSourceMdmNamespace(java.lang.String)` was removed +* `withDimensions(java.util.List)` was removed * `withAggregationType(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed * `withMetricFilterPattern(java.lang.String)` was removed -* `withResourceIdDimensionNameOverride(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withDisplayDescription(java.lang.String)` was removed +* `withSourceMdmAccount(java.lang.String)` was removed * `withIsInternal(java.lang.Boolean)` was removed -* `withDisplayName(java.lang.String)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed -* `withUnit(java.lang.String)` was removed +* `withResourceIdDimensionNameOverride(java.lang.String)` was removed * `withAvailabilities(java.util.List)` was removed -* `withDisplayDescription(java.lang.String)` was removed -* `withDimensions(java.util.List)` was removed -* `withName(java.lang.String)` was removed -* `withFillGapWithZero(java.lang.Boolean)` was removed -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed +* `withUnit(java.lang.String)` was removed #### `models.ApplicationGatewayForContainersReferenceDefinition` was modified @@ -683,9 +688,9 @@ #### `models.ApplicationGatewayFirewallRuleGroup` was modified * `ApplicationGatewayFirewallRuleGroup()` was changed to private access -* `withRuleGroupName(java.lang.String)` was removed * `withRules(java.util.List)` was removed * `withDescription(java.lang.String)` was removed +* `withRuleGroupName(java.lang.String)` was removed #### `models.IpamPoolProperties` was modified @@ -694,9 +699,9 @@ #### `models.AvailableProvidersListState` was modified * `AvailableProvidersListState()` was changed to private access +* `withProviders(java.util.List)` was removed * `withCities(java.util.List)` was removed * `withStateName(java.lang.String)` was removed -* `withProviders(java.util.List)` was removed #### `models.HopLink` was modified @@ -705,19 +710,19 @@ #### `models.ResourceNavigationLink` was modified * `ResourceNavigationLink()` was changed to private access -* `withLinkedResourceType(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withLink(java.lang.String)` was removed -* `withName(java.lang.String)` was removed +* `withLinkedResourceType(java.lang.String)` was removed #### `models.BgpCommunity` was modified * `BgpCommunity()` was changed to private access -* `withCommunityName(java.lang.String)` was removed * `withServiceSupportedRegion(java.lang.String)` was removed * `withIsAuthorizedToUse(java.lang.Boolean)` was removed -* `withCommunityValue(java.lang.String)` was removed * `withCommunityPrefixes(java.util.List)` was removed +* `withCommunityName(java.lang.String)` was removed +* `withCommunityValue(java.lang.String)` was removed * `withServiceGroup(java.lang.String)` was removed #### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified @@ -727,11 +732,11 @@ #### `models.EffectiveNetworkSecurityGroup` was modified * `EffectiveNetworkSecurityGroup()` was changed to private access -* `java.lang.String tagMap()` -> `java.util.Map tagMap()` * `withEffectiveSecurityRules(java.util.List)` was removed -* `withTagMap(java.lang.String)` was removed * `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed +* `java.lang.String tagMap()` -> `java.util.Map tagMap()` * `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed +* `withTagMap(java.lang.String)` was removed #### `models.ReferencedPublicIpAddress` was modified @@ -746,8 +751,8 @@ * `GatewayRouteSet()` was changed to private access * `withLocations(java.util.List)` was removed -* `withDetails(java.util.Map)` was removed * `withName(java.lang.String)` was removed +* `withDetails(java.util.Map)` was removed #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified @@ -764,41 +769,41 @@ #### `models.ExpressRouteCircuitArpTable` was modified * `ExpressRouteCircuitArpTable()` was changed to private access -* `withAge(java.lang.Integer)` was removed +* `withIpAddress(java.lang.String)` was removed * `withMacAddress(java.lang.String)` was removed +* `withAge(java.lang.Integer)` was removed * `withInterfaceProperty(java.lang.String)` was removed -* `withIpAddress(java.lang.String)` was removed #### `models.ActiveConnectivityConfiguration` was modified * `ActiveConnectivityConfiguration()` was changed to private access -* `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withConfigurationGroups(java.util.List)` was removed -* `withHubs(java.util.List)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed -* `withId(java.lang.String)` was removed +* `withHubs(java.util.List)` was removed +* `withRegion(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withIsGlobal(models.IsGlobal)` was removed -* `withRegion(java.lang.String)` was removed * `withAppliesToGroups(java.util.List)` was removed +* `withConfigurationGroups(java.util.List)` was removed +* `withId(java.lang.String)` was removed #### `models.RouteSourceDetails` was modified * `RouteSourceDetails()` was changed to private access -* `withSec(java.lang.String)` was removed * `withPri(java.lang.String)` was removed * `withCircuit(java.lang.String)` was removed +* `withSec(java.lang.String)` was removed #### `models.RecordSet` was modified * `RecordSet()` was changed to private access -* `withIpAddresses(java.util.List)` was removed -* `withRecordSetName(java.lang.String)` was removed * `withFqdn(java.lang.String)` was removed +* `withIpAddresses(java.util.List)` was removed * `withTtl(java.lang.Integer)` was removed * `withRecordType(java.lang.String)` was removed +* `withRecordSetName(java.lang.String)` was removed #### `models.ApplicationGatewayBackendHealthPool` was modified @@ -809,15 +814,15 @@ #### `models.AvailableProvidersListCity` was modified * `AvailableProvidersListCity()` was changed to private access -* `withCityName(java.lang.String)` was removed * `withProviders(java.util.List)` was removed +* `withCityName(java.lang.String)` was removed #### `models.ExpressRouteFailoverCircuitResourceDetails` was modified * `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access +* `withNrpResourceUri(java.lang.String)` was removed * `withConnectionName(java.lang.String)` was removed * `withName(java.lang.String)` was removed -* `withNrpResourceUri(java.lang.String)` was removed #### `models.ConnectivityIssue` was modified @@ -826,9 +831,9 @@ #### `models.Availability` was modified * `Availability()` was changed to private access +* `withTimeGrain(java.lang.String)` was removed * `withBlobDuration(java.lang.String)` was removed * `withRetention(java.lang.String)` was removed -* `withTimeGrain(java.lang.String)` was removed #### `models.VerifierWorkspaceProperties` was modified @@ -839,8 +844,8 @@ * `OperationDisplay()` was changed to private access * `withProvider(java.lang.String)` was removed * `withOperation(java.lang.String)` was removed -* `withResource(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed +* `withResource(java.lang.String)` was removed #### `models.OperationPropertiesFormatServiceSpecification` was modified @@ -851,9 +856,9 @@ #### `models.AvailableProvidersListCountry` was modified * `AvailableProvidersListCountry()` was changed to private access +* `withProviders(java.util.List)` was removed * `withCountryName(java.lang.String)` was removed * `withStates(java.util.List)` was removed -* `withProviders(java.util.List)` was removed #### `models.VirtualNetworkUsageName` was modified @@ -863,60 +868,60 @@ * `ApplicationGatewayFirewallRuleSet()` was changed to private access * `withRuleGroups(java.util.List)` was removed -* `withRuleSetType(java.lang.String)` was removed -* `withLocation(java.lang.String)` was removed * `withTags(java.util.Map)` was removed +* `withLocation(java.lang.String)` was removed +* `withRuleSetType(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed * `withRuleSetVersion(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withTiers(java.util.List)` was removed #### `models.ApplicationGatewayFirewallManifestRuleSet` was modified * `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access -* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed +* `withTiers(java.util.List)` was removed +* `withRuleGroups(java.util.List)` was removed * `withRuleSetVersion(java.lang.String)` was removed +* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed * `withRuleSetType(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withTiers(java.util.List)` was removed #### `models.NetworkManagerDeploymentStatus` was modified * `NetworkManagerDeploymentStatus()` was changed to private access -* `withDeploymentStatus(models.DeploymentStatus)` was removed * `withDeploymentType(models.ConfigurationType)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withDeploymentStatus(models.DeploymentStatus)` was removed * `withConfigurationIds(java.util.List)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed * `withErrorMessage(java.lang.String)` was removed * `withRegion(java.lang.String)` was removed #### `models.CircuitMetadataMap` was modified * `CircuitMetadataMap()` was changed to private access -* `withLink(java.lang.String)` was removed * `withLocation(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed * `withName(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTableSummary` was modified * `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withAs(java.lang.Integer)` was removed -* `withStatePfxRcd(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed * `withV(java.lang.Integer)` was removed * `withNeighbor(java.lang.String)` was removed +* `withAs(java.lang.Integer)` was removed +* `withStatePfxRcd(java.lang.String)` was removed #### `models.ManagedRuleSetRuleGroup` was modified * `ManagedRuleSetRuleGroup()` was changed to private access -* `withRules(java.util.List)` was removed * `withRuleGroupName(java.lang.String)` was removed +* `withRules(java.util.List)` was removed #### `models.Dimension` was modified * `Dimension()` was changed to private access * `withDisplayName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withInternalName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.NetworkSecurityGroupResult` was modified @@ -928,23 +933,23 @@ * `ResiliencyRecommendationComponents()` was changed to private access * `withName(java.lang.String)` was removed * `withRecommendations(java.util.List)` was removed -* `withCurrentScore(java.lang.String)` was removed * `withMaxScore(java.lang.String)` was removed +* `withCurrentScore(java.lang.String)` was removed #### `models.EffectiveBaseSecurityAdminRule` was modified -* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` #### `models.LogSpecification` was modified * `LogSpecification()` was changed to private access -* `withName(java.lang.String)` was removed -* `withBlobDuration(java.lang.String)` was removed * `withDisplayName(java.lang.String)` was removed +* `withBlobDuration(java.lang.String)` was removed +* `withName(java.lang.String)` was removed #### `models.InboundNatRulePortMapping` was modified @@ -953,13 +958,13 @@ #### `models.EffectiveConnectivityConfiguration` was modified * `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withIsGlobal(models.IsGlobal)` was removed * `withAppliesToGroups(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed * `withHubs(java.util.List)` was removed -* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` +* `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withDescription(java.lang.String)` was removed +* `withIsGlobal(models.IsGlobal)` was removed +* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` * `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` #### `models.PerimeterBasedAccessRule` was modified @@ -969,17 +974,17 @@ #### `models.NetworkConfigurationDiagnosticResult` was modified * `NetworkConfigurationDiagnosticResult()` was changed to private access -* `withNetworkSecurityGroupResult(models.NetworkSecurityGroupResult)` was removed * `withProfile(models.NetworkConfigurationDiagnosticProfile)` was removed +* `withNetworkSecurityGroupResult(models.NetworkSecurityGroupResult)` was removed #### `models.VirtualHubEffectiveRoute` was modified * `VirtualHubEffectiveRoute()` was changed to private access -* `withRouteOrigin(java.lang.String)` was removed -* `withNextHops(java.util.List)` was removed * `withAddressPrefixes(java.util.List)` was removed * `withNextHopType(java.lang.String)` was removed +* `withRouteOrigin(java.lang.String)` was removed * `withAsPath(java.lang.String)` was removed +* `withNextHops(java.util.List)` was removed #### `models.ExpressRoutePortsLocationBandwidths` was modified @@ -992,9 +997,9 @@ #### `models.EffectiveNetworkSecurityGroupAssociation` was modified * `EffectiveNetworkSecurityGroupAssociation()` was changed to private access -* `withNetworkManager(com.azure.core.management.SubResource)` was removed -* `withNetworkInterface(com.azure.core.management.SubResource)` was removed * `withSubnet(com.azure.core.management.SubResource)` was removed +* `withNetworkInterface(com.azure.core.management.SubResource)` was removed +* `withNetworkManager(com.azure.core.management.SubResource)` was removed #### `models.ErrorDetail` was modified @@ -1003,9 +1008,9 @@ #### `models.IntentContent` was modified * `IntentContent()` was changed to private access -* `withSourceResourceId(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed * `withIpTraffic(models.IpTraffic)` was removed +* `withDescription(java.lang.String)` was removed +* `withSourceResourceId(java.lang.String)` was removed * `withDestinationResourceId(java.lang.String)` was removed #### `models.ConfigurationGroup` was modified @@ -1018,21 +1023,21 @@ #### `models.SecurityPerimeterSystemData` was modified * `SecurityPerimeterSystemData()` was changed to private access -* `withLastModifiedAt(java.time.OffsetDateTime)` was removed -* `withLastModifiedByType(models.CreatedByType)` was removed * `withLastModifiedBy(java.lang.String)` was removed -* `withCreatedAt(java.time.OffsetDateTime)` was removed -* `withCreatedBy(java.lang.String)` was removed +* `withLastModifiedByType(models.CreatedByType)` was removed * `withCreatedByType(models.CreatedByType)` was removed +* `withLastModifiedAt(java.time.OffsetDateTime)` was removed +* `withCreatedBy(java.lang.String)` was removed +* `withCreatedAt(java.time.OffsetDateTime)` was removed #### `models.ExpressRouteCircuitRoutesTable` was modified * `ExpressRouteCircuitRoutesTable()` was changed to private access -* `withNextHop(java.lang.String)` was removed +* `withWeight(java.lang.Integer)` was removed * `withPath(java.lang.String)` was removed -* `withNetwork(java.lang.String)` was removed * `withLocPrf(java.lang.String)` was removed -* `withWeight(java.lang.Integer)` was removed +* `withNetwork(java.lang.String)` was removed +* `withNextHop(java.lang.String)` was removed #### `models.SubnetAssociation` was modified @@ -1042,8 +1047,8 @@ #### `models.RadiusAuthServer` was modified * `RadiusAuthServer()` was changed to private access -* `withRadiusServerSecret(java.lang.String)` was removed * `withRadiusServerAddress(java.lang.String)` was removed +* `withRadiusServerSecret(java.lang.String)` was removed #### `models.VirtualApplianceNicProperties` was modified @@ -1068,22 +1073,22 @@ #### `models.ExpressRouteFailoverConnectionResourceDetails` was modified * `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access -* `withNrpResourceUri(java.lang.String)` was removed * `withLastUpdatedTime(java.lang.String)` was removed +* `withNrpResourceUri(java.lang.String)` was removed * `withName(java.lang.String)` was removed * `withStatus(models.FailoverConnectionStatus)` was removed #### `models.ActiveDefaultSecurityAdminRule` was modified * `ActiveDefaultSecurityAdminRule()` was changed to private access +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withRegion(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withRegion(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed * `withFlag(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed ### Features Added @@ -1103,6 +1108,10 @@ * `models.WritableResource` was added +#### `models.ApplicationGatewayWebApplicationFirewallConfiguration` was modified + +* `withExclusions(models.ApplicationGatewayFirewallExclusion)` was added + #### `models.DdosDetectionRule` was modified * `id()` was added @@ -1117,8 +1126,8 @@ #### `models.ActiveConnectivityConfiguration` was modified -* `id()` was added * `configurationGroups()` was added +* `id()` was added ## 2.58.0 (2026-02-14) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java index 1bc3a3c6875a..f00553b8fe02 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java @@ -13,13 +13,7 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.BastionActiveSessionInner; import com.azure.resourcemanager.network.fluent.models.BastionHostInner; -import com.azure.resourcemanager.network.fluent.models.BastionSessionStateInner; -import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; -import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; -import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; -import com.azure.resourcemanager.network.models.SessionIds; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -458,393 +452,4 @@ BastionHostInner updateTags(String resourceGroupName, String bastionHostName, Ta */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Context context); - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux putBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest); - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable putBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest); - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable putBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest, Context context); - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest); - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest); - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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> beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest); - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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> beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest, Context context); - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest); - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 deleteBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest); - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 deleteBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest, Context context); - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteBastionShareableLinkByTokenWithResponseAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest); - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest); - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, - String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest); - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, - String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, Context context); - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkTokenListRequest bslTokenRequest); - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, - BastionShareableLinkTokenListRequest bslTokenRequest); - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, - BastionShareableLinkTokenListRequest bslTokenRequest, Context context); - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest); - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest); - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest, Context context); - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @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 paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux getActiveSessionsAsync(String resourceGroupName, String bastionHostName); - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @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 paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getActiveSessions(String resourceGroupName, String bastionHostName); - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @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 paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable getActiveSessions(String resourceGroupName, String bastionHostName, - Context context); - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, String bastionHostName, - SessionIds sessionIds); - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable disconnectActiveSessions(String resourceGroupName, String bastionHostName, - SessionIds sessionIds); - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable disconnectActiveSessions(String resourceGroupName, String bastionHostName, - SessionIds sessionIds, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java deleted file mode 100644 index 89076af2695d..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java +++ /dev/null @@ -1,77 +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.network.fluent; - -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.Response; -import com.azure.core.util.Context; -import com.azure.resourcemanager.network.fluent.models.DnsNameAvailabilityResultInner; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in CheckDnsNameAvailabilitiesClient. - */ -public interface CheckDnsNameAvailabilitiesClient { - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> checkDnsNameAvailabilityWithResponseAsync(String location, - String domainNameLabel); - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono checkDnsNameAvailabilityAsync(String location, String domainNameLabel); - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response checkDnsNameAvailabilityWithResponse(String location, - String domainNameLabel, Context context); - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - DnsNameAvailabilityResultInner checkDnsNameAvailability(String location, String domainNameLabel); -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java deleted file mode 100644 index f73a30207b65..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java +++ /dev/null @@ -1,160 +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.network.fluent; - -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.Response; -import com.azure.core.util.Context; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveConnectivityConfigurationListResultInner; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveSecurityAdminRulesListResultInner; -import com.azure.resourcemanager.network.models.QueryRequestOptions; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in EffectiveConfigurationsClient. - */ -public interface EffectiveConfigurationsClient { - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> - listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top); - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono - listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters); - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response - listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context); - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkManagerEffectiveConnectivityConfigurationListResultInner - listNetworkManagerEffectiveConnectivityConfigurations(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters); - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> - listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top); - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listNetworkManagerEffectiveSecurityAdminRulesAsync( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response - listNetworkManagerEffectiveSecurityAdminRulesWithResponse(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters, Integer top, Context context); - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - NetworkManagerEffectiveSecurityAdminRulesListResultInner listNetworkManagerEffectiveSecurityAdminRules( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java deleted file mode 100644 index 6a8e8d3d2502..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java +++ /dev/null @@ -1,66 +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.network.fluent; - -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.Response; -import com.azure.core.util.Context; -import com.azure.resourcemanager.network.fluent.models.ExpressRouteProviderPortInner; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in ExpressRouteProviderPortsClient. - */ -public interface ExpressRouteProviderPortsClient { - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> expressRouteProviderPortWithResponseAsync(String providerport); - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono expressRouteProviderPortAsync(String providerport); - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response expressRouteProviderPortWithResponse(String providerport, Context context); - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - ExpressRouteProviderPortInner expressRouteProviderPort(String providerport); -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java index e2e59e3be8c5..86f23dfecfa7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java @@ -4,8 +4,37 @@ package com.azure.resourcemanager.network.fluent; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; import com.azure.core.http.HttpPipeline; +import com.azure.core.http.rest.PagedFlux; +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.PollerFlux; +import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationsListResultInner; +import com.azure.resourcemanager.network.fluent.models.ActiveSecurityAdminRulesListResultInner; +import com.azure.resourcemanager.network.fluent.models.BastionActiveSessionInner; +import com.azure.resourcemanager.network.fluent.models.BastionSessionStateInner; +import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; +import com.azure.resourcemanager.network.fluent.models.DnsNameAvailabilityResultInner; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteProviderPortInner; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveConnectivityConfigurationListResultInner; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveSecurityAdminRulesListResultInner; +import com.azure.resourcemanager.network.fluent.models.VirtualWanSecurityProvidersInner; +import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; +import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; +import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; +import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; +import com.azure.resourcemanager.network.models.QueryRequestOptions; +import com.azure.resourcemanager.network.models.SessionIds; +import com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters; +import java.nio.ByteBuffer; import java.time.Duration; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; /** * The interface for NetworkManagementClient class. @@ -81,13 +110,6 @@ public interface NetworkManagementClient { */ BastionHostsClient getBastionHosts(); - /** - * Gets the ExpressRouteProviderPortsClient object to access its operations. - * - * @return the ExpressRouteProviderPortsClient object. - */ - ExpressRouteProviderPortsClient getExpressRouteProviderPorts(); - /** * Gets the NetworkInterfacesClient object to access its operations. * @@ -543,13 +565,6 @@ public interface NetworkManagementClient { */ VirtualNetworksClient getVirtualNetworks(); - /** - * Gets the EffectiveConfigurationsClient object to access its operations. - * - * @return the EffectiveConfigurationsClient object. - */ - EffectiveConfigurationsClient getEffectiveConfigurations(); - /** * Gets the SubnetsClient object to access its operations. * @@ -697,13 +712,6 @@ public interface NetworkManagementClient { */ WebApplicationFirewallPoliciesClient getWebApplicationFirewallPolicies(); - /** - * Gets the CheckDnsNameAvailabilitiesClient object to access its operations. - * - * @return the CheckDnsNameAvailabilitiesClient object. - */ - CheckDnsNameAvailabilitiesClient getCheckDnsNameAvailabilities(); - /** * Gets the VirtualNetworkAppliancesClient object to access its operations. * @@ -1172,4 +1180,951 @@ public interface NetworkManagementClient { * @return the UsagesClient object. */ UsagesClient getUsages(); + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux putBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable putBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable putBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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> beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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> beginDeleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 deleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 deleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteBastionShareableLinkByTokenWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, Context context); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest); + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest, Context context); + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest); + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux getActiveSessionsAsync(String resourceGroupName, String bastionHostName); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getActiveSessions(String resourceGroupName, String bastionHostName); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable getActiveSessions(String resourceGroupName, String bastionHostName, + Context context); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, String bastionHostName, + SessionIds sessionIds); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable disconnectActiveSessions(String resourceGroupName, String bastionHostName, + SessionIds sessionIds); + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable disconnectActiveSessions(String resourceGroupName, String bastionHostName, + SessionIds sessionIds, Context context); + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> expressRouteProviderPortWithResponseAsync(String providerport); + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono expressRouteProviderPortAsync(String providerport); + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response expressRouteProviderPortWithResponse(String providerport, Context context); + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ExpressRouteProviderPortInner expressRouteProviderPort(String providerport); + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active connectivity configurations along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> + listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, + ActiveConfigurationParameter parameters, Integer top); + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active connectivity configurations on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listActiveConnectivityConfigurationsAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters); + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active connectivity configurations along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response listActiveConnectivityConfigurationsWithResponse( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, + Context context); + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active connectivity configurations. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ActiveConnectivityConfigurationsListResultInner listActiveConnectivityConfigurations(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters); + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active security admin rules along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> listActiveSecurityAdminRulesWithResponseAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top); + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active security admin rules on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listActiveSecurityAdminRulesAsync(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters); + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active security admin rules along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response listActiveSecurityAdminRulesWithResponse(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context); + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active security admin rules. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ActiveSecurityAdminRulesListResultInner listActiveSecurityAdminRules(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters); + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> + listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top); + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono + listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters); + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response + listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context); + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkManagerEffectiveConnectivityConfigurationListResultInner + listNetworkManagerEffectiveConnectivityConfigurations(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters); + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> + listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top); + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listNetworkManagerEffectiveSecurityAdminRulesAsync( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response + listNetworkManagerEffectiveSecurityAdminRulesWithResponse(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters, Integer top, Context context); + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + NetworkManagerEffectiveSecurityAdminRulesListResultInner listNetworkManagerEffectiveSecurityAdminRules( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters); + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> + supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWANName); + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono supportedSecurityProvidersAsync(String resourceGroupName, + String virtualWANName); + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response supportedSecurityProvidersWithResponse(String resourceGroupName, + String virtualWANName, Context context); + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VirtualWanSecurityProvidersInner supportedSecurityProviders(String resourceGroupName, String virtualWANName); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( + String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams, Context context); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, + String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, + String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams); + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, + String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, Context context); + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> checkDnsNameAvailabilityWithResponseAsync(String location, + String domainNameLabel); + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono checkDnsNameAvailabilityAsync(String location, String domainNameLabel); + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response checkDnsNameAvailabilityWithResponse(String location, + String domainNameLabel, Context context); + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + DnsNameAvailabilityResultInner checkDnsNameAvailability(String location, String domainNameLabel); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java index 941603566c0d..5a3318b30a81 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java @@ -13,10 +13,7 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationsListResultInner; -import com.azure.resourcemanager.network.fluent.models.ActiveSecurityAdminRulesListResultInner; import com.azure.resourcemanager.network.fluent.models.NetworkManagerInner; -import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; import com.azure.resourcemanager.network.models.PatchObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -447,139 +444,4 @@ PagedIterable listByResourceGroup(String resourceGroupName, */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Integer top, String skipToken, Context context); - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> - listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, - ActiveConfigurationParameter parameters, Integer top); - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active connectivity configurations on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listActiveConnectivityConfigurationsAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters); - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response listActiveConnectivityConfigurationsWithResponse( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, - Context context); - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active connectivity configurations. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - ActiveConnectivityConfigurationsListResultInner listActiveConnectivityConfigurations(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters); - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> listActiveSecurityAdminRulesWithResponseAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top); - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active security admin rules on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono listActiveSecurityAdminRulesAsync(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters); - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response listActiveSecurityAdminRulesWithResponse(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters, Integer top, Context context); - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active security admin rules. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - ActiveSecurityAdminRulesListResultInner listActiveSecurityAdminRules(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java index d1a28601886c..febde489e3e9 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java @@ -14,10 +14,7 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.models.VirtualWanInner; -import com.azure.resourcemanager.network.fluent.models.VirtualWanSecurityProvidersInner; -import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -409,177 +406,4 @@ Response updateTagsWithResponse(String resourceGroupName, Strin */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Context context); - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> - supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWANName); - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @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 collection of SecurityProviders on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono supportedSecurityProvidersAsync(String resourceGroupName, - String virtualWANName); - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @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 collection of SecurityProviders along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response supportedSecurityProvidersWithResponse(String resourceGroupName, - String virtualWANName, Context context); - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @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 collection of SecurityProviders. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VirtualWanSecurityProvidersInner supportedSecurityProviders(String resourceGroupName, String virtualWANName); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 body along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( - String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWANName, - VirtualWanVpnProfileParameters vpnClientParams); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, - VirtualWanVpnProfileParameters vpnClientParams); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, - VirtualWanVpnProfileParameters vpnClientParams, Context context); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 body on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, - String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, - String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams); - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, - String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java index a5c6e61c5707..c08af6e52a49 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java @@ -14,7 +14,6 @@ import com.azure.core.annotation.HostParam; import com.azure.core.annotation.Patch; import com.azure.core.annotation.PathParam; -import com.azure.core.annotation.Post; import com.azure.core.annotation.Put; import com.azure.core.annotation.QueryParam; import com.azure.core.annotation.ReturnType; @@ -34,17 +33,8 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.BastionHostsClient; -import com.azure.resourcemanager.network.fluent.models.BastionActiveSessionInner; import com.azure.resourcemanager.network.fluent.models.BastionHostInner; -import com.azure.resourcemanager.network.fluent.models.BastionSessionStateInner; -import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; -import com.azure.resourcemanager.network.implementation.models.BastionActiveSessionListResult; import com.azure.resourcemanager.network.implementation.models.BastionHostListResult; -import com.azure.resourcemanager.network.implementation.models.BastionSessionDeleteResult; -import com.azure.resourcemanager.network.implementation.models.BastionShareableLinkListResult; -import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; -import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; -import com.azure.resourcemanager.network.models.SessionIds; import com.azure.resourcemanager.network.models.TagsObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -142,66 +132,6 @@ Mono> list(@HostParam("endpoint") String endpoin @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> putBastionShareableLink(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, Context context); - - @Headers({ "Accept: application/json;q=0.9" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deleteBastionShareableLink(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Content-Type") String contentType, - @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, Context context); - - @Headers({ "Accept: application/json;q=0.9" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinksByToken") - @ExpectedResponses({ 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deleteBastionShareableLinkByToken(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Content-Type") String contentType, - @BodyParam("application/json") BastionShareableLinkTokenListRequest bslTokenRequest, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getBastionShareableLink(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getActiveSessions(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, - Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> disconnectActiveSessions(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, - @BodyParam("application/json") SessionIds sessionIds, Context context); - @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -216,38 +146,6 @@ Mono> listByResourceGroupNext( @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@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, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> putBastionShareableLinkNext( - @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> getBastionShareableLinkNext( - @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, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getActiveSessionsNext( - @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> disconnectActiveSessionsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, - @HeaderParam("Accept") String accept, Context context); } /** @@ -1289,1498 +1187,111 @@ public PagedIterable list(Context context) { } /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 body along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> putBastionShareableLinkSinglePageAsync( - String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono = service - .putBastionShareableLink(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, bastionHostName, accept, bslRequest, context) - .cache(); - return Mono.zip(mono, - this.client - .getLroResult(mono, - this.client.getHttpPipeline(), BastionShareableLinkListResult.class, - BastionShareableLinkListResult.class, this.client.getContext()) - .last() - .flatMap(this.client::getLroFinalResultOrError)); - }) - .>map( - res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)) + 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())); } /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 body along with {@link PagedResponse} on successful completion of {@link Mono}. + * @return the response of a BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> putBastionShareableLinkSinglePageAsync( - String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, + Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - Mono>> mono - = service - .putBastionShareableLink(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, bastionHostName, accept, bslRequest, context) - .cache(); - return Mono - .zip(mono, - this.client - .getLroResult(mono, - this.client.getHttpPipeline(), BastionShareableLinkListResult.class, - BastionShareableLinkListResult.class, context) - .last() - .flatMap(this.client::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)); - } - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux putBastionShareableLinkAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest) { - return new PagedFlux<>( - () -> putBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest), - nextLink -> putBastionShareableLinkNextSinglePageAsync(nextLink)); - } - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux putBastionShareableLinkAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { - return new PagedFlux<>( - () -> putBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest, context), - nextLink -> putBastionShareableLinkNextSinglePageAsync(nextLink, context)); - } - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable putBastionShareableLink(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest) { - return new PagedIterable<>(putBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest)); - } - - /** - * Creates a Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable putBastionShareableLink(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { - return new PagedIterable<>( - putBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context)); + return 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)); } /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 {@link Response} on successful completion of {@link Mono}. + * @return the response of a BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest) { + private Mono> listNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - return FluxUtil - .withContext(context -> service.deleteBastionShareableLink(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, bslRequest, context)) + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.listNext(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())); } /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * Get the next page of items. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 {@link Response} on successful completion of {@link Mono}. + * @return the response of a BastionHost list operation along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + private Mono> listNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - context = this.client.mergeContext(context); - return service.deleteBastionShareableLink(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, bslRequest, context); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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) - public PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest) { - Mono>> mono - = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostName, bslRequest); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostName, bslRequest, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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> beginDeleteBastionShareableLink(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest) { - return this.beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest) - .getSyncPoller(); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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> beginDeleteBastionShareableLink(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { - return this.beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context) - .getSyncPoller(); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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) - public Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest) { - return beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest, Context context) { - return beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 deleteBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest) { - deleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest).block(); - } - - /** - * Deletes the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 deleteBastionShareableLink(String resourceGroupName, String bastionHostName, - BastionShareableLinkListRequest bslRequest, Context context) { - deleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context).block(); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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) - public Mono>> deleteBastionShareableLinkByTokenWithResponseAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - if (bslTokenRequest == null) { - return Mono - .error(new IllegalArgumentException("Parameter bslTokenRequest is required and cannot be null.")); - } else { - bslTokenRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - return FluxUtil - .withContext(context -> service.deleteBastionShareableLinkByToken(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, bslTokenRequest, - context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteBastionShareableLinkByTokenWithResponseAsync( - String resourceGroupName, String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - if (bslTokenRequest == null) { - return Mono - .error(new IllegalArgumentException("Parameter bslTokenRequest is required and cannot be null.")); - } else { - bslTokenRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - context = this.client.mergeContext(context); - return service.deleteBastionShareableLinkByToken(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, bslTokenRequest, context); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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) - public PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest) { - Mono>> mono - = deleteBastionShareableLinkByTokenWithResponseAsync(resourceGroupName, bastionHostName, bslTokenRequest); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteBastionShareableLinkByTokenWithResponseAsync(resourceGroupName, - bastionHostName, bslTokenRequest, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, - String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest) { - return this.beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest) - .getSyncPoller(); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, - String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { - return this - .beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest, context) - .getSyncPoller(); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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) - public Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkTokenListRequest bslTokenRequest) { - return beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostName, - BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { - return beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest, context) - .last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, - BastionShareableLinkTokenListRequest bslTokenRequest) { - deleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest).block(); - } - - /** - * Deletes the Bastion Shareable Links for all the tokens specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. - * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, - BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { - deleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest, context).block(); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getBastionShareableLinkSinglePageAsync( - String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getBastionShareableLink(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, bastionHostName, accept, bslRequest, 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())); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getBastionShareableLinkSinglePageAsync( - String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - if (bslRequest == null) { - return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); - } else { - bslRequest.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .getBastionShareableLink(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, bastionHostName, accept, bslRequest, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getBastionShareableLinkAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest) { - return new PagedFlux<>( - () -> getBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest), - nextLink -> getBastionShareableLinkNextSinglePageAsync(nextLink)); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getBastionShareableLinkAsync(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { - return new PagedFlux<>( - () -> getBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest, context), - nextLink -> getBastionShareableLinkNextSinglePageAsync(nextLink, context)); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getBastionShareableLink(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest) { - return new PagedIterable<>(getBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest)); - } - - /** - * Return the Bastion Shareable Links for all the VMs specified in the request. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. - * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getBastionShareableLink(String resourceGroupName, - String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { - return new PagedIterable<>( - getBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @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 PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getActiveSessionsSinglePageAsync(String resourceGroupName, - String bastionHostName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> { - Mono>> mono - = service - .getActiveSessions(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, bastionHostName, accept, context) - .cache(); - return Mono.zip(mono, - this.client - .getLroResult(mono, - this.client.getHttpPipeline(), BastionActiveSessionListResult.class, - BastionActiveSessionListResult.class, this.client.getContext()) - .last() - .flatMap(this.client::getLroFinalResultOrError)); - }) - .>map( - res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @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 PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getActiveSessionsSinglePageAsync(String resourceGroupName, - String bastionHostName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - Mono>> mono - = service - .getActiveSessions(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, bastionHostName, accept, context) - .cache(); - return Mono - .zip(mono, - this.client - .getLroResult(mono, - this.client.getHttpPipeline(), BastionActiveSessionListResult.class, - BastionActiveSessionListResult.class, context) - .last() - .flatMap(this.client::getLroFinalResultOrError)) - .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), - res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @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 paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux getActiveSessionsAsync(String resourceGroupName, - String bastionHostName) { - return new PagedFlux<>(() -> getActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName), - nextLink -> getActiveSessionsNextSinglePageAsync(nextLink)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @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 paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux getActiveSessionsAsync(String resourceGroupName, - String bastionHostName, Context context) { - return new PagedFlux<>(() -> getActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName, context), - nextLink -> getActiveSessionsNextSinglePageAsync(nextLink, context)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @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 paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getActiveSessions(String resourceGroupName, - String bastionHostName) { - return new PagedIterable<>(getActiveSessionsAsync(resourceGroupName, bastionHostName)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @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 paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable getActiveSessions(String resourceGroupName, String bastionHostName, - Context context) { - return new PagedIterable<>(getActiveSessionsAsync(resourceGroupName, bastionHostName, context)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> disconnectActiveSessionsSinglePageAsync( - String resourceGroupName, String bastionHostName, SessionIds sessionIds) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - if (sessionIds == null) { - return Mono.error(new IllegalArgumentException("Parameter sessionIds is required and cannot be null.")); - } else { - sessionIds.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.disconnectActiveSessions(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, bastionHostName, accept, sessionIds, 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())); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> disconnectActiveSessionsSinglePageAsync( - String resourceGroupName, String bastionHostName, SessionIds sessionIds, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (bastionHostName == null) { - return Mono - .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); - } - if (sessionIds == null) { - return Mono.error(new IllegalArgumentException("Parameter sessionIds is required and cannot be null.")); - } else { - sessionIds.validate(); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .disconnectActiveSessions(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, bastionHostName, accept, sessionIds, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, - String bastionHostName, SessionIds sessionIds) { - return new PagedFlux<>( - () -> disconnectActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName, sessionIds), - nextLink -> disconnectActiveSessionsNextSinglePageAsync(nextLink)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, - String bastionHostName, SessionIds sessionIds, Context context) { - return new PagedFlux<>( - () -> disconnectActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName, sessionIds, context), - nextLink -> disconnectActiveSessionsNextSinglePageAsync(nextLink, context)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable disconnectActiveSessions(String resourceGroupName, - String bastionHostName, SessionIds sessionIds) { - return new PagedIterable<>(disconnectActiveSessionsAsync(resourceGroupName, bastionHostName, sessionIds)); - } - - /** - * Returns the list of currently active sessions on the Bastion. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param bastionHostName The name of the Bastion Host. - * @param sessionIds The list of sessionids to disconnect. - * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable disconnectActiveSessions(String resourceGroupName, - String bastionHostName, SessionIds sessionIds, Context context) { - return new PagedIterable<>( - disconnectActiveSessionsAsync(resourceGroupName, bastionHostName, sessionIds, 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 BastionHost list operation along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - 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. - * @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 BastionHost list operation along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return 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)); - } - - /** - * 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 BastionHost list operation along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(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. - * @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 BastionHost list operation along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; + final String accept = "application/json"; context = this.client.mergeContext(context); return service.listNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> 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 body along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> putBastionShareableLinkNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.putBastionShareableLinkNext(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. - * @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 PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> putBastionShareableLinkNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.putBastionShareableLinkNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> 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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getBastionShareableLinkNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.getBastionShareableLinkNext(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. - * @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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getBastionShareableLinkNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getBastionShareableLinkNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> 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 body along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getActiveSessionsNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getActiveSessionsNext(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. - * @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 PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getActiveSessionsNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getActiveSessionsNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> 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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> disconnectActiveSessionsNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.disconnectActiveSessionsNext(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. - * @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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> disconnectActiveSessionsNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.disconnectActiveSessionsNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java deleted file mode 100644 index 03332ecf1804..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java +++ /dev/null @@ -1,196 +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.network.implementation; - -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.PathParam; -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.Response; -import com.azure.core.http.rest.RestProxy; -import com.azure.core.management.exception.ManagementException; -import com.azure.core.util.Context; -import com.azure.core.util.FluxUtil; -import com.azure.resourcemanager.network.fluent.CheckDnsNameAvailabilitiesClient; -import com.azure.resourcemanager.network.fluent.models.DnsNameAvailabilityResultInner; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in CheckDnsNameAvailabilitiesClient. - */ -public final class CheckDnsNameAvailabilitiesClientImpl implements CheckDnsNameAvailabilitiesClient { - /** - * The proxy service used to perform REST calls. - */ - private final CheckDnsNameAvailabilitiesService service; - - /** - * The service client containing this operation class. - */ - private final NetworkManagementClientImpl client; - - /** - * Initializes an instance of CheckDnsNameAvailabilitiesClientImpl. - * - * @param client the instance of the service client containing this operation class. - */ - CheckDnsNameAvailabilitiesClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(CheckDnsNameAvailabilitiesService.class, client.getHttpPipeline(), - client.getSerializerAdapter()); - this.client = client; - } - - /** - * The interface defining all the services for NetworkManagementClientCheckDnsNameAvailabilities to be used by the - * proxy service to perform REST calls. - */ - @Host("{endpoint}") - @ServiceInterface(name = "NetworkManagementClientCheckDnsNameAvailabilities") - public interface CheckDnsNameAvailabilitiesService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkDnsNameAvailability") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> checkDnsNameAvailability(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("location") String location, @QueryParam("domainNameLabel") String domainNameLabel, - @HeaderParam("Accept") String accept, Context context); - } - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> checkDnsNameAvailabilityWithResponseAsync(String location, - String domainNameLabel) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } - if (domainNameLabel == null) { - return Mono - .error(new IllegalArgumentException("Parameter domainNameLabel is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.checkDnsNameAvailability(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), location, domainNameLabel, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> checkDnsNameAvailabilityWithResponseAsync(String location, - String domainNameLabel, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } - if (domainNameLabel == null) { - return Mono - .error(new IllegalArgumentException("Parameter domainNameLabel is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.checkDnsNameAvailability(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - location, domainNameLabel, accept, context); - } - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono checkDnsNameAvailabilityAsync(String location, String domainNameLabel) { - return checkDnsNameAvailabilityWithResponseAsync(location, domainNameLabel) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response checkDnsNameAvailabilityWithResponse(String location, - String domainNameLabel, Context context) { - return checkDnsNameAvailabilityWithResponseAsync(location, domainNameLabel, context).block(); - } - - /** - * Checks whether a domain name in the cloudapp.azure.com zone is available for use. - * - * @param location The location name. - * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: - * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - * @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 response for the CheckDnsNameAvailability API service call. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public DnsNameAvailabilityResultInner checkDnsNameAvailability(String location, String domainNameLabel) { - return checkDnsNameAvailabilityWithResponse(location, domainNameLabel, Context.NONE).getValue(); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java deleted file mode 100644 index 0aa3e15e7732..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java +++ /dev/null @@ -1,406 +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.network.implementation; - -import com.azure.core.annotation.BodyParam; -import com.azure.core.annotation.ExpectedResponses; -import com.azure.core.annotation.HeaderParam; -import com.azure.core.annotation.Host; -import com.azure.core.annotation.HostParam; -import com.azure.core.annotation.PathParam; -import com.azure.core.annotation.Post; -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.Response; -import com.azure.core.http.rest.RestProxy; -import com.azure.core.management.exception.ManagementException; -import com.azure.core.util.Context; -import com.azure.core.util.FluxUtil; -import com.azure.resourcemanager.network.fluent.EffectiveConfigurationsClient; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveConnectivityConfigurationListResultInner; -import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveSecurityAdminRulesListResultInner; -import com.azure.resourcemanager.network.models.QueryRequestOptions; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in EffectiveConfigurationsClient. - */ -public final class EffectiveConfigurationsClientImpl implements EffectiveConfigurationsClient { - /** - * The proxy service used to perform REST calls. - */ - private final EffectiveConfigurationsService service; - - /** - * The service client containing this operation class. - */ - private final NetworkManagementClientImpl client; - - /** - * Initializes an instance of EffectiveConfigurationsClientImpl. - * - * @param client the instance of the service client containing this operation class. - */ - EffectiveConfigurationsClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(EffectiveConfigurationsService.class, client.getHttpPipeline(), - client.getSerializerAdapter()); - this.client = client; - } - - /** - * The interface defining all the services for NetworkManagementClientEffectiveConfigurations to be used by the - * proxy service to perform REST calls. - */ - @Host("{endpoint}") - @ServiceInterface(name = "NetworkManagementClientEffectiveConfigurations") - public interface EffectiveConfigurationsService { - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> - listNetworkManagerEffectiveConnectivityConfigurations(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("$top") Integer top, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") QueryRequestOptions parameters, Context context); - - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> - listNetworkManagerEffectiveSecurityAdminRules(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("$top") Integer top, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") QueryRequestOptions parameters, Context context); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listNetworkManagerEffectiveConnectivityConfigurations( - this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - virtualNetworkName, top, contentType, accept, parameters, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.listNetworkManagerEffectiveConnectivityConfigurations(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, contentType, accept, - parameters, context); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration on successful completion - * of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono - listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters) { - final Integer top = null; - return listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, - virtualNetworkName, parameters, top).flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with - * {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response - listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { - return listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, - virtualNetworkName, parameters, top, context).block(); - } - - /** - * List all effective connectivity configurations applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkManagerEffectiveConnectivityConfigurationListResultInner - listNetworkManagerEffectiveConnectivityConfigurations(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters) { - final Integer top = null; - return listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(resourceGroupName, virtualNetworkName, - parameters, top, Context.NONE).getValue(); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listNetworkManagerEffectiveSecurityAdminRules(this.client.getEndpoint(), - apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, contentType, - accept, parameters, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, - String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualNetworkName == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.listNetworkManagerEffectiveSecurityAdminRules(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, contentType, accept, - parameters, context); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono - listNetworkManagerEffectiveSecurityAdminRulesAsync(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters) { - final Integer top = null; - return listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(resourceGroupName, virtualNetworkName, - parameters, top).flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response - listNetworkManagerEffectiveSecurityAdminRulesWithResponse(String resourceGroupName, String virtualNetworkName, - QueryRequestOptions parameters, Integer top, Context context) { - return listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(resourceGroupName, virtualNetworkName, - parameters, top, context).block(); - } - - /** - * List all effective security admin rules applied on a virtual network. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualNetworkName The name of the virtual network. - * @param parameters Parameters supplied to list correct page. - * @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 result of the request to list networkManagerEffectiveSecurityAdminRules. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public NetworkManagerEffectiveSecurityAdminRulesListResultInner listNetworkManagerEffectiveSecurityAdminRules( - String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters) { - final Integer top = null; - return listNetworkManagerEffectiveSecurityAdminRulesWithResponse(resourceGroupName, virtualNetworkName, - parameters, top, Context.NONE).getValue(); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java deleted file mode 100644 index 1a83be8aa74a..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java +++ /dev/null @@ -1,174 +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.network.implementation; - -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.PathParam; -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.Response; -import com.azure.core.http.rest.RestProxy; -import com.azure.core.management.exception.ManagementException; -import com.azure.core.util.Context; -import com.azure.core.util.FluxUtil; -import com.azure.resourcemanager.network.fluent.ExpressRouteProviderPortsClient; -import com.azure.resourcemanager.network.fluent.models.ExpressRouteProviderPortInner; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in ExpressRouteProviderPortsClient. - */ -public final class ExpressRouteProviderPortsClientImpl implements ExpressRouteProviderPortsClient { - /** - * The proxy service used to perform REST calls. - */ - private final ExpressRouteProviderPortsService service; - - /** - * The service client containing this operation class. - */ - private final NetworkManagementClientImpl client; - - /** - * Initializes an instance of ExpressRouteProviderPortsClientImpl. - * - * @param client the instance of the service client containing this operation class. - */ - ExpressRouteProviderPortsClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(ExpressRouteProviderPortsService.class, client.getHttpPipeline(), - client.getSerializerAdapter()); - this.client = client; - } - - /** - * The interface defining all the services for NetworkManagementClientExpressRouteProviderPorts to be used by the - * proxy service to perform REST calls. - */ - @Host("{endpoint}") - @ServiceInterface(name = "NetworkManagementClientExpressRouteProviderPorts") - public interface ExpressRouteProviderPortsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> expressRouteProviderPort(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("providerport") String providerport, @HeaderParam("Accept") String accept, Context context); - } - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - expressRouteProviderPortWithResponseAsync(String providerport) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (providerport == null) { - return Mono.error(new IllegalArgumentException("Parameter providerport is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.expressRouteProviderPort(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), providerport, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> expressRouteProviderPortWithResponseAsync(String providerport, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (providerport == null) { - return Mono.error(new IllegalArgumentException("Parameter providerport is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.expressRouteProviderPort(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - providerport, accept, context); - } - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono expressRouteProviderPortAsync(String providerport) { - return expressRouteProviderPortWithResponseAsync(providerport).flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response expressRouteProviderPortWithResponse(String providerport, - Context context) { - return expressRouteProviderPortWithResponseAsync(providerport, context).block(); - } - - /** - * Retrieves detail of a provider port. - * - * @param providerport The name of the provider port. - * @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 expressRouteProviderPort resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ExpressRouteProviderPortInner expressRouteProviderPort(String providerport) { - return expressRouteProviderPortWithResponse(providerport, Context.NONE).getValue(); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java index 879b0a8eee46..c55dfbae879b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java @@ -4,9 +4,35 @@ package com.azure.resourcemanager.network.implementation; +import com.azure.core.annotation.BodyParam; +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.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; import com.azure.core.http.HttpPipeline; +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.AzureEnvironment; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.management.polling.PollResult; +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.core.util.serializer.SerializerAdapter; import com.azure.resourcemanager.network.fluent.AdminRuleCollectionsClient; import com.azure.resourcemanager.network.fluent.AdminRulesClient; @@ -25,7 +51,6 @@ import com.azure.resourcemanager.network.fluent.AzureFirewallsClient; import com.azure.resourcemanager.network.fluent.BastionHostsClient; import com.azure.resourcemanager.network.fluent.BgpServiceCommunitiesClient; -import com.azure.resourcemanager.network.fluent.CheckDnsNameAvailabilitiesClient; import com.azure.resourcemanager.network.fluent.ConfigurationPolicyGroupsClient; import com.azure.resourcemanager.network.fluent.ConnectionMonitorsClient; import com.azure.resourcemanager.network.fluent.ConnectivityConfigurationsClient; @@ -34,7 +59,6 @@ import com.azure.resourcemanager.network.fluent.DdosProtectionPlansClient; import com.azure.resourcemanager.network.fluent.DefaultSecurityRulesClient; import com.azure.resourcemanager.network.fluent.DscpConfigurationsClient; -import com.azure.resourcemanager.network.fluent.EffectiveConfigurationsClient; import com.azure.resourcemanager.network.fluent.ExpressRouteCircuitAuthorizationsClient; import com.azure.resourcemanager.network.fluent.ExpressRouteCircuitConnectionsClient; import com.azure.resourcemanager.network.fluent.ExpressRouteCircuitPeeringsClient; @@ -47,7 +71,6 @@ import com.azure.resourcemanager.network.fluent.ExpressRoutePortAuthorizationsClient; import com.azure.resourcemanager.network.fluent.ExpressRoutePortsClient; import com.azure.resourcemanager.network.fluent.ExpressRoutePortsLocationsClient; -import com.azure.resourcemanager.network.fluent.ExpressRouteProviderPortsClient; import com.azure.resourcemanager.network.fluent.ExpressRouteProviderPortsLocationsClient; import com.azure.resourcemanager.network.fluent.ExpressRouteServiceProvidersClient; import com.azure.resourcemanager.network.fluent.FirewallPoliciesClient; @@ -171,14 +194,42 @@ import com.azure.resourcemanager.network.fluent.VpnSitesConfigurationsClient; import com.azure.resourcemanager.network.fluent.WebApplicationFirewallPoliciesClient; import com.azure.resourcemanager.network.fluent.WebCategoriesClient; +import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationsListResultInner; +import com.azure.resourcemanager.network.fluent.models.ActiveSecurityAdminRulesListResultInner; +import com.azure.resourcemanager.network.fluent.models.BastionActiveSessionInner; +import com.azure.resourcemanager.network.fluent.models.BastionSessionStateInner; +import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; +import com.azure.resourcemanager.network.fluent.models.DnsNameAvailabilityResultInner; +import com.azure.resourcemanager.network.fluent.models.ExpressRouteProviderPortInner; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveConnectivityConfigurationListResultInner; +import com.azure.resourcemanager.network.fluent.models.NetworkManagerEffectiveSecurityAdminRulesListResultInner; +import com.azure.resourcemanager.network.fluent.models.VirtualWanSecurityProvidersInner; +import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; +import com.azure.resourcemanager.network.implementation.models.BastionActiveSessionListResult; +import com.azure.resourcemanager.network.implementation.models.BastionSessionDeleteResult; +import com.azure.resourcemanager.network.implementation.models.BastionShareableLinkListResult; +import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; +import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; +import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; +import com.azure.resourcemanager.network.models.QueryRequestOptions; +import com.azure.resourcemanager.network.models.SessionIds; +import com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters; import com.azure.resourcemanager.resources.fluentcore.AzureServiceClient; +import java.nio.ByteBuffer; import java.time.Duration; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; /** * Initializes a new instance of the NetworkManagementClientImpl type. */ @ServiceClient(builder = NetworkManagementClientBuilder.class) public final class NetworkManagementClientImpl extends AzureServiceClient implements NetworkManagementClient { + /** + * The proxy service used to perform REST calls. + */ + private final NetworkManagementClientService service; + /** * Service host. */ @@ -333,20 +384,6 @@ public BastionHostsClient getBastionHosts() { return this.bastionHosts; } - /** - * The ExpressRouteProviderPortsClient object to access its operations. - */ - private final ExpressRouteProviderPortsClient expressRouteProviderPorts; - - /** - * Gets the ExpressRouteProviderPortsClient object to access its operations. - * - * @return the ExpressRouteProviderPortsClient object. - */ - public ExpressRouteProviderPortsClient getExpressRouteProviderPorts() { - return this.expressRouteProviderPorts; - } - /** * The NetworkInterfacesClient object to access its operations. */ @@ -1257,20 +1294,6 @@ public VirtualNetworksClient getVirtualNetworks() { return this.virtualNetworks; } - /** - * The EffectiveConfigurationsClient object to access its operations. - */ - private final EffectiveConfigurationsClient effectiveConfigurations; - - /** - * Gets the EffectiveConfigurationsClient object to access its operations. - * - * @return the EffectiveConfigurationsClient object. - */ - public EffectiveConfigurationsClient getEffectiveConfigurations() { - return this.effectiveConfigurations; - } - /** * The SubnetsClient object to access its operations. */ @@ -1565,20 +1588,6 @@ public WebApplicationFirewallPoliciesClient getWebApplicationFirewallPolicies() return this.webApplicationFirewallPolicies; } - /** - * The CheckDnsNameAvailabilitiesClient object to access its operations. - */ - private final CheckDnsNameAvailabilitiesClient checkDnsNameAvailabilities; - - /** - * Gets the CheckDnsNameAvailabilitiesClient object to access its operations. - * - * @return the CheckDnsNameAvailabilitiesClient object. - */ - public CheckDnsNameAvailabilitiesClient getCheckDnsNameAvailabilities() { - return this.checkDnsNameAvailabilities; - } - /** * The VirtualNetworkAppliancesClient object to access its operations. */ @@ -2543,7 +2552,6 @@ public UsagesClient getUsages() { this.applicationSecurityGroups = new ApplicationSecurityGroupsClientImpl(this); this.azureFirewalls = new AzureFirewallsClientImpl(this); this.bastionHosts = new BastionHostsClientImpl(this); - this.expressRouteProviderPorts = new ExpressRouteProviderPortsClientImpl(this); this.networkInterfaces = new NetworkInterfacesClientImpl(this); this.publicIpAddresses = new PublicIpAddressesClientImpl(this); this.customIpPrefixes = new CustomIpPrefixesClientImpl(this); @@ -2609,7 +2617,6 @@ public UsagesClient getUsages() { this.serviceEndpointPolicies = new ServiceEndpointPoliciesClientImpl(this); this.serviceEndpointPolicyDefinitions = new ServiceEndpointPolicyDefinitionsClientImpl(this); this.virtualNetworks = new VirtualNetworksClientImpl(this); - this.effectiveConfigurations = new EffectiveConfigurationsClientImpl(this); this.subnets = new SubnetsClientImpl(this); this.virtualNetworkPeerings = new VirtualNetworkPeeringsClientImpl(this); this.virtualNetworkGateways = new VirtualNetworkGatewaysClientImpl(this); @@ -2631,7 +2638,6 @@ public UsagesClient getUsages() { this.expressRouteGateways = new ExpressRouteGatewaysClientImpl(this); this.hubRouteTables = new HubRouteTablesClientImpl(this); this.webApplicationFirewallPolicies = new WebApplicationFirewallPoliciesClientImpl(this); - this.checkDnsNameAvailabilities = new CheckDnsNameAvailabilitiesClientImpl(this); this.virtualNetworkAppliances = new VirtualNetworkAppliancesClientImpl(this); this.serviceGateways = new ServiceGatewaysClientImpl(this); this.publicIPAddressesOperations = new PublicIPAddressesOperationsClientImpl(this); @@ -2703,5 +2709,2808 @@ public UsagesClient getUsages() { this.serviceTags = new ServiceTagsClientImpl(this); this.serviceTagInformations = new ServiceTagInformationsClientImpl(this); this.usages = new UsagesClientImpl(this); + this.service + = RestProxy.create(NetworkManagementClientService.class, this.httpPipeline, this.getSerializerAdapter()); + } + + /** + * The interface defining all the services for NetworkManagementClient to be used by the proxy service to perform + * REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "NetworkManagementClient") + public interface NetworkManagementClientService { + @Headers({ "Content-Type: application/json" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> putBastionShareableLink(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, Context context); + + @Headers({ "Accept: application/json;q=0.9" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> deleteBastionShareableLink(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, Context context); + + @Headers({ "Accept: application/json;q=0.9" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinksByToken") + @ExpectedResponses({ 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> deleteBastionShareableLinkByToken(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") BastionShareableLinkTokenListRequest bslTokenRequest, Context context); + + @Headers({ "Content-Type: application/json" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getBastionShareableLink(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BastionShareableLinkListRequest bslRequest, Context context); + + @Headers({ "Content-Type: application/json" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> getActiveSessions(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> disconnectActiveSessions(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("bastionHostName") String bastionHostName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") SessionIds sessionIds, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> expressRouteProviderPort(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("providerport") String providerport, @HeaderParam("Accept") String accept, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listActiveConnectivityConfigurations( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ActiveConfigurationParameter parameters, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listActiveSecurityAdminRules( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ActiveConfigurationParameter parameters, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> + listNetworkManagerEffectiveConnectivityConfigurations(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("$top") Integer top, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") QueryRequestOptions parameters, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> + listNetworkManagerEffectiveSecurityAdminRules(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualNetworkName") String virtualNetworkName, @QueryParam("$top") Integer top, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") QueryRequestOptions parameters, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> supportedSecurityProviders( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualWANName") String virtualWANName, @HeaderParam("Accept") String accept, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/generateVpnProfile") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> generatevirtualwanvpnserverconfigurationvpnprofile( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualWANName") String virtualWANName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualWanVpnProfileParameters vpnClientParams, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkDnsNameAvailability") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> checkDnsNameAvailability(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, @QueryParam("domainNameLabel") String domainNameLabel, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> putBastionShareableLinkNext( + @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> getBastionShareableLinkNext( + @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, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getActiveSessionsNext( + @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> disconnectActiveSessionsNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> putBastionShareableLinkSinglePageAsync( + String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); + } else { + bslRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> { + Mono>> mono = service + .putBastionShareableLink(this.getEndpoint(), apiVersion, this.getSubscriptionId(), resourceGroupName, + bastionHostName, accept, bslRequest, context) + .cache(); + return Mono.zip(mono, + this.getLroResult(mono, + this.getHttpPipeline(), BastionShareableLinkListResult.class, BastionShareableLinkListResult.class, + this.getContext()).last().flatMap(this::getLroFinalResultOrError)); + }) + .>map( + res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> putBastionShareableLinkSinglePageAsync( + String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); + } else { + bslRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.mergeContext(context); + Mono>> mono = service + .putBastionShareableLink(this.getEndpoint(), apiVersion, this.getSubscriptionId(), resourceGroupName, + bastionHostName, accept, bslRequest, context) + .cache(); + return Mono + .zip(mono, + this.getLroResult( + mono, this.getHttpPipeline(), BastionShareableLinkListResult.class, + BastionShareableLinkListResult.class, context).last().flatMap(this::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux putBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return new PagedFlux<>( + () -> putBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest), + nextLink -> putBastionShareableLinkNextSinglePageAsync(nextLink)); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux putBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return new PagedFlux<>( + () -> putBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest, context), + nextLink -> putBastionShareableLinkNextSinglePageAsync(nextLink, context)); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable putBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return new PagedIterable<>(putBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest)); + } + + /** + * Creates a Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable putBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return new PagedIterable<>( + putBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context)); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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) + public Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); + } else { + bslRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + return FluxUtil + .withContext(context -> service.deleteBastionShareableLink(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, bslRequest, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteBastionShareableLinkWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); + } else { + bslRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + context = this.mergeContext(context); + return service.deleteBastionShareableLink(this.getEndpoint(), apiVersion, this.getSubscriptionId(), + resourceGroupName, bastionHostName, contentType, bslRequest, context); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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) + public PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + Mono>> mono + = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostName, bslRequest); + return this.getLroResult(mono, this.getHttpPipeline(), Void.class, Void.class, this.getContext()); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + context = this.mergeContext(context); + Mono>> mono + = deleteBastionShareableLinkWithResponseAsync(resourceGroupName, bastionHostName, bslRequest, context); + return this.getLroResult(mono, this.getHttpPipeline(), Void.class, Void.class, context); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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> beginDeleteBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return this.beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest) + .getSyncPoller(); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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> beginDeleteBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return this.beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context) + .getSyncPoller(); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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) + public Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest) { + return beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest).last() + .flatMap(this::getLroFinalResultOrError); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteBastionShareableLinkAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context) { + return beginDeleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context).last() + .flatMap(this::getLroFinalResultOrError); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 deleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest) { + deleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest).block(); + } + + /** + * Deletes the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 deleteBastionShareableLink(String resourceGroupName, String bastionHostName, + BastionShareableLinkListRequest bslRequest, Context context) { + deleteBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context).block(); + } + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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) + public Mono>> deleteBastionShareableLinkByTokenWithResponseAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslTokenRequest == null) { + return Mono + .error(new IllegalArgumentException("Parameter bslTokenRequest is required and cannot be null.")); + } else { + bslTokenRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + return FluxUtil + .withContext(context -> service.deleteBastionShareableLinkByToken(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), resourceGroupName, bastionHostName, contentType, bslTokenRequest, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteBastionShareableLinkByTokenWithResponseAsync( + String resourceGroupName, String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, + Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslTokenRequest == null) { + return Mono + .error(new IllegalArgumentException("Parameter bslTokenRequest is required and cannot be null.")); + } else { + bslTokenRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + context = this.mergeContext(context); + return service.deleteBastionShareableLinkByToken(this.getEndpoint(), apiVersion, this.getSubscriptionId(), + resourceGroupName, bastionHostName, contentType, bslTokenRequest, context); + } + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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) + public PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest) { + Mono>> mono + = deleteBastionShareableLinkByTokenWithResponseAsync(resourceGroupName, bastionHostName, bslTokenRequest); + return this.getLroResult(mono, this.getHttpPipeline(), Void.class, Void.class, this.getContext()); + } + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteBastionShareableLinkByTokenAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { + context = this.mergeContext(context); + Mono>> mono = deleteBastionShareableLinkByTokenWithResponseAsync(resourceGroupName, + bastionHostName, bslTokenRequest, context); + return this.getLroResult(mono, this.getHttpPipeline(), Void.class, Void.class, context); + } + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest) { + return this.beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest) + .getSyncPoller(); + } + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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> beginDeleteBastionShareableLinkByToken(String resourceGroupName, + String bastionHostName, BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { + return this + .beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest, context) + .getSyncPoller(); + } + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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) + public Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest) { + return beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest).last() + .flatMap(this::getLroFinalResultOrError); + } + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteBastionShareableLinkByTokenAsync(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { + return beginDeleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest, context) + .last() + .flatMap(this::getLroFinalResultOrError); + } + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest) { + deleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest).block(); + } + + /** + * Deletes the Bastion Shareable Links for all the tokens specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslTokenRequest Post request for Delete Bastion Shareable Link By Token endpoint. + * @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 deleteBastionShareableLinkByToken(String resourceGroupName, String bastionHostName, + BastionShareableLinkTokenListRequest bslTokenRequest, Context context) { + deleteBastionShareableLinkByTokenAsync(resourceGroupName, bastionHostName, bslTokenRequest, context).block(); + } + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getBastionShareableLinkSinglePageAsync( + String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); + } else { + bslRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getBastionShareableLink(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), resourceGroupName, bastionHostName, accept, bslRequest, 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.getContext()).readOnly())); + } + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getBastionShareableLinkSinglePageAsync( + String resourceGroupName, String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (bslRequest == null) { + return Mono.error(new IllegalArgumentException("Parameter bslRequest is required and cannot be null.")); + } else { + bslRequest.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.mergeContext(context); + return service + .getBastionShareableLink(this.getEndpoint(), apiVersion, this.getSubscriptionId(), resourceGroupName, + bastionHostName, accept, bslRequest, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return new PagedFlux<>( + () -> getBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest), + nextLink -> getBastionShareableLinkNextSinglePageAsync(nextLink)); + } + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getBastionShareableLinkAsync(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return new PagedFlux<>( + () -> getBastionShareableLinkSinglePageAsync(resourceGroupName, bastionHostName, bslRequest, context), + nextLink -> getBastionShareableLinkNextSinglePageAsync(nextLink, context)); + } + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest) { + return new PagedIterable<>(getBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest)); + } + + /** + * Return the Bastion Shareable Links for all the VMs specified in the request. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param bslRequest Post request for Create/Delete/Get Bastion Shareable Link endpoints. + * @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 response for all the Bastion Shareable Link endpoints as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getBastionShareableLink(String resourceGroupName, + String bastionHostName, BastionShareableLinkListRequest bslRequest, Context context) { + return new PagedIterable<>( + getBastionShareableLinkAsync(resourceGroupName, bastionHostName, bslRequest, context)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getActiveSessionsSinglePageAsync(String resourceGroupName, + String bastionHostName) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> { + Mono>> mono + = service + .getActiveSessions(this.getEndpoint(), apiVersion, this.getSubscriptionId(), resourceGroupName, + bastionHostName, accept, context) + .cache(); + return Mono.zip(mono, + this.getLroResult(mono, + this.getHttpPipeline(), BastionActiveSessionListResult.class, BastionActiveSessionListResult.class, + this.getContext()).last().flatMap(this::getLroFinalResultOrError)); + }) + .>map( + res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getActiveSessionsSinglePageAsync(String resourceGroupName, + String bastionHostName, Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.mergeContext(context); + Mono>> mono + = service + .getActiveSessions(this.getEndpoint(), apiVersion, this.getSubscriptionId(), resourceGroupName, + bastionHostName, accept, context) + .cache(); + return Mono + .zip(mono, + this.getLroResult( + mono, this.getHttpPipeline(), BastionActiveSessionListResult.class, + BastionActiveSessionListResult.class, context).last().flatMap(this::getLroFinalResultOrError)) + .map(res -> new PagedResponseBase<>(res.getT1().getRequest(), res.getT1().getStatusCode(), + res.getT1().getHeaders(), res.getT2().value(), res.getT2().nextLink(), null)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux getActiveSessionsAsync(String resourceGroupName, + String bastionHostName) { + return new PagedFlux<>(() -> getActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName), + nextLink -> getActiveSessionsNextSinglePageAsync(nextLink)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux getActiveSessionsAsync(String resourceGroupName, + String bastionHostName, Context context) { + return new PagedFlux<>(() -> getActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName, context), + nextLink -> getActiveSessionsNextSinglePageAsync(nextLink, context)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getActiveSessions(String resourceGroupName, + String bastionHostName) { + return new PagedIterable<>(getActiveSessionsAsync(resourceGroupName, bastionHostName)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @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 paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable getActiveSessions(String resourceGroupName, String bastionHostName, + Context context) { + return new PagedIterable<>(getActiveSessionsAsync(resourceGroupName, bastionHostName, context)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> disconnectActiveSessionsSinglePageAsync( + String resourceGroupName, String bastionHostName, SessionIds sessionIds) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (sessionIds == null) { + return Mono.error(new IllegalArgumentException("Parameter sessionIds is required and cannot be null.")); + } else { + sessionIds.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.disconnectActiveSessions(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), resourceGroupName, bastionHostName, accept, sessionIds, 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.getContext()).readOnly())); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> disconnectActiveSessionsSinglePageAsync( + String resourceGroupName, String bastionHostName, SessionIds sessionIds, Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (bastionHostName == null) { + return Mono + .error(new IllegalArgumentException("Parameter bastionHostName is required and cannot be null.")); + } + if (sessionIds == null) { + return Mono.error(new IllegalArgumentException("Parameter sessionIds is required and cannot be null.")); + } else { + sessionIds.validate(); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.mergeContext(context); + return service + .disconnectActiveSessions(this.getEndpoint(), apiVersion, this.getSubscriptionId(), resourceGroupName, + bastionHostName, accept, sessionIds, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, + String bastionHostName, SessionIds sessionIds) { + return new PagedFlux<>( + () -> disconnectActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName, sessionIds), + nextLink -> disconnectActiveSessionsNextSinglePageAsync(nextLink)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux disconnectActiveSessionsAsync(String resourceGroupName, + String bastionHostName, SessionIds sessionIds, Context context) { + return new PagedFlux<>( + () -> disconnectActiveSessionsSinglePageAsync(resourceGroupName, bastionHostName, sessionIds, context), + nextLink -> disconnectActiveSessionsNextSinglePageAsync(nextLink, context)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable disconnectActiveSessions(String resourceGroupName, + String bastionHostName, SessionIds sessionIds) { + return new PagedIterable<>(disconnectActiveSessionsAsync(resourceGroupName, bastionHostName, sessionIds)); + } + + /** + * Returns the list of currently active sessions on the Bastion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param bastionHostName The name of the Bastion Host. + * @param sessionIds The list of sessionids to disconnect. + * @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 response for DisconnectActiveSessions as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable disconnectActiveSessions(String resourceGroupName, + String bastionHostName, SessionIds sessionIds, Context context) { + return new PagedIterable<>( + disconnectActiveSessionsAsync(resourceGroupName, bastionHostName, sessionIds, context)); + } + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> + expressRouteProviderPortWithResponseAsync(String providerport) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (providerport == null) { + return Mono.error(new IllegalArgumentException("Parameter providerport is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.expressRouteProviderPort(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), providerport, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> expressRouteProviderPortWithResponseAsync(String providerport, + Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (providerport == null) { + return Mono.error(new IllegalArgumentException("Parameter providerport is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.mergeContext(context); + return service.expressRouteProviderPort(this.getEndpoint(), apiVersion, this.getSubscriptionId(), providerport, + accept, context); + } + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono expressRouteProviderPortAsync(String providerport) { + return expressRouteProviderPortWithResponseAsync(providerport).flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response expressRouteProviderPortWithResponse(String providerport, + Context context) { + return expressRouteProviderPortWithResponseAsync(providerport, context).block(); + } + + /** + * Retrieves detail of a provider port. + * + * @param providerport The name of the provider port. + * @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 expressRouteProviderPort resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ExpressRouteProviderPortInner expressRouteProviderPort(String providerport) { + return expressRouteProviderPortWithResponse(providerport, Context.NONE).getValue(); + } + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active connectivity configurations along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> + listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, + ActiveConfigurationParameter parameters, Integer top) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listActiveConnectivityConfigurations(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), resourceGroupName, networkManagerName, top, contentType, accept, parameters, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active connectivity configurations along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, + ActiveConfigurationParameter parameters, Integer top, Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.mergeContext(context); + return service.listActiveConnectivityConfigurations(this.getEndpoint(), apiVersion, this.getSubscriptionId(), + resourceGroupName, networkManagerName, top, contentType, accept, parameters, context); + } + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active connectivity configurations on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listActiveConnectivityConfigurationsAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { + final Integer top = null; + return listActiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, networkManagerName, parameters, + top).flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active connectivity configurations along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listActiveConnectivityConfigurationsWithResponse( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, + Context context) { + return listActiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, networkManagerName, parameters, + top, context).block(); + } + + /** + * Lists active connectivity configurations in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active connectivity configurations. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ActiveConnectivityConfigurationsListResultInner listActiveConnectivityConfigurations( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { + final Integer top = null; + return listActiveConnectivityConfigurationsWithResponse(resourceGroupName, networkManagerName, parameters, top, + Context.NONE).getValue(); + } + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active security admin rules along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> listActiveSecurityAdminRulesWithResponseAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listActiveSecurityAdminRules(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), resourceGroupName, networkManagerName, top, contentType, accept, parameters, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active security admin rules along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listActiveSecurityAdminRulesWithResponseAsync( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, + Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (networkManagerName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.mergeContext(context); + return service.listActiveSecurityAdminRules(this.getEndpoint(), apiVersion, this.getSubscriptionId(), + resourceGroupName, networkManagerName, top, contentType, accept, parameters, context); + } + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active security admin rules on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listActiveSecurityAdminRulesAsync(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters) { + final Integer top = null; + return listActiveSecurityAdminRulesWithResponseAsync(resourceGroupName, networkManagerName, parameters, top) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list active security admin rules along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listActiveSecurityAdminRulesWithResponse( + String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, + Context context) { + return listActiveSecurityAdminRulesWithResponseAsync(resourceGroupName, networkManagerName, parameters, top, + context).block(); + } + + /** + * Lists active security admin rules in a network manager. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param networkManagerName The name of the network manager. + * @param parameters Active Configuration Parameter. + * @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 result of the request to list active security admin rules. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ActiveSecurityAdminRulesListResultInner listActiveSecurityAdminRules(String resourceGroupName, + String networkManagerName, ActiveConfigurationParameter parameters) { + final Integer top = null; + return listActiveSecurityAdminRulesWithResponse(resourceGroupName, networkManagerName, parameters, top, + Context.NONE).getValue(); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> + listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listNetworkManagerEffectiveConnectivityConfigurations(this.getEndpoint(), + apiVersion, this.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, contentType, accept, + parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.mergeContext(context); + return service.listNetworkManagerEffectiveConnectivityConfigurations(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, contentType, accept, parameters, + context); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono + listNetworkManagerEffectiveConnectivityConfigurationsAsync(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters) { + final Integer top = null; + return listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, + virtualNetworkName, parameters, top).flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response + listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { + return listNetworkManagerEffectiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, + virtualNetworkName, parameters, top, context).block(); + } + + /** + * List all effective connectivity configurations applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveConnectivityConfiguration. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkManagerEffectiveConnectivityConfigurationListResultInner + listNetworkManagerEffectiveConnectivityConfigurations(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters) { + final Integer top = null; + return listNetworkManagerEffectiveConnectivityConfigurationsWithResponse(resourceGroupName, virtualNetworkName, + parameters, top, Context.NONE).getValue(); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> + listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listNetworkManagerEffectiveSecurityAdminRules(this.getEndpoint(), + apiVersion, this.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, contentType, accept, + parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(String resourceGroupName, + String virtualNetworkName, QueryRequestOptions parameters, Integer top, Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualNetworkName == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualNetworkName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.mergeContext(context); + return service.listNetworkManagerEffectiveSecurityAdminRules(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), resourceGroupName, virtualNetworkName, top, contentType, accept, parameters, + context); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono + listNetworkManagerEffectiveSecurityAdminRulesAsync(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters) { + final Integer top = null; + return listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(resourceGroupName, virtualNetworkName, + parameters, top).flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @param top An optional query parameter which specifies the maximum number of records to be returned by the + * server. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response + listNetworkManagerEffectiveSecurityAdminRulesWithResponse(String resourceGroupName, String virtualNetworkName, + QueryRequestOptions parameters, Integer top, Context context) { + return listNetworkManagerEffectiveSecurityAdminRulesWithResponseAsync(resourceGroupName, virtualNetworkName, + parameters, top, context).block(); + } + + /** + * List all effective security admin rules applied on a virtual network. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualNetworkName The name of the virtual network. + * @param parameters Parameters supplied to list correct page. + * @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 result of the request to list networkManagerEffectiveSecurityAdminRules. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public NetworkManagerEffectiveSecurityAdminRulesListResultInner listNetworkManagerEffectiveSecurityAdminRules( + String resourceGroupName, String virtualNetworkName, QueryRequestOptions parameters) { + final Integer top = null; + return listNetworkManagerEffectiveSecurityAdminRulesWithResponse(resourceGroupName, virtualNetworkName, + parameters, top, Context.NONE).getValue(); + } + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> + supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWANName) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.supportedSecurityProviders(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), resourceGroupName, virtualWANName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWANName, Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.mergeContext(context); + return service.supportedSecurityProviders(this.getEndpoint(), apiVersion, this.getSubscriptionId(), + resourceGroupName, virtualWANName, accept, context); + } + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono supportedSecurityProvidersAsync(String resourceGroupName, + String virtualWANName) { + return supportedSecurityProvidersWithResponseAsync(resourceGroupName, virtualWANName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response supportedSecurityProvidersWithResponse(String resourceGroupName, + String virtualWANName, Context context) { + return supportedSecurityProvidersWithResponseAsync(resourceGroupName, virtualWANName, context).block(); + } + + /** + * Gives the supported security providers for the virtual wan. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @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 collection of SecurityProviders. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VirtualWanSecurityProvidersInner supportedSecurityProviders(String resourceGroupName, + String virtualWANName) { + return supportedSecurityProvidersWithResponse(resourceGroupName, virtualWANName, Context.NONE).getValue(); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( + String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); + } + if (vpnClientParams == null) { + return Mono + .error(new IllegalArgumentException("Parameter vpnClientParams is required and cannot be null.")); + } else { + vpnClientParams.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.generatevirtualwanvpnserverconfigurationvpnprofile(this.getEndpoint(), + apiVersion, this.getSubscriptionId(), resourceGroupName, virtualWANName, contentType, accept, + vpnClientParams, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( + String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, + Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualWANName == null) { + return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); + } + if (vpnClientParams == null) { + return Mono + .error(new IllegalArgumentException("Parameter vpnClientParams is required and cannot be null.")); + } else { + vpnClientParams.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.mergeContext(context); + return service.generatevirtualwanvpnserverconfigurationvpnprofile(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), resourceGroupName, virtualWANName, contentType, accept, vpnClientParams, context); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams) { + Mono>> mono = generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( + resourceGroupName, virtualWANName, vpnClientParams); + return this.getLroResult(mono, this.getHttpPipeline(), + VpnProfileResponseInner.class, VpnProfileResponseInner.class, this.getContext()); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams, Context context) { + context = this.mergeContext(context); + Mono>> mono = generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( + resourceGroupName, virtualWANName, vpnClientParams, context); + return this.getLroResult(mono, this.getHttpPipeline(), + VpnProfileResponseInner.class, VpnProfileResponseInner.class, context); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams) { + return this + .beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams) + .getSyncPoller(); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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, VpnProfileResponseInner> + beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, + VirtualWanVpnProfileParameters vpnClientParams, Context context) { + return this + .beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams, context) + .getSyncPoller(); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync( + String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams) { + return beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams).last().flatMap(this::getLroFinalResultOrError); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync( + String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, + Context context) { + return beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams, context).last().flatMap(this::getLroFinalResultOrError); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, + String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams) { + return generatevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams).block(); + } + + /** + * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination + * in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualWANName The name of the VirtualWAN. + * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, + String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, Context context) { + return generatevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, + vpnClientParams, context).block(); + } + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> checkDnsNameAvailabilityWithResponseAsync(String location, + String domainNameLabel) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (domainNameLabel == null) { + return Mono + .error(new IllegalArgumentException("Parameter domainNameLabel is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.checkDnsNameAvailability(this.getEndpoint(), apiVersion, + this.getSubscriptionId(), location, domainNameLabel, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.getContext()).readOnly())); + } + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> checkDnsNameAvailabilityWithResponseAsync(String location, + String domainNameLabel, Context context) { + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + if (this.getSubscriptionId() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (domainNameLabel == null) { + return Mono + .error(new IllegalArgumentException("Parameter domainNameLabel is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.mergeContext(context); + return service.checkDnsNameAvailability(this.getEndpoint(), apiVersion, this.getSubscriptionId(), location, + domainNameLabel, accept, context); + } + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono checkDnsNameAvailabilityAsync(String location, String domainNameLabel) { + return checkDnsNameAvailabilityWithResponseAsync(location, domainNameLabel) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response checkDnsNameAvailabilityWithResponse(String location, + String domainNameLabel, Context context) { + return checkDnsNameAvailabilityWithResponseAsync(location, domainNameLabel, context).block(); + } + + /** + * Checks whether a domain name in the cloudapp.azure.com zone is available for use. + * + * @param location The location name. + * @param domainNameLabel The domain name to be verified. It must conform to the following regular expression: + * ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + * @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 response for the CheckDnsNameAvailability API service call. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public DnsNameAvailabilityResultInner checkDnsNameAvailability(String location, String domainNameLabel) { + return checkDnsNameAvailabilityWithResponse(location, domainNameLabel, Context.NONE).getValue(); + } + + /** + * 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 body along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> putBastionShareableLinkNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.putBastionShareableLinkNext(nextLink, this.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.getContext()).readOnly())); + } + + /** + * 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 body along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> putBastionShareableLinkNextSinglePageAsync(String nextLink, + Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.mergeContext(context); + return service.putBastionShareableLinkNext(nextLink, this.getEndpoint(), accept, context) + .map(res -> 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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getBastionShareableLinkNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getBastionShareableLinkNext(nextLink, this.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.getContext()).readOnly())); + } + + /** + * 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 response for all the Bastion Shareable Link endpoints along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getBastionShareableLinkNextSinglePageAsync(String nextLink, + Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.mergeContext(context); + return service.getBastionShareableLinkNext(nextLink, this.getEndpoint(), accept, context) + .map(res -> 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 body along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getActiveSessionsNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getActiveSessionsNext(nextLink, this.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.getContext()).readOnly())); + } + + /** + * 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 body along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getActiveSessionsNextSinglePageAsync(String nextLink, + Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.mergeContext(context); + return service.getActiveSessionsNext(nextLink, this.getEndpoint(), accept, context) + .map(res -> 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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> disconnectActiveSessionsNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.disconnectActiveSessionsNext(nextLink, this.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.getContext()).readOnly())); + } + + /** + * 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 response for DisconnectActiveSessions along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> disconnectActiveSessionsNextSinglePageAsync(String nextLink, + Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.getEndpoint() == null) { + return Mono + .error(new IllegalArgumentException("Parameter this.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.mergeContext(context); + return service.disconnectActiveSessionsNext(nextLink, this.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java index 772ce8db5387..8eee648cb8c7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java @@ -14,7 +14,6 @@ import com.azure.core.annotation.HostParam; import com.azure.core.annotation.Patch; import com.azure.core.annotation.PathParam; -import com.azure.core.annotation.Post; import com.azure.core.annotation.Put; import com.azure.core.annotation.QueryParam; import com.azure.core.annotation.ReturnType; @@ -34,11 +33,8 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.NetworkManagersClient; -import com.azure.resourcemanager.network.fluent.models.ActiveConnectivityConfigurationsListResultInner; -import com.azure.resourcemanager.network.fluent.models.ActiveSecurityAdminRulesListResultInner; import com.azure.resourcemanager.network.fluent.models.NetworkManagerInner; import com.azure.resourcemanager.network.implementation.models.NetworkManagerListResult; -import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; import com.azure.resourcemanager.network.models.PatchObject; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; @@ -138,28 +134,6 @@ Mono> list(@HostParam("endpoint") String endp @QueryParam("$top") Integer top, @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context); - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listActiveConnectivityConfigurations( - @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") ActiveConfigurationParameter parameters, Context context); - - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listActiveSecurityAdminRules( - @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("networkManagerName") String networkManagerName, @QueryParam("$top") Integer top, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") ActiveConfigurationParameter parameters, Context context); - @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -1176,322 +1150,6 @@ public PagedIterable list(Integer top, String skipToken, Co return new PagedIterable<>(listAsync(top, skipToken, context)); } - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, - ActiveConfigurationParameter parameters, Integer top) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listActiveConnectivityConfigurations(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, contentType, accept, - parameters, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations along with {@link Response} on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listActiveConnectivityConfigurationsWithResponseAsync(String resourceGroupName, String networkManagerName, - ActiveConfigurationParameter parameters, Integer top, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.listActiveConnectivityConfigurations(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, contentType, accept, - parameters, context); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active connectivity configurations on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listActiveConnectivityConfigurationsAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { - final Integer top = null; - return listActiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, networkManagerName, parameters, - top).flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active connectivity configurations along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listActiveConnectivityConfigurationsWithResponse( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, - Context context) { - return listActiveConnectivityConfigurationsWithResponseAsync(resourceGroupName, networkManagerName, parameters, - top, context).block(); - } - - /** - * Lists active connectivity configurations in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active connectivity configurations. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ActiveConnectivityConfigurationsListResultInner listActiveConnectivityConfigurations( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters) { - final Integer top = null; - return listActiveConnectivityConfigurationsWithResponse(resourceGroupName, networkManagerName, parameters, top, - Context.NONE).getValue(); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listActiveSecurityAdminRulesWithResponseAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listActiveSecurityAdminRules(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, contentType, accept, - parameters, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listActiveSecurityAdminRulesWithResponseAsync( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (networkManagerName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkManagerName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.listActiveSecurityAdminRules(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, networkManagerName, top, contentType, accept, - parameters, context); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active security admin rules on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listActiveSecurityAdminRulesAsync(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters) { - final Integer top = null; - return listActiveSecurityAdminRulesWithResponseAsync(resourceGroupName, networkManagerName, parameters, top) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @param top An optional query parameter which specifies the maximum number of records to be returned by the - * server. - * @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 result of the request to list active security admin rules along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listActiveSecurityAdminRulesWithResponse( - String resourceGroupName, String networkManagerName, ActiveConfigurationParameter parameters, Integer top, - Context context) { - return listActiveSecurityAdminRulesWithResponseAsync(resourceGroupName, networkManagerName, parameters, top, - context).block(); - } - - /** - * Lists active security admin rules in a network manager. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param networkManagerName The name of the network manager. - * @param parameters Active Configuration Parameter. - * @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 result of the request to list active security admin rules. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public ActiveSecurityAdminRulesListResultInner listActiveSecurityAdminRules(String resourceGroupName, - String networkManagerName, ActiveConfigurationParameter parameters) { - final Integer top = null; - return listActiveSecurityAdminRulesWithResponse(resourceGroupName, networkManagerName, parameters, top, - Context.NONE).getValue(); - } - /** * Get the next page of items. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java index 03065f3bf6f7..a49fd9c2cf61 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java @@ -14,7 +14,6 @@ import com.azure.core.annotation.HostParam; import com.azure.core.annotation.Patch; import com.azure.core.annotation.PathParam; -import com.azure.core.annotation.Post; import com.azure.core.annotation.Put; import com.azure.core.annotation.QueryParam; import com.azure.core.annotation.ReturnType; @@ -35,11 +34,8 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.VirtualWansClient; import com.azure.resourcemanager.network.fluent.models.VirtualWanInner; -import com.azure.resourcemanager.network.fluent.models.VirtualWanSecurityProvidersInner; -import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; import com.azure.resourcemanager.network.implementation.models.ListVirtualWANsResult; import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; @@ -135,27 +131,6 @@ Mono> list(@HostParam("endpoint") String endpoin @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> supportedSecurityProviders( - @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualWANName") String virtualWANName, @HeaderParam("Accept") String accept, Context context); - - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/generateVpnProfile") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> generatevirtualwanvpnserverconfigurationvpnprofile( - @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualWANName") String virtualWANName, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, - @BodyParam("application/json") VirtualWanVpnProfileParameters vpnClientParams, Context context); - @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -1106,392 +1081,6 @@ public PagedIterable list(Context context) { return new PagedIterable<>(listAsync(context)); } - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> - supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWANName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualWANName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.supportedSecurityProviders(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualWANName, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @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 collection of SecurityProviders along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - supportedSecurityProvidersWithResponseAsync(String resourceGroupName, String virtualWANName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualWANName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.supportedSecurityProviders(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualWANName, accept, context); - } - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @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 collection of SecurityProviders on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono supportedSecurityProvidersAsync(String resourceGroupName, - String virtualWANName) { - return supportedSecurityProvidersWithResponseAsync(resourceGroupName, virtualWANName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @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 collection of SecurityProviders along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response supportedSecurityProvidersWithResponse(String resourceGroupName, - String virtualWANName, Context context) { - return supportedSecurityProvidersWithResponseAsync(resourceGroupName, virtualWANName, context).block(); - } - - /** - * Gives the supported security providers for the virtual wan. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @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 collection of SecurityProviders. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VirtualWanSecurityProvidersInner supportedSecurityProviders(String resourceGroupName, - String virtualWANName) { - return supportedSecurityProvidersWithResponse(resourceGroupName, virtualWANName, Context.NONE).getValue(); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( - String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualWANName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); - } - if (vpnClientParams == null) { - return Mono - .error(new IllegalArgumentException("Parameter vpnClientParams is required and cannot be null.")); - } else { - vpnClientParams.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.generatevirtualwanvpnserverconfigurationvpnprofile( - this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - virtualWANName, contentType, accept, vpnClientParams, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( - String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualWANName == null) { - return Mono.error(new IllegalArgumentException("Parameter virtualWANName is required and cannot be null.")); - } - if (vpnClientParams == null) { - return Mono - .error(new IllegalArgumentException("Parameter vpnClientParams is required and cannot be null.")); - } else { - vpnClientParams.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.generatevirtualwanvpnserverconfigurationvpnprofile(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualWANName, contentType, accept, vpnClientParams, - context); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWANName, - VirtualWanVpnProfileParameters vpnClientParams) { - Mono>> mono = generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( - resourceGroupName, virtualWANName, vpnClientParams); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, - this.client.getContext()); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(String resourceGroupName, String virtualWANName, - VirtualWanVpnProfileParameters vpnClientParams, Context context) { - context = this.client.mergeContext(context); - Mono>> mono = generatevirtualwanvpnserverconfigurationvpnprofileWithResponseAsync( - resourceGroupName, virtualWANName, vpnClientParams, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, context); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, - VirtualWanVpnProfileParameters vpnClientParams) { - return this - .beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, - vpnClientParams) - .getSyncPoller(); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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, VpnProfileResponseInner> - beginGeneratevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, String virtualWANName, - VirtualWanVpnProfileParameters vpnClientParams, Context context) { - return this - .beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, - vpnClientParams, context) - .getSyncPoller(); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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 on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync( - String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams) { - return beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, - vpnClientParams).last().flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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 on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generatevirtualwanvpnserverconfigurationvpnprofileAsync( - String resourceGroupName, String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, - Context context) { - return beginGeneratevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, - vpnClientParams, context).last().flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation 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. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, - String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams) { - return generatevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, - vpnClientParams).block(); - } - - /** - * Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination - * in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualWANName The name of the VirtualWAN. - * @param vpnClientParams Parameters supplied to the generate VirtualWan VPN profile generation operation. - * @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. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnProfileResponseInner generatevirtualwanvpnserverconfigurationvpnprofile(String resourceGroupName, - String virtualWANName, VirtualWanVpnProfileParameters vpnClientParams, Context context) { - return generatevirtualwanvpnserverconfigurationvpnprofileAsync(resourceGroupName, virtualWANName, - vpnClientParams, context).block(); - } - /** * Get the next page of items. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java index 5f5b27aeb091..c959c07e486b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java @@ -13,7 +13,7 @@ import java.io.IOException; /** - * Allow to exclude some variable satisfy the condition for the WAF check. + * The ApplicationGatewayFirewallExclusion model. */ @Fluent public final class ApplicationGatewayFirewallExclusion @@ -116,16 +116,6 @@ public void validate() { .log(new IllegalArgumentException( "Missing required property matchVariable in model ApplicationGatewayFirewallExclusion")); } - if (selectorMatchOperator() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property selectorMatchOperator in model ApplicationGatewayFirewallExclusion")); - } - if (selector() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Missing required property selector in model ApplicationGatewayFirewallExclusion")); - } } private static final ClientLogger LOGGER = new ClientLogger(ApplicationGatewayFirewallExclusion.class); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java index bb08568d66a5..3aaa5c1dc834 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java @@ -67,7 +67,7 @@ public final class ApplicationGatewayWebApplicationFirewallConfiguration /* * The exclusion list. */ - private List exclusions; + private ApplicationGatewayFirewallExclusion exclusions; /** * Creates an instance of ApplicationGatewayWebApplicationFirewallConfiguration class. @@ -263,7 +263,7 @@ public ApplicationGatewayWebApplicationFirewallConfiguration withFileUploadLimit * * @return the exclusions value. */ - public List exclusions() { + public ApplicationGatewayFirewallExclusion exclusions() { return this.exclusions; } @@ -274,7 +274,7 @@ public List exclusions() { * @return the ApplicationGatewayWebApplicationFirewallConfiguration object itself. */ public ApplicationGatewayWebApplicationFirewallConfiguration - withExclusions(List exclusions) { + withExclusions(ApplicationGatewayFirewallExclusion exclusions) { this.exclusions = exclusions; return this; } @@ -304,7 +304,7 @@ public void validate() { disabledRuleGroups().forEach(e -> e.validate()); } if (exclusions() != null) { - exclusions().forEach(e -> e.validate()); + exclusions().validate(); } } @@ -327,7 +327,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeNumberField("maxRequestBodySize", this.maxRequestBodySize); jsonWriter.writeNumberField("maxRequestBodySizeInKb", this.maxRequestBodySizeInKb); jsonWriter.writeNumberField("fileUploadLimitInMb", this.fileUploadLimitInMb); - jsonWriter.writeArrayField("exclusions", this.exclusions, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("exclusions", this.exclusions); return jsonWriter.writeEndObject(); } @@ -377,9 +377,8 @@ public static ApplicationGatewayWebApplicationFirewallConfiguration fromJson(Jso deserializedApplicationGatewayWebApplicationFirewallConfiguration.fileUploadLimitInMb = reader.getNullable(JsonReader::getInt); } else if ("exclusions".equals(fieldName)) { - List exclusions - = reader.readArray(reader1 -> ApplicationGatewayFirewallExclusion.fromJson(reader1)); - deserializedApplicationGatewayWebApplicationFirewallConfiguration.exclusions = exclusions; + deserializedApplicationGatewayWebApplicationFirewallConfiguration.exclusions + = ApplicationGatewayFirewallExclusion.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index 5388a4d51966..5739852bda60 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CheckDnsNameAvailabilitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/EffectiveConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CheckDnsNameAvailabilitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/EffectiveConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json index bf621d5ac41c..9f080d75ac0b 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json @@ -1 +1 @@ -[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.CheckDnsNameAvailabilitiesClientImpl$CheckDnsNameAvailabilitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIpPrefixesClientImpl$CustomIpPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.EffectiveConfigurationsClientImpl$EffectiveConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsClientImpl$ExpressRouteProviderPortsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIPConfigurationsClientImpl$LoadBalancerFrontendIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIpConfigurationsClientImpl$NetworkInterfaceIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.P2sVpnGatewaysOperationsClientImpl$P2sVpnGatewaysOperationsService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIPAddressesOperationsClientImpl$PublicIPAddressesOperationsService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2sClientImpl$VirtualHubRouteTableV2sService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file +[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIpPrefixesClientImpl$CustomIpPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIPConfigurationsClientImpl$LoadBalancerFrontendIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIpConfigurationsClientImpl$NetworkInterfaceIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkManagementClientImpl$NetworkManagementClientService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.P2sVpnGatewaysOperationsClientImpl$P2sVpnGatewaysOperationsService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIPAddressesOperationsClientImpl$PublicIPAddressesOperationsService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2sClientImpl$VirtualHubRouteTableV2sService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkByTokenSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkByTokenSamples.java deleted file mode 100644 index 5ded6c4e9094..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkByTokenSamples.java +++ /dev/null @@ -1,31 +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.network.generated; - -import com.azure.resourcemanager.network.models.BastionShareableLinkTokenListRequest; -import java.util.Arrays; - -/** - * Samples for BastionHosts DeleteBastionShareableLinkByToken. - */ -public final class BastionHostsDeleteBastionShareableLinkByTokenSamples { - /* - * x-ms-original-file: 2025-05-01/BastionShareableLinkDeleteByToken.json - */ - /** - * Sample code: Delete Bastion Shareable Links for the request VMs. - * - * @param manager Entry point to NetworkManager. - */ - public static void - deleteBastionShareableLinksForTheRequestVMs(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getBastionHosts() - .deleteBastionShareableLinkByToken("rg1", "bastionhosttenant", - new BastionShareableLinkTokenListRequest().withTokens( - Arrays.asList("abcd1234-efgh-hijk-5678-abcdefgh1234", "dcba4321-hgfe-kjih-8765-hgfedcba4321")), - com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkSamples.java deleted file mode 100644 index c19617dc1a17..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDeleteBastionShareableLinkSamples.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.network.generated; - -import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; -import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; -import com.azure.resourcemanager.network.models.VM; -import java.util.Arrays; - -/** - * Samples for BastionHosts DeleteBastionShareableLink. - */ -public final class BastionHostsDeleteBastionShareableLinkSamples { - /* - * x-ms-original-file: 2025-05-01/BastionShareableLinkDelete.json - */ - /** - * Sample code: Delete Bastion Shareable Links for the request VMs. - * - * @param manager Entry point to NetworkManager. - */ - public static void - deleteBastionShareableLinksForTheRequestVMs(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getBastionHosts() - .deleteBastionShareableLink("rg1", "bastionhosttenant", new BastionShareableLinkListRequest() - .withVms(Arrays.asList(new BastionShareableLinkInner().withVm(new VM().withId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1")), - new BastionShareableLinkInner().withVm(new VM().withId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2")))), - com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDisconnectActiveSessionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDisconnectActiveSessionsSamples.java deleted file mode 100644 index bd59fb7afaa9..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsDisconnectActiveSessionsSamples.java +++ /dev/null @@ -1,29 +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.network.generated; - -import com.azure.resourcemanager.network.models.SessionIds; -import java.util.Arrays; - -/** - * Samples for BastionHosts DisconnectActiveSessions. - */ -public final class BastionHostsDisconnectActiveSessionsSamples { - /* - * x-ms-original-file: 2025-05-01/BastionSessionDelete.json - */ - /** - * Sample code: Deletes the specified active session. - * - * @param manager Entry point to NetworkManager. - */ - public static void deletesTheSpecifiedActiveSession(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getBastionHosts() - .disconnectActiveSessions("rg1", "bastionhosttenant", - new SessionIds().withSessionIds(Arrays.asList("session1", "session2", "session3")), - com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetActiveSessionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetActiveSessionsSamples.java deleted file mode 100644 index 6955009994c9..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetActiveSessionsSamples.java +++ /dev/null @@ -1,25 +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.network.generated; - -/** - * Samples for BastionHosts GetActiveSessions. - */ -public final class BastionHostsGetActiveSessionsSamples { - /* - * x-ms-original-file: 2025-05-01/BastionSessionsList.json - */ - /** - * Sample code: Returns a list of currently active sessions on the Bastion. - * - * @param manager Entry point to NetworkManager. - */ - public static void - returnsAListOfCurrentlyActiveSessionsOnTheBastion(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getBastionHosts() - .getActiveSessions("rg1", "bastionhosttenant", com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetBastionShareableLinkSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetBastionShareableLinkSamples.java deleted file mode 100644 index 783009c7ff91..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsGetBastionShareableLinkSamples.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.network.generated; - -import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; -import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; -import com.azure.resourcemanager.network.models.VM; -import java.util.Arrays; - -/** - * Samples for BastionHosts GetBastionShareableLink. - */ -public final class BastionHostsGetBastionShareableLinkSamples { - /* - * x-ms-original-file: 2025-05-01/BastionShareableLinkGet.json - */ - /** - * Sample code: Returns the Bastion Shareable Links for the request VMs. - * - * @param manager Entry point to NetworkManager. - */ - public static void - returnsTheBastionShareableLinksForTheRequestVMs(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getBastionHosts() - .getBastionShareableLink("rg1", "bastionhosttenant", new BastionShareableLinkListRequest() - .withVms(Arrays.asList(new BastionShareableLinkInner().withVm(new VM().withId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1")), - new BastionShareableLinkInner().withVm(new VM().withId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2")))), - com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsPutBastionShareableLinkSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsPutBastionShareableLinkSamples.java deleted file mode 100644 index 3bea011bdda8..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/BastionHostsPutBastionShareableLinkSamples.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.network.generated; - -import com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner; -import com.azure.resourcemanager.network.models.BastionShareableLinkListRequest; -import com.azure.resourcemanager.network.models.VM; -import java.util.Arrays; - -/** - * Samples for BastionHosts PutBastionShareableLink. - */ -public final class BastionHostsPutBastionShareableLinkSamples { - /* - * x-ms-original-file: 2025-05-01/BastionShareableLinkCreate.json - */ - /** - * Sample code: Create Bastion Shareable Links for the request VMs. - * - * @param manager Entry point to NetworkManager. - */ - public static void - createBastionShareableLinksForTheRequestVMs(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getBastionHosts() - .putBastionShareableLink("rg1", "bastionhosttenant", new BastionShareableLinkListRequest() - .withVms(Arrays.asList(new BastionShareableLinkInner().withVm(new VM().withId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1")), - new BastionShareableLinkInner().withVm(new VM().withId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2")))), - com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CheckDnsNameAvailabilityCheckDnsNameAvailabilitySamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CheckDnsNameAvailabilityCheckDnsNameAvailabilitySamples.java deleted file mode 100644 index 91b4f6a7dd4f..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CheckDnsNameAvailabilityCheckDnsNameAvailabilitySamples.java +++ /dev/null @@ -1,24 +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.network.generated; - -/** - * Samples for CheckDnsNameAvailability CheckDnsNameAvailability. - */ -public final class CheckDnsNameAvailabilityCheckDnsNameAvailabilitySamples { - /* - * x-ms-original-file: 2025-05-01/CheckDnsNameAvailability.json - */ - /** - * Sample code: Check Dns Name Availability. - * - * @param manager Entry point to NetworkManager. - */ - public static void checkDnsNameAvailability(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getCheckDnsNameAvailabilities() - .checkDnsNameAvailabilityWithResponse("westus", "testdns", com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java deleted file mode 100644 index a8dc234e9c8d..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples.java +++ /dev/null @@ -1,29 +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.network.generated; - -import com.azure.resourcemanager.network.models.QueryRequestOptions; - -/** - * Samples for EffectiveConfigurations ListNetworkManagerEffectiveConnectivityConfigurations. - */ -public final class EffectiveConfigurationsListNetworkManagerEffectiveConnectivityConfigurationsSamples { - /* - * x-ms-original-file: 2025-05-01/NetworkManagerEffectiveConnectivityConfigurationsList.json - */ - /** - * Sample code: List effective connectivity configuration. - * - * @param manager Entry point to NetworkManager. - */ - public static void - listEffectiveConnectivityConfiguration(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getEffectiveConfigurations() - .listNetworkManagerEffectiveConnectivityConfigurationsWithResponse("myResourceGroup", "testVirtualNetwork", - new QueryRequestOptions().withSkipToken("fakeTokenPlaceholder"), null, - com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java deleted file mode 100644 index 7ff4d465fe56..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples.java +++ /dev/null @@ -1,28 +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.network.generated; - -import com.azure.resourcemanager.network.models.QueryRequestOptions; - -/** - * Samples for EffectiveConfigurations ListNetworkManagerEffectiveSecurityAdminRules. - */ -public final class EffectiveConfigurationsListNetworkManagerEffectiveSecurityAdminRulesSamples { - /* - * x-ms-original-file: 2025-05-01/NetworkManagerEffectiveSecurityAdminRulesList.json - */ - /** - * Sample code: List effective security admin rules. - * - * @param manager Entry point to NetworkManager. - */ - public static void listEffectiveSecurityAdminRules(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getEffectiveConfigurations() - .listNetworkManagerEffectiveSecurityAdminRulesWithResponse("myResourceGroup", "testVirtualNetwork", - new QueryRequestOptions().withSkipToken("fakeTokenPlaceholder"), null, - com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsExpressRouteProviderPortSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsExpressRouteProviderPortSamples.java deleted file mode 100644 index 9f82645ccb9a..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRouteProviderPortsExpressRouteProviderPortSamples.java +++ /dev/null @@ -1,24 +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.network.generated; - -/** - * Samples for ExpressRouteProviderPorts ExpressRouteProviderPort. - */ -public final class ExpressRouteProviderPortsExpressRouteProviderPortSamples { - /* - * x-ms-original-file: 2025-05-01/expressRouteProviderPort.json - */ - /** - * Sample code: ExpressRouteProviderPort. - * - * @param manager Entry point to NetworkManager. - */ - public static void expressRouteProviderPort(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getExpressRouteProviderPorts() - .expressRouteProviderPortWithResponse("abc", com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java deleted file mode 100644 index 8d4f7d118363..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveConnectivityConfigurationsSamples.java +++ /dev/null @@ -1,30 +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.network.generated; - -import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; -import java.util.Arrays; - -/** - * Samples for NetworkManagers ListActiveConnectivityConfigurations. - */ -public final class NetworkManagersListActiveConnectivityConfigurationsSamples { - /* - * x-ms-original-file: 2025-05-01/NetworkManagerActiveConnectivityConfigurationsList.json - */ - /** - * Sample code: List Active Connectivity Configurations. - * - * @param manager Entry point to NetworkManager. - */ - public static void listActiveConnectivityConfigurations(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getNetworkManagers() - .listActiveConnectivityConfigurationsWithResponse("myResourceGroup", "testNetworkManager", - new ActiveConfigurationParameter().withRegions(Arrays.asList("westus")) - .withSkipToken("fakeTokenPlaceholder"), - null, com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java deleted file mode 100644 index 5b9c2de9f645..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkManagersListActiveSecurityAdminRulesSamples.java +++ /dev/null @@ -1,30 +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.network.generated; - -import com.azure.resourcemanager.network.models.ActiveConfigurationParameter; -import java.util.Arrays; - -/** - * Samples for NetworkManagers ListActiveSecurityAdminRules. - */ -public final class NetworkManagersListActiveSecurityAdminRulesSamples { - /* - * x-ms-original-file: 2025-05-01/NetworkManagerActiveSecurityAdminRulesList.json - */ - /** - * Sample code: List Active Security Admin Rules. - * - * @param manager Entry point to NetworkManager. - */ - public static void listActiveSecurityAdminRules(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getNetworkManagers() - .listActiveSecurityAdminRulesWithResponse("myResourceGroup", "testNetworkManager", - new ActiveConfigurationParameter().withRegions(Arrays.asList("westus")) - .withSkipToken("fakeTokenPlaceholder"), - null, com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGeneratevirtualwanvpnserverconfigurationvpnprofileSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGeneratevirtualwanvpnserverconfigurationvpnprofileSamples.java deleted file mode 100644 index 69277b6775c3..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansGeneratevirtualwanvpnserverconfigurationvpnprofileSamples.java +++ /dev/null @@ -1,32 +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.network.generated; - -import com.azure.resourcemanager.network.models.AuthenticationMethod; -import com.azure.resourcemanager.network.models.VirtualWanVpnProfileParameters; - -/** - * Samples for VirtualWans Generatevirtualwanvpnserverconfigurationvpnprofile. - */ -public final class VirtualWansGeneratevirtualwanvpnserverconfigurationvpnprofileSamples { - /* - * x-ms-original-file: 2025-05-01/GenerateVirtualWanVpnServerConfigurationVpnProfile.json - */ - /** - * Sample code: GenerateVirtualWanVpnServerConfigurationVpnProfile. - * - * @param manager Entry point to NetworkManager. - */ - public static void - generateVirtualWanVpnServerConfigurationVpnProfile(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getVirtualWans() - .generatevirtualwanvpnserverconfigurationvpnprofile("rg1", "wan1", - new VirtualWanVpnProfileParameters().withVpnServerConfigurationResourceId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig1") - .withAuthenticationMethod(AuthenticationMethod.EAPTLS), - com.azure.core.util.Context.NONE); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansSupportedSecurityProvidersSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansSupportedSecurityProvidersSamples.java deleted file mode 100644 index 514414cffd9f..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualWansSupportedSecurityProvidersSamples.java +++ /dev/null @@ -1,24 +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.network.generated; - -/** - * Samples for VirtualWans SupportedSecurityProviders. - */ -public final class VirtualWansSupportedSecurityProvidersSamples { - /* - * x-ms-original-file: 2025-05-01/VirtualWanSupportedSecurityProviders.json - */ - /** - * Sample code: supportedSecurityProviders. - * - * @param manager Entry point to NetworkManager. - */ - public static void supportedSecurityProviders(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getVirtualWans() - .supportedSecurityProvidersWithResponse("rg1", "wan1", com.azure.core.util.Context.NONE); - } -} From 60da39e18960c327a877aef408ffc2bb4a532938 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 27 Mar 2026 16:21:01 +0800 Subject: [PATCH 26/33] regen --- .../CHANGELOG.md | 304 +-- .../fluent/NetworkManagementClient.java | 14 - .../network/fluent/P2SVpnGatewaysClient.java | 912 ++++++- .../P2sVpnGatewaysOperationsClient.java | 900 ------- .../PublicIPAddressesOperationsClient.java | 160 -- .../fluent/PublicIpAddressesClient.java | 141 + .../NetworkManagementClientImpl.java | 32 - .../P2SVpnGatewaysClientImpl.java | 2314 ++++++++++++++++- .../P2sVpnGatewaysOperationsClientImpl.java | 2287 ---------------- ...PublicIPAddressesOperationsClientImpl.java | 572 ---- .../PublicIpAddressesClientImpl.java | 507 ++++ .../ApplicationGatewayFirewallExclusion.java | 2 +- ...zure-resourcemanager-network_metadata.json | 2 +- .../proxy-config.json | 2 +- ... P2SVpnGatewaysCreateOrUpdateSamples.java} | 6 +- ....java => P2SVpnGatewaysDeleteSamples.java} | 8 +- ...ysDisconnectP2sVpnConnectionsSamples.java} | 6 +- ...VpnGatewaysGenerateVpnProfileSamples.java} | 6 +- ...VpnGatewaysGetByResourceGroupSamples.java} | 6 +- ...2sVpnConnectionHealthDetailedSamples.java} | 6 +- ...waysGetP2sVpnConnectionHealthSamples.java} | 6 +- ...pnGatewaysListByResourceGroupSamples.java} | 8 +- ...es.java => P2SVpnGatewaysListSamples.java} | 6 +- ...a => P2SVpnGatewaysUpdateTagsSamples.java} | 6 +- 24 files changed, 3996 insertions(+), 4217 deletions(-) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2sVpnGatewaysOperationCreateOrUpdateSamples.java => P2SVpnGatewaysCreateOrUpdateSamples.java} (96%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2sVpnGatewaysOperationDeleteSamples.java => P2SVpnGatewaysDeleteSamples.java} (66%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples.java => P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java} (83%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2sVpnGatewaysOperationGenerateVpnProfileSamples.java => P2SVpnGatewaysGenerateVpnProfileSamples.java} (84%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2sVpnGatewaysOperationGetByResourceGroupSamples.java => P2SVpnGatewaysGetByResourceGroupSamples.java} (79%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSamples.java => P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java} (86%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples.java => P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java} (78%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2sVpnGatewaysOperationListByResourceGroupSamples.java => P2SVpnGatewaysListByResourceGroupSamples.java} (66%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2sVpnGatewaysOperationListSamples.java => P2SVpnGatewaysListSamples.java} (72%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2sVpnGatewaysOperationUpdateTagsSamples.java => P2SVpnGatewaysUpdateTagsSamples.java} (88%) diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index f618e4691bd8..62b38ae7f98f 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -302,8 +302,8 @@ * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access * `withNeighbor(java.lang.String)` was removed -* `withUpDown(java.lang.String)` was removed * `withStateOrPrefixesReceived(java.lang.String)` was removed +* `withUpDown(java.lang.String)` was removed * `withAsn(java.lang.Integer)` was removed #### `models.UsageName` was modified @@ -315,10 +315,10 @@ #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access +* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed * `withSubnetAssociation(models.SubnetAssociation)` was removed * `withDefaultSecurityRules(java.util.List)` was removed * `withEffectiveSecurityRules(java.util.List)` was removed -* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed #### `models.ResourceBasics` was modified @@ -329,51 +329,51 @@ #### `models.MatchedRule` was modified * `MatchedRule()` was changed to private access -* `withRuleName(java.lang.String)` was removed * `withAction(java.lang.String)` was removed +* `withRuleName(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallRule` was modified * `ApplicationGatewayFirewallRule()` was changed to private access -* `withRuleIdString(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed -* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed * `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed -* `withRuleId(int)` was removed +* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed +* `withDescription(java.lang.String)` was removed * `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed +* `withRuleIdString(java.lang.String)` was removed +* `withRuleId(int)` was removed #### `models.VpnGatewayIpConfiguration` was modified * `VpnGatewayIpConfiguration()` was changed to private access -* `withId(java.lang.String)` was removed * `withPrivateIpAddress(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withPublicIpAddress(java.lang.String)` was removed #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access * `withNextHopType(models.RouteNextHopType)` was removed -* `withNextHopIpAddress(java.util.List)` was removed -* `withState(models.EffectiveRouteState)` was removed * `withSource(models.EffectiveRouteSource)` was removed * `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed +* `withNextHopIpAddress(java.util.List)` was removed * `withAddressPrefix(java.util.List)` was removed +* `withState(models.EffectiveRouteState)` was removed +* `withName(java.lang.String)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access +* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed * `withPrimary(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed * `withPrivateIpAddress(java.lang.String)` was removed -* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed * `withId(java.lang.String)` was removed * `withPrivateIpAddressVersion(models.IpVersion)` was removed #### `models.ApplicationGatewayWebApplicationFirewallConfiguration` was modified -* `java.util.List exclusions()` -> `models.ApplicationGatewayFirewallExclusion exclusions()` * `withExclusions(java.util.List)` was removed +* `java.util.List exclusions()` -> `models.ApplicationGatewayFirewallExclusion exclusions()` #### `models.TunnelConnectionHealth` was modified @@ -386,22 +386,22 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withId(java.lang.String)` was removed +* `withDestinations(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withPriority(java.lang.Integer)` was removed +* `withId(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed * `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `withRegion(java.lang.String)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed -* `withDestinations(java.util.List)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed * `withSources(java.util.List)` was removed * `withSourcePortRanges(java.util.List)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withDescription(java.lang.String)` was removed #### `models.ErrorAdditionalInfo` was modified @@ -433,18 +433,18 @@ #### `models.SecurityGroupNetworkInterface` was modified * `SecurityGroupNetworkInterface()` was changed to private access -* `withSecurityRuleAssociations(models.SecurityRuleAssociations)` was removed * `withId(java.lang.String)` was removed +* `withSecurityRuleAssociations(models.SecurityRuleAssociations)` was removed #### `models.EffectiveDefaultSecurityAdminRule` was modified * `EffectiveDefaultSecurityAdminRule()` was changed to private access * `withConfigurationDescription(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withFlag(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed #### `models.Container` was modified @@ -455,42 +455,42 @@ * `ServiceAssociationLink()` was changed to private access * `withId(java.lang.String)` was removed -* `withLinkedResourceType(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed * `withLink(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withAllowDelete(java.lang.Boolean)` was removed +* `withLocations(java.util.List)` was removed +* `withLinkedResourceType(java.lang.String)` was removed #### `models.TroubleshootingRecommendedActions` was modified * `TroubleshootingRecommendedActions()` was changed to private access +* `withActionId(java.lang.String)` was removed * `withActionUriText(java.lang.String)` was removed * `withActionUri(java.lang.String)` was removed -* `withActionId(java.lang.String)` was removed * `withActionText(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access -* `withCallToActionLink(java.lang.String)` was removed -* `withRecommendationId(java.lang.String)` was removed * `withCallToActionText(java.lang.String)` was removed * `withSeverity(java.lang.String)` was removed -* `withRecommendationText(java.lang.String)` was removed * `withRecommendationTitle(java.lang.String)` was removed +* `withRecommendationId(java.lang.String)` was removed +* `withRecommendationText(java.lang.String)` was removed +* `withCallToActionLink(java.lang.String)` was removed #### `models.ContainerNetworkInterface` was modified * `ContainerNetworkInterface()` was changed to private access -* `withContainer(models.Container)` was removed -* `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withContainer(models.Container)` was removed #### `models.ExpressRouteFailoverRedundantRoute` was modified * `ExpressRouteFailoverRedundantRoute()` was changed to private access -* `withPeeringLocations(java.util.List)` was removed * `withRoutes(java.util.List)` was removed +* `withPeeringLocations(java.util.List)` was removed #### `models.AzureReachabilityReportLatencyInfo` was modified @@ -501,10 +501,10 @@ #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access -* `withIpAddress(java.lang.String)` was removed * `withReason(java.lang.String)` was removed -* `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed +* `withIpAddress(java.lang.String)` was removed * `withState(java.lang.String)` was removed +* `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed #### `models.ConnectivityHop` was modified @@ -521,34 +521,34 @@ #### `models.EffectiveNetworkSecurityRule` was modified * `EffectiveNetworkSecurityRule()` was changed to private access -* `withDestinationPortRanges(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed * `withSourceAddressPrefixes(java.util.List)` was removed -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed * `withSourcePortRange(java.lang.String)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withAccess(models.SecurityRuleAccess)` was removed * `withExpandedSourceAddressPrefix(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withName(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed * `withDirection(models.SecurityRuleDirection)` was removed -* `withDestinationAddressPrefix(java.lang.String)` was removed -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed * `withSourceAddressPrefix(java.lang.String)` was removed -* `withAccess(models.SecurityRuleAccess)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed * `withDestinationPortRange(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed +* `withDestinationAddressPrefix(java.lang.String)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access -* `withMatchedRule(models.MatchedRule)` was removed * `withAppliedTo(java.lang.String)` was removed * `withNetworkSecurityGroupId(java.lang.String)` was removed +* `withMatchedRule(models.MatchedRule)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access -* `withName(java.lang.String)` was removed * `withLocation(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withAssociations(java.util.List)` was removed @@ -559,9 +559,9 @@ #### `models.EffectiveRouteMapRoute` was modified * `EffectiveRouteMapRoute()` was changed to private access -* `withAsPath(java.lang.String)` was removed * `withBgpCommunities(java.lang.String)` was removed * `withPrefix(java.lang.String)` was removed +* `withAsPath(java.lang.String)` was removed #### `models.CrossTenantScopes` was modified @@ -570,43 +570,43 @@ #### `models.AzureReachabilityReportItem` was modified * `AzureReachabilityReportItem()` was changed to private access -* `withAzureLocation(java.lang.String)` was removed -* `withLatencies(java.util.List)` was removed * `withProvider(java.lang.String)` was removed +* `withLatencies(java.util.List)` was removed +* `withAzureLocation(java.lang.String)` was removed #### `models.TroubleshootingDetails` was modified * `TroubleshootingDetails()` was changed to private access -* `withRecommendedActions(java.util.List)` was removed -* `withSummary(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withDetail(java.lang.String)` was removed +* `withSummary(java.lang.String)` was removed * `withReasonType(java.lang.String)` was removed +* `withRecommendedActions(java.util.List)` was removed +* `withDetail(java.lang.String)` was removed #### `models.SingleQueryResult` was modified * `SingleQueryResult()` was changed to private access * `withDescription(java.lang.String)` was removed +* `withLastUpdated(java.lang.String)` was removed * `withProtocol(java.lang.String)` was removed -* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed -* `withGroup(java.lang.String)` was removed * `withInheritedFromParentPolicy(java.lang.Boolean)` was removed -* `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `withLastUpdated(java.lang.String)` was removed * `withSignatureId(java.lang.Integer)` was removed -* `withSourcePorts(java.util.List)` was removed * `withDestinationPorts(java.util.List)` was removed * `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed +* `withGroup(java.lang.String)` was removed +* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed +* `withSourcePorts(java.util.List)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified * `NetworkSecurityRulesEvaluationResult()` was changed to private access -* `withDestinationMatched(java.lang.Boolean)` was removed +* `withDestinationPortMatched(java.lang.Boolean)` was removed * `withSourcePortMatched(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed +* `withDestinationMatched(java.lang.Boolean)` was removed * `withProtocolMatched(java.lang.Boolean)` was removed * `withSourceMatched(java.lang.Boolean)` was removed -* `withDestinationPortMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -619,31 +619,31 @@ #### `models.ActiveBaseSecurityAdminRule` was modified -* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` * `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access +* `withRuleGroups(java.util.List)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withDestinations(java.util.List)` was removed +* `withId(java.lang.String)` was removed * `withSources(java.util.List)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withDestinations(java.util.List)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed * `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withConfigurationDescription(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withSourcePortRanges(java.util.List)` was removed * `withDescription(java.lang.String)` was removed * `withDestinationPortRanges(java.util.List)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed #### `models.BgpPeerStatus` was modified @@ -652,26 +652,26 @@ #### `models.NatRulePortMapping` was modified * `NatRulePortMapping()` was changed to private access -* `withBackendPort(java.lang.Integer)` was removed * `withFrontendPort(java.lang.Integer)` was removed * `withInboundNatRuleName(java.lang.String)` was removed +* `withBackendPort(java.lang.Integer)` was removed #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access -* `withFillGapWithZero(java.lang.Boolean)` was removed -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed -* `withDimensions(java.util.List)` was removed -* `withAggregationType(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed * `withMetricFilterPattern(java.lang.String)` was removed +* `withAggregationType(java.lang.String)` was removed +* `withFillGapWithZero(java.lang.Boolean)` was removed +* `withAvailabilities(java.util.List)` was removed * `withName(java.lang.String)` was removed -* `withDisplayDescription(java.lang.String)` was removed * `withSourceMdmAccount(java.lang.String)` was removed +* `withDimensions(java.util.List)` was removed +* `withDisplayName(java.lang.String)` was removed +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed * `withIsInternal(java.lang.Boolean)` was removed +* `withDisplayDescription(java.lang.String)` was removed +* `withSourceMdmNamespace(java.lang.String)` was removed * `withResourceIdDimensionNameOverride(java.lang.String)` was removed -* `withAvailabilities(java.util.List)` was removed * `withUnit(java.lang.String)` was removed #### `models.ApplicationGatewayForContainersReferenceDefinition` was modified @@ -682,8 +682,8 @@ #### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified * `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access -* `withOfferName(java.lang.String)` was removed * `withValueInMbps(java.lang.Integer)` was removed +* `withOfferName(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallRuleGroup` was modified @@ -699,9 +699,9 @@ #### `models.AvailableProvidersListState` was modified * `AvailableProvidersListState()` was changed to private access -* `withProviders(java.util.List)` was removed * `withCities(java.util.List)` was removed * `withStateName(java.lang.String)` was removed +* `withProviders(java.util.List)` was removed #### `models.HopLink` was modified @@ -710,20 +710,20 @@ #### `models.ResourceNavigationLink` was modified * `ResourceNavigationLink()` was changed to private access -* `withName(java.lang.String)` was removed -* `withId(java.lang.String)` was removed * `withLink(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withLinkedResourceType(java.lang.String)` was removed #### `models.BgpCommunity` was modified * `BgpCommunity()` was changed to private access * `withServiceSupportedRegion(java.lang.String)` was removed -* `withIsAuthorizedToUse(java.lang.Boolean)` was removed -* `withCommunityPrefixes(java.util.List)` was removed * `withCommunityName(java.lang.String)` was removed -* `withCommunityValue(java.lang.String)` was removed * `withServiceGroup(java.lang.String)` was removed +* `withCommunityPrefixes(java.util.List)` was removed +* `withCommunityValue(java.lang.String)` was removed +* `withIsAuthorizedToUse(java.lang.Boolean)` was removed #### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified @@ -732,11 +732,11 @@ #### `models.EffectiveNetworkSecurityGroup` was modified * `EffectiveNetworkSecurityGroup()` was changed to private access -* `withEffectiveSecurityRules(java.util.List)` was removed * `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed +* `withEffectiveSecurityRules(java.util.List)` was removed +* `withTagMap(java.lang.String)` was removed * `java.lang.String tagMap()` -> `java.util.Map tagMap()` * `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed -* `withTagMap(java.lang.String)` was removed #### `models.ReferencedPublicIpAddress` was modified @@ -750,8 +750,8 @@ #### `models.GatewayRouteSet` was modified * `GatewayRouteSet()` was changed to private access -* `withLocations(java.util.List)` was removed * `withName(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed * `withDetails(java.util.Map)` was removed #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified @@ -769,31 +769,31 @@ #### `models.ExpressRouteCircuitArpTable` was modified * `ExpressRouteCircuitArpTable()` was changed to private access -* `withIpAddress(java.lang.String)` was removed * `withMacAddress(java.lang.String)` was removed -* `withAge(java.lang.Integer)` was removed * `withInterfaceProperty(java.lang.String)` was removed +* `withAge(java.lang.Integer)` was removed +* `withIpAddress(java.lang.String)` was removed #### `models.ActiveConnectivityConfiguration` was modified * `ActiveConnectivityConfiguration()` was changed to private access +* `withIsGlobal(models.IsGlobal)` was removed +* `withId(java.lang.String)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withConfigurationGroups(java.util.List)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed * `withHubs(java.util.List)` was removed -* `withRegion(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed * `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withIsGlobal(models.IsGlobal)` was removed * `withAppliesToGroups(java.util.List)` was removed -* `withConfigurationGroups(java.util.List)` was removed -* `withId(java.lang.String)` was removed +* `withRegion(java.lang.String)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed #### `models.RouteSourceDetails` was modified * `RouteSourceDetails()` was changed to private access -* `withPri(java.lang.String)` was removed * `withCircuit(java.lang.String)` was removed +* `withPri(java.lang.String)` was removed * `withSec(java.lang.String)` was removed #### `models.RecordSet` was modified @@ -801,9 +801,9 @@ * `RecordSet()` was changed to private access * `withFqdn(java.lang.String)` was removed * `withIpAddresses(java.util.List)` was removed +* `withRecordSetName(java.lang.String)` was removed * `withTtl(java.lang.Integer)` was removed * `withRecordType(java.lang.String)` was removed -* `withRecordSetName(java.lang.String)` was removed #### `models.ApplicationGatewayBackendHealthPool` was modified @@ -831,9 +831,9 @@ #### `models.Availability` was modified * `Availability()` was changed to private access -* `withTimeGrain(java.lang.String)` was removed -* `withBlobDuration(java.lang.String)` was removed * `withRetention(java.lang.String)` was removed +* `withBlobDuration(java.lang.String)` was removed +* `withTimeGrain(java.lang.String)` was removed #### `models.VerifierWorkspaceProperties` was modified @@ -842,23 +842,23 @@ #### `models.OperationDisplay` was modified * `OperationDisplay()` was changed to private access -* `withProvider(java.lang.String)` was removed -* `withOperation(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed * `withResource(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withOperation(java.lang.String)` was removed +* `withProvider(java.lang.String)` was removed #### `models.OperationPropertiesFormatServiceSpecification` was modified * `OperationPropertiesFormatServiceSpecification()` was changed to private access -* `withMetricSpecifications(java.util.List)` was removed * `withLogSpecifications(java.util.List)` was removed +* `withMetricSpecifications(java.util.List)` was removed #### `models.AvailableProvidersListCountry` was modified * `AvailableProvidersListCountry()` was changed to private access * `withProviders(java.util.List)` was removed -* `withCountryName(java.lang.String)` was removed * `withStates(java.util.List)` was removed +* `withCountryName(java.lang.String)` was removed #### `models.VirtualNetworkUsageName` was modified @@ -867,54 +867,54 @@ #### `models.ApplicationGatewayFirewallRuleSet` was modified * `ApplicationGatewayFirewallRuleSet()` was changed to private access +* `withLocation(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed * `withRuleGroups(java.util.List)` was removed * `withTags(java.util.Map)` was removed -* `withLocation(java.lang.String)` was removed * `withRuleSetType(java.lang.String)` was removed -* `withTiers(java.util.List)` was removed * `withRuleSetVersion(java.lang.String)` was removed * `withId(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallManifestRuleSet` was modified * `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access -* `withTiers(java.util.List)` was removed * `withRuleGroups(java.util.List)` was removed * `withRuleSetVersion(java.lang.String)` was removed -* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed * `withRuleSetType(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed +* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed #### `models.NetworkManagerDeploymentStatus` was modified * `NetworkManagerDeploymentStatus()` was changed to private access -* `withDeploymentType(models.ConfigurationType)` was removed -* `withDeploymentStatus(models.DeploymentStatus)` was removed +* `withRegion(java.lang.String)` was removed * `withConfigurationIds(java.util.List)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed * `withErrorMessage(java.lang.String)` was removed -* `withRegion(java.lang.String)` was removed +* `withDeploymentStatus(models.DeploymentStatus)` was removed +* `withDeploymentType(models.ConfigurationType)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed #### `models.CircuitMetadataMap` was modified * `CircuitMetadataMap()` was changed to private access -* `withLocation(java.lang.String)` was removed * `withLink(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed * `withName(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTableSummary` was modified * `ExpressRouteCircuitRoutesTableSummary()` was changed to private access +* `withStatePfxRcd(java.lang.String)` was removed +* `withAs(java.lang.Integer)` was removed * `withUpDown(java.lang.String)` was removed -* `withV(java.lang.Integer)` was removed * `withNeighbor(java.lang.String)` was removed -* `withAs(java.lang.Integer)` was removed -* `withStatePfxRcd(java.lang.String)` was removed +* `withV(java.lang.Integer)` was removed #### `models.ManagedRuleSetRuleGroup` was modified * `ManagedRuleSetRuleGroup()` was changed to private access -* `withRuleGroupName(java.lang.String)` was removed * `withRules(java.util.List)` was removed +* `withRuleGroupName(java.lang.String)` was removed #### `models.Dimension` was modified @@ -931,18 +931,18 @@ #### `models.ResiliencyRecommendationComponents` was modified * `ResiliencyRecommendationComponents()` was changed to private access -* `withName(java.lang.String)` was removed * `withRecommendations(java.util.List)` was removed * `withMaxScore(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withCurrentScore(java.lang.String)` was removed #### `models.EffectiveBaseSecurityAdminRule` was modified * `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` * `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` #### `models.LogSpecification` was modified @@ -957,15 +957,15 @@ #### `models.EffectiveConnectivityConfiguration` was modified -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withIsGlobal(models.IsGlobal)` was removed * `withAppliesToGroups(java.util.List)` was removed * `withDescription(java.lang.String)` was removed -* `withHubs(java.util.List)` was removed +* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` * `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withIsGlobal(models.IsGlobal)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed * `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` +* `withHubs(java.util.List)` was removed #### `models.PerimeterBasedAccessRule` was modified @@ -980,11 +980,11 @@ #### `models.VirtualHubEffectiveRoute` was modified * `VirtualHubEffectiveRoute()` was changed to private access +* `withNextHops(java.util.List)` was removed * `withAddressPrefixes(java.util.List)` was removed -* `withNextHopType(java.lang.String)` was removed * `withRouteOrigin(java.lang.String)` was removed +* `withNextHopType(java.lang.String)` was removed * `withAsPath(java.lang.String)` was removed -* `withNextHops(java.util.List)` was removed #### `models.ExpressRoutePortsLocationBandwidths` was modified @@ -997,8 +997,8 @@ #### `models.EffectiveNetworkSecurityGroupAssociation` was modified * `EffectiveNetworkSecurityGroupAssociation()` was changed to private access -* `withSubnet(com.azure.core.management.SubResource)` was removed * `withNetworkInterface(com.azure.core.management.SubResource)` was removed +* `withSubnet(com.azure.core.management.SubResource)` was removed * `withNetworkManager(com.azure.core.management.SubResource)` was removed #### `models.ErrorDetail` was modified @@ -1008,35 +1008,35 @@ #### `models.IntentContent` was modified * `IntentContent()` was changed to private access -* `withIpTraffic(models.IpTraffic)` was removed -* `withDescription(java.lang.String)` was removed -* `withSourceResourceId(java.lang.String)` was removed * `withDestinationResourceId(java.lang.String)` was removed +* `withSourceResourceId(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withIpTraffic(models.IpTraffic)` was removed #### `models.ConfigurationGroup` was modified * `ConfigurationGroup()` was changed to private access +* `withId(java.lang.String)` was removed * `withMemberType(models.GroupMemberType)` was removed * `withDescription(java.lang.String)` was removed -* `withId(java.lang.String)` was removed #### `models.SecurityPerimeterSystemData` was modified * `SecurityPerimeterSystemData()` was changed to private access +* `withCreatedAt(java.time.OffsetDateTime)` was removed * `withLastModifiedBy(java.lang.String)` was removed -* `withLastModifiedByType(models.CreatedByType)` was removed * `withCreatedByType(models.CreatedByType)` was removed -* `withLastModifiedAt(java.time.OffsetDateTime)` was removed * `withCreatedBy(java.lang.String)` was removed -* `withCreatedAt(java.time.OffsetDateTime)` was removed +* `withLastModifiedAt(java.time.OffsetDateTime)` was removed +* `withLastModifiedByType(models.CreatedByType)` was removed #### `models.ExpressRouteCircuitRoutesTable` was modified * `ExpressRouteCircuitRoutesTable()` was changed to private access +* `withNetwork(java.lang.String)` was removed * `withWeight(java.lang.Integer)` was removed * `withPath(java.lang.String)` was removed * `withLocPrf(java.lang.String)` was removed -* `withNetwork(java.lang.String)` was removed * `withNextHop(java.lang.String)` was removed #### `models.SubnetAssociation` was modified @@ -1047,8 +1047,8 @@ #### `models.RadiusAuthServer` was modified * `RadiusAuthServer()` was changed to private access -* `withRadiusServerAddress(java.lang.String)` was removed * `withRadiusServerSecret(java.lang.String)` was removed +* `withRadiusServerAddress(java.lang.String)` was removed #### `models.VirtualApplianceNicProperties` was modified @@ -1073,22 +1073,22 @@ #### `models.ExpressRouteFailoverConnectionResourceDetails` was modified * `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access +* `withStatus(models.FailoverConnectionStatus)` was removed +* `withName(java.lang.String)` was removed * `withLastUpdatedTime(java.lang.String)` was removed * `withNrpResourceUri(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withStatus(models.FailoverConnectionStatus)` was removed #### `models.ActiveDefaultSecurityAdminRule` was modified * `ActiveDefaultSecurityAdminRule()` was changed to private access -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withRegion(java.lang.String)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withConfigurationDescription(java.lang.String)` was removed +* `withFlag(java.lang.String)` was removed * `withId(java.lang.String)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withFlag(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withRegion(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed ### Features Added diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java index 86f23dfecfa7..c2d102cfe7b2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java @@ -726,13 +726,6 @@ public interface NetworkManagementClient { */ ServiceGatewaysClient getServiceGateways(); - /** - * Gets the PublicIPAddressesOperationsClient object to access its operations. - * - * @return the PublicIPAddressesOperationsClient object. - */ - PublicIPAddressesOperationsClient getPublicIPAddressesOperations(); - /** * Gets the ApplicationGatewayPrivateLinkResourcesClient object to access its operations. * @@ -1048,13 +1041,6 @@ public interface NetworkManagementClient { */ NatRulesClient getNatRules(); - /** - * Gets the P2sVpnGatewaysOperationsClient object to access its operations. - * - * @return the P2sVpnGatewaysOperationsClient object. - */ - P2sVpnGatewaysOperationsClient getP2sVpnGatewaysOperations(); - /** * Gets the ExpressRouteConnectionsClient object to access its operations. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java index 132b633efd7b..804b22852758 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java @@ -6,12 +6,23 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +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.PollerFlux; import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.network.fluent.models.P2SVpnConnectionHealthInner; import com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; +import com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest; +import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; +import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; +import com.azure.resourcemanager.network.models.TagsObject; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -19,7 +30,505 @@ /** * An instance of this class provides access to all the operations defined in P2SVpnGatewaysClient. */ -public interface P2SVpnGatewaysClient { +public interface P2SVpnGatewaysClient + extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String gatewayName); + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getByResourceGroupAsync(String resourceGroupName, String gatewayName); + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, + Context context); + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 PollerFlux} for polling of p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters); + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 PollerFlux} for polling of p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters, Context context); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono updateTagsAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters); + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, + Context context); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName, Context context); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String gatewayName); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName); + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName, Context context); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listByResourceGroupAsync(String resourceGroupName); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByResourceGroup(String resourceGroupName, Context context); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(); + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(Context context); + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName); + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, + String gatewayName); + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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, P2SVpnGatewayInner> beginReset(String resourceGroupName, + String gatewayName); + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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, P2SVpnGatewayInner> beginReset(String resourceGroupName, + String gatewayName, Context context); + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 body on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono resetAsync(String resourceGroupName, String gatewayName); + /** * Resets the primary of the p2s vpn gateway in the specified resource group. * @@ -28,44 +537,76 @@ public interface P2SVpnGatewaysClient { * @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 body along with {@link Response} on successful completion of {@link Mono}. + * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName); + P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName); /** * Resets the primary of the p2s vpn gateway in the specified resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName, Context context); + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters); + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, - String gatewayName); + PollerFlux, VpnProfileResponseInner> + beginGenerateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters); /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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, P2SVpnGatewayInner> beginReset(String resourceGroupName, - String gatewayName); + SyncPoller, VpnProfileResponseInner> + beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters); /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. * @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. @@ -73,40 +614,45 @@ SyncPoller, P2SVpnGatewayInner> beginReset(String * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> beginReset(String resourceGroupName, - String gatewayName, Context context); + SyncPoller, VpnProfileResponseInner> beginGenerateVpnProfile( + String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context); /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono resetAsync(String resourceGroupName, String gatewayName); + Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters); /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName); + VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters); /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. * @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. @@ -114,5 +660,337 @@ SyncPoller, P2SVpnGatewayInner> beginReset(String * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName, Context context); + VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters, Context context); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group + * along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, + String gatewayName); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 PollerFlux} for polling of the connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName); + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnConnectionHealthRequest request); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 PollerFlux} for polling of the sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request, Context context); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, + String gatewayName, P2SVpnConnectionHealthRequest request); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request); + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request, Context context); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request); + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java deleted file mode 100644 index 7355b9c92553..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java +++ /dev/null @@ -1,900 +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.network.fluent; - -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.PagedFlux; -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.PollerFlux; -import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.models.P2SVpnConnectionHealthInner; -import com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner; -import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; -import com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest; -import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; -import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; -import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; -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 P2sVpnGatewaysOperationsClient. - */ -public interface P2sVpnGatewaysOperationsClient - extends InnerSupportsGet, InnerSupportsListing, InnerSupportsDelete { - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String gatewayName); - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getByResourceGroupAsync(String resourceGroupName, String gatewayName); - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, - Context context); - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 PollerFlux} for polling of p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters); - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 PollerFlux} for polling of p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters, Context context); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono updateTagsAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters); - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, - Context context); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 gatewayName); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 gatewayName, Context context); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono deleteAsync(String resourceGroupName, String gatewayName); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 gatewayName); - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 gatewayName, Context context); - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName); - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(); - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 body along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, VpnProfileResponseInner> - beginGenerateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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, VpnProfileResponseInner> - beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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, VpnProfileResponseInner> beginGenerateVpnProfile( - String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 body on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters); - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters, Context context); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group - * along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, - String gatewayName); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 PollerFlux} for polling of the connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName); - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnConnectionHealthRequest request); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 PollerFlux} for polling of the sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @param context The context to associate with this operation. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of the sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request, Context context); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, - String gatewayName, P2SVpnConnectionHealthRequest request); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request); - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request, Context context); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, - String p2sVpnGatewayName, P2SVpnConnectionRequest request); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, - String p2sVpnGatewayName, P2SVpnConnectionRequest request); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, - String p2sVpnGatewayName, P2SVpnConnectionRequest request); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, - String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, - P2SVpnConnectionRequest request); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, - P2SVpnConnectionRequest request); - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, - P2SVpnConnectionRequest request, Context context); -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java deleted file mode 100644 index d1f0ee14414d..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java +++ /dev/null @@ -1,160 +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.network.fluent; - -import com.azure.core.annotation.ReturnType; -import com.azure.core.annotation.ServiceMethod; -import com.azure.core.http.rest.PagedFlux; -import com.azure.core.http.rest.PagedIterable; -import com.azure.core.http.rest.Response; -import com.azure.core.util.Context; -import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in PublicIPAddressesOperationsClient. - */ -public interface PublicIPAddressesOperationsClient { - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param publicIpAddressName The publicIpAddressName parameter. - * @param expand Expands referenced resources. - * @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 public IP address in a virtual machine scale set along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand); - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param publicIpAddressName The publicIpAddressName parameter. - * @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 public IP address in a virtual machine scale set on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Mono getVirtualMachineScaleSetPublicIPAddressAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName); - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param publicIpAddressName The publicIpAddressName parameter. - * @param expand Expands referenced resources. - * @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 public IP address in a virtual machine scale set along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response getVirtualMachineScaleSetPublicIPAddressWithResponse(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName, String expand, Context context); - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param publicIpAddressName The publicIpAddressName parameter. - * @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 public IP address in a virtual machine scale set. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - PublicIpAddressInner getVirtualMachineScaleSetPublicIPAddress(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName); - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName); - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName); - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, Context context); -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java index e103ec10f834..6d36233202e2 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java @@ -986,4 +986,145 @@ PagedIterable listVirtualMachineScaleSetPublicIPAddresses( @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, String virtualMachineScaleSetName, Context context); + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @param expand Expands referenced resources. + * @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 public IP address in a virtual machine scale set along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand); + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @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 public IP address in a virtual machine scale set on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getVirtualMachineScaleSetPublicIPAddressAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName); + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @param expand Expands referenced resources. + * @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 public IP address in a virtual machine scale set along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getVirtualMachineScaleSetPublicIPAddressWithResponse(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName, String expand, Context context); + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @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 public IP address in a virtual machine scale set. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + PublicIpAddressInner getVirtualMachineScaleSetPublicIPAddress(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName); + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName); + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName); + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java index c55dfbae879b..97e6a712695e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java @@ -127,13 +127,11 @@ import com.azure.resourcemanager.network.fluent.NetworkWatchersClient; import com.azure.resourcemanager.network.fluent.OperationsClient; import com.azure.resourcemanager.network.fluent.P2SVpnGatewaysClient; -import com.azure.resourcemanager.network.fluent.P2sVpnGatewaysOperationsClient; import com.azure.resourcemanager.network.fluent.PacketCapturesClient; import com.azure.resourcemanager.network.fluent.PeerExpressRouteCircuitConnectionsClient; import com.azure.resourcemanager.network.fluent.PrivateDnsZoneGroupsClient; import com.azure.resourcemanager.network.fluent.PrivateEndpointsClient; import com.azure.resourcemanager.network.fluent.PrivateLinkServicesClient; -import com.azure.resourcemanager.network.fluent.PublicIPAddressesOperationsClient; import com.azure.resourcemanager.network.fluent.PublicIpAddressesClient; import com.azure.resourcemanager.network.fluent.PublicIpPrefixesClient; import com.azure.resourcemanager.network.fluent.ReachabilityAnalysisIntentsClient; @@ -1616,20 +1614,6 @@ public ServiceGatewaysClient getServiceGateways() { return this.serviceGateways; } - /** - * The PublicIPAddressesOperationsClient object to access its operations. - */ - private final PublicIPAddressesOperationsClient publicIPAddressesOperations; - - /** - * Gets the PublicIPAddressesOperationsClient object to access its operations. - * - * @return the PublicIPAddressesOperationsClient object. - */ - public PublicIPAddressesOperationsClient getPublicIPAddressesOperations() { - return this.publicIPAddressesOperations; - } - /** * The ApplicationGatewayPrivateLinkResourcesClient object to access its operations. */ @@ -2261,20 +2245,6 @@ public NatRulesClient getNatRules() { return this.natRules; } - /** - * The P2sVpnGatewaysOperationsClient object to access its operations. - */ - private final P2sVpnGatewaysOperationsClient p2sVpnGatewaysOperations; - - /** - * Gets the P2sVpnGatewaysOperationsClient object to access its operations. - * - * @return the P2sVpnGatewaysOperationsClient object. - */ - public P2sVpnGatewaysOperationsClient getP2sVpnGatewaysOperations() { - return this.p2sVpnGatewaysOperations; - } - /** * The ExpressRouteConnectionsClient object to access its operations. */ @@ -2640,7 +2610,6 @@ public UsagesClient getUsages() { this.webApplicationFirewallPolicies = new WebApplicationFirewallPoliciesClientImpl(this); this.virtualNetworkAppliances = new VirtualNetworkAppliancesClientImpl(this); this.serviceGateways = new ServiceGatewaysClientImpl(this); - this.publicIPAddressesOperations = new PublicIPAddressesOperationsClientImpl(this); this.applicationGatewayPrivateLinkResources = new ApplicationGatewayPrivateLinkResourcesClientImpl(this); this.applicationGatewayWafDynamicManifestsDefaults = new ApplicationGatewayWafDynamicManifestsDefaultsClientImpl(this); @@ -2689,7 +2658,6 @@ public UsagesClient getUsages() { this.vpnConnections = new VpnConnectionsClientImpl(this); this.vpnLinkConnections = new VpnLinkConnectionsClientImpl(this); this.natRules = new NatRulesClientImpl(this); - this.p2sVpnGatewaysOperations = new P2sVpnGatewaysOperationsClientImpl(this); this.expressRouteConnections = new ExpressRouteConnectionsClientImpl(this); this.virtualHubBgpConnections = new VirtualHubBgpConnectionsClientImpl(this); this.virtualHubIpConfigurations = new VirtualHubIpConfigurationsClientImpl(this); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java index f98ad40d2642..d833ca17aea4 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java @@ -4,18 +4,27 @@ package com.azure.resourcemanager.network.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.Post; +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; @@ -25,7 +34,17 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.network.fluent.P2SVpnGatewaysClient; +import com.azure.resourcemanager.network.fluent.models.P2SVpnConnectionHealthInner; import com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner; +import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; +import com.azure.resourcemanager.network.implementation.models.ListP2SVpnGatewaysResult; +import com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest; +import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; +import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; +import com.azure.resourcemanager.network.models.TagsObject; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; +import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -33,7 +52,8 @@ /** * An instance of this class provides access to all the operations defined in P2SVpnGatewaysClient. */ -public final class P2SVpnGatewaysClientImpl implements P2SVpnGatewaysClient { +public final class P2SVpnGatewaysClientImpl implements InnerSupportsGet, + InnerSupportsListing, InnerSupportsDelete, P2SVpnGatewaysClient { /** * The proxy service used to perform REST calls. */ @@ -62,6 +82,59 @@ public final class P2SVpnGatewaysClientImpl implements P2SVpnGatewaysClient { @Host("{endpoint}") @ServiceInterface(name = "NetworkManagementClientP2SVpnGateways") public interface P2SVpnGatewaysService { + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") + @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("gatewayName") String gatewayName, + @HeaderParam("Accept") String accept, Context context); + + @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") + @ExpectedResponses({ 200, 201 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); + + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> updateTags(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") TagsObject p2SVpnGatewayParameters, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") + @ExpectedResponses({ 200, 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("gatewayName") String gatewayName, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways") + @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}/providers/Microsoft.Network/p2svpnGateways") + @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" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset") @ExpectedResponses({ 200, 202 }) @@ -70,20 +143,74 @@ Mono>> reset(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, @HeaderParam("Accept") String accept, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> generateVpnProfile(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") P2SVpnProfileParameters parameters, Context context); + + @Headers({ "Content-Type: application/json" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> getP2sVpnConnectionHealth(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Accept") String accept, Context context); + + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> getP2sVpnConnectionHealthDetailed(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") P2SVpnConnectionHealthRequest request, Context context); + + @Headers({ "Accept: application/json;q=0.9" }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> disconnectP2sVpnConnections(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("p2sVpnGatewayName") String p2sVpnGatewayName, @HeaderParam("Content-Type") String contentType, + @BodyParam("application/json") P2SVpnConnectionRequest request, 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) + Mono> listNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); } /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Retrieves the details of a virtual wan p2s vpn gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. * @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} on successful completion of {@link Mono}. + * @return p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName) { + public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String gatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -102,13 +229,13 @@ public Mono>> resetWithResponseAsync(String resourceGr final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.reset(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Retrieves the details of a virtual wan p2s vpn gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. @@ -116,11 +243,141 @@ public Mono>> resetWithResponseAsync(String resourceGr * @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} on successful completion of {@link Mono}. + * @return p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName, + private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, + String gatewayName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, accept, context); + } + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getByResourceGroupAsync(String resourceGroupName, String gatewayName) { + return getByResourceGroupWithResponseAsync(resourceGroupName, gatewayName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, gatewayName, context).block(); + } + + /** + * Retrieves the details of a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName) { + return getByResourceGroupWithResponse(resourceGroupName, gatewayName, Context.NONE).getValue(); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (p2SVpnGatewayParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); + } else { + p2SVpnGatewayParameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, + p2SVpnGatewayParameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -136,144 +393,2109 @@ private Mono>> resetWithResponseAsync(String resourceG if (gatewayName == null) { return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); } + if (p2SVpnGatewayParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); + } else { + p2SVpnGatewayParameters.validate(); + } final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.reset(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - gatewayName, accept, context); + return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, p2SVpnGatewayParameters, context); } /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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. + * @return the {@link PollerFlux} for polling of p2SVpnGateway Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, - String gatewayName) { - Mono>> mono = resetWithResponseAsync(resourceGroupName, gatewayName); + public PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync( + String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters); return this.client.getLroResult(mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); } /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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 PollerFlux} for polling of long-running operation. + * @return the {@link PollerFlux} for polling of p2SVpnGateway Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, - String gatewayName, Context context) { + private PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync( + String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { context = this.client.mergeContext(context); - Mono>> mono = resetWithResponseAsync(resourceGroupName, gatewayName, context); + Mono>> mono + = createOrUpdateWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); } /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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. + * @return the {@link SyncPoller} for polling of p2SVpnGateway Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginReset(String resourceGroupName, - String gatewayName) { - return this.beginResetAsync(resourceGroupName, gatewayName).getSyncPoller(); + public SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { + return this.beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).getSyncPoller(); } /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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. + * @return the {@link SyncPoller} for polling of p2SVpnGateway Resource. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginReset(String resourceGroupName, - String gatewayName, Context context) { - return this.beginResetAsync(resourceGroupName, gatewayName, context).getSyncPoller(); + public SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, + String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { + return this.beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context) + .getSyncPoller(); } /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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 on successful completion of {@link Mono}. + * @return p2SVpnGateway Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono resetAsync(String resourceGroupName, String gatewayName) { - return beginResetAsync(resourceGroupName, gatewayName).last().flatMap(this.client::getLroFinalResultOrError); + public Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters) { + return beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).last() + .flatMap(this.client::getLroFinalResultOrError); } /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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 on successful completion of {@link Mono}. + * @return p2SVpnGateway Resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono resetAsync(String resourceGroupName, String gatewayName, Context context) { - return beginResetAsync(resourceGroupName, gatewayName, context).last() + private Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { + return beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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. + * @return p2SVpnGateway Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName) { - return resetAsync(resourceGroupName, gatewayName).block(); + public P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters) { + return createOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).block(); } /** - * Resets the primary of the p2s vpn gateway in the specified resource group. + * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. * @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. + * @return p2SVpnGateway Resource. */ @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName, Context context) { - return resetAsync(resourceGroupName, gatewayName, context).block(); + public P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, + P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { + return createOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).block(); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (p2SVpnGatewayParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); + } else { + p2SVpnGatewayParameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, p2SVpnGatewayParameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (p2SVpnGatewayParameters == null) { + return Mono.error( + new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); + } else { + p2SVpnGatewayParameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, p2SVpnGatewayParameters, context); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters) { + Mono>> mono + = updateTagsWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 PollerFlux} for polling of p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync( + String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = updateTagsWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters) { + return this.beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).getSyncPoller(); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, + String gatewayName, TagsObject p2SVpnGatewayParameters, Context context) { + return this.beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context) + .getSyncPoller(); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono updateTagsAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters) { + return beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono updateTagsAsync(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters, Context context) { + return beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters) { + return updateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).block(); + } + + /** + * Updates virtual wan p2s vpn gateway tags. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @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 p2SVpnGateway Resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, + TagsObject p2SVpnGatewayParameters, Context context) { + return updateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).block(); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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) + public Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + context = this.client.mergeContext(context); + return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, context); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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) + public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName) { + Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName) { + return this.beginDeleteAsync(resourceGroupName, gatewayName).getSyncPoller(); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName, + Context context) { + return this.beginDeleteAsync(resourceGroupName, gatewayName, context).getSyncPoller(); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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) + public Mono deleteAsync(String resourceGroupName, String gatewayName) { + return beginDeleteAsync(resourceGroupName, gatewayName).last().flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String gatewayName, Context context) { + return beginDeleteAsync(resourceGroupName, gatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName) { + deleteAsync(resourceGroupName, gatewayName).block(); + } + + /** + * Deletes a virtual wan p2s vpn gateway. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 gatewayName, Context context) { + deleteAsync(resourceGroupName, gatewayName, context).block(); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, + 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 all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), + nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync() { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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 all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list() { + return new PagedIterable<>(listAsync()); + } + + /** + * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(Context context) { + return new PagedIterable<>(listAsync(context)); + } + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.reset(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.reset(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, + gatewayName, accept, context); + } + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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) + public PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, + String gatewayName) { + Mono>> mono = resetWithResponseAsync(resourceGroupName, gatewayName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); + } + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, + String gatewayName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = resetWithResponseAsync(resourceGroupName, gatewayName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); + } + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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, P2SVpnGatewayInner> beginReset(String resourceGroupName, + String gatewayName) { + return this.beginResetAsync(resourceGroupName, gatewayName).getSyncPoller(); + } + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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, P2SVpnGatewayInner> beginReset(String resourceGroupName, + String gatewayName, Context context) { + return this.beginResetAsync(resourceGroupName, gatewayName, context).getSyncPoller(); + } + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resetAsync(String resourceGroupName, String gatewayName) { + return beginResetAsync(resourceGroupName, gatewayName).last().flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono resetAsync(String resourceGroupName, String gatewayName, Context context) { + return beginResetAsync(resourceGroupName, gatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName) { + return resetAsync(resourceGroupName, gatewayName).block(); + } + + /** + * Resets the primary of the p2s vpn gateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName, Context context) { + return resetAsync(resourceGroupName, gatewayName, context).block(); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnProfileParameters parameters) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.generateVpnProfile(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, parameters, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnProfileParameters parameters, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (parameters == null) { + return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + } else { + parameters.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.generateVpnProfile(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, contentType, accept, parameters, context); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, VpnProfileResponseInner> + beginGenerateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) { + Mono>> mono + = generateVpnProfileWithResponseAsync(resourceGroupName, gatewayName, parameters); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, + this.client.getContext()); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, VpnProfileResponseInner> beginGenerateVpnProfileAsync( + String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = generateVpnProfileWithResponseAsync(resourceGroupName, gatewayName, parameters, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, context); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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, VpnProfileResponseInner> + beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) { + return this.beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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, VpnProfileResponseInner> beginGenerateVpnProfile( + String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context) { + return this.beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters) { + return beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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 on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters, Context context) { + return beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters) { + return generateVpnProfileAsync(resourceGroupName, gatewayName, parameters).block(); + } + + /** + * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. + * @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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, + P2SVpnProfileParameters parameters, Context context) { + return generateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).block(); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group + * along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, + String gatewayName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getP2sVpnConnectionHealth(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group + * along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, + String gatewayName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getP2sVpnConnectionHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + resourceGroupName, gatewayName, accept, context); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { + Mono>> mono + = getP2sVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 PollerFlux} for polling of the connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = getP2sVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName) { + return this.beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).getSyncPoller(); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 the connection health of P2S clients of the virtual wan + * P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnGatewayInner> + beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { + return this.beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).getSyncPoller(); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { + return beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, + Context context) { + return beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName) { + return getP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).block(); + } + + /** + * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { + return getP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).block(); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, + String gatewayName, P2SVpnConnectionHealthRequest request) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (request == null) { + return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); + } else { + request.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.getP2sVpnConnectionHealthDetailed(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, request, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync( + String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (gatewayName == null) { + return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); + } + if (request == null) { + return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); + } else { + request.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getP2sVpnConnectionHealthDetailed(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, request, context); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request) { + Mono>> mono + = getP2sVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, + this.client.getContext()); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 PollerFlux} for polling of the sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = getP2sVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request, context); + return this.client.getLroResult(mono, + this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, + context); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request) { + return this.beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request) + .getSyncPoller(); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 the sas url to get the connection health detail of P2S clients of + * the virtual wan P2SVpnGateway in the specified resource group. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, P2SVpnConnectionHealthInner> + beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request, Context context) { + return this.beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context) + .getSyncPoller(); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, + String gatewayName, P2SVpnConnectionHealthRequest request) { + return beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, + String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { + return beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request) { + return getP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).block(); + } + + /** + * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param gatewayName The name of the gateway. + * @param request Request parameters supplied to get p2s vpn connections detailed health. + * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the + * specified resource group. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthRequest request, Context context) { + return getP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).block(); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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) + public Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (p2sVpnGatewayName == null) { + return Mono + .error(new IllegalArgumentException("Parameter p2sVpnGatewayName is required and cannot be null.")); + } + if (request == null) { + return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); + } else { + request.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + return FluxUtil + .withContext(context -> service.disconnectP2sVpnConnections(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, p2sVpnGatewayName, contentType, request, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (p2sVpnGatewayName == null) { + return Mono + .error(new IllegalArgumentException("Parameter p2sVpnGatewayName is required and cannot be null.")); + } + if (request == null) { + return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); + } else { + request.validate(); + } + final String apiVersion = "2025-05-01"; + final String contentType = "application/json"; + context = this.client.mergeContext(context); + return service.disconnectP2sVpnConnections(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, p2sVpnGatewayName, contentType, request, context); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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) + public PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request) { + Mono>> mono + = disconnectP2sVpnConnectionsWithResponseAsync(resourceGroupName, p2sVpnGatewayName, request); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { + context = this.client.mergeContext(context); + Mono>> mono + = disconnectP2sVpnConnectionsWithResponseAsync(resourceGroupName, p2sVpnGatewayName, request, context); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + context); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request) { + return this.beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request) + .getSyncPoller(); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, + String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { + return this.beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context) + .getSyncPoller(); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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) + public Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request) { + return beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request, Context context) { + return beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request) { + disconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request).block(); + } + + /** + * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. + * @param request The parameters are supplied to disconnect p2s vpn connections. + * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + P2SVpnConnectionRequest request, Context context) { + disconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context).block(); + } + + /** + * 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + 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. + * @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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, + Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return 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)); + } + + /** + * 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.listNext(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. + * @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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.listNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java deleted file mode 100644 index 841f6f0a50a9..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java +++ /dev/null @@ -1,2287 +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.network.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.Post; -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.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.network.fluent.P2sVpnGatewaysOperationsClient; -import com.azure.resourcemanager.network.fluent.models.P2SVpnConnectionHealthInner; -import com.azure.resourcemanager.network.fluent.models.P2SVpnGatewayInner; -import com.azure.resourcemanager.network.fluent.models.VpnProfileResponseInner; -import com.azure.resourcemanager.network.implementation.models.ListP2SVpnGatewaysResult; -import com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest; -import com.azure.resourcemanager.network.models.P2SVpnConnectionRequest; -import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; -import com.azure.resourcemanager.network.models.TagsObject; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet; -import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing; -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 P2sVpnGatewaysOperationsClient. - */ -public final class P2sVpnGatewaysOperationsClientImpl implements InnerSupportsGet, - InnerSupportsListing, InnerSupportsDelete, P2sVpnGatewaysOperationsClient { - /** - * The proxy service used to perform REST calls. - */ - private final P2sVpnGatewaysOperationsService service; - - /** - * The service client containing this operation class. - */ - private final NetworkManagementClientImpl client; - - /** - * Initializes an instance of P2sVpnGatewaysOperationsClientImpl. - * - * @param client the instance of the service client containing this operation class. - */ - P2sVpnGatewaysOperationsClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(P2sVpnGatewaysOperationsService.class, client.getHttpPipeline(), - client.getSerializerAdapter()); - this.client = client; - } - - /** - * The interface defining all the services for NetworkManagementClientP2sVpnGatewaysOperations to be used by the - * proxy service to perform REST calls. - */ - @Host("{endpoint}") - @ServiceInterface(name = "NetworkManagementClientP2sVpnGatewaysOperations") - public interface P2sVpnGatewaysOperationsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") - @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("gatewayName") String gatewayName, - @HeaderParam("Accept") String accept, Context context); - - @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") - @ExpectedResponses({ 200, 201 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") P2SVpnGatewayInner p2SVpnGatewayParameters, Context context); - - @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateTags(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") TagsObject p2SVpnGatewayParameters, Context context); - - @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) - @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}") - @ExpectedResponses({ 200, 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("gatewayName") String gatewayName, - Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways") - @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}/providers/Microsoft.Network/p2svpnGateways") - @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); - - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> generateVpnProfile(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") P2SVpnProfileParameters parameters, Context context); - - @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getP2sVpnConnectionHealth(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @HeaderParam("Accept") String accept, Context context); - - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getP2sVpnConnectionHealthDetailed(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") P2SVpnConnectionHealthRequest request, Context context); - - @Headers({ "Accept: application/json;q=0.9" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections") - @ExpectedResponses({ 200, 202 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> disconnectP2sVpnConnections(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("p2sVpnGatewayName") String p2sVpnGatewayName, @HeaderParam("Content-Type") String contentType, - @BodyParam("application/json") P2SVpnConnectionRequest request, 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) - Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, - @HeaderParam("Accept") String accept, Context context); - } - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String gatewayName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, - String gatewayName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, gatewayName, accept, context); - } - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getByResourceGroupAsync(String resourceGroupName, String gatewayName) { - return getByResourceGroupWithResponseAsync(resourceGroupName, gatewayName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, - Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, gatewayName, context).block(); - } - - /** - * Retrieves the details of a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName) { - return getByResourceGroupWithResponse(resourceGroupName, gatewayName, Context.NONE).getValue(); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (p2SVpnGatewayParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); - } else { - p2SVpnGatewayParameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, - p2SVpnGatewayParameters, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (p2SVpnGatewayParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); - } else { - p2SVpnGatewayParameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.createOrUpdate(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, gatewayName, contentType, accept, p2SVpnGatewayParameters, context); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync( - String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 PollerFlux} for polling of p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, P2SVpnGatewayInner> beginCreateOrUpdateAsync( - String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = createOrUpdateWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) { - return this.beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).getSyncPoller(); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, - String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { - return this.beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context) - .getSyncPoller(); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters) { - return beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters) { - return createOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).block(); - } - - /** - * Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to create or Update a virtual wan p2s vpn gateway. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, - P2SVpnGatewayInner p2SVpnGatewayParameters, Context context) { - return createOrUpdateAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).block(); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (p2SVpnGatewayParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); - } else { - p2SVpnGatewayParameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, gatewayName, contentType, accept, p2SVpnGatewayParameters, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (p2SVpnGatewayParameters == null) { - return Mono.error( - new IllegalArgumentException("Parameter p2SVpnGatewayParameters is required and cannot be null.")); - } else { - p2SVpnGatewayParameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.updateTags(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, gatewayName, contentType, accept, p2SVpnGatewayParameters, context); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters) { - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 PollerFlux} for polling of p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, P2SVpnGatewayInner> beginUpdateTagsAsync( - String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = updateTagsWithResponseAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters) { - return this.beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).getSyncPoller(); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, - String gatewayName, TagsObject p2SVpnGatewayParameters, Context context) { - return this.beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context) - .getSyncPoller(); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono updateTagsAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters) { - return beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono updateTagsAsync(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters, Context context) { - return beginUpdateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters) { - return updateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters).block(); - } - - /** - * Updates virtual wan p2s vpn gateway tags. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @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 p2SVpnGateway Resource. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, - TagsObject p2SVpnGatewayParameters, Context context) { - return updateTagsAsync(resourceGroupName, gatewayName, p2SVpnGatewayParameters, context).block(); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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) - public Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - return FluxUtil - .withContext(context -> service.delete(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, gatewayName, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - context = this.client.mergeContext(context); - return service.delete(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, - gatewayName, context); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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) - public PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName) { - Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String gatewayName, - Context context) { - context = this.client.mergeContext(context); - Mono>> mono = deleteWithResponseAsync(resourceGroupName, gatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 gatewayName) { - return this.beginDeleteAsync(resourceGroupName, gatewayName).getSyncPoller(); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 gatewayName, - Context context) { - return this.beginDeleteAsync(resourceGroupName, gatewayName, context).getSyncPoller(); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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) - public Mono deleteAsync(String resourceGroupName, String gatewayName) { - return beginDeleteAsync(resourceGroupName, gatewayName).last().flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono deleteAsync(String resourceGroupName, String gatewayName, Context context) { - return beginDeleteAsync(resourceGroupName, gatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 gatewayName) { - deleteAsync(resourceGroupName, gatewayName).block(); - } - - /** - * Deletes a virtual wan p2s vpn gateway. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 gatewayName, Context context) { - deleteAsync(resourceGroupName, gatewayName, context).block(); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), apiVersion, - 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 all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listByResourceGroup(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, context), - nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, context)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), apiVersion, 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 all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.list(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), nextLink -> listNextSinglePageAsync(nextLink)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(context), - nextLink -> listNextSinglePageAsync(nextLink, context)); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(listAsync()); - } - - /** - * Lists all the P2SVpnGateways in a 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 result of the request to list P2SVpnGateways as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(listAsync(context)); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnProfileParameters parameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.generateVpnProfile(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, parameters, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> generateVpnProfileWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnProfileParameters parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (parameters == null) { - return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - } else { - parameters.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.generateVpnProfile(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, gatewayName, contentType, accept, parameters, context); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, VpnProfileResponseInner> - beginGenerateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) { - Mono>> mono - = generateVpnProfileWithResponseAsync(resourceGroupName, gatewayName, parameters); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, - this.client.getContext()); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, VpnProfileResponseInner> beginGenerateVpnProfileAsync( - String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = generateVpnProfileWithResponseAsync(resourceGroupName, gatewayName, parameters, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), VpnProfileResponseInner.class, VpnProfileResponseInner.class, context); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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, VpnProfileResponseInner> - beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) { - return this.beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters).getSyncPoller(); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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, VpnProfileResponseInner> beginGenerateVpnProfile( - String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, Context context) { - return this.beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).getSyncPoller(); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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 on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters) { - return beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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 on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono generateVpnProfileAsync(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters, Context context) { - return beginGenerateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package 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. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters) { - return generateVpnProfileAsync(resourceGroupName, gatewayName, parameters).block(); - } - - /** - * Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param parameters Parameters supplied to the generate P2SVpnGateway VPN client package operation. - * @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. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, - P2SVpnProfileParameters parameters, Context context) { - return generateVpnProfileAsync(resourceGroupName, gatewayName, parameters, context).block(); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group - * along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, - String gatewayName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getP2sVpnConnectionHealth(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group - * along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, - String gatewayName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - final String apiVersion = "2025-05-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getP2sVpnConnectionHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), - resourceGroupName, gatewayName, accept, context); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { - Mono>> mono - = getP2sVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 PollerFlux} for polling of the connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = getP2sVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), - P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName) { - return this.beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).getSyncPoller(); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 the connection health of P2S clients of the virtual wan - * P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { - return this.beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).getSyncPoller(); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { - return beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group on - * successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, - Context context) { - return beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName) { - return getP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).block(); - } - - /** - * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @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 connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { - return getP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).block(); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, - String gatewayName, P2SVpnConnectionHealthRequest request) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (request == null) { - return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); - } else { - request.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.getP2sVpnConnectionHealthDetailed(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, request, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync( - String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (gatewayName == null) { - return Mono.error(new IllegalArgumentException("Parameter gatewayName is required and cannot be null.")); - } - if (request == null) { - return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); - } else { - request.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getP2sVpnConnectionHealthDetailed(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, request, context); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request) { - Mono>> mono - = getP2sVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, - this.client.getContext()); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 PollerFlux} for polling of the sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = getP2sVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request, context); - return this.client.getLroResult(mono, - this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, - context); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request) { - return this.beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request) - .getSyncPoller(); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 the sas url to get the connection health detail of P2S clients of - * the virtual wan P2SVpnGateway in the specified resource group. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request, Context context) { - return this.beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context) - .getSyncPoller(); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, - String gatewayName, P2SVpnConnectionHealthRequest request) { - return beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, - String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { - return beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request) { - return getP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).block(); - } - - /** - * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param gatewayName The name of the gateway. - * @param request Request parameters supplied to get p2s vpn connections detailed health. - * @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 sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the - * specified resource group. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, - P2SVpnConnectionHealthRequest request, Context context) { - return getP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).block(); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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) - public Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, - String p2sVpnGatewayName, P2SVpnConnectionRequest request) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (p2sVpnGatewayName == null) { - return Mono - .error(new IllegalArgumentException("Parameter p2sVpnGatewayName is required and cannot be null.")); - } - if (request == null) { - return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); - } else { - request.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - return FluxUtil - .withContext(context -> service.disconnectP2sVpnConnections(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, p2sVpnGatewayName, contentType, request, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, - String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (p2sVpnGatewayName == null) { - return Mono - .error(new IllegalArgumentException("Parameter p2sVpnGatewayName is required and cannot be null.")); - } - if (request == null) { - return Mono.error(new IllegalArgumentException("Parameter request is required and cannot be null.")); - } else { - request.validate(); - } - final String apiVersion = "2025-05-01"; - final String contentType = "application/json"; - context = this.client.mergeContext(context); - return service.disconnectP2sVpnConnections(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, p2sVpnGatewayName, contentType, request, context); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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) - public PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, - String p2sVpnGatewayName, P2SVpnConnectionRequest request) { - Mono>> mono - = disconnectP2sVpnConnectionsWithResponseAsync(resourceGroupName, p2sVpnGatewayName, request); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 PollerFlux} for polling of long-running operation. - */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, - String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { - context = this.client.mergeContext(context); - Mono>> mono - = disconnectP2sVpnConnectionsWithResponseAsync(resourceGroupName, p2sVpnGatewayName, request, context); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - context); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, - String p2sVpnGatewayName, P2SVpnConnectionRequest request) { - return this.beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request) - .getSyncPoller(); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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> beginDisconnectP2sVpnConnections(String resourceGroupName, - String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { - return this.beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context) - .getSyncPoller(); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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) - public Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, - P2SVpnConnectionRequest request) { - return beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 A {@link Mono} that completes when a successful response is received. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, - P2SVpnConnectionRequest request, Context context) { - return beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, - P2SVpnConnectionRequest request) { - disconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request).block(); - } - - /** - * Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param p2sVpnGatewayName The name of the P2S Vpn Gateway. - * @param request The parameters are supplied to disconnect p2s vpn connections. - * @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 disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, - P2SVpnConnectionRequest request, Context context) { - disconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context).block(); - } - - /** - * 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - 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. - * @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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupNextSinglePageAsync(String nextLink, - Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return 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)); - } - - /** - * 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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(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. - * @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 result of the request to list P2SVpnGateways along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink, Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.listNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java deleted file mode 100644 index 1fd18727f98b..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java +++ /dev/null @@ -1,572 +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.network.implementation; - -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.PathParam; -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.util.Context; -import com.azure.core.util.FluxUtil; -import com.azure.resourcemanager.network.fluent.PublicIPAddressesOperationsClient; -import com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner; -import com.azure.resourcemanager.network.implementation.models.PublicIPAddressListResult; -import reactor.core.publisher.Mono; - -/** - * An instance of this class provides access to all the operations defined in PublicIPAddressesOperationsClient. - */ -public final class PublicIPAddressesOperationsClientImpl implements PublicIPAddressesOperationsClient { - /** - * The proxy service used to perform REST calls. - */ - private final PublicIPAddressesOperationsService service; - - /** - * The service client containing this operation class. - */ - private final NetworkManagementClientImpl client; - - /** - * Initializes an instance of PublicIPAddressesOperationsClientImpl. - * - * @param client the instance of the service client containing this operation class. - */ - PublicIPAddressesOperationsClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(PublicIPAddressesOperationsService.class, client.getHttpPipeline(), - client.getSerializerAdapter()); - this.client = client; - } - - /** - * The interface defining all the services for NetworkManagementClientPublicIPAddressesOperations to be used by the - * proxy service to perform REST calls. - */ - @Host("{endpoint}") - @ServiceInterface(name = "NetworkManagementClientPublicIPAddressesOperations") - public interface PublicIPAddressesOperationsService { - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getVirtualMachineScaleSetPublicIPAddress( - @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @PathParam("virtualmachineIndex") String virtualmachineIndex, - @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("ipConfigurationName") String ipConfigurationName, - @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("$expand") String expand, - @HeaderParam("Accept") String accept, Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetVMPublicIPAddresses( - @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, - @PathParam("virtualmachineIndex") String virtualmachineIndex, - @PathParam("networkInterfaceName") String networkInterfaceName, - @PathParam("ipConfigurationName") String ipConfigurationName, @HeaderParam("Accept") String accept, - Context context); - - @Headers({ "Content-Type: application/json" }) - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetVMPublicIPAddressesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, - @HeaderParam("Accept") String accept, Context context); - } - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param publicIpAddressName The publicIpAddressName parameter. - * @param expand Expands referenced resources. - * @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 public IP address in a virtual machine scale set along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - if (publicIpAddressName == null) { - return Mono - .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.getVirtualMachineScaleSetPublicIPAddress(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, - networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context)) - .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); - } - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param publicIpAddressName The publicIpAddressName parameter. - * @param expand Expands referenced resources. - * @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 public IP address in a virtual machine scale set along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, - Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - if (publicIpAddressName == null) { - return Mono - .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service.getVirtualMachineScaleSetPublicIPAddress(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, - networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context); - } - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param publicIpAddressName The publicIpAddressName parameter. - * @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 public IP address in a virtual machine scale set on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getVirtualMachineScaleSetPublicIPAddressAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName) { - final String expand = null; - return getVirtualMachineScaleSetPublicIPAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); - } - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param publicIpAddressName The publicIpAddressName parameter. - * @param expand Expands referenced resources. - * @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 public IP address in a virtual machine scale set along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getVirtualMachineScaleSetPublicIPAddressWithResponse(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName, String expand, Context context) { - return getVirtualMachineScaleSetPublicIPAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, context) - .block(); - } - - /** - * Get the specified public IP address in a virtual machine scale set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @param publicIpAddressName The publicIpAddressName parameter. - * @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 public IP address in a virtual machine scale set. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner getVirtualMachineScaleSetPublicIPAddress(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, String publicIpAddressName) { - final String expand = null; - return getVirtualMachineScaleSetPublicIPAddressWithResponse(resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, Context.NONE) - .getValue(); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetVMPublicIPAddresses(this.client.getEndpoint(), - apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, - virtualmachineIndex, networkInterfaceName, ipConfigurationName, 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())); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync( - String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, - String networkInterfaceName, String ipConfigurationName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (virtualMachineScaleSetName == null) { - return Mono.error( - new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); - } - if (virtualmachineIndex == null) { - return Mono - .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); - } - if (networkInterfaceName == null) { - return Mono - .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); - } - if (ipConfigurationName == null) { - return Mono - .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); - } - final String apiVersion = "2018-10-01"; - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetVMPublicIPAddresses(this.client.getEndpoint(), apiVersion, - this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, - networkInterfaceName, ipConfigurationName, accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName), - nextLink -> listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(nextLink)); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, Context context) { - return new PagedFlux<>( - () -> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, context), - nextLink -> listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(nextLink, context)); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName) { - return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIPAddressesAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName)); - } - - /** - * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale - * set. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. - * @param virtualmachineIndex The virtualmachineIndex parameter. - * @param networkInterfaceName The networkInterfaceName parameter. - * @param ipConfigurationName The ipConfigurationName parameter. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, - String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, - String ipConfigurationName, Context context) { - return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIPAddressesAsync(resourceGroupName, - virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, 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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(String nextLink) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetVMPublicIPAddressesNext(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. - * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine - * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { - if (nextLink == null) { - return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - final String accept = "application/json"; - context = this.client.mergeContext(context); - return service - .listVirtualMachineScaleSetVMPublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - res.getValue().value(), res.getValue().nextLink(), null)); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java index f4ba21233952..38b29c1763a3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java @@ -217,6 +217,35 @@ Mono> listVirtualMachineScaleSetPublicIPAddr @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, @HeaderParam("Accept") String accept, Context context); + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getVirtualMachineScaleSetPublicIPAddress( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @PathParam("virtualmachineIndex") String virtualmachineIndex, + @PathParam("networkInterfaceName") String networkInterfaceName, + @PathParam("ipConfigurationName") String ipConfigurationName, + @PathParam("publicIpAddressName") String publicIpAddressName, @QueryParam("$expand") String expand, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listVirtualMachineScaleSetVMPublicIPAddresses( + @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("virtualMachineScaleSetName") String virtualMachineScaleSetName, + @PathParam("virtualmachineIndex") String virtualmachineIndex, + @PathParam("networkInterfaceName") String networkInterfaceName, + @PathParam("ipConfigurationName") String ipConfigurationName, @HeaderParam("Accept") String accept, + Context context); + @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @@ -256,6 +285,14 @@ Mono> listCloudServicePublicIPAddressesNext( Mono> listVirtualMachineScaleSetPublicIPAddressesNext( @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> listVirtualMachineScaleSetVMPublicIPAddressesNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); } /** @@ -2687,6 +2724,418 @@ public PagedIterable listVirtualMachineScaleSetPublicIPAdd listVirtualMachineScaleSetPublicIPAddressesAsync(resourceGroupName, virtualMachineScaleSetName, context)); } + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @param expand Expands referenced resources. + * @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 public IP address in a virtual machine scale set along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + if (publicIpAddressName == null) { + return Mono + .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.getVirtualMachineScaleSetPublicIPAddress(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @param expand Expands referenced resources. + * @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 public IP address in a virtual machine scale set along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + if (publicIpAddressName == null) { + return Mono + .error(new IllegalArgumentException("Parameter publicIpAddressName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service.getVirtualMachineScaleSetPublicIPAddress(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context); + } + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @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 public IP address in a virtual machine scale set on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getVirtualMachineScaleSetPublicIPAddressAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName) { + final String expand = null; + return getVirtualMachineScaleSetPublicIPAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @param expand Expands referenced resources. + * @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 public IP address in a virtual machine scale set along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getVirtualMachineScaleSetPublicIPAddressWithResponse(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName, String expand, Context context) { + return getVirtualMachineScaleSetPublicIPAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, context) + .block(); + } + + /** + * Get the specified public IP address in a virtual machine scale set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @param publicIpAddressName The publicIpAddressName parameter. + * @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 public IP address in a virtual machine scale set. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public PublicIpAddressInner getVirtualMachineScaleSetPublicIPAddress(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, String publicIpAddressName) { + final String expand = null; + return getVirtualMachineScaleSetPublicIPAddressWithResponse(resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, Context.NONE) + .getValue(); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listVirtualMachineScaleSetVMPublicIPAddresses(this.client.getEndpoint(), + apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, + virtualmachineIndex, networkInterfaceName, ipConfigurationName, 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())); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync( + String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, + String networkInterfaceName, String ipConfigurationName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono.error(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (virtualMachineScaleSetName == null) { + return Mono.error( + new IllegalArgumentException("Parameter virtualMachineScaleSetName is required and cannot be null.")); + } + if (virtualmachineIndex == null) { + return Mono + .error(new IllegalArgumentException("Parameter virtualmachineIndex is required and cannot be null.")); + } + if (networkInterfaceName == null) { + return Mono + .error(new IllegalArgumentException("Parameter networkInterfaceName is required and cannot be null.")); + } + if (ipConfigurationName == null) { + return Mono + .error(new IllegalArgumentException("Parameter ipConfigurationName is required and cannot be null.")); + } + final String apiVersion = "2025-05-01"; + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetVMPublicIPAddresses(this.client.getEndpoint(), apiVersion, + this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, + networkInterfaceName, ipConfigurationName, accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName), + nextLink -> listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(nextLink)); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, Context context) { + return new PagedFlux<>( + () -> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, context), + nextLink -> listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(nextLink, context)); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName) { + return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIPAddressesAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName)); + } + + /** + * Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale + * set. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param virtualMachineScaleSetName The virtualMachineScaleSetName parameter. + * @param virtualmachineIndex The virtualmachineIndex parameter. + * @param networkInterfaceName The networkInterfaceName parameter. + * @param ipConfigurationName The ipConfigurationName parameter. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, + String ipConfigurationName, Context context) { + return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIPAddressesAsync(resourceGroupName, + virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, context)); + } + /** * Get the next page of items. * @@ -2966,4 +3415,62 @@ private Mono> listAllNextSinglePageAsync(Str .map(res -> 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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listVirtualMachineScaleSetVMPublicIPAddressesNext(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. + * @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine + * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> + listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listVirtualMachineScaleSetVMPublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) + .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), + res.getValue().value(), res.getValue().nextLink(), null)); + } } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java index c959c07e486b..d35f9bb2a757 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java @@ -13,7 +13,7 @@ import java.io.IOException; /** - * The ApplicationGatewayFirewallExclusion model. + * Allow to exclude some variable satisfy the condition for the WAF check. */ @Fluent public final class ApplicationGatewayFirewallExclusion diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index 5739852bda60..afc202fb67b8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2sVpnGatewaysOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIPAddressesOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2sVpnGatewaysOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIPAddressesOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json index 9f080d75ac0b..9a0d3c6e05d8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json @@ -1 +1 @@ -[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIpPrefixesClientImpl$CustomIpPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIPConfigurationsClientImpl$LoadBalancerFrontendIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIpConfigurationsClientImpl$NetworkInterfaceIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkManagementClientImpl$NetworkManagementClientService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.P2sVpnGatewaysOperationsClientImpl$P2sVpnGatewaysOperationsService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIPAddressesOperationsClientImpl$PublicIPAddressesOperationsService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2sClientImpl$VirtualHubRouteTableV2sService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file +[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIpPrefixesClientImpl$CustomIpPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIPConfigurationsClientImpl$LoadBalancerFrontendIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIpConfigurationsClientImpl$NetworkInterfaceIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkManagementClientImpl$NetworkManagementClientService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2sClientImpl$VirtualHubRouteTableV2sService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysCreateOrUpdateSamples.java similarity index 96% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationCreateOrUpdateSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysCreateOrUpdateSamples.java index a54341420785..3ad1552cbc41 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationCreateOrUpdateSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysCreateOrUpdateSamples.java @@ -16,9 +16,9 @@ import java.util.Map; /** - * Samples for P2sVpnGatewaysOperation CreateOrUpdate. + * Samples for P2SVpnGateways CreateOrUpdate. */ -public final class P2sVpnGatewaysOperationCreateOrUpdateSamples { +public final class P2SVpnGatewaysCreateOrUpdateSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayPut.json */ @@ -29,7 +29,7 @@ public final class P2sVpnGatewaysOperationCreateOrUpdateSamples { */ public static void p2SVpnGatewayPut(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getP2sVpnGatewaysOperations() + .getP2SVpnGateways() .createOrUpdate("rg1", "p2sVpnGateway1", new P2SVpnGatewayInner().withLocation("West US") .withTags(mapOf("key1", "fakeTokenPlaceholder")) .withVirtualHub(new SubResource().withId( diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDeleteSamples.java similarity index 66% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDeleteSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDeleteSamples.java index 90d953c56064..510933575a63 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDeleteSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDeleteSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for P2sVpnGatewaysOperation Delete. + * Samples for P2SVpnGateways Delete. */ -public final class P2sVpnGatewaysOperationDeleteSamples { +public final class P2SVpnGatewaysDeleteSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayDelete.json */ @@ -17,8 +17,6 @@ public final class P2sVpnGatewaysOperationDeleteSamples { * @param manager Entry point to NetworkManager. */ public static void p2SVpnGatewayDelete(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getP2sVpnGatewaysOperations() - .delete("rg1", "p2sVpnGateway1", com.azure.core.util.Context.NONE); + manager.serviceClient().getP2SVpnGateways().delete("rg1", "p2sVpnGateway1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java similarity index 83% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java index 14ae77164e63..e4ccd7634de2 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java @@ -8,9 +8,9 @@ import java.util.Arrays; /** - * Samples for P2sVpnGatewaysOperation DisconnectP2sVpnConnections. + * Samples for P2SVpnGateways DisconnectP2sVpnConnections. */ -public final class P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples { +public final class P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples { /* * x-ms-original-file: 2025-05-01/P2sVpnGatewaysDisconnectP2sVpnConnections.json */ @@ -22,7 +22,7 @@ public final class P2sVpnGatewaysOperationDisconnectP2sVpnConnectionsSamples { public static void disconnectVpnConnectionsFromP2sVpnGateway(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getP2sVpnGatewaysOperations() + .getP2SVpnGateways() .disconnectP2sVpnConnections("p2s-vpn-gateway-test", "p2svpngateway", new P2SVpnConnectionRequest().withVpnConnectionIds(Arrays.asList("vpnconnId1", "vpnconnId2")), com.azure.core.util.Context.NONE); diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGenerateVpnProfileSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGenerateVpnProfileSamples.java similarity index 84% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGenerateVpnProfileSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGenerateVpnProfileSamples.java index ac502a1459fa..865b60d53345 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGenerateVpnProfileSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGenerateVpnProfileSamples.java @@ -8,9 +8,9 @@ import com.azure.resourcemanager.network.models.P2SVpnProfileParameters; /** - * Samples for P2sVpnGatewaysOperation GenerateVpnProfile. + * Samples for P2SVpnGateways GenerateVpnProfile. */ -public final class P2sVpnGatewaysOperationGenerateVpnProfileSamples { +public final class P2SVpnGatewaysGenerateVpnProfileSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayGenerateVpnProfile.json */ @@ -21,7 +21,7 @@ public final class P2sVpnGatewaysOperationGenerateVpnProfileSamples { */ public static void generateP2SVpnGatewayVPNProfile(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getP2sVpnGatewaysOperations() + .getP2SVpnGateways() .generateVpnProfile("rg1", "p2sVpnGateway1", new P2SVpnProfileParameters().withAuthenticationMethod(AuthenticationMethod.EAPTLS), com.azure.core.util.Context.NONE); diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetByResourceGroupSamples.java similarity index 79% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetByResourceGroupSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetByResourceGroupSamples.java index b47d4a2ef7ec..495794c1b5fb 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetByResourceGroupSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetByResourceGroupSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for P2sVpnGatewaysOperation GetByResourceGroup. + * Samples for P2SVpnGateways GetByResourceGroup. */ -public final class P2sVpnGatewaysOperationGetByResourceGroupSamples { +public final class P2SVpnGatewaysGetByResourceGroupSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayGet.json */ @@ -18,7 +18,7 @@ public final class P2sVpnGatewaysOperationGetByResourceGroupSamples { */ public static void p2SVpnGatewayGet(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getP2sVpnGatewaysOperations() + .getP2SVpnGateways() .getByResourceGroupWithResponse("rg1", "p2sVpnGateway1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java similarity index 86% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java index f51a922f15e2..cb70b7cc3bfd 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java @@ -8,9 +8,9 @@ import java.util.Arrays; /** - * Samples for P2sVpnGatewaysOperation GetP2sVpnConnectionHealthDetailed. + * Samples for P2SVpnGateways GetP2sVpnConnectionHealthDetailed. */ -public final class P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSamples { +public final class P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayGetConnectionHealthDetailed.json */ @@ -22,7 +22,7 @@ public final class P2sVpnGatewaysOperationGetP2sVpnConnectionHealthDetailedSampl public static void p2SVpnGatewayGetConnectionHealthDetailed(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getP2sVpnGatewaysOperations() + .getP2SVpnGateways() .getP2sVpnConnectionHealthDetailed("p2s-vpn-gateway-test", "p2svpngateway", new P2SVpnConnectionHealthRequest().withVpnUserNamesFilter(Arrays.asList("vpnUser1", "vpnUser2")) .withOutputBlobSasUrl( diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java similarity index 78% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java index 0ca1d90b3920..2f19565a78d1 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for P2sVpnGatewaysOperation GetP2sVpnConnectionHealth. + * Samples for P2SVpnGateways GetP2sVpnConnectionHealth. */ -public final class P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples { +public final class P2SVpnGatewaysGetP2sVpnConnectionHealthSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayGetConnectionHealth.json */ @@ -18,7 +18,7 @@ public final class P2sVpnGatewaysOperationGetP2sVpnConnectionHealthSamples { */ public static void p2SVpnGatewayGetConnectionHealth(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getP2sVpnGatewaysOperations() + .getP2SVpnGateways() .getP2sVpnConnectionHealth("rg1", "p2sVpnGateway1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysListByResourceGroupSamples.java similarity index 66% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListByResourceGroupSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysListByResourceGroupSamples.java index 0758ca405b2a..11ba9d139510 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListByResourceGroupSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysListByResourceGroupSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for P2sVpnGatewaysOperation ListByResourceGroup. + * Samples for P2SVpnGateways ListByResourceGroup. */ -public final class P2sVpnGatewaysOperationListByResourceGroupSamples { +public final class P2SVpnGatewaysListByResourceGroupSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayListByResourceGroup.json */ @@ -17,8 +17,6 @@ public final class P2sVpnGatewaysOperationListByResourceGroupSamples { * @param manager Entry point to NetworkManager. */ public static void p2SVpnGatewayListByResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient() - .getP2sVpnGatewaysOperations() - .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); + manager.serviceClient().getP2SVpnGateways().listByResourceGroup("rg1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysListSamples.java similarity index 72% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysListSamples.java index 6c2b50ee3c2b..c2f692797c46 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysListSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for P2sVpnGatewaysOperation List. + * Samples for P2SVpnGateways List. */ -public final class P2sVpnGatewaysOperationListSamples { +public final class P2SVpnGatewaysListSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayList.json */ @@ -17,6 +17,6 @@ public final class P2sVpnGatewaysOperationListSamples { * @param manager Entry point to NetworkManager. */ public static void p2SVpnGatewayListBySubscription(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient().getP2sVpnGatewaysOperations().list(com.azure.core.util.Context.NONE); + manager.serviceClient().getP2SVpnGateways().list(com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysUpdateTagsSamples.java similarity index 88% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationUpdateTagsSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysUpdateTagsSamples.java index b0ed0dfda396..b7ee0ea17115 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2sVpnGatewaysOperationUpdateTagsSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysUpdateTagsSamples.java @@ -9,9 +9,9 @@ import java.util.Map; /** - * Samples for P2sVpnGatewaysOperation UpdateTags. + * Samples for P2SVpnGateways UpdateTags. */ -public final class P2sVpnGatewaysOperationUpdateTagsSamples { +public final class P2SVpnGatewaysUpdateTagsSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayUpdateTags.json */ @@ -22,7 +22,7 @@ public final class P2sVpnGatewaysOperationUpdateTagsSamples { */ public static void p2SVpnGatewayUpdate(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getP2sVpnGatewaysOperations() + .getP2SVpnGateways() .updateTags("rg1", "p2sVpnGateway1", new TagsObject().withTags(mapOf("tag1", "value1", "tag2", "value2")), com.azure.core.util.Context.NONE); } From 05696aa0d6070eb3fbd783d3bb2e478d92dbe872 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 27 Mar 2026 17:18:06 +0800 Subject: [PATCH 27/33] regen --- .../CHANGELOG.md | 328 +++++++++--------- .../AvailablePrivateEndpointTypesClient.java | 12 +- ...ailableResourceGroupDelegationsClient.java | 12 +- .../fluent/ExpressRoutePortsClient.java | 8 +- ...alancerFrontendIpConfigurationsClient.java | 4 +- .../fluent/NetworkManagementClient.java | 12 +- .../network/fluent/P2SVpnGatewaysClient.java | 42 +-- .../fluent/PrivateDnsZoneGroupsClient.java | 12 +- .../fluent/PrivateLinkServicesClient.java | 48 +-- .../fluent/PublicIpAddressesClient.java | 40 +-- .../fluent/VirtualHubRouteTableV2SClient.java | 4 +- ...ailablePrivateEndpointTypesClientImpl.java | 100 ++---- ...bleResourceGroupDelegationsClientImpl.java | 66 ++-- .../ExpressRoutePortsClientImpl.java | 22 +- ...cerFrontendIpConfigurationsClientImpl.java | 22 +- .../NetworkManagementClientImpl.java | 32 +- .../P2SVpnGatewaysClientImpl.java | 126 +++---- .../PrivateDnsZoneGroupsClientImpl.java | 72 ++-- .../PrivateLinkServicesClientImpl.java | 148 +++----- .../PublicIpAddressesClientImpl.java | 204 +++++------ .../VirtualHubRouteTableV2SClientImpl.java | 20 +- ...zure-resourcemanager-network_metadata.json | 2 +- .../proxy-config.json | 2 +- ...dpointTypesListByResourceGroupSamples.java | 2 +- ...leResourceGroupDelegationsListSamples.java | 2 +- .../ExpressRoutePortsGenerateLOASamples.java | 6 +- ...cerFrontendIPConfigurationsGetSamples.java | 6 +- ...erFrontendIPConfigurationsListSamples.java | 6 +- ...aysDisconnectP2sVpnConnectionsSamples.java | 6 +- ...P2sVpnConnectionHealthDetailedSamples.java | 6 +- ...ewaysGetP2sVpnConnectionHealthSamples.java | 6 +- .../PrivateDnsZoneGroupsListSamples.java | 2 +- ...rviceVisibilityByResourceGroupSamples.java | 2 +- ...ateLinkServicesByResourceGroupSamples.java | 2 +- ...GetCloudServicePublicIPAddressSamples.java | 6 +- ...tCloudServicePublicIPAddressesSamples.java | 6 +- ...eRoleInstancePublicIPAddressesSamples.java | 6 +- ...HubRouteTableV2sCreateOrUpdateSamples.java | 6 +- .../VirtualHubRouteTableV2sDeleteSamples.java | 6 +- .../VirtualHubRouteTableV2sGetSamples.java | 6 +- .../VirtualHubRouteTableV2sListSamples.java | 6 +- 41 files changed, 645 insertions(+), 781 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index 62b38ae7f98f..9f0c8b2d903e 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -301,79 +301,79 @@ #### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified * `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access -* `withNeighbor(java.lang.String)` was removed * `withStateOrPrefixesReceived(java.lang.String)` was removed -* `withUpDown(java.lang.String)` was removed +* `withNeighbor(java.lang.String)` was removed * `withAsn(java.lang.Integer)` was removed +* `withUpDown(java.lang.String)` was removed #### `models.UsageName` was modified * `UsageName()` was changed to private access -* `withValue(java.lang.String)` was removed * `withLocalizedValue(java.lang.String)` was removed +* `withValue(java.lang.String)` was removed #### `models.SecurityRuleAssociations` was modified * `SecurityRuleAssociations()` was changed to private access +* `withEffectiveSecurityRules(java.util.List)` was removed * `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed -* `withSubnetAssociation(models.SubnetAssociation)` was removed * `withDefaultSecurityRules(java.util.List)` was removed -* `withEffectiveSecurityRules(java.util.List)` was removed +* `withSubnetAssociation(models.SubnetAssociation)` was removed #### `models.ResourceBasics` was modified * `ResourceBasics()` was changed to private access -* `withAddressPrefixes(java.util.List)` was removed * `withResourceId(java.lang.String)` was removed +* `withAddressPrefixes(java.util.List)` was removed #### `models.MatchedRule` was modified * `MatchedRule()` was changed to private access -* `withAction(java.lang.String)` was removed * `withRuleName(java.lang.String)` was removed +* `withAction(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallRule` was modified * `ApplicationGatewayFirewallRule()` was changed to private access -* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed -* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed * `withDescription(java.lang.String)` was removed -* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed * `withRuleIdString(java.lang.String)` was removed +* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed +* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed * `withRuleId(int)` was removed +* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed #### `models.VpnGatewayIpConfiguration` was modified * `VpnGatewayIpConfiguration()` was changed to private access * `withPrivateIpAddress(java.lang.String)` was removed -* `withId(java.lang.String)` was removed * `withPublicIpAddress(java.lang.String)` was removed +* `withId(java.lang.String)` was removed #### `models.EffectiveRoute` was modified * `EffectiveRoute()` was changed to private access -* `withNextHopType(models.RouteNextHopType)` was removed +* `withName(java.lang.String)` was removed * `withSource(models.EffectiveRouteSource)` was removed +* `withState(models.EffectiveRouteState)` was removed +* `withNextHopType(models.RouteNextHopType)` was removed * `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed * `withNextHopIpAddress(java.util.List)` was removed * `withAddressPrefix(java.util.List)` was removed -* `withState(models.EffectiveRouteState)` was removed -* `withName(java.lang.String)` was removed #### `models.VirtualNetworkApplianceIpConfiguration` was modified * `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed -* `withPrimary(java.lang.Boolean)` was removed +* `withPrivateIpAddressVersion(models.IpVersion)` was removed * `withName(java.lang.String)` was removed -* `withPrivateIpAddress(java.lang.String)` was removed * `withId(java.lang.String)` was removed -* `withPrivateIpAddressVersion(models.IpVersion)` was removed +* `withPrimary(java.lang.Boolean)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed +* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed #### `models.ApplicationGatewayWebApplicationFirewallConfiguration` was modified -* `withExclusions(java.util.List)` was removed * `java.util.List exclusions()` -> `models.ApplicationGatewayFirewallExclusion exclusions()` +* `withExclusions(java.util.List)` was removed #### `models.TunnelConnectionHealth` was modified @@ -386,22 +386,22 @@ #### `models.ActiveSecurityAdminRule` was modified * `ActiveSecurityAdminRule()` was changed to private access -* `withDestinations(java.util.List)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withId(java.lang.String)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withPriority(java.lang.Integer)` was removed * `withRegion(java.lang.String)` was removed -* `withSources(java.util.List)` was removed * `withSourcePortRanges(java.util.List)` was removed -* `withPriority(java.lang.Integer)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withConfigurationDescription(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withSources(java.util.List)` was removed +* `withDestinations(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed #### `models.ErrorAdditionalInfo` was modified @@ -415,8 +415,8 @@ #### `models.ApplicationGatewayBackendHealthHttpSettings` was modified * `ApplicationGatewayBackendHealthHttpSettings()` was changed to private access -* `withBackendHttpSettings(models.ApplicationGatewayBackendHttpSettings)` was removed * `withServers(java.util.List)` was removed +* `withBackendHttpSettings(models.ApplicationGatewayBackendHttpSettings)` was removed #### `models.NetworkInterfaceAssociation` was modified @@ -426,25 +426,25 @@ #### `models.TopologyAssociation` was modified * `TopologyAssociation()` was changed to private access +* `withResourceId(java.lang.String)` was removed * `withAssociationType(models.AssociationType)` was removed * `withName(java.lang.String)` was removed -* `withResourceId(java.lang.String)` was removed #### `models.SecurityGroupNetworkInterface` was modified * `SecurityGroupNetworkInterface()` was changed to private access -* `withId(java.lang.String)` was removed * `withSecurityRuleAssociations(models.SecurityRuleAssociations)` was removed +* `withId(java.lang.String)` was removed #### `models.EffectiveDefaultSecurityAdminRule` was modified * `EffectiveDefaultSecurityAdminRule()` was changed to private access * `withConfigurationDescription(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed -* `withFlag(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withId(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed +* `withFlag(java.lang.String)` was removed #### `models.Container` was modified @@ -455,42 +455,42 @@ * `ServiceAssociationLink()` was changed to private access * `withId(java.lang.String)` was removed -* `withLink(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withAllowDelete(java.lang.Boolean)` was removed -* `withLocations(java.util.List)` was removed * `withLinkedResourceType(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed #### `models.TroubleshootingRecommendedActions` was modified * `TroubleshootingRecommendedActions()` was changed to private access -* `withActionId(java.lang.String)` was removed -* `withActionUriText(java.lang.String)` was removed * `withActionUri(java.lang.String)` was removed * `withActionText(java.lang.String)` was removed +* `withActionId(java.lang.String)` was removed +* `withActionUriText(java.lang.String)` was removed #### `models.GatewayResiliencyRecommendation` was modified * `GatewayResiliencyRecommendation()` was changed to private access * `withCallToActionText(java.lang.String)` was removed -* `withSeverity(java.lang.String)` was removed * `withRecommendationTitle(java.lang.String)` was removed * `withRecommendationId(java.lang.String)` was removed -* `withRecommendationText(java.lang.String)` was removed +* `withSeverity(java.lang.String)` was removed * `withCallToActionLink(java.lang.String)` was removed +* `withRecommendationText(java.lang.String)` was removed #### `models.ContainerNetworkInterface` was modified * `ContainerNetworkInterface()` was changed to private access -* `withId(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withContainer(models.Container)` was removed +* `withName(java.lang.String)` was removed +* `withId(java.lang.String)` was removed #### `models.ExpressRouteFailoverRedundantRoute` was modified * `ExpressRouteFailoverRedundantRoute()` was changed to private access -* `withRoutes(java.util.List)` was removed * `withPeeringLocations(java.util.List)` was removed +* `withRoutes(java.util.List)` was removed #### `models.AzureReachabilityReportLatencyInfo` was modified @@ -501,10 +501,10 @@ #### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified * `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access -* `withReason(java.lang.String)` was removed -* `withIpAddress(java.lang.String)` was removed * `withState(java.lang.String)` was removed +* `withIpAddress(java.lang.String)` was removed * `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed +* `withReason(java.lang.String)` was removed #### `models.ConnectivityHop` was modified @@ -521,36 +521,36 @@ #### `models.EffectiveNetworkSecurityRule` was modified * `EffectiveNetworkSecurityRule()` was changed to private access -* `withSourcePortRanges(java.util.List)` was removed -* `withSourceAddressPrefixes(java.util.List)` was removed -* `withSourcePortRange(java.lang.String)` was removed * `withExpandedDestinationAddressPrefix(java.util.List)` was removed -* `withAccess(models.SecurityRuleAccess)` was removed -* `withExpandedSourceAddressPrefix(java.util.List)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withName(java.lang.String)` was removed +* `withSourceAddressPrefixes(java.util.List)` was removed +* `withDestinationPortRange(java.lang.String)` was removed * `withPriority(java.lang.Integer)` was removed -* `withDirection(models.SecurityRuleDirection)` was removed -* `withSourceAddressPrefix(java.lang.String)` was removed +* `withName(java.lang.String)` was removed * `withDestinationAddressPrefixes(java.util.List)` was removed -* `withDestinationPortRange(java.lang.String)` was removed -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withExpandedSourceAddressPrefix(java.util.List)` was removed * `withDestinationAddressPrefix(java.lang.String)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withSourceAddressPrefix(java.lang.String)` was removed +* `withDirection(models.SecurityRuleDirection)` was removed +* `withSourcePortRange(java.lang.String)` was removed +* `withAccess(models.SecurityRuleAccess)` was removed +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed #### `models.EvaluatedNetworkSecurityGroup` was modified * `EvaluatedNetworkSecurityGroup()` was changed to private access * `withAppliedTo(java.lang.String)` was removed -* `withNetworkSecurityGroupId(java.lang.String)` was removed * `withMatchedRule(models.MatchedRule)` was removed +* `withNetworkSecurityGroupId(java.lang.String)` was removed #### `models.TopologyResource` was modified * `TopologyResource()` was changed to private access -* `withLocation(java.lang.String)` was removed -* `withName(java.lang.String)` was removed * `withId(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed * `withAssociations(java.util.List)` was removed +* `withName(java.lang.String)` was removed #### `models.AzureFirewallIpGroups` was modified @@ -559,9 +559,9 @@ #### `models.EffectiveRouteMapRoute` was modified * `EffectiveRouteMapRoute()` was changed to private access +* `withAsPath(java.lang.String)` was removed * `withBgpCommunities(java.lang.String)` was removed * `withPrefix(java.lang.String)` was removed -* `withAsPath(java.lang.String)` was removed #### `models.CrossTenantScopes` was modified @@ -587,26 +587,26 @@ * `SingleQueryResult()` was changed to private access * `withDescription(java.lang.String)` was removed -* `withLastUpdated(java.lang.String)` was removed -* `withProtocol(java.lang.String)` was removed +* `withSourcePorts(java.util.List)` was removed * `withInheritedFromParentPolicy(java.lang.Boolean)` was removed -* `withSignatureId(java.lang.Integer)` was removed -* `withDestinationPorts(java.util.List)` was removed * `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed * `withGroup(java.lang.String)` was removed -* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withDestinationPorts(java.util.List)` was removed +* `withProtocol(java.lang.String)` was removed * `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `withSourcePorts(java.util.List)` was removed +* `withSignatureId(java.lang.Integer)` was removed +* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withLastUpdated(java.lang.String)` was removed #### `models.NetworkSecurityRulesEvaluationResult` was modified * `NetworkSecurityRulesEvaluationResult()` was changed to private access -* `withDestinationPortMatched(java.lang.Boolean)` was removed +* `withSourceMatched(java.lang.Boolean)` was removed * `withSourcePortMatched(java.lang.Boolean)` was removed * `withName(java.lang.String)` was removed * `withDestinationMatched(java.lang.Boolean)` was removed * `withProtocolMatched(java.lang.Boolean)` was removed -* `withSourceMatched(java.lang.Boolean)` was removed +* `withDestinationPortMatched(java.lang.Boolean)` was removed #### `models.VirtualNetworkConnectionGatewayReference` was modified @@ -619,31 +619,31 @@ #### `models.ActiveBaseSecurityAdminRule` was modified -* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` * `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` * `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` #### `models.EffectiveSecurityAdminRule` was modified * `EffectiveSecurityAdminRule()` was changed to private access -* `withRuleGroups(java.util.List)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withDestinations(java.util.List)` was removed +* `withDestinationPortRanges(java.util.List)` was removed * `withId(java.lang.String)` was removed -* `withSources(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed * `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withDestinations(java.util.List)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed +* `withSources(java.util.List)` was removed * `withSourcePortRanges(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `withDestinationPortRanges(java.util.List)` was removed * `withPriority(java.lang.Integer)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed #### `models.BgpPeerStatus` was modified @@ -652,27 +652,27 @@ #### `models.NatRulePortMapping` was modified * `NatRulePortMapping()` was changed to private access -* `withFrontendPort(java.lang.Integer)` was removed * `withInboundNatRuleName(java.lang.String)` was removed * `withBackendPort(java.lang.Integer)` was removed +* `withFrontendPort(java.lang.Integer)` was removed #### `models.MetricSpecification` was modified * `MetricSpecification()` was changed to private access +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed +* `withIsInternal(java.lang.Boolean)` was removed +* `withUnit(java.lang.String)` was removed * `withMetricFilterPattern(java.lang.String)` was removed +* `withDisplayDescription(java.lang.String)` was removed +* `withDimensions(java.util.List)` was removed +* `withResourceIdDimensionNameOverride(java.lang.String)` was removed +* `withSourceMdmAccount(java.lang.String)` was removed * `withAggregationType(java.lang.String)` was removed -* `withFillGapWithZero(java.lang.Boolean)` was removed * `withAvailabilities(java.util.List)` was removed * `withName(java.lang.String)` was removed -* `withSourceMdmAccount(java.lang.String)` was removed -* `withDimensions(java.util.List)` was removed * `withDisplayName(java.lang.String)` was removed -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed -* `withIsInternal(java.lang.Boolean)` was removed -* `withDisplayDescription(java.lang.String)` was removed +* `withFillGapWithZero(java.lang.Boolean)` was removed * `withSourceMdmNamespace(java.lang.String)` was removed -* `withResourceIdDimensionNameOverride(java.lang.String)` was removed -* `withUnit(java.lang.String)` was removed #### `models.ApplicationGatewayForContainersReferenceDefinition` was modified @@ -689,8 +689,8 @@ * `ApplicationGatewayFirewallRuleGroup()` was changed to private access * `withRules(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed * `withRuleGroupName(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed #### `models.IpamPoolProperties` was modified @@ -699,9 +699,9 @@ #### `models.AvailableProvidersListState` was modified * `AvailableProvidersListState()` was changed to private access +* `withProviders(java.util.List)` was removed * `withCities(java.util.List)` was removed * `withStateName(java.lang.String)` was removed -* `withProviders(java.util.List)` was removed #### `models.HopLink` was modified @@ -718,12 +718,12 @@ #### `models.BgpCommunity` was modified * `BgpCommunity()` was changed to private access -* `withServiceSupportedRegion(java.lang.String)` was removed -* `withCommunityName(java.lang.String)` was removed * `withServiceGroup(java.lang.String)` was removed +* `withIsAuthorizedToUse(java.lang.Boolean)` was removed * `withCommunityPrefixes(java.util.List)` was removed +* `withServiceSupportedRegion(java.lang.String)` was removed +* `withCommunityName(java.lang.String)` was removed * `withCommunityValue(java.lang.String)` was removed -* `withIsAuthorizedToUse(java.lang.Boolean)` was removed #### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified @@ -732,9 +732,9 @@ #### `models.EffectiveNetworkSecurityGroup` was modified * `EffectiveNetworkSecurityGroup()` was changed to private access -* `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed -* `withEffectiveSecurityRules(java.util.List)` was removed * `withTagMap(java.lang.String)` was removed +* `withEffectiveSecurityRules(java.util.List)` was removed +* `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed * `java.lang.String tagMap()` -> `java.util.Map tagMap()` * `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed @@ -751,8 +751,8 @@ * `GatewayRouteSet()` was changed to private access * `withName(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed * `withDetails(java.util.Map)` was removed +* `withLocations(java.util.List)` was removed #### `models.NetworkGroupsCreateOrUpdateHeaders` was modified @@ -769,41 +769,41 @@ #### `models.ExpressRouteCircuitArpTable` was modified * `ExpressRouteCircuitArpTable()` was changed to private access -* `withMacAddress(java.lang.String)` was removed * `withInterfaceProperty(java.lang.String)` was removed -* `withAge(java.lang.Integer)` was removed * `withIpAddress(java.lang.String)` was removed +* `withAge(java.lang.Integer)` was removed +* `withMacAddress(java.lang.String)` was removed #### `models.ActiveConnectivityConfiguration` was modified * `ActiveConnectivityConfiguration()` was changed to private access -* `withIsGlobal(models.IsGlobal)` was removed -* `withId(java.lang.String)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `withConfigurationGroups(java.util.List)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withHubs(java.util.List)` was removed * `withDescription(java.lang.String)` was removed -* `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withAppliesToGroups(java.util.List)` was removed -* `withRegion(java.lang.String)` was removed * `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withId(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withIsGlobal(models.IsGlobal)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed +* `withConfigurationGroups(java.util.List)` was removed +* `withRegion(java.lang.String)` was removed #### `models.RouteSourceDetails` was modified * `RouteSourceDetails()` was changed to private access -* `withCircuit(java.lang.String)` was removed * `withPri(java.lang.String)` was removed +* `withCircuit(java.lang.String)` was removed * `withSec(java.lang.String)` was removed #### `models.RecordSet` was modified * `RecordSet()` was changed to private access * `withFqdn(java.lang.String)` was removed -* `withIpAddresses(java.util.List)` was removed +* `withRecordType(java.lang.String)` was removed * `withRecordSetName(java.lang.String)` was removed * `withTtl(java.lang.Integer)` was removed -* `withRecordType(java.lang.String)` was removed +* `withIpAddresses(java.util.List)` was removed #### `models.ApplicationGatewayBackendHealthPool` was modified @@ -820,9 +820,9 @@ #### `models.ExpressRouteFailoverCircuitResourceDetails` was modified * `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access -* `withNrpResourceUri(java.lang.String)` was removed -* `withConnectionName(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withConnectionName(java.lang.String)` was removed +* `withNrpResourceUri(java.lang.String)` was removed #### `models.ConnectivityIssue` was modified @@ -831,9 +831,9 @@ #### `models.Availability` was modified * `Availability()` was changed to private access -* `withRetention(java.lang.String)` was removed -* `withBlobDuration(java.lang.String)` was removed * `withTimeGrain(java.lang.String)` was removed +* `withBlobDuration(java.lang.String)` was removed +* `withRetention(java.lang.String)` was removed #### `models.VerifierWorkspaceProperties` was modified @@ -842,16 +842,16 @@ #### `models.OperationDisplay` was modified * `OperationDisplay()` was changed to private access -* `withResource(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed -* `withOperation(java.lang.String)` was removed +* `withResource(java.lang.String)` was removed * `withProvider(java.lang.String)` was removed +* `withOperation(java.lang.String)` was removed #### `models.OperationPropertiesFormatServiceSpecification` was modified * `OperationPropertiesFormatServiceSpecification()` was changed to private access -* `withLogSpecifications(java.util.List)` was removed * `withMetricSpecifications(java.util.List)` was removed +* `withLogSpecifications(java.util.List)` was removed #### `models.AvailableProvidersListCountry` was modified @@ -867,45 +867,45 @@ #### `models.ApplicationGatewayFirewallRuleSet` was modified * `ApplicationGatewayFirewallRuleSet()` was changed to private access -* `withLocation(java.lang.String)` was removed -* `withTiers(java.util.List)` was removed +* `withId(java.lang.String)` was removed * `withRuleGroups(java.util.List)` was removed +* `withRuleSetVersion(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed * `withTags(java.util.Map)` was removed +* `withTiers(java.util.List)` was removed * `withRuleSetType(java.lang.String)` was removed -* `withRuleSetVersion(java.lang.String)` was removed -* `withId(java.lang.String)` was removed #### `models.ApplicationGatewayFirewallManifestRuleSet` was modified * `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access -* `withRuleGroups(java.util.List)` was removed * `withRuleSetVersion(java.lang.String)` was removed * `withRuleSetType(java.lang.String)` was removed -* `withTiers(java.util.List)` was removed * `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withTiers(java.util.List)` was removed #### `models.NetworkManagerDeploymentStatus` was modified * `NetworkManagerDeploymentStatus()` was changed to private access -* `withRegion(java.lang.String)` was removed -* `withConfigurationIds(java.util.List)` was removed * `withErrorMessage(java.lang.String)` was removed * `withDeploymentStatus(models.DeploymentStatus)` was removed -* `withDeploymentType(models.ConfigurationType)` was removed +* `withRegion(java.lang.String)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed +* `withConfigurationIds(java.util.List)` was removed +* `withDeploymentType(models.ConfigurationType)` was removed #### `models.CircuitMetadataMap` was modified * `CircuitMetadataMap()` was changed to private access -* `withLink(java.lang.String)` was removed * `withLocation(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTableSummary` was modified * `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withStatePfxRcd(java.lang.String)` was removed * `withAs(java.lang.Integer)` was removed +* `withStatePfxRcd(java.lang.String)` was removed * `withUpDown(java.lang.String)` was removed * `withNeighbor(java.lang.String)` was removed * `withV(java.lang.Integer)` was removed @@ -919,8 +919,8 @@ #### `models.Dimension` was modified * `Dimension()` was changed to private access -* `withDisplayName(java.lang.String)` was removed * `withInternalName(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed * `withName(java.lang.String)` was removed #### `models.NetworkSecurityGroupResult` was modified @@ -938,18 +938,18 @@ #### `models.EffectiveBaseSecurityAdminRule` was modified +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` * `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` * `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` * `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` #### `models.LogSpecification` was modified * `LogSpecification()` was changed to private access -* `withDisplayName(java.lang.String)` was removed -* `withBlobDuration(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withBlobDuration(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed #### `models.InboundNatRulePortMapping` was modified @@ -957,15 +957,15 @@ #### `models.EffectiveConnectivityConfiguration` was modified -* `withIsGlobal(models.IsGlobal)` was removed -* `withAppliesToGroups(java.util.List)` was removed +* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` * `withDescription(java.lang.String)` was removed -* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -* `withConnectivityTopology(models.ConnectivityTopology)` was removed * `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withIsGlobal(models.IsGlobal)` was removed * `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` +* `withConnectivityTopology(models.ConnectivityTopology)` was removed +* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` * `withHubs(java.util.List)` was removed +* `withAppliesToGroups(java.util.List)` was removed #### `models.PerimeterBasedAccessRule` was modified @@ -980,11 +980,11 @@ #### `models.VirtualHubEffectiveRoute` was modified * `VirtualHubEffectiveRoute()` was changed to private access -* `withNextHops(java.util.List)` was removed -* `withAddressPrefixes(java.util.List)` was removed -* `withRouteOrigin(java.lang.String)` was removed * `withNextHopType(java.lang.String)` was removed +* `withRouteOrigin(java.lang.String)` was removed * `withAsPath(java.lang.String)` was removed +* `withNextHops(java.util.List)` was removed +* `withAddressPrefixes(java.util.List)` was removed #### `models.ExpressRoutePortsLocationBandwidths` was modified @@ -998,8 +998,8 @@ * `EffectiveNetworkSecurityGroupAssociation()` was changed to private access * `withNetworkInterface(com.azure.core.management.SubResource)` was removed -* `withSubnet(com.azure.core.management.SubResource)` was removed * `withNetworkManager(com.azure.core.management.SubResource)` was removed +* `withSubnet(com.azure.core.management.SubResource)` was removed #### `models.ErrorDetail` was modified @@ -1008,36 +1008,36 @@ #### `models.IntentContent` was modified * `IntentContent()` was changed to private access -* `withDestinationResourceId(java.lang.String)` was removed -* `withSourceResourceId(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed * `withIpTraffic(models.IpTraffic)` was removed +* `withDescription(java.lang.String)` was removed +* `withSourceResourceId(java.lang.String)` was removed +* `withDestinationResourceId(java.lang.String)` was removed #### `models.ConfigurationGroup` was modified * `ConfigurationGroup()` was changed to private access -* `withId(java.lang.String)` was removed * `withMemberType(models.GroupMemberType)` was removed +* `withId(java.lang.String)` was removed * `withDescription(java.lang.String)` was removed #### `models.SecurityPerimeterSystemData` was modified * `SecurityPerimeterSystemData()` was changed to private access -* `withCreatedAt(java.time.OffsetDateTime)` was removed -* `withLastModifiedBy(java.lang.String)` was removed -* `withCreatedByType(models.CreatedByType)` was removed * `withCreatedBy(java.lang.String)` was removed -* `withLastModifiedAt(java.time.OffsetDateTime)` was removed +* `withCreatedByType(models.CreatedByType)` was removed * `withLastModifiedByType(models.CreatedByType)` was removed +* `withLastModifiedAt(java.time.OffsetDateTime)` was removed +* `withCreatedAt(java.time.OffsetDateTime)` was removed +* `withLastModifiedBy(java.lang.String)` was removed #### `models.ExpressRouteCircuitRoutesTable` was modified * `ExpressRouteCircuitRoutesTable()` was changed to private access +* `withLocPrf(java.lang.String)` was removed +* `withNextHop(java.lang.String)` was removed * `withNetwork(java.lang.String)` was removed * `withWeight(java.lang.Integer)` was removed * `withPath(java.lang.String)` was removed -* `withLocPrf(java.lang.String)` was removed -* `withNextHop(java.lang.String)` was removed #### `models.SubnetAssociation` was modified @@ -1047,8 +1047,8 @@ #### `models.RadiusAuthServer` was modified * `RadiusAuthServer()` was changed to private access -* `withRadiusServerSecret(java.lang.String)` was removed * `withRadiusServerAddress(java.lang.String)` was removed +* `withRadiusServerSecret(java.lang.String)` was removed #### `models.VirtualApplianceNicProperties` was modified @@ -1061,34 +1061,34 @@ #### `models.VirtualWanSecurityProvider` was modified * `VirtualWanSecurityProvider()` was changed to private access -* `withUrl(java.lang.String)` was removed * `withName(java.lang.String)` was removed +* `withUrl(java.lang.String)` was removed #### `models.VpnClientConnectionHealth` was modified * `VpnClientConnectionHealth()` was changed to private access -* `withAllocatedIpAddresses(java.util.List)` was removed * `withVpnClientConnectionsCount(java.lang.Integer)` was removed +* `withAllocatedIpAddresses(java.util.List)` was removed #### `models.ExpressRouteFailoverConnectionResourceDetails` was modified * `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access -* `withStatus(models.FailoverConnectionStatus)` was removed * `withName(java.lang.String)` was removed * `withLastUpdatedTime(java.lang.String)` was removed * `withNrpResourceUri(java.lang.String)` was removed +* `withStatus(models.FailoverConnectionStatus)` was removed #### `models.ActiveDefaultSecurityAdminRule` was modified * `ActiveDefaultSecurityAdminRule()` was changed to private access -* `withFlag(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withConfigurationDescription(java.lang.String)` was removed * `withRuleCollectionDescription(java.lang.String)` was removed +* `withId(java.lang.String)` was removed * `withRegion(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed * `withCommitTime(java.time.OffsetDateTime)` was removed +* `withFlag(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed ### Features Added @@ -1126,8 +1126,8 @@ #### `models.ActiveConnectivityConfiguration` was modified -* `configurationGroups()` was added * `id()` was added +* `configurationGroups()` was added ## 2.58.0 (2026-02-14) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java index bc7add221ff2..2ee409dde3fa 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java @@ -55,34 +55,34 @@ public interface AvailablePrivateEndpointTypesClient { /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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 an array of available PrivateEndpoint types as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listByResourceGroupAsync(String resourceGroupName, String location); + PagedFlux listByResourceGroupAsync(String location, String resourceGroupName); /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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 an array of available PrivateEndpoint types as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, String location); + PagedIterable listByResourceGroup(String location, String resourceGroupName); /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -90,6 +90,6 @@ public interface AvailablePrivateEndpointTypesClient { * @return an array of available PrivateEndpoint types as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, String location, + PagedIterable listByResourceGroup(String location, String resourceGroupName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java index c3a531718158..4968b43c114a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java @@ -18,8 +18,8 @@ public interface AvailableResourceGroupDelegationsClient { /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -27,13 +27,13 @@ public interface AvailableResourceGroupDelegationsClient { * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String location); + PagedFlux listAsync(String location, String resourceGroupName); /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -41,13 +41,13 @@ public interface AvailableResourceGroupDelegationsClient { * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String location); + PagedIterable list(String location, String resourceGroupName); /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -56,5 +56,5 @@ public interface AvailableResourceGroupDelegationsClient { * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String location, Context context); + PagedIterable list(String location, String resourceGroupName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java index 18599c39755b..73dd7077f14e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java @@ -425,7 +425,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> generateLOAWithResponseAsync(String resourceGroupName, + Mono> generateLoaWithResponseAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request); /** @@ -440,7 +440,7 @@ Mono> generateLOAWithResponseA * @return response for GenerateExpressRoutePortsLOA API service call on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono generateLOAAsync(String resourceGroupName, + Mono generateLoaAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request); /** @@ -456,7 +456,7 @@ Mono generateLOAAsync(String resourceGr * @return response for GenerateExpressRoutePortsLOA API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response generateLOAWithResponse(String resourceGroupName, + Response generateLoaWithResponse(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context); /** @@ -471,6 +471,6 @@ Response generateLOAWithResponse(String * @return response for GenerateExpressRoutePortsLOA API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) - GenerateExpressRoutePortsLoaResultInner generateLOA(String resourceGroupName, String expressRoutePortName, + GenerateExpressRoutePortsLoaResultInner generateLoa(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java index 803477fcb5dd..96eba75aa3d5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java @@ -15,9 +15,9 @@ /** * An instance of this class provides access to all the operations defined in - * LoadBalancerFrontendIPConfigurationsClient. + * LoadBalancerFrontendIpConfigurationsClient. */ -public interface LoadBalancerFrontendIPConfigurationsClient { +public interface LoadBalancerFrontendIpConfigurationsClient { /** * Gets load balancer frontend IP configuration. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java index c2d102cfe7b2..608687804b6a 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java @@ -846,11 +846,11 @@ public interface NetworkManagementClient { LoadBalancerBackendAddressPoolsClient getLoadBalancerBackendAddressPools(); /** - * Gets the LoadBalancerFrontendIPConfigurationsClient object to access its operations. + * Gets the LoadBalancerFrontendIpConfigurationsClient object to access its operations. * - * @return the LoadBalancerFrontendIPConfigurationsClient object. + * @return the LoadBalancerFrontendIpConfigurationsClient object. */ - LoadBalancerFrontendIPConfigurationsClient getLoadBalancerFrontendIPConfigurations(); + LoadBalancerFrontendIpConfigurationsClient getLoadBalancerFrontendIpConfigurations(); /** * Gets the LoadBalancerLoadBalancingRulesClient object to access its operations. @@ -1014,11 +1014,11 @@ public interface NetworkManagementClient { HubVirtualNetworkConnectionsClient getHubVirtualNetworkConnections(); /** - * Gets the VirtualHubRouteTableV2sClient object to access its operations. + * Gets the VirtualHubRouteTableV2SClient object to access its operations. * - * @return the VirtualHubRouteTableV2sClient object. + * @return the VirtualHubRouteTableV2SClient object. */ - VirtualHubRouteTableV2sClient getVirtualHubRouteTableV2s(); + VirtualHubRouteTableV2SClient getVirtualHubRouteTableV2S(); /** * Gets the VpnConnectionsClient object to access its operations. diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java index 804b22852758..5223838770bb 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java @@ -675,7 +675,7 @@ VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gate * along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, + Mono>> getP2SVpnConnectionHealthWithResponseAsync(String resourceGroupName, String gatewayName); /** @@ -691,7 +691,7 @@ Mono>> getP2sVpnConnectionHealthWithResponseAsync(Stri */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); + beginGetP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); /** * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. @@ -706,7 +706,7 @@ Mono>> getP2sVpnConnectionHealthWithResponseAsync(Stri */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName); + beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName); /** * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. @@ -722,7 +722,7 @@ Mono>> getP2sVpnConnectionHealthWithResponseAsync(Stri */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); + beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); /** * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. @@ -736,7 +736,7 @@ Mono>> getP2sVpnConnectionHealthWithResponseAsync(Stri * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); + Mono getP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName); /** * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. @@ -749,7 +749,7 @@ Mono>> getP2sVpnConnectionHealthWithResponseAsync(Stri * @return the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName); + P2SVpnGatewayInner getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName); /** * Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. @@ -763,7 +763,7 @@ Mono>> getP2sVpnConnectionHealthWithResponseAsync(Stri * @return the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); + P2SVpnGatewayInner getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context); /** * Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the @@ -779,7 +779,7 @@ Mono>> getP2sVpnConnectionHealthWithResponseAsync(Stri * specified resource group along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, + Mono>> getP2SVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request); /** @@ -797,7 +797,7 @@ Mono>> getP2sVpnConnectionHealthDetailedWithResponseAs */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, + beginGetP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request); /** @@ -815,7 +815,7 @@ Mono>> getP2sVpnConnectionHealthDetailedWithResponseAs */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request); /** @@ -834,7 +834,7 @@ Mono>> getP2sVpnConnectionHealthDetailedWithResponseAs */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context); /** @@ -851,7 +851,7 @@ Mono>> getP2sVpnConnectionHealthDetailedWithResponseAs * specified resource group on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, + Mono getP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request); /** @@ -868,7 +868,7 @@ Mono getP2sVpnConnectionHealthDetailedAsync(String * specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthInner getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request); /** @@ -886,7 +886,7 @@ P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGro * specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + P2SVpnConnectionHealthInner getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context); /** @@ -901,7 +901,7 @@ P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGro * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, + Mono>> disconnectP2SVpnConnectionsWithResponseAsync(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request); /** @@ -916,7 +916,7 @@ Mono>> disconnectP2sVpnConnectionsWithResponseAsync(St * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, + PollerFlux, Void> beginDisconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request); /** @@ -931,7 +931,7 @@ PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDisconnectP2sVpnConnections(String resourceGroupName, + SyncPoller, Void> beginDisconnectP2SVpnConnections(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request); /** @@ -947,7 +947,7 @@ SyncPoller, Void> beginDisconnectP2sVpnConnections(String resou * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginDisconnectP2sVpnConnections(String resourceGroupName, + SyncPoller, Void> beginDisconnectP2SVpnConnections(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context); /** @@ -962,7 +962,7 @@ SyncPoller, Void> beginDisconnectP2sVpnConnections(String resou * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, + Mono disconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request); /** @@ -976,7 +976,7 @@ Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2s * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - void disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + void disconnectP2SVpnConnections(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request); /** @@ -991,6 +991,6 @@ void disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayN * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - void disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + void disconnectP2SVpnConnections(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java index 710aebd92dcb..f772e065a6d7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java @@ -306,34 +306,34 @@ PrivateDnsZoneGroupInner createOrUpdate(String resourceGroupName, String private /** * Gets all private dns zone groups in a private endpoint. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listAsync(String resourceGroupName, String privateEndpointName); + PagedFlux listAsync(String privateEndpointName, String resourceGroupName); /** * Gets all private dns zone groups in a private endpoint. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String privateEndpointName); + PagedIterable list(String privateEndpointName, String resourceGroupName); /** * Gets all private dns zone groups in a private endpoint. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @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. @@ -341,5 +341,5 @@ PrivateDnsZoneGroupInner createOrUpdate(String resourceGroupName, String private * @return all private dns zone groups in a private endpoint as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(String resourceGroupName, String privateEndpointName, Context context); + PagedIterable list(String privateEndpointName, String resourceGroupName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java index fa28ee516514..f36902ab4d1c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java @@ -757,8 +757,8 @@ PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(String locat /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -766,14 +766,14 @@ PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(String locat * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono>> checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync( - String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters); + Mono>> checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync(String location, + String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -782,14 +782,14 @@ Mono>> checkPrivateLinkServiceVisibilityByResourceGrou */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String resourceGroupName, String location, + beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -798,14 +798,14 @@ Mono>> checkPrivateLinkServiceVisibilityByResourceGrou */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, String location, + beginCheckPrivateLinkServiceVisibilityByResourceGroup(String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -815,14 +815,14 @@ Mono>> checkPrivateLinkServiceVisibilityByResourceGrou */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, String location, + beginCheckPrivateLinkServiceVisibilityByResourceGroup(String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, Context context); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -830,14 +830,14 @@ Mono>> checkPrivateLinkServiceVisibilityByResourceGrou * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono checkPrivateLinkServiceVisibilityByResourceGroupAsync( - String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters); + Mono checkPrivateLinkServiceVisibilityByResourceGroupAsync(String location, + String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -845,14 +845,14 @@ Mono checkPrivateLinkServiceVisibilityByResou * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, - String location, CheckPrivateLinkServiceVisibilityRequest parameters); + PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String location, + String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters); /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -861,8 +861,8 @@ PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGro * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, - String location, CheckPrivateLinkServiceVisibilityRequest parameters, Context context); + PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String location, + String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, Context context); /** * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this @@ -912,8 +912,8 @@ PagedIterable listAutoApprovedPrivateLinkSe * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -922,14 +922,14 @@ PagedIterable listAutoApprovedPrivateLinkSe */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux - listAutoApprovedPrivateLinkServicesByResourceGroupAsync(String resourceGroupName, String location); + listAutoApprovedPrivateLinkServicesByResourceGroupAsync(String location, String resourceGroupName); /** * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -938,14 +938,14 @@ PagedIterable listAutoApprovedPrivateLinkSe */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable - listAutoApprovedPrivateLinkServicesByResourceGroup(String resourceGroupName, String location); + listAutoApprovedPrivateLinkServicesByResourceGroup(String location, String resourceGroupName); /** * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -955,5 +955,5 @@ PagedIterable listAutoApprovedPrivateLinkSe */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable - listAutoApprovedPrivateLinkServicesByResourceGroup(String resourceGroupName, String location, Context context); + listAutoApprovedPrivateLinkServicesByResourceGroup(String location, String resourceGroupName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java index 6d36233202e2..266defdf0f85 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java @@ -47,7 +47,7 @@ public interface PublicIpAddressesClient extends InnerSupportsGet> getCloudServicePublicIPAddressWithResponseAsync(String resourceGroupName, + Mono> getCloudServicePublicIpAddressWithResponseAsync(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand); @@ -66,7 +66,7 @@ Mono> getCloudServicePublicIPAddressWithResponseA * @return the specified public IP address in a cloud service on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getCloudServicePublicIPAddressAsync(String resourceGroupName, String cloudServiceName, + Mono getCloudServicePublicIpAddressAsync(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName); /** @@ -86,7 +86,7 @@ Mono getCloudServicePublicIPAddressAsync(String resourceGr * @return the specified public IP address in a cloud service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getCloudServicePublicIPAddressWithResponse(String resourceGroupName, + Response getCloudServicePublicIpAddressWithResponse(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, Context context); @@ -105,7 +105,7 @@ Response getCloudServicePublicIPAddressWithResponse(String * @return the specified public IP address in a cloud service. */ @ServiceMethod(returns = ReturnType.SINGLE) - PublicIpAddressInner getCloudServicePublicIPAddress(String resourceGroupName, String cloudServiceName, + PublicIpAddressInner getCloudServicePublicIpAddress(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName); /** @@ -123,7 +123,7 @@ PublicIpAddressInner getCloudServicePublicIPAddress(String resourceGroupName, St * paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listCloudServiceRoleInstancePublicIPAddressesAsync(String resourceGroupName, + PagedFlux listCloudServiceRoleInstancePublicIpAddressesAsync(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName); /** @@ -141,7 +141,7 @@ PagedFlux listCloudServiceRoleInstancePublicIPAddressesAsy * paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServiceRoleInstancePublicIPAddresses(String resourceGroupName, + PagedIterable listCloudServiceRoleInstancePublicIpAddresses(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName); /** @@ -160,7 +160,7 @@ PagedIterable listCloudServiceRoleInstancePublicIPAddresse * paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServiceRoleInstancePublicIPAddresses(String resourceGroupName, + PagedIterable listCloudServiceRoleInstancePublicIpAddresses(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, Context context); @@ -907,7 +907,7 @@ PublicIpAddressInner disassociateCloudServiceReservedPublicIp(String resourceGro * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listCloudServicePublicIPAddressesAsync(String resourceGroupName, + PagedFlux listCloudServicePublicIpAddressesAsync(String resourceGroupName, String cloudServiceName); /** @@ -922,7 +922,7 @@ PagedFlux listCloudServicePublicIPAddressesAsync(String re * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServicePublicIPAddresses(String resourceGroupName, + PagedIterable listCloudServicePublicIpAddresses(String resourceGroupName, String cloudServiceName); /** @@ -938,7 +938,7 @@ PagedIterable listCloudServicePublicIPAddresses(String res * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listCloudServicePublicIPAddresses(String resourceGroupName, + PagedIterable listCloudServicePublicIpAddresses(String resourceGroupName, String cloudServiceName, Context context); /** @@ -953,7 +953,7 @@ PagedIterable listCloudServicePublicIPAddresses(String res * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, + PagedFlux listVirtualMachineScaleSetPublicIpAddressesAsync(String resourceGroupName, String virtualMachineScaleSetName); /** @@ -968,7 +968,7 @@ PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + PagedIterable listVirtualMachineScaleSetPublicIpAddresses(String resourceGroupName, String virtualMachineScaleSetName); /** @@ -984,7 +984,7 @@ PagedIterable listVirtualMachineScaleSetPublicIPAddresses( * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + PagedIterable listVirtualMachineScaleSetPublicIpAddresses(String resourceGroupName, String virtualMachineScaleSetName, Context context); /** @@ -1004,7 +1004,7 @@ PagedIterable listVirtualMachineScaleSetPublicIPAddresses( * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( + Mono> getVirtualMachineScaleSetPublicIpAddressWithResponseAsync( String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand); @@ -1023,7 +1023,7 @@ Mono> getVirtualMachineScaleSetPublicIPAddressWit * @return the specified public IP address in a virtual machine scale set on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Mono getVirtualMachineScaleSetPublicIPAddressAsync(String resourceGroupName, + Mono getVirtualMachineScaleSetPublicIpAddressAsync(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName); @@ -1044,7 +1044,7 @@ Mono getVirtualMachineScaleSetPublicIPAddressAsync(String * @return the specified public IP address in a virtual machine scale set along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getVirtualMachineScaleSetPublicIPAddressWithResponse(String resourceGroupName, + Response getVirtualMachineScaleSetPublicIpAddressWithResponse(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, Context context); @@ -1063,7 +1063,7 @@ Response getVirtualMachineScaleSetPublicIPAddressWithRespo * @return the specified public IP address in a virtual machine scale set. */ @ServiceMethod(returns = ReturnType.SINGLE) - PublicIpAddressInner getVirtualMachineScaleSetPublicIPAddress(String resourceGroupName, + PublicIpAddressInner getVirtualMachineScaleSetPublicIpAddress(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName); @@ -1083,7 +1083,7 @@ PublicIpAddressInner getVirtualMachineScaleSetPublicIPAddress(String resourceGro * scale set as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, + PagedFlux listVirtualMachineScaleSetVMPublicIpAddressesAsync(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName); @@ -1103,7 +1103,7 @@ PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsy * scale set as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + PagedIterable listVirtualMachineScaleSetVMPublicIpAddresses(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName); @@ -1124,7 +1124,7 @@ PagedIterable listVirtualMachineScaleSetVMPublicIPAddresse * scale set as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + PagedIterable listVirtualMachineScaleSetVMPublicIpAddresses(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, Context context); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java index caa94f9f3046..5cfe0af22196 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java @@ -19,9 +19,9 @@ import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in VirtualHubRouteTableV2sClient. + * An instance of this class provides access to all the operations defined in VirtualHubRouteTableV2SClient. */ -public interface VirtualHubRouteTableV2sClient { +public interface VirtualHubRouteTableV2SClient { /** * Retrieves the details of a VirtualHubRouteTableV2. * diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java index 0b8738551b5d..247129ae4080 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java @@ -108,14 +108,6 @@ Mono> listByResourceGroupNext( */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String location) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (location == null) { return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } @@ -143,14 +135,6 @@ private Mono> listSinglePageAsy @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String location, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } if (location == null) { return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } @@ -225,8 +209,8 @@ public PagedIterable list(String location, Co /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -234,23 +218,15 @@ public PagedIterable list(String location, Co * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName, String location) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + private Mono> listByResourceGroupSinglePageAsync(String location, + String resourceGroupName) { + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil @@ -264,8 +240,8 @@ public PagedIterable list(String location, Co /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -274,23 +250,15 @@ public PagedIterable list(String location, Co * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> - listByResourceGroupSinglePageAsync(String resourceGroupName, String location, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + private Mono> listByResourceGroupSinglePageAsync(String location, + String resourceGroupName, Context context) { + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); @@ -304,25 +272,25 @@ public PagedIterable list(String location, Co /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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 an array of available PrivateEndpoint types as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listByResourceGroupAsync(String resourceGroupName, - String location) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, location), + public PagedFlux listByResourceGroupAsync(String location, + String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(location, resourceGroupName), nextLink -> listByResourceGroupNextSinglePageAsync(nextLink)); } /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -330,33 +298,33 @@ public PagedFlux listByResourceGroupAsync(Str * @return an array of available PrivateEndpoint types as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName, - String location, Context context) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName, location, context), + private PagedFlux listByResourceGroupAsync(String location, + String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(location, resourceGroupName, context), nextLink -> listByResourceGroupNextSinglePageAsync(nextLink, context)); } /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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 an array of available PrivateEndpoint types as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, - String location) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, location)); + public PagedIterable listByResourceGroup(String location, + String resourceGroupName) { + return new PagedIterable<>(listByResourceGroupAsync(location, resourceGroupName)); } /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -364,9 +332,9 @@ public PagedIterable listByResourceGroup(Stri * @return an array of available PrivateEndpoint types as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, - String location, Context context) { - return new PagedIterable<>(listByResourceGroupAsync(resourceGroupName, location, context)); + public PagedIterable listByResourceGroup(String location, + String resourceGroupName, Context context) { + return new PagedIterable<>(listByResourceGroupAsync(location, resourceGroupName, context)); } /** @@ -384,10 +352,6 @@ private Mono> listNextSinglePag if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } final String accept = "application/json"; return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), @@ -412,10 +376,6 @@ private Mono> listNextSinglePag if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } final String accept = "application/json"; context = this.client.mergeContext(context); return service.listNext(nextLink, this.client.getEndpoint(), accept, context) @@ -439,10 +399,6 @@ private Mono> listNextSinglePag if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } final String accept = "application/json"; return FluxUtil .withContext( @@ -469,10 +425,6 @@ private Mono> listNextSinglePag if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } final String accept = "application/json"; context = this.client.mergeContext(context); return service.listByResourceGroupNext(nextLink, this.client.getEndpoint(), accept, context) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java index b541a75a9865..6abf52c15bb8 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java @@ -83,8 +83,8 @@ Mono> listNext( /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -92,23 +92,15 @@ Mono> listNext( * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String location) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + private Mono> listSinglePageAsync(String location, + String resourceGroupName) { + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil @@ -122,8 +114,8 @@ private Mono> listSinglePageAsync(String /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -132,23 +124,15 @@ private Mono> listSinglePageAsync(String * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, String location, + private Mono> listSinglePageAsync(String location, String resourceGroupName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); @@ -162,8 +146,8 @@ private Mono> listSinglePageAsync(String /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -171,16 +155,16 @@ private Mono> listSinglePageAsync(String * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String location) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, location), + public PagedFlux listAsync(String location, String resourceGroupName) { + return new PagedFlux<>(() -> listSinglePageAsync(location, resourceGroupName), nextLink -> listNextSinglePageAsync(nextLink)); } /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -189,16 +173,16 @@ public PagedFlux listAsync(String resourceGroupName, S * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String location, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, location, context), + private PagedFlux listAsync(String location, String resourceGroupName, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(location, resourceGroupName, context), nextLink -> listNextSinglePageAsync(nextLink, context)); } /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -206,15 +190,15 @@ private PagedFlux listAsync(String resourceGroupName, * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String location) { - return new PagedIterable<>(listAsync(resourceGroupName, location)); + public PagedIterable list(String location, String resourceGroupName) { + return new PagedIterable<>(listAsync(location, resourceGroupName)); } /** * Gets all of the available subnet delegations for this resource group in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -223,8 +207,8 @@ public PagedIterable list(String resourceGroupName, St * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String location, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, location, context)); + public PagedIterable list(String location, String resourceGroupName, Context context) { + return new PagedIterable<>(listAsync(location, resourceGroupName, context)); } /** @@ -242,10 +226,6 @@ private Mono> listNextSinglePageAsync(St if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } final String accept = "application/json"; return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), @@ -269,10 +249,6 @@ private Mono> listNextSinglePageAsync(St if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } final String accept = "application/json"; context = this.client.mergeContext(context); return service.listNext(nextLink, this.client.getEndpoint(), accept, context) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java index 4b17c2eaddcf..2ee6ae36e92c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java @@ -138,7 +138,7 @@ Mono> list(@HostParam("endpoint") String en @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/generateLoa") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> generateLOA(@HostParam("endpoint") String endpoint, + Mono> generateLoa(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("expressRoutePortName") String expressRoutePortName, @@ -1118,7 +1118,7 @@ public PagedIterable list(Context context) { * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> generateLOAWithResponseAsync( + public Mono> generateLoaWithResponseAsync( String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1146,7 +1146,7 @@ public Mono> generateLOAWithRe final String accept = "application/json"; return FluxUtil .withContext( - context -> service.generateLOA(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + context -> service.generateLoa(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, contentType, accept, request, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1165,7 +1165,7 @@ public Mono> generateLOAWithRe * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> generateLOAWithResponseAsync( + private Mono> generateLoaWithResponseAsync( String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context) { if (this.client.getEndpoint() == null) { @@ -1193,7 +1193,7 @@ private Mono> generateLOAWithR final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.generateLOA(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + return service.generateLoa(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, expressRoutePortName, contentType, accept, request, context); } @@ -1209,9 +1209,9 @@ private Mono> generateLOAWithR * @return response for GenerateExpressRoutePortsLOA API service call on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono generateLOAAsync(String resourceGroupName, + public Mono generateLoaAsync(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request) { - return generateLOAWithResponseAsync(resourceGroupName, expressRoutePortName, request) + return generateLoaWithResponseAsync(resourceGroupName, expressRoutePortName, request) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } @@ -1228,9 +1228,9 @@ public Mono generateLOAAsync(String res * @return response for GenerateExpressRoutePortsLOA API service call along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response generateLOAWithResponse(String resourceGroupName, + public Response generateLoaWithResponse(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request, Context context) { - return generateLOAWithResponseAsync(resourceGroupName, expressRoutePortName, request, context).block(); + return generateLoaWithResponseAsync(resourceGroupName, expressRoutePortName, request, context).block(); } /** @@ -1245,9 +1245,9 @@ public Response generateLOAWithResponse * @return response for GenerateExpressRoutePortsLOA API service call. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GenerateExpressRoutePortsLoaResultInner generateLOA(String resourceGroupName, String expressRoutePortName, + public GenerateExpressRoutePortsLoaResultInner generateLoa(String resourceGroupName, String expressRoutePortName, GenerateExpressRoutePortsLoaRequest request) { - return generateLOAWithResponse(resourceGroupName, expressRoutePortName, request, Context.NONE).getValue(); + return generateLoaWithResponse(resourceGroupName, expressRoutePortName, request, Context.NONE).getValue(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java index 35e6fad11799..51e909495fa7 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java @@ -25,21 +25,21 @@ import com.azure.core.management.exception.ManagementException; import com.azure.core.util.Context; import com.azure.core.util.FluxUtil; -import com.azure.resourcemanager.network.fluent.LoadBalancerFrontendIPConfigurationsClient; +import com.azure.resourcemanager.network.fluent.LoadBalancerFrontendIpConfigurationsClient; import com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner; import com.azure.resourcemanager.network.implementation.models.LoadBalancerFrontendIPConfigurationListResult; import reactor.core.publisher.Mono; /** * An instance of this class provides access to all the operations defined in - * LoadBalancerFrontendIPConfigurationsClient. + * LoadBalancerFrontendIpConfigurationsClient. */ -public final class LoadBalancerFrontendIPConfigurationsClientImpl - implements LoadBalancerFrontendIPConfigurationsClient { +public final class LoadBalancerFrontendIpConfigurationsClientImpl + implements LoadBalancerFrontendIpConfigurationsClient { /** * The proxy service used to perform REST calls. */ - private final LoadBalancerFrontendIPConfigurationsService service; + private final LoadBalancerFrontendIpConfigurationsService service; /** * The service client containing this operation class. @@ -47,23 +47,23 @@ public final class LoadBalancerFrontendIPConfigurationsClientImpl private final NetworkManagementClientImpl client; /** - * Initializes an instance of LoadBalancerFrontendIPConfigurationsClientImpl. + * Initializes an instance of LoadBalancerFrontendIpConfigurationsClientImpl. * * @param client the instance of the service client containing this operation class. */ - LoadBalancerFrontendIPConfigurationsClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(LoadBalancerFrontendIPConfigurationsService.class, client.getHttpPipeline(), + LoadBalancerFrontendIpConfigurationsClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(LoadBalancerFrontendIpConfigurationsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); this.client = client; } /** - * The interface defining all the services for NetworkManagementClientLoadBalancerFrontendIPConfigurations to be + * The interface defining all the services for NetworkManagementClientLoadBalancerFrontendIpConfigurations to be * used by the proxy service to perform REST calls. */ @Host("{endpoint}") - @ServiceInterface(name = "NetworkManagementClientLoadBalancerFrontendIPConfigurations") - public interface LoadBalancerFrontendIPConfigurationsService { + @ServiceInterface(name = "NetworkManagementClientLoadBalancerFrontendIpConfigurations") + public interface LoadBalancerFrontendIpConfigurationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}") @ExpectedResponses({ 200 }) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java index 97e6a712695e..d3e56951746c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java @@ -90,7 +90,7 @@ import com.azure.resourcemanager.network.fluent.IpGroupsClient; import com.azure.resourcemanager.network.fluent.IpamPoolsClient; import com.azure.resourcemanager.network.fluent.LoadBalancerBackendAddressPoolsClient; -import com.azure.resourcemanager.network.fluent.LoadBalancerFrontendIPConfigurationsClient; +import com.azure.resourcemanager.network.fluent.LoadBalancerFrontendIpConfigurationsClient; import com.azure.resourcemanager.network.fluent.LoadBalancerLoadBalancingRulesClient; import com.azure.resourcemanager.network.fluent.LoadBalancerNetworkInterfacesClient; import com.azure.resourcemanager.network.fluent.LoadBalancerOutboundRulesClient; @@ -169,7 +169,7 @@ import com.azure.resourcemanager.network.fluent.VirtualApplianceSkusClient; import com.azure.resourcemanager.network.fluent.VirtualHubBgpConnectionsClient; import com.azure.resourcemanager.network.fluent.VirtualHubIpConfigurationsClient; -import com.azure.resourcemanager.network.fluent.VirtualHubRouteTableV2sClient; +import com.azure.resourcemanager.network.fluent.VirtualHubRouteTableV2SClient; import com.azure.resourcemanager.network.fluent.VirtualHubsClient; import com.azure.resourcemanager.network.fluent.VirtualNetworkAppliancesClient; import com.azure.resourcemanager.network.fluent.VirtualNetworkGatewayConnectionsClient; @@ -1853,17 +1853,17 @@ public LoadBalancerBackendAddressPoolsClient getLoadBalancerBackendAddressPools( } /** - * The LoadBalancerFrontendIPConfigurationsClient object to access its operations. + * The LoadBalancerFrontendIpConfigurationsClient object to access its operations. */ - private final LoadBalancerFrontendIPConfigurationsClient loadBalancerFrontendIPConfigurations; + private final LoadBalancerFrontendIpConfigurationsClient loadBalancerFrontendIpConfigurations; /** - * Gets the LoadBalancerFrontendIPConfigurationsClient object to access its operations. + * Gets the LoadBalancerFrontendIpConfigurationsClient object to access its operations. * - * @return the LoadBalancerFrontendIPConfigurationsClient object. + * @return the LoadBalancerFrontendIpConfigurationsClient object. */ - public LoadBalancerFrontendIPConfigurationsClient getLoadBalancerFrontendIPConfigurations() { - return this.loadBalancerFrontendIPConfigurations; + public LoadBalancerFrontendIpConfigurationsClient getLoadBalancerFrontendIpConfigurations() { + return this.loadBalancerFrontendIpConfigurations; } /** @@ -2190,17 +2190,17 @@ public HubVirtualNetworkConnectionsClient getHubVirtualNetworkConnections() { } /** - * The VirtualHubRouteTableV2sClient object to access its operations. + * The VirtualHubRouteTableV2SClient object to access its operations. */ - private final VirtualHubRouteTableV2sClient virtualHubRouteTableV2s; + private final VirtualHubRouteTableV2SClient virtualHubRouteTableV2S; /** - * Gets the VirtualHubRouteTableV2sClient object to access its operations. + * Gets the VirtualHubRouteTableV2SClient object to access its operations. * - * @return the VirtualHubRouteTableV2sClient object. + * @return the VirtualHubRouteTableV2SClient object. */ - public VirtualHubRouteTableV2sClient getVirtualHubRouteTableV2s() { - return this.virtualHubRouteTableV2s; + public VirtualHubRouteTableV2SClient getVirtualHubRouteTableV2S() { + return this.virtualHubRouteTableV2S; } /** @@ -2628,7 +2628,7 @@ public UsagesClient getUsages() { this.networkManagerDeploymentStatusOperations = new NetworkManagerDeploymentStatusOperationsClientImpl(this); this.loadBalancerNetworkInterfaces = new LoadBalancerNetworkInterfacesClientImpl(this); this.loadBalancerBackendAddressPools = new LoadBalancerBackendAddressPoolsClientImpl(this); - this.loadBalancerFrontendIPConfigurations = new LoadBalancerFrontendIPConfigurationsClientImpl(this); + this.loadBalancerFrontendIpConfigurations = new LoadBalancerFrontendIpConfigurationsClientImpl(this); this.loadBalancerLoadBalancingRules = new LoadBalancerLoadBalancingRulesClientImpl(this); this.loadBalancerOutboundRules = new LoadBalancerOutboundRulesClientImpl(this); this.loadBalancerProbes = new LoadBalancerProbesClientImpl(this); @@ -2654,7 +2654,7 @@ public UsagesClient getUsages() { = new VpnServerConfigurationsAssociatedWithVirtualWansClientImpl(this); this.configurationPolicyGroups = new ConfigurationPolicyGroupsClientImpl(this); this.hubVirtualNetworkConnections = new HubVirtualNetworkConnectionsClientImpl(this); - this.virtualHubRouteTableV2s = new VirtualHubRouteTableV2sClientImpl(this); + this.virtualHubRouteTableV2S = new VirtualHubRouteTableV2SClientImpl(this); this.vpnConnections = new VpnConnectionsClientImpl(this); this.vpnLinkConnections = new VpnLinkConnectionsClientImpl(this); this.natRules = new NatRulesClientImpl(this); diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java index d833ca17aea4..cc956d93fc33 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java @@ -157,7 +157,7 @@ Mono>> generateVpnProfile(@HostParam("endpoint") Strin @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getP2sVpnConnectionHealth(@HostParam("endpoint") String endpoint, + Mono>> getP2SVpnConnectionHealth(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, @HeaderParam("Accept") String accept, Context context); @@ -165,7 +165,7 @@ Mono>> getP2sVpnConnectionHealth(@HostParam("endpoint" @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> getP2sVpnConnectionHealthDetailed(@HostParam("endpoint") String endpoint, + Mono>> getP2SVpnConnectionHealthDetailed(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("gatewayName") String gatewayName, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @@ -175,7 +175,7 @@ Mono>> getP2sVpnConnectionHealthDetailed(@HostParam("e @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> disconnectP2sVpnConnections(@HostParam("endpoint") String endpoint, + Mono>> disconnectP2SVpnConnections(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("p2sVpnGatewayName") String p2sVpnGatewayName, @HeaderParam("Content-Type") String contentType, @@ -1686,7 +1686,7 @@ public VpnProfileResponseInner generateVpnProfile(String resourceGroupName, Stri * along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, + public Mono>> getP2SVpnConnectionHealthWithResponseAsync(String resourceGroupName, String gatewayName) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1706,7 +1706,7 @@ public Mono>> getP2sVpnConnectionHealthWithResponseAsy final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getP2sVpnConnectionHealth(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.getP2SVpnConnectionHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1724,7 +1724,7 @@ public Mono>> getP2sVpnConnectionHealthWithResponseAsy * along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getP2sVpnConnectionHealthWithResponseAsync(String resourceGroupName, + private Mono>> getP2SVpnConnectionHealthWithResponseAsync(String resourceGroupName, String gatewayName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1744,7 +1744,7 @@ private Mono>> getP2sVpnConnectionHealthWithResponseAs final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getP2sVpnConnectionHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + return service.getP2SVpnConnectionHealth(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, gatewayName, accept, context); } @@ -1761,9 +1761,9 @@ private Mono>> getP2sVpnConnectionHealthWithResponseAs */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { + beginGetP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { Mono>> mono - = getP2sVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName); + = getP2SVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName); return this.client.getLroResult(mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, this.client.getContext()); } @@ -1782,10 +1782,10 @@ private Mono>> getP2sVpnConnectionHealthWithResponseAs */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, Context context) { + beginGetP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, Context context) { context = this.client.mergeContext(context); Mono>> mono - = getP2sVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName, context); + = getP2SVpnConnectionHealthWithResponseAsync(resourceGroupName, gatewayName, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), P2SVpnGatewayInner.class, P2SVpnGatewayInner.class, context); } @@ -1803,8 +1803,8 @@ private Mono>> getP2sVpnConnectionHealthWithResponseAs */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName) { - return this.beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).getSyncPoller(); + beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName) { + return this.beginGetP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName).getSyncPoller(); } /** @@ -1821,8 +1821,8 @@ private Mono>> getP2sVpnConnectionHealthWithResponseAs */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, P2SVpnGatewayInner> - beginGetP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { - return this.beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).getSyncPoller(); + beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { + return this.beginGetP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).getSyncPoller(); } /** @@ -1837,8 +1837,8 @@ private Mono>> getP2sVpnConnectionHealthWithResponseAs * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { - return beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).last() + public Mono getP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) { + return beginGetP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1855,9 +1855,9 @@ public Mono getP2sVpnConnectionHealthAsync(String resourceGr * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getP2sVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, + private Mono getP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName, Context context) { - return beginGetP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).last() + return beginGetP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1872,8 +1872,8 @@ private Mono getP2sVpnConnectionHealthAsync(String resourceG * @return the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName) { - return getP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName).block(); + public P2SVpnGatewayInner getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName) { + return getP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName).block(); } /** @@ -1888,8 +1888,8 @@ public P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, St * @return the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { - return getP2sVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).block(); + public P2SVpnGatewayInner getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, Context context) { + return getP2SVpnConnectionHealthAsync(resourceGroupName, gatewayName, context).block(); } /** @@ -1906,7 +1906,7 @@ public P2SVpnGatewayInner getP2sVpnConnectionHealth(String resourceGroupName, St * specified resource group along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, + public Mono>> getP2SVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1932,7 +1932,7 @@ public Mono>> getP2sVpnConnectionHealthDetailedWithRes final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getP2sVpnConnectionHealthDetailed(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.getP2SVpnConnectionHealthDetailed(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, request, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1952,7 +1952,7 @@ public Mono>> getP2sVpnConnectionHealthDetailedWithRes * specified resource group along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> getP2sVpnConnectionHealthDetailedWithResponseAsync( + private Mono>> getP2SVpnConnectionHealthDetailedWithResponseAsync( String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1978,7 +1978,7 @@ private Mono>> getP2sVpnConnectionHealthDetailedWithRe final String contentType = "application/json"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getP2sVpnConnectionHealthDetailed(this.client.getEndpoint(), apiVersion, + return service.getP2SVpnConnectionHealthDetailed(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, gatewayName, contentType, accept, request, context); } @@ -1997,10 +1997,10 @@ private Mono>> getP2sVpnConnectionHealthDetailedWithRe */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, + beginGetP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) { Mono>> mono - = getP2sVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request); + = getP2SVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request); return this.client.getLroResult(mono, this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, this.client.getContext()); @@ -2022,11 +2022,11 @@ private Mono>> getP2sVpnConnectionHealthDetailedWithRe */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, + beginGetP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { context = this.client.mergeContext(context); Mono>> mono - = getP2sVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request, context); + = getP2SVpnConnectionHealthDetailedWithResponseAsync(resourceGroupName, gatewayName, request, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), P2SVpnConnectionHealthInner.class, P2SVpnConnectionHealthInner.class, context); @@ -2047,9 +2047,9 @@ private Mono>> getP2sVpnConnectionHealthDetailedWithRe */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) { - return this.beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request) + return this.beginGetP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request) .getSyncPoller(); } @@ -2069,9 +2069,9 @@ private Mono>> getP2sVpnConnectionHealthDetailedWithRe */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, P2SVpnConnectionHealthInner> - beginGetP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { - return this.beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context) + return this.beginGetP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context) .getSyncPoller(); } @@ -2089,9 +2089,9 @@ private Mono>> getP2sVpnConnectionHealthDetailedWithRe * specified resource group on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, + public Mono getP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) { - return beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).last() + return beginGetP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2110,9 +2110,9 @@ public Mono getP2sVpnConnectionHealthDetailedAsync( * specified resource group on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono getP2sVpnConnectionHealthDetailedAsync(String resourceGroupName, + private Mono getP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { - return beginGetP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).last() + return beginGetP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2130,9 +2130,9 @@ private Mono getP2sVpnConnectionHealthDetailedAsync * specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + public P2SVpnConnectionHealthInner getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) { - return getP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).block(); + return getP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request).block(); } /** @@ -2150,9 +2150,9 @@ public P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String reso * specified resource group. */ @ServiceMethod(returns = ReturnType.SINGLE) - public P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, + public P2SVpnConnectionHealthInner getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, Context context) { - return getP2sVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).block(); + return getP2SVpnConnectionHealthDetailedAsync(resourceGroupName, gatewayName, request, context).block(); } /** @@ -2167,7 +2167,7 @@ public P2SVpnConnectionHealthInner getP2sVpnConnectionHealthDetailed(String reso * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, + public Mono>> disconnectP2SVpnConnectionsWithResponseAsync(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -2193,7 +2193,7 @@ public Mono>> disconnectP2sVpnConnectionsWithResponseA final String apiVersion = "2025-05-01"; final String contentType = "application/json"; return FluxUtil - .withContext(context -> service.disconnectP2sVpnConnections(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.disconnectP2SVpnConnections(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, p2sVpnGatewayName, contentType, request, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -2211,7 +2211,7 @@ public Mono>> disconnectP2sVpnConnectionsWithResponseA * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> disconnectP2sVpnConnectionsWithResponseAsync(String resourceGroupName, + private Mono>> disconnectP2SVpnConnectionsWithResponseAsync(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -2237,7 +2237,7 @@ private Mono>> disconnectP2sVpnConnectionsWithResponse final String apiVersion = "2025-05-01"; final String contentType = "application/json"; context = this.client.mergeContext(context); - return service.disconnectP2sVpnConnections(this.client.getEndpoint(), apiVersion, + return service.disconnectP2SVpnConnections(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, p2sVpnGatewayName, contentType, request, context); } @@ -2253,10 +2253,10 @@ private Mono>> disconnectP2sVpnConnectionsWithResponse * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, + public PollerFlux, Void> beginDisconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request) { Mono>> mono - = disconnectP2sVpnConnectionsWithResponseAsync(resourceGroupName, p2sVpnGatewayName, request); + = disconnectP2SVpnConnectionsWithResponseAsync(resourceGroupName, p2sVpnGatewayName, request); return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); } @@ -2274,11 +2274,11 @@ public PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync( * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync(String resourceGroupName, + private PollerFlux, Void> beginDisconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { context = this.client.mergeContext(context); Mono>> mono - = disconnectP2sVpnConnectionsWithResponseAsync(resourceGroupName, p2sVpnGatewayName, request, context); + = disconnectP2SVpnConnectionsWithResponseAsync(resourceGroupName, p2sVpnGatewayName, request, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); } @@ -2295,9 +2295,9 @@ private PollerFlux, Void> beginDisconnectP2sVpnConnectionsAsync * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDisconnectP2sVpnConnections(String resourceGroupName, + public SyncPoller, Void> beginDisconnectP2SVpnConnections(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request) { - return this.beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request) + return this.beginDisconnectP2SVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request) .getSyncPoller(); } @@ -2314,9 +2314,9 @@ public SyncPoller, Void> beginDisconnectP2sVpnConnections(Strin * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, Void> beginDisconnectP2sVpnConnections(String resourceGroupName, + public SyncPoller, Void> beginDisconnectP2SVpnConnections(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { - return this.beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context) + return this.beginDisconnectP2SVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context) .getSyncPoller(); } @@ -2332,9 +2332,9 @@ public SyncPoller, Void> beginDisconnectP2sVpnConnections(Strin * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, + public Mono disconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request) { - return beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request).last() + return beginDisconnectP2SVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2351,9 +2351,9 @@ public Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, Str * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, + private Mono disconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { - return beginDisconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context).last() + return beginDisconnectP2SVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2368,9 +2368,9 @@ private Mono disconnectP2sVpnConnectionsAsync(String resourceGroupName, St * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + public void disconnectP2SVpnConnections(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request) { - disconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request).block(); + disconnectP2SVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request).block(); } /** @@ -2385,9 +2385,9 @@ public void disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnG * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void disconnectP2sVpnConnections(String resourceGroupName, String p2sVpnGatewayName, + public void disconnectP2SVpnConnections(String resourceGroupName, String p2sVpnGatewayName, P2SVpnConnectionRequest request, Context context) { - disconnectP2sVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context).block(); + disconnectP2SVpnConnectionsAsync(resourceGroupName, p2sVpnGatewayName, request, context).block(); } /** diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java index 9d017522e8d2..8806c34beda0 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java @@ -764,8 +764,8 @@ public PrivateDnsZoneGroupInner createOrUpdate(String resourceGroupName, String /** * Gets all private dns zone groups in a private endpoint. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @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. @@ -773,24 +773,16 @@ public PrivateDnsZoneGroupInner createOrUpdate(String resourceGroupName, String * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String privateEndpointName) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + private Mono> listSinglePageAsync(String privateEndpointName, + String resourceGroupName) { + if (privateEndpointName == null) { + return Mono + .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (privateEndpointName == null) { - return Mono - .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil @@ -804,8 +796,8 @@ private Mono> listSinglePageAsync(String /** * Gets all private dns zone groups in a private endpoint. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @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. @@ -814,24 +806,16 @@ private Mono> listSinglePageAsync(String * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync(String resourceGroupName, - String privateEndpointName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + private Mono> listSinglePageAsync(String privateEndpointName, + String resourceGroupName, Context context) { + if (privateEndpointName == null) { + return Mono + .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (privateEndpointName == null) { - return Mono - .error(new IllegalArgumentException("Parameter privateEndpointName is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); @@ -845,24 +829,24 @@ private Mono> listSinglePageAsync(String /** * Gets all private dns zone groups in a private endpoint. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listAsync(String resourceGroupName, String privateEndpointName) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, privateEndpointName), + public PagedFlux listAsync(String privateEndpointName, String resourceGroupName) { + return new PagedFlux<>(() -> listSinglePageAsync(privateEndpointName, resourceGroupName), nextLink -> listNextSinglePageAsync(nextLink)); } /** * Gets all private dns zone groups in a private endpoint. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @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. @@ -870,32 +854,32 @@ public PagedFlux listAsync(String resourceGroupName, S * @return all private dns zone groups in a private endpoint as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync(String resourceGroupName, String privateEndpointName, + private PagedFlux listAsync(String privateEndpointName, String resourceGroupName, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, privateEndpointName, context), + return new PagedFlux<>(() -> listSinglePageAsync(privateEndpointName, resourceGroupName, context), nextLink -> listNextSinglePageAsync(nextLink, context)); } /** * Gets all private dns zone groups in a private endpoint. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @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 all private dns zone groups in a private endpoint as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String privateEndpointName) { - return new PagedIterable<>(listAsync(resourceGroupName, privateEndpointName)); + public PagedIterable list(String privateEndpointName, String resourceGroupName) { + return new PagedIterable<>(listAsync(privateEndpointName, resourceGroupName)); } /** * Gets all private dns zone groups in a private endpoint. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateEndpointName The name of the private endpoint. + * @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. @@ -903,9 +887,9 @@ public PagedIterable list(String resourceGroupName, St * @return all private dns zone groups in a private endpoint as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(String resourceGroupName, String privateEndpointName, + public PagedIterable list(String privateEndpointName, String resourceGroupName, Context context) { - return new PagedIterable<>(listAsync(resourceGroupName, privateEndpointName, context)); + return new PagedIterable<>(listAsync(privateEndpointName, resourceGroupName, context)); } /** @@ -923,10 +907,6 @@ private Mono> listNextSinglePageAsync(St if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } final String accept = "application/json"; return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), @@ -950,10 +930,6 @@ private Mono> listNextSinglePageAsync(St if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } final String accept = "application/json"; context = this.client.mergeContext(context); return service.listNext(nextLink, this.client.getEndpoint(), accept, context) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java index 8f32bf5c3b78..ad81c2c44e80 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java @@ -1979,8 +1979,8 @@ public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(Strin /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1989,22 +1989,14 @@ public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibility(Strin */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync( - String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters) { + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { @@ -2023,8 +2015,8 @@ public Mono>> checkPrivateLinkServiceVisibilityByResou /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2034,23 +2026,15 @@ public Mono>> checkPrivateLinkServiceVisibilityByResou */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync( - String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters, + String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } if (parameters == null) { return Mono.error(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); } else { @@ -2067,8 +2051,8 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2077,10 +2061,10 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String resourceGroupName, String location, + beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters) { Mono>> mono = checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync( - resourceGroupName, location, parameters); + location, resourceGroupName, parameters); return this.client.getLroResult(mono, this.client.getHttpPipeline(), PrivateLinkServiceVisibilityInner.class, PrivateLinkServiceVisibilityInner.class, this.client.getContext()); @@ -2089,8 +2073,8 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2100,11 +2084,11 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String resourceGroupName, String location, + beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { context = this.client.mergeContext(context); Mono>> mono = checkPrivateLinkServiceVisibilityByResourceGroupWithResponseAsync( - resourceGroupName, location, parameters, context); + location, resourceGroupName, parameters, context); return this.client.getLroResult(mono, this.client.getHttpPipeline(), PrivateLinkServiceVisibilityInner.class, PrivateLinkServiceVisibilityInner.class, context); @@ -2113,8 +2097,8 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2123,17 +2107,17 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, String location, + beginCheckPrivateLinkServiceVisibilityByResourceGroup(String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters) { - return this.beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters) + return this.beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters) .getSyncPoller(); } /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2143,10 +2127,10 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, PrivateLinkServiceVisibilityInner> - beginCheckPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, String location, + beginCheckPrivateLinkServiceVisibilityByResourceGroup(String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { return this - .beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters, + .beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters, context) .getSyncPoller(); } @@ -2154,8 +2138,8 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2164,8 +2148,8 @@ private Mono>> checkPrivateLinkServiceVisibilityByReso */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono checkPrivateLinkServiceVisibilityByResourceGroupAsync( - String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters) { - return beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters) + String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters) { + return beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters) .last() .flatMap(this.client::getLroFinalResultOrError); } @@ -2173,8 +2157,8 @@ public Mono checkPrivateLinkServiceVisibility /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2184,17 +2168,17 @@ public Mono checkPrivateLinkServiceVisibility */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono checkPrivateLinkServiceVisibilityByResourceGroupAsync( - String resourceGroupName, String location, CheckPrivateLinkServiceVisibilityRequest parameters, + String location, String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { - return beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters, + return beginCheckPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters, context).last().flatMap(this.client::getLroFinalResultOrError); } /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2202,16 +2186,16 @@ private Mono checkPrivateLinkServiceVisibilit * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, - String location, CheckPrivateLinkServiceVisibilityRequest parameters) { - return checkPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters).block(); + public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String location, + String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters) { + return checkPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters).block(); } /** * Checks whether the subscription is visible to private link service in the specified resource group. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param parameters The request body. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -2220,9 +2204,9 @@ public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByReso * @return the response. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String resourceGroupName, - String location, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { - return checkPrivateLinkServiceVisibilityByResourceGroupAsync(resourceGroupName, location, parameters, context) + public PrivateLinkServiceVisibilityInner checkPrivateLinkServiceVisibilityByResourceGroup(String location, + String resourceGroupName, CheckPrivateLinkServiceVisibilityRequest parameters, Context context) { + return checkPrivateLinkServiceVisibilityByResourceGroupAsync(location, resourceGroupName, parameters, context) .block(); } @@ -2371,8 +2355,8 @@ public PagedIterable listAutoApprovedPrivat * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -2381,22 +2365,14 @@ public PagedIterable listAutoApprovedPrivat */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(String resourceGroupName, String location) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(String location, String resourceGroupName) { + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil @@ -2412,8 +2388,8 @@ public PagedIterable listAutoApprovedPrivat * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -2423,23 +2399,15 @@ public PagedIterable listAutoApprovedPrivat */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(String resourceGroupName, String location, + listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(String location, String resourceGroupName, Context context) { - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - return Mono.error(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } if (resourceGroupName == null) { return Mono .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); } - if (location == null) { - return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); - } final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); @@ -2454,8 +2422,8 @@ public PagedIterable listAutoApprovedPrivat * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -2464,9 +2432,9 @@ public PagedIterable listAutoApprovedPrivat */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux - listAutoApprovedPrivateLinkServicesByResourceGroupAsync(String resourceGroupName, String location) { + listAutoApprovedPrivateLinkServicesByResourceGroupAsync(String location, String resourceGroupName) { return new PagedFlux<>( - () -> listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(resourceGroupName, location), + () -> listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(location, resourceGroupName), nextLink -> listAutoApprovedPrivateLinkServicesByResourceGroupNextSinglePageAsync(nextLink)); } @@ -2474,8 +2442,8 @@ public PagedIterable listAutoApprovedPrivat * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -2485,9 +2453,9 @@ public PagedIterable listAutoApprovedPrivat */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAutoApprovedPrivateLinkServicesByResourceGroupAsync( - String resourceGroupName, String location, Context context) { + String location, String resourceGroupName, Context context) { return new PagedFlux<>( - () -> listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(resourceGroupName, location, + () -> listAutoApprovedPrivateLinkServicesByResourceGroupSinglePageAsync(location, resourceGroupName, context), nextLink -> listAutoApprovedPrivateLinkServicesByResourceGroupNextSinglePageAsync(nextLink, context)); } @@ -2496,8 +2464,8 @@ private PagedFlux listAutoApprovedPrivateLi * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -2506,17 +2474,17 @@ private PagedFlux listAutoApprovedPrivateLi */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable - listAutoApprovedPrivateLinkServicesByResourceGroup(String resourceGroupName, String location) { + listAutoApprovedPrivateLinkServicesByResourceGroup(String location, String resourceGroupName) { return new PagedIterable<>( - listAutoApprovedPrivateLinkServicesByResourceGroupAsync(resourceGroupName, location)); + listAutoApprovedPrivateLinkServicesByResourceGroupAsync(location, resourceGroupName)); } /** * Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this * subscription in this region. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param location The location name. + * @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. @@ -2526,9 +2494,9 @@ private PagedFlux listAutoApprovedPrivateLi */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable - listAutoApprovedPrivateLinkServicesByResourceGroup(String resourceGroupName, String location, Context context) { + listAutoApprovedPrivateLinkServicesByResourceGroup(String location, String resourceGroupName, Context context) { return new PagedIterable<>( - listAutoApprovedPrivateLinkServicesByResourceGroupAsync(resourceGroupName, location, context)); + listAutoApprovedPrivateLinkServicesByResourceGroupAsync(location, resourceGroupName, context)); } /** @@ -2769,10 +2737,6 @@ private Mono> listBySubscriptionNextSingl if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } final String accept = "application/json"; return FluxUtil .withContext(context -> service.listAutoApprovedPrivateLinkServicesByResourceGroupNext(nextLink, @@ -2799,10 +2763,6 @@ private Mono> listBySubscriptionNextSingl if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } - if (this.client.getEndpoint() == null) { - return Mono.error( - new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); - } final String accept = "application/json"; context = this.client.mergeContext(context); return service diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java index 38b29c1763a3..221c3e4d798c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java @@ -84,7 +84,7 @@ public interface PublicIpAddressesService { @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getCloudServicePublicIPAddress(@HostParam("endpoint") String endpoint, + Mono> getCloudServicePublicIpAddress(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("cloudServiceName") String cloudServiceName, @@ -98,7 +98,7 @@ Mono> getCloudServicePublicIPAddress(@HostParam(" @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listCloudServiceRoleInstancePublicIPAddresses( + Mono> listCloudServiceRoleInstancePublicIpAddresses( @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @@ -199,7 +199,7 @@ Mono>> disassociateCloudServiceReservedPublicIp( @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/publicipaddresses") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listCloudServicePublicIPAddresses( + Mono> listCloudServicePublicIpAddresses( @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @@ -210,7 +210,7 @@ Mono> listCloudServicePublicIPAddresses( @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetPublicIPAddresses( + Mono> listVirtualMachineScaleSetPublicIpAddresses( @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @@ -221,7 +221,7 @@ Mono> listVirtualMachineScaleSetPublicIPAddr @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getVirtualMachineScaleSetPublicIPAddress( + Mono> getVirtualMachineScaleSetPublicIpAddress( @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @@ -236,7 +236,7 @@ Mono> getVirtualMachineScaleSetPublicIPAddress( @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetVMPublicIPAddresses( + Mono> listVirtualMachineScaleSetVMPublicIpAddresses( @HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @@ -250,7 +250,7 @@ Mono> listVirtualMachineScaleSetVMPublicIPAd @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listCloudServiceRoleInstancePublicIPAddressesNext( + Mono> listCloudServiceRoleInstancePublicIpAddressesNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @@ -274,7 +274,7 @@ Mono> listAllNext( @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listCloudServicePublicIPAddressesNext( + Mono> listCloudServicePublicIpAddressesNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @@ -282,7 +282,7 @@ Mono> listCloudServicePublicIPAddressesNext( @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetPublicIPAddressesNext( + Mono> listVirtualMachineScaleSetPublicIpAddressesNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @@ -290,7 +290,7 @@ Mono> listVirtualMachineScaleSetPublicIPAddr @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachineScaleSetVMPublicIPAddressesNext( + Mono> listVirtualMachineScaleSetVMPublicIpAddressesNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } @@ -312,7 +312,7 @@ Mono> listVirtualMachineScaleSetVMPublicIPAd * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getCloudServicePublicIPAddressWithResponseAsync( + public Mono> getCloudServicePublicIpAddressWithResponseAsync( String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand) { if (this.client.getEndpoint() == null) { @@ -350,7 +350,7 @@ public Mono> getCloudServicePublicIPAddressWithRe final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.getCloudServicePublicIPAddress(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.getCloudServicePublicIpAddress(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); @@ -374,7 +374,7 @@ public Mono> getCloudServicePublicIPAddressWithRe * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getCloudServicePublicIPAddressWithResponseAsync( + private Mono> getCloudServicePublicIpAddressWithResponseAsync( String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, Context context) { if (this.client.getEndpoint() == null) { @@ -412,7 +412,7 @@ private Mono> getCloudServicePublicIPAddressWithR final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getCloudServicePublicIPAddress(this.client.getEndpoint(), apiVersion, + return service.getCloudServicePublicIpAddress(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context); } @@ -432,11 +432,11 @@ private Mono> getCloudServicePublicIPAddressWithR * @return the specified public IP address in a cloud service on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getCloudServicePublicIPAddressAsync(String resourceGroupName, + public Mono getCloudServicePublicIpAddressAsync(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName) { final String expand = null; - return getCloudServicePublicIPAddressWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, + return getCloudServicePublicIpAddressWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } @@ -458,10 +458,10 @@ public Mono getCloudServicePublicIPAddressAsync(String res * @return the specified public IP address in a cloud service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCloudServicePublicIPAddressWithResponse(String resourceGroupName, + public Response getCloudServicePublicIpAddressWithResponse(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, Context context) { - return getCloudServicePublicIPAddressWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, + return getCloudServicePublicIpAddressWithResponseAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, context).block(); } @@ -480,10 +480,10 @@ public Response getCloudServicePublicIPAddressWithResponse * @return the specified public IP address in a cloud service. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner getCloudServicePublicIPAddress(String resourceGroupName, String cloudServiceName, + public PublicIpAddressInner getCloudServicePublicIpAddress(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName) { final String expand = null; - return getCloudServicePublicIPAddressWithResponse(resourceGroupName, cloudServiceName, roleInstanceName, + return getCloudServicePublicIpAddressWithResponse(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, Context.NONE).getValue(); } @@ -502,7 +502,7 @@ public PublicIpAddressInner getCloudServicePublicIPAddress(String resourceGroupN * with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCloudServiceRoleInstancePublicIPAddressesSinglePageAsync( + private Mono> listCloudServiceRoleInstancePublicIpAddressesSinglePageAsync( String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName) { if (this.client.getEndpoint() == null) { @@ -536,7 +536,7 @@ private Mono> listCloudServiceRoleInstancePu final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listCloudServiceRoleInstancePublicIPAddresses(this.client.getEndpoint(), + .withContext(context -> service.listCloudServiceRoleInstancePublicIpAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), @@ -560,7 +560,7 @@ private Mono> listCloudServiceRoleInstancePu * with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCloudServiceRoleInstancePublicIPAddressesSinglePageAsync( + private Mono> listCloudServiceRoleInstancePublicIpAddressesSinglePageAsync( String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, Context context) { if (this.client.getEndpoint() == null) { @@ -595,7 +595,7 @@ private Mono> listCloudServiceRoleInstancePu final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listCloudServiceRoleInstancePublicIPAddresses(this.client.getEndpoint(), apiVersion, + .listCloudServiceRoleInstancePublicIpAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), @@ -617,12 +617,12 @@ private Mono> listCloudServiceRoleInstancePu * paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listCloudServiceRoleInstancePublicIPAddressesAsync(String resourceGroupName, + public PagedFlux listCloudServiceRoleInstancePublicIpAddressesAsync(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName) { return new PagedFlux<>( - () -> listCloudServiceRoleInstancePublicIPAddressesSinglePageAsync(resourceGroupName, cloudServiceName, + () -> listCloudServiceRoleInstancePublicIpAddressesSinglePageAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName), - nextLink -> listCloudServiceRoleInstancePublicIPAddressesNextSinglePageAsync(nextLink)); + nextLink -> listCloudServiceRoleInstancePublicIpAddressesNextSinglePageAsync(nextLink)); } /** @@ -641,13 +641,13 @@ public PagedFlux listCloudServiceRoleInstancePublicIPAddre * paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listCloudServiceRoleInstancePublicIPAddressesAsync(String resourceGroupName, + private PagedFlux listCloudServiceRoleInstancePublicIpAddressesAsync(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, Context context) { return new PagedFlux<>( - () -> listCloudServiceRoleInstancePublicIPAddressesSinglePageAsync(resourceGroupName, cloudServiceName, + () -> listCloudServiceRoleInstancePublicIpAddressesSinglePageAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, context), - nextLink -> listCloudServiceRoleInstancePublicIPAddressesNextSinglePageAsync(nextLink, context)); + nextLink -> listCloudServiceRoleInstancePublicIpAddressesNextSinglePageAsync(nextLink, context)); } /** @@ -665,9 +665,9 @@ private PagedFlux listCloudServiceRoleInstancePublicIPAddr * paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServiceRoleInstancePublicIPAddresses(String resourceGroupName, + public PagedIterable listCloudServiceRoleInstancePublicIpAddresses(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName) { - return new PagedIterable<>(listCloudServiceRoleInstancePublicIPAddressesAsync(resourceGroupName, + return new PagedIterable<>(listCloudServiceRoleInstancePublicIpAddressesAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName)); } @@ -687,10 +687,10 @@ public PagedIterable listCloudServiceRoleInstancePublicIPA * paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServiceRoleInstancePublicIPAddresses(String resourceGroupName, + public PagedIterable listCloudServiceRoleInstancePublicIpAddresses(String resourceGroupName, String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName, Context context) { - return new PagedIterable<>(listCloudServiceRoleInstancePublicIPAddressesAsync(resourceGroupName, + return new PagedIterable<>(listCloudServiceRoleInstancePublicIpAddressesAsync(resourceGroupName, cloudServiceName, roleInstanceName, networkInterfaceName, ipConfigurationName, context)); } @@ -2421,7 +2421,7 @@ public PublicIpAddressInner disassociateCloudServiceReservedPublicIp(String reso */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listCloudServicePublicIPAddressesSinglePageAsync(String resourceGroupName, String cloudServiceName) { + listCloudServicePublicIpAddressesSinglePageAsync(String resourceGroupName, String cloudServiceName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -2441,7 +2441,7 @@ public PublicIpAddressInner disassociateCloudServiceReservedPublicIp(String reso final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listCloudServicePublicIPAddresses(this.client.getEndpoint(), apiVersion, + .withContext(context -> service.listCloudServicePublicIpAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -2461,7 +2461,7 @@ public PublicIpAddressInner disassociateCloudServiceReservedPublicIp(String reso * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listCloudServicePublicIPAddressesSinglePageAsync( + private Mono> listCloudServicePublicIpAddressesSinglePageAsync( String resourceGroupName, String cloudServiceName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -2483,7 +2483,7 @@ private Mono> listCloudServicePublicIPAddres final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listCloudServicePublicIPAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), + .listCloudServicePublicIpAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, cloudServiceName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); @@ -2501,11 +2501,11 @@ private Mono> listCloudServicePublicIPAddres * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listCloudServicePublicIPAddressesAsync(String resourceGroupName, + public PagedFlux listCloudServicePublicIpAddressesAsync(String resourceGroupName, String cloudServiceName) { return new PagedFlux<>( - () -> listCloudServicePublicIPAddressesSinglePageAsync(resourceGroupName, cloudServiceName), - nextLink -> listCloudServicePublicIPAddressesNextSinglePageAsync(nextLink)); + () -> listCloudServicePublicIpAddressesSinglePageAsync(resourceGroupName, cloudServiceName), + nextLink -> listCloudServicePublicIpAddressesNextSinglePageAsync(nextLink)); } /** @@ -2521,11 +2521,11 @@ public PagedFlux listCloudServicePublicIPAddressesAsync(St * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listCloudServicePublicIPAddressesAsync(String resourceGroupName, + private PagedFlux listCloudServicePublicIpAddressesAsync(String resourceGroupName, String cloudServiceName, Context context) { return new PagedFlux<>( - () -> listCloudServicePublicIPAddressesSinglePageAsync(resourceGroupName, cloudServiceName, context), - nextLink -> listCloudServicePublicIPAddressesNextSinglePageAsync(nextLink, context)); + () -> listCloudServicePublicIpAddressesSinglePageAsync(resourceGroupName, cloudServiceName, context), + nextLink -> listCloudServicePublicIpAddressesNextSinglePageAsync(nextLink, context)); } /** @@ -2540,9 +2540,9 @@ private PagedFlux listCloudServicePublicIPAddressesAsync(S * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServicePublicIPAddresses(String resourceGroupName, + public PagedIterable listCloudServicePublicIpAddresses(String resourceGroupName, String cloudServiceName) { - return new PagedIterable<>(listCloudServicePublicIPAddressesAsync(resourceGroupName, cloudServiceName)); + return new PagedIterable<>(listCloudServicePublicIpAddressesAsync(resourceGroupName, cloudServiceName)); } /** @@ -2558,10 +2558,10 @@ public PagedIterable listCloudServicePublicIPAddresses(Str * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listCloudServicePublicIPAddresses(String resourceGroupName, + public PagedIterable listCloudServicePublicIpAddresses(String resourceGroupName, String cloudServiceName, Context context) { return new PagedIterable<>( - listCloudServicePublicIPAddressesAsync(resourceGroupName, cloudServiceName, context)); + listCloudServicePublicIpAddressesAsync(resourceGroupName, cloudServiceName, context)); } /** @@ -2576,7 +2576,7 @@ public PagedIterable listCloudServicePublicIPAddresses(Str * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync( + private Mono> listVirtualMachineScaleSetPublicIpAddressesSinglePageAsync( String resourceGroupName, String virtualMachineScaleSetName) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -2598,7 +2598,7 @@ private Mono> listVirtualMachineScaleSetPubl final String accept = "application/json"; return FluxUtil .withContext( - context -> service.listVirtualMachineScaleSetPublicIPAddresses(this.client.getEndpoint(), apiVersion, + context -> service.listVirtualMachineScaleSetPublicIpAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -2618,7 +2618,7 @@ private Mono> listVirtualMachineScaleSetPubl * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync( + private Mono> listVirtualMachineScaleSetPublicIpAddressesSinglePageAsync( String resourceGroupName, String virtualMachineScaleSetName, Context context) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -2640,7 +2640,7 @@ private Mono> listVirtualMachineScaleSetPubl final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listVirtualMachineScaleSetPublicIPAddresses(this.client.getEndpoint(), apiVersion, + .listVirtualMachineScaleSetPublicIpAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); @@ -2658,12 +2658,12 @@ private Mono> listVirtualMachineScaleSetPubl * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, + public PagedFlux listVirtualMachineScaleSetPublicIpAddressesAsync(String resourceGroupName, String virtualMachineScaleSetName) { return new PagedFlux<>( - () -> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync(resourceGroupName, + () -> listVirtualMachineScaleSetPublicIpAddressesSinglePageAsync(resourceGroupName, virtualMachineScaleSetName), - nextLink -> listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(nextLink)); + nextLink -> listVirtualMachineScaleSetPublicIpAddressesNextSinglePageAsync(nextLink)); } /** @@ -2679,12 +2679,12 @@ public PagedFlux listVirtualMachineScaleSetPublicIPAddress * {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listVirtualMachineScaleSetPublicIPAddressesAsync(String resourceGroupName, + private PagedFlux listVirtualMachineScaleSetPublicIpAddressesAsync(String resourceGroupName, String virtualMachineScaleSetName, Context context) { return new PagedFlux<>( - () -> listVirtualMachineScaleSetPublicIPAddressesSinglePageAsync(resourceGroupName, + () -> listVirtualMachineScaleSetPublicIpAddressesSinglePageAsync(resourceGroupName, virtualMachineScaleSetName, context), - nextLink -> listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(nextLink, context)); + nextLink -> listVirtualMachineScaleSetPublicIpAddressesNextSinglePageAsync(nextLink, context)); } /** @@ -2699,10 +2699,10 @@ private PagedFlux listVirtualMachineScaleSetPublicIPAddres * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + public PagedIterable listVirtualMachineScaleSetPublicIpAddresses(String resourceGroupName, String virtualMachineScaleSetName) { return new PagedIterable<>( - listVirtualMachineScaleSetPublicIPAddressesAsync(resourceGroupName, virtualMachineScaleSetName)); + listVirtualMachineScaleSetPublicIpAddressesAsync(resourceGroupName, virtualMachineScaleSetName)); } /** @@ -2718,10 +2718,10 @@ public PagedIterable listVirtualMachineScaleSetPublicIPAdd * {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetPublicIPAddresses(String resourceGroupName, + public PagedIterable listVirtualMachineScaleSetPublicIpAddresses(String resourceGroupName, String virtualMachineScaleSetName, Context context) { return new PagedIterable<>( - listVirtualMachineScaleSetPublicIPAddressesAsync(resourceGroupName, virtualMachineScaleSetName, context)); + listVirtualMachineScaleSetPublicIpAddressesAsync(resourceGroupName, virtualMachineScaleSetName, context)); } /** @@ -2741,7 +2741,7 @@ public PagedIterable listVirtualMachineScaleSetPublicIPAdd * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( + public Mono> getVirtualMachineScaleSetPublicIpAddressWithResponseAsync( String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand) { if (this.client.getEndpoint() == null) { @@ -2780,7 +2780,7 @@ public Mono> getVirtualMachineScaleSetPublicIPAdd final String accept = "application/json"; return FluxUtil .withContext( - context -> service.getVirtualMachineScaleSetPublicIPAddress(this.client.getEndpoint(), apiVersion, + context -> service.getVirtualMachineScaleSetPublicIpAddress(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); @@ -2804,7 +2804,7 @@ public Mono> getVirtualMachineScaleSetPublicIPAdd * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> getVirtualMachineScaleSetPublicIPAddressWithResponseAsync( + private Mono> getVirtualMachineScaleSetPublicIpAddressWithResponseAsync( String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, Context context) { @@ -2843,7 +2843,7 @@ private Mono> getVirtualMachineScaleSetPublicIPAd final String apiVersion = "2025-05-01"; final String accept = "application/json"; context = this.client.mergeContext(context); - return service.getVirtualMachineScaleSetPublicIPAddress(this.client.getEndpoint(), apiVersion, + return service.getVirtualMachineScaleSetPublicIpAddress(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, accept, context); } @@ -2863,11 +2863,11 @@ private Mono> getVirtualMachineScaleSetPublicIPAd * @return the specified public IP address in a virtual machine scale set on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getVirtualMachineScaleSetPublicIPAddressAsync(String resourceGroupName, + public Mono getVirtualMachineScaleSetPublicIpAddressAsync(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName) { final String expand = null; - return getVirtualMachineScaleSetPublicIPAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + return getVirtualMachineScaleSetPublicIpAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } @@ -2889,10 +2889,10 @@ public Mono getVirtualMachineScaleSetPublicIPAddressAsync( * @return the specified public IP address in a virtual machine scale set along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getVirtualMachineScaleSetPublicIPAddressWithResponse(String resourceGroupName, + public Response getVirtualMachineScaleSetPublicIpAddressWithResponse(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand, Context context) { - return getVirtualMachineScaleSetPublicIPAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, + return getVirtualMachineScaleSetPublicIpAddressWithResponseAsync(resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, context) .block(); } @@ -2912,11 +2912,11 @@ public Response getVirtualMachineScaleSetPublicIPAddressWi * @return the specified public IP address in a virtual machine scale set. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PublicIpAddressInner getVirtualMachineScaleSetPublicIPAddress(String resourceGroupName, + public PublicIpAddressInner getVirtualMachineScaleSetPublicIpAddress(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName) { final String expand = null; - return getVirtualMachineScaleSetPublicIPAddressWithResponse(resourceGroupName, virtualMachineScaleSetName, + return getVirtualMachineScaleSetPublicIpAddressWithResponse(resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, expand, Context.NONE) .getValue(); } @@ -2937,7 +2937,7 @@ public PublicIpAddressInner getVirtualMachineScaleSetPublicIPAddress(String reso * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync( + private Mono> listVirtualMachineScaleSetVMPublicIpAddressesSinglePageAsync( String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName) { if (this.client.getEndpoint() == null) { @@ -2971,7 +2971,7 @@ private Mono> listVirtualMachineScaleSetVMPu final String apiVersion = "2025-05-01"; final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetVMPublicIPAddresses(this.client.getEndpoint(), + .withContext(context -> service.listVirtualMachineScaleSetVMPublicIpAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), @@ -2996,7 +2996,7 @@ private Mono> listVirtualMachineScaleSetVMPu * scale set along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync( + private Mono> listVirtualMachineScaleSetVMPublicIpAddressesSinglePageAsync( String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, Context context) { if (this.client.getEndpoint() == null) { @@ -3031,7 +3031,7 @@ private Mono> listVirtualMachineScaleSetVMPu final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listVirtualMachineScaleSetVMPublicIPAddresses(this.client.getEndpoint(), apiVersion, + .listVirtualMachineScaleSetVMPublicIpAddresses(this.client.getEndpoint(), apiVersion, this.client.getSubscriptionId(), resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), @@ -3054,13 +3054,13 @@ private Mono> listVirtualMachineScaleSetVMPu * scale set as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, + public PagedFlux listVirtualMachineScaleSetVMPublicIpAddressesAsync(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName) { return new PagedFlux<>( - () -> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync(resourceGroupName, + () -> listVirtualMachineScaleSetVMPublicIpAddressesSinglePageAsync(resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName), - nextLink -> listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(nextLink)); + nextLink -> listVirtualMachineScaleSetVMPublicIpAddressesNextSinglePageAsync(nextLink)); } /** @@ -3080,13 +3080,13 @@ public PagedFlux listVirtualMachineScaleSetVMPublicIPAddre * scale set as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listVirtualMachineScaleSetVMPublicIPAddressesAsync(String resourceGroupName, + private PagedFlux listVirtualMachineScaleSetVMPublicIpAddressesAsync(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, Context context) { return new PagedFlux<>( - () -> listVirtualMachineScaleSetVMPublicIPAddressesSinglePageAsync(resourceGroupName, + () -> listVirtualMachineScaleSetVMPublicIpAddressesSinglePageAsync(resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, context), - nextLink -> listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(nextLink, context)); + nextLink -> listVirtualMachineScaleSetVMPublicIpAddressesNextSinglePageAsync(nextLink, context)); } /** @@ -3105,10 +3105,10 @@ private PagedFlux listVirtualMachineScaleSetVMPublicIPAddr * scale set as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + public PagedIterable listVirtualMachineScaleSetVMPublicIpAddresses(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName) { - return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIPAddressesAsync(resourceGroupName, + return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIpAddressesAsync(resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName)); } @@ -3129,10 +3129,10 @@ public PagedIterable listVirtualMachineScaleSetVMPublicIPA * scale set as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listVirtualMachineScaleSetVMPublicIPAddresses(String resourceGroupName, + public PagedIterable listVirtualMachineScaleSetVMPublicIpAddresses(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName, String ipConfigurationName, Context context) { - return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIPAddressesAsync(resourceGroupName, + return new PagedIterable<>(listVirtualMachineScaleSetVMPublicIpAddressesAsync(resourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, context)); } @@ -3148,7 +3148,7 @@ public PagedIterable listVirtualMachineScaleSetVMPublicIPA */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listCloudServiceRoleInstancePublicIPAddressesNextSinglePageAsync(String nextLink) { + listCloudServiceRoleInstancePublicIpAddressesNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3158,7 +3158,7 @@ public PagedIterable listVirtualMachineScaleSetVMPublicIPA } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listCloudServiceRoleInstancePublicIPAddressesNext(nextLink, + .withContext(context -> service.listCloudServiceRoleInstancePublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -3178,7 +3178,7 @@ public PagedIterable listVirtualMachineScaleSetVMPublicIPA */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listCloudServiceRoleInstancePublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { + listCloudServiceRoleInstancePublicIpAddressesNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3189,7 +3189,7 @@ public PagedIterable listVirtualMachineScaleSetVMPublicIPA final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listCloudServiceRoleInstancePublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) + .listCloudServiceRoleInstancePublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -3313,7 +3313,7 @@ private Mono> listAllNextSinglePageAsync(Str */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listCloudServicePublicIPAddressesNextSinglePageAsync(String nextLink) { + listCloudServicePublicIpAddressesNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3323,7 +3323,7 @@ private Mono> listAllNextSinglePageAsync(Str } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listCloudServicePublicIPAddressesNext(nextLink, this.client.getEndpoint(), + .withContext(context -> service.listCloudServicePublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -3343,7 +3343,7 @@ private Mono> listAllNextSinglePageAsync(Str */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listCloudServicePublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { + listCloudServicePublicIpAddressesNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3353,7 +3353,7 @@ private Mono> listAllNextSinglePageAsync(Str } final String accept = "application/json"; context = this.client.mergeContext(context); - return service.listCloudServicePublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) + return service.listCloudServicePublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -3370,7 +3370,7 @@ private Mono> listAllNextSinglePageAsync(Str */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(String nextLink) { + listVirtualMachineScaleSetPublicIpAddressesNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3380,7 +3380,7 @@ private Mono> listAllNextSinglePageAsync(Str } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetPublicIPAddressesNext(nextLink, + .withContext(context -> service.listVirtualMachineScaleSetPublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -3400,7 +3400,7 @@ private Mono> listAllNextSinglePageAsync(Str */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listVirtualMachineScaleSetPublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { + listVirtualMachineScaleSetPublicIpAddressesNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3411,7 +3411,7 @@ private Mono> listAllNextSinglePageAsync(Str final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listVirtualMachineScaleSetPublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) + .listVirtualMachineScaleSetPublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } @@ -3428,7 +3428,7 @@ private Mono> listAllNextSinglePageAsync(Str */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(String nextLink) { + listVirtualMachineScaleSetVMPublicIpAddressesNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3438,7 +3438,7 @@ private Mono> listAllNextSinglePageAsync(Str } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listVirtualMachineScaleSetVMPublicIPAddressesNext(nextLink, + .withContext(context -> service.listVirtualMachineScaleSetVMPublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) @@ -3458,7 +3458,7 @@ private Mono> listAllNextSinglePageAsync(Str */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> - listVirtualMachineScaleSetVMPublicIPAddressesNextSinglePageAsync(String nextLink, Context context) { + listVirtualMachineScaleSetVMPublicIpAddressesNextSinglePageAsync(String nextLink, Context context) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -3469,7 +3469,7 @@ private Mono> listAllNextSinglePageAsync(Str final String accept = "application/json"; context = this.client.mergeContext(context); return service - .listVirtualMachineScaleSetVMPublicIPAddressesNext(nextLink, this.client.getEndpoint(), accept, context) + .listVirtualMachineScaleSetVMPublicIpAddressesNext(nextLink, this.client.getEndpoint(), accept, context) .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java index 07c266fef8ac..64168780242c 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java @@ -31,7 +31,7 @@ import com.azure.core.util.FluxUtil; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; -import com.azure.resourcemanager.network.fluent.VirtualHubRouteTableV2sClient; +import com.azure.resourcemanager.network.fluent.VirtualHubRouteTableV2SClient; import com.azure.resourcemanager.network.fluent.models.VirtualHubRouteTableV2Inner; import com.azure.resourcemanager.network.implementation.models.ListVirtualHubRouteTableV2sResult; import com.azure.resourcemanager.network.models.ErrorException; @@ -40,13 +40,13 @@ import reactor.core.publisher.Mono; /** - * An instance of this class provides access to all the operations defined in VirtualHubRouteTableV2sClient. + * An instance of this class provides access to all the operations defined in VirtualHubRouteTableV2SClient. */ -public final class VirtualHubRouteTableV2sClientImpl implements VirtualHubRouteTableV2sClient { +public final class VirtualHubRouteTableV2SClientImpl implements VirtualHubRouteTableV2SClient { /** * The proxy service used to perform REST calls. */ - private final VirtualHubRouteTableV2sService service; + private final VirtualHubRouteTableV2SService service; /** * The service client containing this operation class. @@ -54,23 +54,23 @@ public final class VirtualHubRouteTableV2sClientImpl implements VirtualHubRouteT private final NetworkManagementClientImpl client; /** - * Initializes an instance of VirtualHubRouteTableV2sClientImpl. + * Initializes an instance of VirtualHubRouteTableV2SClientImpl. * * @param client the instance of the service client containing this operation class. */ - VirtualHubRouteTableV2sClientImpl(NetworkManagementClientImpl client) { - this.service = RestProxy.create(VirtualHubRouteTableV2sService.class, client.getHttpPipeline(), + VirtualHubRouteTableV2SClientImpl(NetworkManagementClientImpl client) { + this.service = RestProxy.create(VirtualHubRouteTableV2SService.class, client.getHttpPipeline(), client.getSerializerAdapter()); this.client = client; } /** - * The interface defining all the services for NetworkManagementClientVirtualHubRouteTableV2s to be used by the + * The interface defining all the services for NetworkManagementClientVirtualHubRouteTableV2S to be used by the * proxy service to perform REST calls. */ @Host("{endpoint}") - @ServiceInterface(name = "NetworkManagementClientVirtualHubRouteTableV2s") - public interface VirtualHubRouteTableV2sService { + @ServiceInterface(name = "NetworkManagementClientVirtualHubRouteTableV2S") + public interface VirtualHubRouteTableV2SService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}") @ExpectedResponses({ 200 }) diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index afc202fb67b8..799e75ac4171 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIPConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2sClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIPConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2sClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json index 9a0d3c6e05d8..a1eea94ffc03 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-network/proxy-config.json @@ -1 +1 @@ -[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIpPrefixesClientImpl$CustomIpPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIPConfigurationsClientImpl$LoadBalancerFrontendIPConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIpConfigurationsClientImpl$NetworkInterfaceIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkManagementClientImpl$NetworkManagementClientService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2sClientImpl$VirtualHubRouteTableV2sService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file +[["com.azure.resourcemanager.network.implementation.AdminRuleCollectionsClientImpl$AdminRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.AdminRulesClientImpl$AdminRulesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateEndpointConnectionsClientImpl$ApplicationGatewayPrivateEndpointConnectionsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayPrivateLinkResourcesClientImpl$ApplicationGatewayPrivateLinkResourcesService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsClientImpl$ApplicationGatewayWafDynamicManifestsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewayWafDynamicManifestsDefaultsClientImpl$ApplicationGatewayWafDynamicManifestsDefaultsService"],["com.azure.resourcemanager.network.implementation.ApplicationGatewaysClientImpl$ApplicationGatewaysService"],["com.azure.resourcemanager.network.implementation.ApplicationSecurityGroupsClientImpl$ApplicationSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.AvailableDelegationsClientImpl$AvailableDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableEndpointServicesClientImpl$AvailableEndpointServicesService"],["com.azure.resourcemanager.network.implementation.AvailablePrivateEndpointTypesClientImpl$AvailablePrivateEndpointTypesService"],["com.azure.resourcemanager.network.implementation.AvailableResourceGroupDelegationsClientImpl$AvailableResourceGroupDelegationsService"],["com.azure.resourcemanager.network.implementation.AvailableServiceAliasesClientImpl$AvailableServiceAliasesService"],["com.azure.resourcemanager.network.implementation.AzureFirewallFqdnTagsClientImpl$AzureFirewallFqdnTagsService"],["com.azure.resourcemanager.network.implementation.AzureFirewallsClientImpl$AzureFirewallsService"],["com.azure.resourcemanager.network.implementation.BastionHostsClientImpl$BastionHostsService"],["com.azure.resourcemanager.network.implementation.BgpServiceCommunitiesClientImpl$BgpServiceCommunitiesService"],["com.azure.resourcemanager.network.implementation.ConfigurationPolicyGroupsClientImpl$ConfigurationPolicyGroupsService"],["com.azure.resourcemanager.network.implementation.ConnectionMonitorsClientImpl$ConnectionMonitorsService"],["com.azure.resourcemanager.network.implementation.ConnectivityConfigurationsClientImpl$ConnectivityConfigurationsService"],["com.azure.resourcemanager.network.implementation.CustomIpPrefixesClientImpl$CustomIpPrefixesService"],["com.azure.resourcemanager.network.implementation.DdosCustomPoliciesClientImpl$DdosCustomPoliciesService"],["com.azure.resourcemanager.network.implementation.DdosProtectionPlansClientImpl$DdosProtectionPlansService"],["com.azure.resourcemanager.network.implementation.DefaultSecurityRulesClientImpl$DefaultSecurityRulesService"],["com.azure.resourcemanager.network.implementation.DscpConfigurationsClientImpl$DscpConfigurationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitAuthorizationsClientImpl$ExpressRouteCircuitAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitConnectionsClientImpl$ExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitPeeringsClientImpl$ExpressRouteCircuitPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCircuitsClientImpl$ExpressRouteCircuitsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteConnectionsClientImpl$ExpressRouteConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionPeeringsClientImpl$ExpressRouteCrossConnectionPeeringsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteCrossConnectionsClientImpl$ExpressRouteCrossConnectionsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteGatewaysClientImpl$ExpressRouteGatewaysService"],["com.azure.resourcemanager.network.implementation.ExpressRouteLinksClientImpl$ExpressRouteLinksService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortAuthorizationsClientImpl$ExpressRoutePortAuthorizationsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsClientImpl$ExpressRoutePortsService"],["com.azure.resourcemanager.network.implementation.ExpressRoutePortsLocationsClientImpl$ExpressRoutePortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteProviderPortsLocationsClientImpl$ExpressRouteProviderPortsLocationsService"],["com.azure.resourcemanager.network.implementation.ExpressRouteServiceProvidersClientImpl$ExpressRouteServiceProvidersService"],["com.azure.resourcemanager.network.implementation.FirewallPoliciesClientImpl$FirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDeploymentsClientImpl$FirewallPolicyDeploymentsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyDraftsClientImpl$FirewallPolicyDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesClientImpl$FirewallPolicyIdpsSignaturesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesFilterValuesClientImpl$FirewallPolicyIdpsSignaturesFilterValuesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyIdpsSignaturesOverridesClientImpl$FirewallPolicyIdpsSignaturesOverridesService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupDraftsClientImpl$FirewallPolicyRuleCollectionGroupDraftsService"],["com.azure.resourcemanager.network.implementation.FirewallPolicyRuleCollectionGroupsClientImpl$FirewallPolicyRuleCollectionGroupsService"],["com.azure.resourcemanager.network.implementation.FlowLogsClientImpl$FlowLogsService"],["com.azure.resourcemanager.network.implementation.HubRouteTablesClientImpl$HubRouteTablesService"],["com.azure.resourcemanager.network.implementation.HubVirtualNetworkConnectionsClientImpl$HubVirtualNetworkConnectionsService"],["com.azure.resourcemanager.network.implementation.InboundNatRulesClientImpl$InboundNatRulesService"],["com.azure.resourcemanager.network.implementation.InboundSecurityRuleOperationsClientImpl$InboundSecurityRuleOperationsService"],["com.azure.resourcemanager.network.implementation.IpAllocationsClientImpl$IpAllocationsService"],["com.azure.resourcemanager.network.implementation.IpGroupsClientImpl$IpGroupsService"],["com.azure.resourcemanager.network.implementation.IpamPoolsClientImpl$IpamPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerBackendAddressPoolsClientImpl$LoadBalancerBackendAddressPoolsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerFrontendIpConfigurationsClientImpl$LoadBalancerFrontendIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.LoadBalancerLoadBalancingRulesClientImpl$LoadBalancerLoadBalancingRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerNetworkInterfacesClientImpl$LoadBalancerNetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerOutboundRulesClientImpl$LoadBalancerOutboundRulesService"],["com.azure.resourcemanager.network.implementation.LoadBalancerProbesClientImpl$LoadBalancerProbesService"],["com.azure.resourcemanager.network.implementation.LoadBalancersClientImpl$LoadBalancersService"],["com.azure.resourcemanager.network.implementation.LocalNetworkGatewaysClientImpl$LocalNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.ManagementGroupNetworkManagerConnectionsClientImpl$ManagementGroupNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.NatGatewaysClientImpl$NatGatewaysService"],["com.azure.resourcemanager.network.implementation.NatRulesClientImpl$NatRulesService"],["com.azure.resourcemanager.network.implementation.NetworkGroupsClientImpl$NetworkGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceIpConfigurationsClientImpl$NetworkInterfaceIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceLoadBalancersClientImpl$NetworkInterfaceLoadBalancersService"],["com.azure.resourcemanager.network.implementation.NetworkInterfaceTapConfigurationsClientImpl$NetworkInterfaceTapConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkInterfacesClientImpl$NetworkInterfacesService"],["com.azure.resourcemanager.network.implementation.NetworkManagementClientImpl$NetworkManagementClientService"],["com.azure.resourcemanager.network.implementation.NetworkManagerCommitsClientImpl$NetworkManagerCommitsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerDeploymentStatusOperationsClientImpl$NetworkManagerDeploymentStatusOperationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagerRoutingConfigurationsClientImpl$NetworkManagerRoutingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkManagersClientImpl$NetworkManagersService"],["com.azure.resourcemanager.network.implementation.NetworkProfilesClientImpl$NetworkProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityGroupsClientImpl$NetworkSecurityGroupsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAccessRulesClientImpl$NetworkSecurityPerimeterAccessRulesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociableResourceTypesClientImpl$NetworkSecurityPerimeterAssociableResourceTypesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterAssociationsClientImpl$NetworkSecurityPerimeterAssociationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinkReferencesClientImpl$NetworkSecurityPerimeterLinkReferencesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLinksClientImpl$NetworkSecurityPerimeterLinksService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterLoggingConfigurationsClientImpl$NetworkSecurityPerimeterLoggingConfigurationsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterOperationStatusesClientImpl$NetworkSecurityPerimeterOperationStatusesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterProfilesClientImpl$NetworkSecurityPerimeterProfilesService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimeterServiceTagsClientImpl$NetworkSecurityPerimeterServiceTagsService"],["com.azure.resourcemanager.network.implementation.NetworkSecurityPerimetersClientImpl$NetworkSecurityPerimetersService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualApplianceConnectionsClientImpl$NetworkVirtualApplianceConnectionsService"],["com.azure.resourcemanager.network.implementation.NetworkVirtualAppliancesClientImpl$NetworkVirtualAppliancesService"],["com.azure.resourcemanager.network.implementation.NetworkWatchersClientImpl$NetworkWatchersService"],["com.azure.resourcemanager.network.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.network.implementation.P2SVpnGatewaysClientImpl$P2SVpnGatewaysService"],["com.azure.resourcemanager.network.implementation.PacketCapturesClientImpl$PacketCapturesService"],["com.azure.resourcemanager.network.implementation.PeerExpressRouteCircuitConnectionsClientImpl$PeerExpressRouteCircuitConnectionsService"],["com.azure.resourcemanager.network.implementation.PrivateDnsZoneGroupsClientImpl$PrivateDnsZoneGroupsService"],["com.azure.resourcemanager.network.implementation.PrivateEndpointsClientImpl$PrivateEndpointsService"],["com.azure.resourcemanager.network.implementation.PrivateLinkServicesClientImpl$PrivateLinkServicesService"],["com.azure.resourcemanager.network.implementation.PublicIpAddressesClientImpl$PublicIpAddressesService"],["com.azure.resourcemanager.network.implementation.PublicIpPrefixesClientImpl$PublicIpPrefixesService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisIntentsClientImpl$ReachabilityAnalysisIntentsService"],["com.azure.resourcemanager.network.implementation.ReachabilityAnalysisRunsClientImpl$ReachabilityAnalysisRunsService"],["com.azure.resourcemanager.network.implementation.ResourceNavigationLinksClientImpl$ResourceNavigationLinksService"],["com.azure.resourcemanager.network.implementation.RouteFilterRulesClientImpl$RouteFilterRulesService"],["com.azure.resourcemanager.network.implementation.RouteFiltersClientImpl$RouteFiltersService"],["com.azure.resourcemanager.network.implementation.RouteMapsClientImpl$RouteMapsService"],["com.azure.resourcemanager.network.implementation.RouteTablesClientImpl$RouteTablesService"],["com.azure.resourcemanager.network.implementation.RoutesClientImpl$RoutesService"],["com.azure.resourcemanager.network.implementation.RoutingIntentsClientImpl$RoutingIntentsService"],["com.azure.resourcemanager.network.implementation.RoutingRuleCollectionsClientImpl$RoutingRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.RoutingRulesClientImpl$RoutingRulesService"],["com.azure.resourcemanager.network.implementation.ScopeConnectionsClientImpl$ScopeConnectionsService"],["com.azure.resourcemanager.network.implementation.SecurityAdminConfigurationsClientImpl$SecurityAdminConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityPartnerProvidersClientImpl$SecurityPartnerProvidersService"],["com.azure.resourcemanager.network.implementation.SecurityRulesClientImpl$SecurityRulesService"],["com.azure.resourcemanager.network.implementation.SecurityUserConfigurationsClientImpl$SecurityUserConfigurationsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRuleCollectionsClientImpl$SecurityUserRuleCollectionsService"],["com.azure.resourcemanager.network.implementation.SecurityUserRulesClientImpl$SecurityUserRulesService"],["com.azure.resourcemanager.network.implementation.ServiceAssociationLinksClientImpl$ServiceAssociationLinksService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPoliciesClientImpl$ServiceEndpointPoliciesService"],["com.azure.resourcemanager.network.implementation.ServiceEndpointPolicyDefinitionsClientImpl$ServiceEndpointPolicyDefinitionsService"],["com.azure.resourcemanager.network.implementation.ServiceGatewaysClientImpl$ServiceGatewaysService"],["com.azure.resourcemanager.network.implementation.ServiceTagInformationsClientImpl$ServiceTagInformationsService"],["com.azure.resourcemanager.network.implementation.ServiceTagsClientImpl$ServiceTagsService"],["com.azure.resourcemanager.network.implementation.StaticCidrsClientImpl$StaticCidrsService"],["com.azure.resourcemanager.network.implementation.StaticMembersClientImpl$StaticMembersService"],["com.azure.resourcemanager.network.implementation.SubnetsClientImpl$SubnetsService"],["com.azure.resourcemanager.network.implementation.SubscriptionNetworkManagerConnectionsClientImpl$SubscriptionNetworkManagerConnectionsService"],["com.azure.resourcemanager.network.implementation.UsagesClientImpl$UsagesService"],["com.azure.resourcemanager.network.implementation.VerifierWorkspacesClientImpl$VerifierWorkspacesService"],["com.azure.resourcemanager.network.implementation.VipSwapsClientImpl$VipSwapsService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSitesClientImpl$VirtualApplianceSitesService"],["com.azure.resourcemanager.network.implementation.VirtualApplianceSkusClientImpl$VirtualApplianceSkusService"],["com.azure.resourcemanager.network.implementation.VirtualHubBgpConnectionsClientImpl$VirtualHubBgpConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualHubIpConfigurationsClientImpl$VirtualHubIpConfigurationsService"],["com.azure.resourcemanager.network.implementation.VirtualHubRouteTableV2SClientImpl$VirtualHubRouteTableV2SService"],["com.azure.resourcemanager.network.implementation.VirtualHubsClientImpl$VirtualHubsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkAppliancesClientImpl$VirtualNetworkAppliancesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayConnectionsClientImpl$VirtualNetworkGatewayConnectionsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewayNatRulesClientImpl$VirtualNetworkGatewayNatRulesService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkGatewaysClientImpl$VirtualNetworkGatewaysService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkPeeringsClientImpl$VirtualNetworkPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworkTapsClientImpl$VirtualNetworkTapsService"],["com.azure.resourcemanager.network.implementation.VirtualNetworksClientImpl$VirtualNetworksService"],["com.azure.resourcemanager.network.implementation.VirtualRouterPeeringsClientImpl$VirtualRouterPeeringsService"],["com.azure.resourcemanager.network.implementation.VirtualRoutersClientImpl$VirtualRoutersService"],["com.azure.resourcemanager.network.implementation.VirtualWansClientImpl$VirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnConnectionsClientImpl$VpnConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnGatewaysClientImpl$VpnGatewaysService"],["com.azure.resourcemanager.network.implementation.VpnLinkConnectionsClientImpl$VpnLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsAssociatedWithVirtualWansClientImpl$VpnServerConfigurationsAssociatedWithVirtualWansService"],["com.azure.resourcemanager.network.implementation.VpnServerConfigurationsClientImpl$VpnServerConfigurationsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinkConnectionsClientImpl$VpnSiteLinkConnectionsService"],["com.azure.resourcemanager.network.implementation.VpnSiteLinksClientImpl$VpnSiteLinksService"],["com.azure.resourcemanager.network.implementation.VpnSitesClientImpl$VpnSitesService"],["com.azure.resourcemanager.network.implementation.VpnSitesConfigurationsClientImpl$VpnSitesConfigurationsService"],["com.azure.resourcemanager.network.implementation.WebApplicationFirewallPoliciesClientImpl$WebApplicationFirewallPoliciesService"],["com.azure.resourcemanager.network.implementation.WebCategoriesClientImpl$WebCategoriesService"]] \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListByResourceGroupSamples.java index dee172fb91f0..251dc5327162 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListByResourceGroupSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailablePrivateEndpointTypesListByResourceGroupSamples.java @@ -20,6 +20,6 @@ public final class AvailablePrivateEndpointTypesListByResourceGroupSamples { getAvailablePrivateEndpointTypesInTheResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getAvailablePrivateEndpointTypes() - .listByResourceGroup("rg1", "regionName", com.azure.core.util.Context.NONE); + .listByResourceGroup("regionName", "rg1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableResourceGroupDelegationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableResourceGroupDelegationsListSamples.java index 76d457713e91..c8f12f595765 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableResourceGroupDelegationsListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/AvailableResourceGroupDelegationsListSamples.java @@ -20,6 +20,6 @@ public final class AvailableResourceGroupDelegationsListSamples { getAvailableDelegationsInTheResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getAvailableResourceGroupDelegations() - .list("rg1", "westcentralus", com.azure.core.util.Context.NONE); + .list("westcentralus", "rg1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLOASamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLOASamples.java index 1275651ba397..53139f3abb8b 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLOASamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLOASamples.java @@ -7,9 +7,9 @@ import com.azure.resourcemanager.network.models.GenerateExpressRoutePortsLoaRequest; /** - * Samples for ExpressRoutePorts GenerateLOA. + * Samples for ExpressRoutePorts GenerateLoa. */ -public final class ExpressRoutePortsGenerateLOASamples { +public final class ExpressRoutePortsGenerateLoaSamples { /* * x-ms-original-file: 2025-05-01/GenerateExpressRoutePortsLOA.json */ @@ -21,7 +21,7 @@ public final class ExpressRoutePortsGenerateLOASamples { public static void generateExpressRoutePortLOA(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getExpressRoutePorts() - .generateLOAWithResponse("rg1", "portName", + .generateLoaWithResponse("rg1", "portName", new GenerateExpressRoutePortsLoaRequest().withCustomerName("customerName"), com.azure.core.util.Context.NONE); } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsGetSamples.java index 5f82def72702..0016eb5ecd94 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsGetSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsGetSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for LoadBalancerFrontendIPConfigurations Get. + * Samples for LoadBalancerFrontendIpConfigurations Get. */ -public final class LoadBalancerFrontendIPConfigurationsGetSamples { +public final class LoadBalancerFrontendIpConfigurationsGetSamples { /* * x-ms-original-file: 2025-05-01/LoadBalancerFrontendIPConfigurationGet.json */ @@ -19,7 +19,7 @@ public final class LoadBalancerFrontendIPConfigurationsGetSamples { public static void loadBalancerFrontendIPConfigurationGet(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getLoadBalancerFrontendIPConfigurations() + .getLoadBalancerFrontendIpConfigurations() .getWithResponse("testrg", "lb", "frontend", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsListSamples.java index 29f14c9fa0ad..500899f545f9 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsListSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for LoadBalancerFrontendIPConfigurations List. + * Samples for LoadBalancerFrontendIpConfigurations List. */ -public final class LoadBalancerFrontendIPConfigurationsListSamples { +public final class LoadBalancerFrontendIpConfigurationsListSamples { /* * x-ms-original-file: 2025-05-01/LoadBalancerFrontendIPConfigurationList.json */ @@ -19,7 +19,7 @@ public final class LoadBalancerFrontendIPConfigurationsListSamples { public static void loadBalancerFrontendIPConfigurationList(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getLoadBalancerFrontendIPConfigurations() + .getLoadBalancerFrontendIpConfigurations() .list("testrg", "lb", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java index e4ccd7634de2..194498e14c3b 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java @@ -8,9 +8,9 @@ import java.util.Arrays; /** - * Samples for P2SVpnGateways DisconnectP2sVpnConnections. + * Samples for P2SVpnGateways DisconnectP2SVpnConnections. */ -public final class P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples { +public final class P2SVpnGatewaysDisconnectP2SVpnConnectionsSamples { /* * x-ms-original-file: 2025-05-01/P2sVpnGatewaysDisconnectP2sVpnConnections.json */ @@ -23,7 +23,7 @@ public final class P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples { disconnectVpnConnectionsFromP2sVpnGateway(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getP2SVpnGateways() - .disconnectP2sVpnConnections("p2s-vpn-gateway-test", "p2svpngateway", + .disconnectP2SVpnConnections("p2s-vpn-gateway-test", "p2svpngateway", new P2SVpnConnectionRequest().withVpnConnectionIds(Arrays.asList("vpnconnId1", "vpnconnId2")), com.azure.core.util.Context.NONE); } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java index cb70b7cc3bfd..c4ba4edaf468 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java @@ -8,9 +8,9 @@ import java.util.Arrays; /** - * Samples for P2SVpnGateways GetP2sVpnConnectionHealthDetailed. + * Samples for P2SVpnGateways GetP2SVpnConnectionHealthDetailed. */ -public final class P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples { +public final class P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayGetConnectionHealthDetailed.json */ @@ -23,7 +23,7 @@ public final class P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples { p2SVpnGatewayGetConnectionHealthDetailed(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getP2SVpnGateways() - .getP2sVpnConnectionHealthDetailed("p2s-vpn-gateway-test", "p2svpngateway", + .getP2SVpnConnectionHealthDetailed("p2s-vpn-gateway-test", "p2svpngateway", new P2SVpnConnectionHealthRequest().withVpnUserNamesFilter(Arrays.asList("vpnUser1", "vpnUser2")) .withOutputBlobSasUrl( "https://blobcortextesturl.blob.core.windows.net/folderforconfig/p2sconnectionhealths?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b"), diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java index 2f19565a78d1..93ed9ec3f4d5 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for P2SVpnGateways GetP2sVpnConnectionHealth. + * Samples for P2SVpnGateways GetP2SVpnConnectionHealth. */ -public final class P2SVpnGatewaysGetP2sVpnConnectionHealthSamples { +public final class P2SVpnGatewaysGetP2SVpnConnectionHealthSamples { /* * x-ms-original-file: 2025-05-01/P2SVpnGatewayGetConnectionHealth.json */ @@ -19,6 +19,6 @@ public final class P2SVpnGatewaysGetP2sVpnConnectionHealthSamples { public static void p2SVpnGatewayGetConnectionHealth(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getP2SVpnGateways() - .getP2sVpnConnectionHealth("rg1", "p2sVpnGateway1", com.azure.core.util.Context.NONE); + .getP2SVpnConnectionHealth("rg1", "p2sVpnGateway1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsListSamples.java index 04956ad854b5..df6849f51294 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateDnsZoneGroupsListSamples.java @@ -17,6 +17,6 @@ public final class PrivateDnsZoneGroupsListSamples { * @param manager Entry point to NetworkManager. */ public static void listPrivateEndpointsInResourceGroup(com.azure.resourcemanager.network.NetworkManager manager) { - manager.serviceClient().getPrivateDnsZoneGroups().list("rg1", "testPe", com.azure.core.util.Context.NONE); + manager.serviceClient().getPrivateDnsZoneGroups().list("testPe", "rg1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSamples.java index 82f1fb812c32..f8e75c1e6660 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupSamples.java @@ -21,7 +21,7 @@ public final class PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourc public static void checkPrivateLinkServiceVisibility(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getPrivateLinkServices() - .checkPrivateLinkServiceVisibilityByResourceGroup("rg1", "westus", + .checkPrivateLinkServiceVisibilityByResourceGroup("westus", "rg1", new CheckPrivateLinkServiceVisibilityRequest() .withPrivateLinkServiceAlias("mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"), com.azure.core.util.Context.NONE); diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSamples.java index 3db857695e07..ab50644025ae 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupSamples.java @@ -20,6 +20,6 @@ public static void getListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPoin com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getPrivateLinkServices() - .listAutoApprovedPrivateLinkServicesByResourceGroup("rg1", "regionName", com.azure.core.util.Context.NONE); + .listAutoApprovedPrivateLinkServicesByResourceGroup("regionName", "rg1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIPAddressSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIPAddressSamples.java index c78a46a3d2a9..b3755b13a0fc 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIPAddressSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIPAddressSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for PublicIpAddresses GetCloudServicePublicIPAddress. + * Samples for PublicIpAddresses GetCloudServicePublicIpAddress. */ -public final class PublicIpAddressesGetCloudServicePublicIPAddressSamples { +public final class PublicIpAddressesGetCloudServicePublicIpAddressSamples { /* * x-ms-original-file: 2025-05-01/CloudServicePublicIpGet.json */ @@ -19,7 +19,7 @@ public final class PublicIpAddressesGetCloudServicePublicIPAddressSamples { public static void getVMSSPublicIP(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getPublicIpAddresses() - .getCloudServicePublicIPAddressWithResponse("cs-tester", "cs1", "Test_VM_0", "nic1", "ip1", "pub1", null, + .getCloudServicePublicIpAddressWithResponse("cs-tester", "cs1", "Test_VM_0", "nic1", "ip1", "pub1", null, com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIPAddressesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIPAddressesSamples.java index 96f3c272fba2..461ffcab6ed5 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIPAddressesSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIPAddressesSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for PublicIpAddresses ListCloudServicePublicIPAddresses. + * Samples for PublicIpAddresses ListCloudServicePublicIpAddresses. */ -public final class PublicIpAddressesListCloudServicePublicIPAddressesSamples { +public final class PublicIpAddressesListCloudServicePublicIpAddressesSamples { /* * x-ms-original-file: 2025-05-01/CloudServicePublicIpListAll.json */ @@ -19,6 +19,6 @@ public final class PublicIpAddressesListCloudServicePublicIPAddressesSamples { public static void listVMSSPublicIP(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getPublicIpAddresses() - .listCloudServicePublicIPAddresses("cs-tester", "cs1", com.azure.core.util.Context.NONE); + .listCloudServicePublicIpAddresses("cs-tester", "cs1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java index 7292b3698d07..9812422dd4be 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for PublicIpAddresses ListCloudServiceRoleInstancePublicIPAddresses. + * Samples for PublicIpAddresses ListCloudServiceRoleInstancePublicIpAddresses. */ -public final class PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples { +public final class PublicIpAddressesListCloudServiceRoleInstancePublicIpAddressesSamples { /* * x-ms-original-file: 2025-05-01/CloudServiceRoleInstancePublicIpList.json */ @@ -19,7 +19,7 @@ public final class PublicIpAddressesListCloudServiceRoleInstancePublicIPAddresse public static void listVMSSVMPublicIP(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getPublicIpAddresses() - .listCloudServiceRoleInstancePublicIPAddresses("cs-tester", "cs1", "Test_VM_0", "nic1", "ip1", + .listCloudServiceRoleInstancePublicIpAddresses("cs-tester", "cs1", "Test_VM_0", "nic1", "ip1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sCreateOrUpdateSamples.java index a9f5e7e3aa73..9fd875f05e5d 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sCreateOrUpdateSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sCreateOrUpdateSamples.java @@ -9,9 +9,9 @@ import java.util.Arrays; /** - * Samples for VirtualHubRouteTableV2s CreateOrUpdate. + * Samples for VirtualHubRouteTableV2S CreateOrUpdate. */ -public final class VirtualHubRouteTableV2sCreateOrUpdateSamples { +public final class VirtualHubRouteTableV2SCreateOrUpdateSamples { /* * x-ms-original-file: 2025-05-01/VirtualHubRouteTableV2Put.json */ @@ -22,7 +22,7 @@ public final class VirtualHubRouteTableV2sCreateOrUpdateSamples { */ public static void virtualHubRouteTableV2Put(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getVirtualHubRouteTableV2s() + .getVirtualHubRouteTableV2S() .createOrUpdate("rg1", "virtualHub1", "virtualHubRouteTable1a", new VirtualHubRouteTableV2Inner() .withRoutes(Arrays.asList( diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sDeleteSamples.java index 915c23d3cdaf..39a8e8e3ec3e 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sDeleteSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sDeleteSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for VirtualHubRouteTableV2s Delete. + * Samples for VirtualHubRouteTableV2S Delete. */ -public final class VirtualHubRouteTableV2sDeleteSamples { +public final class VirtualHubRouteTableV2SDeleteSamples { /* * x-ms-original-file: 2025-05-01/VirtualHubRouteTableV2Delete.json */ @@ -18,7 +18,7 @@ public final class VirtualHubRouteTableV2sDeleteSamples { */ public static void virtualHubRouteTableV2Delete(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getVirtualHubRouteTableV2s() + .getVirtualHubRouteTableV2S() .delete("rg1", "virtualHub1", "virtualHubRouteTable1a", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sGetSamples.java index 466da6c18686..897187308f17 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sGetSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sGetSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for VirtualHubRouteTableV2s Get. + * Samples for VirtualHubRouteTableV2S Get. */ -public final class VirtualHubRouteTableV2sGetSamples { +public final class VirtualHubRouteTableV2SGetSamples { /* * x-ms-original-file: 2025-05-01/VirtualHubRouteTableV2Get.json */ @@ -18,7 +18,7 @@ public final class VirtualHubRouteTableV2sGetSamples { */ public static void virtualHubVirtualHubRouteTableV2Get(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getVirtualHubRouteTableV2s() + .getVirtualHubRouteTableV2S() .getWithResponse("rg1", "virtualHub1", "virtualHubRouteTable1a", com.azure.core.util.Context.NONE); } } diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sListSamples.java index c2435917d8db..4e2f010e613d 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sListSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sListSamples.java @@ -5,9 +5,9 @@ package com.azure.resourcemanager.network.generated; /** - * Samples for VirtualHubRouteTableV2s List. + * Samples for VirtualHubRouteTableV2S List. */ -public final class VirtualHubRouteTableV2sListSamples { +public final class VirtualHubRouteTableV2SListSamples { /* * x-ms-original-file: 2025-05-01/VirtualHubRouteTableV2List.json */ @@ -18,7 +18,7 @@ public final class VirtualHubRouteTableV2sListSamples { */ public static void virtualHubRouteTableV2List(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() - .getVirtualHubRouteTableV2s() + .getVirtualHubRouteTableV2S() .list("rg1", "virtualHub1", com.azure.core.util.Context.NONE); } } From 08b608b1bdb4fa68069d0d577d9fe1b8e724ea93 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 30 Mar 2026 10:20:01 +0800 Subject: [PATCH 28/33] regen on main --- .../NetworkGroupsCreateOrUpdateHeaders.java | 20 ------------------- .../tsp-location.yaml | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java index de490c807a3d..49e8e6a441a5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java @@ -18,11 +18,6 @@ public final class NetworkGroupsCreateOrUpdateHeaders { */ private final String etag; - /* - * The Retry-After property. - */ - private final Integer retryAfter; - // HttpHeaders containing the raw property values. /** * Creates an instance of NetworkGroupsCreateOrUpdateHeaders class. @@ -31,12 +26,6 @@ public final class NetworkGroupsCreateOrUpdateHeaders { */ public NetworkGroupsCreateOrUpdateHeaders(HttpHeaders rawHeaders) { this.etag = rawHeaders.getValue(HttpHeaderName.ETAG); - String retryAfter = rawHeaders.getValue(HttpHeaderName.RETRY_AFTER); - if (retryAfter != null) { - this.retryAfter = Integer.parseInt(retryAfter); - } else { - this.retryAfter = null; - } } /** @@ -48,15 +37,6 @@ public String etag() { return this.etag; } - /** - * Get the retryAfter property: The Retry-After property. - * - * @return the retryAfter value. - */ - public Integer retryAfter() { - return this.retryAfter; - } - /** * Validates the instance. * diff --git a/sdk/network/azure-resourcemanager-network/tsp-location.yaml b/sdk/network/azure-resourcemanager-network/tsp-location.yaml index 6cd088b34bd3..695fb555253b 100644 --- a/sdk/network/azure-resourcemanager-network/tsp-location.yaml +++ b/sdk/network/azure-resourcemanager-network/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/network/resource-manager/Microsoft.Network/Network -commit: HEAD +commit: 31fb4b3e5acb94b16df4a9e6b513057280bd5678 repo: Azure/azure-rest-api-specs additionalDirectories: From 87e91db2fff3bd68cd526dcf6f8e54122cc08048 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 30 Mar 2026 10:31:29 +0800 Subject: [PATCH 29/33] finalize --- .../CHANGELOG.md | 1127 +---------------- 1 file changed, 4 insertions(+), 1123 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index 9f0c8b2d903e..83d0c962e6a9 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -1,1133 +1,14 @@ # Release History -## 2.59.0-beta.1 (2026-03-24) - -### Breaking Changes - -#### `models.NatGatewayListResult` was removed - -#### `models.ApplicationGatewayPrivateLinkResourceListResult` was removed - -#### `models.NspLoggingConfigurationListResult` was removed - -#### `models.ExpressRoutePortsLocationListResult` was removed - -#### `models.PublicIpAddressListResult` was removed - -#### `models.TrackedResource` was removed - -#### `models.NspLinkReferenceListResult` was removed - -#### `models.AdminRuleCollectionListResult` was removed - -#### `models.ListVpnConnectionsResult` was removed - -#### `models.GetServiceGatewayServicesResult` was removed - -#### `models.BastionSessionDeleteResult` was removed - -#### `models.BastionShareableLinkListResult` was removed - -#### `models.StaticCidrList` was removed - -#### `models.LoadBalancerOutboundRuleListResult` was removed - -#### `models.LoadBalancerListResult` was removed - -#### `models.AzureFirewallListResult` was removed - -#### `models.ListHubRouteTablesResult` was removed - -#### `models.RoutingRuleListResult` was removed - -#### `models.VirtualNetworkPeeringListResult` was removed - -#### `models.SecurityUserRuleCollectionListResult` was removed - -#### `models.SecurityUserRuleListResult` was removed - -#### `models.ListVirtualWansResult` was removed - -#### `models.ExpressRouteCrossConnectionListResult` was removed - -#### `models.AvailableDelegationsResult` was removed - -#### `models.UsagesListResult` was removed - -#### `models.ExpressRoutePortAuthorizationListResult` was removed - -#### `models.ExpressRouteLinkListResult` was removed - -#### `models.LoadBalancerProbeListResult` was removed - -#### `models.PacketCaptureListResult` was removed - -#### `models.NspProfileListResult` was removed - -#### `models.InboundNatRuleListResult` was removed - -#### `models.RouteListResult` was removed - -#### `models.BgpServiceCommunityListResult` was removed - -#### `models.PublicIpPrefixListResult` was removed - -#### `models.LocalNetworkGatewayListResult` was removed - -#### `models.VirtualRouterListResult` was removed - -#### `models.ExpressRouteCircuitPeeringListResult` was removed - -#### `models.ListVpnServerConfigurationsResult` was removed - -#### `models.ApplicationGatewayAvailableSslPredefinedPolicies` was removed - -#### `models.ListVirtualNetworkGatewayNatRulesResult` was removed - -#### `models.EndpointServicesListResult` was removed - -#### `models.ServiceTagInformationListResult` was removed - -#### `models.ListRouteMapsResult` was removed - -#### `models.VirtualNetworkApplianceListResult` was removed - -#### `models.BastionActiveSessionListResult` was removed - -#### `models.ListVpnGatewayNatRulesResult` was removed - -#### `models.NetworkInterfaceListResult` was removed - -#### `models.NetworkInterfaceIpConfigurationListResult` was removed - -#### `models.ConnectionMonitorListResult` was removed - -#### `models.FirewallPolicyRuleCollectionGroupListResult` was removed - -#### `models.SecurityPartnerProviderListResult` was removed - -#### `models.VirtualNetworkGatewayListConnectionsResult` was removed - -#### `models.FirewallPolicyListResult` was removed - -#### `models.AdminRuleListResult` was removed - -#### `models.NetworkInterfaceLoadBalancerListResult` was removed - -#### `models.LoadBalancerLoadBalancingRuleListResult` was removed - -#### `models.VirtualNetworkGatewayListResult` was removed - -#### `models.ConnectionSharedKeyResultList` was removed - -#### `models.NetworkWatcherListResult` was removed - -#### `models.ReachabilityAnalysisRunListResult` was removed - -#### `models.ExpressRouteServiceProviderListResult` was removed - -#### `models.AzureFirewallFqdnTagListResult` was removed - -#### `models.VirtualNetworkGatewayConnectionListResult` was removed - -#### `models.ListHubVirtualNetworkConnectionsResult` was removed - -#### `models.NspAssociationsListResult` was removed - -#### `models.ApplicationSecurityGroupListResult` was removed - -#### `models.VirtualNetworkDdosProtectionStatusResult` was removed - -#### `models.NetworkVirtualApplianceConnectionList` was removed - -#### `models.ListVpnSiteLinksResult` was removed - -#### `models.ListVpnSitesResult` was removed - -#### `models.PeerExpressRouteCircuitConnectionListResult` was removed - -#### `models.OperationListResult` was removed - -#### `models.SecurityUserConfigurationListResult` was removed - -#### `models.AuthorizationListResult` was removed - -#### `models.VirtualNetworkListUsageResult` was removed - -#### `models.ScopeConnectionListResult` was removed - -#### `models.StaticMemberListResult` was removed - -#### `models.PrivateEndpointListResult` was removed - -#### `models.IpAllocationListResult` was removed - -#### `models.SecurityRuleListResult` was removed - -#### `models.VirtualNetworkTapListResult` was removed - -#### `models.RouteFilterListResult` was removed - -#### `models.VirtualRouterPeeringListResult` was removed - -#### `models.ServiceGatewayListResult` was removed - -#### `models.VerifierWorkspaceListResult` was removed - -#### `models.NetworkVirtualApplianceListResult` was removed - -#### `models.ApplicationGatewayListResult` was removed - -#### `models.PerimeterAssociableResourcesListResult` was removed - -#### `models.ListVirtualHubIpConfigurationResults` was removed - -#### `models.ListVirtualHubRouteTableV2SResult` was removed - -#### `models.ExpressRouteCircuitListResult` was removed - -#### `models.ReachabilityAnalysisIntentListResult` was removed - -#### `models.NetworkManagerConnectionListResult` was removed - -#### `models.ApplicationGatewayPrivateEndpointConnectionListResult` was removed - -#### `models.ListRoutingIntentResult` was removed - -#### `models.ServiceEndpointPolicyListResult` was removed - -#### `models.PoolAssociationList` was removed - -#### `models.NetworkSecurityPerimeterListResult` was removed - -#### `models.ExpressRouteCrossConnectionPeeringList` was removed - -#### `models.PrivateLinkServiceListResult` was removed - -#### `models.ListVirtualHubBgpConnectionResults` was removed - -#### `models.NspLinkListResult` was removed - -#### `models.SubnetListResult` was removed - -#### `models.FlowLogListResult` was removed - -#### `models.ListVpnGatewaysResult` was removed - -#### `models.RoutingRuleCollectionListResult` was removed - -#### `models.RouteTableListResult` was removed - -#### `models.WebApplicationFirewallPolicyListResult` was removed - -#### `models.AutoApprovedPrivateLinkServicesResult` was removed - -#### `models.NetworkManagerRoutingConfigurationListResult` was removed - -#### `models.NetworkVirtualApplianceSiteListResult` was removed - -#### `models.PrivateEndpointConnectionListResult` was removed - -#### `models.ExpressRouteCircuitConnectionListResult` was removed - -#### `models.ListVirtualHubsResult` was removed - -#### `models.AvailableServiceAliasesResult` was removed - -#### `models.LoadBalancerFrontendIpConfigurationListResult` was removed - -#### `models.GetServiceGatewayAddressLocationsResult` was removed - -#### `models.ApplicationGatewayWafDynamicManifestResultList` was removed - -#### `models.NetworkInterfaceTapConfigurationListResult` was removed - -#### `models.LoadBalancerBackendAddressPoolListResult` was removed - -#### `models.ListP2SVpnGatewaysResult` was removed - -#### `models.VirtualNetworkListResult` was removed - -#### `models.CustomIpPrefixListResult` was removed - -#### `models.SecurityAdminConfigurationListResult` was removed - -#### `models.BastionHostListResult` was removed - -#### `models.ListVpnSiteLinkConnectionsResult` was removed - -#### `models.NetworkProfileListResult` was removed - -#### `models.DdosProtectionPlanListResult` was removed - -#### `models.NetworkSecurityGroupListResult` was removed - -#### `models.NspServiceTagsListResult` was removed - -#### `models.AvailablePrivateEndpointTypesResult` was removed - -#### `models.IpGroupListResult` was removed - -#### `models.NetworkGroupListResult` was removed - -#### `models.DscpConfigurationListResult` was removed - -#### `models.IpamPoolList` was removed - -#### `models.PrivateDnsZoneGroupListResult` was removed - -#### `models.ExpressRoutePortListResult` was removed - -#### `models.ServiceEndpointPolicyDefinitionListResult` was removed - -#### `models.NetworkVirtualApplianceSkuListResult` was removed - -#### `models.ConnectivityConfigurationListResult` was removed - -#### `models.RouteFilterRuleListResult` was removed - -#### `models.NetworkManagerListResult` was removed - -#### `models.ListVpnServerConfigurationPolicyGroupsResult` was removed - -#### `models.AzureWebCategoryListResult` was removed - -#### `models.NspAccessRuleListResult` was removed - -#### `models.Error` was modified - -* `Error()` was changed to private access - -#### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified - -* `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access -* `withStateOrPrefixesReceived(java.lang.String)` was removed -* `withNeighbor(java.lang.String)` was removed -* `withAsn(java.lang.Integer)` was removed -* `withUpDown(java.lang.String)` was removed - -#### `models.UsageName` was modified - -* `UsageName()` was changed to private access -* `withLocalizedValue(java.lang.String)` was removed -* `withValue(java.lang.String)` was removed - -#### `models.SecurityRuleAssociations` was modified - -* `SecurityRuleAssociations()` was changed to private access -* `withEffectiveSecurityRules(java.util.List)` was removed -* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed -* `withDefaultSecurityRules(java.util.List)` was removed -* `withSubnetAssociation(models.SubnetAssociation)` was removed - -#### `models.ResourceBasics` was modified - -* `ResourceBasics()` was changed to private access -* `withResourceId(java.lang.String)` was removed -* `withAddressPrefixes(java.util.List)` was removed - -#### `models.MatchedRule` was modified - -* `MatchedRule()` was changed to private access -* `withRuleName(java.lang.String)` was removed -* `withAction(java.lang.String)` was removed - -#### `models.ApplicationGatewayFirewallRule` was modified - -* `ApplicationGatewayFirewallRule()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withRuleIdString(java.lang.String)` was removed -* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed -* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed -* `withRuleId(int)` was removed -* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed - -#### `models.VpnGatewayIpConfiguration` was modified - -* `VpnGatewayIpConfiguration()` was changed to private access -* `withPrivateIpAddress(java.lang.String)` was removed -* `withPublicIpAddress(java.lang.String)` was removed -* `withId(java.lang.String)` was removed - -#### `models.EffectiveRoute` was modified - -* `EffectiveRoute()` was changed to private access -* `withName(java.lang.String)` was removed -* `withSource(models.EffectiveRouteSource)` was removed -* `withState(models.EffectiveRouteState)` was removed -* `withNextHopType(models.RouteNextHopType)` was removed -* `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed -* `withNextHopIpAddress(java.util.List)` was removed -* `withAddressPrefix(java.util.List)` was removed - -#### `models.VirtualNetworkApplianceIpConfiguration` was modified - -* `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `withPrivateIpAddressVersion(models.IpVersion)` was removed -* `withName(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withPrimary(java.lang.Boolean)` was removed -* `withPrivateIpAddress(java.lang.String)` was removed -* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed - -#### `models.ApplicationGatewayWebApplicationFirewallConfiguration` was modified - -* `java.util.List exclusions()` -> `models.ApplicationGatewayFirewallExclusion exclusions()` -* `withExclusions(java.util.List)` was removed - -#### `models.TunnelConnectionHealth` was modified - -* `TunnelConnectionHealth()` was changed to private access - -#### `models.DdosDetectionRule` was modified - -* `withId(java.lang.String)` was removed - -#### `models.ActiveSecurityAdminRule` was modified - -* `ActiveSecurityAdminRule()` was changed to private access -* `withId(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withRegion(java.lang.String)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withSources(java.util.List)` was removed -* `withDestinations(java.util.List)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed - -#### `models.ErrorAdditionalInfo` was modified - -* `ErrorAdditionalInfo()` was changed to private access - -#### `models.ContainerNetworkInterfaceIpConfiguration` was modified - -* `ContainerNetworkInterfaceIpConfiguration()` was changed to private access -* `withName(java.lang.String)` was removed - -#### `models.ApplicationGatewayBackendHealthHttpSettings` was modified - -* `ApplicationGatewayBackendHealthHttpSettings()` was changed to private access -* `withServers(java.util.List)` was removed -* `withBackendHttpSettings(models.ApplicationGatewayBackendHttpSettings)` was removed - -#### `models.NetworkInterfaceAssociation` was modified - -* `NetworkInterfaceAssociation()` was changed to private access -* `withSecurityRules(java.util.List)` was removed - -#### `models.TopologyAssociation` was modified - -* `TopologyAssociation()` was changed to private access -* `withResourceId(java.lang.String)` was removed -* `withAssociationType(models.AssociationType)` was removed -* `withName(java.lang.String)` was removed - -#### `models.SecurityGroupNetworkInterface` was modified - -* `SecurityGroupNetworkInterface()` was changed to private access -* `withSecurityRuleAssociations(models.SecurityRuleAssociations)` was removed -* `withId(java.lang.String)` was removed - -#### `models.EffectiveDefaultSecurityAdminRule` was modified - -* `EffectiveDefaultSecurityAdminRule()` was changed to private access -* `withConfigurationDescription(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withFlag(java.lang.String)` was removed - -#### `models.Container` was modified - -* `Container()` was changed to private access -* `withId(java.lang.String)` was removed - -#### `models.ServiceAssociationLink` was modified - -* `ServiceAssociationLink()` was changed to private access -* `withId(java.lang.String)` was removed -* `withAllowDelete(java.lang.Boolean)` was removed -* `withLinkedResourceType(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withLink(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed - -#### `models.TroubleshootingRecommendedActions` was modified - -* `TroubleshootingRecommendedActions()` was changed to private access -* `withActionUri(java.lang.String)` was removed -* `withActionText(java.lang.String)` was removed -* `withActionId(java.lang.String)` was removed -* `withActionUriText(java.lang.String)` was removed - -#### `models.GatewayResiliencyRecommendation` was modified - -* `GatewayResiliencyRecommendation()` was changed to private access -* `withCallToActionText(java.lang.String)` was removed -* `withRecommendationTitle(java.lang.String)` was removed -* `withRecommendationId(java.lang.String)` was removed -* `withSeverity(java.lang.String)` was removed -* `withCallToActionLink(java.lang.String)` was removed -* `withRecommendationText(java.lang.String)` was removed - -#### `models.ContainerNetworkInterface` was modified - -* `ContainerNetworkInterface()` was changed to private access -* `withContainer(models.Container)` was removed -* `withName(java.lang.String)` was removed -* `withId(java.lang.String)` was removed - -#### `models.ExpressRouteFailoverRedundantRoute` was modified - -* `ExpressRouteFailoverRedundantRoute()` was changed to private access -* `withPeeringLocations(java.util.List)` was removed -* `withRoutes(java.util.List)` was removed - -#### `models.AzureReachabilityReportLatencyInfo` was modified - -* `AzureReachabilityReportLatencyInfo()` was changed to private access -* `withTimestamp(java.time.OffsetDateTime)` was removed -* `withScore(java.lang.Integer)` was removed - -#### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified - -* `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access -* `withState(java.lang.String)` was removed -* `withIpAddress(java.lang.String)` was removed -* `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed -* `withReason(java.lang.String)` was removed - -#### `models.ConnectivityHop` was modified - -* `ConnectivityHop()` was changed to private access - -#### `models.ReachabilityAnalysisRunProperties` was modified - -* `withProvisioningState(models.ProvisioningState)` was removed - -#### `models.NetworkVirtualApplianceSkuInstances` was modified - -* `NetworkVirtualApplianceSkuInstances()` was changed to private access - -#### `models.EffectiveNetworkSecurityRule` was modified - -* `EffectiveNetworkSecurityRule()` was changed to private access -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed -* `withSourceAddressPrefixes(java.util.List)` was removed -* `withDestinationPortRange(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withName(java.lang.String)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withExpandedSourceAddressPrefix(java.util.List)` was removed -* `withDestinationAddressPrefix(java.lang.String)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withSourceAddressPrefix(java.lang.String)` was removed -* `withDirection(models.SecurityRuleDirection)` was removed -* `withSourcePortRange(java.lang.String)` was removed -* `withAccess(models.SecurityRuleAccess)` was removed -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed - -#### `models.EvaluatedNetworkSecurityGroup` was modified - -* `EvaluatedNetworkSecurityGroup()` was changed to private access -* `withAppliedTo(java.lang.String)` was removed -* `withMatchedRule(models.MatchedRule)` was removed -* `withNetworkSecurityGroupId(java.lang.String)` was removed - -#### `models.TopologyResource` was modified - -* `TopologyResource()` was changed to private access -* `withId(java.lang.String)` was removed -* `withLocation(java.lang.String)` was removed -* `withAssociations(java.util.List)` was removed -* `withName(java.lang.String)` was removed - -#### `models.AzureFirewallIpGroups` was modified - -* `AzureFirewallIpGroups()` was changed to private access - -#### `models.EffectiveRouteMapRoute` was modified - -* `EffectiveRouteMapRoute()` was changed to private access -* `withAsPath(java.lang.String)` was removed -* `withBgpCommunities(java.lang.String)` was removed -* `withPrefix(java.lang.String)` was removed - -#### `models.CrossTenantScopes` was modified - -* `CrossTenantScopes()` was changed to private access - -#### `models.AzureReachabilityReportItem` was modified - -* `AzureReachabilityReportItem()` was changed to private access -* `withProvider(java.lang.String)` was removed -* `withLatencies(java.util.List)` was removed -* `withAzureLocation(java.lang.String)` was removed - -#### `models.TroubleshootingDetails` was modified - -* `TroubleshootingDetails()` was changed to private access -* `withId(java.lang.String)` was removed -* `withSummary(java.lang.String)` was removed -* `withReasonType(java.lang.String)` was removed -* `withRecommendedActions(java.util.List)` was removed -* `withDetail(java.lang.String)` was removed - -#### `models.SingleQueryResult` was modified - -* `SingleQueryResult()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withSourcePorts(java.util.List)` was removed -* `withInheritedFromParentPolicy(java.lang.Boolean)` was removed -* `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed -* `withGroup(java.lang.String)` was removed -* `withDestinationPorts(java.util.List)` was removed -* `withProtocol(java.lang.String)` was removed -* `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `withSignatureId(java.lang.Integer)` was removed -* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed -* `withLastUpdated(java.lang.String)` was removed - -#### `models.NetworkSecurityRulesEvaluationResult` was modified - -* `NetworkSecurityRulesEvaluationResult()` was changed to private access -* `withSourceMatched(java.lang.Boolean)` was removed -* `withSourcePortMatched(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed -* `withDestinationMatched(java.lang.Boolean)` was removed -* `withProtocolMatched(java.lang.Boolean)` was removed -* `withDestinationPortMatched(java.lang.Boolean)` was removed - -#### `models.VirtualNetworkConnectionGatewayReference` was modified - -* `VirtualNetworkConnectionGatewayReference()` was changed to private access -* `withId(java.lang.String)` was removed - -#### `models.ReachabilityAnalysisIntentProperties` was modified - -* `withProvisioningState(models.ProvisioningState)` was removed - -#### `models.ActiveBaseSecurityAdminRule` was modified - -* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` - -#### `models.EffectiveSecurityAdminRule` was modified - -* `EffectiveSecurityAdminRule()` was changed to private access -* `withDestinationPortRanges(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withDestinations(java.util.List)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withSources(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed - -#### `models.BgpPeerStatus` was modified - -* `BgpPeerStatus()` was changed to private access - -#### `models.NatRulePortMapping` was modified - -* `NatRulePortMapping()` was changed to private access -* `withInboundNatRuleName(java.lang.String)` was removed -* `withBackendPort(java.lang.Integer)` was removed -* `withFrontendPort(java.lang.Integer)` was removed - -#### `models.MetricSpecification` was modified - -* `MetricSpecification()` was changed to private access -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed -* `withIsInternal(java.lang.Boolean)` was removed -* `withUnit(java.lang.String)` was removed -* `withMetricFilterPattern(java.lang.String)` was removed -* `withDisplayDescription(java.lang.String)` was removed -* `withDimensions(java.util.List)` was removed -* `withResourceIdDimensionNameOverride(java.lang.String)` was removed -* `withSourceMdmAccount(java.lang.String)` was removed -* `withAggregationType(java.lang.String)` was removed -* `withAvailabilities(java.util.List)` was removed -* `withName(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed -* `withFillGapWithZero(java.lang.Boolean)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed - -#### `models.ApplicationGatewayForContainersReferenceDefinition` was modified - -* `ApplicationGatewayForContainersReferenceDefinition()` was changed to private access -* `withId(java.lang.String)` was removed - -#### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified - -* `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access -* `withValueInMbps(java.lang.Integer)` was removed -* `withOfferName(java.lang.String)` was removed - -#### `models.ApplicationGatewayFirewallRuleGroup` was modified - -* `ApplicationGatewayFirewallRuleGroup()` was changed to private access -* `withRules(java.util.List)` was removed -* `withRuleGroupName(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed - -#### `models.IpamPoolProperties` was modified - -* `withProvisioningState(models.ProvisioningState)` was removed - -#### `models.AvailableProvidersListState` was modified - -* `AvailableProvidersListState()` was changed to private access -* `withProviders(java.util.List)` was removed -* `withCities(java.util.List)` was removed -* `withStateName(java.lang.String)` was removed - -#### `models.HopLink` was modified - -* `HopLink()` was changed to private access - -#### `models.ResourceNavigationLink` was modified - -* `ResourceNavigationLink()` was changed to private access -* `withLink(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withLinkedResourceType(java.lang.String)` was removed - -#### `models.BgpCommunity` was modified - -* `BgpCommunity()` was changed to private access -* `withServiceGroup(java.lang.String)` was removed -* `withIsAuthorizedToUse(java.lang.Boolean)` was removed -* `withCommunityPrefixes(java.util.List)` was removed -* `withServiceSupportedRegion(java.lang.String)` was removed -* `withCommunityName(java.lang.String)` was removed -* `withCommunityValue(java.lang.String)` was removed - -#### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified - -* `NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties()` was changed to private access - -#### `models.EffectiveNetworkSecurityGroup` was modified - -* `EffectiveNetworkSecurityGroup()` was changed to private access -* `withTagMap(java.lang.String)` was removed -* `withEffectiveSecurityRules(java.util.List)` was removed -* `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed -* `java.lang.String tagMap()` -> `java.util.Map tagMap()` -* `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed - -#### `models.ReferencedPublicIpAddress` was modified - -* `ReferencedPublicIpAddress()` was changed to private access -* `withId(java.lang.String)` was removed - -#### `models.PeerRoute` was modified - -* `PeerRoute()` was changed to private access - -#### `models.GatewayRouteSet` was modified - -* `GatewayRouteSet()` was changed to private access -* `withName(java.lang.String)` was removed -* `withDetails(java.util.Map)` was removed -* `withLocations(java.util.List)` was removed - -#### `models.NetworkGroupsCreateOrUpdateHeaders` was modified - -* `withEtag(java.lang.String)` was removed - -#### `models.VpnClientConnectionHealthDetail` was modified - -* `VpnClientConnectionHealthDetail()` was changed to private access - -#### `models.ServiceTagInformationPropertiesFormat` was modified - -* `ServiceTagInformationPropertiesFormat()` was changed to private access - -#### `models.ExpressRouteCircuitArpTable` was modified - -* `ExpressRouteCircuitArpTable()` was changed to private access -* `withInterfaceProperty(java.lang.String)` was removed -* `withIpAddress(java.lang.String)` was removed -* `withAge(java.lang.Integer)` was removed -* `withMacAddress(java.lang.String)` was removed - -#### `models.ActiveConnectivityConfiguration` was modified - -* `ActiveConnectivityConfiguration()` was changed to private access -* `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withHubs(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `withAppliesToGroups(java.util.List)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withId(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withIsGlobal(models.IsGlobal)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `withConfigurationGroups(java.util.List)` was removed -* `withRegion(java.lang.String)` was removed - -#### `models.RouteSourceDetails` was modified - -* `RouteSourceDetails()` was changed to private access -* `withPri(java.lang.String)` was removed -* `withCircuit(java.lang.String)` was removed -* `withSec(java.lang.String)` was removed - -#### `models.RecordSet` was modified - -* `RecordSet()` was changed to private access -* `withFqdn(java.lang.String)` was removed -* `withRecordType(java.lang.String)` was removed -* `withRecordSetName(java.lang.String)` was removed -* `withTtl(java.lang.Integer)` was removed -* `withIpAddresses(java.util.List)` was removed - -#### `models.ApplicationGatewayBackendHealthPool` was modified - -* `ApplicationGatewayBackendHealthPool()` was changed to private access -* `withBackendHttpSettingsCollection(java.util.List)` was removed -* `withBackendAddressPool(models.ApplicationGatewayBackendAddressPool)` was removed - -#### `models.AvailableProvidersListCity` was modified - -* `AvailableProvidersListCity()` was changed to private access -* `withProviders(java.util.List)` was removed -* `withCityName(java.lang.String)` was removed - -#### `models.ExpressRouteFailoverCircuitResourceDetails` was modified - -* `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access -* `withName(java.lang.String)` was removed -* `withConnectionName(java.lang.String)` was removed -* `withNrpResourceUri(java.lang.String)` was removed - -#### `models.ConnectivityIssue` was modified - -* `ConnectivityIssue()` was changed to private access - -#### `models.Availability` was modified - -* `Availability()` was changed to private access -* `withTimeGrain(java.lang.String)` was removed -* `withBlobDuration(java.lang.String)` was removed -* `withRetention(java.lang.String)` was removed - -#### `models.VerifierWorkspaceProperties` was modified - -* `withProvisioningState(models.ProvisioningState)` was removed - -#### `models.OperationDisplay` was modified - -* `OperationDisplay()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withResource(java.lang.String)` was removed -* `withProvider(java.lang.String)` was removed -* `withOperation(java.lang.String)` was removed - -#### `models.OperationPropertiesFormatServiceSpecification` was modified - -* `OperationPropertiesFormatServiceSpecification()` was changed to private access -* `withMetricSpecifications(java.util.List)` was removed -* `withLogSpecifications(java.util.List)` was removed - -#### `models.AvailableProvidersListCountry` was modified - -* `AvailableProvidersListCountry()` was changed to private access -* `withProviders(java.util.List)` was removed -* `withStates(java.util.List)` was removed -* `withCountryName(java.lang.String)` was removed - -#### `models.VirtualNetworkUsageName` was modified - -* `VirtualNetworkUsageName()` was changed to private access - -#### `models.ApplicationGatewayFirewallRuleSet` was modified - -* `ApplicationGatewayFirewallRuleSet()` was changed to private access -* `withId(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withRuleSetVersion(java.lang.String)` was removed -* `withLocation(java.lang.String)` was removed -* `withTags(java.util.Map)` was removed -* `withTiers(java.util.List)` was removed -* `withRuleSetType(java.lang.String)` was removed - -#### `models.ApplicationGatewayFirewallManifestRuleSet` was modified - -* `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access -* `withRuleSetVersion(java.lang.String)` was removed -* `withRuleSetType(java.lang.String)` was removed -* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withTiers(java.util.List)` was removed - -#### `models.NetworkManagerDeploymentStatus` was modified - -* `NetworkManagerDeploymentStatus()` was changed to private access -* `withErrorMessage(java.lang.String)` was removed -* `withDeploymentStatus(models.DeploymentStatus)` was removed -* `withRegion(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withConfigurationIds(java.util.List)` was removed -* `withDeploymentType(models.ConfigurationType)` was removed - -#### `models.CircuitMetadataMap` was modified - -* `CircuitMetadataMap()` was changed to private access -* `withLocation(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withLink(java.lang.String)` was removed - -#### `models.ExpressRouteCircuitRoutesTableSummary` was modified - -* `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withAs(java.lang.Integer)` was removed -* `withStatePfxRcd(java.lang.String)` was removed -* `withUpDown(java.lang.String)` was removed -* `withNeighbor(java.lang.String)` was removed -* `withV(java.lang.Integer)` was removed - -#### `models.ManagedRuleSetRuleGroup` was modified - -* `ManagedRuleSetRuleGroup()` was changed to private access -* `withRules(java.util.List)` was removed -* `withRuleGroupName(java.lang.String)` was removed - -#### `models.Dimension` was modified - -* `Dimension()` was changed to private access -* `withInternalName(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed - -#### `models.NetworkSecurityGroupResult` was modified - -* `NetworkSecurityGroupResult()` was changed to private access -* `withSecurityRuleAccessResult(models.SecurityRuleAccess)` was removed - -#### `models.ResiliencyRecommendationComponents` was modified - -* `ResiliencyRecommendationComponents()` was changed to private access -* `withRecommendations(java.util.List)` was removed -* `withMaxScore(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withCurrentScore(java.lang.String)` was removed - -#### `models.EffectiveBaseSecurityAdminRule` was modified - -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` - -#### `models.LogSpecification` was modified - -* `LogSpecification()` was changed to private access -* `withName(java.lang.String)` was removed -* `withBlobDuration(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed - -#### `models.InboundNatRulePortMapping` was modified - -* `InboundNatRulePortMapping()` was changed to private access - -#### `models.EffectiveConnectivityConfiguration` was modified - -* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -* `withDescription(java.lang.String)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withIsGlobal(models.IsGlobal)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed -* `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -* `withHubs(java.util.List)` was removed -* `withAppliesToGroups(java.util.List)` was removed - -#### `models.PerimeterBasedAccessRule` was modified - -* `PerimeterBasedAccessRule()` was changed to private access - -#### `models.NetworkConfigurationDiagnosticResult` was modified - -* `NetworkConfigurationDiagnosticResult()` was changed to private access -* `withProfile(models.NetworkConfigurationDiagnosticProfile)` was removed -* `withNetworkSecurityGroupResult(models.NetworkSecurityGroupResult)` was removed - -#### `models.VirtualHubEffectiveRoute` was modified - -* `VirtualHubEffectiveRoute()` was changed to private access -* `withNextHopType(java.lang.String)` was removed -* `withRouteOrigin(java.lang.String)` was removed -* `withAsPath(java.lang.String)` was removed -* `withNextHops(java.util.List)` was removed -* `withAddressPrefixes(java.util.List)` was removed - -#### `models.ExpressRoutePortsLocationBandwidths` was modified - -* `ExpressRoutePortsLocationBandwidths()` was changed to private access - -#### `models.StaticCidrProperties` was modified - -* `withProvisioningState(models.ProvisioningState)` was removed - -#### `models.EffectiveNetworkSecurityGroupAssociation` was modified - -* `EffectiveNetworkSecurityGroupAssociation()` was changed to private access -* `withNetworkInterface(com.azure.core.management.SubResource)` was removed -* `withNetworkManager(com.azure.core.management.SubResource)` was removed -* `withSubnet(com.azure.core.management.SubResource)` was removed - -#### `models.ErrorDetail` was modified - -* `ErrorDetail()` was changed to private access - -#### `models.IntentContent` was modified - -* `IntentContent()` was changed to private access -* `withIpTraffic(models.IpTraffic)` was removed -* `withDescription(java.lang.String)` was removed -* `withSourceResourceId(java.lang.String)` was removed -* `withDestinationResourceId(java.lang.String)` was removed - -#### `models.ConfigurationGroup` was modified - -* `ConfigurationGroup()` was changed to private access -* `withMemberType(models.GroupMemberType)` was removed -* `withId(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed - -#### `models.SecurityPerimeterSystemData` was modified - -* `SecurityPerimeterSystemData()` was changed to private access -* `withCreatedBy(java.lang.String)` was removed -* `withCreatedByType(models.CreatedByType)` was removed -* `withLastModifiedByType(models.CreatedByType)` was removed -* `withLastModifiedAt(java.time.OffsetDateTime)` was removed -* `withCreatedAt(java.time.OffsetDateTime)` was removed -* `withLastModifiedBy(java.lang.String)` was removed - -#### `models.ExpressRouteCircuitRoutesTable` was modified - -* `ExpressRouteCircuitRoutesTable()` was changed to private access -* `withLocPrf(java.lang.String)` was removed -* `withNextHop(java.lang.String)` was removed -* `withNetwork(java.lang.String)` was removed -* `withWeight(java.lang.Integer)` was removed -* `withPath(java.lang.String)` was removed - -#### `models.SubnetAssociation` was modified - -* `SubnetAssociation()` was changed to private access -* `withSecurityRules(java.util.List)` was removed - -#### `models.RadiusAuthServer` was modified - -* `RadiusAuthServer()` was changed to private access -* `withRadiusServerAddress(java.lang.String)` was removed -* `withRadiusServerSecret(java.lang.String)` was removed - -#### `models.VirtualApplianceNicProperties` was modified - -* `VirtualApplianceNicProperties()` was changed to private access - -#### `models.GatewayRoute` was modified - -* `GatewayRoute()` was changed to private access - -#### `models.VirtualWanSecurityProvider` was modified - -* `VirtualWanSecurityProvider()` was changed to private access -* `withName(java.lang.String)` was removed -* `withUrl(java.lang.String)` was removed - -#### `models.VpnClientConnectionHealth` was modified - -* `VpnClientConnectionHealth()` was changed to private access -* `withVpnClientConnectionsCount(java.lang.Integer)` was removed -* `withAllocatedIpAddresses(java.util.List)` was removed - -#### `models.ExpressRouteFailoverConnectionResourceDetails` was modified - -* `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access -* `withName(java.lang.String)` was removed -* `withLastUpdatedTime(java.lang.String)` was removed -* `withNrpResourceUri(java.lang.String)` was removed -* `withStatus(models.FailoverConnectionStatus)` was removed - -#### `models.ActiveDefaultSecurityAdminRule` was modified - -* `ActiveDefaultSecurityAdminRule()` was changed to private access -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withRegion(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withFlag(java.lang.String)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +## 2.59.0-beta.1 (Unreleased) ### Features Added -* `models.ReadOnlySubResourceModel` was added - -* `models.ProxyResourceWithSettableId` was added - -* `models.SubResourceModel` was added - -* `models.TrackedResourceWithSettableName` was added - -* `models.TrackedResourceWithEtag` was added - -* `models.SecurityPerimeterTrackedResource` was added - -* `models.ProxyResourceWithReadOnlyID` was added - -* `models.WritableResource` was added - -#### `models.ApplicationGatewayWebApplicationFirewallConfiguration` was modified - -* `withExclusions(models.ApplicationGatewayFirewallExclusion)` was added - -#### `models.DdosDetectionRule` was modified - -* `id()` was added - -#### `models.ResourceNavigationLink` was modified - -* `id()` was added - -#### `models.NetworkGroupsCreateOrUpdateHeaders` was modified - -* `retryAfter()` was added +### Breaking Changes -#### `models.ActiveConnectivityConfiguration` was modified +### Bugs Fixed -* `id()` was added -* `configurationGroups()` was added +### Other Changes ## 2.58.0 (2026-02-14) From ebee778e6192bcbeac091e821a84c9c4d48c3cc0 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 30 Mar 2026 12:57:52 +0800 Subject: [PATCH 30/33] Fix filename casing to match Java class names in network samples Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- ...ateSamples.java => CustomIpPrefixesCreateOrUpdateSamples.java} | 0 ...fixesDeleteSamples.java => CustomIpPrefixesDeleteSamples.java} | 0 ...amples.java => CustomIpPrefixesGetByResourceGroupSamples.java} | 0 ...mples.java => CustomIpPrefixesListByResourceGroupSamples.java} | 0 ...PPrefixesListSamples.java => CustomIpPrefixesListSamples.java} | 0 ...ateTagsSamples.java => CustomIpPrefixesUpdateTagsSamples.java} | 0 ...teLOASamples.java => ExpressRoutePortsGenerateLoaSamples.java} | 0 ...s.java => LoadBalancerFrontendIpConfigurationsGetSamples.java} | 0 ....java => LoadBalancerFrontendIpConfigurationsListSamples.java} | 0 ...mples.java => NetworkInterfaceIpConfigurationsGetSamples.java} | 0 ...ples.java => NetworkInterfaceIpConfigurationsListSamples.java} | 0 ...java => P2SVpnGatewaysDisconnectP2SVpnConnectionsSamples.java} | 0 ...> P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedSamples.java} | 0 ...s.java => P2SVpnGatewaysGetP2SVpnConnectionHealthSamples.java} | 0 ...> PublicIpAddressesGetCloudServicePublicIpAddressSamples.java} | 0 ...ublicIpAddressesListCloudServicePublicIpAddressesSamples.java} | 0 ...ssesListCloudServiceRoleInstancePublicIpAddressesSamples.java} | 0 ...les.java => VirtualHubRouteTableV2SCreateOrUpdateSamples.java} | 0 ...leteSamples.java => VirtualHubRouteTableV2SDeleteSamples.java} | 0 ...eV2sGetSamples.java => VirtualHubRouteTableV2SGetSamples.java} | 0 ...2sListSamples.java => VirtualHubRouteTableV2SListSamples.java} | 0 21 files changed, 0 insertions(+), 0 deletions(-) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{CustomIPPrefixesCreateOrUpdateSamples.java => CustomIpPrefixesCreateOrUpdateSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{CustomIPPrefixesDeleteSamples.java => CustomIpPrefixesDeleteSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{CustomIPPrefixesGetByResourceGroupSamples.java => CustomIpPrefixesGetByResourceGroupSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{CustomIPPrefixesListByResourceGroupSamples.java => CustomIpPrefixesListByResourceGroupSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{CustomIPPrefixesListSamples.java => CustomIpPrefixesListSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{CustomIPPrefixesUpdateTagsSamples.java => CustomIpPrefixesUpdateTagsSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{ExpressRoutePortsGenerateLOASamples.java => ExpressRoutePortsGenerateLoaSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{LoadBalancerFrontendIPConfigurationsGetSamples.java => LoadBalancerFrontendIpConfigurationsGetSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{LoadBalancerFrontendIPConfigurationsListSamples.java => LoadBalancerFrontendIpConfigurationsListSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{NetworkInterfaceIPConfigurationsGetSamples.java => NetworkInterfaceIpConfigurationsGetSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{NetworkInterfaceIPConfigurationsListSamples.java => NetworkInterfaceIpConfigurationsListSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java => P2SVpnGatewaysDisconnectP2SVpnConnectionsSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java => P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java => P2SVpnGatewaysGetP2SVpnConnectionHealthSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{PublicIpAddressesGetCloudServicePublicIPAddressSamples.java => PublicIpAddressesGetCloudServicePublicIpAddressSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{PublicIpAddressesListCloudServicePublicIPAddressesSamples.java => PublicIpAddressesListCloudServicePublicIpAddressesSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java => PublicIpAddressesListCloudServiceRoleInstancePublicIpAddressesSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{VirtualHubRouteTableV2sCreateOrUpdateSamples.java => VirtualHubRouteTableV2SCreateOrUpdateSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{VirtualHubRouteTableV2sDeleteSamples.java => VirtualHubRouteTableV2SDeleteSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{VirtualHubRouteTableV2sGetSamples.java => VirtualHubRouteTableV2SGetSamples.java} (100%) rename sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/{VirtualHubRouteTableV2sListSamples.java => VirtualHubRouteTableV2SListSamples.java} (100%) diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesCreateOrUpdateSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesCreateOrUpdateSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesCreateOrUpdateSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesDeleteSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesDeleteSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesDeleteSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesGetByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesGetByResourceGroupSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesGetByResourceGroupSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesGetByResourceGroupSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListByResourceGroupSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesListByResourceGroupSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListByResourceGroupSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesListByResourceGroupSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesListSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesListSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesListSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesUpdateTagsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesUpdateTagsSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIPPrefixesUpdateTagsSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/CustomIpPrefixesUpdateTagsSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLOASamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLoaSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLOASamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/ExpressRoutePortsGenerateLoaSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIpConfigurationsGetSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsGetSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIpConfigurationsGetSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIpConfigurationsListSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIPConfigurationsListSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/LoadBalancerFrontendIpConfigurationsListSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIpConfigurationsGetSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsGetSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIpConfigurationsGetSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIpConfigurationsListSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIPConfigurationsListSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/NetworkInterfaceIpConfigurationsListSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2SVpnConnectionsSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2sVpnConnectionsSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysDisconnectP2SVpnConnectionsSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthDetailedSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2SVpnConnectionHealthSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2sVpnConnectionHealthSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/P2SVpnGatewaysGetP2SVpnConnectionHealthSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIPAddressSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIpAddressSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIPAddressSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesGetCloudServicePublicIpAddressSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIPAddressesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIpAddressesSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIPAddressesSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServicePublicIpAddressesSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIpAddressesSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIPAddressesSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/PublicIpAddressesListCloudServiceRoleInstancePublicIpAddressesSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sCreateOrUpdateSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2SCreateOrUpdateSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sCreateOrUpdateSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2SCreateOrUpdateSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sDeleteSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2SDeleteSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sDeleteSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2SDeleteSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sGetSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2SGetSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sGetSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2SGetSamples.java diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sListSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2SListSamples.java similarity index 100% rename from sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2sListSamples.java rename to sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/VirtualHubRouteTableV2SListSamples.java From f367856d3300727fee4d6bfd9df956edb097b3af Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 30 Mar 2026 13:47:28 +0800 Subject: [PATCH 31/33] regen --- .../CHANGELOG.md | 1114 ++++++++++++++++- ...ayWebApplicationFirewallConfiguration.java | 15 +- .../tsp-location.yaml | 2 +- 3 files changed, 1119 insertions(+), 12 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index 83d0c962e6a9..214b9e482b3b 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -1,14 +1,1120 @@ # Release History -## 2.59.0-beta.1 (Unreleased) +## 2.59.0-beta.1 (2026-03-30) + +### Breaking Changes + +#### `models.NatGatewayListResult` was removed + +#### `models.ApplicationGatewayPrivateLinkResourceListResult` was removed + +#### `models.NspLoggingConfigurationListResult` was removed + +#### `models.ExpressRoutePortsLocationListResult` was removed + +#### `models.PublicIpAddressListResult` was removed + +#### `models.TrackedResource` was removed + +#### `models.NspLinkReferenceListResult` was removed + +#### `models.AdminRuleCollectionListResult` was removed + +#### `models.ListVpnConnectionsResult` was removed + +#### `models.GetServiceGatewayServicesResult` was removed + +#### `models.BastionSessionDeleteResult` was removed + +#### `models.BastionShareableLinkListResult` was removed + +#### `models.StaticCidrList` was removed + +#### `models.LoadBalancerOutboundRuleListResult` was removed + +#### `models.LoadBalancerListResult` was removed + +#### `models.AzureFirewallListResult` was removed + +#### `models.ListHubRouteTablesResult` was removed + +#### `models.RoutingRuleListResult` was removed + +#### `models.VirtualNetworkPeeringListResult` was removed + +#### `models.SecurityUserRuleCollectionListResult` was removed + +#### `models.SecurityUserRuleListResult` was removed + +#### `models.ListVirtualWansResult` was removed + +#### `models.ExpressRouteCrossConnectionListResult` was removed + +#### `models.AvailableDelegationsResult` was removed + +#### `models.UsagesListResult` was removed + +#### `models.ExpressRoutePortAuthorizationListResult` was removed + +#### `models.ExpressRouteLinkListResult` was removed + +#### `models.LoadBalancerProbeListResult` was removed + +#### `models.PacketCaptureListResult` was removed + +#### `models.NspProfileListResult` was removed + +#### `models.InboundNatRuleListResult` was removed + +#### `models.RouteListResult` was removed + +#### `models.BgpServiceCommunityListResult` was removed + +#### `models.PublicIpPrefixListResult` was removed + +#### `models.LocalNetworkGatewayListResult` was removed + +#### `models.VirtualRouterListResult` was removed + +#### `models.ExpressRouteCircuitPeeringListResult` was removed + +#### `models.ListVpnServerConfigurationsResult` was removed + +#### `models.ApplicationGatewayAvailableSslPredefinedPolicies` was removed + +#### `models.ListVirtualNetworkGatewayNatRulesResult` was removed + +#### `models.EndpointServicesListResult` was removed + +#### `models.ServiceTagInformationListResult` was removed + +#### `models.ListRouteMapsResult` was removed + +#### `models.VirtualNetworkApplianceListResult` was removed + +#### `models.BastionActiveSessionListResult` was removed + +#### `models.ListVpnGatewayNatRulesResult` was removed + +#### `models.NetworkInterfaceListResult` was removed + +#### `models.NetworkInterfaceIpConfigurationListResult` was removed + +#### `models.ConnectionMonitorListResult` was removed + +#### `models.FirewallPolicyRuleCollectionGroupListResult` was removed + +#### `models.SecurityPartnerProviderListResult` was removed + +#### `models.VirtualNetworkGatewayListConnectionsResult` was removed + +#### `models.FirewallPolicyListResult` was removed + +#### `models.AdminRuleListResult` was removed + +#### `models.NetworkInterfaceLoadBalancerListResult` was removed + +#### `models.LoadBalancerLoadBalancingRuleListResult` was removed + +#### `models.VirtualNetworkGatewayListResult` was removed + +#### `models.ConnectionSharedKeyResultList` was removed + +#### `models.NetworkWatcherListResult` was removed + +#### `models.ReachabilityAnalysisRunListResult` was removed + +#### `models.ExpressRouteServiceProviderListResult` was removed + +#### `models.AzureFirewallFqdnTagListResult` was removed + +#### `models.VirtualNetworkGatewayConnectionListResult` was removed + +#### `models.ListHubVirtualNetworkConnectionsResult` was removed + +#### `models.NspAssociationsListResult` was removed + +#### `models.ApplicationSecurityGroupListResult` was removed + +#### `models.VirtualNetworkDdosProtectionStatusResult` was removed + +#### `models.NetworkVirtualApplianceConnectionList` was removed + +#### `models.ListVpnSiteLinksResult` was removed + +#### `models.ListVpnSitesResult` was removed + +#### `models.PeerExpressRouteCircuitConnectionListResult` was removed + +#### `models.OperationListResult` was removed + +#### `models.SecurityUserConfigurationListResult` was removed + +#### `models.AuthorizationListResult` was removed + +#### `models.VirtualNetworkListUsageResult` was removed + +#### `models.ScopeConnectionListResult` was removed + +#### `models.StaticMemberListResult` was removed + +#### `models.PrivateEndpointListResult` was removed + +#### `models.IpAllocationListResult` was removed + +#### `models.SecurityRuleListResult` was removed + +#### `models.VirtualNetworkTapListResult` was removed + +#### `models.RouteFilterListResult` was removed + +#### `models.VirtualRouterPeeringListResult` was removed + +#### `models.ServiceGatewayListResult` was removed + +#### `models.VerifierWorkspaceListResult` was removed + +#### `models.NetworkVirtualApplianceListResult` was removed + +#### `models.ApplicationGatewayListResult` was removed + +#### `models.PerimeterAssociableResourcesListResult` was removed + +#### `models.ListVirtualHubIpConfigurationResults` was removed + +#### `models.ListVirtualHubRouteTableV2SResult` was removed + +#### `models.ExpressRouteCircuitListResult` was removed + +#### `models.ReachabilityAnalysisIntentListResult` was removed + +#### `models.NetworkManagerConnectionListResult` was removed + +#### `models.ApplicationGatewayPrivateEndpointConnectionListResult` was removed + +#### `models.ListRoutingIntentResult` was removed + +#### `models.ServiceEndpointPolicyListResult` was removed + +#### `models.PoolAssociationList` was removed + +#### `models.NetworkSecurityPerimeterListResult` was removed + +#### `models.ExpressRouteCrossConnectionPeeringList` was removed + +#### `models.PrivateLinkServiceListResult` was removed + +#### `models.ListVirtualHubBgpConnectionResults` was removed + +#### `models.NspLinkListResult` was removed + +#### `models.SubnetListResult` was removed + +#### `models.FlowLogListResult` was removed + +#### `models.ListVpnGatewaysResult` was removed + +#### `models.RoutingRuleCollectionListResult` was removed + +#### `models.RouteTableListResult` was removed + +#### `models.WebApplicationFirewallPolicyListResult` was removed + +#### `models.AutoApprovedPrivateLinkServicesResult` was removed + +#### `models.NetworkManagerRoutingConfigurationListResult` was removed + +#### `models.NetworkVirtualApplianceSiteListResult` was removed + +#### `models.PrivateEndpointConnectionListResult` was removed + +#### `models.ExpressRouteCircuitConnectionListResult` was removed + +#### `models.ListVirtualHubsResult` was removed + +#### `models.AvailableServiceAliasesResult` was removed + +#### `models.LoadBalancerFrontendIpConfigurationListResult` was removed + +#### `models.GetServiceGatewayAddressLocationsResult` was removed + +#### `models.ApplicationGatewayWafDynamicManifestResultList` was removed + +#### `models.NetworkInterfaceTapConfigurationListResult` was removed + +#### `models.LoadBalancerBackendAddressPoolListResult` was removed + +#### `models.ListP2SVpnGatewaysResult` was removed + +#### `models.VirtualNetworkListResult` was removed + +#### `models.CustomIpPrefixListResult` was removed + +#### `models.SecurityAdminConfigurationListResult` was removed + +#### `models.BastionHostListResult` was removed + +#### `models.ListVpnSiteLinkConnectionsResult` was removed + +#### `models.NetworkProfileListResult` was removed + +#### `models.DdosProtectionPlanListResult` was removed + +#### `models.NetworkSecurityGroupListResult` was removed + +#### `models.NspServiceTagsListResult` was removed + +#### `models.AvailablePrivateEndpointTypesResult` was removed + +#### `models.IpGroupListResult` was removed + +#### `models.NetworkGroupListResult` was removed + +#### `models.DscpConfigurationListResult` was removed + +#### `models.IpamPoolList` was removed + +#### `models.PrivateDnsZoneGroupListResult` was removed + +#### `models.ExpressRoutePortListResult` was removed + +#### `models.ServiceEndpointPolicyDefinitionListResult` was removed + +#### `models.NetworkVirtualApplianceSkuListResult` was removed + +#### `models.ConnectivityConfigurationListResult` was removed + +#### `models.RouteFilterRuleListResult` was removed + +#### `models.NetworkManagerListResult` was removed + +#### `models.ListVpnServerConfigurationPolicyGroupsResult` was removed + +#### `models.AzureWebCategoryListResult` was removed + +#### `models.NspAccessRuleListResult` was removed + +#### `models.Error` was modified + +* `Error()` was changed to private access + +#### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified + +* `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access +* `withNeighbor(java.lang.String)` was removed +* `withAsn(java.lang.Integer)` was removed +* `withStateOrPrefixesReceived(java.lang.String)` was removed +* `withUpDown(java.lang.String)` was removed + +#### `models.UsageName` was modified + +* `UsageName()` was changed to private access +* `withLocalizedValue(java.lang.String)` was removed +* `withValue(java.lang.String)` was removed + +#### `models.SecurityRuleAssociations` was modified + +* `SecurityRuleAssociations()` was changed to private access +* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed +* `withEffectiveSecurityRules(java.util.List)` was removed +* `withDefaultSecurityRules(java.util.List)` was removed +* `withSubnetAssociation(models.SubnetAssociation)` was removed + +#### `models.ResourceBasics` was modified + +* `ResourceBasics()` was changed to private access +* `withAddressPrefixes(java.util.List)` was removed +* `withResourceId(java.lang.String)` was removed + +#### `models.MatchedRule` was modified + +* `MatchedRule()` was changed to private access +* `withRuleName(java.lang.String)` was removed +* `withAction(java.lang.String)` was removed + +#### `models.ApplicationGatewayFirewallRule` was modified + +* `ApplicationGatewayFirewallRule()` was changed to private access +* `withDescription(java.lang.String)` was removed +* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed +* `withRuleIdString(java.lang.String)` was removed +* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed +* `withRuleId(int)` was removed +* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed + +#### `models.VpnGatewayIpConfiguration` was modified + +* `VpnGatewayIpConfiguration()` was changed to private access +* `withPublicIpAddress(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed + +#### `models.EffectiveRoute` was modified + +* `EffectiveRoute()` was changed to private access +* `withSource(models.EffectiveRouteSource)` was removed +* `withName(java.lang.String)` was removed +* `withAddressPrefix(java.util.List)` was removed +* `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed +* `withNextHopType(models.RouteNextHopType)` was removed +* `withState(models.EffectiveRouteState)` was removed +* `withNextHopIpAddress(java.util.List)` was removed + +#### `models.VirtualNetworkApplianceIpConfiguration` was modified + +* `VirtualNetworkApplianceIpConfiguration()` was changed to private access +* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed +* `withId(java.lang.String)` was removed +* `withPrivateIpAddressVersion(models.IpVersion)` was removed +* `withPrimary(java.lang.Boolean)` was removed +* `withPrivateIpAddress(java.lang.String)` was removed +* `withName(java.lang.String)` was removed + +#### `models.TunnelConnectionHealth` was modified + +* `TunnelConnectionHealth()` was changed to private access + +#### `models.DdosDetectionRule` was modified + +* `withId(java.lang.String)` was removed + +#### `models.ActiveSecurityAdminRule` was modified + +* `ActiveSecurityAdminRule()` was changed to private access +* `withDestinations(java.util.List)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withRegion(java.lang.String)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withSources(java.util.List)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withDescription(java.lang.String)` was removed +* `withSourcePortRanges(java.util.List)` was removed + +#### `models.ErrorAdditionalInfo` was modified + +* `ErrorAdditionalInfo()` was changed to private access + +#### `models.ContainerNetworkInterfaceIpConfiguration` was modified + +* `ContainerNetworkInterfaceIpConfiguration()` was changed to private access +* `withName(java.lang.String)` was removed + +#### `models.ApplicationGatewayBackendHealthHttpSettings` was modified + +* `ApplicationGatewayBackendHealthHttpSettings()` was changed to private access +* `withServers(java.util.List)` was removed +* `withBackendHttpSettings(models.ApplicationGatewayBackendHttpSettings)` was removed + +#### `models.NetworkInterfaceAssociation` was modified + +* `NetworkInterfaceAssociation()` was changed to private access +* `withSecurityRules(java.util.List)` was removed + +#### `models.TopologyAssociation` was modified + +* `TopologyAssociation()` was changed to private access +* `withAssociationType(models.AssociationType)` was removed +* `withName(java.lang.String)` was removed +* `withResourceId(java.lang.String)` was removed + +#### `models.SecurityGroupNetworkInterface` was modified + +* `SecurityGroupNetworkInterface()` was changed to private access +* `withSecurityRuleAssociations(models.SecurityRuleAssociations)` was removed +* `withId(java.lang.String)` was removed + +#### `models.EffectiveDefaultSecurityAdminRule` was modified + +* `EffectiveDefaultSecurityAdminRule()` was changed to private access +* `withConfigurationDescription(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withFlag(java.lang.String)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed + +#### `models.Container` was modified + +* `Container()` was changed to private access +* `withId(java.lang.String)` was removed + +#### `models.ServiceAssociationLink` was modified + +* `ServiceAssociationLink()` was changed to private access +* `withName(java.lang.String)` was removed +* `withLocations(java.util.List)` was removed +* `withAllowDelete(java.lang.Boolean)` was removed +* `withId(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed +* `withLinkedResourceType(java.lang.String)` was removed + +#### `models.TroubleshootingRecommendedActions` was modified + +* `TroubleshootingRecommendedActions()` was changed to private access +* `withActionUriText(java.lang.String)` was removed +* `withActionId(java.lang.String)` was removed +* `withActionUri(java.lang.String)` was removed +* `withActionText(java.lang.String)` was removed + +#### `models.GatewayResiliencyRecommendation` was modified + +* `GatewayResiliencyRecommendation()` was changed to private access +* `withRecommendationTitle(java.lang.String)` was removed +* `withCallToActionLink(java.lang.String)` was removed +* `withRecommendationText(java.lang.String)` was removed +* `withSeverity(java.lang.String)` was removed +* `withCallToActionText(java.lang.String)` was removed +* `withRecommendationId(java.lang.String)` was removed + +#### `models.ContainerNetworkInterface` was modified + +* `ContainerNetworkInterface()` was changed to private access +* `withContainer(models.Container)` was removed +* `withName(java.lang.String)` was removed +* `withId(java.lang.String)` was removed + +#### `models.ExpressRouteFailoverRedundantRoute` was modified + +* `ExpressRouteFailoverRedundantRoute()` was changed to private access +* `withRoutes(java.util.List)` was removed +* `withPeeringLocations(java.util.List)` was removed + +#### `models.AzureReachabilityReportLatencyInfo` was modified + +* `AzureReachabilityReportLatencyInfo()` was changed to private access +* `withScore(java.lang.Integer)` was removed +* `withTimestamp(java.time.OffsetDateTime)` was removed + +#### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified + +* `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access +* `withState(java.lang.String)` was removed +* `withReason(java.lang.String)` was removed +* `withIpAddress(java.lang.String)` was removed +* `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed + +#### `models.ConnectivityHop` was modified + +* `ConnectivityHop()` was changed to private access + +#### `models.ReachabilityAnalysisRunProperties` was modified + +* `withProvisioningState(models.ProvisioningState)` was removed + +#### `models.NetworkVirtualApplianceSkuInstances` was modified + +* `NetworkVirtualApplianceSkuInstances()` was changed to private access + +#### `models.EffectiveNetworkSecurityRule` was modified + +* `EffectiveNetworkSecurityRule()` was changed to private access +* `withDestinationPortRanges(java.util.List)` was removed +* `withName(java.lang.String)` was removed +* `withSourceAddressPrefix(java.lang.String)` was removed +* `withDestinationPortRange(java.lang.String)` was removed +* `withPriority(java.lang.Integer)` was removed +* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed +* `withSourceAddressPrefixes(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withSourcePortRange(java.lang.String)` was removed +* `withExpandedDestinationAddressPrefix(java.util.List)` was removed +* `withDirection(models.SecurityRuleDirection)` was removed +* `withExpandedSourceAddressPrefix(java.util.List)` was removed +* `withDestinationAddressPrefixes(java.util.List)` was removed +* `withDestinationAddressPrefix(java.lang.String)` was removed +* `withAccess(models.SecurityRuleAccess)` was removed + +#### `models.EvaluatedNetworkSecurityGroup` was modified + +* `EvaluatedNetworkSecurityGroup()` was changed to private access +* `withMatchedRule(models.MatchedRule)` was removed +* `withNetworkSecurityGroupId(java.lang.String)` was removed +* `withAppliedTo(java.lang.String)` was removed + +#### `models.TopologyResource` was modified + +* `TopologyResource()` was changed to private access +* `withAssociations(java.util.List)` was removed +* `withLocation(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withName(java.lang.String)` was removed + +#### `models.AzureFirewallIpGroups` was modified + +* `AzureFirewallIpGroups()` was changed to private access + +#### `models.EffectiveRouteMapRoute` was modified + +* `EffectiveRouteMapRoute()` was changed to private access +* `withBgpCommunities(java.lang.String)` was removed +* `withAsPath(java.lang.String)` was removed +* `withPrefix(java.lang.String)` was removed + +#### `models.CrossTenantScopes` was modified + +* `CrossTenantScopes()` was changed to private access + +#### `models.AzureReachabilityReportItem` was modified + +* `AzureReachabilityReportItem()` was changed to private access +* `withLatencies(java.util.List)` was removed +* `withProvider(java.lang.String)` was removed +* `withAzureLocation(java.lang.String)` was removed + +#### `models.TroubleshootingDetails` was modified + +* `TroubleshootingDetails()` was changed to private access +* `withSummary(java.lang.String)` was removed +* `withRecommendedActions(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withReasonType(java.lang.String)` was removed +* `withDetail(java.lang.String)` was removed + +#### `models.SingleQueryResult` was modified + +* `SingleQueryResult()` was changed to private access +* `withInheritedFromParentPolicy(java.lang.Boolean)` was removed +* `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed +* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed +* `withProtocol(java.lang.String)` was removed +* `withDestinationPorts(java.util.List)` was removed +* `withSignatureId(java.lang.Integer)` was removed +* `withDescription(java.lang.String)` was removed +* `withSourcePorts(java.util.List)` was removed +* `withLastUpdated(java.lang.String)` was removed +* `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed +* `withGroup(java.lang.String)` was removed + +#### `models.NetworkSecurityRulesEvaluationResult` was modified + +* `NetworkSecurityRulesEvaluationResult()` was changed to private access +* `withProtocolMatched(java.lang.Boolean)` was removed +* `withDestinationPortMatched(java.lang.Boolean)` was removed +* `withSourceMatched(java.lang.Boolean)` was removed +* `withSourcePortMatched(java.lang.Boolean)` was removed +* `withDestinationMatched(java.lang.Boolean)` was removed +* `withName(java.lang.String)` was removed + +#### `models.VirtualNetworkConnectionGatewayReference` was modified + +* `VirtualNetworkConnectionGatewayReference()` was changed to private access +* `withId(java.lang.String)` was removed + +#### `models.ReachabilityAnalysisIntentProperties` was modified + +* `withProvisioningState(models.ProvisioningState)` was removed + +#### `models.ActiveBaseSecurityAdminRule` was modified + +* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` +* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` +* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` + +#### `models.EffectiveSecurityAdminRule` was modified + +* `EffectiveSecurityAdminRule()` was changed to private access +* `withConfigurationDescription(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withSources(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withDestinations(java.util.List)` was removed +* `withDirection(models.SecurityConfigurationRuleDirection)` was removed +* `withAccess(models.SecurityConfigurationRuleAccess)` was removed +* `withDestinationPortRanges(java.util.List)` was removed +* `withSourcePortRanges(java.util.List)` was removed +* `withPriority(java.lang.Integer)` was removed + +#### `models.BgpPeerStatus` was modified + +* `BgpPeerStatus()` was changed to private access + +#### `models.NatRulePortMapping` was modified + +* `NatRulePortMapping()` was changed to private access +* `withInboundNatRuleName(java.lang.String)` was removed +* `withBackendPort(java.lang.Integer)` was removed +* `withFrontendPort(java.lang.Integer)` was removed + +#### `models.MetricSpecification` was modified + +* `MetricSpecification()` was changed to private access +* `withName(java.lang.String)` was removed +* `withAvailabilities(java.util.List)` was removed +* `withDimensions(java.util.List)` was removed +* `withIsInternal(java.lang.Boolean)` was removed +* `withMetricFilterPattern(java.lang.String)` was removed +* `withUnit(java.lang.String)` was removed +* `withSourceMdmAccount(java.lang.String)` was removed +* `withFillGapWithZero(java.lang.Boolean)` was removed +* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed +* `withDisplayName(java.lang.String)` was removed +* `withSourceMdmNamespace(java.lang.String)` was removed +* `withAggregationType(java.lang.String)` was removed +* `withResourceIdDimensionNameOverride(java.lang.String)` was removed +* `withDisplayDescription(java.lang.String)` was removed + +#### `models.ApplicationGatewayForContainersReferenceDefinition` was modified + +* `ApplicationGatewayForContainersReferenceDefinition()` was changed to private access +* `withId(java.lang.String)` was removed + +#### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified + +* `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access +* `withValueInMbps(java.lang.Integer)` was removed +* `withOfferName(java.lang.String)` was removed + +#### `models.ApplicationGatewayFirewallRuleGroup` was modified + +* `ApplicationGatewayFirewallRuleGroup()` was changed to private access +* `withRules(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed +* `withRuleGroupName(java.lang.String)` was removed + +#### `models.IpamPoolProperties` was modified + +* `withProvisioningState(models.ProvisioningState)` was removed + +#### `models.AvailableProvidersListState` was modified + +* `AvailableProvidersListState()` was changed to private access +* `withCities(java.util.List)` was removed +* `withStateName(java.lang.String)` was removed +* `withProviders(java.util.List)` was removed + +#### `models.HopLink` was modified + +* `HopLink()` was changed to private access + +#### `models.ResourceNavigationLink` was modified + +* `ResourceNavigationLink()` was changed to private access +* `withId(java.lang.String)` was removed +* `withLink(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withLinkedResourceType(java.lang.String)` was removed + +#### `models.BgpCommunity` was modified + +* `BgpCommunity()` was changed to private access +* `withServiceGroup(java.lang.String)` was removed +* `withCommunityPrefixes(java.util.List)` was removed +* `withCommunityName(java.lang.String)` was removed +* `withCommunityValue(java.lang.String)` was removed +* `withServiceSupportedRegion(java.lang.String)` was removed +* `withIsAuthorizedToUse(java.lang.Boolean)` was removed + +#### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified + +* `NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties()` was changed to private access + +#### `models.EffectiveNetworkSecurityGroup` was modified + +* `EffectiveNetworkSecurityGroup()` was changed to private access +* `withEffectiveSecurityRules(java.util.List)` was removed +* `java.lang.String tagMap()` -> `java.util.Map tagMap()` +* `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed +* `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed +* `withTagMap(java.lang.String)` was removed + +#### `models.ReferencedPublicIpAddress` was modified + +* `ReferencedPublicIpAddress()` was changed to private access +* `withId(java.lang.String)` was removed + +#### `models.PeerRoute` was modified + +* `PeerRoute()` was changed to private access + +#### `models.GatewayRouteSet` was modified + +* `GatewayRouteSet()` was changed to private access +* `withLocations(java.util.List)` was removed +* `withName(java.lang.String)` was removed +* `withDetails(java.util.Map)` was removed + +#### `models.NetworkGroupsCreateOrUpdateHeaders` was modified + +* `withEtag(java.lang.String)` was removed + +#### `models.VpnClientConnectionHealthDetail` was modified + +* `VpnClientConnectionHealthDetail()` was changed to private access + +#### `models.ServiceTagInformationPropertiesFormat` was modified + +* `ServiceTagInformationPropertiesFormat()` was changed to private access + +#### `models.ExpressRouteCircuitArpTable` was modified + +* `ExpressRouteCircuitArpTable()` was changed to private access +* `withAge(java.lang.Integer)` was removed +* `withIpAddress(java.lang.String)` was removed +* `withInterfaceProperty(java.lang.String)` was removed +* `withMacAddress(java.lang.String)` was removed + +#### `models.ActiveConnectivityConfiguration` was modified + +* `ActiveConnectivityConfiguration()` was changed to private access +* `withIsGlobal(models.IsGlobal)` was removed +* `withHubs(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed +* `withConnectivityTopology(models.ConnectivityTopology)` was removed +* `withConfigurationGroups(java.util.List)` was removed +* `withAppliesToGroups(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withRegion(java.lang.String)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed + +#### `models.RouteSourceDetails` was modified + +* `RouteSourceDetails()` was changed to private access +* `withSec(java.lang.String)` was removed +* `withCircuit(java.lang.String)` was removed +* `withPri(java.lang.String)` was removed + +#### `models.RecordSet` was modified + +* `RecordSet()` was changed to private access +* `withRecordType(java.lang.String)` was removed +* `withIpAddresses(java.util.List)` was removed +* `withRecordSetName(java.lang.String)` was removed +* `withTtl(java.lang.Integer)` was removed +* `withFqdn(java.lang.String)` was removed + +#### `models.ApplicationGatewayBackendHealthPool` was modified + +* `ApplicationGatewayBackendHealthPool()` was changed to private access +* `withBackendHttpSettingsCollection(java.util.List)` was removed +* `withBackendAddressPool(models.ApplicationGatewayBackendAddressPool)` was removed + +#### `models.AvailableProvidersListCity` was modified + +* `AvailableProvidersListCity()` was changed to private access +* `withProviders(java.util.List)` was removed +* `withCityName(java.lang.String)` was removed + +#### `models.ExpressRouteFailoverCircuitResourceDetails` was modified + +* `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access +* `withNrpResourceUri(java.lang.String)` was removed +* `withConnectionName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed + +#### `models.ConnectivityIssue` was modified + +* `ConnectivityIssue()` was changed to private access + +#### `models.Availability` was modified + +* `Availability()` was changed to private access +* `withBlobDuration(java.lang.String)` was removed +* `withRetention(java.lang.String)` was removed +* `withTimeGrain(java.lang.String)` was removed + +#### `models.VerifierWorkspaceProperties` was modified + +* `withProvisioningState(models.ProvisioningState)` was removed + +#### `models.OperationDisplay` was modified + +* `OperationDisplay()` was changed to private access +* `withProvider(java.lang.String)` was removed +* `withOperation(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed +* `withResource(java.lang.String)` was removed + +#### `models.OperationPropertiesFormatServiceSpecification` was modified + +* `OperationPropertiesFormatServiceSpecification()` was changed to private access +* `withLogSpecifications(java.util.List)` was removed +* `withMetricSpecifications(java.util.List)` was removed + +#### `models.AvailableProvidersListCountry` was modified + +* `AvailableProvidersListCountry()` was changed to private access +* `withProviders(java.util.List)` was removed +* `withStates(java.util.List)` was removed +* `withCountryName(java.lang.String)` was removed + +#### `models.VirtualNetworkUsageName` was modified + +* `VirtualNetworkUsageName()` was changed to private access + +#### `models.ApplicationGatewayFirewallRuleSet` was modified + +* `ApplicationGatewayFirewallRuleSet()` was changed to private access +* `withLocation(java.lang.String)` was removed +* `withTags(java.util.Map)` was removed +* `withRuleSetVersion(java.lang.String)` was removed +* `withTiers(java.util.List)` was removed +* `withRuleSetType(java.lang.String)` was removed +* `withId(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed + +#### `models.ApplicationGatewayFirewallManifestRuleSet` was modified + +* `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access +* `withRuleSetType(java.lang.String)` was removed +* `withRuleSetVersion(java.lang.String)` was removed +* `withRuleGroups(java.util.List)` was removed +* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed +* `withTiers(java.util.List)` was removed + +#### `models.NetworkManagerDeploymentStatus` was modified + +* `NetworkManagerDeploymentStatus()` was changed to private access +* `withRegion(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withConfigurationIds(java.util.List)` was removed +* `withDeploymentType(models.ConfigurationType)` was removed +* `withErrorMessage(java.lang.String)` was removed +* `withDeploymentStatus(models.DeploymentStatus)` was removed + +#### `models.CircuitMetadataMap` was modified + +* `CircuitMetadataMap()` was changed to private access +* `withLink(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withLocation(java.lang.String)` was removed + +#### `models.ExpressRouteCircuitRoutesTableSummary` was modified + +* `ExpressRouteCircuitRoutesTableSummary()` was changed to private access +* `withUpDown(java.lang.String)` was removed +* `withAs(java.lang.Integer)` was removed +* `withV(java.lang.Integer)` was removed +* `withNeighbor(java.lang.String)` was removed +* `withStatePfxRcd(java.lang.String)` was removed + +#### `models.ManagedRuleSetRuleGroup` was modified + +* `ManagedRuleSetRuleGroup()` was changed to private access +* `withRules(java.util.List)` was removed +* `withRuleGroupName(java.lang.String)` was removed + +#### `models.Dimension` was modified + +* `Dimension()` was changed to private access +* `withInternalName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed + +#### `models.NetworkSecurityGroupResult` was modified + +* `NetworkSecurityGroupResult()` was changed to private access +* `withSecurityRuleAccessResult(models.SecurityRuleAccess)` was removed + +#### `models.ResiliencyRecommendationComponents` was modified + +* `ResiliencyRecommendationComponents()` was changed to private access +* `withName(java.lang.String)` was removed +* `withCurrentScore(java.lang.String)` was removed +* `withRecommendations(java.util.List)` was removed +* `withMaxScore(java.lang.String)` was removed + +#### `models.EffectiveBaseSecurityAdminRule` was modified + +* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` +* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` +* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` + +#### `models.LogSpecification` was modified + +* `LogSpecification()` was changed to private access +* `withBlobDuration(java.lang.String)` was removed +* `withDisplayName(java.lang.String)` was removed +* `withName(java.lang.String)` was removed + +#### `models.InboundNatRulePortMapping` was modified + +* `InboundNatRulePortMapping()` was changed to private access + +#### `models.EffectiveConnectivityConfiguration` was modified + +* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` +* `withHubs(java.util.List)` was removed +* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` +* `withIsGlobal(models.IsGlobal)` was removed +* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed +* `withConnectivityTopology(models.ConnectivityTopology)` was removed +* `withAppliesToGroups(java.util.List)` was removed +* `withDescription(java.lang.String)` was removed +* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed + +#### `models.PerimeterBasedAccessRule` was modified + +* `PerimeterBasedAccessRule()` was changed to private access + +#### `models.NetworkConfigurationDiagnosticResult` was modified + +* `NetworkConfigurationDiagnosticResult()` was changed to private access +* `withProfile(models.NetworkConfigurationDiagnosticProfile)` was removed +* `withNetworkSecurityGroupResult(models.NetworkSecurityGroupResult)` was removed + +#### `models.VirtualHubEffectiveRoute` was modified + +* `VirtualHubEffectiveRoute()` was changed to private access +* `withAsPath(java.lang.String)` was removed +* `withAddressPrefixes(java.util.List)` was removed +* `withNextHops(java.util.List)` was removed +* `withNextHopType(java.lang.String)` was removed +* `withRouteOrigin(java.lang.String)` was removed + +#### `models.ExpressRoutePortsLocationBandwidths` was modified + +* `ExpressRoutePortsLocationBandwidths()` was changed to private access + +#### `models.StaticCidrProperties` was modified + +* `withProvisioningState(models.ProvisioningState)` was removed + +#### `models.EffectiveNetworkSecurityGroupAssociation` was modified + +* `EffectiveNetworkSecurityGroupAssociation()` was changed to private access +* `withSubnet(com.azure.core.management.SubResource)` was removed +* `withNetworkInterface(com.azure.core.management.SubResource)` was removed +* `withNetworkManager(com.azure.core.management.SubResource)` was removed + +#### `models.ErrorDetail` was modified + +* `ErrorDetail()` was changed to private access + +#### `models.IntentContent` was modified + +* `IntentContent()` was changed to private access +* `withDescription(java.lang.String)` was removed +* `withIpTraffic(models.IpTraffic)` was removed +* `withSourceResourceId(java.lang.String)` was removed +* `withDestinationResourceId(java.lang.String)` was removed + +#### `models.ConfigurationGroup` was modified + +* `ConfigurationGroup()` was changed to private access +* `withMemberType(models.GroupMemberType)` was removed +* `withId(java.lang.String)` was removed +* `withDescription(java.lang.String)` was removed + +#### `models.SecurityPerimeterSystemData` was modified + +* `SecurityPerimeterSystemData()` was changed to private access +* `withCreatedAt(java.time.OffsetDateTime)` was removed +* `withLastModifiedBy(java.lang.String)` was removed +* `withCreatedByType(models.CreatedByType)` was removed +* `withLastModifiedAt(java.time.OffsetDateTime)` was removed +* `withCreatedBy(java.lang.String)` was removed +* `withLastModifiedByType(models.CreatedByType)` was removed + +#### `models.ExpressRouteCircuitRoutesTable` was modified + +* `ExpressRouteCircuitRoutesTable()` was changed to private access +* `withLocPrf(java.lang.String)` was removed +* `withWeight(java.lang.Integer)` was removed +* `withNetwork(java.lang.String)` was removed +* `withPath(java.lang.String)` was removed +* `withNextHop(java.lang.String)` was removed + +#### `models.SubnetAssociation` was modified + +* `SubnetAssociation()` was changed to private access +* `withSecurityRules(java.util.List)` was removed + +#### `models.RadiusAuthServer` was modified + +* `RadiusAuthServer()` was changed to private access +* `withRadiusServerAddress(java.lang.String)` was removed +* `withRadiusServerSecret(java.lang.String)` was removed + +#### `models.VirtualApplianceNicProperties` was modified + +* `VirtualApplianceNicProperties()` was changed to private access + +#### `models.GatewayRoute` was modified + +* `GatewayRoute()` was changed to private access + +#### `models.VirtualWanSecurityProvider` was modified + +* `VirtualWanSecurityProvider()` was changed to private access +* `withName(java.lang.String)` was removed +* `withUrl(java.lang.String)` was removed + +#### `models.VpnClientConnectionHealth` was modified + +* `VpnClientConnectionHealth()` was changed to private access +* `withAllocatedIpAddresses(java.util.List)` was removed +* `withVpnClientConnectionsCount(java.lang.Integer)` was removed + +#### `models.ExpressRouteFailoverConnectionResourceDetails` was modified + +* `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access +* `withStatus(models.FailoverConnectionStatus)` was removed +* `withLastUpdatedTime(java.lang.String)` was removed +* `withName(java.lang.String)` was removed +* `withNrpResourceUri(java.lang.String)` was removed + +#### `models.ActiveDefaultSecurityAdminRule` was modified + +* `ActiveDefaultSecurityAdminRule()` was changed to private access +* `withRuleGroups(java.util.List)` was removed +* `withRuleCollectionAppliesToGroups(java.util.List)` was removed +* `withId(java.lang.String)` was removed +* `withConfigurationDescription(java.lang.String)` was removed +* `withCommitTime(java.time.OffsetDateTime)` was removed +* `withRegion(java.lang.String)` was removed +* `withRuleCollectionDescription(java.lang.String)` was removed +* `withFlag(java.lang.String)` was removed ### Features Added -### Breaking Changes +* `models.ReadOnlySubResourceModel` was added -### Bugs Fixed +* `models.ProxyResourceWithSettableId` was added -### Other Changes +* `models.SubResourceModel` was added + +* `models.TrackedResourceWithSettableName` was added + +* `models.TrackedResourceWithEtag` was added + +* `models.SecurityPerimeterTrackedResource` was added + +* `models.ProxyResourceWithReadOnlyID` was added + +* `models.WritableResource` was added + +#### `models.DdosDetectionRule` was modified + +* `id()` was added + +#### `models.ResourceNavigationLink` was modified + +* `id()` was added + +#### `models.ActiveConnectivityConfiguration` was modified + +* `configurationGroups()` was added +* `id()` was added ## 2.58.0 (2026-02-14) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java index 3aaa5c1dc834..bb08568d66a5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java @@ -67,7 +67,7 @@ public final class ApplicationGatewayWebApplicationFirewallConfiguration /* * The exclusion list. */ - private ApplicationGatewayFirewallExclusion exclusions; + private List exclusions; /** * Creates an instance of ApplicationGatewayWebApplicationFirewallConfiguration class. @@ -263,7 +263,7 @@ public ApplicationGatewayWebApplicationFirewallConfiguration withFileUploadLimit * * @return the exclusions value. */ - public ApplicationGatewayFirewallExclusion exclusions() { + public List exclusions() { return this.exclusions; } @@ -274,7 +274,7 @@ public ApplicationGatewayFirewallExclusion exclusions() { * @return the ApplicationGatewayWebApplicationFirewallConfiguration object itself. */ public ApplicationGatewayWebApplicationFirewallConfiguration - withExclusions(ApplicationGatewayFirewallExclusion exclusions) { + withExclusions(List exclusions) { this.exclusions = exclusions; return this; } @@ -304,7 +304,7 @@ public void validate() { disabledRuleGroups().forEach(e -> e.validate()); } if (exclusions() != null) { - exclusions().validate(); + exclusions().forEach(e -> e.validate()); } } @@ -327,7 +327,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeNumberField("maxRequestBodySize", this.maxRequestBodySize); jsonWriter.writeNumberField("maxRequestBodySizeInKb", this.maxRequestBodySizeInKb); jsonWriter.writeNumberField("fileUploadLimitInMb", this.fileUploadLimitInMb); - jsonWriter.writeJsonField("exclusions", this.exclusions); + jsonWriter.writeArrayField("exclusions", this.exclusions, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } @@ -377,8 +377,9 @@ public static ApplicationGatewayWebApplicationFirewallConfiguration fromJson(Jso deserializedApplicationGatewayWebApplicationFirewallConfiguration.fileUploadLimitInMb = reader.getNullable(JsonReader::getInt); } else if ("exclusions".equals(fieldName)) { - deserializedApplicationGatewayWebApplicationFirewallConfiguration.exclusions - = ApplicationGatewayFirewallExclusion.fromJson(reader); + List exclusions + = reader.readArray(reader1 -> ApplicationGatewayFirewallExclusion.fromJson(reader1)); + deserializedApplicationGatewayWebApplicationFirewallConfiguration.exclusions = exclusions; } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/tsp-location.yaml b/sdk/network/azure-resourcemanager-network/tsp-location.yaml index 695fb555253b..6cd088b34bd3 100644 --- a/sdk/network/azure-resourcemanager-network/tsp-location.yaml +++ b/sdk/network/azure-resourcemanager-network/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/network/resource-manager/Microsoft.Network/Network -commit: 31fb4b3e5acb94b16df4a9e6b513057280bd5678 +commit: HEAD repo: Azure/azure-rest-api-specs additionalDirectories: From 914625d0d126ca05a52aaa2d2deeef629d484cf5 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 30 Mar 2026 14:46:25 +0800 Subject: [PATCH 32/33] regen network SDK with rename-model, update tsp-location Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../CHANGELOG.md | 1114 +---------------- ...nGatewayWafDynamicManifestResultInner.java | 49 +- .../models/ConnectionMonitorResultInner.java | 23 +- .../network/fluent/models/RouteMapInner.java | 18 +- .../models/SignaturesOverridesInner.java | 89 +- .../fluent/models/SwapResourceInner.java | 18 +- .../models/VpnServerConfigurationInner.java | 76 +- .../models/ProxyResourceWithReadOnlyID.java | 146 --- .../models/ProxyResourceWithSettableId.java | 147 --- .../models/ReadOnlySubResourceModel.java | 146 --- .../models/TrackedResourceWithEtag.java | 231 ---- .../TrackedResourceWithSettableName.java | 207 --- .../network/models/WritableResource.java | 149 --- ...zure-resourcemanager-network_metadata.json | 2 +- ...cyIdpsSignaturesOverridesPatchSamples.java | 12 +- ...licyIdpsSignaturesOverridesPutSamples.java | 12 +- .../tsp-location.yaml | 2 +- 17 files changed, 193 insertions(+), 2248 deletions(-) delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java delete mode 100644 sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WritableResource.java diff --git a/sdk/network/azure-resourcemanager-network/CHANGELOG.md b/sdk/network/azure-resourcemanager-network/CHANGELOG.md index 214b9e482b3b..83d0c962e6a9 100644 --- a/sdk/network/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/network/azure-resourcemanager-network/CHANGELOG.md @@ -1,1120 +1,14 @@ # Release History -## 2.59.0-beta.1 (2026-03-30) - -### Breaking Changes - -#### `models.NatGatewayListResult` was removed - -#### `models.ApplicationGatewayPrivateLinkResourceListResult` was removed - -#### `models.NspLoggingConfigurationListResult` was removed - -#### `models.ExpressRoutePortsLocationListResult` was removed - -#### `models.PublicIpAddressListResult` was removed - -#### `models.TrackedResource` was removed - -#### `models.NspLinkReferenceListResult` was removed - -#### `models.AdminRuleCollectionListResult` was removed - -#### `models.ListVpnConnectionsResult` was removed - -#### `models.GetServiceGatewayServicesResult` was removed - -#### `models.BastionSessionDeleteResult` was removed - -#### `models.BastionShareableLinkListResult` was removed - -#### `models.StaticCidrList` was removed - -#### `models.LoadBalancerOutboundRuleListResult` was removed - -#### `models.LoadBalancerListResult` was removed - -#### `models.AzureFirewallListResult` was removed - -#### `models.ListHubRouteTablesResult` was removed - -#### `models.RoutingRuleListResult` was removed - -#### `models.VirtualNetworkPeeringListResult` was removed - -#### `models.SecurityUserRuleCollectionListResult` was removed - -#### `models.SecurityUserRuleListResult` was removed - -#### `models.ListVirtualWansResult` was removed - -#### `models.ExpressRouteCrossConnectionListResult` was removed - -#### `models.AvailableDelegationsResult` was removed - -#### `models.UsagesListResult` was removed - -#### `models.ExpressRoutePortAuthorizationListResult` was removed - -#### `models.ExpressRouteLinkListResult` was removed - -#### `models.LoadBalancerProbeListResult` was removed - -#### `models.PacketCaptureListResult` was removed - -#### `models.NspProfileListResult` was removed - -#### `models.InboundNatRuleListResult` was removed - -#### `models.RouteListResult` was removed - -#### `models.BgpServiceCommunityListResult` was removed - -#### `models.PublicIpPrefixListResult` was removed - -#### `models.LocalNetworkGatewayListResult` was removed - -#### `models.VirtualRouterListResult` was removed - -#### `models.ExpressRouteCircuitPeeringListResult` was removed - -#### `models.ListVpnServerConfigurationsResult` was removed - -#### `models.ApplicationGatewayAvailableSslPredefinedPolicies` was removed - -#### `models.ListVirtualNetworkGatewayNatRulesResult` was removed - -#### `models.EndpointServicesListResult` was removed - -#### `models.ServiceTagInformationListResult` was removed - -#### `models.ListRouteMapsResult` was removed - -#### `models.VirtualNetworkApplianceListResult` was removed - -#### `models.BastionActiveSessionListResult` was removed - -#### `models.ListVpnGatewayNatRulesResult` was removed - -#### `models.NetworkInterfaceListResult` was removed - -#### `models.NetworkInterfaceIpConfigurationListResult` was removed - -#### `models.ConnectionMonitorListResult` was removed - -#### `models.FirewallPolicyRuleCollectionGroupListResult` was removed - -#### `models.SecurityPartnerProviderListResult` was removed - -#### `models.VirtualNetworkGatewayListConnectionsResult` was removed - -#### `models.FirewallPolicyListResult` was removed - -#### `models.AdminRuleListResult` was removed - -#### `models.NetworkInterfaceLoadBalancerListResult` was removed - -#### `models.LoadBalancerLoadBalancingRuleListResult` was removed - -#### `models.VirtualNetworkGatewayListResult` was removed - -#### `models.ConnectionSharedKeyResultList` was removed - -#### `models.NetworkWatcherListResult` was removed - -#### `models.ReachabilityAnalysisRunListResult` was removed - -#### `models.ExpressRouteServiceProviderListResult` was removed - -#### `models.AzureFirewallFqdnTagListResult` was removed - -#### `models.VirtualNetworkGatewayConnectionListResult` was removed - -#### `models.ListHubVirtualNetworkConnectionsResult` was removed - -#### `models.NspAssociationsListResult` was removed - -#### `models.ApplicationSecurityGroupListResult` was removed - -#### `models.VirtualNetworkDdosProtectionStatusResult` was removed - -#### `models.NetworkVirtualApplianceConnectionList` was removed - -#### `models.ListVpnSiteLinksResult` was removed - -#### `models.ListVpnSitesResult` was removed - -#### `models.PeerExpressRouteCircuitConnectionListResult` was removed - -#### `models.OperationListResult` was removed - -#### `models.SecurityUserConfigurationListResult` was removed - -#### `models.AuthorizationListResult` was removed - -#### `models.VirtualNetworkListUsageResult` was removed - -#### `models.ScopeConnectionListResult` was removed - -#### `models.StaticMemberListResult` was removed - -#### `models.PrivateEndpointListResult` was removed - -#### `models.IpAllocationListResult` was removed - -#### `models.SecurityRuleListResult` was removed - -#### `models.VirtualNetworkTapListResult` was removed - -#### `models.RouteFilterListResult` was removed - -#### `models.VirtualRouterPeeringListResult` was removed - -#### `models.ServiceGatewayListResult` was removed - -#### `models.VerifierWorkspaceListResult` was removed - -#### `models.NetworkVirtualApplianceListResult` was removed - -#### `models.ApplicationGatewayListResult` was removed - -#### `models.PerimeterAssociableResourcesListResult` was removed - -#### `models.ListVirtualHubIpConfigurationResults` was removed - -#### `models.ListVirtualHubRouteTableV2SResult` was removed - -#### `models.ExpressRouteCircuitListResult` was removed - -#### `models.ReachabilityAnalysisIntentListResult` was removed - -#### `models.NetworkManagerConnectionListResult` was removed - -#### `models.ApplicationGatewayPrivateEndpointConnectionListResult` was removed - -#### `models.ListRoutingIntentResult` was removed - -#### `models.ServiceEndpointPolicyListResult` was removed - -#### `models.PoolAssociationList` was removed - -#### `models.NetworkSecurityPerimeterListResult` was removed - -#### `models.ExpressRouteCrossConnectionPeeringList` was removed - -#### `models.PrivateLinkServiceListResult` was removed - -#### `models.ListVirtualHubBgpConnectionResults` was removed - -#### `models.NspLinkListResult` was removed - -#### `models.SubnetListResult` was removed - -#### `models.FlowLogListResult` was removed - -#### `models.ListVpnGatewaysResult` was removed - -#### `models.RoutingRuleCollectionListResult` was removed - -#### `models.RouteTableListResult` was removed - -#### `models.WebApplicationFirewallPolicyListResult` was removed - -#### `models.AutoApprovedPrivateLinkServicesResult` was removed - -#### `models.NetworkManagerRoutingConfigurationListResult` was removed - -#### `models.NetworkVirtualApplianceSiteListResult` was removed - -#### `models.PrivateEndpointConnectionListResult` was removed - -#### `models.ExpressRouteCircuitConnectionListResult` was removed - -#### `models.ListVirtualHubsResult` was removed - -#### `models.AvailableServiceAliasesResult` was removed - -#### `models.LoadBalancerFrontendIpConfigurationListResult` was removed - -#### `models.GetServiceGatewayAddressLocationsResult` was removed - -#### `models.ApplicationGatewayWafDynamicManifestResultList` was removed - -#### `models.NetworkInterfaceTapConfigurationListResult` was removed - -#### `models.LoadBalancerBackendAddressPoolListResult` was removed - -#### `models.ListP2SVpnGatewaysResult` was removed - -#### `models.VirtualNetworkListResult` was removed - -#### `models.CustomIpPrefixListResult` was removed - -#### `models.SecurityAdminConfigurationListResult` was removed - -#### `models.BastionHostListResult` was removed - -#### `models.ListVpnSiteLinkConnectionsResult` was removed - -#### `models.NetworkProfileListResult` was removed - -#### `models.DdosProtectionPlanListResult` was removed - -#### `models.NetworkSecurityGroupListResult` was removed - -#### `models.NspServiceTagsListResult` was removed - -#### `models.AvailablePrivateEndpointTypesResult` was removed - -#### `models.IpGroupListResult` was removed - -#### `models.NetworkGroupListResult` was removed - -#### `models.DscpConfigurationListResult` was removed - -#### `models.IpamPoolList` was removed - -#### `models.PrivateDnsZoneGroupListResult` was removed - -#### `models.ExpressRoutePortListResult` was removed - -#### `models.ServiceEndpointPolicyDefinitionListResult` was removed - -#### `models.NetworkVirtualApplianceSkuListResult` was removed - -#### `models.ConnectivityConfigurationListResult` was removed - -#### `models.RouteFilterRuleListResult` was removed - -#### `models.NetworkManagerListResult` was removed - -#### `models.ListVpnServerConfigurationPolicyGroupsResult` was removed - -#### `models.AzureWebCategoryListResult` was removed - -#### `models.NspAccessRuleListResult` was removed - -#### `models.Error` was modified - -* `Error()` was changed to private access - -#### `models.ExpressRouteCrossConnectionRoutesTableSummary` was modified - -* `ExpressRouteCrossConnectionRoutesTableSummary()` was changed to private access -* `withNeighbor(java.lang.String)` was removed -* `withAsn(java.lang.Integer)` was removed -* `withStateOrPrefixesReceived(java.lang.String)` was removed -* `withUpDown(java.lang.String)` was removed - -#### `models.UsageName` was modified - -* `UsageName()` was changed to private access -* `withLocalizedValue(java.lang.String)` was removed -* `withValue(java.lang.String)` was removed - -#### `models.SecurityRuleAssociations` was modified - -* `SecurityRuleAssociations()` was changed to private access -* `withNetworkInterfaceAssociation(models.NetworkInterfaceAssociation)` was removed -* `withEffectiveSecurityRules(java.util.List)` was removed -* `withDefaultSecurityRules(java.util.List)` was removed -* `withSubnetAssociation(models.SubnetAssociation)` was removed - -#### `models.ResourceBasics` was modified - -* `ResourceBasics()` was changed to private access -* `withAddressPrefixes(java.util.List)` was removed -* `withResourceId(java.lang.String)` was removed - -#### `models.MatchedRule` was modified - -* `MatchedRule()` was changed to private access -* `withRuleName(java.lang.String)` was removed -* `withAction(java.lang.String)` was removed - -#### `models.ApplicationGatewayFirewallRule` was modified - -* `ApplicationGatewayFirewallRule()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withAction(models.ApplicationGatewayWafRuleActionTypes)` was removed -* `withRuleIdString(java.lang.String)` was removed -* `withState(models.ApplicationGatewayWafRuleStateTypes)` was removed -* `withRuleId(int)` was removed -* `withSensitivity(models.ApplicationGatewayWafRuleSensitivityTypes)` was removed - -#### `models.VpnGatewayIpConfiguration` was modified - -* `VpnGatewayIpConfiguration()` was changed to private access -* `withPublicIpAddress(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withPrivateIpAddress(java.lang.String)` was removed - -#### `models.EffectiveRoute` was modified - -* `EffectiveRoute()` was changed to private access -* `withSource(models.EffectiveRouteSource)` was removed -* `withName(java.lang.String)` was removed -* `withAddressPrefix(java.util.List)` was removed -* `withDisableBgpRoutePropagation(java.lang.Boolean)` was removed -* `withNextHopType(models.RouteNextHopType)` was removed -* `withState(models.EffectiveRouteState)` was removed -* `withNextHopIpAddress(java.util.List)` was removed - -#### `models.VirtualNetworkApplianceIpConfiguration` was modified - -* `VirtualNetworkApplianceIpConfiguration()` was changed to private access -* `withPrivateIpAllocationMethod(models.IpAllocationMethod)` was removed -* `withId(java.lang.String)` was removed -* `withPrivateIpAddressVersion(models.IpVersion)` was removed -* `withPrimary(java.lang.Boolean)` was removed -* `withPrivateIpAddress(java.lang.String)` was removed -* `withName(java.lang.String)` was removed - -#### `models.TunnelConnectionHealth` was modified - -* `TunnelConnectionHealth()` was changed to private access - -#### `models.DdosDetectionRule` was modified - -* `withId(java.lang.String)` was removed - -#### `models.ActiveSecurityAdminRule` was modified - -* `ActiveSecurityAdminRule()` was changed to private access -* `withDestinations(java.util.List)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withRegion(java.lang.String)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withSources(java.util.List)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withDescription(java.lang.String)` was removed -* `withSourcePortRanges(java.util.List)` was removed - -#### `models.ErrorAdditionalInfo` was modified - -* `ErrorAdditionalInfo()` was changed to private access - -#### `models.ContainerNetworkInterfaceIpConfiguration` was modified - -* `ContainerNetworkInterfaceIpConfiguration()` was changed to private access -* `withName(java.lang.String)` was removed - -#### `models.ApplicationGatewayBackendHealthHttpSettings` was modified - -* `ApplicationGatewayBackendHealthHttpSettings()` was changed to private access -* `withServers(java.util.List)` was removed -* `withBackendHttpSettings(models.ApplicationGatewayBackendHttpSettings)` was removed - -#### `models.NetworkInterfaceAssociation` was modified - -* `NetworkInterfaceAssociation()` was changed to private access -* `withSecurityRules(java.util.List)` was removed - -#### `models.TopologyAssociation` was modified - -* `TopologyAssociation()` was changed to private access -* `withAssociationType(models.AssociationType)` was removed -* `withName(java.lang.String)` was removed -* `withResourceId(java.lang.String)` was removed - -#### `models.SecurityGroupNetworkInterface` was modified - -* `SecurityGroupNetworkInterface()` was changed to private access -* `withSecurityRuleAssociations(models.SecurityRuleAssociations)` was removed -* `withId(java.lang.String)` was removed - -#### `models.EffectiveDefaultSecurityAdminRule` was modified - -* `EffectiveDefaultSecurityAdminRule()` was changed to private access -* `withConfigurationDescription(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withFlag(java.lang.String)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed - -#### `models.Container` was modified - -* `Container()` was changed to private access -* `withId(java.lang.String)` was removed - -#### `models.ServiceAssociationLink` was modified - -* `ServiceAssociationLink()` was changed to private access -* `withName(java.lang.String)` was removed -* `withLocations(java.util.List)` was removed -* `withAllowDelete(java.lang.Boolean)` was removed -* `withId(java.lang.String)` was removed -* `withLink(java.lang.String)` was removed -* `withLinkedResourceType(java.lang.String)` was removed - -#### `models.TroubleshootingRecommendedActions` was modified - -* `TroubleshootingRecommendedActions()` was changed to private access -* `withActionUriText(java.lang.String)` was removed -* `withActionId(java.lang.String)` was removed -* `withActionUri(java.lang.String)` was removed -* `withActionText(java.lang.String)` was removed - -#### `models.GatewayResiliencyRecommendation` was modified - -* `GatewayResiliencyRecommendation()` was changed to private access -* `withRecommendationTitle(java.lang.String)` was removed -* `withCallToActionLink(java.lang.String)` was removed -* `withRecommendationText(java.lang.String)` was removed -* `withSeverity(java.lang.String)` was removed -* `withCallToActionText(java.lang.String)` was removed -* `withRecommendationId(java.lang.String)` was removed - -#### `models.ContainerNetworkInterface` was modified - -* `ContainerNetworkInterface()` was changed to private access -* `withContainer(models.Container)` was removed -* `withName(java.lang.String)` was removed -* `withId(java.lang.String)` was removed - -#### `models.ExpressRouteFailoverRedundantRoute` was modified - -* `ExpressRouteFailoverRedundantRoute()` was changed to private access -* `withRoutes(java.util.List)` was removed -* `withPeeringLocations(java.util.List)` was removed - -#### `models.AzureReachabilityReportLatencyInfo` was modified - -* `AzureReachabilityReportLatencyInfo()` was changed to private access -* `withScore(java.lang.Integer)` was removed -* `withTimestamp(java.time.OffsetDateTime)` was removed - -#### `models.LoadBalancerHealthPerRulePerBackendAddress` was modified - -* `LoadBalancerHealthPerRulePerBackendAddress()` was changed to private access -* `withState(java.lang.String)` was removed -* `withReason(java.lang.String)` was removed -* `withIpAddress(java.lang.String)` was removed -* `withNetworkInterfaceIpConfigurationId(java.lang.String)` was removed - -#### `models.ConnectivityHop` was modified - -* `ConnectivityHop()` was changed to private access - -#### `models.ReachabilityAnalysisRunProperties` was modified - -* `withProvisioningState(models.ProvisioningState)` was removed - -#### `models.NetworkVirtualApplianceSkuInstances` was modified - -* `NetworkVirtualApplianceSkuInstances()` was changed to private access - -#### `models.EffectiveNetworkSecurityRule` was modified - -* `EffectiveNetworkSecurityRule()` was changed to private access -* `withDestinationPortRanges(java.util.List)` was removed -* `withName(java.lang.String)` was removed -* `withSourceAddressPrefix(java.lang.String)` was removed -* `withDestinationPortRange(java.lang.String)` was removed -* `withPriority(java.lang.Integer)` was removed -* `withProtocol(models.EffectiveSecurityRuleProtocol)` was removed -* `withSourceAddressPrefixes(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withSourcePortRange(java.lang.String)` was removed -* `withExpandedDestinationAddressPrefix(java.util.List)` was removed -* `withDirection(models.SecurityRuleDirection)` was removed -* `withExpandedSourceAddressPrefix(java.util.List)` was removed -* `withDestinationAddressPrefixes(java.util.List)` was removed -* `withDestinationAddressPrefix(java.lang.String)` was removed -* `withAccess(models.SecurityRuleAccess)` was removed - -#### `models.EvaluatedNetworkSecurityGroup` was modified - -* `EvaluatedNetworkSecurityGroup()` was changed to private access -* `withMatchedRule(models.MatchedRule)` was removed -* `withNetworkSecurityGroupId(java.lang.String)` was removed -* `withAppliedTo(java.lang.String)` was removed - -#### `models.TopologyResource` was modified - -* `TopologyResource()` was changed to private access -* `withAssociations(java.util.List)` was removed -* `withLocation(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withName(java.lang.String)` was removed - -#### `models.AzureFirewallIpGroups` was modified - -* `AzureFirewallIpGroups()` was changed to private access - -#### `models.EffectiveRouteMapRoute` was modified - -* `EffectiveRouteMapRoute()` was changed to private access -* `withBgpCommunities(java.lang.String)` was removed -* `withAsPath(java.lang.String)` was removed -* `withPrefix(java.lang.String)` was removed - -#### `models.CrossTenantScopes` was modified - -* `CrossTenantScopes()` was changed to private access - -#### `models.AzureReachabilityReportItem` was modified - -* `AzureReachabilityReportItem()` was changed to private access -* `withLatencies(java.util.List)` was removed -* `withProvider(java.lang.String)` was removed -* `withAzureLocation(java.lang.String)` was removed - -#### `models.TroubleshootingDetails` was modified - -* `TroubleshootingDetails()` was changed to private access -* `withSummary(java.lang.String)` was removed -* `withRecommendedActions(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withReasonType(java.lang.String)` was removed -* `withDetail(java.lang.String)` was removed - -#### `models.SingleQueryResult` was modified - -* `SingleQueryResult()` was changed to private access -* `withInheritedFromParentPolicy(java.lang.Boolean)` was removed -* `withSeverity(models.FirewallPolicyIdpsSignatureSeverity)` was removed -* `withMode(models.FirewallPolicyIdpsSignatureMode)` was removed -* `withProtocol(java.lang.String)` was removed -* `withDestinationPorts(java.util.List)` was removed -* `withSignatureId(java.lang.Integer)` was removed -* `withDescription(java.lang.String)` was removed -* `withSourcePorts(java.util.List)` was removed -* `withLastUpdated(java.lang.String)` was removed -* `withDirection(models.FirewallPolicyIdpsSignatureDirection)` was removed -* `withGroup(java.lang.String)` was removed - -#### `models.NetworkSecurityRulesEvaluationResult` was modified - -* `NetworkSecurityRulesEvaluationResult()` was changed to private access -* `withProtocolMatched(java.lang.Boolean)` was removed -* `withDestinationPortMatched(java.lang.Boolean)` was removed -* `withSourceMatched(java.lang.Boolean)` was removed -* `withSourcePortMatched(java.lang.Boolean)` was removed -* `withDestinationMatched(java.lang.Boolean)` was removed -* `withName(java.lang.String)` was removed - -#### `models.VirtualNetworkConnectionGatewayReference` was modified - -* `VirtualNetworkConnectionGatewayReference()` was changed to private access -* `withId(java.lang.String)` was removed - -#### `models.ReachabilityAnalysisIntentProperties` was modified - -* `withProvisioningState(models.ProvisioningState)` was removed - -#### `models.ActiveBaseSecurityAdminRule` was modified - -* `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -> `models.ActiveBaseSecurityAdminRule withCommitTime(java.time.OffsetDateTime)` -* `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withId(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRegion(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.ActiveBaseSecurityAdminRule withRuleGroups(java.util.List)` - -#### `models.EffectiveSecurityAdminRule` was modified - -* `EffectiveSecurityAdminRule()` was changed to private access -* `withConfigurationDescription(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withProtocol(models.SecurityConfigurationRuleProtocol)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withSources(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withDestinations(java.util.List)` was removed -* `withDirection(models.SecurityConfigurationRuleDirection)` was removed -* `withAccess(models.SecurityConfigurationRuleAccess)` was removed -* `withDestinationPortRanges(java.util.List)` was removed -* `withSourcePortRanges(java.util.List)` was removed -* `withPriority(java.lang.Integer)` was removed - -#### `models.BgpPeerStatus` was modified - -* `BgpPeerStatus()` was changed to private access - -#### `models.NatRulePortMapping` was modified - -* `NatRulePortMapping()` was changed to private access -* `withInboundNatRuleName(java.lang.String)` was removed -* `withBackendPort(java.lang.Integer)` was removed -* `withFrontendPort(java.lang.Integer)` was removed - -#### `models.MetricSpecification` was modified - -* `MetricSpecification()` was changed to private access -* `withName(java.lang.String)` was removed -* `withAvailabilities(java.util.List)` was removed -* `withDimensions(java.util.List)` was removed -* `withIsInternal(java.lang.Boolean)` was removed -* `withMetricFilterPattern(java.lang.String)` was removed -* `withUnit(java.lang.String)` was removed -* `withSourceMdmAccount(java.lang.String)` was removed -* `withFillGapWithZero(java.lang.Boolean)` was removed -* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed -* `withDisplayName(java.lang.String)` was removed -* `withSourceMdmNamespace(java.lang.String)` was removed -* `withAggregationType(java.lang.String)` was removed -* `withResourceIdDimensionNameOverride(java.lang.String)` was removed -* `withDisplayDescription(java.lang.String)` was removed - -#### `models.ApplicationGatewayForContainersReferenceDefinition` was modified - -* `ApplicationGatewayForContainersReferenceDefinition()` was changed to private access -* `withId(java.lang.String)` was removed - -#### `models.ExpressRouteServiceProviderBandwidthsOffered` was modified - -* `ExpressRouteServiceProviderBandwidthsOffered()` was changed to private access -* `withValueInMbps(java.lang.Integer)` was removed -* `withOfferName(java.lang.String)` was removed - -#### `models.ApplicationGatewayFirewallRuleGroup` was modified - -* `ApplicationGatewayFirewallRuleGroup()` was changed to private access -* `withRules(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `withRuleGroupName(java.lang.String)` was removed - -#### `models.IpamPoolProperties` was modified - -* `withProvisioningState(models.ProvisioningState)` was removed - -#### `models.AvailableProvidersListState` was modified - -* `AvailableProvidersListState()` was changed to private access -* `withCities(java.util.List)` was removed -* `withStateName(java.lang.String)` was removed -* `withProviders(java.util.List)` was removed - -#### `models.HopLink` was modified - -* `HopLink()` was changed to private access - -#### `models.ResourceNavigationLink` was modified - -* `ResourceNavigationLink()` was changed to private access -* `withId(java.lang.String)` was removed -* `withLink(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withLinkedResourceType(java.lang.String)` was removed - -#### `models.BgpCommunity` was modified - -* `BgpCommunity()` was changed to private access -* `withServiceGroup(java.lang.String)` was removed -* `withCommunityPrefixes(java.util.List)` was removed -* `withCommunityName(java.lang.String)` was removed -* `withCommunityValue(java.lang.String)` was removed -* `withServiceSupportedRegion(java.lang.String)` was removed -* `withIsAuthorizedToUse(java.lang.Boolean)` was removed - -#### `models.NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties` was modified - -* `NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties()` was changed to private access - -#### `models.EffectiveNetworkSecurityGroup` was modified - -* `EffectiveNetworkSecurityGroup()` was changed to private access -* `withEffectiveSecurityRules(java.util.List)` was removed -* `java.lang.String tagMap()` -> `java.util.Map tagMap()` -* `withNetworkSecurityGroup(com.azure.core.management.SubResource)` was removed -* `withAssociation(models.EffectiveNetworkSecurityGroupAssociation)` was removed -* `withTagMap(java.lang.String)` was removed - -#### `models.ReferencedPublicIpAddress` was modified - -* `ReferencedPublicIpAddress()` was changed to private access -* `withId(java.lang.String)` was removed - -#### `models.PeerRoute` was modified - -* `PeerRoute()` was changed to private access - -#### `models.GatewayRouteSet` was modified - -* `GatewayRouteSet()` was changed to private access -* `withLocations(java.util.List)` was removed -* `withName(java.lang.String)` was removed -* `withDetails(java.util.Map)` was removed - -#### `models.NetworkGroupsCreateOrUpdateHeaders` was modified - -* `withEtag(java.lang.String)` was removed - -#### `models.VpnClientConnectionHealthDetail` was modified - -* `VpnClientConnectionHealthDetail()` was changed to private access - -#### `models.ServiceTagInformationPropertiesFormat` was modified - -* `ServiceTagInformationPropertiesFormat()` was changed to private access - -#### `models.ExpressRouteCircuitArpTable` was modified - -* `ExpressRouteCircuitArpTable()` was changed to private access -* `withAge(java.lang.Integer)` was removed -* `withIpAddress(java.lang.String)` was removed -* `withInterfaceProperty(java.lang.String)` was removed -* `withMacAddress(java.lang.String)` was removed - -#### `models.ActiveConnectivityConfiguration` was modified - -* `ActiveConnectivityConfiguration()` was changed to private access -* `withIsGlobal(models.IsGlobal)` was removed -* `withHubs(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withConfigurationGroups(java.util.List)` was removed -* `withAppliesToGroups(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withRegion(java.lang.String)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed - -#### `models.RouteSourceDetails` was modified - -* `RouteSourceDetails()` was changed to private access -* `withSec(java.lang.String)` was removed -* `withCircuit(java.lang.String)` was removed -* `withPri(java.lang.String)` was removed - -#### `models.RecordSet` was modified - -* `RecordSet()` was changed to private access -* `withRecordType(java.lang.String)` was removed -* `withIpAddresses(java.util.List)` was removed -* `withRecordSetName(java.lang.String)` was removed -* `withTtl(java.lang.Integer)` was removed -* `withFqdn(java.lang.String)` was removed - -#### `models.ApplicationGatewayBackendHealthPool` was modified - -* `ApplicationGatewayBackendHealthPool()` was changed to private access -* `withBackendHttpSettingsCollection(java.util.List)` was removed -* `withBackendAddressPool(models.ApplicationGatewayBackendAddressPool)` was removed - -#### `models.AvailableProvidersListCity` was modified - -* `AvailableProvidersListCity()` was changed to private access -* `withProviders(java.util.List)` was removed -* `withCityName(java.lang.String)` was removed - -#### `models.ExpressRouteFailoverCircuitResourceDetails` was modified - -* `ExpressRouteFailoverCircuitResourceDetails()` was changed to private access -* `withNrpResourceUri(java.lang.String)` was removed -* `withConnectionName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed - -#### `models.ConnectivityIssue` was modified - -* `ConnectivityIssue()` was changed to private access - -#### `models.Availability` was modified - -* `Availability()` was changed to private access -* `withBlobDuration(java.lang.String)` was removed -* `withRetention(java.lang.String)` was removed -* `withTimeGrain(java.lang.String)` was removed - -#### `models.VerifierWorkspaceProperties` was modified - -* `withProvisioningState(models.ProvisioningState)` was removed - -#### `models.OperationDisplay` was modified - -* `OperationDisplay()` was changed to private access -* `withProvider(java.lang.String)` was removed -* `withOperation(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed -* `withResource(java.lang.String)` was removed - -#### `models.OperationPropertiesFormatServiceSpecification` was modified - -* `OperationPropertiesFormatServiceSpecification()` was changed to private access -* `withLogSpecifications(java.util.List)` was removed -* `withMetricSpecifications(java.util.List)` was removed - -#### `models.AvailableProvidersListCountry` was modified - -* `AvailableProvidersListCountry()` was changed to private access -* `withProviders(java.util.List)` was removed -* `withStates(java.util.List)` was removed -* `withCountryName(java.lang.String)` was removed - -#### `models.VirtualNetworkUsageName` was modified - -* `VirtualNetworkUsageName()` was changed to private access - -#### `models.ApplicationGatewayFirewallRuleSet` was modified - -* `ApplicationGatewayFirewallRuleSet()` was changed to private access -* `withLocation(java.lang.String)` was removed -* `withTags(java.util.Map)` was removed -* `withRuleSetVersion(java.lang.String)` was removed -* `withTiers(java.util.List)` was removed -* `withRuleSetType(java.lang.String)` was removed -* `withId(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed - -#### `models.ApplicationGatewayFirewallManifestRuleSet` was modified - -* `ApplicationGatewayFirewallManifestRuleSet()` was changed to private access -* `withRuleSetType(java.lang.String)` was removed -* `withRuleSetVersion(java.lang.String)` was removed -* `withRuleGroups(java.util.List)` was removed -* `withStatus(models.ApplicationGatewayRuleSetStatusOptions)` was removed -* `withTiers(java.util.List)` was removed - -#### `models.NetworkManagerDeploymentStatus` was modified - -* `NetworkManagerDeploymentStatus()` was changed to private access -* `withRegion(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withConfigurationIds(java.util.List)` was removed -* `withDeploymentType(models.ConfigurationType)` was removed -* `withErrorMessage(java.lang.String)` was removed -* `withDeploymentStatus(models.DeploymentStatus)` was removed - -#### `models.CircuitMetadataMap` was modified - -* `CircuitMetadataMap()` was changed to private access -* `withLink(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withLocation(java.lang.String)` was removed - -#### `models.ExpressRouteCircuitRoutesTableSummary` was modified - -* `ExpressRouteCircuitRoutesTableSummary()` was changed to private access -* `withUpDown(java.lang.String)` was removed -* `withAs(java.lang.Integer)` was removed -* `withV(java.lang.Integer)` was removed -* `withNeighbor(java.lang.String)` was removed -* `withStatePfxRcd(java.lang.String)` was removed - -#### `models.ManagedRuleSetRuleGroup` was modified - -* `ManagedRuleSetRuleGroup()` was changed to private access -* `withRules(java.util.List)` was removed -* `withRuleGroupName(java.lang.String)` was removed - -#### `models.Dimension` was modified - -* `Dimension()` was changed to private access -* `withInternalName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed - -#### `models.NetworkSecurityGroupResult` was modified - -* `NetworkSecurityGroupResult()` was changed to private access -* `withSecurityRuleAccessResult(models.SecurityRuleAccess)` was removed - -#### `models.ResiliencyRecommendationComponents` was modified - -* `ResiliencyRecommendationComponents()` was changed to private access -* `withName(java.lang.String)` was removed -* `withCurrentScore(java.lang.String)` was removed -* `withRecommendations(java.util.List)` was removed -* `withMaxScore(java.lang.String)` was removed - -#### `models.EffectiveBaseSecurityAdminRule` was modified - -* `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withId(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleGroups(java.util.List)` -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionDescription(java.lang.String)` -* `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -> `models.EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(java.util.List)` -* `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` -> `models.EffectiveBaseSecurityAdminRule withConfigurationDescription(java.lang.String)` - -#### `models.LogSpecification` was modified - -* `LogSpecification()` was changed to private access -* `withBlobDuration(java.lang.String)` was removed -* `withDisplayName(java.lang.String)` was removed -* `withName(java.lang.String)` was removed - -#### `models.InboundNatRulePortMapping` was modified - -* `InboundNatRulePortMapping()` was changed to private access - -#### `models.EffectiveConnectivityConfiguration` was modified - -* `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -> `models.EffectiveConnectivityConfiguration withConfigurationGroups(java.util.List)` -* `withHubs(java.util.List)` was removed -* `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -> `models.EffectiveConnectivityConfiguration withId(java.lang.String)` -* `withIsGlobal(models.IsGlobal)` was removed -* `withDeleteExistingPeering(models.DeleteExistingPeering)` was removed -* `withConnectivityTopology(models.ConnectivityTopology)` was removed -* `withAppliesToGroups(java.util.List)` was removed -* `withDescription(java.lang.String)` was removed -* `withConnectivityCapabilities(models.ConnectivityConfigurationPropertiesConnectivityCapabilities)` was removed - -#### `models.PerimeterBasedAccessRule` was modified - -* `PerimeterBasedAccessRule()` was changed to private access - -#### `models.NetworkConfigurationDiagnosticResult` was modified - -* `NetworkConfigurationDiagnosticResult()` was changed to private access -* `withProfile(models.NetworkConfigurationDiagnosticProfile)` was removed -* `withNetworkSecurityGroupResult(models.NetworkSecurityGroupResult)` was removed - -#### `models.VirtualHubEffectiveRoute` was modified - -* `VirtualHubEffectiveRoute()` was changed to private access -* `withAsPath(java.lang.String)` was removed -* `withAddressPrefixes(java.util.List)` was removed -* `withNextHops(java.util.List)` was removed -* `withNextHopType(java.lang.String)` was removed -* `withRouteOrigin(java.lang.String)` was removed - -#### `models.ExpressRoutePortsLocationBandwidths` was modified - -* `ExpressRoutePortsLocationBandwidths()` was changed to private access - -#### `models.StaticCidrProperties` was modified - -* `withProvisioningState(models.ProvisioningState)` was removed - -#### `models.EffectiveNetworkSecurityGroupAssociation` was modified - -* `EffectiveNetworkSecurityGroupAssociation()` was changed to private access -* `withSubnet(com.azure.core.management.SubResource)` was removed -* `withNetworkInterface(com.azure.core.management.SubResource)` was removed -* `withNetworkManager(com.azure.core.management.SubResource)` was removed - -#### `models.ErrorDetail` was modified - -* `ErrorDetail()` was changed to private access - -#### `models.IntentContent` was modified - -* `IntentContent()` was changed to private access -* `withDescription(java.lang.String)` was removed -* `withIpTraffic(models.IpTraffic)` was removed -* `withSourceResourceId(java.lang.String)` was removed -* `withDestinationResourceId(java.lang.String)` was removed - -#### `models.ConfigurationGroup` was modified - -* `ConfigurationGroup()` was changed to private access -* `withMemberType(models.GroupMemberType)` was removed -* `withId(java.lang.String)` was removed -* `withDescription(java.lang.String)` was removed - -#### `models.SecurityPerimeterSystemData` was modified - -* `SecurityPerimeterSystemData()` was changed to private access -* `withCreatedAt(java.time.OffsetDateTime)` was removed -* `withLastModifiedBy(java.lang.String)` was removed -* `withCreatedByType(models.CreatedByType)` was removed -* `withLastModifiedAt(java.time.OffsetDateTime)` was removed -* `withCreatedBy(java.lang.String)` was removed -* `withLastModifiedByType(models.CreatedByType)` was removed - -#### `models.ExpressRouteCircuitRoutesTable` was modified - -* `ExpressRouteCircuitRoutesTable()` was changed to private access -* `withLocPrf(java.lang.String)` was removed -* `withWeight(java.lang.Integer)` was removed -* `withNetwork(java.lang.String)` was removed -* `withPath(java.lang.String)` was removed -* `withNextHop(java.lang.String)` was removed - -#### `models.SubnetAssociation` was modified - -* `SubnetAssociation()` was changed to private access -* `withSecurityRules(java.util.List)` was removed - -#### `models.RadiusAuthServer` was modified - -* `RadiusAuthServer()` was changed to private access -* `withRadiusServerAddress(java.lang.String)` was removed -* `withRadiusServerSecret(java.lang.String)` was removed - -#### `models.VirtualApplianceNicProperties` was modified - -* `VirtualApplianceNicProperties()` was changed to private access - -#### `models.GatewayRoute` was modified - -* `GatewayRoute()` was changed to private access - -#### `models.VirtualWanSecurityProvider` was modified - -* `VirtualWanSecurityProvider()` was changed to private access -* `withName(java.lang.String)` was removed -* `withUrl(java.lang.String)` was removed - -#### `models.VpnClientConnectionHealth` was modified - -* `VpnClientConnectionHealth()` was changed to private access -* `withAllocatedIpAddresses(java.util.List)` was removed -* `withVpnClientConnectionsCount(java.lang.Integer)` was removed - -#### `models.ExpressRouteFailoverConnectionResourceDetails` was modified - -* `ExpressRouteFailoverConnectionResourceDetails()` was changed to private access -* `withStatus(models.FailoverConnectionStatus)` was removed -* `withLastUpdatedTime(java.lang.String)` was removed -* `withName(java.lang.String)` was removed -* `withNrpResourceUri(java.lang.String)` was removed - -#### `models.ActiveDefaultSecurityAdminRule` was modified - -* `ActiveDefaultSecurityAdminRule()` was changed to private access -* `withRuleGroups(java.util.List)` was removed -* `withRuleCollectionAppliesToGroups(java.util.List)` was removed -* `withId(java.lang.String)` was removed -* `withConfigurationDescription(java.lang.String)` was removed -* `withCommitTime(java.time.OffsetDateTime)` was removed -* `withRegion(java.lang.String)` was removed -* `withRuleCollectionDescription(java.lang.String)` was removed -* `withFlag(java.lang.String)` was removed +## 2.59.0-beta.1 (Unreleased) ### Features Added -* `models.ReadOnlySubResourceModel` was added - -* `models.ProxyResourceWithSettableId` was added - -* `models.SubResourceModel` was added - -* `models.TrackedResourceWithSettableName` was added - -* `models.TrackedResourceWithEtag` was added - -* `models.SecurityPerimeterTrackedResource` was added - -* `models.ProxyResourceWithReadOnlyID` was added - -* `models.WritableResource` was added - -#### `models.DdosDetectionRule` was modified - -* `id()` was added - -#### `models.ResourceNavigationLink` was modified - -* `id()` was added +### Breaking Changes -#### `models.ActiveConnectivityConfiguration` was modified +### Bugs Fixed -* `configurationGroups()` was added -* `id()` was added +### Other Changes ## 2.58.0 (2026-02-14) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java index 7f8407d68643..2c94f2099401 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java @@ -5,11 +5,11 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Immutable; +import com.azure.core.management.ProxyResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ApplicationGatewayFirewallManifestRuleSet; -import com.azure.resourcemanager.network.models.ProxyResourceWithSettableId; import java.io.IOException; import java.util.List; @@ -17,26 +17,26 @@ * Response for ApplicationGatewayWafDynamicManifest API service call. */ @Immutable -public final class ApplicationGatewayWafDynamicManifestResultInner extends ProxyResourceWithSettableId { +public final class ApplicationGatewayWafDynamicManifestResultInner extends ProxyResource { /* * Properties of the ApplicationGatewayWafDynamicManifest . */ private ApplicationGatewayWafDynamicManifestPropertiesResult innerProperties; /* - * Resource type. + * Resource ID. */ - private String type; + private String id; /* - * Resource name. + * The type of the resource. */ - private String name; + private String type; /* - * Resource ID. + * The name of the resource. */ - private String id; + private String name; /** * Creates an instance of ApplicationGatewayWafDynamicManifestResultInner class. @@ -54,7 +54,16 @@ private ApplicationGatewayWafDynamicManifestPropertiesResult innerProperties() { } /** - * Get the type property: Resource type. + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Get the type property: The type of the resource. * * @return the type value. */ @@ -64,7 +73,7 @@ public String type() { } /** - * Get the name property: Resource name. + * Get the name property: The name of the resource. * * @return the name value. */ @@ -73,16 +82,6 @@ public String name() { return this.name; } - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - @Override - public String id() { - return this.id; - } - /** * Get the availableRuleSets property: The available rulesets. * @@ -115,7 +114,6 @@ public String ruleSetVersion() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -128,8 +126,8 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", id()); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -139,6 +137,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ApplicationGatewayWafDynamicManifestResultInner 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 ApplicationGatewayWafDynamicManifestResultInner. */ public static ApplicationGatewayWafDynamicManifestResultInner fromJson(JsonReader jsonReader) throws IOException { @@ -149,15 +148,15 @@ public static ApplicationGatewayWafDynamicManifestResultInner fromJson(JsonReade String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { - deserializedApplicationGatewayWafDynamicManifestResultInner.id = reader.getString(); - } else if ("name".equals(fieldName)) { + if ("name".equals(fieldName)) { deserializedApplicationGatewayWafDynamicManifestResultInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedApplicationGatewayWafDynamicManifestResultInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedApplicationGatewayWafDynamicManifestResultInner.innerProperties = ApplicationGatewayWafDynamicManifestPropertiesResult.fromJson(reader); + } else if ("id".equals(fieldName)) { + deserializedApplicationGatewayWafDynamicManifestResultInner.id = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java index 38cf57982844..aaace1661210 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java @@ -5,6 +5,7 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -16,7 +17,6 @@ import com.azure.resourcemanager.network.models.ConnectionMonitorTestGroup; import com.azure.resourcemanager.network.models.ConnectionMonitorType; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.TrackedResourceWithEtag; import java.io.IOException; import java.time.OffsetDateTime; import java.util.List; @@ -26,7 +26,7 @@ * Information about the connection monitor. */ @Fluent -public final class ConnectionMonitorResultInner extends TrackedResourceWithEtag { +public final class ConnectionMonitorResultInner extends Resource { /* * Properties of the connection monitor result. */ @@ -38,17 +38,17 @@ public final class ConnectionMonitorResultInner extends TrackedResourceWithEtag private String etag; /* - * Connection monitor type. + * The type of the resource. */ private String type; /* - * Name of the connection monitor. + * The name of the resource. */ private String name; /* - * ID of the connection monitor. + * Fully qualified resource Id for the resource. */ private String id; @@ -72,13 +72,12 @@ private ConnectionMonitorResultProperties innerProperties() { * * @return the etag value. */ - @Override public String etag() { return this.etag; } /** - * Get the type property: Connection monitor type. + * Get the type property: The type of the resource. * * @return the type value. */ @@ -88,7 +87,7 @@ public String type() { } /** - * Get the name property: Name of the connection monitor. + * Get the name property: The name of the resource. * * @return the name value. */ @@ -98,7 +97,7 @@ public String name() { } /** - * Get the id property: ID of the connection monitor. + * Get the id property: Fully qualified resource Id for the resource. * * @return the id value. */ @@ -374,7 +373,6 @@ public ConnectionMonitorResultInner withNotes(String notes) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -399,6 +397,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ConnectionMonitorResultInner 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 ConnectionMonitorResultInner. */ public static ConnectionMonitorResultInner fromJson(JsonReader jsonReader) throws IOException { @@ -414,8 +413,6 @@ public static ConnectionMonitorResultInner fromJson(JsonReader jsonReader) throw deserializedConnectionMonitorResultInner.name = reader.getString(); } else if ("type".equals(fieldName)) { deserializedConnectionMonitorResultInner.type = reader.getString(); - } else if ("etag".equals(fieldName)) { - deserializedConnectionMonitorResultInner.etag = reader.getString(); } else if ("location".equals(fieldName)) { deserializedConnectionMonitorResultInner.withLocation(reader.getString()); } else if ("tags".equals(fieldName)) { @@ -424,6 +421,8 @@ public static ConnectionMonitorResultInner fromJson(JsonReader jsonReader) throw } else if ("properties".equals(fieldName)) { deserializedConnectionMonitorResultInner.innerProperties = ConnectionMonitorResultProperties.fromJson(reader); + } else if ("etag".equals(fieldName)) { + deserializedConnectionMonitorResultInner.etag = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java index 9d40449e0424..80cda43e8b74 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java @@ -5,11 +5,11 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.ProxyResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.ProvisioningState; -import com.azure.resourcemanager.network.models.ReadOnlySubResourceModel; import com.azure.resourcemanager.network.models.RouteMapRule; import java.io.IOException; import java.util.List; @@ -18,7 +18,7 @@ * The RouteMap child resource of a Virtual hub. */ @Fluent -public final class RouteMapInner extends ReadOnlySubResourceModel { +public final class RouteMapInner extends ProxyResource { /* * Properties of the RouteMap resource. */ @@ -30,17 +30,17 @@ public final class RouteMapInner extends ReadOnlySubResourceModel { private String etag; /* - * Type of the resource. + * The type of the resource. */ private String type; /* - * Name of the resource. + * The name of the resource. */ private String name; /* - * Resource ID. + * Fully qualified resource Id for the resource. */ private String id; @@ -69,7 +69,7 @@ public String etag() { } /** - * Get the type property: Type of the resource. + * Get the type property: The type of the resource. * * @return the type value. */ @@ -79,7 +79,7 @@ public String type() { } /** - * Get the name property: Name of the resource. + * Get the name property: The name of the resource. * * @return the name value. */ @@ -89,7 +89,7 @@ public String name() { } /** - * Get the id property: Resource ID. + * Get the id property: Fully qualified resource Id for the resource. * * @return the id value. */ @@ -185,7 +185,6 @@ public ProvisioningState provisioningState() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -208,6 +207,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of RouteMapInner 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 RouteMapInner. */ public static RouteMapInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java index ff235dafbfd3..0b67c9268c41 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java @@ -5,23 +5,38 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.ProxyResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.SignaturesOverridesProperties; -import com.azure.resourcemanager.network.models.WritableResource; import java.io.IOException; /** * Contains all specific policy signatures overrides for the IDPS. */ @Fluent -public final class SignaturesOverridesInner extends WritableResource { +public final class SignaturesOverridesInner extends ProxyResource { /* * Will contain the properties of the resource (the actual signature overrides) */ private SignaturesOverridesProperties properties; + /* + * Resource ID. + */ + private String id; + + /* + * Resource name. + */ + private String name; + + /* + * Resource type. + */ + private String type; + /** * Creates an instance of SignaturesOverridesInner class. */ @@ -49,29 +64,62 @@ public SignaturesOverridesInner withProperties(SignaturesOverridesProperties pro } /** - * {@inheritDoc} + * Get the id property: Resource ID. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the SignaturesOverridesInner object itself. */ - @Override public SignaturesOverridesInner withId(String id) { - super.withId(id); + this.id = id; return this; } /** - * {@inheritDoc} + * Get the name property: Resource name. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Resource name. + * + * @param name the name value to set. + * @return the SignaturesOverridesInner object itself. */ - @Override public SignaturesOverridesInner withName(String name) { - super.withName(name); + this.name = name; return this; } /** - * {@inheritDoc} + * Get the type property: Resource type. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: Resource type. + * + * @param type the type value to set. + * @return the SignaturesOverridesInner object itself. */ - @Override public SignaturesOverridesInner withType(String type) { - super.withType(type); + this.type = type; return this; } @@ -80,7 +128,6 @@ public SignaturesOverridesInner withType(String type) { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (properties() != null) { properties().validate(); @@ -93,10 +140,10 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", id()); - jsonWriter.writeStringField("name", name()); - jsonWriter.writeStringField("type", type()); jsonWriter.writeJsonField("properties", this.properties); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("name", this.name); + jsonWriter.writeStringField("type", this.type); return jsonWriter.writeEndObject(); } @@ -115,14 +162,14 @@ public static SignaturesOverridesInner fromJson(JsonReader jsonReader) throws IO String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { - deserializedSignaturesOverridesInner.withId(reader.getString()); + if ("properties".equals(fieldName)) { + deserializedSignaturesOverridesInner.properties = SignaturesOverridesProperties.fromJson(reader); + } else if ("id".equals(fieldName)) { + deserializedSignaturesOverridesInner.id = reader.getString(); } else if ("name".equals(fieldName)) { - deserializedSignaturesOverridesInner.withName(reader.getString()); + deserializedSignaturesOverridesInner.name = reader.getString(); } else if ("type".equals(fieldName)) { - deserializedSignaturesOverridesInner.withType(reader.getString()); - } else if ("properties".equals(fieldName)) { - deserializedSignaturesOverridesInner.properties = SignaturesOverridesProperties.fromJson(reader); + deserializedSignaturesOverridesInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java index 9d91876362bf..976319f41c6e 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java @@ -5,10 +5,10 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.ProxyResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.network.models.ProxyResourceWithReadOnlyID; import com.azure.resourcemanager.network.models.SwapResourceProperties; import java.io.IOException; @@ -16,24 +16,24 @@ * SwapResource to represent slot type on the specified cloud service. */ @Fluent -public final class SwapResourceInner extends ProxyResourceWithReadOnlyID { +public final class SwapResourceInner extends ProxyResource { /* * Swap resource properties */ private SwapResourceProperties properties; /* - * Resource type. + * The type of the resource. */ private String type; /* - * Resource name. + * The name of the resource. */ private String name; /* - * Resource ID. + * Fully qualified resource Id for the resource. */ private String id; @@ -64,7 +64,7 @@ public SwapResourceInner withProperties(SwapResourceProperties properties) { } /** - * Get the type property: Resource type. + * Get the type property: The type of the resource. * * @return the type value. */ @@ -74,7 +74,7 @@ public String type() { } /** - * Get the name property: Resource name. + * Get the name property: The name of the resource. * * @return the name value. */ @@ -84,7 +84,7 @@ public String name() { } /** - * Get the id property: Resource ID. + * Get the id property: Fully qualified resource Id for the resource. * * @return the id value. */ @@ -98,7 +98,6 @@ public String id() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (properties() != null) { properties().validate(); @@ -121,6 +120,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of SwapResourceInner 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 SwapResourceInner. */ public static SwapResourceInner fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java index bff7446116e5..73fb99bcdbc3 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java @@ -5,13 +5,13 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.management.Resource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import com.azure.resourcemanager.network.models.AadAuthenticationParameters; import com.azure.resourcemanager.network.models.IpsecPolicy; import com.azure.resourcemanager.network.models.RadiusServer; -import com.azure.resourcemanager.network.models.TrackedResourceWithSettableName; import com.azure.resourcemanager.network.models.VpnAuthenticationType; import com.azure.resourcemanager.network.models.VpnGatewayTunnelingProtocol; import com.azure.resourcemanager.network.models.VpnServerConfigRadiusClientRootCertificate; @@ -26,7 +26,7 @@ * VpnServerConfiguration Resource. */ @Fluent -public final class VpnServerConfigurationInner extends TrackedResourceWithSettableName { +public final class VpnServerConfigurationInner extends Resource { /* * Properties of the P2SVpnServer configuration. */ @@ -38,7 +38,17 @@ public final class VpnServerConfigurationInner extends TrackedResourceWithSettab private String etag; /* - * Resource type. + * Resource ID. + */ + private String id; + + /* + * Resource name. + */ + private String name; + + /* + * The type of the resource. */ private String type; @@ -67,33 +77,55 @@ public String etag() { } /** - * Get the type property: Resource type. + * Get the id property: Resource ID. * - * @return the type value. + * @return the id value. */ - @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** - * {@inheritDoc} + * Set the id property: Resource ID. + * + * @param id the id value to set. + * @return the VpnServerConfigurationInner object itself. */ - @Override public VpnServerConfigurationInner withId(String id) { - super.withId(id); + this.id = id; return this; } /** - * {@inheritDoc} + * Get the name property: Resource name. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: Resource name. + * + * @param name the name value to set. + * @return the VpnServerConfigurationInner object itself. */ - @Override public VpnServerConfigurationInner withName(String name) { - super.withName(name); + this.name = name; return this; } + /** + * Get the type property: The type of the resource. + * + * @return the type value. + */ + @Override + public String type() { + return this.type; + } + /** * {@inheritDoc} */ @@ -458,7 +490,6 @@ public String etagPropertiesEtag() { * * @throws IllegalArgumentException thrown if the instance is not valid. */ - @Override public void validate() { if (innerProperties() != null) { innerProperties().validate(); @@ -471,11 +502,11 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", id()); - jsonWriter.writeStringField("name", name()); jsonWriter.writeStringField("location", location()); jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element)); jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeStringField("id", this.id); + jsonWriter.writeStringField("name", this.name); return jsonWriter.writeEndObject(); } @@ -485,6 +516,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of VpnServerConfigurationInner 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 VpnServerConfigurationInner. */ public static VpnServerConfigurationInner fromJson(JsonReader jsonReader) throws IOException { @@ -494,11 +526,7 @@ public static VpnServerConfigurationInner fromJson(JsonReader jsonReader) throws String fieldName = reader.getFieldName(); reader.nextToken(); - if ("id".equals(fieldName)) { - deserializedVpnServerConfigurationInner.withId(reader.getString()); - } else if ("name".equals(fieldName)) { - deserializedVpnServerConfigurationInner.withName(reader.getString()); - } else if ("type".equals(fieldName)) { + if ("type".equals(fieldName)) { deserializedVpnServerConfigurationInner.type = reader.getString(); } else if ("location".equals(fieldName)) { deserializedVpnServerConfigurationInner.withLocation(reader.getString()); @@ -510,6 +538,10 @@ public static VpnServerConfigurationInner fromJson(JsonReader jsonReader) throws = VpnServerConfigurationProperties.fromJson(reader); } else if ("etag".equals(fieldName)) { deserializedVpnServerConfigurationInner.etag = reader.getString(); + } else if ("id".equals(fieldName)) { + deserializedVpnServerConfigurationInner.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedVpnServerConfigurationInner.name = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java deleted file mode 100644 index 28544b331e58..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java +++ /dev/null @@ -1,146 +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.network.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 java.io.IOException; - -/** - * Proxy resource representation. - */ -@Immutable -public class ProxyResourceWithReadOnlyID implements JsonSerializable { - /* - * Resource ID. - */ - private String id; - - /* - * Resource name. - */ - private String name; - - /* - * Resource type. - */ - private String type; - - /** - * Creates an instance of ProxyResourceWithReadOnlyID class. - */ - public ProxyResourceWithReadOnlyID() { - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the ProxyResourceWithReadOnlyID object itself. - */ - ProxyResourceWithReadOnlyID withId(String id) { - this.id = id; - return this; - } - - /** - * Get the name property: Resource name. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Resource name. - * - * @param name the name value to set. - * @return the ProxyResourceWithReadOnlyID object itself. - */ - ProxyResourceWithReadOnlyID withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type property: Resource type. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Set the type property: Resource type. - * - * @param type the type value to set. - * @return the ProxyResourceWithReadOnlyID object itself. - */ - ProxyResourceWithReadOnlyID withType(String type) { - this.type = type; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ProxyResourceWithReadOnlyID from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ProxyResourceWithReadOnlyID 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 ProxyResourceWithReadOnlyID. - */ - public static ProxyResourceWithReadOnlyID fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ProxyResourceWithReadOnlyID deserializedProxyResourceWithReadOnlyID = new ProxyResourceWithReadOnlyID(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedProxyResourceWithReadOnlyID.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedProxyResourceWithReadOnlyID.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedProxyResourceWithReadOnlyID.type = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedProxyResourceWithReadOnlyID; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java deleted file mode 100644 index d94f7311d24b..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java +++ /dev/null @@ -1,147 +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.network.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 java.io.IOException; - -/** - * Proxy resource representation. - */ -@Immutable -public class ProxyResourceWithSettableId implements JsonSerializable { - /* - * Resource ID. - */ - private String id; - - /* - * Resource name. - */ - private String name; - - /* - * Resource type. - */ - private String type; - - /** - * Creates an instance of ProxyResourceWithSettableId class. - */ - protected ProxyResourceWithSettableId() { - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the ProxyResourceWithSettableId object itself. - */ - ProxyResourceWithSettableId withId(String id) { - this.id = id; - return this; - } - - /** - * Get the name property: Resource name. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Resource name. - * - * @param name the name value to set. - * @return the ProxyResourceWithSettableId object itself. - */ - ProxyResourceWithSettableId withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type property: Resource type. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Set the type property: Resource type. - * - * @param type the type value to set. - * @return the ProxyResourceWithSettableId object itself. - */ - ProxyResourceWithSettableId withType(String type) { - this.type = type; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ProxyResourceWithSettableId from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ProxyResourceWithSettableId 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 ProxyResourceWithSettableId. - */ - public static ProxyResourceWithSettableId fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ProxyResourceWithSettableId deserializedProxyResourceWithSettableId = new ProxyResourceWithSettableId(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedProxyResourceWithSettableId.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedProxyResourceWithSettableId.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedProxyResourceWithSettableId.type = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedProxyResourceWithSettableId; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java deleted file mode 100644 index b1309c2745c0..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java +++ /dev/null @@ -1,146 +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.network.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 java.io.IOException; - -/** - * Reference to another subresource. - */ -@Immutable -public class ReadOnlySubResourceModel implements JsonSerializable { - /* - * Resource ID. - */ - private String id; - - /* - * Name of the resource. - */ - private String name; - - /* - * Type of the resource. - */ - private String type; - - /** - * Creates an instance of ReadOnlySubResourceModel class. - */ - public ReadOnlySubResourceModel() { - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the ReadOnlySubResourceModel object itself. - */ - ReadOnlySubResourceModel withId(String id) { - this.id = id; - return this; - } - - /** - * Get the name property: Name of the resource. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Name of the resource. - * - * @param name the name value to set. - * @return the ReadOnlySubResourceModel object itself. - */ - ReadOnlySubResourceModel withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type property: Type of the resource. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Set the type property: Type of the resource. - * - * @param type the type value to set. - * @return the ReadOnlySubResourceModel object itself. - */ - ReadOnlySubResourceModel withType(String type) { - this.type = type; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ReadOnlySubResourceModel from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ReadOnlySubResourceModel 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 ReadOnlySubResourceModel. - */ - public static ReadOnlySubResourceModel fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - ReadOnlySubResourceModel deserializedReadOnlySubResourceModel = new ReadOnlySubResourceModel(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedReadOnlySubResourceModel.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedReadOnlySubResourceModel.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedReadOnlySubResourceModel.type = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedReadOnlySubResourceModel; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java deleted file mode 100644 index 4a8b080f4a76..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java +++ /dev/null @@ -1,231 +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.network.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; - -/** - * Tracked resource with optional location. - */ -@Fluent -public class TrackedResourceWithEtag implements JsonSerializable { - /* - * ID of the connection monitor. - */ - private String id; - - /* - * Name of the connection monitor. - */ - private String name; - - /* - * Connection monitor type. - */ - private String type; - - /* - * A unique read-only string that changes whenever the resource is updated. - */ - private String etag; - - /* - * Connection monitor location. - */ - private String location; - - /* - * Connection monitor tags. - */ - private Map tags; - - /** - * Creates an instance of TrackedResourceWithEtag class. - */ - public TrackedResourceWithEtag() { - } - - /** - * Get the id property: ID of the connection monitor. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: ID of the connection monitor. - * - * @param id the id value to set. - * @return the TrackedResourceWithEtag object itself. - */ - TrackedResourceWithEtag withId(String id) { - this.id = id; - return this; - } - - /** - * Get the name property: Name of the connection monitor. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Name of the connection monitor. - * - * @param name the name value to set. - * @return the TrackedResourceWithEtag object itself. - */ - TrackedResourceWithEtag withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type property: Connection monitor type. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Set the type property: Connection monitor type. - * - * @param type the type value to set. - * @return the TrackedResourceWithEtag object itself. - */ - TrackedResourceWithEtag withType(String type) { - this.type = type; - return this; - } - - /** - * Get the etag property: A unique read-only string that changes whenever the resource is updated. - * - * @return the etag value. - */ - public String etag() { - return this.etag; - } - - /** - * Set the etag property: A unique read-only string that changes whenever the resource is updated. - * - * @param etag the etag value to set. - * @return the TrackedResourceWithEtag object itself. - */ - TrackedResourceWithEtag withEtag(String etag) { - this.etag = etag; - return this; - } - - /** - * Get the location property: Connection monitor location. - * - * @return the location value. - */ - public String location() { - return this.location; - } - - /** - * Set the location property: Connection monitor location. - * - * @param location the location value to set. - * @return the TrackedResourceWithEtag object itself. - */ - public TrackedResourceWithEtag withLocation(String location) { - this.location = location; - return this; - } - - /** - * Get the tags property: Connection monitor tags. - * - * @return the tags value. - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags property: Connection monitor tags. - * - * @param tags the tags value to set. - * @return the TrackedResourceWithEtag object itself. - */ - public TrackedResourceWithEtag withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("location", this.location); - jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TrackedResourceWithEtag from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TrackedResourceWithEtag 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 TrackedResourceWithEtag. - */ - public static TrackedResourceWithEtag fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - TrackedResourceWithEtag deserializedTrackedResourceWithEtag = new TrackedResourceWithEtag(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedTrackedResourceWithEtag.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedTrackedResourceWithEtag.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedTrackedResourceWithEtag.type = reader.getString(); - } else if ("etag".equals(fieldName)) { - deserializedTrackedResourceWithEtag.etag = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedTrackedResourceWithEtag.location = reader.getString(); - } else if ("tags".equals(fieldName)) { - Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedTrackedResourceWithEtag.tags = tags; - } else { - reader.skipChildren(); - } - } - - return deserializedTrackedResourceWithEtag; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java deleted file mode 100644 index 2cf861935338..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java +++ /dev/null @@ -1,207 +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.network.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; - -/** - * Common resource representation. - */ -@Fluent -public class TrackedResourceWithSettableName implements JsonSerializable { - /* - * Resource ID. - */ - private String id; - - /* - * Resource name. - */ - private String name; - - /* - * Resource type. - */ - private String type; - - /* - * Resource location. - */ - private String location; - - /* - * Resource tags. - */ - private Map tags; - - /** - * Creates an instance of TrackedResourceWithSettableName class. - */ - public TrackedResourceWithSettableName() { - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the TrackedResourceWithSettableName object itself. - */ - public TrackedResourceWithSettableName withId(String id) { - this.id = id; - return this; - } - - /** - * Get the name property: Resource name. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Resource name. - * - * @param name the name value to set. - * @return the TrackedResourceWithSettableName object itself. - */ - public TrackedResourceWithSettableName withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type property: Resource type. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Set the type property: Resource type. - * - * @param type the type value to set. - * @return the TrackedResourceWithSettableName object itself. - */ - TrackedResourceWithSettableName withType(String type) { - this.type = type; - return this; - } - - /** - * Get the location property: Resource location. - * - * @return the location value. - */ - public String location() { - return this.location; - } - - /** - * Set the location property: Resource location. - * - * @param location the location value to set. - * @return the TrackedResourceWithSettableName object itself. - */ - public TrackedResourceWithSettableName withLocation(String location) { - this.location = location; - return this; - } - - /** - * 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 TrackedResourceWithSettableName object itself. - */ - public TrackedResourceWithSettableName withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("location", this.location); - jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element)); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of TrackedResourceWithSettableName from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of TrackedResourceWithSettableName 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 TrackedResourceWithSettableName. - */ - public static TrackedResourceWithSettableName fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - TrackedResourceWithSettableName deserializedTrackedResourceWithSettableName - = new TrackedResourceWithSettableName(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedTrackedResourceWithSettableName.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedTrackedResourceWithSettableName.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedTrackedResourceWithSettableName.type = reader.getString(); - } else if ("location".equals(fieldName)) { - deserializedTrackedResourceWithSettableName.location = reader.getString(); - } else if ("tags".equals(fieldName)) { - Map tags = reader.readMap(reader1 -> reader1.getString()); - deserializedTrackedResourceWithSettableName.tags = tags; - } else { - reader.skipChildren(); - } - } - - return deserializedTrackedResourceWithSettableName; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WritableResource.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WritableResource.java deleted file mode 100644 index 844d74b72991..000000000000 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/WritableResource.java +++ /dev/null @@ -1,149 +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.network.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; - -/** - * Common resource representation. - */ -@Fluent -public class WritableResource implements JsonSerializable { - /* - * Resource ID. - */ - private String id; - - /* - * Resource name. - */ - private String name; - - /* - * Resource type. - */ - private String type; - - /** - * Creates an instance of WritableResource class. - */ - public WritableResource() { - } - - /** - * Get the id property: Resource ID. - * - * @return the id value. - */ - public String id() { - return this.id; - } - - /** - * Set the id property: Resource ID. - * - * @param id the id value to set. - * @return the WritableResource object itself. - */ - public WritableResource withId(String id) { - this.id = id; - return this; - } - - /** - * Get the name property: Resource name. - * - * @return the name value. - */ - public String name() { - return this.name; - } - - /** - * Set the name property: Resource name. - * - * @param name the name value to set. - * @return the WritableResource object itself. - */ - public WritableResource withName(String name) { - this.name = name; - return this; - } - - /** - * Get the type property: Resource type. - * - * @return the type value. - */ - public String type() { - return this.type; - } - - /** - * Set the type property: Resource type. - * - * @param type the type value to set. - * @return the WritableResource object itself. - */ - public WritableResource withType(String type) { - this.type = type; - return this; - } - - /** - * Validates the instance. - * - * @throws IllegalArgumentException thrown if the instance is not valid. - */ - public void validate() { - } - - /** - * {@inheritDoc} - */ - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeStringField("id", this.id); - jsonWriter.writeStringField("name", this.name); - jsonWriter.writeStringField("type", this.type); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of WritableResource from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of WritableResource 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 WritableResource. - */ - public static WritableResource fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - WritableResource deserializedWritableResource = new WritableResource(); - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("id".equals(fieldName)) { - deserializedWritableResource.id = reader.getString(); - } else if ("name".equals(fieldName)) { - deserializedWritableResource.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedWritableResource.type = reader.getString(); - } else { - reader.skipChildren(); - } - } - - return deserializedWritableResource; - }); - } -} diff --git a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json index 799e75ac4171..895092ff8f44 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json +++ b/sdk/network/azure-resourcemanager-network/src/main/resources/META-INF/azure-resourcemanager-network_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithReadOnlyID.java","src/main/java/com/azure/resourcemanager/network/models/ProxyResourceWithSettableId.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReadOnlySubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithEtag.java","src/main/java/com/azure/resourcemanager/network/models/TrackedResourceWithSettableName.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/WritableResource.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.Network":"2025-05-01","Microsoft.Compute":"2018-10-01"},"generatedFiles":["src/main/java/com/azure/resourcemanager/network/fluent/AdminRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AdminRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateEndpointConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayPrivateLinkResourcesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewayWafDynamicManifestsDefaultsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ApplicationSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableEndpointServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailablePrivateEndpointTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableResourceGroupDelegationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AvailableServiceAliasesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallFqdnTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/AzureFirewallsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BastionHostsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/BgpServiceCommunitiesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConfigurationPolicyGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectionMonitorsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ConnectivityConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/CustomIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosCustomPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DdosProtectionPlansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DefaultSecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/DscpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCircuitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteCrossConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortAuthorizationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRoutePortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteProviderPortsLocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ExpressRouteServiceProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDeploymentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesFilterValuesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyIdpsSignaturesOverridesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupDraftsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FirewallPolicyRuleCollectionGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/FlowLogsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubRouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/HubVirtualNetworkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/InboundSecurityRuleOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpAllocationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/IpamPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerBackendAddressPoolsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerFrontendIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerLoadBalancingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerNetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerOutboundRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancerProbesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/LocalNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ManagementGroupNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceLoadBalancersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfaceTapConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkInterfacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagementClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerCommitsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerDeploymentStatusOperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagerRoutingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkManagersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAccessRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociableResourceTypesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterAssociationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinkReferencesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterLoggingConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterOperationStatusesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterProfilesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimeterServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkSecurityPerimetersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualApplianceConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkVirtualAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/NetworkWatchersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/P2SVpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PacketCapturesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PeerExpressRouteCircuitConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateDnsZoneGroupsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateEndpointsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PrivateLinkServicesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpAddressesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/PublicIpPrefixesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ReachabilityAnalysisRunsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ResourceNavigationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFilterRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteFiltersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteMapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RouteTablesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingIntentsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/RoutingRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ScopeConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityAdminConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityPartnerProvidersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRuleCollectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SecurityUserRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceAssociationLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceEndpointPolicyDefinitionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagInformationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/ServiceTagsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticCidrsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/StaticMembersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubnetsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/SubscriptionNetworkManagerConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/UsagesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VerifierWorkspacesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VipSwapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualApplianceSkusClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubBgpConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubIpConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubRouteTableV2SClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualHubsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkAppliancesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewayNatRulesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworkTapsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualNetworksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRouterPeeringsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualRoutersClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnGatewaysClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsAssociatedWithVirtualWansClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnServerConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinkConnectionsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSiteLinksClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/VpnSitesConfigurationsClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebApplicationFirewallPoliciesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/WebCategoriesClient.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveConnectivityConfigurationsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ActiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AdminRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAuthenticationCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableSslOptionsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayAvailableWafRuleSetsResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthOnDemandInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHealthServerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendHttpSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayBackendSettingsPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFirewallRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayFrontendPortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayHttpListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayListenerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayLoadDistributionTargetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPathRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPrivateLinkResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRedirectConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRequestRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRewriteRuleSetPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayRoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewaySslProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedClientCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayTrustedRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayUrlPathMapPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestPropertiesResult.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AutoApprovedPrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableDelegationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailablePrivateEndpointTypeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableProvidersListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AvailableServiceAliasInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallApplicationRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallFqdnTagPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNatRuleCollectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallNetworkRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPacketCaptureResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureFirewallPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureReachabilityReportInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/AzureWebCategoryPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressInboundNatRulePortMappingsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BackendAddressPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BaseAdminRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionActiveSessionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionHostPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionSessionStateInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BastionShareableLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpPeerStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/BgpServiceCommunityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionMonitorResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionResetSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectionSharedKeyResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ConnectivityInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfaceIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ContainerNetworkInterfacePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/CustomIpPrefixPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosCustomPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosDetectionRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DdosProtectionPlanPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultAdminPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DefaultRuleSetPropertyFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DnsNameAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/DscpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveNetworkSecurityGroupListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EffectiveRouteMapRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/EndpointServiceResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPeeringPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitStatsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsArpTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCircuitsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteCrossConnectionsRoutesTableSummaryListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverSingleTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteFailoverTestDetailsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortAuthorizationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRoutePortsLocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteProviderPortProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ExpressRouteServiceProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupDraftProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FirewallPolicyRuleCollectionGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FlowLogPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/FrontendIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayResiliencyInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GatewayRouteSetsInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/GenerateExpressRoutePortsLoaResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HopLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubRouteTableProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/HubVirtualNetworkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatPoolPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundNatRulePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/InboundSecurityRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAddressAvailabilityResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpAllocationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationProfilePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpPrefixesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/IpamPoolPrefixAllocationPool.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerBackendAddressPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerHealthPerRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancerVipSwapRequestFrontendIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LoadBalancingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/LocalNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/MigratedPoolsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NatGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkConfigurationDiagnosticResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceIpConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfacePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkInterfaceTapConfigurationPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerCommitInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerDeploymentStatusListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveConnectivityConfigurationListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerEffectiveSecurityAdminRulesListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkManagerRoutingConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkProfilePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkSecurityPerimeterProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceInstanceIdsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualAppliancePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkVirtualApplianceSkuPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NetworkWatcherPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NextHopResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAccessRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspAssociationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLinkReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspLoggingConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspProfileProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/NspServiceTagsResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/OutboundRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnConnectionHealthInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/P2SVpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureQueryStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PacketCaptureResultProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PeerExpressRouteCircuitConnectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PerimeterAssociableResourceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolAssociationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PoolUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZoneGroupPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateDnsZonePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointConnectionPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateEndpointPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceIpConfigurationPropertiesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PrivateLinkServiceVisibilityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbeInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ProbePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpDdosProtectionStatusResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/PublicIpPrefixPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/QueryResultsInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RadiusAuthServerListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ReachabilityAnalysisRunInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinkFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ResourceNavigationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteFilterRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteMapProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTableInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTablePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RouteTargetAddressPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingIntentProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/RoutingRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ScopeConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityAdminConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityGroupViewResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityPartnerProviderPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleCollectionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SecurityUserRulePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceAssociationLinksListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceDelegationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyDefinitionPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceEndpointPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayAddressLocationResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServicePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceGatewayServiceRequestInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagInformationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/ServiceTagsListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignatureOverridesFilterValuesResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SignaturesOverridesListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticCidrInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/StaticMemberProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SubnetPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/SwapResourceListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TopologyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/TroubleshootingResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/UsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerificationIpFlowResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VerifierWorkspaceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualApplianceSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubEffectiveRouteListInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Inner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualHubRouteTableV2Properties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkAppliancePropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayConnectionPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayIpConfigurationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkGatewayPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPeeringPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkTapPropertiesFormatInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualNetworkUsageInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPeeringProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualRouterPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VirtualWanSecurityProvidersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VngClientConnectionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientConnectionHealthDetailListResultInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientIPsecParametersInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRevokedCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnClientRootCertificatePropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayNatRuleProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnGatewayProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnProfileResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationPolicyGroupProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnServerConfigurationsResponseInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteLinkProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/VpnSiteProperties.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyInner.java","src/main/java/com/azure/resourcemanager/network/fluent/models/WebApplicationFirewallPolicyPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/network/fluent/package-info.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AdminRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateEndpointConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayPrivateLinkResourcesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewayWafDynamicManifestsDefaultsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ApplicationSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableEndpointServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailablePrivateEndpointTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableResourceGroupDelegationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AvailableServiceAliasesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallFqdnTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/AzureFirewallsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BastionHostsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/BgpServiceCommunitiesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConfigurationPolicyGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectionMonitorsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ConnectivityConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/CustomIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosCustomPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DdosProtectionPlansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DefaultSecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/DscpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCircuitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteCrossConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortAuthorizationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRoutePortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteProviderPortsLocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ExpressRouteServiceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDeploymentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesFilterValuesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyIdpsSignaturesOverridesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupDraftsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FirewallPolicyRuleCollectionGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/FlowLogsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubRouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/HubVirtualNetworkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/InboundSecurityRuleOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpAllocationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/IpamPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerBackendAddressPoolsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerFrontendIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerLoadBalancingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerNetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerOutboundRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancerProbesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/LocalNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ManagementGroupNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceLoadBalancersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfaceTapConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkInterfacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerCommitsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerDeploymentStatusOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagerRoutingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAccessRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociableResourceTypesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterAssociationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinkReferencesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterLoggingConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterOperationStatusesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterProfilesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimeterServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkSecurityPerimetersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualApplianceConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkVirtualAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/NetworkWatchersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/P2SVpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PacketCapturesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PeerExpressRouteCircuitConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateDnsZoneGroupsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateEndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PrivateLinkServicesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpAddressesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/PublicIpPrefixesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ReachabilityAnalysisRunsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ResourceNavigationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFilterRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteFiltersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteMapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RouteTablesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingIntentsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/RoutingRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ScopeConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityAdminConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityPartnerProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRuleCollectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SecurityUserRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceAssociationLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceEndpointPolicyDefinitionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagInformationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/ServiceTagsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticCidrsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/StaticMembersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubnetsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/SubscriptionNetworkManagerConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/UsagesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VerifierWorkspacesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VipSwapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualApplianceSkusClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubBgpConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubIpConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubRouteTableV2SClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualHubsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkAppliancesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewayNatRulesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworkTapsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualNetworksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRouterPeeringsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualRoutersClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnGatewaysClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsAssociatedWithVirtualWansClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnServerConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinkConnectionsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSiteLinksClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/VpnSitesConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebApplicationFirewallPoliciesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/WebCategoriesClientImpl.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AdminRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayAvailableSslPredefinedPolicies.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayPrivateLinkResourceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationGatewayWafDynamicManifestResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ApplicationSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AutoApprovedPrivateLinkServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableDelegationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailablePrivateEndpointTypesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AvailableServiceAliasesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallFqdnTagListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureFirewallListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/AzureWebCategoryListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionActiveSessionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionHostListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionSessionDeleteResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BastionShareableLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/BgpServiceCommunityListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionMonitorListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectionSharedKeyResultList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ConnectivityConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/CustomIpPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DdosProtectionPlanListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/DscpConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/EndpointServicesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCircuitPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteCrossConnectionPeeringList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortAuthorizationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRoutePortsLocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ExpressRouteServiceProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FirewallPolicyRuleCollectionGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/FlowLogListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayAddressLocationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/GetServiceGatewayServicesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/InboundNatRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpAllocationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/IpamPoolList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubRouteTablesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListHubVirtualNetworkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListP2SVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRouteMapsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListRoutingIntentResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubBgpConnectionResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubIpConfigurationResults.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubRouteTableV2sResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualHubsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualNetworkGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVirtualWANsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewayNatRulesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnGatewaysResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationPolicyGroupsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnServerConfigurationsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinkConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSiteLinksResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ListVpnSitesResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerBackendAddressPoolListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerFrontendIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerLoadBalancingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerOutboundRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LoadBalancerProbeListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/LocalNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NatGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceIPConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceLoadBalancerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkInterfaceTapConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkManagerRoutingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkSecurityPerimeterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceConnectionList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSiteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkVirtualApplianceSkuListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NetworkWatcherListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAccessRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspAssociationsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLinkReferenceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspLoggingConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspProfileListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/NspServiceTagsListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PacketCaptureListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PeerExpressRouteCircuitConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PerimeterAssociableResourcesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PoolAssociationList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateDnsZoneGroupListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateEndpointListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PrivateLinkServiceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPAddressListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/PublicIPPrefixListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisIntentListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ReachabilityAnalysisRunListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteFilterRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RouteTableListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/RoutingRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ScopeConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityAdminConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityPartnerProviderListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserConfigurationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleCollectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SecurityUserRuleListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyDefinitionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceEndpointPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/ServiceTagInformationListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticCidrList.java","src/main/java/com/azure/resourcemanager/network/implementation/models/StaticMemberListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/SubnetListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/UsagesListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VerifierWorkspaceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkApplianceListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkDdosProtectionStatusResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayConnectionListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListConnectionsResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkGatewayListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkListUsageResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualNetworkTapListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/VirtualRouterPeeringListResult.java","src/main/java/com/azure/resourcemanager/network/implementation/models/WebApplicationFirewallPolicyListResult.java","src/main/java/com/azure/resourcemanager/network/models/AadAuthenticationParameters.java","src/main/java/com/azure/resourcemanager/network/models/Access.java","src/main/java/com/azure/resourcemanager/network/models/AccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AccessRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/Action.java","src/main/java/com/azure/resourcemanager/network/models/ActionType.java","src/main/java/com/azure/resourcemanager/network/models/ActiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConfigurationParameter.java","src/main/java/com/azure/resourcemanager/network/models/ActiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ActiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/ActiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixItem.java","src/main/java/com/azure/resourcemanager/network/models/AddressPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/AddressSpaceAggregationOption.java","src/main/java/com/azure/resourcemanager/network/models/AddressUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/AdminRule.java","src/main/java/com/azure/resourcemanager/network/models/AdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/AdminState.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixProperties.java","src/main/java/com/azure/resourcemanager/network/models/AdvertisedPublicPrefixPropertiesValidationState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendAddressPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthPool.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHealthServerHealth.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendHttpSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayBackendSettings.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientAuthVerificationModes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayClientRevocationOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayConnectionDraining.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCookieBasedAffinity.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomError.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayCustomErrorStatusCode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayEntraJwtValidationConfig.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallDisabledRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallExclusion.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallManifestRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRateLimitDuration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFirewallUserSessionVariable.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayForContainersReferenceDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayFrontendPort.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayGlobalConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHeaderConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayHttpListener.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionAlgorithm.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayLoadDistributionTarget.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOnDemandProbe.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayOperationalState.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayPrivateLinkIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProbeHealthResponseMatch.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRedirectType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRequestRoutingRuleType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleActionSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleCondition.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRewriteRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRoutingRule.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayRuleSetStatusOptions.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslCipherSuite.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicy.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyName.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslPolicyType.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProfile.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewaySslProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTier.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTierTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedClientCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayTrustedRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUnAuthorizedRequestAction.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayUrlConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleActionTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleSensitivityTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWafRuleStateTypes.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationGatewayWebApplicationFirewallConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AssociationAccessMode.java","src/main/java/com/azure/resourcemanager/network/models/AssociationType.java","src/main/java/com/azure/resourcemanager/network/models/AuthenticationMethod.java","src/main/java/com/azure/resourcemanager/network/models/AuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/AutoLearnPrivateRangesMode.java","src/main/java/com/azure/resourcemanager/network/models/Availability.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCity.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListCountry.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListParameters.java","src/main/java/com/azure/resourcemanager/network/models/AvailableProvidersListState.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallApplicationRuleProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallAutoscaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallIpGroups.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallNetworkRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlags.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureFlagsType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureOperationType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureResponseCode.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPacketCaptureRule.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCAction.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallRCActionType.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSku.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuName.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/AzureFirewallThreatIntelMode.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportItem.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLatencyInfo.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportLocation.java","src/main/java/com/azure/resourcemanager/network/models/AzureReachabilityReportParameters.java","src/main/java/com/azure/resourcemanager/network/models/BastionConnectProtocol.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostPropertiesFormatNetworkAcls.java","src/main/java/com/azure/resourcemanager/network/models/BastionHostSkuName.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BastionShareableLinkTokenListRequest.java","src/main/java/com/azure/resourcemanager/network/models/BgpCommunity.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerState.java","src/main/java/com/azure/resourcemanager/network/models/BgpPeerStatus.java","src/main/java/com/azure/resourcemanager/network/models/BgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/CertificateAuthentication.java","src/main/java/com/azure/resourcemanager/network/models/CheckPrivateLinkServiceVisibilityRequest.java","src/main/java/com/azure/resourcemanager/network/models/ChildResource.java","src/main/java/com/azure/resourcemanager/network/models/CircuitConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/CircuitMetadataMap.java","src/main/java/com/azure/resourcemanager/network/models/CommissionedState.java","src/main/java/com/azure/resourcemanager/network/models/CommonProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonResource.java","src/main/java/com/azure/resourcemanager/network/models/CommonTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConfigurationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupAddressOverlap.java","src/main/java/com/azure/resourcemanager/network/models/ConnectedGroupPrivateEndpointsScale.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpoint.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilter.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterItemType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointFilterType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointLocationDetails.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScope.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorEndpointScopeItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorHttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorIcmpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorOutput.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorSuccessThreshold.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTcpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestConfigurationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorTestGroup.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorType.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorWorkspaceSettings.java","src/main/java/com/azure/resourcemanager/network/models/ConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityConfigurationPropertiesConnectivityCapabilities.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityDestination.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityHop.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityIssue.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityParameters.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivitySource.java","src/main/java/com/azure/resourcemanager/network/models/ConnectivityTopology.java","src/main/java/com/azure/resourcemanager/network/models/Container.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ContainerNetworkInterfaceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/CoverageLevel.java","src/main/java/com/azure/resourcemanager/network/models/CreatedByType.java","src/main/java/com/azure/resourcemanager/network/models/Criterion.java","src/main/java/com/azure/resourcemanager/network/models/CrossTenantScopes.java","src/main/java/com/azure/resourcemanager/network/models/CustomDnsConfigPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/CustomIpPrefixType.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettings.java","src/main/java/com/azure/resourcemanager/network/models/DdosSettingsProtectionMode.java","src/main/java/com/azure/resourcemanager/network/models/DdosTrafficType.java","src/main/java/com/azure/resourcemanager/network/models/DefaultAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/Delegation.java","src/main/java/com/azure/resourcemanager/network/models/DelegationProperties.java","src/main/java/com/azure/resourcemanager/network/models/DeleteExistingPeering.java","src/main/java/com/azure/resourcemanager/network/models/DeleteOptions.java","src/main/java/com/azure/resourcemanager/network/models/DeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/DestinationPortBehavior.java","src/main/java/com/azure/resourcemanager/network/models/DeviceProperties.java","src/main/java/com/azure/resourcemanager/network/models/DhGroup.java","src/main/java/com/azure/resourcemanager/network/models/DhcpOptions.java","src/main/java/com/azure/resourcemanager/network/models/Dimension.java","src/main/java/com/azure/resourcemanager/network/models/Direction.java","src/main/java/com/azure/resourcemanager/network/models/DisableBgpRoutePropagation.java","src/main/java/com/azure/resourcemanager/network/models/DisassociateCloudServicePublicIpRequest.java","src/main/java/com/azure/resourcemanager/network/models/DnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveAdminRuleKind.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveBaseSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveConnectivityConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveDefaultSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityGroupAssociation.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveNetworkSecurityRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteMapRoute.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteSource.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRouteState.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityAdminRule.java","src/main/java/com/azure/resourcemanager/network/models/EffectiveSecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/EndpointType.java","src/main/java/com/azure/resourcemanager/network/models/Error.java","src/main/java/com/azure/resourcemanager/network/models/ErrorAdditionalInfo.java","src/main/java/com/azure/resourcemanager/network/models/ErrorDetail.java","src/main/java/com/azure/resourcemanager/network/models/ErrorException.java","src/main/java/com/azure/resourcemanager/network/models/EvaluatedNetworkSecurityGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntry.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExceptionEntryValueMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRule.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ExclusionManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ExplicitProxy.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitArpTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitReference.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTable.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitServiceProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSku.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuFamily.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCircuitSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteConnectionId.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteCrossConnectionRoutesTableSummary.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverCircuitResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverConnectionResourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverRedundantRoute.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteFailoverStopApiParameters.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkAdminState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkConnectorType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecCipher.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecConfig.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteLinkMacSecSciState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringState.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePeeringType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortAuthorizationUseStatus.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsBillingType.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsEncapsulation.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRoutePortsLocationBandwidths.java","src/main/java/com/azure/resourcemanager/network/models/ExpressRouteServiceProviderBandwidthsOffered.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocation.java","src/main/java/com/azure/resourcemanager/network/models/ExtendedLocationTypes.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionDetails.java","src/main/java/com/azure/resourcemanager/network/models/FailoverConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatus.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestStatusForSingleTest.java","src/main/java/com/azure/resourcemanager/network/models/FailoverTestType.java","src/main/java/com/azure/resourcemanager/network/models/FilterItems.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPacketCaptureParameters.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyCertificateAuthority.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyFilterRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyHttpHeaderToInsert.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsQuerySortOrder.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureDirection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureMode.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIdpsSignatureSeverity.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyInsights.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProfileType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionSignatureSpecification.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyIntrusionDetectionStateType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsResources.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyLogAnalyticsWorkspace.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionAction.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyNatRuleCollectionActionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRule.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleApplicationProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollection.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleCollectionType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleNetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyRuleType.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySku.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySnat.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicySql.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyThreatIntelWhitelist.java","src/main/java/com/azure/resourcemanager/network/models/FirewallPolicyTransportSecurity.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatParameters.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogFormatType.java","src/main/java/com/azure/resourcemanager/network/models/FlowLogStatusParameters.java","src/main/java/com/azure/resourcemanager/network/models/GatewayCustomBgpIpAddressIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterface.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelInterfaceType.java","src/main/java/com/azure/resourcemanager/network/models/GatewayLoadBalancerTunnelProtocol.java","src/main/java/com/azure/resourcemanager/network/models/GatewayResiliencyRecommendation.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRoute.java","src/main/java/com/azure/resourcemanager/network/models/GatewayRouteSet.java","src/main/java/com/azure/resourcemanager/network/models/GenerateExpressRoutePortsLoaRequest.java","src/main/java/com/azure/resourcemanager/network/models/Geo.java","src/main/java/com/azure/resourcemanager/network/models/GetInboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetOutboundRoutesParameters.java","src/main/java/com/azure/resourcemanager/network/models/GetVpnSitesConfigurationRequest.java","src/main/java/com/azure/resourcemanager/network/models/GroupByUserSession.java","src/main/java/com/azure/resourcemanager/network/models/GroupByVariable.java","src/main/java/com/azure/resourcemanager/network/models/GroupConnectivity.java","src/main/java/com/azure/resourcemanager/network/models/GroupMemberType.java","src/main/java/com/azure/resourcemanager/network/models/HeaderValueMatcher.java","src/main/java/com/azure/resourcemanager/network/models/HopLink.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/HttpConfigurationMethod.java","src/main/java/com/azure/resourcemanager/network/models/HttpHeader.java","src/main/java/com/azure/resourcemanager/network/models/HttpMethod.java","src/main/java/com/azure/resourcemanager/network/models/Hub.java","src/main/java/com/azure/resourcemanager/network/models/HubBgpConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/HubIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubPublicIpAddresses.java","src/main/java/com/azure/resourcemanager/network/models/HubRoute.java","src/main/java/com/azure/resourcemanager/network/models/HubRoutingPreference.java","src/main/java/com/azure/resourcemanager/network/models/IdpsQueryObject.java","src/main/java/com/azure/resourcemanager/network/models/IkeEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IkeIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatPool.java","src/main/java/com/azure/resourcemanager/network/models/InboundNatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRuleType.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRules.java","src/main/java/com/azure/resourcemanager/network/models/InboundSecurityRulesProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IntentContent.java","src/main/java/com/azure/resourcemanager/network/models/InternetIngressPublicIpsProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationMethod.java","src/main/java/com/azure/resourcemanager/network/models/IpAllocationType.java","src/main/java/com/azure/resourcemanager/network/models/IpConfigurationBgpPeeringAddress.java","src/main/java/com/azure/resourcemanager/network/models/IpFlowProtocol.java","src/main/java/com/azure/resourcemanager/network/models/IpRule.java","src/main/java/com/azure/resourcemanager/network/models/IpTag.java","src/main/java/com/azure/resourcemanager/network/models/IpTraffic.java","src/main/java/com/azure/resourcemanager/network/models/IpType.java","src/main/java/com/azure/resourcemanager/network/models/IpVersion.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolPrefixAllocation.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdate.java","src/main/java/com/azure/resourcemanager/network/models/IpamPoolUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/IpsecEncryption.java","src/main/java/com/azure/resourcemanager/network/models/IpsecIntegrity.java","src/main/java/com/azure/resourcemanager/network/models/IpsecPolicy.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6CircuitConnectionConfig.java","src/main/java/com/azure/resourcemanager/network/models/Ipv6ExpressRouteCircuitPeeringConfig.java","src/main/java/com/azure/resourcemanager/network/models/IsGlobal.java","src/main/java/com/azure/resourcemanager/network/models/IsRollback.java","src/main/java/com/azure/resourcemanager/network/models/IsWorkloadProtected.java","src/main/java/com/azure/resourcemanager/network/models/IssueType.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerBackendAddressAdminState.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerHealthPerRulePerBackendAddress.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerOutboundRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerScope.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSku.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuName.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequest.java","src/main/java/com/azure/resourcemanager/network/models/LoadBalancerVipSwapRequestFrontendIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/LoadDistribution.java","src/main/java/com/azure/resourcemanager/network/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleGroupOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleOverride.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSet.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRuleSetRuleGroup.java","src/main/java/com/azure/resourcemanager/network/models/ManagedRulesDefinition.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentity.java","src/main/java/com/azure/resourcemanager/network/models/ManagedServiceIdentityUserAssignedIdentities.java","src/main/java/com/azure/resourcemanager/network/models/MatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/MatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/MatchedRule.java","src/main/java/com/azure/resourcemanager/network/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/network/models/MigrateLoadBalancerToIpBasedRequest.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/NatGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/NatRule.java","src/main/java/com/azure/resourcemanager/network/models/NatRulePortMapping.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkConfigurationDiagnosticResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateHeaders.java","src/main/java/com/azure/resourcemanager/network/models/NetworkGroupsCreateOrUpdateResponse.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicy.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyBasedService.java","src/main/java/com/azure/resourcemanager/network/models/NetworkIntentPolicyConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAssociation.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliaryMode.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceAuxiliarySku.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/NetworkInterfaceNicType.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatus.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerDeploymentStatusParameter.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerPropertiesNetworkManagerScopes.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerRoutingGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkManagerSecurityGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/NetworkProtocol.java","src/main/java/com/azure/resourcemanager/network/models/NetworkRule.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityGroupResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkSecurityRulesEvaluationResult.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceBootDiagnosticParameters.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualAppliancePropertiesFormatNetworkProfile.java","src/main/java/com/azure/resourcemanager/network/models/NetworkVirtualApplianceSkuInstances.java","src/main/java/com/azure/resourcemanager/network/models/NextHopParameters.java","src/main/java/com/azure/resourcemanager/network/models/NextHopType.java","src/main/java/com/azure/resourcemanager/network/models/NextStep.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInRequest.java","src/main/java/com/azure/resourcemanager/network/models/NicTypeInResponse.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NspLinkStatus.java","src/main/java/com/azure/resourcemanager/network/models/NspProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/NvaInVnetSubnetReferenceProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaInterfaceConfigurationsProperties.java","src/main/java/com/azure/resourcemanager/network/models/NvaNicType.java","src/main/java/com/azure/resourcemanager/network/models/O365BreakOutCategoryPolicies.java","src/main/java/com/azure/resourcemanager/network/models/O365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/Office365PolicyProperties.java","src/main/java/com/azure/resourcemanager/network/models/OfficeTrafficCategory.java","src/main/java/com/azure/resourcemanager/network/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/network/models/OperationPropertiesFormatServiceSpecification.java","src/main/java/com/azure/resourcemanager/network/models/OrderBy.java","src/main/java/com/azure/resourcemanager/network/models/Origin.java","src/main/java/com/azure/resourcemanager/network/models/OutputType.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntry.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/OwaspCrsExclusionEntrySelectorMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/P2SConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionHealthRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnConnectionRequest.java","src/main/java/com/azure/resourcemanager/network/models/P2SVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureFilter.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureMachineScope.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureSettings.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureStorageLocation.java","src/main/java/com/azure/resourcemanager/network/models/PacketCaptureTargetType.java","src/main/java/com/azure/resourcemanager/network/models/Parameter.java","src/main/java/com/azure/resourcemanager/network/models/PartnerManagedResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/PatchObject.java","src/main/java/com/azure/resourcemanager/network/models/PcError.java","src/main/java/com/azure/resourcemanager/network/models/PcProtocol.java","src/main/java/com/azure/resourcemanager/network/models/PcStatus.java","src/main/java/com/azure/resourcemanager/network/models/PeerRoute.java","src/main/java/com/azure/resourcemanager/network/models/PeeringEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/PerimeterBasedAccessRule.java","src/main/java/com/azure/resourcemanager/network/models/PfsGroup.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettings.java","src/main/java/com/azure/resourcemanager/network/models/PolicySettingsLogScrubbing.java","src/main/java/com/azure/resourcemanager/network/models/PreferredIpVersion.java","src/main/java/com/azure/resourcemanager/network/models/PreferredRoutingGateway.java","src/main/java/com/azure/resourcemanager/network/models/PrepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/PrivateDnsZoneConfig.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointIpVersionType.java","src/main/java/com/azure/resourcemanager/network/models/PrivateEndpointVNetPolicies.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnection.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServiceConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesAutoApproval.java","src/main/java/com/azure/resourcemanager/network/models/PrivateLinkServicePropertiesVisibility.java","src/main/java/com/azure/resourcemanager/network/models/ProbeNoHealthyBackendsBehavior.java","src/main/java/com/azure/resourcemanager/network/models/ProbeProtocol.java","src/main/java/com/azure/resourcemanager/network/models/ProcessorArchitecture.java","src/main/java/com/azure/resourcemanager/network/models/PropagatedRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/Protocol.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/ProtocolType.java","src/main/java/com/azure/resourcemanager/network/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettings.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressDnsSettingsDomainNameLabelScope.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpAddressSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSku.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuName.java","src/main/java/com/azure/resourcemanager/network/models/PublicIpPrefixSkuTier.java","src/main/java/com/azure/resourcemanager/network/models/QosDefinition.java","src/main/java/com/azure/resourcemanager/network/models/QosIpRange.java","src/main/java/com/azure/resourcemanager/network/models/QosPortRange.java","src/main/java/com/azure/resourcemanager/network/models/QueryInboundNatRulePortMappingRequest.java","src/main/java/com/azure/resourcemanager/network/models/QueryRequestOptions.java","src/main/java/com/azure/resourcemanager/network/models/QueryTroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/RadiusAuthServer.java","src/main/java/com/azure/resourcemanager/network/models/RadiusServer.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisIntentProperties.java","src/main/java/com/azure/resourcemanager/network/models/ReachabilityAnalysisRunProperties.java","src/main/java/com/azure/resourcemanager/network/models/RecordSet.java","src/main/java/com/azure/resourcemanager/network/models/ReferencedPublicIpAddress.java","src/main/java/com/azure/resourcemanager/network/models/ReserveCloudServicePublicIpAddressRequest.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyModel.java","src/main/java/com/azure/resourcemanager/network/models/ResiliencyRecommendationComponents.java","src/main/java/com/azure/resourcemanager/network/models/ResourceBasics.java","src/main/java/com/azure/resourcemanager/network/models/ResourceIdentityType.java","src/main/java/com/azure/resourcemanager/network/models/ResourceNavigationLink.java","src/main/java/com/azure/resourcemanager/network/models/ResourceSet.java","src/main/java/com/azure/resourcemanager/network/models/RetentionPolicyParameters.java","src/main/java/com/azure/resourcemanager/network/models/RouteFilterRuleType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapActionType.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapMatchCondition.java","src/main/java/com/azure/resourcemanager/network/models/RouteMapRule.java","src/main/java/com/azure/resourcemanager/network/models/RouteNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RouteSourceDetails.java","src/main/java/com/azure/resourcemanager/network/models/RouteTableUsageMode.java","src/main/java/com/azure/resourcemanager/network/models/RoutingConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/RoutingPolicy.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleDestinationType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHop.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleNextHopType.java","src/main/java/com/azure/resourcemanager/network/models/RoutingRuleRouteDestination.java","src/main/java/com/azure/resourcemanager/network/models/RoutingState.java","src/main/java/com/azure/resourcemanager/network/models/ScopeConnectionState.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchOperator.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/ScrubbingRuleEntryState.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityConfigurationRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupNetworkInterface.java","src/main/java/com/azure/resourcemanager/network/models/SecurityGroupViewParameters.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPartnerProviderConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterProxyResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterSystemData.java","src/main/java/com/azure/resourcemanager/network/models/SecurityPerimeterTrackedResource.java","src/main/java/com/azure/resourcemanager/network/models/SecurityProviderName.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAccess.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleAssociations.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleDirection.java","src/main/java/com/azure/resourcemanager/network/models/SecurityRuleProtocol.java","src/main/java/com/azure/resourcemanager/network/models/SecurityUserGroupItem.java","src/main/java/com/azure/resourcemanager/network/models/SensitivityType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceAssociationLink.java","src/main/java/com/azure/resourcemanager/network/models/ServiceEndpointPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddress.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayAddressLocation.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateAddressLocationsRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceGatewayUpdateServicesRequest.java","src/main/java/com/azure/resourcemanager/network/models/ServiceProviderProvisioningState.java","src/main/java/com/azure/resourcemanager/network/models/ServiceTagInformationPropertiesFormat.java","src/main/java/com/azure/resourcemanager/network/models/ServiceType.java","src/main/java/com/azure/resourcemanager/network/models/ServiceUpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/SessionIds.java","src/main/java/com/azure/resourcemanager/network/models/Severity.java","src/main/java/com/azure/resourcemanager/network/models/SharedKeyProperties.java","src/main/java/com/azure/resourcemanager/network/models/SharingScope.java","src/main/java/com/azure/resourcemanager/network/models/SignatureOverridesFilterValuesQuery.java","src/main/java/com/azure/resourcemanager/network/models/SignaturesOverridesProperties.java","src/main/java/com/azure/resourcemanager/network/models/SingleQueryResult.java","src/main/java/com/azure/resourcemanager/network/models/Sku.java","src/main/java/com/azure/resourcemanager/network/models/SlotType.java","src/main/java/com/azure/resourcemanager/network/models/StaticCidrProperties.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoute.java","src/main/java/com/azure/resourcemanager/network/models/StaticRoutesConfig.java","src/main/java/com/azure/resourcemanager/network/models/SubResourceModel.java","src/main/java/com/azure/resourcemanager/network/models/SubnetAssociation.java","src/main/java/com/azure/resourcemanager/network/models/SubscriptionId.java","src/main/java/com/azure/resourcemanager/network/models/SwapResourceProperties.java","src/main/java/com/azure/resourcemanager/network/models/SyncMode.java","src/main/java/com/azure/resourcemanager/network/models/SyncRemoteAddressSpace.java","src/main/java/com/azure/resourcemanager/network/models/TagsObject.java","src/main/java/com/azure/resourcemanager/network/models/TopologyAssociation.java","src/main/java/com/azure/resourcemanager/network/models/TopologyParameters.java","src/main/java/com/azure/resourcemanager/network/models/TopologyResource.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficAnalyticsProperties.java","src/main/java/com/azure/resourcemanager/network/models/TrafficDetectionRule.java","src/main/java/com/azure/resourcemanager/network/models/TrafficSelectorPolicy.java","src/main/java/com/azure/resourcemanager/network/models/TransportProtocol.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingDetails.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingParameters.java","src/main/java/com/azure/resourcemanager/network/models/TroubleshootingRecommendedActions.java","src/main/java/com/azure/resourcemanager/network/models/TunnelConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/UnprepareNetworkPoliciesRequest.java","src/main/java/com/azure/resourcemanager/network/models/UpdateAction.java","src/main/java/com/azure/resourcemanager/network/models/UpdateTagsRequest.java","src/main/java/com/azure/resourcemanager/network/models/UsageName.java","src/main/java/com/azure/resourcemanager/network/models/UsageUnit.java","src/main/java/com/azure/resourcemanager/network/models/UseHubGateway.java","src/main/java/com/azure/resourcemanager/network/models/VM.java","src/main/java/com/azure/resourcemanager/network/models/VerbosityLevel.java","src/main/java/com/azure/resourcemanager/network/models/VerificationIpFlowParameters.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceProperties.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdate.java","src/main/java/com/azure/resourcemanager/network/models/VerifierWorkspaceUpdateProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceAdditionalNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceIpConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNetworkInterfaceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceNicProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualApplianceSkuProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubEffectiveRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubId.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRoute.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteTable.java","src/main/java/com/azure/resourcemanager/network/models/VirtualHubRouteV2.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkApplianceIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkBgpCommunities.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkConnectionGatewayReference.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryption.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkEncryptionEnforcement.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleBounds.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionTunnelProperties.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayConnectionType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationParameters.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationPhase.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationStatus.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayMigrationType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroup.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySku.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewaySkuTier.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkGatewayType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringLevel.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPeeringState.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateEndpointNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkPrivateLinkServiceNetworkPolicies.java","src/main/java/com/azure/resourcemanager/network/models/VirtualNetworkUsageName.java","src/main/java/com/azure/resourcemanager/network/models/VirtualRouterAutoScaleConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProvider.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanSecurityProviderType.java","src/main/java/com/azure/resourcemanager/network/models/VirtualWanVpnProfileParameters.java","src/main/java/com/azure/resourcemanager/network/models/VnetLocalRouteOverrideCriteria.java","src/main/java/com/azure/resourcemanager/network/models/VnetRoute.java","src/main/java/com/azure/resourcemanager/network/models/VngClientConnectionConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnAuthenticationType.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealth.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientConnectionHealthDetail.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnConnectionStatus.java","src/main/java/com/azure/resourcemanager/network/models/VpnDeviceScriptParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayGeneration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayIpConfiguration.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnGatewayTunnelingProtocol.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkBgpSettings.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkConnectionMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnLinkProviderProperties.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMapping.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleMode.java","src/main/java/com/azure/resourcemanager/network/models/VpnNatRuleType.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStartParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPacketCaptureStopParameters.java","src/main/java/com/azure/resourcemanager/network/models/VpnPolicyMemberAttributeType.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigRadiusServerRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRevokedCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigVpnClientRootCertificate.java","src/main/java/com/azure/resourcemanager/network/models/VpnServerConfigurationPolicyGroupMember.java","src/main/java/com/azure/resourcemanager/network/models/VpnType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallAction.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallCustomRule.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallEnabledState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMatchVariable.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallMode.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallOperator.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallPolicyResourceState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallRuleType.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingRules.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallScrubbingState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallState.java","src/main/java/com/azure/resourcemanager/network/models/WebApplicationFirewallTransform.java","src/main/java/com/azure/resourcemanager/network/models/package-info.java","src/main/java/com/azure/resourcemanager/network/package-info.java"]} \ No newline at end of file diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPatchSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPatchSamples.java index f1074ee0dcea..a7d5882ae336 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPatchSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPatchSamples.java @@ -24,13 +24,13 @@ public final class FirewallPolicyIdpsSignaturesOverridesPatchSamples { public static void patchSignatureOverrides(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getFirewallPolicyIdpsSignaturesOverrides() - .patchWithResponse("rg1", "firewallPolicy", new SignaturesOverridesInner().withId( - "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default") - .withName("default") - .withType("Microsoft.Network/firewallPolicies/signatureOverrides") + .patchWithResponse("rg1", "firewallPolicy", new SignaturesOverridesInner() .withProperties( - new SignaturesOverridesProperties().withSignatures(mapOf("2000105", "Off", "2000106", "Deny"))), - com.azure.core.util.Context.NONE); + new SignaturesOverridesProperties().withSignatures(mapOf("2000105", "Off", "2000106", "Deny"))) + .withId( + "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default") + .withName("default") + .withType("Microsoft.Network/firewallPolicies/signatureOverrides"), com.azure.core.util.Context.NONE); } // Use "Map.of" if available diff --git a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPutSamples.java b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPutSamples.java index c87ffe16180d..a0cad49c6f0b 100644 --- a/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPutSamples.java +++ b/sdk/network/azure-resourcemanager-network/src/samples/java/com/azure/resourcemanager/network/generated/FirewallPolicyIdpsSignaturesOverridesPutSamples.java @@ -24,13 +24,13 @@ public final class FirewallPolicyIdpsSignaturesOverridesPutSamples { public static void putSignatureOverrides(com.azure.resourcemanager.network.NetworkManager manager) { manager.serviceClient() .getFirewallPolicyIdpsSignaturesOverrides() - .putWithResponse("rg1", "firewallPolicy", new SignaturesOverridesInner().withId( - "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default") - .withName("default") - .withType("Microsoft.Network/firewallPolicies/signatureOverrides") + .putWithResponse("rg1", "firewallPolicy", new SignaturesOverridesInner() .withProperties( - new SignaturesOverridesProperties().withSignatures(mapOf("2000105", "Off", "2000106", "Deny"))), - com.azure.core.util.Context.NONE); + new SignaturesOverridesProperties().withSignatures(mapOf("2000105", "Off", "2000106", "Deny"))) + .withId( + "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default") + .withName("default") + .withType("Microsoft.Network/firewallPolicies/signatureOverrides"), com.azure.core.util.Context.NONE); } // Use "Map.of" if available diff --git a/sdk/network/azure-resourcemanager-network/tsp-location.yaml b/sdk/network/azure-resourcemanager-network/tsp-location.yaml index 6cd088b34bd3..a3fdd7e256db 100644 --- a/sdk/network/azure-resourcemanager-network/tsp-location.yaml +++ b/sdk/network/azure-resourcemanager-network/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/network/resource-manager/Microsoft.Network/Network -commit: HEAD +commit: 00cc3269cd25e200546d55d0d09edd5d047f530d repo: Azure/azure-rest-api-specs additionalDirectories: From 65968ffd0d34e05cef7acd55e65f251387e6006c Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 30 Mar 2026 15:06:03 +0800 Subject: [PATCH 33/33] regen --- ...nGatewayWafDynamicManifestResultInner.java | 51 +++++++------------ .../tsp-location.yaml | 2 +- 2 files changed, 18 insertions(+), 35 deletions(-) diff --git a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java index 2c94f2099401..006d271096f5 100644 --- a/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java +++ b/sdk/network/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/fluent/models/ApplicationGatewayWafDynamicManifestResultInner.java @@ -5,7 +5,7 @@ package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Immutable; -import com.azure.core.management.ProxyResource; +import com.azure.core.management.SubResource; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -17,27 +17,22 @@ * Response for ApplicationGatewayWafDynamicManifest API service call. */ @Immutable -public final class ApplicationGatewayWafDynamicManifestResultInner extends ProxyResource { +public final class ApplicationGatewayWafDynamicManifestResultInner extends SubResource { /* * Properties of the ApplicationGatewayWafDynamicManifest . */ private ApplicationGatewayWafDynamicManifestPropertiesResult innerProperties; /* - * Resource ID. + * Resource name. */ - private String id; + private String name; /* - * The type of the resource. + * Resource type. */ private String type; - /* - * The name of the resource. - */ - private String name; - /** * Creates an instance of ApplicationGatewayWafDynamicManifestResultInner class. */ @@ -54,34 +49,23 @@ private ApplicationGatewayWafDynamicManifestPropertiesResult innerProperties() { } /** - * Get the id property: Resource ID. + * Get the name property: Resource name. * - * @return the id value. + * @return the name value. */ - public String id() { - return this.id; + public String name() { + return this.name; } /** - * Get the type property: The type of the resource. + * Get the type property: Resource type. * * @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 availableRuleSets property: The available rulesets. * @@ -126,8 +110,8 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); + jsonWriter.writeStringField("id", id()); jsonWriter.writeJsonField("properties", this.innerProperties); - jsonWriter.writeStringField("id", this.id); return jsonWriter.writeEndObject(); } @@ -137,7 +121,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of ApplicationGatewayWafDynamicManifestResultInner 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 ApplicationGatewayWafDynamicManifestResultInner. */ public static ApplicationGatewayWafDynamicManifestResultInner fromJson(JsonReader jsonReader) throws IOException { @@ -148,15 +131,15 @@ public static ApplicationGatewayWafDynamicManifestResultInner fromJson(JsonReade String fieldName = reader.getFieldName(); reader.nextToken(); - if ("name".equals(fieldName)) { - deserializedApplicationGatewayWafDynamicManifestResultInner.name = reader.getString(); - } else if ("type".equals(fieldName)) { - deserializedApplicationGatewayWafDynamicManifestResultInner.type = reader.getString(); + if ("id".equals(fieldName)) { + deserializedApplicationGatewayWafDynamicManifestResultInner.withId(reader.getString()); } else if ("properties".equals(fieldName)) { deserializedApplicationGatewayWafDynamicManifestResultInner.innerProperties = ApplicationGatewayWafDynamicManifestPropertiesResult.fromJson(reader); - } else if ("id".equals(fieldName)) { - deserializedApplicationGatewayWafDynamicManifestResultInner.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedApplicationGatewayWafDynamicManifestResultInner.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedApplicationGatewayWafDynamicManifestResultInner.type = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/network/azure-resourcemanager-network/tsp-location.yaml b/sdk/network/azure-resourcemanager-network/tsp-location.yaml index a3fdd7e256db..47d94e5c3ae3 100644 --- a/sdk/network/azure-resourcemanager-network/tsp-location.yaml +++ b/sdk/network/azure-resourcemanager-network/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/network/resource-manager/Microsoft.Network/Network -commit: 00cc3269cd25e200546d55d0d09edd5d047f530d +commit: fa61dcaf55a2528e13dce2b461e1f7d89ebe04c2 repo: Azure/azure-rest-api-specs additionalDirectories: